/**
 * 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: '_04_01_01',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"04_01_01.png",'0px','0px']
            },
            {
                id: 'Text',
                type: 'text',
                rect: ['100px', '166px','1151px','84px','auto', 'auto'],
                text: "Gabriel tiene una colección de carros organizada en tres repisas y en cada repisa tiene cuatro carros. Observa. <br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(73,73,73,1)", "bold", "none", "normal"]
            },
            {
                id: '_04_01_02',
                type: 'image',
                rect: ['521px', '195px','652px','342px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"04_01_02.png",'0px','0px']
            },
            {
                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: 'nino',
                type: 'rect',
                rect: ['227', '266','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'nino',
                symbolName: 'nino',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_nino}": [
                ["style", "left", '-202px'],
                ["style", "opacity", '0']
            ],
            "${__04_01_01}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_Text}": [
                ["style", "top", '166px'],
                ["style", "height", '84px'],
                ["style", "clip", [0,-3.11767578125,84,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "width", '1151px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_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']
            ],
            "${_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']
            ],
            "${__04_01_02}": [
                ["style", "top", '166px'],
                ["style", "opacity", '0'],
                ["style", "left", '521px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 5000,
            autoPlay: true,
            timeline: [
                { id: "eid1435", tween: [ "style", "${_nino}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 1000, easing: "easeOutBack" },
                { id: "eid1433", tween: [ "style", "${_nino}", "left", '227px', { fromValue: '-202px'}], position: 500, duration: 1000, easing: "easeOutBack" },
                { id: "eid1389", tween: [ "style", "${_Text}", "clip", [0,1151,84,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,-3.11767578125,84,0]}], position: 0, duration: 500, easing: "easeOutBack" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1437", tween: [ "style", "${__04_01_02}", "top", '211px', { fromValue: '166px'}], position: 1000, duration: 435, easing: "easeOutBack" },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1439", tween: [ "style", "${__04_01_02}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 435, easing: "easeOutBack" }            ]
        }
    }
},
"parpados": {
    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: 'ellipse',
                    borderRadius: ['50%', '50%', '50%', '50%'],
                    rect: ['34px', '0px', '8px', '5px', 'auto', 'auto'],
                    id: 'Ellipse',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    display: 'none',
                    fill: ['rgba(249,217,174,1.00)']
                },
                {
                    type: 'ellipse',
                    borderRadius: ['50%', '50%', '50%', '50%'],
                    rect: ['0px', '0px', '8px', '5px', 'auto', 'auto'],
                    id: 'EllipseCopy',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    display: 'none',
                    fill: ['rgba(249,217,174,1.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_EllipseCopy}": [
                ["color", "background-color", 'rgba(249,217,174,1.00)'],
                ["style", "height", '5px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'none']
            ],
            "${_Ellipse}": [
                ["color", "background-color", 'rgba(249,217,174,1.00)'],
                ["style", "height", '5px'],
                ["style", "top", '0px'],
                ["style", "left", '34px'],
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '5px'],
                ["style", "width", '42px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 4750,
            autoPlay: true,
            timeline: [
                { id: "eid1356", tween: [ "style", "${_EllipseCopy}", "display", 'block', { fromValue: 'none'}], position: 1000, duration: 0 },
                { id: "eid1358", tween: [ "style", "${_EllipseCopy}", "display", 'none', { fromValue: 'block'}], position: 1250, duration: 0 },
                { id: "eid1360", tween: [ "style", "${_EllipseCopy}", "display", 'block', { fromValue: 'none'}], position: 3000, duration: 0 },
                { id: "eid1362", tween: [ "style", "${_EllipseCopy}", "display", 'none', { fromValue: 'block'}], position: 3250, duration: 0 },
                { id: "eid1364", tween: [ "style", "${_EllipseCopy}", "display", 'block', { fromValue: 'none'}], position: 3500, duration: 0 },
                { id: "eid1366", tween: [ "style", "${_EllipseCopy}", "display", 'none', { fromValue: 'block'}], position: 3750, duration: 0 },
                { id: "eid1357", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 1000, duration: 0 },
                { id: "eid1359", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 1250, duration: 0 },
                { id: "eid1361", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 3000, duration: 0 },
                { id: "eid1363", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 3250, duration: 0 },
                { id: "eid1365", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 3500, duration: 0 },
                { id: "eid1367", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 3750, duration: 0 }            ]
        }
    }
},
"bt_cerrar": {
    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: 'bt_info',
                    type: 'image',
                    rect: ['0px', '0px', '50px', '100px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_cerrar.png', '0px', '0px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                    display: 'block',
                    id: 'hot_spot_1',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(255,255,255,0)']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                    display: 'none',
                    id: 'hot_spot_2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(255,255,255,0)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '48px'],
                ["style", "width", '50px'],
                ["style", "overflow", 'hidden']
            ],
            "${_hot_spot_1}": [
                ["style", "cursor", 'pointer'],
                ["style", "display", 'block']
            ],
            "${_hot_spot_2}": [
                ["style", "cursor", 'pointer'],
                ["style", "display", 'none']
            ],
            "${_bt_info}": [
                ["style", "left", '0px'],
                ["style", "top", '-1px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1357", tween: [ "style", "${_bt_info}", "top", '-1px', { fromValue: '-1px'}], position: 0, duration: 0 },
                { id: "eid1358", tween: [ "style", "${_bt_info}", "top", '-52px', { fromValue: '-1px'}], position: 250, duration: 0 },
                { id: "eid1361", tween: [ "style", "${_hot_spot_2}", "display", 'block', { fromValue: 'none'}], position: 250, duration: 0 },
                { id: "eid1356", tween: [ "style", "${_bt_info}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1359", tween: [ "style", "${_hot_spot_1}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1360", tween: [ "style", "${_hot_spot_1}", "display", 'none', { fromValue: 'block'}], position: 250, duration: 0 }            ]
        }
    }
},
"bt_cerrar_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: false,
    content: {
            dom: [
                {
                    id: 'bt_info',
                    type: 'image',
                    rect: ['0px', '0px', '50px', '100px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/bt_cerrar.png', '0px', '0px']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                    display: 'block',
                    id: 'hot_spot_1',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(255,255,255,0)']
                },
                {
                    type: 'rect',
                    rect: ['0px', '0px', '50px', '48px', 'auto', 'auto'],
                    display: 'none',
                    id: 'hot_spot_2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    cursor: ['pointer'],
                    fill: ['rgba(255,255,255,0)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_bt_info}": [
                ["style", "left", '0px'],
                ["style", "top", '-1px']
            ],
            "${_hot_spot_1}": [
                ["style", "cursor", 'pointer'],
                ["style", "display", 'block']
            ],
            "${_hot_spot_2}": [
                ["style", "cursor", 'pointer'],
                ["style", "display", 'none']
            ],
            "${symbolSelector}": [
                ["style", "height", '48px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '50px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1357", tween: [ "style", "${_bt_info}", "top", '-1px', { fromValue: '-1px'}], position: 0, duration: 0 },
                { id: "eid1358", tween: [ "style", "${_bt_info}", "top", '-52px', { fromValue: '-1px'}], position: 250, duration: 0 },
                { id: "eid1361", tween: [ "style", "${_hot_spot_2}", "display", 'block', { fromValue: 'none'}], position: 250, duration: 0 },
                { id: "eid1359", tween: [ "style", "${_hot_spot_1}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid1360", tween: [ "style", "${_hot_spot_1}", "display", 'none', { fromValue: 'block'}], position: 250, duration: 0 },
                { id: "eid1356", tween: [ "style", "${_bt_info}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 }            ]
        }
    }
},
"nino": {
    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: '_04_01_05',
                    type: 'image',
                    rect: ['109px', '167px', '116px', '74px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/04_01_05.png', '0px', '0px']
                },
                {
                    id: '_04_01_04',
                    type: 'image',
                    rect: ['7px', '167px', '225px', '291px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/04_01_04.png', '0px', '0px']
                },
                {
                    id: '_04_01_03',
                    type: 'image',
                    rect: ['0px', '0px', '207px', '215px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/04_01_03.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${__04_01_04}": [
                ["style", "left", '7px'],
                ["style", "top", '167px']
            ],
            "${__04_01_03}": [
                ["style", "-webkit-transform-origin", [54.27,94.88], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [54.27,94.88],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [54.27,94.88],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [54.27,94.88],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [54.27,94.88],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [54.27,94.88],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["transform", "rotateZ", '-5deg']
            ],
            "${__04_01_05}": [
                ["style", "-webkit-transform-origin", [14.94,60.81], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [14.94,60.81],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [14.94,60.81],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [14.94,60.81],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [14.94,60.81],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [14.94,60.81],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "top", '167px'],
                ["style", "left", '109px'],
                ["transform", "rotateZ", '43deg']
            ],
            "${symbolSelector}": [
                ["style", "height", '458px'],
                ["style", "width", '232px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 5000,
            autoPlay: true,
            timeline: [
                { id: "eid1421", tween: [ "transform", "${__04_01_03}", "rotateZ", '0deg', { fromValue: '-5deg'}], position: 0, duration: 1000 },
                { id: "eid1422", tween: [ "transform", "${__04_01_03}", "rotateZ", '6deg', { fromValue: '0deg'}], position: 2000, duration: 1000 },
                { id: "eid1423", tween: [ "transform", "${__04_01_03}", "rotateZ", '-5deg', { fromValue: '6deg'}], position: 3000, duration: 1000 },
                { id: "eid1425", tween: [ "transform", "${__04_01_05}", "rotateZ", '0deg', { fromValue: '43deg'}], position: 0, duration: 750 },
                { id: "eid1429", tween: [ "transform", "${__04_01_05}", "rotateZ", '19deg', { fromValue: '0deg'}], position: 2000, duration: 750 },
                { id: "eid1431", tween: [ "transform", "${__04_01_05}", "rotateZ", '39deg', { fromValue: '19deg'}], position: 3250, duration: 500 },
                { id: "eid1427", tween: [ "style", "${__04_01_05}", "top", '167px', { fromValue: '167px'}], position: 2000, duration: 0 },
                { id: "eid1428", tween: [ "style", "${__04_01_05}", "top", '167px', { fromValue: '167px'}], position: 2750, 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");
