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

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, 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: '_03_04_BG',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_1.png",'0px','0px']
            },
            {
                id: '_03_04_02',
                type: 'image',
                rect: ['133px', '81px','1265px','650px','auto', 'auto'],
                clip: ['rect(0px 1178.1357421875px 650px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_02.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1138px','92px','auto', 'auto'],
                text: "Para enviar una postal se deben completar los siguientes datos:<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(37,37,37,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '209px','913px','auto','auto', 'auto'],
                text: "Escucha, lee y repite el trabalenguas. <br>",
                align: "left",
                font: ['cabin, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: '_03_04_043',
                type: 'image',
                rect: ['623px', '340px','223px','110px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_04.png",'0px','0px']
            },
            {
                id: '_03_04_07',
                type: 'image',
                rect: ['547px', '497px','226px','51px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_07.png",'0px','0px']
            },
            {
                id: 'titulo',
                type: 'rect',
                rect: ['766px', '273','auto','auto','auto', 'auto']
            },
            {
                id: 'titulo_1',
                type: 'rect',
                rect: ['766px', '461px','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'titulo',
                symbolName: 'titulo',
                autoPlay: {

                }
            },
            {
                id: 'titulo_1',
                symbolName: 'titulo_1'
            }
            ]
        },
    states: {
        "Base State": {
            "${_titulo}": [
                ["style", "top", '240px'],
                ["style", "opacity", '0'],
                ["style", "left", '766px']
            ],
            "${__03_04_043}": [
                ["style", "top", '340px'],
                ["style", "height", '110px'],
                ["style", "opacity", '0'],
                ["style", "left", '623px'],
                ["style", "clip", [0,223,110,171.2333984375], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "font-size", '26px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "width", '913px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${_titulo_1}": [
                ["style", "top", '491px'],
                ["style", "opacity", '0'],
                ["style", "left", '766px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["transform", "scaleY", '1'],
                ["style", "height", '92px'],
                ["color", "color", 'rgba(37,37,37,1.00)'],
                ["style", "clip", [0,-5.529296875,92,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '100px'],
                ["transform", "scaleX", '1']
            ],
            "${__03_04_02}": [
                ["style", "top", '81px'],
                ["style", "left", '133px'],
                ["style", "clip", [0,1178.1357421875,650,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_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']
            ],
            "${__03_04_BG}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${__03_04_07}": [
                ["style", "top", '497px'],
                ["style", "opacity", '0'],
                ["style", "left", '547px'],
                ["style", "clip", [0,226,51,221.91796875], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1750,
            autoPlay: true,
            timeline: [
                { id: "eid1388", tween: [ "style", "${_titulo}", "top", '292px', { fromValue: '240px'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1357", tween: [ "style", "${_descripcion}", "clip", [0,1138,92,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,-5.529296875,92,0]}], position: 0, duration: 750 },
                { id: "eid1410", tween: [ "style", "${__03_04_07}", "opacity", '1', { fromValue: '0'}], position: 1250, duration: 500 },
                { id: "eid1408", tween: [ "style", "${__03_04_07}", "clip", [0,226,51,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,226,51,221.91796875]}], position: 1250, duration: 500 },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1404", tween: [ "style", "${__03_04_043}", "clip", [0,223,110,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,223,110,171.2333984375]}], position: 1000, duration: 500 },
                { id: "eid1402", tween: [ "style", "${_titulo_1}", "opacity", '1', { fromValue: '0'}], position: 750, duration: 500, easing: "easeOutBack" },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1406", tween: [ "style", "${__03_04_043}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid1390", tween: [ "style", "${_titulo}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1400", tween: [ "style", "${_titulo_1}", "top", '461px', { fromValue: '491px'}], position: 750, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"flecha_bt": {
    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: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    id: 'M_G01_U01_L03_03_03_06Copy2',
                    type: 'image',
                    rect: ['0px', '0px', '80px', '200px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/M_G01_U01_L03_03_03_062.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_M_G01_U01_L03_03_03_06Copy2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${_Rectangle2}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '83px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '89px']
            ],
            "${symbolSelector}": [
                ["style", "height", '83px'],
                ["style", "width", '89px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1306", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1308", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '-110px', { fromValue: '0px'}], position: 250, duration: 0 }            ]
        }
    }
},
"titulo": {
    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', '463px', '120px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(100,154,216,1.00)']
                },
                {
                    rect: ['32px', '20px', '415px', '83px', 'auto', 'auto'],
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    id: 'Text',
                    text: 'Para cerrar la postal se escribe una despedida sencilla.<br>',
                    align: 'left',
                    type: 'text'
                },
                {
                    id: '_03_04_06',
                    type: 'image',
                    rect: ['78px', '54px', '162px', '45px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_06.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(100,154,216,1.00)'],
                ["style", "height", '120px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '463px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "font-size", '32px'],
                ["style", "height", '83px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-weight", '400'],
                ["style", "left", '32px'],
                ["style", "width", '415px']
            ],
            "${symbolSelector}": [
                ["style", "height", '124px'],
                ["style", "width", '469px']
            ],
            "${__03_04_06}": [
                ["style", "left", '78px'],
                ["style", "top", '54px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
},
"titulo_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: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '463px', '120px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(211,124,172,1.00)']
                },
                {
                    rect: ['32px', '20px', '415px', '83px', 'auto', 'auto'],
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    id: 'Text',
                    text: 'Es importante escribir tu nombre para firmar la postal.<br>',
                    align: 'left',
                    type: 'text'
                },
                {
                    id: '_03_04_052',
                    type: 'image',
                    rect: ['202px', '52px', '106px', '46px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(211,124,172,1.00)'],
                ["style", "height", '120px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '463px']
            ],
            "${_Text}": [
                ["style", "top", '20px'],
                ["style", "width", '415px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "height", '83px'],
                ["style", "font-weight", '400'],
                ["style", "left", '32px'],
                ["style", "font-size", '32px']
            ],
            "${symbolSelector}": [
                ["style", "height", '124px'],
                ["style", "width", '469px']
            ],
            "${__03_04_052}": [
                ["style", "left", '202px'],
                ["style", "top", '52px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
}
};


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

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