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

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, 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: 'Background',
                type: 'image',
                rect: ['47', '81','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_Background.png",'0px','0px']
            },
            {
                id: 'descripcion',
                display: 'block',
                type: 'text',
                rect: ['100px', '165px','1079px','auto','auto', 'auto'],
                text: "Moisés te invita a esta carrera de autos. Haz clic en “comenzar” y obsérvala.<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'momento',
                display: 'none',
                type: 'text',
                rect: ['100px', '129px','120px','auto','auto', 'auto'],
                text: "Desarrollo",
                align: "left",
                font: ['cabin, sans-serif', 24, "rgba(35,163,143,1.00)", "700", "none", "normal"]
            },
            {
                id: 'flecha',
                display: 'none',
                type: 'image',
                rect: ['212px', '137px','15px','15px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['231px', '129px','128px','auto','auto', 'auto'],
                text: "Actividad 1",
                align: "left",
                font: ['cabin, sans-serif', 24, "rgba(140,198,63,1.00)", "700", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '209px','913px','auto','auto', 'auto'],
                text: "Escucha, lee y repite el trabalenguas. <br>",
                align: "left",
                font: ['cabin, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: 'bt_audio',
                display: 'none',
                type: 'rect',
                rect: ['199px', '254px','auto','auto','auto', 'auto'],
                title: 'audio_01',
                cursor: ['pointer'],
                transform: [[],[],[],['0.83333','0.83333']]
            },
            {
                id: 'car_red',
                type: 'image',
                rect: ['62px', '361px','98px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_car_red.png",'0px','0px']
            },
            {
                id: 'car_green',
                type: 'image',
                rect: ['62px', '498px','98px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_car_green.png",'0px','0px']
            },
            {
                id: 'car_yellow',
                type: 'image',
                rect: ['62px', '288px','98px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_car_yellow.png",'0px','0px']
            },
            {
                id: 'car_blue',
                type: 'image',
                rect: ['62px', '571px','98px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_car_blue.png",'0px','0px']
            },
            {
                id: 'car_purple',
                type: 'image',
                rect: ['62px', '428px','98px','62px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_car_purple.png",'0px','0px']
            },
            {
                id: 'Rectangle',
                type: 'rect',
                rect: ['47px', '225px','1265px','490px','auto', 'auto'],
                fill: ["rgba(0,0,0,0.61)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'board_results',
                type: 'image',
                rect: ['83px', '313px','1200px','227px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_S_G03_U04_L06_03_03_01_board_results.png",'0px','0px']
            },
            {
                id: 'btn_begin',
                type: 'rect',
                rect: ['475', '368','auto','auto','auto', 'auto']
            },
            {
                id: 'btn_reiniciar',
                display: 'none',
                type: 'rect',
                rect: ['469', '560','auto','auto','auto', 'auto'],
                cursor: ['pointer']
            }],
            symbolInstances: [
            {
                id: 'btn_begin',
                symbolName: 'btn_begin'
            },
            {
                id: 'bt_audio',
                symbolName: 'bt_audio',
                autoPlay: {

                }
            },
            {
                id: 'btn_reiniciar',
                symbolName: 'btn_reiniciar'
            }
            ]
        },
    states: {
        "Base State": {
            "${_car_yellow}": [
                ["style", "left", '62px'],
                ["style", "top", '288px']
            ],
            "${_car_blue}": [
                ["style", "left", '62px'],
                ["style", "top", '571px']
            ],
            "${_car_green}": [
                ["style", "left", '62px'],
                ["style", "top", '498px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "width", '120px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(35,163,143,1.00)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '100px'],
                ["style", "font-size", '24px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "display", 'none'],
                ["style", "height", '20px'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_Rectangle}": [
                ["style", "height", '2px'],
                ["style", "opacity", '0'],
                ["style", "top", '715px'],
                ["color", "background-color", 'rgba(0,0,0,0.61)']
            ],
            "${_board_results}": [
                ["style", "top", '423px'],
                ["style", "opacity", '0'],
                ["style", "left", '83px']
            ],
            "${_flecha}": [
                ["style", "top", '137px'],
                ["style", "display", 'none'],
                ["style", "height", '15px'],
                ["style", "left", '212px'],
                ["style", "width", '15px']
            ],
            "${_car_red}": [
                ["style", "left", '62px'],
                ["style", "top", '361px']
            ],
            "${_btn_reiniciar}": [
                ["style", "top", '654px'],
                ["style", "opacity", '0'],
                ["style", "cursor", 'pointer'],
                ["style", "display", 'none']
            ],
            "${_bt_audio}": [
                ["style", "top", '254px'],
                ["transform", "scaleY", '0.83333'],
                ["transform", "scaleX", '0.83333'],
                ["style", "display", 'none'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '199px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "font-size", '32px'],
                ["color", "color", 'rgba(0,0,0,1.00)'],
                ["style", "display", 'block'],
                ["style", "left", '100px'],
                ["style", "width", '1079px']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '128px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(140,198,63,1.00)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '231px'],
                ["style", "font-size", '24px']
            ],
            "${_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']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "width", '913px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_car_purple}": [
                ["style", "left", '62px'],
                ["style", "top", '428px']
            ],
            "${_btn_begin}": [
                ["style", "top", '368px'],
                ["style", "opacity", '1']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 10688,
            autoPlay: true,
            labels: {
                "inicio": 50,
                "race": 330
            },
            timeline: [
                { id: "eid1273", tween: [ "style", "${_car_yellow}", "left", '1199px', { fromValue: '62px'}], position: 1055, duration: 5784 },
                { id: "eid1272", tween: [ "style", "${_car_blue}", "left", '1199px', { fromValue: '62px'}], position: 1055, duration: 5301 },
                { id: "eid1274", tween: [ "style", "${_car_green}", "left", '1199px', { fromValue: '62px'}], position: 1055, duration: 6579 },
                { id: "eid1262", tween: [ "style", "${_descripcion}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1271", tween: [ "style", "${_car_purple}", "left", '1199px', { fromValue: '62px'}], position: 1055, duration: 4420 },
                { id: "eid1279", tween: [ "style", "${_Rectangle}", "top", '225px', { fromValue: '715px'}], position: 9632, duration: 548, easing: "easeOutBack" },
                { id: "eid1285", tween: [ "style", "${_board_results}", "opacity", '1', { fromValue: '0'}], position: 9895, duration: 548, easing: "easeOutBack" },
                { id: "eid1294", tween: [ "style", "${_btn_reiniciar}", "opacity", '1', { fromValue: '0'}], position: 10276, duration: 373, easing: "easeOutBack" },
                { id: "eid1292", tween: [ "style", "${_btn_reiniciar}", "top", '560px', { fromValue: '654px'}], position: 10276, duration: 373, easing: "easeOutExpo" },
                { id: "eid1261", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1260", tween: [ "style", "${_flecha}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1290", tween: [ "style", "${_btn_reiniciar}", "display", 'block', { fromValue: 'none'}], position: 10250, duration: 0, easing: "easeOutExpo" },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1270", tween: [ "style", "${_btn_begin}", "opacity", '0', { fromValue: '1'}], position: 330, duration: 670, easing: "easeInBack" },
                { id: "eid1259", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1264", tween: [ "style", "${_bt_audio}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1275", tween: [ "style", "${_car_red}", "left", '1199px', { fromValue: '62px'}], position: 1055, duration: 7870 },
                { id: "eid1283", tween: [ "style", "${_board_results}", "top", '313px', { fromValue: '423px'}], position: 9895, duration: 548, easing: "easeOutBack" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1269", tween: [ "style", "${_btn_begin}", "top", '-52px', { fromValue: '368px'}], position: 330, duration: 670, easing: "easeInBack" },
                { id: "eid1277", tween: [ "style", "${_Rectangle}", "height", '490px', { fromValue: '2px'}], position: 9632, duration: 548, easing: "easeOutBack" },
                { id: "eid1281", tween: [ "style", "${_Rectangle}", "opacity", '1', { fromValue: '0'}], position: 9632, duration: 548, easing: "easeOutBack" }            ]
        }
    }
},
"flecha_bt": {
    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', '89px', '83px', 'auto', 'auto'],
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    type: 'rect',
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    id: 'M_G01_U01_L03_03_03_06Copy2',
                    type: 'image',
                    rect: ['0px', '0px', '80px', '200px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/M_G01_U01_L03_03_03_062.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_M_G01_U01_L03_03_03_06Copy2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${_Rectangle2}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '83px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '89px']
            ],
            "${symbolSelector}": [
                ["style", "height", '83px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '89px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1306", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1308", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '-110px', { fromValue: '0px'}], 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: [
                {
                    type: 'rect',
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    type: 'image',
                    id: 'bt_audio',
                    rect: ['0px', '0px', '90px', '180px', 'auto', 'auto'],
                    clip: ['rect(0px 90px 180px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_audio.png', '0px', '-97px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '90px', '90px', 'auto', 'auto'],
                    clip: ['rect(0px 90px 90px 0px)'],
                    id: 'ht_spot',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(192,192,192,0.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_bt_audio}": [
                ["style", "top", '0px'],
                ["style", "background-position", [0,5], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "height", '180px'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '0px'],
                ["style", "width", '90px']
            ],
            "${_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", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "cursor", 'pointer'],
                ["style", "width", '90px']
            ],
            "${symbolSelector}": [
                ["style", "height", '90px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '90px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1242", tween: [ "style", "${_bt_audio}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1244", tween: [ "style", "${_bt_audio}", "left", '0px', { fromValue: '0px'}], position: 250, duration: 0 },
                { id: "eid1243", tween: [ "style", "${_bt_audio}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1245", tween: [ "style", "${_bt_audio}", "top", '0px', { fromValue: '0px'}], position: 250, duration: 0 },
                { id: "eid3", tween: [ "style", "${_bt_audio}", "background-position", [0,5], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,5]}], position: 0, duration: 0 },
                { id: "eid4", tween: [ "style", "${_bt_audio}", "background-position", [0,-97], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,5]}], position: 250, duration: 0 }            ]
        }
    }
},
"btn_begin": {
    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', '329px', '121px', 'auto', 'auto'],
                    id: 'btn_comenzar',
                    type: 'image',
                    cursor: ['pointer'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L06_03_03_01_btn_comenzar.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '121px'],
                ["style", "width", '329px']
            ],
            "${_btn_comenzar}": [
                ["style", "top", '0px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '0px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 960,
            autoPlay: true,
            labels: {
                "salto": 0
            },
            timeline: [
                { id: "eid1265", tween: [ "transform", "${_btn_comenzar}", "scaleX", '1.11977', { fromValue: '1'}], position: 0, duration: 640, easing: "easeOutExpo" },
                { id: "eid1267", tween: [ "transform", "${_btn_comenzar}", "scaleX", '1', { fromValue: '1.11977'}], position: 640, duration: 320, easing: "easeOutExpo" },
                { id: "eid1266", tween: [ "transform", "${_btn_comenzar}", "scaleY", '1.11977', { fromValue: '1'}], position: 0, duration: 640, easing: "easeOutExpo" },
                { id: "eid1268", tween: [ "transform", "${_btn_comenzar}", "scaleY", '1', { fromValue: '1.11977'}], position: 640, duration: 320, easing: "easeOutExpo" }            ]
        }
    }
},
"btn_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: false,
    content: {
            dom: [
                {
                    id: 'btn_reiniciar',
                    type: 'image',
                    rect: ['0px', '0px', '329px', '121px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/IL_S_G03_U04_L06_03_03_01_btn_reiniciar.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_btn_reiniciar}": [
                ["style", "top", '0px'],
                ["transform", "scaleY", '1'],
                ["style", "left", '0px'],
                ["transform", "scaleX", '1']
            ],
            "${symbolSelector}": [
                ["style", "height", '121px'],
                ["style", "width", '329px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 960,
            autoPlay: true,
            labels: {
                "salto": 0
            },
            timeline: [
                { id: "eid1288", tween: [ "transform", "${_btn_reiniciar}", "scaleY", '1.11977', { fromValue: '1'}], position: 0, duration: 640, easing: "easeOutExpo" },
                { id: "eid1289", tween: [ "transform", "${_btn_reiniciar}", "scaleY", '1', { fromValue: '1.11977'}], position: 640, duration: 320, easing: "easeOutExpo" },
                { id: "eid1286", tween: [ "transform", "${_btn_reiniciar}", "scaleX", '1.11977', { fromValue: '1'}], position: 0, duration: 640, easing: "easeOutExpo" },
                { id: "eid1287", tween: [ "transform", "${_btn_reiniciar}", "scaleX", '1', { fromValue: '1.11977'}], position: 640, duration: 320, easing: "easeOutExpo" }            ]
        }
    }
}
};


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

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