/**
 * 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_L_G03_U06_L04_03_02_01_Background.png",'0px','0px']
            },
            {
                id: 'descripcion',
                display: 'block',
                type: 'text',
                rect: ['100px', '165px','1170px','44px','auto', 'auto'],
                text: "Lee el siguiente texto y aprende sobre los conectores temporales. <br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'book',
                type: 'image',
                rect: ['184px', '217px','991px','529px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U06_L04_03_02_01_book.png",'0px','0px']
            },
            {
                id: 'lapiz',
                display: 'none',
                type: 'image',
                rect: ['1039px', '304px','223px','319px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U06_L04_03_02_01_lapiz.png",'0px','0px']
            },
            {
                id: 'borrador',
                display: 'none',
                type: 'image',
                rect: ['129px', '543px','115px','123px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U06_L04_03_02_01_borrador.png",'0px','0px']
            },
            {
                id: 'tajalapiz',
                display: 'none',
                type: 'image',
                rect: ['129px', '258px','122px','126px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"IL_L_G03_U06_L04_03_02_01_tajalapiz.png",'0px','0px']
            },
            {
                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: 'Text',
                type: 'text',
                rect: ['370px', '357px','592px','210px','auto', 'auto'],
                text: "Los conectores son palabras o expresiones que nos sirven para enlazar frases, oraciones o párrafos de un texto. Son importantes para expresar ideas claras y darle sentido a un escrito. <br>",
                align: "center",
                font: ['cabin, sans-serif', 32, "rgba(0,0,0,1)", "bold", "none", "normal"]
            }],
            symbolInstances: [
            {
                id: 'bt_audio',
                symbolName: 'bt_audio',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_book}": [
                ["style", "top", '217px'],
                ["transform", "scaleY", '0.66902'],
                ["style", "left", '184px'],
                ["transform", "scaleX", '0.66902']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "font-size", '24px'],
                ["color", "color", 'rgba(140,198,63,1.00)'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '231px'],
                ["style", "width", '128px']
            ],
            "${_borrador}": [
                ["style", "top", '515px'],
                ["transform", "scaleY", '0.70986'],
                ["transform", "rotateZ", '-42deg'],
                ["transform", "scaleX", '0.70986'],
                ["style", "left", '246px'],
                ["style", "display", 'none']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "font-size", '26px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "width", '913px']
            ],
            "${_tajalapiz}": [
                ["style", "top", '307px'],
                ["transform", "scaleY", '0.74561'],
                ["transform", "rotateZ", '86deg'],
                ["transform", "scaleX", '0.74561'],
                ["style", "left", '228px'],
                ["style", "display", 'none']
            ],
            "${_flecha}": [
                ["style", "top", '137px'],
                ["style", "height", '15px'],
                ["style", "display", 'none'],
                ["style", "left", '212px'],
                ["style", "width", '15px']
            ],
            "${_lapiz}": [
                ["style", "top", '303px'],
                ["transform", "scaleY", '0.71578'],
                ["transform", "scaleX", '0.71578'],
                ["style", "left", '938px'],
                ["style", "display", 'none']
            ],
            "${_Text}": [
                ["style", "height", '126px'],
                ["style", "opacity", '0'],
                ["style", "text-align", 'center'],
                ["style", "top", '441px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "width", '1170px'],
                ["style", "height", '44px'],
                ["color", "color", 'rgba(0,0,0,1.00)'],
                ["style", "display", 'block'],
                ["style", "left", '100px'],
                ["style", "font-size", '32px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "font-size", '24px'],
                ["color", "color", 'rgba(35,163,143,1.00)'],
                ["style", "display", 'none'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '100px'],
                ["style", "width", '120px']
            ],
            "${_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']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_bt_audio}": [
                ["style", "top", '254px'],
                ["transform", "scaleY", '0.83333'],
                ["transform", "scaleX", '0.83333'],
                ["style", "left", '199px'],
                ["style", "cursor", 'pointer'],
                ["style", "display", 'none']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1325,
            autoPlay: true,
            timeline: [
                { id: "eid1292", tween: [ "style", "${_lapiz}", "top", '304px', { fromValue: '303px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1290", tween: [ "style", "${_lapiz}", "left", '1039px', { fromValue: '938px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1316", tween: [ "style", "${_borrador}", "display", 'block', { fromValue: 'none'}], position: 395, duration: 0, easing: "easeOutBack" },
                { id: "eid1284", tween: [ "transform", "${_book}", "scaleY", '1', { fromValue: '0.66902'}], position: 80, duration: 750, easing: "easeOutBack" },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1300", tween: [ "style", "${_tajalapiz}", "left", '129px', { fromValue: '228px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1262", tween: [ "style", "${_descripcion}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1296", tween: [ "transform", "${_tajalapiz}", "scaleX", '1', { fromValue: '0.74561'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1282", tween: [ "transform", "${_book}", "scaleX", '1', { fromValue: '0.66902'}], position: 80, duration: 750, easing: "easeOutBack" },
                { id: "eid1320", tween: [ "style", "${_Text}", "height", '210px', { fromValue: '126px'}], position: 910, duration: 415, easing: "easeOutBack" },
                { id: "eid1309", tween: [ "transform", "${_borrador}", "scaleX", '1', { fromValue: '0.70986'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1324", tween: [ "style", "${_Text}", "opacity", '1', { fromValue: '0'}], position: 910, duration: 415, easing: "easeOutBack" },
                { id: "eid1317", tween: [ "style", "${_tajalapiz}", "display", 'block', { fromValue: 'none'}], position: 395, duration: 0, easing: "easeOutBack" },
                { id: "eid1322", tween: [ "style", "${_Text}", "top", '357px', { fromValue: '441px'}], position: 910, duration: 415, easing: "easeOutBack" },
                { id: "eid1298", tween: [ "transform", "${_tajalapiz}", "scaleY", '1', { fromValue: '0.74561'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1315", tween: [ "style", "${_borrador}", "top", '543px', { fromValue: '515px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1294", tween: [ "transform", "${_tajalapiz}", "rotateZ", '0deg', { fromValue: '86deg'}], position: 395, duration: 750, easing: "easeOutBack" },
                { 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: "eid1311", tween: [ "transform", "${_borrador}", "scaleY", '1', { fromValue: '0.70986'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1286", tween: [ "transform", "${_lapiz}", "scaleX", '1', { fromValue: '0.71578'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1318", tween: [ "style", "${_lapiz}", "display", 'block', { fromValue: 'none'}], position: 395, duration: 0, easing: "easeOutBack" },
                { id: "eid1259", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1304", tween: [ "transform", "${_borrador}", "rotateZ", '0deg', { fromValue: '-42deg'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1313", tween: [ "style", "${_borrador}", "left", '129px', { fromValue: '246px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1302", tween: [ "style", "${_tajalapiz}", "top", '258px', { fromValue: '307px'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1288", tween: [ "transform", "${_lapiz}", "scaleY", '1', { fromValue: '0.71578'}], position: 395, duration: 750, easing: "easeOutBack" },
                { id: "eid1264", tween: [ "style", "${_bt_audio}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 }            ]
        }
    }
},
"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: [
                {
                    type: 'rect',
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    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", "width", '89px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    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: [
                {
                    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)']
                },
                {
                    rect: ['0px', '0px', '90px', '180px', 'auto', 'auto'],
                    id: 'bt_audio',
                    type: 'image',
                    clip: ['rect(0px 90px 180px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_audio.png', '0px', '-97px']
                },
                {
                    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": {
            "${_bt_audio}": [
                ["style", "top", '0px'],
                ["style", "clip", [0,90,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "height", '180px'],
                ["style", "left", '0px'],
                ["style", "background-position", [0,5], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["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", "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: "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 },
                { 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: "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 }            ]
        }
    }
}
};


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

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