/**
 * 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': '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: 'bg',
                type: 'rect',
                rect: ['49', '81','auto','auto','auto', 'auto']
            },
            {
                id: 'TextArea_1',
                type: 'rect',
                rect: ['414px', '397px','809px','249px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'TextArea_2',
                display: 'none',
                type: 'rect',
                rect: ['811px', '976px','339px','108px','auto', 'auto'],
                borderRadius: ["0px 0px", "0px 0px", "0px 0px", "0px 0px"],
                fill: ["rgba(65,233,223,0.22)"],
                stroke: [1,"rgba(255,121,121,1.00)","none"]
            },
            {
                id: 'child',
                type: 'rect',
                rect: ['88px', '217px','auto','auto','auto', 'auto']
            },
            {
                id: 'help',
                display: 'none',
                type: 'image',
                rect: ['416px', '331px','531px','249px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"help_textarea.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '160px','1150px','auto','auto', 'auto'],
                text: "¿Qué otras actividades pueden generar humo? Explica.<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', '196px','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: 'bt_ayuda',
                type: 'rect',
                rect: ['691px', '698px','auto','auto','auto', 'auto']
            },
            {
                id: 'bt_reiniciar',
                type: 'rect',
                rect: ['604px', '698px','auto','auto','auto', 'auto']
            },
            {
                id: 'hotspot_ayuda',
                type: 'rect',
                rect: ['690px', '698px','70px','70px','auto', 'auto'],
                cursor: ['pointer'],
                fill: ["rgba(192,192,192,0.00)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            },
            {
                id: 'hotspot_reiniciar',
                type: 'rect',
                rect: ['604px', '698px','70px','70px','auto', 'auto'],
                cursor: ['pointer'],
                fill: ["rgba(192,192,192,0.00)"],
                stroke: [0,"rgba(0,0,0,1)","none"]
            }],
            symbolInstances: [
            {
                id: 'child',
                symbolName: 'child',
                autoPlay: {

                }
            },
            {
                id: 'bt_reiniciar',
                symbolName: 'bt_reiniciar'
            },
            {
                id: 'bg',
                symbolName: 'bg',
                autoPlay: {

                }
            },
            {
                id: 'bt_ayuda',
                symbolName: 'bt_ayuda'
            }
            ]
        },
    states: {
        "Base State": {
            "${_bt_ayuda}": [
                ["transform", "scaleX", '1'],
                ["style", "top", '698px'],
                ["style", "left", '691px'],
                ["transform", "scaleY", '1']
            ],
            "${_hotspot_reiniciar}": [
                ["style", "top", '698px'],
                ["color", "background-color", 'rgba(192,192,192,0)'],
                ["style", "height", '70px'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '604px'],
                ["style", "width", '70px']
            ],
            "${_hotspot_ayuda}": [
                ["style", "top", '698px'],
                ["color", "background-color", 'rgba(192,192,192,0)'],
                ["style", "height", '70px'],
                ["style", "cursor", 'pointer'],
                ["style", "left", '690px'],
                ["style", "width", '70px']
            ],
            "${_instruccion}": [
                ["style", "top", '196px'],
                ["style", "width", '1150px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "font-family", 'cabin, Trebuchet MS, Myriad Pro, Gill Sans MT, Helvetica, sans-serif'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "font-size", '26px']
            ],
            "${_bt_reiniciar}": [
                ["transform", "scaleX", '1'],
                ["style", "top", '698px'],
                ["style", "left", '604px'],
                ["transform", "scaleY", '1']
            ],
            "${_box_01}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "border-top-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "border-bottom-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "opacity", '1'],
                ["style", "left", '34px'],
                ["style", "width", '446px'],
                ["style", "top", '226px'],
                ["style", "border-bottom-left-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ],
                ["style", "display", 'block'],
                ["style", "height", '282px'],
                ["style", "border-top-right-radius", [0,0], {valueTemplate:'@@0@@px @@1@@px'} ]
            ],
            "${_TextArea_2}": [
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "border-style", 'none'],
                ["style", "left", '811px'],
                ["style", "width", '339px'],
                ["style", "top", '976px'],
                ["style", "height", '108px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "border-width", '1px'],
                ["style", "display", 'none']
            ],
            "${_descripcion}": [
                ["style", "top", '160px'],
                ["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']
            ],
            "${_TextArea_1}": [
                ["style", "top", '397px'],
                ["color", "background-color", 'rgba(65,233,223,0.22)'],
                ["style", "left", '414px'],
                ["style", "border-style", 'none'],
                ["style", "height", '249px'],
                ["color", "border-color", 'rgba(255,121,121,1.00)'],
                ["style", "border-width", '1px'],
                ["style", "width", '809px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "display", 'none'],
                ["style", "height", '20px'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_child}": [
                ["style", "left", '88px'],
                ["style", "top", '217px']
            ],
            "${_help}": [
                ["style", "top", '331px'],
                ["style", "left", '416px'],
                ["style", "display", 'none']
            ],
            "${_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']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 75000,
            autoPlay: true,
            timeline: [
                { id: "eid977", tween: [ "style", "${_TextArea_2}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0, easing: "easeOutSine" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid497", tween: [ "gradient", "${_box_01}", "background-image", [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]], { fromValue: [270,[['rgba(255,255,255,0.00)',0],['rgba(255,255,255,0.00)',100]]]}], position: 0, duration: 0 },
                { id: "eid968", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid967", tween: [ "style", "${_help}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 }            ]
        }
    }
},
"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": {
            "${symbolSelector}": [
                ["style", "height", '70px'],
                ["style", "width", '70px'],
                ["style", "overflow", 'hidden']
            ],
            "${_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'} ]
            ]
        }
    },
    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 }            ]
        }
    }
},
"bg": {
    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: 'S_G01_U05_LO5_05_01',
                    type: 'image',
                    rect: ['0px', '0px', '1265px', '650px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/S_G01_U05_LO5_05_01.jpg', '0px', '0px']
                },
                {
                    transform: [[0, 0], [], [], ['0.9', '0.9']],
                    rect: ['-38px', '-11px', '2062px', '224px', 'auto', 'auto'],
                    id: 'S_G01_U05_LO5_05_01_cloud',
                    opacity: 0.9,
                    type: 'image',
                    fill: ['rgba(0,0,0,0)', 'images/S_G01_U05_LO5_05_01_cloud.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_S_G01_U05_LO5_05_01}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '650px'],
                ["style", "width", '1265px'],
                ["style", "overflow", 'hidden']
            ],
            "${_S_G01_U05_LO5_05_01_cloud}": [
                ["style", "top", '-11px'],
                ["transform", "scaleY", '0.9'],
                ["transform", "scaleX", '0.9'],
                ["style", "opacity", '0.9'],
                ["style", "left", '-38px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 75000,
            autoPlay: true,
            timeline: [
                { id: "eid969", tween: [ "style", "${_S_G01_U05_LO5_05_01_cloud}", "left", '-719px', { fromValue: '-38px'}], position: 0, duration: 75000, easing: "easeOutSine" }            ]
        }
    }
},
"child": {
    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: 'S_G01_U05_LO5_05_012',
                    rect: ['0px', '0px', '235px', '768px', 'auto', 'auto'],
                    clip: ['rect(0px 235px 478px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/S_G01_U05_LO5_05_01.png', '0px', '0px']
                },
                {
                    type: 'image',
                    rect: ['0px', '-514px', '235px', '768px', 'auto', 'auto'],
                    display: 'none',
                    id: 'S_G01_U05_LO5_05_012Copy',
                    clip: ['rect(510px 235px 768px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/S_G01_U05_LO5_05_01.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_S_G01_U05_LO5_05_012}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "clip", [0,235,478,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_S_G01_U05_LO5_05_012Copy}": [
                ["style", "display", 'none'],
                ["style", "clip", [510,235,768,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '0px'],
                ["style", "top", '-514px']
            ],
            "${symbolSelector}": [
                ["style", "height", '478px'],
                ["style", "width", '235px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1400,
            autoPlay: true,
            timeline: [
                { id: "eid970", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0, easing: "easeOutSine" },
                { id: "eid971", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'block', { fromValue: 'none'}], position: 100, duration: 0, easing: "easeOutSine" },
                { id: "eid972", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'none', { fromValue: 'block'}], position: 200, duration: 0, easing: "easeOutSine" },
                { id: "eid973", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'block', { fromValue: 'none'}], position: 300, duration: 0, easing: "easeOutSine" },
                { id: "eid974", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'none', { fromValue: 'block'}], position: 800, duration: 0, easing: "easeOutSine" },
                { id: "eid975", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'block', { fromValue: 'none'}], position: 900, duration: 0, easing: "easeOutSine" },
                { id: "eid976", tween: [ "style", "${_S_G01_U05_LO5_05_012Copy}", "display", 'none', { fromValue: 'block'}], position: 1000, duration: 0, easing: "easeOutSine" }            ]
        }
    }
},
"bt_reiniciar": {
    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: 'botones3',
                    rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                    clip: ['rect(0px 70px 70px 0px)'],
                    fill: ['rgba(0,0,0,0)', 'images/botones2.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_botones3}": [
                ["style", "clip", [0,70,70,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "background-position", [-146,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: "eid1278", tween: [ "style", "${_botones3}", "background-position", [-146,0], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-146,0]}], position: 0, duration: 0 },
                { id: "eid1279", tween: [ "style", "${_botones3}", "background-position", [-146,-70], { valueTemplate: '@@0@@px @@1@@px', fromValue: [-146,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-1010687340");
