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

var fonts = {};    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: 'S_G02_U01_L01_03_01_05',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"S_G02_U01_L01_03_01_05.jpg",'0px','0px']
            },
            {
                id: 'mainContainer',
                type: 'rect',
                rect: ['47px', '80px','auto','auto','auto', 'auto']
            },
            {
                id: 'bt_back_file',
                type: 'rect',
                rect: ['613px', '623px','auto','auto','auto', 'auto'],
                title: 'Anterior',
                cursor: ['pointer']
            },
            {
                id: 'bt_next_file',
                type: 'rect',
                rect: ['683px', '623px','auto','auto','auto', 'auto'],
                title: 'Siguiente',
                cursor: ['pointer']
            },
            {
                id: 'desc',
                display: 'none',
                type: 'rect',
                rect: ['47px', '653px','auto','auto','auto', 'auto']
            },
            {
                id: 'Rectangle',
                display: 'none',
                type: 'rect',
                rect: ['47px', '157px','1265px','49px','auto', 'auto'],
                fill: ["rgba(255,255,255,0.46)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'descripcion',
                display: 'none',
                type: 'text',
                rect: ['100px', '156px','1150px','auto','auto', 'auto'],
                text: "Expresión de sentimientos",
                align: "left",
                font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 42, "rgba(26,26,26,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'num_actividad',
                display: 'none',
                type: 'text',
                rect: ['102px', '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: 'bt_ayuda',
                display: 'none',
                type: 'rect',
                rect: ['648px', '653','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'bt_ayuda',
                symbolName: 'bt_ayuda',
                autoPlay: {

                }
            },
            {
                id: 'mainContainer',
                symbolName: 'mainContainer',
                autoPlay: {

                }
            },
            {
                id: 'desc',
                symbolName: 'desc',
                autoPlay: {

                }
            },
            {
                id: 'bt_back_file',
                symbolName: 'bt_back',
                autoPlay: {

                }
            },
            {
                id: 'bt_next_file',
                symbolName: 'bt_next',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_bt_ayuda}": [
                ["style", "left", '648px'],
                ["style", "display", 'none']
            ],
            "${_num_actividad}": [
                ["style", "top", '129px'],
                ["style", "width", '140px'],
                ["style", "display", 'none'],
                ["color", "color", 'rgba(229,145,34,1)'],
                ["style", "font-weight", 'bold'],
                ["style", "left", '102px'],
                ["style", "font-size", '22px']
            ],
            "${_desc}": [
                ["style", "-webkit-transform-origin", [50,0], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [50,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "display", 'none'],
                ["style", "top", '653px'],
                ["style", "left", '47px'],
                ["transform", "scaleX", '1']
            ],
            "${_S_G02_U01_L01_03_01_05}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_descripcion}": [
                ["style", "top", '156px'],
                ["style", "width", '1150px'],
                ["color", "color", 'rgba(26,26,26,1)'],
                ["style", "display", 'none'],
                ["style", "left", '100px'],
                ["style", "font-size", '42px']
            ],
            "${_bt_next_file}": [
                ["style", "top", '623px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "left", '683px'],
                ["style", "cursor", 'pointer']
            ],
            "${_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,0.46)'],
                ["style", "display", 'none']
            ],
            "${_bt_back_file}": [
                ["style", "top", '623px'],
                ["transform", "scaleY", '1'],
                ["transform", "scaleX", '1'],
                ["style", "left", '613px'],
                ["style", "cursor", 'pointer']
            ],
            "${_mainContainer}": [
                ["style", "top", '80px'],
                ["transform", "scaleY", '1'],
                ["style", "overflow", 'hidden'],
                ["transform", "scaleX", '1'],
                ["style", "left", '47px'],
                ["style", "-webkit-transform-origin", [0,0], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "transform-origin", [0,0],{valueTemplate:'@@0@@% @@1@@%'}]
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
                { id: "eid31", tween: [ "style", "${_descripcion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid30", tween: [ "style", "${_desc}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid27", tween: [ "style", "${_bt_ayuda}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid32", tween: [ "style", "${_num_actividad}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid33", tween: [ "style", "${_Rectangle}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 }            ]
        }
    }
},
"mainContainer": {
    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: 'imagen',
                    tag: 'img',
                    rect: ['0px', '0', '1265px', '650px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/S_G02_U01_L01_03_01_01.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "max-width", '1265px'],
                ["style", "overflow", 'hidden'],
                ["style", "width", '1265px']
            ],
            "${_imagen}": [
                ["style", "left", '0px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: false,
            timeline: [
            ]
        }
    }
},
"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',
                    rect: ['0px', '0px', '145px', '145px', 'auto', 'auto'],
                    display: 'block',
                    id: 'nav',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '0px', '70px', '70px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px']
            ],
            "${_nav}": [
                ["style", "top", '0px'],
                ["style", "background-position", [-76,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "display", 'block'],
                ["style", "height", '145px'],
                ["style", "background-size", [145,145], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "left", '0px'],
                ["style", "width", '145px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2000,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 1000,
                "up": 2000
            },
            timeline: [
                { id: "eid578", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 0, duration: 0 },
                { id: "eid617", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 1000, duration: 0 },
                { id: "eid619", tween: [ "style", "${_nav}", "display", 'block', { fromValue: 'block'}], position: 2000, duration: 0 },
                { id: "eid1079", tween: [ "style", "${_nav}", "background-position", [-76,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-76,0]}], position: 0, 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: [
                {
                    rect: ['0', '0', '145px', '145px', 'auto', 'auto'],
                    id: 'nav',
                    type: 'image',
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/nav.png', '0px', '-75px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_nav}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${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: "eid17", tween: [ "style", "${_nav}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 0, duration: 0 },
                { id: "eid16", tween: [ "style", "${_nav}", "background-position", [0,-75], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,0]}], position: 1000, duration: 0 },
                { id: "eid18", tween: [ "style", "${_nav}", "background-position", [0,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [0,-75]}], position: 2000, duration: 0 }            ]
        }
    }
},
"desc": {
    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', '1265px', '80px', 'auto', 'auto'],
                    fill: ['rgba(2,2,2,0.70)']
                },
                {
                    type: 'text',
                    rect: ['21px', '2px', '1220px', '62px', 'auto', 'auto'],
                    id: 'txt_desc',
                    text: '¿Cómo te sientes cuando visitas al odontólogo? ¿Por qué?',
                    align: 'center',
                    font: ['cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif', 42, 'rgba(255,255,255,1.00)', 'bold', 'none', 'normal']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_txt_desc}": [
                ["style", "top", '2px'],
                ["style", "text-align", 'center'],
                ["style", "height", '62px'],
                ["style", "width", '1220px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-size", '42px']
            ],
            "${_Rectangle}": [
                ["color", "background-color", 'rgba(2,2,2,0.70)'],
                ["style", "height", '80px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '1265px']
            ],
            "${symbolSelector}": [
                ["style", "height", '80px'],
                ["style", "width", '1265px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"bt_ayuda": {
    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: [
                {
                    type: 'image',
                    id: 'botones4',
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_botones4}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-220,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "normal": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1280", tween: [ "style", "${_botones4}", "background-position", [-220,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], position: 0, duration: 0 },
                { id: "eid1281", tween: [ "style", "${_botones4}", "background-position", [-220,-70], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-220,0]}], 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-178277767");
