(function (img, cjs, ss, an) { var lib={};var p; // shortcut to reference prototypes lib.webFontTxtInst = {}; var loadedTypekitCount = 0; var loadedGoogleCount = 0; var gFontsUpdateCacheList = []; var tFontsUpdateCacheList = []; lib.ssMetadata = []; lib.updateListCache = function (cacheList) { for(var i = 0; i < cacheList.length; i++) { if(cacheList[i].cacheCanvas) cacheList[i].updateCache(); } }; lib.addElementsToCache = function (textInst, cacheList) { var cur = textInst; while(cur != exportRoot) { if(cacheList.indexOf(cur) != -1) break; cur = cur.parent; } if(cur != exportRoot) { var cur2 = textInst; var index = cacheList.indexOf(cur); while(cur2 != cur) { cacheList.splice(index, 0, cur2); cur2 = cur2.parent; index++; } } else { cur = textInst; while(cur != exportRoot) { cacheList.push(cur); cur = cur.parent; } } }; lib.gfontAvailable = function(family, totalGoogleCount) { lib.properties.webfonts[family] = true; var txtInst = lib.webFontTxtInst && lib.webFontTxtInst[family] || []; for(var f = 0; f < txtInst.length; ++f) lib.addElementsToCache(txtInst[f], gFontsUpdateCacheList); loadedGoogleCount++; if(loadedGoogleCount == totalGoogleCount) { lib.updateListCache(gFontsUpdateCacheList); } }; lib.tfontAvailable = function(family, totalTypekitCount) { lib.properties.webfonts[family] = true; var txtInst = lib.webFontTxtInst && lib.webFontTxtInst[family] || []; for(var f = 0; f < txtInst.length; ++f) lib.addElementsToCache(txtInst[f], tFontsUpdateCacheList); loadedTypekitCount++; if(loadedTypekitCount == totalTypekitCount) { lib.updateListCache(tFontsUpdateCacheList); } }; // symbols: (lib.WAVE = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Layer 1 this.shape = new cjs.Shape(); this.shape.graphics.f().s("#B59A61").ss(3,1,1).p("EAnEAAAQAAQMrcLcQrcLcwMAAQwLAArcrcQrcrcAAwMQAAwLLcrcQBIhJBMhBQKKoyNmgeQAxgCAyAAQQMAALcLcQLcLcAAQLg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-251.5,-251.5,503,503); (lib.Circulo = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Capa 1 this.shape = new cjs.Shape(); this.shape.graphics.f("#B59A61").s().p("AtQNRQlflgAAnxQAAnwFflgQFglfHwAAQHxAAFgFfQFfFgAAHwQAAHxlfFgQlgFfnxAAQnwAAlglfg"); this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(-120,-120,240,240); // stage content: (lib.bellice_ondas = function(mode,startPosition,loop) { this.initialize(mode,startPosition,loop,{}); // Capa 1 this.instance = new lib.Circulo("synched",0); this.instance.parent = this; this.instance.setTransform(250,250,0.05,0.05); this.instance.alpha = 0; this.instance._off = true; this.timeline.addTween(cjs.Tween.get(this.instance).wait(29).to({_off:false},0).wait(1).to({scaleX:0.41,scaleY:0.41,alpha:0.086},0).wait(1).to({scaleX:0.7,scaleY:0.7,alpha:0.171},0).wait(1).to({scaleX:0.94,scaleY:0.94,alpha:0.257},0).wait(1).to({scaleX:1.14,scaleY:1.14,alpha:0.343},0).wait(1).to({scaleX:1.29,scaleY:1.29,alpha:0.429},0).wait(1).to({scaleX:1.42,scaleY:1.42,alpha:0.514},0).wait(1).to({scaleX:1.53,scaleY:1.53,alpha:0.6},0).wait(1).to({scaleX:1.61,scaleY:1.61,alpha:0.564},0).wait(1).to({scaleX:1.68,scaleY:1.68,alpha:0.527},0).wait(1).to({scaleX:1.75,scaleY:1.75,alpha:0.491},0).wait(1).to({scaleX:1.8,scaleY:1.8,alpha:0.455},0).wait(1).to({scaleX:1.85,scaleY:1.85,alpha:0.419},0).wait(1).to({scaleX:1.9,scaleY:1.9,alpha:0.382},0).wait(1).to({scaleX:1.94,scaleY:1.94,alpha:0.346},0).wait(1).to({scaleX:1.99,scaleY:1.99,alpha:0.31},0).wait(1).to({scaleX:2.03,scaleY:2.03,x:249.9,y:249.9,alpha:0.207},0).wait(1).to({scaleX:2.03,scaleY:2.03,alpha:0.103},0).wait(1).to({alpha:0},0).wait(1).to({startPosition:0},0).to({_off:true},1).wait(10)); // WAVE 01 copy 9 this.instance_1 = new lib.WAVE("synched",0); this.instance_1.parent = this; this.instance_1.setTransform(250,250,0.1,0.1); this.instance_1._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(32).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},24,cjs.Ease.get(0.94)).wait(3)); // WAVE 01 copy 8 this.instance_2 = new lib.WAVE("synched",0); this.instance_2.parent = this; this.instance_2.setTransform(250,250,0.1,0.1); this.instance_2._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(38).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},20,cjs.Ease.get(0.94)).wait(1)); // WAVE 01 copy 4 this.instance_3 = new lib.WAVE("synched",0); this.instance_3.parent = this; this.instance_3.setTransform(250,250,0.1,0.1); this.timeline.addTween(cjs.Tween.get(this.instance_3).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.94)).to({_off:true},14).wait(11)); // WAVE 01 copy 3 this.instance_4 = new lib.WAVE("synched",0); this.instance_4.parent = this; this.instance_4.setTransform(250,250,0.1,0.1); this.instance_4._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(4).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.85)).to({_off:true},10).wait(11)); // WAVE 01 copy 2 this.instance_5 = new lib.WAVE("synched",0); this.instance_5.parent = this; this.instance_5.setTransform(250,250,0.1,0.1); this.instance_5._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(9).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.92)).to({_off:true},5).wait(11)); // WAVE 01 copy 5 this.instance_6 = new lib.WAVE("synched",0); this.instance_6.parent = this; this.instance_6.setTransform(250,250,0.1,0.1); this.instance_6._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(15).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.91)).wait(10)); // WAVE 01 copy 6 this.instance_7 = new lib.WAVE("synched",0); this.instance_7.parent = this; this.instance_7.setTransform(250,250,0.1,0.1); this.instance_7._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(19).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.94)).wait(6)); // WAVE 01 copy 7 this.instance_8 = new lib.WAVE("synched",0); this.instance_8.parent = this; this.instance_8.setTransform(250,250,0.1,0.1); this.instance_8._off = true; this.timeline.addTween(cjs.Tween.get(this.instance_8).wait(24).to({_off:false},0).to({regX:-6.9,regY:-5.9,scaleX:1,scaleY:1,x:243.1,y:244.1,alpha:0},34,cjs.Ease.get(0.88)).wait(1)); }).prototype = p = new cjs.MovieClip(); p.nominalBounds = new cjs.Rectangle(474,474,52,52); // library properties: lib.properties = { id: '45300B217783704A91086EA5E738F7D2', width: 500, height: 500, fps: 15, color: "#FFFFFF", opacity: 0.00, webfonts: {}, manifest: [], preloads: [] }; // bootstrap callback support: (lib.Stage = function(canvas) { createjs.Stage.call(this, canvas); }).prototype = p = new createjs.Stage(); p.setAutoPlay = function(autoPlay) { this.tickEnabled = autoPlay; } p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) } p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; } p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); } p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; } p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; } an.bootcompsLoaded = an.bootcompsLoaded || []; if(!an.bootstrapListeners) { an.bootstrapListeners=[]; } an.bootstrapCallback=function(fnCallback) { an.bootstrapListeners.push(fnCallback); if(an.bootcompsLoaded.length > 0) { for(var i=0; i