/**
 * 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': 'true',

    '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: 'audio_2',
                display: 'none',
                type: 'audio',
                tag: 'audio',
                rect: ['1514', '397','320px','45px','auto', 'auto'],
                source: ['media/L_G03_U02_L07_03_01_A024.mp3'],
                preload: 'true'
            },
            {
                id: 'IL_L_G03_U02_L07_03_01_01',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U02_L07_03_01_01.png",'0px','0px']
            },
            {
                id: 'help',
                display: 'none',
                type: 'image',
                rect: ['416px', '331px','531px','249px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"help_textarea.png",'0px','0px']
            },
            {
                id: 'flecha',
                display: 'none',
                type: 'image',
                rect: ['210px', '127px','12px','14px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '160px','1150px','auto','auto', 'auto'],
                text: "Escucha y lee la conversación entre los personajes.<br>",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 26, "rgba(26,26,26,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '196px','1150px','auto','auto', 'auto'],
                text: "Lorem ipsum dolor sit amet, consectetur",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: 'momento',
                display: 'none',
                type: 'text',
                rect: ['100px', '120px','150px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(35,163,143,1.00)", "700", "none", "normal"]
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['240px', '120px','140px','auto','auto', 'auto'],
                text: "Actividad 1",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 22, "rgba(140,198,63,1.00)", "700", "none", "normal"]
            },
            {
                id: 'IL_L_G03_U02_L07_03_01_03',
                display: 'block',
                type: 'image',
                rect: ['257px', '221px','848px','326px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U02_L07_03_01_03.png",'0px','0px']
            },
            {
                id: 'IL_L_G03_U02_L07_03_01_04',
                display: 'none',
                type: 'image',
                rect: ['254px', '220px','852px','295px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U02_L07_03_01_04.png",'0px','0px']
            },
            {
                id: 'bt_audio',
                type: 'rect',
                rect: ['636px', '619px','auto','auto','auto', 'auto'],
                title: 'audio_2'
            }],
            symbolInstances: [
            {
                id: 'bt_audio',
                symbolName: 'bt_audio',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_flecha}": [
                ["style", "top", '127px'],
                ["style", "left", '210px'],
                ["style", "display", 'none']
            ],
            "${_IL_L_G03_U02_L07_03_01_03}": [
                ["style", "top", '259px'],
                ["style", "opacity", '0'],
                ["style", "left", '256px'],
                ["style", "display", 'block']
            ],
            "${_IL_L_G03_U02_L07_03_01_04}": [
                ["style", "top", '258px'],
                ["style", "opacity", '0'],
                ["style", "left", '253px'],
                ["style", "display", 'none']
            ],
            "${_instruccion}": [
                ["style", "top", '196px'],
                ["style", "font-size", '26px'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "width", '1150px']
            ],
            "${_IL_L_G03_U02_L07_03_01_01}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_bt_audio}": [
                ["style", "top", '619px'],
                ["transform", "scaleY", '0.33333'],
                ["transform", "scaleX", '0.33333'],
                ["style", "opacity", '0'],
                ["style", "left", '636px']
            ],
            "${_descripcion}": [
                ["style", "top", '184px'],
                ["style", "width", '1150px'],
                ["style", "opacity", '0'],
                ["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", "font-size", '26px']
            ],
            "${_momento}": [
                ["style", "top", '120px'],
                ["style", "width", '150px'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(35,163,143,1.00)'],
                ["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']
            ],
            "${_box_01}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "border-top-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "border-bottom-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "opacity", '1'],
                ["style", "left", '34px'],
                ["style", "width", '446px'],
                ["style", "top", '226px'],
                ["style", "border-bottom-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "display", 'block'],
                ["style", "border-top-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "height", '282px']
            ],
            "${_help}": [
                ["style", "top", '331px'],
                ["style", "left", '416px'],
                ["style", "display", 'none']
            ],
            "${_num_actividad}": [
                ["style", "top", '120px'],
                ["style", "width", '140px'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["color", "color", 'rgba(140,198,63,1.00)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '240px'],
                ["style", "font-size", '22px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1500,
            autoPlay: true,
            timeline: [
                { id: "eid989", tween: [ "style", "${_bt_audio}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500, easing: "easeOutBack" },
                { id: "eid968", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid967", tween: [ "style", "${_help}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid992", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_03}", "left", '257px', { fromValue: '256px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid981", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_04}", "top", '220px', { fromValue: '258px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid991", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_03}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid985", tween: [ "transform", "${_bt_audio}", "scaleX", '1', { fromValue: '0.33333'}], position: 1000, duration: 500, easing: "easeOutBack" },
                { id: "eid969", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid497", tween: [ "gradient", "${_box_01}", "background-image", [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]], { fromValue: [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]]}], position: 0, duration: 0 },
                { id: "eid990", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_03}", "top", '221px', { fromValue: '259px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid977", tween: [ "style", "${_descripcion}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid971", tween: [ "style", "${_flecha}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid970", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid975", tween: [ "style", "${_descripcion}", "top", '160px', { fromValue: '184px'}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid972", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_04}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid973", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_03}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid987", tween: [ "transform", "${_bt_audio}", "scaleY", '1', { fromValue: '0.33333'}], position: 1000, duration: 500, easing: "easeOutBack" },
                { id: "eid983", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_04}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid979", tween: [ "style", "${_IL_L_G03_U02_L07_03_01_04}", "left", '254px', { fromValue: '253px'}], position: 500, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"bt_ayuda": {
    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: [
                {
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    id: 'botones4',
                    type: 'image',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_botones4}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-220,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '70px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1280", tween: [ "style", "${_botones4}", "background-position", [-220,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], position: 0, duration: 0 },
                { id: "eid1281", tween: [ "style", "${_botones4}", "background-position", [-220,-70], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], position: 250, duration: 0 }            ]
        }
    }
},
"bt_reiniciar": {
    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: [
                {
                    type: 'image',
                    id: 'botones3',
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '70px']
            ],
            "${_botones3}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-146,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1278", tween: [ "style", "${_botones3}", "background-position", [-146,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-146,0]}], position: 0, duration: 0 },
                { id: "eid1279", tween: [ "style", "${_botones3}", "background-position", [-146,-70], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-146,0]}], position: 250, duration: 0 }            ]
        }
    }
},
"bt_audio": {
    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', '90px', '90px', 'auto', 'auto'],
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    transform: [[0, 0], [], [], ['0.7', '0.7']],
                    id: 'L_G03_U02_L05_03_02_172',
                    type: 'image',
                    rect: ['-16px', '-40px', '120px', '260px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/L_G03_U02_L05_03_02_17.png', '0px', '0px']
                },
                {
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    type: 'rect',
                    cursor: ['pointer'],
                    id: 'ht_spot',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    clip: ['rect(0px 90px 90px 0px)'],
                    fill: ['rgba(192,192,192,0.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_L_G03_U02_L05_03_02_172}": [
                ["transform", "scaleX", '0.7'],
                ["transform", "scaleY", '0.7'],
                ["style", "left", '-16px'],
                ["style", "top", '-41px']
            ],
            "${_Rectangle}": [
                ["style", "top", '0px'],
                ["style", "height", '90px'],
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "left", '0px'],
                ["style", "width", '90px']
            ],
            "${_ht_spot}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '90px'],
                ["style", "cursor", 'pointer'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "width", '90px']
            ],
            "${symbolSelector}": [
                ["style", "height", '90px'],
                ["style", "width", '90px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1359", tween: [ "style", "${_L_G03_U02_L05_03_02_172}", "top", '-41px', { fromValue: '-41px'}], position: 0, duration: 0, easing: "easeOutQuad" },
                { id: "eid1363", tween: [ "style", "${_L_G03_U02_L05_03_02_172}", "top", '-131px', { fromValue: '-41px'}], position: 250, duration: 0, easing: "easeOutQuad" },
                { id: "eid1358", tween: [ "style", "${_L_G03_U02_L05_03_02_172}", "left", '-16px', { fromValue: '-16px'}], position: 0, 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-1010687340");
