1(function (cjs, an) { 2 3var p; // shortcut to reference prototypes 4var lib={};var ss={};var img={}; 5lib.ssMetadata = []; 6 7 8(lib.AnMovieClip = function(){ 9 this.actionFrames = []; 10 this.ignorePause = false; 11 this.gotoAndPlay = function(positionOrLabel){ 12 cjs.MovieClip.prototype.gotoAndPlay.call(this,positionOrLabel); 13 } 14 this.play = function(){ 15 cjs.MovieClip.prototype.play.call(this); 16 } 17 this.gotoAndStop = function(positionOrLabel){ 18 cjs.MovieClip.prototype.gotoAndStop.call(this,positionOrLabel); 19 } 20 this.stop = function(){ 21 cjs.MovieClip.prototype.stop.call(this); 22 } 23}).prototype = p = new cjs.MovieClip(); 24// symbols: 25// helper functions: 26 27function mc_symbol_clone() { 28 var clone = this._cloneProps(new this.constructor(this.mode, this.startPosition, this.loop, this.reversed)); 29 clone.gotoAndStop(this.currentFrame); 30 clone.paused = this.paused; 31 clone.framerate = this.framerate; 32 return clone; 33} 34 35function getMCSymbolPrototype(symbol, nominalBounds, frameBounds) { 36 var prototype = cjs.extend(symbol, cjs.MovieClip); 37 prototype.clone = mc_symbol_clone; 38 prototype.nominalBounds = nominalBounds; 39 prototype.frameBounds = frameBounds; 40 return prototype; 41 } 42 43 44(lib.as7_l13 = function(mode,startPosition,loop,reversed) { 45if (loop == null) { loop = true; } 46if (reversed == null) { reversed = false; } 47 var props = new Object(); 48 props.mode = mode; 49 props.startPosition = startPosition; 50 props.labels = {}; 51 props.loop = loop; 52 props.reversed = reversed; 53 cjs.MovieClip.apply(this,[props]); 54 55 // Layer_1 56 this.shape = new cjs.Shape(); 57 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 58 59 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 60 61 this._renderFirstFrame(); 62 63}).prototype = getMCSymbolPrototype(lib.as7_l13, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 64 65 66(lib.as7_l12 = function(mode,startPosition,loop,reversed) { 67if (loop == null) { loop = true; } 68if (reversed == null) { reversed = false; } 69 var props = new Object(); 70 props.mode = mode; 71 props.startPosition = startPosition; 72 props.labels = {}; 73 props.loop = loop; 74 props.reversed = reversed; 75 cjs.MovieClip.apply(this,[props]); 76 77 // Layer_1 78 this.shape = new cjs.Shape(); 79 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 80 81 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 82 83 this._renderFirstFrame(); 84 85}).prototype = getMCSymbolPrototype(lib.as7_l12, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 86 87 88(lib.as7_l11 = function(mode,startPosition,loop,reversed) { 89if (loop == null) { loop = true; } 90if (reversed == null) { reversed = false; } 91 var props = new Object(); 92 props.mode = mode; 93 props.startPosition = startPosition; 94 props.labels = {}; 95 props.loop = loop; 96 props.reversed = reversed; 97 cjs.MovieClip.apply(this,[props]); 98 99 // Layer_1 100 this.shape = new cjs.Shape(); 101 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 102 103 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 104 105 this._renderFirstFrame(); 106 107}).prototype = getMCSymbolPrototype(lib.as7_l11, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 108 109 110(lib.as7_l10 = function(mode,startPosition,loop,reversed) { 111if (loop == null) { loop = true; } 112if (reversed == null) { reversed = false; } 113 var props = new Object(); 114 props.mode = mode; 115 props.startPosition = startPosition; 116 props.labels = {}; 117 props.loop = loop; 118 props.reversed = reversed; 119 cjs.MovieClip.apply(this,[props]); 120 121 // Layer_1 122 this.shape = new cjs.Shape(); 123 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 124 125 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 126 127 this._renderFirstFrame(); 128 129}).prototype = getMCSymbolPrototype(lib.as7_l10, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 130 131 132(lib.as7_l9 = function(mode,startPosition,loop,reversed) { 133if (loop == null) { loop = true; } 134if (reversed == null) { reversed = false; } 135 var props = new Object(); 136 props.mode = mode; 137 props.startPosition = startPosition; 138 props.labels = {}; 139 props.loop = loop; 140 props.reversed = reversed; 141 cjs.MovieClip.apply(this,[props]); 142 143 // Layer_1 144 this.shape = new cjs.Shape(); 145 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 146 147 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 148 149 this._renderFirstFrame(); 150 151}).prototype = getMCSymbolPrototype(lib.as7_l9, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 152 153 154(lib.as7_l8 = function(mode,startPosition,loop,reversed) { 155if (loop == null) { loop = true; } 156if (reversed == null) { reversed = false; } 157 var props = new Object(); 158 props.mode = mode; 159 props.startPosition = startPosition; 160 props.labels = {}; 161 props.loop = loop; 162 props.reversed = reversed; 163 cjs.MovieClip.apply(this,[props]); 164 165 // Layer_1 166 this.shape = new cjs.Shape(); 167 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 168 169 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 170 171 this._renderFirstFrame(); 172 173}).prototype = getMCSymbolPrototype(lib.as7_l8, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 174 175 176(lib.as7_l7 = function(mode,startPosition,loop,reversed) { 177if (loop == null) { loop = true; } 178if (reversed == null) { reversed = false; } 179 var props = new Object(); 180 props.mode = mode; 181 props.startPosition = startPosition; 182 props.labels = {}; 183 props.loop = loop; 184 props.reversed = reversed; 185 cjs.MovieClip.apply(this,[props]); 186 187 // Layer_1 188 this.shape = new cjs.Shape(); 189 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 190 191 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 192 193 this._renderFirstFrame(); 194 195}).prototype = getMCSymbolPrototype(lib.as7_l7, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 196 197 198(lib.as7_l6 = function(mode,startPosition,loop,reversed) { 199if (loop == null) { loop = true; } 200if (reversed == null) { reversed = false; } 201 var props = new Object(); 202 props.mode = mode; 203 props.startPosition = startPosition; 204 props.labels = {}; 205 props.loop = loop; 206 props.reversed = reversed; 207 cjs.MovieClip.apply(this,[props]); 208 209 // Layer_1 210 this.shape = new cjs.Shape(); 211 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 212 213 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 214 215 this._renderFirstFrame(); 216 217}).prototype = getMCSymbolPrototype(lib.as7_l6, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 218 219 220(lib.as7_l5 = function(mode,startPosition,loop,reversed) { 221if (loop == null) { loop = true; } 222if (reversed == null) { reversed = false; } 223 var props = new Object(); 224 props.mode = mode; 225 props.startPosition = startPosition; 226 props.labels = {}; 227 props.loop = loop; 228 props.reversed = reversed; 229 cjs.MovieClip.apply(this,[props]); 230 231 // Layer_1 232 this.shape = new cjs.Shape(); 233 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 234 235 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 236 237 this._renderFirstFrame(); 238 239}).prototype = getMCSymbolPrototype(lib.as7_l5, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 240 241 242(lib.as7_l4 = function(mode,startPosition,loop,reversed) { 243if (loop == null) { loop = true; } 244if (reversed == null) { reversed = false; } 245 var props = new Object(); 246 props.mode = mode; 247 props.startPosition = startPosition; 248 props.labels = {}; 249 props.loop = loop; 250 props.reversed = reversed; 251 cjs.MovieClip.apply(this,[props]); 252 253 // Layer_1 254 this.shape = new cjs.Shape(); 255 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 256 257 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 258 259 this._renderFirstFrame(); 260 261}).prototype = getMCSymbolPrototype(lib.as7_l4, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 262 263 264(lib.as7_l3 = function(mode,startPosition,loop,reversed) { 265if (loop == null) { loop = true; } 266if (reversed == null) { reversed = false; } 267 var props = new Object(); 268 props.mode = mode; 269 props.startPosition = startPosition; 270 props.labels = {}; 271 props.loop = loop; 272 props.reversed = reversed; 273 cjs.MovieClip.apply(this,[props]); 274 275 // Layer_1 276 this.shape = new cjs.Shape(); 277 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 278 279 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 280 281 this._renderFirstFrame(); 282 283}).prototype = getMCSymbolPrototype(lib.as7_l3, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 284 285 286(lib.as7_l2 = function(mode,startPosition,loop,reversed) { 287if (loop == null) { loop = true; } 288if (reversed == null) { reversed = false; } 289 var props = new Object(); 290 props.mode = mode; 291 props.startPosition = startPosition; 292 props.labels = {}; 293 props.loop = loop; 294 props.reversed = reversed; 295 cjs.MovieClip.apply(this,[props]); 296 297 // Layer_1 298 this.shape = new cjs.Shape(); 299 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 300 301 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 302 303 this._renderFirstFrame(); 304 305}).prototype = getMCSymbolPrototype(lib.as7_l2, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 306 307 308(lib.as7_l1 = function(mode,startPosition,loop,reversed) { 309if (loop == null) { loop = true; } 310if (reversed == null) { reversed = false; } 311 var props = new Object(); 312 props.mode = mode; 313 props.startPosition = startPosition; 314 props.labels = {}; 315 props.loop = loop; 316 props.reversed = reversed; 317 cjs.MovieClip.apply(this,[props]); 318 319 // Layer_1 320 this.shape = new cjs.Shape(); 321 this.shape.graphics.f().s("#C4681C").ss(3).p("EjOMDPLMGcZmeV"); 322 323 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 324 325 this._renderFirstFrame(); 326 327}).prototype = getMCSymbolPrototype(lib.as7_l1, new cjs.Rectangle(-1321.2,-1327.4,2642.4,2654.8), null); 328 329 330(lib.as7_big2 = function(mode,startPosition,loop,reversed) { 331if (loop == null) { loop = true; } 332if (reversed == null) { reversed = false; } 333 var props = new Object(); 334 props.mode = mode; 335 props.startPosition = startPosition; 336 props.labels = {}; 337 props.loop = loop; 338 props.reversed = reversed; 339 cjs.MovieClip.apply(this,[props]); 340 341 // Layer_2 342 this.shape = new cjs.Shape(); 343 this.shape.graphics.f("#A9022D").s().p("ElWfFAZMKW5qW4IWGWHMqW5KW4g"); 344 this.shape.setTransform(0.025,0.025); 345 346 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 347 348 this._renderFirstFrame(); 349 350}).prototype = getMCSymbolPrototype(lib.as7_big2, new cjs.Rectangle(-2192,-2191.9,4384.1,4383.9), null); 351 352 353(lib.as7_big = function(mode,startPosition,loop,reversed) { 354if (loop == null) { loop = true; } 355if (reversed == null) { reversed = false; } 356 var props = new Object(); 357 props.mode = mode; 358 props.startPosition = startPosition; 359 props.labels = {}; 360 props.loop = loop; 361 props.reversed = reversed; 362 cjs.MovieClip.apply(this,[props]); 363 364 // Layer_2 365 this.shape = new cjs.Shape(); 366 this.shape.graphics.f("#C3001E").s().p("El2uFXIMLMQrPUMAhNAhDMrMPLPWg"); 367 this.shape.setTransform(-0.125,0.05); 368 369 this.timeline.addTween(cjs.Tween.get(this.shape).wait(1)); 370 371 this._renderFirstFrame(); 372 373}).prototype = getMCSymbolPrototype(lib.as7_big, new cjs.Rectangle(-2398.4,-2407.6,4796.6,4815.4), null); 374 375 376// stage content: 377(lib.Astripe7 = function(mode,startPosition,loop,reversed) { 378if (loop == null) { loop = false; } 379if (reversed == null) { reversed = false; } 380 var props = new Object(); 381 props.mode = mode; 382 props.startPosition = startPosition;
383 props.labels = {start_as7:0,break_as7:94,end_as7:99}; 384 props.loop = loop; 385 props.reversed = reversed; 386 cjs.MovieClip.apply(this,[props]); 387 388 // as6_l13 389 this.instance = new lib.as7_l13(); 390 this.instance.setTransform(-1391.5,3773.9); 391 this.instance._off = true; 392 393 this.timeline.addTween(cjs.Tween.get(this.instance).wait(48).to({_off:false},0).to({x:928.5,y:1453.9},16,cjs.Ease.cubicOut).wait(36)); 394 395 // as6_l12 396 this.instance_1 = new lib.as7_l12(); 397 this.instance_1.setTransform(-1391.5,3738.9); 398 this.instance_1._off = true; 399 400 this.timeline.addTween(cjs.Tween.get(this.instance_1).wait(44).to({_off:false},0).to({x:928.5,y:1418.9},16,cjs.Ease.cubicOut).wait(40)); 401 402 // as6_l11 403 this.instance_2 = new lib.as7_l11(); 404 this.instance_2.setTransform(-1391.5,3703.9); 405 this.instance_2._off = true; 406 407 this.timeline.addTween(cjs.Tween.get(this.instance_2).wait(40).to({_off:false},0).to({x:928.5,y:1383.9},16,cjs.Ease.cubicOut).wait(44)); 408 409 // as6_l10 410 this.instance_3 = new lib.as7_l10(); 411 this.instance_3.setTransform(-1391.5,3668.9); 412 this.instance_3._off = true; 413 414 this.timeline.addTween(cjs.Tween.get(this.instance_3).wait(36).to({_off:false},0).to({x:928.5,y:1348.9},16,cjs.Ease.cubicOut).wait(48)); 415 416 // as6_l9 417 this.instance_4 = new lib.as7_l9(); 418 this.instance_4.setTransform(-1391.5,3633.9); 419 this.instance_4._off = true; 420 421 this.timeline.addTween(cjs.Tween.get(this.instance_4).wait(32).to({_off:false},0).to({x:928.5,y:1313.9},16,cjs.Ease.cubicOut).wait(52)); 422 423 // as6_l8 424 this.instance_5 = new lib.as7_l8(); 425 this.instance_5.setTransform(-1391.5,3598.9); 426 this.instance_5._off = true; 427 428 this.timeline.addTween(cjs.Tween.get(this.instance_5).wait(28).to({_off:false},0).to({x:928.5,y:1278.9},16,cjs.Ease.cubicOut).wait(56)); 429 430 // as6_l7 431 this.instance_6 = new lib.as7_l7(); 432 this.instance_6.setTransform(-1391.5,3563.9); 433 this.instance_6._off = true; 434 435 this.timeline.addTween(cjs.Tween.get(this.instance_6).wait(24).to({_off:false},0).to({x:928.5,y:1243.9},16,cjs.Ease.cubicOut).wait(60)); 436 437 // as6_l6 438 this.instance_7 = new lib.as7_l6(); 439 this.instance_7.setTransform(-1391.5,3528.9); 440 this.instance_7._off = true; 441 442 this.timeline.addTween(cjs.Tween.get(this.instance_7).wait(20).to({_off:false},0).to({x:928.5,y:1208.9},16,cjs.Ease.cubicOut).wait(64)); 443 444 // as6_l5 445 this.instance_8 = new lib.as7_l5(); 446 this.instance_8.setTransform(-1391.5,3493.9); 447 this.instance_8._off = true; 448 449 this.timeline.addTween(cjs.Tween.get(this.instance_8).wait(16).to({_off:false},0).to({x:928.5,y:1173.9},16,cjs.Ease.cubicOut).wait(68)); 450 451 // as6_l4 452 this.instance_9 = new lib.as7_l4(); 453 this.instance_9.setTransform(-1391.5,3458.9); 454 this.instance_9._off = true; 455 456 this.timeline.addTween(cjs.Tween.get(this.instance_9).wait(12).to({_off:false},0).to({x:928.5,y:1138.9},15,cjs.Ease.cubicOut).wait(73)); 457 458 // as6_l3 459 this.instance_10 = new lib.as7_l3(); 460 this.instance_10.setTransform(-1391.5,3423.9); 461 this.instance_10._off = true; 462 463 this.timeline.addTween(cjs.Tween.get(this.instance_10).wait(8).to({_off:false},0).to({x:928.5,y:1103.9},14,cjs.Ease.cubicOut).wait(78)); 464 465 // as6_l2 466 this.instance_11 = new lib.as7_l2(); 467 this.instance_11.setTransform(-1391.5,3388.9); 468 this.instance_11._off = true; 469 470 this.timeline.addTween(cjs.Tween.get(this.instance_11).wait(4).to({_off:false},0).to({x:928.5,y:1068.9},14,cjs.Ease.cubicOut).wait(82)); 471 472 // as6_l1 473 this.instance_12 = new lib.as7_l1(); 474 this.instance_12.setTransform(-1391.5,3353.9); 475 476 this.timeline.addTween(cjs.Tween.get(this.instance_12).to({x:928.5,y:1033.9},14,cjs.Ease.cubicOut).wait(86)); 477 478 // as6_big (mask) 479 var mask = new cjs.Shape(); 480 mask._off = true; 481 mask.graphics.p("El2uFXIMLMQrPUMAhNAhDMrMPLPWg"); 482 mask.setTransform(1335.525,833.4); 483 484 // as6_big 485 this.instance_13 = new lib.as7_big(); 486 this.instance_13.setTransform(1896.65,833.35); 487 this.instance_13._off = true; 488 489 var maskedShapeInstanceList = [this.instance_13]; 490 491 for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { 492 maskedShapeInstanceList[shapedInstanceItr].mask = mask; 493 } 494 495 this.timeline.addTween(cjs.Tween.get(this.instance_13).wait(44).to({_off:false},0).to({x:1335.65},20,cjs.Ease.cubicOut).wait(36)); 496 497 // as6_big (mask) 498 var mask_1 = new cjs.Shape(); 499 mask_1._off = true; 500 mask_1.graphics.p("ElWfFAZMKW5qW4IWGWHMqW5KW4g"); 501 mask_1.setTransform(885.975,1519.675); 502 503 // as6_big 504 this.instance_14 = new lib.as7_big2(); 505 this.instance_14.setTransform(655.95,1481.65); 506 this.instance_14._off = true; 507 508 var maskedShapeInstanceList = [this.instance_14]; 509 510 for(var shapedInstanceItr = 0; shapedInstanceItr < maskedShapeInstanceList.length; shapedInstanceItr++) { 511 maskedShapeInstanceList[shapedInstanceItr].mask = mask_1; 512 } 513 514 this.timeline.addTween(cjs.Tween.get(this.instance_14).wait(52).to({_off:false},0).to({x:885.95,y:1519.65},20,cjs.Ease.cubicOut).wait(28)); 515 516 this._renderFirstFrame(); 517 518}).prototype = p = new lib.AnMovieClip(); 519p.nominalBounds = new cjs.Rectangle(-1612.7,-274.3,5346.6,5375.6); 520// library properties: 521lib.properties = { 522 id: 'D91515F0E0FC8F43A4453E658EAFAACD', 523 width: 2200, 524 height: 2600,
525 fps: 24, 526 color: "#FFFFFF", 527 opacity: 0.00, 528 manifest: [], 529 preloads: [] 530}; 531 532 533 534// bootstrap callback support: 535 536(lib.Stage = function(canvas) { 537 createjs.Stage.call(this, canvas); 538}).prototype = p = new createjs.Stage(); 539 540p.setAutoPlay = function(autoPlay) { 541 this.tickEnabled = autoPlay; 542} 543p.play = function() { this.tickEnabled = true; this.getChildAt(0).gotoAndPlay(this.getTimelinePosition()) } 544p.stop = function(ms) { if(ms) this.seek(ms); this.tickEnabled = false; } 545p.seek = function(ms) { this.tickEnabled = true; this.getChildAt(0).gotoAndStop(lib.properties.fps * ms / 1000); } 546p.getDuration = function() { return this.getChildAt(0).totalFrames / lib.properties.fps * 1000; } 547 548p.getTimelinePosition = function() { return this.getChildAt(0).currentFrame / lib.properties.fps * 1000; } 549 550an.bootcompsLoaded = an.bootcompsLoaded || []; 551if(!an.bootstrapListeners) { 552 an.bootstrapListeners=[]; 553} 554 555an.bootstrapCallback=function(fnCallback) { 556 an.bootstrapListeners.push(fnCallback); 557 if(an.bootcompsLoaded.length > 0) { 558 for(var i=0; i<an.bootcompsLoaded.length; ++i) { 559 fnCallback(an.bootcompsLoaded[i]); 560 } 561 } 562}; 563 564an.compositions = an.compositions || {}; 565an.compositions['D91515F0E0FC8F43A4453E658EAFAACD'] = { 566 getStage: function() { return exportRoot.stage; }, 567 getLibrary: function() { return lib; }, 568 getSpriteSheet: function() { return ss; }, 569 getImages: function() { return img; } 570}; 571 572an.compositionLoaded = function(id) { 573 an.bootcompsLoaded.push(id); 574 for(var j=0; j<an.bootstrapListeners.length; j++) { 575 an.bootstrapListeners[j](id); 576 } 577} 578 579an.getComposition = function(id) { 580 return an.compositions[id]; 581} 582 583 584an.makeResponsive = function(isResp, respDim, isScale, scaleType, domContainers) { 585 var lastW, lastH, lastS=1; 586 window.addEventListener('resize', resizeCanvas); 587 resizeCanvas(); 588 function resizeCanvas() { 589 var w = lib.properties.width, h = lib.properties.height; 590 var iw = window.innerWidth, ih=window.innerHeight; 591 var pRatio = window.devicePixelRatio || 1, xRatio=iw/w, yRatio=ih/h, sRatio=1; 592 if(isResp) { 593 if((respDim=='width'&&lastW==iw) || (respDim=='height'&&lastH==ih)) { 594 sRatio = lastS; 595 } 596 else if(!isScale) { 597 if(iw<w || ih<h) 598 sRatio = Math.min(xRatio, yRatio); 599 } 600 else if(scaleType==1) { 601 sRatio = Math.min(xRatio, yRatio); 602 } 603 else if(scaleType==2) { 604 sRatio = Math.max(xRatio, yRatio); 605 } 606 } 607 domContainers[0].width = w * pRatio * sRatio; 608 domContainers[0].height = h * pRatio * sRatio; 609 domContainers.forEach(function(container) { 610 container.style.width = w * sRatio + 'px'; 611 container.style.height = h * sRatio + 'px'; 612 }); 613 stage.scaleX = pRatio*sRatio; 614 stage.scaleY = pRatio*sRatio; 615 lastW = iw; lastH = ih; lastS = sRatio; 616 stage.tickOnUpdate = false; 617 stage.update(); 618 stage.tickOnUpdate = true; 619 } 620} 621an.handleSoundStreamOnTick = function(event) { 622 if(!event.paused){ 623 var stageChild = stage.getChildAt(0); 624 if(!stageChild.paused || stageChild.ignorePause){ 625 stageChild.syncStreamSounds(); 626 } 627 } 628} 629an.handleFilterCache = function(event) { 630 if(!event.paused){ 631 var target = event.target; 632 if(target){ 633 if(target.filterCacheList){ 634 for(var index = 0; index < target.filterCacheList.length ; index++){ 635 var cacheInst = target.filterCacheList[index]; 636 if((cacheInst.startFrame <= target.currentFrame) && (target.currentFrame <= cacheInst.endFrame)){ 637 cacheInst.instance.cache(cacheInst.x, cacheInst.y, cacheInst.w, cacheInst.h); 638 } 639 } 640 } 641 } 642 } 643} 644 645 646})(createjs = createjs||{}, AdobeAn = AdobeAn||{}); 647var createjs, AdobeAn;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.