/*jslint */
/*global AdobeEdge: false, window: false, document: false, console:false, alert: false */
(function (compId) {

    "use strict";
    var im='images/',
        aud='media/',
        vid='media/',
        js='js/',
        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>'        },
        opts = {
            'gAudioPreloadPreference': 'false',
            'gVideoPreloadPreference': 'auto'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.0.3.min.js",
            js+"jquery-ui-1.10.4.min.js",
            js+"jquery.ui.touch-punch.min.js"
        ],
        symbols = {
            "stage": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "both",
                centerStage: "both",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'container',
                            type: 'rect',
                            rect: ['0px', '0', '1366px', '768px', 'auto', 'auto'],
                            fill: ["rgba(255,255,255,0.00)"],
                            stroke: [0,"rgb(83, 30, 30)","none"]
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02-01',
                            type: 'image',
                            rect: ['50px', '84px', '1265px', '650px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02-01.png",'0px','0px']
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02_nuevo_cajon-01',
                            type: 'image',
                            rect: ['320px', '200px', '498px', '479px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02_nuevo_cajon-01.png",'0px','0px']
                        },
                        {
                            id: 'IL_S_G01_U01_L05_05_02_02-03',
                            type: 'image',
                            rect: ['170px', '364px', '186px', '328px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_02-03.png",'0px','0px']
                        },
                        {
                            id: 'error',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['616', '308', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"error.mp3",aud+"error.ogg"],
                            preload: 'false'
                        },
                        {
                            id: 'success',
                            type: 'audio',
                            tag: 'audio',
                            rect: ['616', '308', '320px', '45px', 'auto', 'auto'],
                            source: [aud+"success.mp3",aud+"success.ogg"],
                            preload: 'false'
                        },
                        {
                            id: 'bt_ayuda',
                            symbolName: 'bt_ayuda',
                            type: 'rect',
                            rect: ['781', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_reiniciar',
                            symbolName: 'bt_reiniciar',
                            type: 'rect',
                            rect: ['692', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_solucion',
                            symbolName: 'bt_solucion',
                            type: 'rect',
                            rect: ['604', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'bt_validar',
                            symbolName: 'bt_validar',
                            type: 'rect',
                            rect: ['514', '694', '70', '70', 'auto', 'auto'],
                            overflow: 'hidden'
                        },
                        {
                            id: 'hotspot_ayuda',
                            type: 'rect',
                            rect: ['781', '694', '70', '70', '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: ['692', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'hotspot_solucion',
                            type: 'rect',
                            rect: ['604', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'hotspot_validar',
                            type: 'rect',
                            rect: ['514', '694', '70', '70', 'auto', 'auto'],
                            cursor: 'pointer',
                            fill: ["rgba(192,192,192,0.00)"],
                            stroke: [0,"rgba(0,0,0,1)","none"]
                        },
                        {
                            id: 'Drop_8',
                            display: 'block',
                            type: 'rect',
                            rect: ['437px', '318px', '257px', '196px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Drop_7',
                            display: 'block',
                            type: 'rect',
                            rect: ['610px', '520px', '89px', '80px', 'auto', 'auto'],
                            borderRadius: ["5px 5px", "5px 5px", "5px 5px", "5px 5px"],
                            opacity: 0,
                            fill: ["rgba(244,244,244,1.00)"],
                            stroke: [1,"rgba(204,204,204,1.00)","solid"]
                        },
                        {
                            id: 'Todos',
                            type: 'image',
                            rect: ['437px', '318px', '264px', '284px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-09.png",'0px','0px']
                        },
                        {
                            id: 'Drag_8',
                            type: 'image',
                            rect: ['947px', '219px', '259px', '198px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-08.png",'0px','0px']
                        },
                        {
                            id: 'Drag_7',
                            type: 'image',
                            rect: ['958px', '593px', '91px', '82px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-07.png",'0px','0px']
                        },
                        {
                            id: 'Drag_6',
                            type: 'image',
                            rect: ['846px', '341px', '112px', '162px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-06.png",'0px','0px']
                        },
                        {
                            id: 'Drag_5',
                            type: 'image',
                            rect: ['1101px', '599px', '107px', '81px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-05.png",'0px','0px']
                        },
                        {
                            id: 'Drag_4',
                            type: 'image',
                            rect: ['853px', '528px', '97px', '105px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-04.png",'0px','0px']
                        },
                        {
                            id: 'Drag_3',
                            type: 'image',
                            rect: ['958px', '450px', '147px', '127px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-03.png",'0px','0px']
                        },
                        {
                            id: 'Drag_2',
                            type: 'image',
                            rect: ['1095px', '422px', '130px', '121px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-02.png",'0px','0px']
                        },
                        {
                            id: 'Drag_1',
                            type: 'image',
                            rect: ['856px', '250px', '92px', '75px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"IL_S_G01_U01_L05_05_02_05-01.png",'0px','0px']
                        },
                        {
                            id: 'resp_incorrecta',
                            display: 'none',
                            type: 'image',
                            rect: ['439', '352', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_incorrecto.png",'0px','0px']
                        },
                        {
                            id: 'resp_correcta',
                            display: 'none',
                            type: 'image',
                            rect: ['438', '352', '530', '160', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"msg_correcto.png",'0px','0px']
                        },
                        {
                            id: 'help',
                            display: 'none',
                            type: 'image',
                            rect: ['436', '308', '531px', '249px', 'auto', 'auto'],
                            fill: ["rgba(0,0,0,0)",im+"help_drag.png",'0px','0px']
                        },
                        {
                            id: 'descripcion',
                            type: 'text',
                            rect: ['100', '159', '1034px', '76px', 'auto', 'auto'],
                            text: "Arrastra al armario 2 prendas y accesorios que debería usar el día jueves.<br>",
                            align: "left",
                            font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', [32, "px"], "rgba(26,26,26,1)", "bold", "none", "normal", "break-word", ""]
                        },
                        {
                            id: 'momento',
                            type: 'text',
                            rect: ['100', '129', '110', 'auto', 'auto', 'auto'],
                            text: "Actividad 1",
                            align: "left",
                            font: ['cabin, \'Trebuchet MS\', \'Myriad Pro\', \'Gill Sans MT\', Helvetica, sans-serif', [22, "px"], "rgba(197,115,34,1)", "bold", "none", "normal", "break-word", ""]
                        }
                    ],
                    style: {
                        '${Stage}': {
                            isStage: true,
                            rect: ['null', 'null', '1366', '768', 'auto', 'auto'],
                            sizeRange: ['320px','1366px','undefined','undefined'],
                            overflow: 'hidden',
                            fill: ["rgba(255,255,255,0.00)"]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [
                        [
                            "eid753",
                            "left",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '439px',
                            '439px'
                        ],
                        [
                            "eid745",
                            "top",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '352px',
                            '352px'
                        ],
                        [
                            "eid749",
                            "width",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '530px',
                            '530px'
                        ],
                        [
                            "eid747",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            'none',
                            'none'
                        ],
                        [
                            "eid751",
                            "height",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '160px',
                            '160px'
                        ],
                        [
                            "eid754",
                            "width",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '530px',
                            '530px'
                        ],
                        [
                            "eid750",
                            "top",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            '352px',
                            '352px'
                        ],
                        [
                            "eid755",
                            "display",
                            0,
                            0,
                            "linear",
                            "${help}",
                            'none',
                            'none'
                        ],
                        [
                            "eid748",
                            "left",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '438px',
                            '438px'
                        ],
                        [
                            "eid752",
                            "display",
                            0,
                            0,
                            "linear",
                            "${resp_incorrecta}",
                            'none',
                            'none'
                        ],
                        [
                            "eid746",
                            "height",
                            0,
                            0,
                            "linear",
                            "${resp_correcta}",
                            '160px',
                            '160px'
                        ]
                    ]
                }
            },
            "ok": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'ok',
                            type: 'image',
                            rect: [0, 0, '20px', '20px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/ok.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 20, 20]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "bad": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'bad',
                            type: 'image',
                            rect: [0, 0, '20px', '20px', 'auto', 'auto'],
                            fill: ['rgba(0,0,0,0)', 'images/bad.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, 20, 20]
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: true,
                    data: [

                    ]
                }
            },
            "bt_validar": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '290px', '140px', 'auto', 'auto'],
                            id: 'botones',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '0px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1275",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones}",
                            [0,0],
                            [0,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1274",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones}",
                            [0,0],
                            [0,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_solucion": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            id: 'botones2',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '-73px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1276",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones2}",
                            [-73,0],
                            [-73,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1277",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones2}",
                            [-73,0],
                            [-73,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_reiniciar": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0', '0', '290px', '140px', 'auto', 'auto'],
                            id: 'botones3',
                            type: 'image',
                            clip: 'rect(0px 70px 70px 0px)',
                            fill: ['rgba(0,0,0,0)', 'images/botones.png', '-146px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1278",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones3}",
                            [-146,0],
                            [-146,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1279",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones3}",
                            [-146,0],
                            [-146,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            },
            "bt_ayuda": {
                version: "5.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "5.0.0.375",
                scaleToFit: "none",
                centerStage: "none",
                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', '-220px', '0px']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'hidden',
                            rect: [null, null, 70, 70]
                        }
                    }
                },
                timeline: {
                    duration: 250,
                    autoPlay: false,
                    labels: {
                        "normal": 0,
                        "down": 250
                    },
                    data: [
                        [
                            "eid1280",
                            "background-position",
                            0,
                            0,
                            "linear",
                            "${botones4}",
                            [-220,0],
                            [-220,0],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ],
                        [
                            "eid1281",
                            "background-position",
                            250,
                            0,
                            "linear",
                            "${botones4}",
                            [-220,0],
                            [-220,-70],
                            {valueTemplate: '@@0@@px @@1@@px'}
                        ]
                    ]
                }
            }
        };

    AdobeEdge.registerCompositionDefn(compId, symbols, fonts, scripts, resources, opts);

    if (!window.edge_authoring_mode) AdobeEdge.getComposition(compId).load("index_edgeActions.js");
})("EDGE-1010687330");
