/**
 * 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_U06_L01_03_01_bg',
                type: 'image',
                rect: ['49px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U06_L01_03_01_bg.jpg",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1150px','auto','auto', 'auto'],
                text: "Lee la siguiente historieta. <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: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '203px','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', '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',
                display: 'none',
                type: 'image',
                rect: ['210px', '135px','15px','15px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"flecha.png",'0px','0px']
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['240px', '129px','140px','auto','auto', 'auto'],
                text: "Actividad 1",
                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: 'L_G01_U06_L01_03_01_img1',
                type: 'image',
                rect: ['61px', '193px','603px','523px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U06_L01_03_01_img1.png",'0px','0px'],
                transform: [[],[],[],['0.9','0.9']]
            },
            {
                id: 'L_G01_U06_L01_03_01_img2',
                type: 'image',
                rect: ['648px', '192px','613px','525px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U06_L01_03_01_img2.png",'0px','0px'],
                transform: [[],[],[],['0.9','0.9']]
            },
            {
                id: 'L_G01_U06_L01_03_01_label2',
                type: 'image',
                rect: ['718px', '271px','489px','189px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U06_L01_03_01_label2.png",'0px','0px']
            },
            {
                id: 'L_G01_U06_L01_03_01_label',
                type: 'image',
                rect: ['261px', '258px','249px','375px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"L_G01_U06_L01_03_01_label.png",'0px','0px']
            }],
            symbolInstances: [

            ]
        },
    states: {
        "Base State": {
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '140px'],
                ["color", "color", 'rgba(229,145,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "display", 'none'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '240px'],
                ["style", "font-size", '22px']
            ],
            "${_L_G01_U06_L01_03_01_bg}": [
                ["style", "left", '49px'],
                ["style", "top", '81px']
            ],
            "${_instruccion}": [
                ["style", "top", '203px'],
                ["style", "width", '1150px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-weight", '400'],
                ["style", "display", 'none'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_L_G01_U06_L01_03_01_label2}": [
                ["style", "top", '271px'],
                ["transform", "scaleX", '0'],
                ["transform", "scaleY", '0'],
                ["style", "left", '718px']
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ],
            "${_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']
            ],
            "${_L_G01_U06_L01_03_01_label}": [
                ["style", "top", '258px'],
                ["transform", "scaleX", '0'],
                ["transform", "scaleY", '0'],
                ["style", "left", '261px']
            ],
            "${_momento}": [
                ["style", "top", '129px'],
                ["style", "width", '150px'],
                ["color", "color", 'rgba(197,115,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "display", 'none'],
                ["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']
            ],
            "${_L_G01_U06_L01_03_01_img1}": [
                ["style", "top", '193px'],
                ["transform", "scaleY", '0.9'],
                ["transform", "scaleX", '0.9'],
                ["style", "opacity", '0'],
                ["style", "left", '-201px']
            ],
            "${_L_G01_U06_L01_03_01_img2}": [
                ["style", "top", '193px'],
                ["transform", "scaleY", '0.9'],
                ["transform", "scaleX", '0.9'],
                ["style", "opacity", '0'],
                ["style", "left", '824px']
            ],
            "${_flecha}": [
                ["style", "top", '135px'],
                ["style", "display", 'none'],
                ["style", "height", '15px'],
                ["style", "left", '210px'],
                ["style", "width", '15px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1250,
            autoPlay: true,
            labels: {
                "slide_1": 0
            },
            timeline: [
                { id: "eid1317", tween: [ "transform", "${_L_G01_U06_L01_03_01_label2}", "scaleY", '1', { fromValue: '0'}], position: 750, duration: 500, easing: "easeOutBack" },
                { id: "eid1296", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1297", tween: [ "style", "${_flecha}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_L_G01_U06_L01_03_01_img2}", "top", '192px', { fromValue: '193px'}], position: 399, duration: 601, easing: "easeOutBack" },
                { id: "eid1299", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1315", tween: [ "transform", "${_L_G01_U06_L01_03_01_label2}", "scaleX", '1', { fromValue: '0'}], position: 750, duration: 500, easing: "easeOutBack" },
                { id: "eid1298", tween: [ "style", "${_momento}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1305", tween: [ "style", "${_L_G01_U06_L01_03_01_img2}", "left", '648px', { fromValue: '824px'}], position: 399, duration: 601, easing: "easeOutBack" },
                { id: "eid1301", tween: [ "style", "${_L_G01_U06_L01_03_01_img1}", "left", '61px', { fromValue: '-201px'}], position: 149, duration: 601, easing: "easeOutBack" },
                { id: "eid1309", tween: [ "style", "${_L_G01_U06_L01_03_01_img2}", "opacity", '1', { fromValue: '0'}], position: 399, duration: 601, easing: "easeOutBack" },
                { id: "eid1313", tween: [ "transform", "${_L_G01_U06_L01_03_01_label}", "scaleY", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1303", tween: [ "style", "${_L_G01_U06_L01_03_01_img1}", "opacity", '1', { fromValue: '0'}], position: 149, duration: 601, easing: "easeOutBack" },
                { id: "eid1311", tween: [ "transform", "${_L_G01_U06_L01_03_01_label}", "scaleX", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"bt_next": {
    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: 'nav_next',
                    rect: ['0px', '0px', '70px', '70px', 'auto', 'auto'],
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '0px', '70px', '70px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '70px', '70px', 'auto', 'auto'],
                    id: 'hotspot_area_next',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(192,192,192,1)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_hotspot_area_next}": [
                ["style", "left", '0px'],
                ["style", "height", '70px'],
                ["style", "opacity", '0'],
                ["style", "cursor", 'pointer'],
                ["style", "width", '70px']
            ],
            "${_nav_next}": [
                ["style", "top", '0px'],
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-75,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "height", '70px'],
                ["style", "background-size", [145,145], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "left", '0px'],
                ["style", "width", '70px']
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 1000,
                "up": 2000
            },
            timeline: [
                { id: "eid1194", tween: [ "style", "${_nav_next}", "background-position", [-75,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-75,0]}], position: 0, duration: 0 },
                { id: "eid1195", tween: [ "style", "${_nav_next}", "background-position", [-75,-75], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-75,0]}], position: 1000, duration: 0 },
                { id: "eid1196", tween: [ "style", "${_nav_next}", "background-position", [-75,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-75,-75]}], position: 2000, duration: 0 }            ]
        }
    }
},
"bt_back": {
    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: 'nav_back',
                    rect: ['0px', '0px', '145px', '145px', 'auto', 'auto'],
                    clip: ['rect(0px 145px 145px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '0px', '70px', '70px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '70px', '70px', 'auto', 'auto'],
                    id: 'hotspot_area_back',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(192,192,192,1)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_hotspot_area_back}": [
                ["style", "height", '70px'],
                ["style", "opacity", '0'],
                ["style", "cursor", 'pointer'],
                ["style", "width", '70px']
            ],
            "${_nav_back}": [
                ["style", "top", '0px'],
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '0px'],
                ["style", "height", '145px'],
                ["style", "background-size", [145,145], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "background-position", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "width", '145px']
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 1000,
                "up": 2000
            },
            timeline: [
                { id: "eid1191", tween: [ "style", "${_nav_back}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 0, duration: 0 },
                { id: "eid1190", tween: [ "style", "${_nav_back}", "background-position", [0,-78], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 1000, duration: 0 },
                { id: "eid1192", tween: [ "style", "${_nav_back}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,-78]}], position: 2000, duration: 0 }            ]
        }
    }
},
"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: ['0px', '0px', 'auto', 'auto', 'auto', 'auto']
                }
            ],
            symbolInstances: [
            {
                id: 'bg_defecto',
                symbolName: 'bg_defecto_simbolo',
                autoPlay: {

               }
            }            ]
        },
    states: {
        "Base State": {
            "${_bg_defecto}": [
                ["transform", "scaleX", '1'],
                ["style", "top", '0px'],
                ["transform", "scaleY", '1'],
                ["style", "left", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '1265px']
            ]
        }
    },
    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: [
            ]
        }
    }
}
};


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

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