/**
 * 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: 'LG2U5L1030201_bg',
                type: 'image',
                rect: ['48px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"LG2U5L1030201_bg.jpg",'0px','0px']
            },
            {
                id: 'Rectangle',
                type: 'rect',
                rect: ['90px', '158px','414px','56px','auto', 'auto'],
                borderRadius: ["15px 15px", "15px 15px", "15px 15px", "15px 15px"],
                opacity: 0.9,
                fill: ["rgba(255,255,255,1.00)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'textCount',
                display: 'none',
                type: 'text',
                rect: ['1049px', '100px','227px','42px','auto', 'auto'],
                text: "0/0",
                align: "center",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 24, "rgba(0,0,0,1)", "normal", "none", ""]
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1150px','auto','auto', 'auto'],
                text: "Continúa leyendo la historia. <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: 'LG2U5L1030201_bear',
                type: 'image',
                rect: ['177px', '419px','240px','205px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"LG2U5L1030201_bear.png",'0px','0px']
            },
            {
                id: 'bears',
                type: 'rect',
                rect: ['805px', '419px','auto','auto','auto', 'auto']
            },
            {
                id: 'LG2U5L1030201_lbls',
                type: 'image',
                rect: ['118px', '200px','1132px','218px','auto', 'auto'],
                clip: ['rect(89.33349609375px 1132px 218px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"LG2U5L1030201_lbls.png",'0px','0px']
            },
            {
                id: 'LG2U5L1030201_lblsCopy',
                type: 'image',
                rect: ['118px', '200px','1132px','218px','auto', 'auto'],
                clip: ['rect(0px 1132px 90px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"LG2U5L1030201_lbls.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'bears',
                symbolName: 'bears'
            }
            ]
        },
    states: {
        "Base State": {
            "${_LG2U5L1030201_lblsCopy}": [
                ["style", "top", '158px'],
                ["style", "opacity", '0'],
                ["style", "left", '118px'],
                ["style", "clip", [0,1132,90,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_LG2U5L1030201_lbls}": [
                ["style", "top", '152px'],
                ["style", "opacity", '0'],
                ["style", "left", '118px'],
                ["style", "clip", [89.33349609375,1132,218,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_bears}": [
                ["style", "top", '419px'],
                ["style", "opacity", '0'],
                ["style", "left", '1025px']
            ],
            "${_LG2U5L1030201_bg}": [
                ["style", "left", '48px'],
                ["style", "top", '81px']
            ],
            "${_textCount}": [
                ["style", "top", '100px'],
                ["style", "text-align", 'center'],
                ["style", "left", '1049px'],
                ["style", "display", 'none']
            ],
            "${_LG2U5L1030201_bear}": [
                ["style", "top", '419px'],
                ["style", "opacity", '0'],
                ["style", "left", '57px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["style", "width", '1150px'],
                ["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", '32px']
            ],
            "${_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']
            ],
            "${_Rectangle}": [
                ["color", "background-color", 'rgba(255,255,255,1.00)'],
                ["style", "border-top-left-radius", [15,15], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "border-bottom-right-radius", [15,15], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "top", '158px'],
                ["style", "opacity", '0.9'],
                ["style", "border-top-right-radius", [15,15], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "border-bottom-left-radius", [15,15], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${_label}": [
                ["style", "top", '0px'],
                ["style", "display", 'none'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "opacity", '1'],
                ["style", "left", '0px'],
                ["style", "width", '1366px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 6873,
            autoPlay: true,
            labels: {
                "slide_1": 0
            },
            timeline: [
                { id: "eid1319", tween: [ "style", "${_LG2U5L1030201_lbls}", "top", '200px', { fromValue: '152px'}], position: 1632, duration: 868, easing: "easeOutBack" },
                { id: "eid1225", tween: [ "style", "${_textCount}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1317", tween: [ "style", "${_LG2U5L1030201_lblsCopy}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 750, easing: "easeOutBack" },
                { id: "eid1309", tween: [ "style", "${_LG2U5L1030201_bear}", "left", '176px', { fromValue: '57px'}], position: 333, duration: 1000, easing: "easeOutBack" },
                { id: "eid1321", tween: [ "style", "${_LG2U5L1030201_lbls}", "opacity", '1', { fromValue: '0'}], position: 1632, duration: 868, easing: "easeOutBack" },
                { id: "eid1315", tween: [ "style", "${_LG2U5L1030201_lblsCopy}", "top", '200px', { fromValue: '158px'}], position: 1000, duration: 750, easing: "easeOutBack" },
                { id: "eid1311", tween: [ "style", "${_LG2U5L1030201_bear}", "opacity", '1', { fromValue: '0'}], position: 333, duration: 1000, easing: "easeOutBack" },
                { id: "eid1313", tween: [ "style", "${_bears}", "opacity", '1', { fromValue: '0'}], position: 0, duration: 1000, easing: "easeOutBack" },
                { id: "eid1307", tween: [ "style", "${_bears}", "left", '796px', { fromValue: '1025px'}], position: 0, duration: 1000, easing: "easeOutBack" }            ]
        }
    }
},
"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: {
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    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: [
                {
                    rect: ['0px', '0px', '40px', '40px', 'auto', 'auto'],
                    id: 'Rectangle',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(255,255,255,1.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_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']
            ],
            "${symbolSelector}": [
                ["style", "height", '40px'],
                ["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: [
                    {
                        type: 'rect',
                        id: 'bg_000',
                        stroke: [0, 'rgba(255,255,255,1.00)', 'none'],
                        rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                        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", "top", '0px'],
                ["style", "height", '650px'],
                ["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", "text-align", 'center'],
                ["style", "left", '519px'],
                ["style", "width", '211px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"bears": {
    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: ['-85px', '13px', '482px', '277px', 'auto', 'auto'],
                    id: 'LG2U5L1030201_anibear',
                    type: 'image',
                    clip: ['rect(0px 482px 277px 185.3330078125px)'],
                    fill: ['rgba(0,0,0,0)', 'images/LG2U5L1030201_anibear.png', '0px', '0px']
                },
                {
                    rect: ['26px', '-80px', '482px', '277px', 'auto', 'auto'],
                    id: 'LG2U5L1030201_anibearCopy',
                    type: 'image',
                    clip: ['rect(114.66650390625px 175.3330078125px 277px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/LG2U5L1030201_anibear.png', '0px', '0px']
                },
                {
                    rect: ['174px', '-4px', '482px', '277px', 'auto', 'auto'],
                    id: 'LG2U5L1030201_anibearCopy2',
                    type: 'image',
                    clip: ['rect(0px 152.666015625px 81px 66.6669921875px)'],
                    fill: ['rgba(0,0,0,0)', 'images/LG2U5L1030201_anibear.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_LG2U5L1030201_anibear}": [
                ["style", "top", '13px'],
                ["style", "left", '-85px'],
                ["style", "clip", [0,482,277,185.3330078125], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_LG2U5L1030201_anibearCopy}": [
                ["style", "-webkit-transform-origin", [20.04,70.47], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [20.04,70.47],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [20.04,70.47],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [20.04,70.47],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [20.04,70.47],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [20.04,70.47],{valueTemplate:'@@0@@% @@1@@%'}],
                ["transform", "rotateZ", '-59deg'],
                ["style", "top", '-80px'],
                ["style", "clip", [114.66650390625,175.3330078125,277,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '26px']
            ],
            "${symbolSelector}": [
                ["style", "height", '290px'],
                ["style", "width", '430px']
            ],
            "${_LG2U5L1030201_anibearCopy2}": [
                ["style", "-webkit-transform-origin", [22.97,15.41], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [22.97,15.41],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [22.97,15.41],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [22.97,15.41],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [22.97,15.41],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [22.97,15.41],{valueTemplate:'@@0@@% @@1@@%'}],
                ["transform", "rotateZ", '29deg'],
                ["style", "top", '-4px'],
                ["style", "clip", [0,152.666015625,81,66.6669921875], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '174px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 6873,
            autoPlay: true,
            timeline: [
                { id: "eid1299", tween: [ "transform", "${_LG2U5L1030201_anibearCopy2}", "rotateZ", '0deg', { fromValue: '29deg'}], position: 0, duration: 750, easing: "easeOutSine" },
                { id: "eid1301", tween: [ "transform", "${_LG2U5L1030201_anibearCopy2}", "rotateZ", '29deg', { fromValue: '0deg'}], position: 4000, duration: 750, easing: "easeOutSine" },
                { id: "eid1303", tween: [ "transform", "${_LG2U5L1030201_anibearCopy}", "rotateZ", '0deg', { fromValue: '-59deg'}], position: 1250, duration: 1250, easing: "easeOutSine" },
                { id: "eid1305", tween: [ "transform", "${_LG2U5L1030201_anibearCopy}", "rotateZ", '-59deg', { fromValue: '0deg'}], position: 5623, duration: 1250, easing: "easeOutSine" }            ]
        }
    }
}
};


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

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