/*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 = {
            'pragmatica-web, sans-serif': '<script type=\"text/javascript\" src=\"http://use.typekit.com/krw6sbc.js\"></script><script type=\"text/javascript\">try{Typekit.load();}catch(e){}</script>'        },
        opts = {
            'gAudioPreloadPreference': 'auto',
            'gVideoPreloadPreference': 'auto'
        },
        resources = [
        ],
        scripts = [
            js+"jquery-2.1.3.min.js",
            js+"jquery.easing.1.3.js"
        ],
        symbols = {
            "stage": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            id: 'stageWidthTxt',
                            type: 'text',
                            rect: ['100px', '583px', '120px', '15px', 'auto', 'auto'],
                            text: "<p style=\"margin: 0px; text-align: center; line-height: 14px;\">​stageWidthTxtI<span style=\"color: rgb(0, 0, 0);\">​</span><span style=\"color: rgb(0, 0, 0); font-size: 13px;\">​</span></p>",
                            align: "center",
                            font: ['pragmatica-web, sans-serif', [16, "px"], "rgba(255,255,255,1.00)", "400", "none", "normal", "break-word", "normal"],
                            textStyle: ["0px", "", "", "", "none"]
                        },
                        {
                            id: 'table',
                            type: 'rect',
                            rect: ['0px', '40px', '100%', '542px', 'auto', 'auto'],
                            overflow: 'scroll',
                            fill: ["rgba(255,255,255,1.00)"],
                            stroke: [0,"rgb(0, 0, 0)","none"]
                        },
                        {
                            id: 'styleBase',
                            symbolName: 'styleBase',
                            type: 'rect',
                            rect: ['0', '582px', '100%', 'undefined', 'auto', 'auto']
                        },
                        {
                            id: 'styleHead',
                            symbolName: 'styleHead',
                            type: 'rect',
                            rect: ['0', '0', '100%', '40', 'auto', 'auto']
                        }
                    ],
                    style: {
                        '${Stage}': {
                            isStage: true,
                            rect: ['null', 'null', '100%', '600px', 'auto', 'auto'],
                            sizeRange: ['320px','480px','',''],
                            overflow: 'hidden',
                            fill: ["rgba(255,255,255,1)"]
                        }
                    }
                },
                timeline: {
                    duration: 8000,
                    autoPlay: false,
                    data: [
                        [
                            "eid18",
                            "width",
                            8000,
                            0,
                            "linear",
                            "${styleBase}",
                            '100%',
                            '100%'
                        ]
                    ]
                }
            },
            "styleBase": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '100%', '18px', 'auto', 'auto'],
                            id: 'Rectangle',
                            stroke: [0, 'rgba(255,255,255,1.00)', 'none'],
                            type: 'rect',
                            fill: ['rgba(0,0,0,1.00)']
                        },
                        {
                            type: 'text',
                            align: 'right',
                            textStyle: ['', '', '12px', '', ''],
                            font: ['pragmatica-web, sans-serif', [12, 'px'], 'rgba(255,255,255,1.00)', '400', 'none', 'normal', 'break-word', ''],
                            overflow: 'visible',
                            text: '© GRAPHIC NEWS',
                            rect: ['auto', '3px', '35.9%', '6px', '5px', 'auto'],
                            id: 'creditTxt'
                        },
                        {
                            type: 'rect',
                            id: 'toggleSource',
                            symbolName: 'toggleSource',
                            cursor: 'pointer',
                            rect: ['0', '0px', null, null, 'auto', 'auto']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            overflow: 'visible',
                            rect: [null, null, '100%', '18px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "toggleSource": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'text',
                            rect: ['0px', '0px', '180px', '18px', 'auto', 'auto'],
                            textStyle: ['0px', '0px', '14px', '', ''],
                            id: 'sourceTxt',
                            text: 'I',
                            align: 'left',
                            font: ['pragmatica-web, sans-serif', [12, 'px'], 'rgba(255,255,255,1.00)', '400', 'none solid rgb(255, 255, 255)', 'normal', 'break-word', 'normal']
                        },
                        {
                            rect: ['0px', '0px', '18px', '18px', 'auto', 'auto'],
                            id: 'togBox',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            type: 'rect',
                            fill: ['rgba(100,100,100,1.00)']
                        },
                        {
                            rect: ['8px', '4px', '2px', '10px', 'auto', 'auto'],
                            id: 'plus',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            type: 'rect',
                            fill: ['rgba(255,255,255,1.00)']
                        },
                        {
                            rect: ['4px', '8px', '10px', '2px', 'auto', 'auto'],
                            id: 'minus',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            type: 'rect',
                            fill: ['rgba(255,255,255,1.00)']
                        },
                        {
                            rect: ['0px', '0px', '190px', '18px', 'auto', 'auto'],
                            borderRadius: ['50%', '50%', '50%', '50%'],
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            id: 'sourceBtn',
                            opacity: '0.01',
                            type: 'ellipse',
                            fill: ['rgba(255,255,255,1.00)', [310, [['rgba(255,170,170,1.00)', 0], ['rgba(218,0,0,1.00)', 40], ['rgba(218,0,0,1.00)', 66], ['rgba(99,0,0,1.00)', 100]]]]
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '190px', '18px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "styleHead": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            rect: ['0px', '0px', '100%', '40px', 'auto', 'auto'],
                            id: 'headerBox',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            type: 'rect',
                            fill: ['rgba(0,0,0,1.00)']
                        },
                        {
                            rect: ['0px', '40px', '100%', '1px', 'auto', 'auto'],
                            id: 'stroke',
                            stroke: [0, 'rgba(0,0,0,1)', 'none'],
                            type: 'rect',
                            fill: ['rgba(0,0,0,1.00)']
                        },
                        {
                            type: 'text',
                            rect: ['5px', '7px', '97.9%', '28px', 'auto', 'auto'],
                            text: '<p style=\"margin: 0px; line-height: 120%;\">​I</p>',
                            id: 'headlineTxt',
                            textStyle: ['', '', '28px', '', 'none'],
                            align: 'left',
                            font: ['pragmatica-web, sans-serif', [28, 'px'], 'rgba(255,255,255,1)', '700', 'none', 'normal', 'break-word', 'normal']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '100%', '40px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "menuBtnMob": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: false,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'bg',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            rect: ['0px', '0px', '40px', '40px', 'auto', 'auto'],
                            fill: ['rgba(218,0,0,1.00)']
                        },
                        {
                            transform: [[], ['45'], [0, 0, 0], [1, 1, 1]],
                            rect: ['12px', '14px', '12px', '12px', 'auto', 'auto'],
                            id: 'head',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            type: 'rect',
                            fill: ['rgba(255,255,255,1.00)']
                        },
                        {
                            type: 'rect',
                            id: 'redBox',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            rect: ['19px', '10px', '10px', '19px', 'auto', 'auto'],
                            fill: ['rgba(218,0,0,1.00)']
                        },
                        {
                            type: 'rect',
                            id: 'tail',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            rect: ['18px', '17px', '10px', '6px', 'auto', 'auto'],
                            fill: ['rgba(255,255,255,1.00)']
                        },
                        {
                            rect: ['0px', '0px', '40px', '40px', 'auto', 'auto'],
                            opacity: '0',
                            id: 'btn',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            type: 'rect',
                            fill: ['rgba(218,0,0,1.00)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '40px', '40px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "panelMc": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'bg',
                            stroke: [0, 'rgb(61, 61, 61)', 'solid'],
                            rect: ['0px', '0px', '480px', '542px', 'auto', 'auto'],
                            fill: ['rgba(255,255,255,1)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '480px', '542px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            },
            "panel": {
                version: "6.0.0",
                minimumCompatibleVersion: "5.0.0",
                build: "6.0.0.400",
                scaleToFit: "none",
                centerStage: "none",
                resizeInstances: true,
                content: {
                    dom: [
                        {
                            type: 'rect',
                            id: 'mask',
                            stroke: [0, 'rgb(0, 0, 0)', 'none'],
                            rect: ['0px', '0px', '320px', '542px', 'auto', 'auto'],
                            fill: ['rgba(255,255,255,1)']
                        }
                    ],
                    style: {
                        '${symbolSelector}': {
                            rect: [null, null, '320px', '542px']
                        }
                    }
                },
                timeline: {
                    duration: 0,
                    autoPlay: false,
                    data: [

                    ]
                }
            }
        };

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

    if (!window.edge_authoring_mode) AdobeEdge.getComposition(compId).load("GN34722_edgeActions.js");
})("GNEWS34722");
