├── Procfile ├── .gitignore ├── images ├── icons │ ├── info.png │ ├── dining.png │ ├── events.png │ ├── rooms.png │ └── attractions.png ├── misc │ ├── arrow.png │ └── greenplanet.png ├── hotel │ ├── attractions.jpg │ ├── intro_pool.jpg │ ├── intro_room.jpg │ ├── dining_lattes.jpg │ ├── dining_rooftop.jpg │ ├── events_wedding.jpg │ ├── intro_dining.jpg │ ├── intro_wedding.jpg │ ├── rooms_oxford.jpg │ ├── rooms_victoria.jpg │ ├── rooms_cambridge.jpg │ ├── rooms_manchester.jpg │ ├── rooms_piccadilly.jpg │ ├── dining_smoothiebar.jpg │ ├── events_conference.jpg │ ├── intro_attractions.jpg │ ├── rooms_westminster.jpg │ └── splash_hotelphoto.jpg └── socialmedia │ ├── facebook.png │ ├── twitter.png │ └── youtube.png ├── package.json ├── gulpfile.js ├── index.html ├── css └── style.css └── js └── script.js /Procfile: -------------------------------------------------------------------------------- 1 | web:node ./bin/www -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | .tmp 4 | .sass-cache 5 | builds/**/images/* -------------------------------------------------------------------------------- /images/icons/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/icons/info.png -------------------------------------------------------------------------------- /images/misc/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/misc/arrow.png -------------------------------------------------------------------------------- /images/icons/dining.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/icons/dining.png -------------------------------------------------------------------------------- /images/icons/events.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/icons/events.png -------------------------------------------------------------------------------- /images/icons/rooms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/icons/rooms.png -------------------------------------------------------------------------------- /images/hotel/attractions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/attractions.jpg -------------------------------------------------------------------------------- /images/hotel/intro_pool.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/intro_pool.jpg -------------------------------------------------------------------------------- /images/hotel/intro_room.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/intro_room.jpg -------------------------------------------------------------------------------- /images/icons/attractions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/icons/attractions.png -------------------------------------------------------------------------------- /images/misc/greenplanet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/misc/greenplanet.png -------------------------------------------------------------------------------- /images/hotel/dining_lattes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/dining_lattes.jpg -------------------------------------------------------------------------------- /images/hotel/dining_rooftop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/dining_rooftop.jpg -------------------------------------------------------------------------------- /images/hotel/events_wedding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/events_wedding.jpg -------------------------------------------------------------------------------- /images/hotel/intro_dining.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/intro_dining.jpg -------------------------------------------------------------------------------- /images/hotel/intro_wedding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/intro_wedding.jpg -------------------------------------------------------------------------------- /images/hotel/rooms_oxford.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_oxford.jpg -------------------------------------------------------------------------------- /images/hotel/rooms_victoria.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_victoria.jpg -------------------------------------------------------------------------------- /images/socialmedia/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/socialmedia/facebook.png -------------------------------------------------------------------------------- /images/socialmedia/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/socialmedia/twitter.png -------------------------------------------------------------------------------- /images/socialmedia/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/socialmedia/youtube.png -------------------------------------------------------------------------------- /images/hotel/rooms_cambridge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_cambridge.jpg -------------------------------------------------------------------------------- /images/hotel/rooms_manchester.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_manchester.jpg -------------------------------------------------------------------------------- /images/hotel/rooms_piccadilly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_piccadilly.jpg -------------------------------------------------------------------------------- /images/hotel/dining_smoothiebar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/dining_smoothiebar.jpg -------------------------------------------------------------------------------- /images/hotel/events_conference.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/events_conference.jpg -------------------------------------------------------------------------------- /images/hotel/intro_attractions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/intro_attractions.jpg -------------------------------------------------------------------------------- /images/hotel/rooms_westminster.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/rooms_westminster.jpg -------------------------------------------------------------------------------- /images/hotel/splash_hotelphoto.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/discounts/tsolakis/master/images/hotel/splash_hotelphoto.jpg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SinglePageResponsive", 3 | "version": "0.0.1", 4 | "description": "A website that uses single page responsive CSS with Sass, Compass, Susy 2, etc", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/planetoftheweb/responsive.git" 8 | }, 9 | "author": "Ray Villalobos", 10 | "devDependencies": { 11 | "gulp": "^3.8.7", 12 | "gulp-util": "^2.2.20", 13 | "gulp-concat": "^2.3.4", 14 | "gulp-browserify": "^0.5.0", 15 | "jquery": "^2.1.1", 16 | "gulp-compass": "^1.2.0", 17 | "gulp-connect": "^2.0.6", 18 | "gulp-if": "^1.2.4", 19 | "gulp-uglify": "^0.3.1", 20 | "gulp-minify-html": "^0.1.4" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'), 2 | gutil = require('gulp-util'), 3 | browserify = require('gulp-browserify'), 4 | compass = require('gulp-compass'), 5 | connect = require('gulp-connect'), 6 | gulpif = require('gulp-if'), 7 | uglify = require('gulp-uglify'), 8 | minifyHTML = require('gulp-minify-html'), 9 | concat = require('gulp-concat'); 10 | path = require('path'); 11 | 12 | var env, 13 | jsSources, 14 | sassSources, 15 | htmlSources, 16 | outputDir, 17 | sassStyle; 18 | 19 | env = 'production'; 20 | 21 | if (env==='development') { 22 | outputDir = 'builds/development/'; 23 | sassStyle = 'expanded'; 24 | } else { 25 | outputDir = 'builds/production/'; 26 | sassStyle = 'compressed'; 27 | } 28 | 29 | jsSources = [ 30 | 'components/scripts/jqloader.js', 31 | 'components/scripts/TweenMax.min.js', 32 | 'components/scripts/jquery.scrollmagic.min.js', 33 | 'components/scripts/script.js' 34 | ]; 35 | sassSources = ['components/sass/style.scss']; 36 | htmlSources = [outputDir + '*.html']; 37 | 38 | gulp.task('js', function() { 39 | gulp.src(jsSources) 40 | .pipe(concat('script.js')) 41 | .pipe(browserify()) 42 | .on('error', gutil.log) 43 | .pipe(gulpif(env === 'production', uglify())) 44 | .pipe(gulp.dest(outputDir + 'js')) 45 | .pipe(connect.reload()) 46 | }); 47 | 48 | gulp.task('compass', function() { 49 | gulp.src(sassSources) 50 | .pipe(compass({ 51 | sass: 'components/sass', 52 | css: outputDir + 'css', 53 | image: outputDir + 'images', 54 | style: sassStyle, 55 | require: ['susy', 'breakpoint'] 56 | }) 57 | .on('error', gutil.log)) 58 | // .pipe(gulp.dest( outputDir + 'css')) 59 | .pipe(connect.reload()) 60 | }); 61 | 62 | gulp.task('watch', function() { 63 | gulp.watch(jsSources, ['js']); 64 | gulp.watch(['components/sass/*.scss', 'components/sass/*/*.scss'], ['compass']); 65 | gulp.watch('builds/development/*.html', ['html']); 66 | }); 67 | 68 | gulp.task('connect', function() { 69 | connect.server({ 70 | root: outputDir, 71 | livereload: true 72 | }); 73 | }); 74 | 75 | gulp.task('html', function() { 76 | gulp.src('builds/development/*.html') 77 | .pipe(gulpif(env === 'production', minifyHTML())) 78 | .pipe(gulpif(env === 'production', gulp.dest(outputDir))) 79 | .pipe(connect.reload()) 80 | }); 81 | 82 | // Copy images to production 83 | gulp.task('move', function() { 84 | gulp.src('builds/development/images/**/*.*') 85 | .pipe(gulpif(env === 'production', gulp.dest(outputDir+'images'))) 86 | }); 87 | 88 | gulp.task('default', ['watch', 'html', 'js', 'compass', 'move', 'connect']); 89 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | Landon Hotel

Landon Hotel

West London

down arrow

Welcome to the Landon Hotel

The original Landon perseveres after 50 years in the heart of West London. The West End neighborhood has something for everyone—from theater to dining to historic sights. And the not-to-miss Rooftop Cafe is a great place for travelers and locals to engage over drinks, food, and good conversation.

Essential Info

Arrival Information

  • Check-in: 3:00 PM
  • Check-out: 11:00 AM
  • Parking: Self-parking in the underground garage is £15 per day and valet-parking is £50 per day.
  • Airport Shuttle: Our complimentary airport shuttles leave every hour on the hour, and make trips to Heathrow and Gatwick airports.
  • Trains: The nearest Underground station is at Leicester Square.
  • Pet Policy: Pets of all sizes and types are allowed in designated pet rooms, and the specified common areas. Service animals are allowed everywhere.

Services and Amenities

Our services and amenities are designed to make your travel easy, your stay comfortable, and your experience one-of-a-kind.

  • Indoor pool
  • 24-hour fitness center
  • Massage therapy
  • Full service spa
  • In-room jacuzzi tubs
  • Rooftop café & smoothie bar
  • Coffee bar & pastry shop
  • Traditional continental breakfast
  • 24-hour concierge service
  • Business center
  • Complimentary wireless service
  • Laundry & dry cleaning service
  • Daily paper
  • Certified "green" hotel
  • Pet-friendly rooms & common areas

Accessibility

We're committed to maintaining the same quality of service for every individual. We offer the following facilities for those with special needs:

  • Grab bars on tub walls
  • Shower chairs
  • Hand held shower sprayers
  • Higher toilets & toilet modifiers
  • Lower sink faucet handles
  • Wheelchair clearance under sinks & vanity
  • Lower racks in closet
  • TDD machines
  • Telephone light signalers & smoke alarms
  • Telephone amplification handsets
  • Closed captioned television converters
  • Vibrating alarm clocks
  • Telephones with volume control

Landon Green Program

The Landon Hotel - London was recently renovated, and we considered the impact on the earth the entire way. From green building materials, to solar power, to energy-friendly lighting and appliances throughout the hotel - we’re saving energy in every socket, outlet, and switch. We’ve also initiated a recycling and composting program that reduces the load to local landfills, while providing valuable raw material for use in new products, or in the case of compost, for use in local gardens and landscapes.

Guest Rooms

Our guest rooms feature sumptuous classic furnishings that evoke visions of London’s rich and long-standing tradition of royalty. While our rooms are decked out in classic design, they each have a modern flair, and contain all the modern comforts expected in today’s luxury hotels. We’ve named our rooms for the notable public squares and circuses around which the West End is laid out.

Piccadilly

Designed to be our economy room, for those who will be spending more time seeing the sights, and less time hitting the hay. The Piccadilly room has a smaller footprint, but maintains the accommodations of some of our more deluxe rooms.

Cambridge

This room features a king bed, with a Comfort-Plus mattress, covered in 400-thread Egyptian cotton sheets. The Cambridge room is decorated in tasteful and warm muted tones, that are soothing on the eyes and senses.

Westminster

This room is available with a king or two double beds, and is furnished with our Premiere London collection – the softest and most luxurious bed and bath linens.

Oxford

Our Oxford suites are some of the prettiest and most romantic rooms around and are perfect for honeymoons. All of these feature canopy beds, lots of windows, and spare no modern comfort or convenience, including a TLX media system.

Victoria

Traveling with the family? Our spacious Victoria suites, with breathtaking views of the city, are the perfect choice. These corner rooms are furnished with a king or two double beds, and have a sofa with a comfortable pullout bed.

Manchester

The Manchester Executive Suite, is popular with business travelers the world over. These two-room suites feature a king-size bed, living room with leather recliner, full-sized executive desk, and leather desk chair.

Dining in the Area

The West End is a foodie’s paradise, and the Landon Hotel is in the center of it all. With options for traditional English, Italian, Indian, American, Chinese, and French cuisines, all within two blocks of the hotel, and a variety of tasty culinary delights from many other countries, within a half-mile radius, the only trouble you’ll have is choosing!

Rooftop Café

Dining

Landon Rooftop Café is the destination for five star dining. Our master chefs are trained to meet special dietary needs, and we offer a range of vegetarian/vegan, kosher, gluten, and dairy free selections to accommodate our guests. Whether you’re in the mood for our award winning roast beef, fresh select salads, appetizing lunch entrees, or delectable desserts, we have you covered.

Smoothie Bar

Dining

The Rooftop Smoothie Bar gives you panoramic views of the city, where you can have one of our specialty smoothies while you wait for your table. Our top mixologists are constantly bringing new and unique offerings to our smoothie menu. We have a wide range of locally grown, fresh fruit and vegetable choices to make you custom blended drinks. We also have seasonal selections that you won’t find anywhere else.

Breakfast & Coffee Bar

Dining

Our traditional breakfast and coffee bar, located adjacent to our lounge, are the perfect way to start your morning. We offer a wide selection of seasonal fresh fruit, a variety of cereals, croissants, crusty sourdough bread, cook-to-order eggs and omelettes, fresh juice, coffee, and teas. Breakfast is served from 7:00 am to 10:00 am daily. Our coffee bar is open until 6:30 pm daily.

Room Service

If you’d rather stay in your room and enjoy a quiet evening in, or a relaxing breakfast in bed, room service options are available for all of our dining choices.

Business Meetings

Our hotel boasts wireless Internet in every common room, and guest room, including the dining area and lobby. And, we have a state-of-the-art meeting room with video projectors, high definition video screens, and advanced sound technology.

Weddings & Social Events

When you entrust us to handle your wedding, or other event, you’re putting your faith in our professional reputation – and that’s not a responsibility we take lightly.

Local Attractions

Whether you’re a theater enthusiast, enjoy epic shopping, or love to stroll and people watch, London’s West End has an endless opportunity to partake. The heart of London’s "Theatreland" offering the best in drama, comedy, and musical productions.

-------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | @import url("https://fonts.googleapis.com/css?family=Exo+2:200,400,600,800");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:normal;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body{font:200 1em/1.5em "Exo 2","Helvetica Neue",Helvetica,Arial,sans-serif;background:#fff;color:#000}h1,h2,h3,h4,h5,h6{font:200 1.5em/1.5em "Exo 2","Helvetica Neue",Helvetica,Arial,sans-serif;color:#0f83a0;font-weight:600}strong{font-weight:600}p{font-weight:200;padding-bottom:10px}body{position:absolute;width:100%;height:100%}.scene{position:relative;padding:20px 0}.scene article{max-width:95%;margin-left:auto;margin-right:auto}.scene article:after{content:" ";display:block;clear:both}@media (min-width: 1200px){.scene{padding:40px 0}}@media (min-width: 960px){.scene article{max-width:60em;margin-left:auto;margin-right:auto}.scene article:after{content:" ";display:block;clear:both}}header .fullheight{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/splash_hotelphoto.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}header .fullheight .hgroup{padding:100px 0}header .fullheight .hgroup h1{color:#fff;font-size:5em;font-weight:800;line-height:.8em;text-shadow:#000 0 0 20px;text-align:center}header .fullheight .hgroup h2{display:block;color:#fff;width:60%;max-width:200px;margin:0 auto;text-align:center;border:1px solid #fff;margin-top:15px;padding:10px;background:rgba(0,0,0,0.5);font-size:1.3em}header .fullheight .hgroup p{text-align:center}header .fullheight .hgroup p img{padding-top:50px;max-width:50px}header #nav{background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBhNWM3MSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzA2MzY0MiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0a5c71),color-stop(100%, #063642));background-image:-moz-linear-gradient(top, #0a5c71,#063642);background-image:-webkit-linear-gradient(top, #0a5c71,#063642);background-image:linear-gradient(to bottom, #0a5c71,#063642);width:100%;z-index:100}header #nav:before,header #nav:after{content:'';display:table}header #nav:after{clear:both}header #nav .navbar{max-width:60em;margin-left:auto;margin-right:auto}header #nav .navbar:after{content:" ";display:block;clear:both}header #nav .navbar .brand{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333%;float:left;padding-left:.83333%;padding-right:.83333%;float:left;font-weight:600;font-family:200 1.5em/1.5em "Exo 2","Helvetica Neue",Helvetica,Arial,sans-serif;text-align:center;text-transform:uppercase;background:#DF4848}header #nav .navbar .brand a{color:#fff;text-decoration:none;text-align:center;display:inline-block;padding:10px;font-size:1.5em}@media (max-width: 650px){header #nav .navbar .brand a{font-size:1.2em}header #nav .navbar .brand a span{display:none}}header #nav .navbar ul{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:66.66667%;float:left;padding-left:.83333%;padding-right:.83333%}header #nav .navbar ul li{float:left}header #nav .navbar ul li a{color:#fff;font:200 1em/1.5em "Exo 2","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1em;display:inline-block;padding:10px 10px 10px 45px;text-decoration:none;background-size:35px;background-repeat:no-repeat;background-position:2px}header #nav .navbar ul li a.info{background-image:url("../images/icons/info.png")}header #nav .navbar ul li a.rooms{background-image:url("../images/icons/rooms.png")}header #nav .navbar ul li a.dining{background-image:url("../images/icons/dining.png")}header #nav .navbar ul li a.events{background-image:url("../images/icons/events.png")}header #nav .navbar ul li a.attractions{background-image:url("../images/icons/attractions.png")}header #nav .navbar ul li a:hover{background-color:#EFC94C;color:#063642}@media (min-width: 0) and (max-width: 650px){header #nav .navbar ul li a{padding:10px 18px}header #nav .navbar ul li a::after{content:'\000a0';display:block}header #nav .navbar ul li a span{display:none}}@media (min-width: 650px) and (max-width: 960px){header #nav .navbar ul li a{padding-left:10px}header #nav .navbar ul li a.icon{background-image:none}}header #nav .navbar ul li a.active{background-color:#DF4848;color:#fff}#welcome{background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VmYzk0YyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2UyN2EzZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #efc94c),color-stop(100%, #e27a3f));background-image:-moz-linear-gradient(top, #efc94c,#e27a3f);background-image:-webkit-linear-gradient(top, #efc94c,#e27a3f);background-image:linear-gradient(to bottom, #efc94c,#e27a3f)}#welcome article{text-align:center;max-width:70%;margin-left:auto;margin-right:auto}#welcome article:after{content:" ";display:block;clear:both}@media (min-width: 650px){#welcome article{max-width:33em;margin-left:auto;margin-right:auto;padding:60px 0}#welcome article:after{content:" ";display:block;clear:both}}#welcome h1{font-weight:normal;line-height:100%;color:#a24a19;padding:10px 0}#welcome .gallery:before,#welcome .gallery:after{content:'';display:table}#welcome .gallery:after{clear:both}#welcome .gallery img{-moz-border-radius:20%;-webkit-border-radius:20%;border-radius:20%;display:none}@media (min-width: 650px){#welcome .gallery img{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:25%;float:left;padding-left:2.5%;padding-right:2.5%;display:inline}#welcome .gallery img:nth-child(4n+1){margin-left:0;margin-right:-100%;clear:both}#welcome .gallery img:nth-child(4n+2){margin-left:25%;margin-right:-100%;clear:none}#welcome .gallery img:nth-child(4n+3){margin-left:50%;margin-right:-100%;clear:none}#welcome .gallery img:nth-child(4n+4){margin-left:75%;margin-right:-100%;clear:none}#welcome .gallery img.hidesm{display:none}}@media (min-width: 960px){#welcome .gallery img{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:20%;float:left;padding-left:2%;padding-right:2%;display:inline}#welcome .gallery img:nth-child(5n+1){margin-left:0;margin-right:-100%;clear:both}#welcome .gallery img:nth-child(5n+2){margin-left:20%;margin-right:-100%;clear:none}#welcome .gallery img:nth-child(5n+3){margin-left:40%;margin-right:-100%;clear:none}#welcome .gallery img:nth-child(5n+4){margin-left:60%;margin-right:-100%;clear:none}#welcome .gallery img:nth-child(5n+5){margin-left:80%;margin-right:-100%;clear:none}#welcome .gallery img.hidesm{display:inline}}#events{padding:0}#events:before,#events:after{content:'';display:table}#events:after{clear:both}#events .event{position:relative;max-width:100%;margin-left:auto;margin-right:auto}#events .event:after{content:" ";display:block;clear:both}@media (min-width: 650px){#events .event{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;float:left}}#events .event .content{position:absolute;bottom:0;background:rgba(0,0,0,0.7);padding:30px;color:#fff;font-weight:200;line-height:130%}#events .event .content h2{color:#fff;line-height:1em}#events .event .content p{padding:5px 0}#events #businessmeetings{background:linear-gradient(to right, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/events_conference.jpg");background-repeat:no-repeat;background-position:65% top;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#events #weddings{background:linear-gradient(to left, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/events_wedding.jpg");background-repeat:no-repeat;background-position:40% top;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#dining h1,#dining h2{color:#DF4848;padding:10px 0}#dining img{width:100%;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}@media (min-width: 650px){#dining #areadining{margin-bottom:30px}#dining #areadining h1{font-weight:200;font-size:2.5em}#dining #areadining p{font-size:1.5em;line-height:140%}#dining section{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333%;float:left;padding-left:.83333%;padding-right:.83333%}#dining section h2{font-size:1.2em;line-height:120%;color:#CD0069}#dining section p{padding-top:10px;font-size:1em;line-height:130%}}#dining #roomservice{margin-top:20px;background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZlZmFmMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff),color-stop(100%, #fefaf0));background-image:-moz-linear-gradient(top, #ffffff,#fefaf0);background-image:-webkit-linear-gradient(top, #ffffff,#fefaf0);background-image:linear-gradient(to bottom, #ffffff,#fefaf0);padding-left:9.16667%;padding-right:9.16667%;text-align:center;border-top:1px solid #DF4848;border-bottom:1px solid #DF4848}#hotelinfo{background-image:url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNhM2Y5MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzQ1YjI5ZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');background-size:100%;background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3a3f90),color-stop(100%, #45b29d));background-image:-moz-linear-gradient(top, #3a3f90,#45b29d);background-image:-webkit-linear-gradient(top, #3a3f90,#45b29d);background-image:linear-gradient(to bottom, #3a3f90,#45b29d);color:#fff}#hotelinfo h1,#hotelinfo h2,#hotelinfo h3,#hotelinfo h4,#hotelinfo h5,#hotelinfo h6{color:#fff}#hotelinfo .heading h1{font-size:3em;font-weight:200}#hotelinfo #usefulinfo:before,#hotelinfo #usefulinfo:after{content:'';display:table}#hotelinfo #usefulinfo:after{clear:both}@media (min-width: 650px){#hotelinfo #usefulinfo section{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33333%;float:left;padding-left:3.33333%;padding-right:3.33333%}}@media (min-width: 450px) and (max-width: 650px){#hotelinfo #usefulinfo section.checklist{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:50%;float:left;padding-left:5%;padding-right:5%}}#hotelinfo #usefulinfo section h2{color:#b5b7e1;font-size:1.3em;line-height:110%;padding:10px 0}#hotelinfo #usefulinfo section p{font-size:1em;line-height:130%}#hotelinfo #usefulinfo section ul li{list-style:square;margin-left:10%;line-height:115%;margin-bottom:5px}#hotelinfo #usefulinfo section#arrivalinfo ul{margin:0}#hotelinfo #usefulinfo section#arrivalinfo ul li{list-style:none;border-top:1px solid #fff;padding:15px 0;margin-left:0}#hotelinfo #usefulinfo section#arrivalinfo ul li strong{color:#EFC94C}#hotelinfo #usefulinfo section#arrivalinfo ul li:first-child{border-top:none}#hotelinfo #greenprogram{background-color:rgba(26,68,60,0.5);margin-top:20px;border:1px solid #fff;padding:20px;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px}@media (min-width: 1200px){#hotelinfo #greenprogram{background-image:url("../images/misc/greenplanet.png");background-size:400px;background-repeat:no-repeat;background-position:120% center;padding-right:300px}}#rooms header{margin-bottom:20px;max-width:90%;margin-left:auto;margin-right:auto}#rooms header:after{content:" ";display:block;clear:both}@media (min-width: 960px){#rooms header{max-width:60em;margin-left:auto;margin-right:auto;padding-left:9.16667%;padding-right:9.16667%}#rooms header:after{content:" ";display:block;clear:both}}#rooms .room{max-width:100%;margin-left:auto;margin-right:auto;padding-left:9.16667%;padding-right:9.16667%;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;padding:200px 0}#rooms .room:after{content:" ";display:block;clear:both}@media (min-width: 650px){#rooms .room{padding-left:59.16667%;padding-right:9.16667%}}#rooms .room .content{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;background:rgba(255,255,255,0.8);padding:20px}#rooms .room .content h1{color:#DF4848}#rooms #piccadilly{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_piccadilly.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#rooms #cambridge{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_cambridge.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#rooms #westminster{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_westminster.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#rooms #oxford{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_oxford.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#rooms #victoria{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_victoria.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#rooms #manchester{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/rooms_manchester.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}#attractions{max-width:100%;margin-left:auto;margin-right:auto;padding:0;background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/attractions.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}#attractions:before,#attractions:after{content:'';display:table}#attractions:after{clear:both}#attractions:after{content:" ";display:block;clear:both}#attractions article{max-width:80%;margin-left:auto;margin-right:auto;padding:20px;margin-top:200px;margin-bottom:200px;background:rgba(255,255,255,0.8);-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#attractions article:after{content:" ";display:block;clear:both}@media (min-width: 960px){#attractions article{max-width:50%;margin-left:auto;margin-right:auto}#attractions article:after{content:" ";display:block;clear:both}}footer{max-width:100%;margin-left:auto;margin-right:auto;background:#333;padding:30px 0}footer:after{content:" ";display:block;clear:both}footer #socialmedia{text-align:center}footer #socialmedia ul{list-style:none}footer #socialmedia ul li{display:inline-block;padding:0 10px}footer #socialmedia ul li img{width:30px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}header .fullheight{background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(0,0,0,0)),url("../images/hotel/splash_hotelphoto.jpg");background-repeat:no-repeat;background-position:center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}header .fullheight .hgroup{padding:100px 0}header .fullheight .hgroup h1{color:#fff;font-size:5em;font-weight:800;line-height:.8em;text-shadow:#000 0 0 20px;text-align:center}header .fullheight .hgroup h2{display:block;color:#fff;width:60%;max-width:200px;margin:0 auto;text-align:center;border:1px solid #fff;margin-top:15px;padding:10px;background:rgba(0,0,0,0.5);font-size:1.3em}header .fullheight .hgroup p{text-align:center}header .fullheight .hgroup p img{padding-top:50px;max-width:50px} 2 | -------------------------------------------------------------------------------- /js/script.js: -------------------------------------------------------------------------------- 1 | !function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);throw new Error("Cannot find module '"+o+"'")}var u=i[o]={exports:{}};e[o][0].call(u.exports,function(t){var i=e[o][1][t];return r(i?i:t)},u,u.exports,t,e,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o.998){var s=this._time;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var o,a=1/(1-r),l=this._firstPT;l;)o=l.s+l.c,l.c*=a,l.s=o-l.c,l=l._next}return this},u.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,r,a,l,u,c,f,p,d=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,_=this._cycle,v=this._duration,y=this._rawPrevTime;if(t>=d?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,r="onComplete"),0===v&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>y||y===s)&&y!==t&&(i=!0,y>s&&(r="onReverseComplete")),this._rawPrevTime=p=!e||t||y===t?t:s)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===v&&y>0&&y!==s)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=p=!e||t||y===t?t:s)):this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=v+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!==(1&this._cycle)&&(this._time=v-this._time),this._time>v?this._time=v:0>this._time&&(this._time=0)),this._easeType?(u=this._time/v,c=this._easeType,f=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===f?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:.5>this._time/v?u/2:1-u/2):this.ratio=this._ease.getRatio(this._time/v)),m===this._time&&!i&&_===this._cycle)return g!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||h)),void 0;if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=y,this._cycle=_,o.lazyTweens.push(this),this._lazy=t,void 0;this._time&&!n?this.ratio=this._ease.getRatio(this._time/v):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===g&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===v)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||h))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._totalTime!==g||n)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||h)),this._cycle!==_&&(e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||h)),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||h),0===v&&this._rawPrevTime===s&&p!==s&&(this._rawPrevTime=0))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(t,e,i)},r.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new r(t,e,n)},r.staggerTo=r.allTo=function(t,e,s,o,u,c,f){o=o||0;var p,d,m,g,_=s.delay||0,v=[],y=function(){s.onComplete&&s.onComplete.apply(s.onCompleteScope||this,arguments),u.apply(f||this,c||h)};for(l(t)||("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=n(t))),p=t.length,m=0;p>m;m++){d={};for(g in s)d[g]=s[g];d.delay=_,m===p-1&&u&&(d.onComplete=y),v[m]=new r(t[m],e,d),_+=o}return v},r.staggerFrom=r.allFrom=function(t,e,i,n,s,o,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,r.staggerTo(t,e,i,n,s,o,a)},r.staggerFromTo=r.allFromTo=function(t,e,i,n,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,r.staggerTo(t,e,n,s,o,a,l)},r.delayedCall=function(t,e,i,n,s){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:s,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],r=0,s=t._first;s;)s instanceof i?n[r++]=s:(e&&(n[r++]=s),n=n.concat(c(s,e)),r=n.length),s=s._next;return n},f=r.getAllTweens=function(e){return c(t._rootTimeline,e).concat(c(t._rootFramesTimeline,e))};r.killAll=function(t,i,n,r){null==i&&(i=!0),null==n&&(n=!0);var s,o,a,l=f(0!=r),u=l.length,h=i&&n&&r;for(a=0;u>a;a++)o=l[a],(h||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},r.killChildTweensOf=function(t,e){if(null!=t){var s,u,h,c,f,p=o.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=n(t)),l(t))for(c=t.length;--c>-1;)r.killChildTweensOf(t[c],e);else{s=[];for(h in p)for(u=p[h].target.parentNode;u;)u===t&&(s=s.concat(p[h].tweens)),u=u.parentNode;for(f=s.length,c=0;f>c;c++)e&&s[c].totalTime(s[c].totalDuration()),s[c]._enabled(!1,!1)}}};var p=function(t,i,n,r){i=i!==!1,n=n!==!1,r=r!==!1;for(var s,o,a=f(r),l=i&&n&&r,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&o.paused(t)};return r.pauseAll=function(t,e,i){p(!0,t,e,i)},r.resumeAll=function(t,e,i){p(!1,t,e,i)},r.globalTimeScale=function(e){var n=t._rootTimeline,r=i.ticker.time;return arguments.length?(e=e||s,n._startTime=r-(r-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,r=i.ticker.frame,n._startTime=r-(r-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},u.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},u.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},u.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),s._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,r=this.vars;for(n in r)i=r[n],l(i)&&-1!==i.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(i));l(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,o=i._internals,a=o.isSelector,l=o.isArray,u=o.lazyTweens,h=o.lazyRender,c=[],f=s._gsDefine.globals,p=function(t){var e,i={};for(e in t)i[e]=t[e];return i},d=function(t,e,i,n){t._timeline.pause(t._startTime),e&&e.apply(n||t._timeline,i||c)},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.13.1",g.constructor=n,g.kill()._gc=!1,g.to=function(t,e,n,r){var s=n.repeat&&f.TweenMax||i;return e?this.add(new s(t,e,n),r):this.set(t,n,r)},g.from=function(t,e,n,r){return this.add((n.repeat&&f.TweenMax||i).from(t,e,n),r)},g.fromTo=function(t,e,n,r,s){var o=r.repeat&&f.TweenMax||i;return e?this.add(o.fromTo(t,e,n,r),s):this.set(t,r,s)},g.staggerTo=function(t,e,r,s,o,l,u,h){var c,f=new n({onComplete:l,onCompleteParams:u,onCompleteScope:h,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=m(t)),s=s||0,c=0;t.length>c;c++)r.startAt&&(r.startAt=p(r.startAt)),f.to(t[c],e,p(r),c*s);return this.add(f,o)},g.staggerFrom=function(t,e,i,n,r,s,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,o,a)},g.staggerFromTo=function(t,e,i,n,r,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,o,a,l)},g.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},g.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,o=new n(t),a=o._timeline;for(null==e&&(e=!0),a._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=a._time,r=a._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||o.add(r,r._startTime-r._delay),r=s;return a.add(o,0),o},g.add=function(r,s,o,a){var u,h,c,f,p,d;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&l(r)){for(o=o||"normal",a=a||0,u=s,h=r.length,c=0;h>c;c++)l(f=r[c])&&(f=new n({tweens:f})),this.add(f,u),"string"!=typeof f&&"function"!=typeof f&&("sequence"===o?u=f._startTime+f.totalDuration()/f._timeScale:"start"===o&&(f._startTime-=f.delay())),u+=a;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),(this._gc||this._time===this._duration)&&!this._paused&&this._durationr._startTime;p._timeline;)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},g.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,i,n){return this.call(d,["{self}",e,i,n],this,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(s=e.indexOf("="),-1===s)return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,o,a,l,f=this._dirty?this.totalDuration():this._totalDuration,p=this._time,d=this._startTime,m=this._timeScale,g=this._paused;if(t>=f?(this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=f+1e-4):1e-7>t?(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a="onReverseComplete",s=this._reversed),0>t?(this._active=!1,this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=0,this._initted||(l=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==p&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||c)),this._time>=p)for(n=this._first;n&&(o=n._next,!this._paused||g);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||g);)(n._active||p>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||(u.length&&h(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||c))),a&&(this._gc||(d===this._startTime||m!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(s&&(u.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||c)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],o=this._first,a=0;o;)r>o._startTime||(o instanceof i?e!==!1&&(s[a++]=o):(n!==!1&&(s[a++]=o),t!==!1&&(s=s.concat(o.getChildren(!0,e,n)),a=s.length))),o=o._next;return s},g.getTweensOf=function(t,e){var n,r,s=this._gc,o=[],a=0;for(s&&this._enabled(!0,!0),n=i.getTweensOf(t),r=n.length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(o[a++]=n[r]);return s&&this._enabled(!1,!0),o},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),s._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=1e-10,s=[],o=e._internals,a=o.lazyTweens,l=o.lazyRender,u=new i(null,null,1,0),h=n.prototype=new t;return h.constructor=n,h.kill()._gc=!1,n.version="1.13.1",h.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},h.addCallback=function(t,i,n,r){return this.add(e.delayedCall(0,t,n,r),i)},h.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},h.tweenTo=function(t,i){i=i||{};var n,r,o,a={ease:u,overwrite:i.delay?2:1,useFrames:this.usesFrames(),immediateRender:!1};for(r in i)a[r]=i[r];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,o=new e(this,n,a),a.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&n===o.duration()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||o,i.onStartParams||s)},o},h.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=i.immediateRender!==!1;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},h.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,u,h,c,f,p=this._dirty?this.totalDuration():this._totalDuration,d=this._duration,m=this._time,g=this._totalTime,_=this._startTime,v=this._timeScale,y=this._rawPrevTime,x=this._paused,w=this._cycle;if(t>=p?(this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,h="onComplete",0===this._duration&&(0===t||0>y||y===r)&&y!==t&&this._first&&(c=!0,y>r&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=d,t=d+1e-4)):1e-7>t?(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==m||0===d&&y!==r&&(y>0||0>t&&y>=0)&&!this._locked)&&(h="onReverseComplete",o=this._reversed),0>t?(this._active=!1,y>=0&&this._first&&(c=!0),this._rawPrevTime=t):(this._rawPrevTime=d||!e||t||this._rawPrevTime===t?t:r,t=0,this._initted||(c=!0))):(0===d&&0>y&&(c=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(f=d+this._repeatDelay,this._cycle=this._totalTime/f>>0,0!==this._cycle&&this._cycle===this._totalTime/f&&this._cycle--,this._time=this._totalTime-this._cycle*f,this._yoyo&&0!==(1&this._cycle)&&(this._time=d-this._time),this._time>d?(this._time=d,t=d+1e-4):0>this._time?this._time=t=0:t=this._time))),this._cycle!==w&&!this._locked){var T=this._yoyo&&0!==(1&w),b=T===(this._yoyo&&0!==(1&this._cycle)),S=this._totalTime,P=this._cycle,C=this._rawPrevTime,k=this._time;if(this._totalTime=w*d,w>this._cycle?T=!T:this._totalTime+=d,this._time=m,this._rawPrevTime=0===d?y-1e-4:y,this._cycle=w,this._locked=!0,m=T?0:d,this.render(m,e,0===d),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||s),b&&(m=T?d+1e-4:-1e-4,this.render(m,!0,!1)),this._locked=!1,this._paused&&!x)return;this._time=k,this._totalTime=S,this._cycle=P,this._rawPrevTime=C}if(!(this._time!==m&&this._first||i||c))return g!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s)),void 0;if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==g&&t>0&&(this._active=!0),0===g&&this.vars.onStart&&0!==this._totalTime&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s)),this._time>=m)for(n=this._first;n&&(u=n._next,!this._paused||x);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=u;else for(n=this._last;n&&(u=n._prev,!this._paused||x);)(n._active||m>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=u;this._onUpdate&&(e||(a.length&&l(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s))),h&&(this._locked||this._gc||(_===this._startTime||v!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(o&&(a.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[h]&&this.vars[h].apply(this.vars[h+"Scope"]||this,this.vars[h+"Params"]||s)))},h.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,s=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(n=0;l>n;n++)r=o[n],r.isActive()&&(s[a++]=r);return s},h.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},h.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(t>e[i].time)return e[i].name;return null},h.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},h.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},h.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},h.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},h.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=[],i=[],n=[],r={},o=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,n){var r={a:t},s={},o={},a={c:n},l=(t+e)/2,u=(e+i)/2,h=(i+n)/2,c=(l+u)/2,f=(u+h)/2,p=(f-c)/8;return r.b=l+(t-l)/4,s.b=c+p,r.c=s.a=(r.b+s.b)/2,s.c=o.a=(c+f)/2,o.b=f-p,a.b=h+(n-h)/4,o.c=a.a=(o.b+a.b)/2,[r,s,o,a]},u=function(t,r,s,o,a){var u,h,c,f,p,d,m,g,_,v,y,x,w,T=t.length-1,b=0,S=t[0].a;for(u=0;T>u;u++)p=t[b],h=p.a,c=p.d,f=t[b+1].d,a?(y=e[u],x=i[u],w=.25*(x+y)*r/(o?.5:n[u]||.5),d=c-(c-h)*(o?.5*r:0!==y?w/y:0),m=c+(f-c)*(o?.5*r:0!==x?w/x:0),g=c-(d+((m-d)*(3*y/(y+x)+.5)/4||0))):(d=c-.5*(c-h)*r,m=c+.5*(f-c)*r,g=c-(d+m)/2),d+=g,m+=g,p.c=_=d,p.b=0!==u?S:S=p.a+.6*(p.c-p.a),p.da=c-h,p.ca=_-h,p.ba=S-h,s?(v=l(h,S,_,c),t.splice(b,1,v[0],v[1],v[2],v[3]),b+=4):b++,S=m;p=t[b],p.b=S,p.c=S+.4*(p.d-S),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=S-p.a,s&&(v=l(p.a,S,p.c,p.d),t.splice(b,1,v[0],v[1],v[2],v[3]))},h=function(t,n,r,s){var a,l,u,h,c,f,p=[];if(s)for(t=[s].concat(t),l=t.length;--l>-1;)"string"==typeof(f=t[l][n])&&"="===f.charAt(1)&&(t[l][n]=s[n]+Number(f.charAt(0)+f.substr(2)));if(a=t.length-2,0>a)return p[0]=new o(t[0][n],0,0,t[-1>a?0:1][n]),p;for(l=0;a>l;l++)u=t[l][n],h=t[l+1][n],p[l]=new o(u,0,0,h),r&&(c=t[l+2][n],e[l]=(e[l]||0)+(h-u)*(h-u),i[l]=(i[l]||0)+(c-h)*(c-h));return p[l]=new o(t[l][n],0,0,t[l+1][n]),p},c=function(t,s,o,l,c,f){var p,d,m,g,_,v,y,x,w={},T=[],b=f||t[0];c="string"==typeof c?","+c+",":a,null==s&&(s=1);for(d in t[0])T.push(d);if(t.length>1){for(x=t[t.length-1],y=!0,p=T.length;--p>-1;)if(d=T[p],Math.abs(b[d]-x[d])>.05){y=!1;break}y&&(t=t.concat(),f&&t.unshift(f),t.push(t[1]),f=t[t.length-3])}for(e.length=i.length=n.length=0,p=T.length;--p>-1;)d=T[p],r[d]=-1!==c.indexOf(","+d+","),w[d]=h(t,d,r[d],f);for(p=e.length;--p>-1;)e[p]=Math.sqrt(e[p]),i[p]=Math.sqrt(i[p]);if(!l){for(p=T.length;--p>-1;)if(r[d])for(m=w[T[p]],v=m.length-1,g=0;v>g;g++)_=m[g+1].da/i[g]+m[g].da/e[g],n[g]=(n[g]||0)+_*_;for(p=n.length;--p>-1;)n[p]=Math.sqrt(n[p])}for(p=T.length,g=o?4:1;--p>-1;)d=T[p],m=w[d],u(m,s,o,l,r[d]),y&&(m.splice(0,g),m.splice(m.length-g,g));return w},f=function(t,e,i){e=e||"soft";var n,r,s,a,l,u,h,c,f,p,d,m={},g="cubic"===e?3:2,_="soft"===e,v=[];if(_&&i&&(t=[i].concat(t)),null==t||g+1>t.length)throw"invalid Bezier data";for(f in t[0])v.push(f);for(u=v.length;--u>-1;){for(f=v[u],m[f]=l=[],p=0,c=t.length,h=0;c>h;h++)n=null==i?t[h][f]:"string"==typeof(d=t[h][f])&&"="===d.charAt(1)?i[f]+Number(d.charAt(0)+d.substr(2)):Number(d),_&&h>1&&c-1>h&&(l[p++]=(n+l[p-2])/2),l[p++]=n;for(c=p-g+1,p=0,h=0;c>h;h+=g)n=l[h],r=l[h+1],s=l[h+2],a=2===g?0:l[h+3],l[p++]=d=3===g?new o(n,r,s,a):new o(n,(2*r+n)/3,(2*r+s)/3,s);l.length=p}return m},p=function(t,e,i){for(var n,r,s,o,a,l,u,h,c,f,p,d=1/i,m=t.length;--m>-1;)for(f=t[m],s=f.a,o=f.d-s,a=f.c-s,l=f.b-s,n=r=0,h=1;i>=h;h++)u=d*h,c=1-u,n=r-(r=(u*u*o+3*c*(u*a+c*l))*u),p=m*i+h-1,e[p]=(e[p]||0)+n*n},d=function(t,e){e=e>>0||6;var i,n,r,s,o=[],a=[],l=0,u=0,h=e-1,c=[],f=[];for(i in t)p(t[i],o,e);for(r=o.length,n=0;r>n;n++)l+=Math.sqrt(o[n]),s=n%e,f[s]=l,s===h&&(u+=l,s=n/e>>0,c[s]=f,a[s]=u,l=0,f=[]);return{length:u,lengths:a,segments:c}},m=s._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.3",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,r,s,o,a,l=e.values||[],u={},h=l[0],p=e.autoRotate||i.vars.orientToBezier;this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",p===!0?0:Number(p)||0]]:null;for(n in h)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],u[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||u[n]!==l[0][n]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):f(l,e.type,u),this._segCount=this._beziers[n].length,this._timeRes){var m=d(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),s=p.length;--s>-1;){for(o=0;3>o;o++)n=p[s][o],this._func[n]="function"==typeof t[n]?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]:!1;n=p[s][2],this._initialRotations[s]=this._func[n]?this._func[n].call(this._target):this._target[n]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,n,r,s,o,a,l,u,h,c,f=this._segCount,p=this._func,d=this._target,m=e!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,e*=this._length,r=this._li,e>this._l2&&f-1>r){for(u=f-1;u>r&&e>=(this._l2=h[++r]););this._l1=h[r-1],this._li=r,this._curSeg=c=this._segments[r],this._s2=c[this._s1=this._si=0]}else if(this._l1>e&&r>0){for(;r>0&&(this._l1=h[--r])>=e;);0===r&&this._l1>e?this._l1=0:r++,this._l2=h[r],this._li=r,this._curSeg=c=this._segments[r],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(i=r,e-=this._l1,r=this._si,e>this._s2&&c.length-1>r){for(u=c.length-1;u>r&&e>=(this._s2=c[++r]););this._s1=c[r-1],this._si=r}else if(this._s1>e&&r>0){for(;r>0&&(this._s1=c[--r])>=e;);0===r&&this._s1>e?this._s1=0:r++,this._s2=c[r],this._si=r 2 | }a=(r+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?f-1:f*e>>0,a=(e-i*(1/f))*f;for(n=1-a,r=this._props.length;--r>-1;)s=this._props[r],o=this._beziers[s][i],l=(a*a*o.da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._round[s]&&(l=Math.round(l)),p[s]?d[s](l):d[s]=l;if(this._autoRotate){var g,_,v,y,x,w,T,b=this._autoRotate;for(r=b.length;--r>-1;)s=b[r][2],w=b[r][3]||0,T=b[r][4]===!0?1:t,o=this._beziers[b[r][0]],g=this._beziers[b[r][1]],o&&g&&(o=o[i],g=g[i],_=o.a+(o.b-o.a)*a,y=o.b+(o.c-o.b)*a,_+=(y-_)*a,y+=(o.c+(o.d-o.c)*a-y)*a,v=g.a+(g.b-g.a)*a,x=g.b+(g.c-g.b)*a,v+=(x-v)*a,x+=(g.c+(g.d-g.c)*a-x)*a,l=m?Math.atan2(x-v,y-_)*T+w:this._initialRotations[r],p[s]?d[s](l):d[s]=l)}}}),g=m.prototype;m.bezierThrough=c,m.cubicToQuadratic=l,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=s._gsDefine.globals.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new m;var u,h,c,f=e.values,p=f.length-1,d=[],g={};if(0>p)return a;for(u=0;p>=u;u++)c=i(t,f[u],o,a,l,p!==u),d[u]=c.end;for(h in e)g[h]=e[h];return g.values=d,a=new r(t,"bezier",0,0,c.pt,2),a.data=c,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=g.autoRotate===!0?0:Number(g.autoRotate),g.autoRotate=null!=c.end.left?[["left","top","rotation",u,!1]]:null!=c.end.x?[["x","y","rotation",u,!1]]:!1),g.autoRotate&&(o._transform||o._enableTransforms(!1),c.autoRotate=o._target._gsTransform),l._onInitTween(c.proxy,g,o._tween),a}})}},g._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;--n>-1;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)}}(),s._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,o,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},l={},u=a.prototype=new t("css");u.constructor=a,a.version="1.13.1",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",u="px",a.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var h,c,f,p,d,m,g=/(?:\d|\-\d|\.\d|\-\.\d)+/g,_=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/[^\d\-\.]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,T=/opacity:([^;]*)/i,b=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,P=/([A-Z])/g,C=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,R=function(t,e){return e.toUpperCase()},A=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,O=/,(?=[^\)]*(?:\(|$))/gi,N=Math.PI/180,M=180/Math.PI,F={},L=document,j=L.createElement("div"),I=L.createElement("img"),z=a._internals={_specialProps:l},q=navigator.userAgent,H=function(){var t,e=q.indexOf("Android"),i=L.createElement("div");return f=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===e||Number(q.substr(e+8,1))>3),d=f&&6>Number(q.substr(q.indexOf("Version/")+8,1)),p=-1!==q.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)&&(m=parseFloat(RegExp.$1)),i.innerHTML="a",t=i.getElementsByTagName("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),X=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},B=function(t){window.console&&console.log(t)},W="",$="",U=function(t,e){e=e||j;var i,n,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?($=3===n?"ms":i[n],W="-"+$.toLowerCase()+"-",$+t):null},Y=L.defaultView?L.defaultView.getComputedStyle:function(){},V=a.getStyle=function(t,e,i,n,r){var s;return H||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||Y(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(P,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):X(t)},G=z.convertToPixels=function(t,i,n,r,s){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,l,u,h=A.test(i),c=t,f=j.style,p=0>n;if(p&&(n=-n),"%"===r&&-1!==i.indexOf("border"))o=n/100*(h?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+V(t,"position")+";line-height:0;","%"!==r&&c.appendChild)f[h?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(c=t.parentNode||L.body,l=c._gsCache,u=e.ticker.frame,l&&h&&l.time===u)return l.width*n/100;f[h?"width":"height"]=n+r}c.appendChild(j),o=parseFloat(j[h?"offsetWidth":"offsetHeight"]),c.removeChild(j),h&&"%"===r&&a.cacheWidths!==!1&&(l=c._gsCache=c._gsCache||{},l.time=u,l.width=100*(o/n)),0!==o||s||(o=G(t,i,n,r,!0))}return p?-o:o},Z=z.calculateOffset=function(t,e,i){if("absolute"!==V(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=V(t,"margin"+n,i);return t["offset"+n]-(G(t,e,parseFloat(r),r.replace(x,""))||0)},Q=function(t,e){var i,n,r={};if(e=e||Y(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(C,R)]=e.getPropertyValue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===r[i]&&(r[i.replace(C,R)]=e[i]);return H||(r.opacity=X(t)),n=Pe(t,e,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,be&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},J=function(t,e,i,n,r){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(y,"")?s:0:Z(t,o),void 0!==u[o]&&(a=new fe(u,o,u[o],a)));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},K={width:["Left","Right"],height:["Top","Bottom"]},te=["marginLeft","marginRight","marginTop","marginBottom"],ee=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=K[e],s=r.length;for(i=i||Y(t,null);--s>-1;)n-=parseFloat(V(t,"padding"+r[s],i,!0))||0,n-=parseFloat(V(t,"border"+r[s]+"Width",i,!0))||0;return n},ie=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(n.replace(y,"")),e.oy=parseFloat(r.replace(y,""))),n+" "+r+(i.length>2?" "+i[2]:"")},ne=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},re=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},se=function(t,e,i,n){var r,s,o,a,l=1e-6;return null==t?a=e:"number"==typeof t?a=t:(r=360,s=t.split("_"),o=Number(s[0].replace(y,""))*(-1===t.indexOf("rad")?1:M)-("="===t.charAt(1)?0:e),s.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=r,o!==o%(r/2)&&(o=0>o?o+r:o-r)),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*r)%r-(0|o/r)*r:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(0|o/r)*r)),a=e+o),l>a&&a>-l&&(a=0),a},oe={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ae=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},le=function(t){var e,i,n,r,s,o;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),oe[t]?oe[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(g),r=Number(t[0])%360/360,s=Number(t[1])/100,o=Number(t[2])/100,i=.5>=o?o*(s+1):o+s-o*s,e=2*o-i,t.length>3&&(t[3]=Number(t[3])),t[0]=ae(r+1/3,e,i),t[1]=ae(r,e,i),t[2]=ae(r-1/3,e,i),t):(t=t.match(g)||oe.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):oe.black},ue="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(u in oe)ue+="|"+u+"\\b";ue=RegExp(ue+")","gi");var he=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(ue)||[""])[0]:"",o=t.split(s).join("").match(v)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",h=o.length,c=h>0?o[0].replace(g,""):"";return h?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=c;else if(n&&O.test(t)){for(d=t.replace(O,"|").split("|"),p=0;d.length>p;p++)d[p]=r(d[p]);return d.join(",")}if(e=(t.match(ue)||[s])[0],f=t.split(e).join("").match(v)||[],p=f.length,h>p--)for(;h>++p;)f[p]=i?f[0|(p-1)/2]:o[p];return a+f.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=c;else if(n&&O.test(t)){for(s=t.replace(O,"|").split("|"),f=0;s.length>f;f++)s[f]=r(s[f]);return s.join(",")}if(e=t.match(v)||[],f=e.length,h>f--)for(;h>++f;)e[f]=i?e[0|(f-1)/2]:o[f];return a+e.join(u)+l}:function(t){return t}},ce=function(t){return t=t.split(","),function(e,i,n,r,s,o,a){var l,u=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return r.parse(e,a,s,o)}},fe=(z._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s=this.data,o=s.proxy,a=s.firstMPT,l=1e-6;a;)e=o[a.v],a.r?e=Math.round(e):l>e&&e>-l&&(e=0),a.t[a.p]=e,a=a._next;if(s.autoRotate&&(s.autoRotate.rotation=o.rotation),1===t)for(a=s.firstMPT;a;){if(i=a.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)r+=i["xn"+n]+i["xs"+(n+1)];i.e=r}}else i.e=i.s+i.xs0;a=a._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),pe=(z._parseToProxy=function(t,e,i,n,r,s){var o,a,l,u,h,c=n,f={},p={},d=i._transform,m=F;for(i._transform=null,F=e,n=h=i.parse(t,e,n,r),F=m,s&&(i._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(1>=n.type&&(a=n.p,p[a]=n.s+n.c,f[a]=n.s,s||(u=new fe(n,"s",a,u,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,a=n.p+"_"+l,p[a]=n.data[l],f[a]=n[l],s||(u=new fe(n,l,a,u,n.rxp[l]));n=n._next}return{proxy:f,end:p,firstMPT:u,pt:h}},z.CSSPropTween=function(t,e,n,r,s,a,l,u,h,c,f){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof pe||o.push(this.n),this.r=u,this.type=a||0,h&&(this.pr=h,i=!0),this.b=void 0===c?n:c,this.e=void 0===f?n+r:f,s&&(this._next=s,s._prev=this)}),de=a.parseComplex=function(t,e,i,n,r,s,o,a,l,u){i=i||s||"",o=new pe(t,e,0,0,o,u?2:1,null,!1,a,i,n),n+="";var c,f,p,d,m,v,y,x,w,T,b,P,C=i.split(", ").join(",").split(" "),k=n.split(", ").join(",").split(" "),R=C.length,A=h!==!1;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(C=C.join(" ").replace(O,", ").split(" "),k=k.join(" ").replace(O,", ").split(" "),R=C.length),R!==k.length&&(C=(s||"").split(" "),R=C.length),o.plugin=l,o.setRatio=u,c=0;R>c;c++)if(d=C[c],m=k[c],x=parseFloat(d),x||0===x)o.appendXtra("",x,ne(m,x),m.replace(_,""),A&&-1!==m.indexOf("px"),!0);else if(r&&("#"===d.charAt(0)||oe[d]||S.test(d)))P=","===m.charAt(m.length-1)?"),":")",d=le(d),m=le(m),w=d.length+m.length>6,w&&!H&&0===m[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(k[c]).join("transparent")):(H||(w=!1),o.appendXtra(w?"rgba(":"rgb(",d[0],m[0]-d[0],",",!0,!0).appendXtra("",d[1],m[1]-d[1],",",!0).appendXtra("",d[2],m[2]-d[2],w?",":P,!0),w&&(d=4>d.length?1:d[3],o.appendXtra("",d,(4>m.length?1:m[3])-d,P,!1)));else if(v=d.match(g)){if(y=m.match(_),!y||y.length!==v.length)return o;for(p=0,f=0;v.length>f;f++)b=v[f],T=d.indexOf(b,p),o.appendXtra(d.substr(p,T-p),Number(b),ne(y[f],b),"",A&&"px"===d.substr(T+b.length,2),0===f),p=T+b.length;o["xs"+o.l]+=d.substr(p)}else o["xs"+o.l]+=o.l?" "+d:d;if(-1!==n.indexOf("=")&&o.data){for(P=o.xs0+o.data.s,c=1;o.l>c;c++)P+=o["xs"+c]+o.data["xn"+c];o.e=P+o["xs"+c]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},me=9;for(u=pe.prototype,u.l=u.pr=0;--me>0;)u["xn"+me]=0,u["xs"+me]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,n,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&a?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=r,o["xn"+a]=e,o.plugin||(o.xfirst=new pe(o,"xn"+a,e,i,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=r,o)):(o["xs"+a]+=e+(n||""),o)};var ge=function(t,e){e=e||{},this.p=e.prefix?U(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||he(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},_e=z._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r,s=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;s.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,r=new ge(s[n],e)},ve=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";_e(t,{parser:function(t,i,n,r,o,a,u){var h=(s.GreenSockGlobals||s).com.greensock.plugins[e];return h?(h._cssRegister(),l[n].parse(t,i,n,r,o,a,u)):(B("Error: "+e+" js file not loaded."),o)}})}};u=ge.prototype,u.parseComplex=function(t,e,i,n,r,s){var o,a,l,u,h,c,f=this.keyword;if(this.multi&&(O.test(i)||O.test(e)?(a=e.replace(O,"|").split("|"),l=i.replace(O,"|").split("|")):f&&(a=[e],l=[i])),l){for(u=l.length>a.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(h=e.indexOf(f),c=i.indexOf(f),h!==c&&(i=-1===c?l:a,i[o]+=" "+f));e=a.join(", "),i=l.join(", ")}return de(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},u.parse=function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(V(t,this.p,r,!1,this.dflt)),this.format(e),s,o)},a.registerSpecialProp=function(t,e,i){_e(t,{parser:function(t,n,r,s,o,a){var l=new pe(t,r,0,0,o,2,r,!1,i);return l.plugin=a,l.setRatio=e(t,n,s._tween,r),l},priority:i})};var ye="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),xe=U("transform"),we=W+"transform",Te=U("transformOrigin"),be=null!==U("perspective"),Se=z.Transform=function(){this.skewY=0},Pe=z.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var r,s,o,l,u,h,c,f,p,d,m,g,_,v=i?t._gsTransform||new Se:new Se,y=0>v.scaleX,x=2e-5,w=1e5,T=179.99,b=T*N,S=be?parseFloat(V(t,Te,e,!1,"0 0 0").split(" ")[2])||v.zOrigin||0:0;if(xe?r=V(t,we,e,!0):t.currentStyle&&(r=t.currentStyle.filter.match(E),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),v.x||0,v.y||0].join(","):""),r&&"none"!==r&&"matrix(1, 0, 0, 1, 0, 0)"!==r){for(s=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],o=s.length;--o>-1;)l=Number(s[o]),s[o]=(u=l-(l|=0))?(0|u*w+(0>u?-.5:.5))/w+l:l;if(16===s.length){var P=s[8],C=s[9],k=s[10],R=s[12],A=s[13],D=s[14];if(v.zOrigin&&(D=-v.zOrigin,R=P*D-s[12],A=C*D-s[13],D=k*D+v.zOrigin-s[14]),!i||n||null==v.rotationX){var O,F,L,j,I,z,q,H=s[0],X=s[1],B=s[2],W=s[3],$=s[4],U=s[5],Y=s[6],G=s[7],Z=s[11],Q=Math.atan2(Y,k),J=-b>Q||Q>b;v.rotationX=Q*M,Q&&(j=Math.cos(-Q),I=Math.sin(-Q),O=$*j+P*I,F=U*j+C*I,L=Y*j+k*I,P=$*-I+P*j,C=U*-I+C*j,k=Y*-I+k*j,Z=G*-I+Z*j,$=O,U=F,Y=L),Q=Math.atan2(P,H),v.rotationY=Q*M,Q&&(z=-b>Q||Q>b,j=Math.cos(-Q),I=Math.sin(-Q),O=H*j-P*I,F=X*j-C*I,L=B*j-k*I,C=X*I+C*j,k=B*I+k*j,Z=W*I+Z*j,H=O,X=F,B=L),Q=Math.atan2(X,U),v.rotation=Q*M,Q&&(q=-b>Q||Q>b,j=Math.cos(-Q),I=Math.sin(-Q),H=H*j+$*I,F=X*j+U*I,U=X*-I+U*j,Y=B*-I+Y*j,X=F),q&&J?v.rotation=v.rotationX=0:q&&z?v.rotation=v.rotationY=0:z&&J&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(H*H+X*X)*w+.5)/w,v.scaleY=(0|Math.sqrt(U*U+C*C)*w+.5)/w,v.scaleZ=(0|Math.sqrt(Y*Y+k*k)*w+.5)/w,v.skewX=0,v.perspective=Z?1/(0>Z?-Z:Z):0,v.x=R,v.y=A,v.z=D}}else if(!(be&&!n&&s.length&&v.x===s[4]&&v.y===s[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===V(t,"display",e))){var K=s.length>=6,te=K?s[0]:1,ee=s[1]||0,ie=s[2]||0,ne=K?s[3]:1;v.x=s[4]||0,v.y=s[5]||0,h=Math.sqrt(te*te+ee*ee),c=Math.sqrt(ne*ne+ie*ie),f=te||ee?Math.atan2(ee,te)*M:v.rotation||0,p=ie||ne?Math.atan2(ie,ne)*M+f:v.skewX||0,d=h-Math.abs(v.scaleX||0),m=c-Math.abs(v.scaleY||0),Math.abs(p)>90&&270>Math.abs(p)&&(y?(h*=-1,p+=0>=f?180:-180,f+=0>=f?180:-180):(c*=-1,p+=0>=p?180:-180)),g=(f-v.rotation)%180,_=(p-v.skewX)%180,(void 0===v.skewX||d>x||-x>d||m>x||-x>m||g>-T&&T>g&&!1|g*w||_>-T&&T>_&&!1|_*w)&&(v.scaleX=h,v.scaleY=c,v.rotation=f,v.skewX=p),be&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(a.defaultTransformPerspective)||0,v.scaleZ=1)}v.zOrigin=S;for(o in v)x>v[o]&&v[o]>-x&&(v[o]=0)}else v={x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,perspective:0,rotation:0,rotationX:0,rotationY:0,zOrigin:0};return i&&(t._gsTransform=v),v.xPercent=v.yPercent=0,v},Ce=function(t){var e,i,n=this.data,r=-n.rotation*N,s=r+n.skewX*N,o=1e5,a=(0|Math.cos(r)*n.scaleX*o)/o,l=(0|Math.sin(r)*n.scaleX*o)/o,u=(0|Math.sin(s)*-n.scaleY*o)/o,h=(0|Math.cos(s)*n.scaleY*o)/o,c=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-u,u=-i,e=f.filter,c.filter="";var p,d,g=this.t.offsetWidth,_=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+h,T=n.x+g*n.xPercent/100,b=n.y+_*n.yPercent/100;if(null!=n.ox&&(p=(n.oxp?.01*g*n.ox:n.ox)-g/2,d=(n.oyp?.01*_*n.oy:n.oy)-_/2,T+=p-(p*a+d*l),b+=d-(p*u+d*h)),v?(p=g/2,d=_/2,y+=", Dx="+(p-(p*a+d*l)+T)+", Dy="+(d-(p*u+d*h)+b)+")"):y+=", sizingMethod='auto expand')",c.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(D,y):y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===h&&(v&&-1===y.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf("gradient("&&e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var S,P,C,k=8>m?1:-1;for(p=n.ieOffsetX||0,d=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*_))/2+T),n.ieOffsetY=Math.round((_-((0>h?-h:h)*_+(0>u?-u:u)*g))/2+b),me=0;4>me;me++)P=te[me],S=f[P],i=-1!==S.indexOf("px")?parseFloat(S):G(this.t,P,parseFloat(S),S.replace(x,""))||0,C=i!==n[P]?2>me?-n.ieOffsetX:-n.ieOffsetY:2>me?p-n.ieOffsetX:d-n.ieOffsetY,c[P]=(n[P]=Math.round(i-C*(0===me||2===me?1:k)))+"px"}}},ke=z.set3DTransformRatio=function(t){var e,i,n,r,s,o,a,l,u,h,c,f,d,m,g,_,v,y,x,w,T,b,S,P=this.data,C=this.t.style,k=P.rotation*N,R=P.scaleX,A=P.scaleY,E=P.scaleZ,D=P.x,O=P.y,M=P.z,F=P.perspective;if(!(1!==t&&0!==t||"auto"!==P.force3D||P.rotationY||P.rotationX||1!==E||F||M))return Re.call(this,t),void 0;if(p){var L=1e-4;L>R&&R>-L&&(R=E=2e-5),L>A&&A>-L&&(A=E=2e-5),!F||P.z||P.rotationX||P.rotationY||(F=0)}if(k||P.skewX)y=Math.cos(k),x=Math.sin(k),e=y,s=x,P.skewX&&(k-=P.skewX*N,y=Math.cos(k),x=Math.sin(k),"simple"===P.skewType&&(w=Math.tan(P.skewX*N),w=Math.sqrt(1+w*w),y*=w,x*=w)),i=-x,o=y;else{if(!(P.rotationY||P.rotationX||1!==E||F))return C[xe]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+O+"px,"+M+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""),void 0;e=o=1,i=s=0}c=1,n=r=a=l=u=h=f=d=m=0,g=F?-1/F:0,_=P.zOrigin,v=1e5,k=P.rotationY*N,k&&(y=Math.cos(k),x=Math.sin(k),u=c*-x,d=g*-x,n=e*x,a=s*x,c*=y,g*=y,e*=y,s*=y),k=P.rotationX*N,k&&(y=Math.cos(k),x=Math.sin(k),w=i*y+n*x,T=o*y+a*x,b=h*y+c*x,S=m*y+g*x,n=i*-x+n*y,a=o*-x+a*y,c=h*-x+c*y,g=m*-x+g*y,i=w,o=T,h=b,m=S),1!==E&&(n*=E,a*=E,c*=E,g*=E),1!==A&&(i*=A,o*=A,h*=A,m*=A),1!==R&&(e*=R,s*=R,u*=R,d*=R),_&&(f-=_,r=n*f,l=a*f,f=c*f+_),r=(w=(r+=D)-(r|=0))?(0|w*v+(0>w?-.5:.5))/v+r:r,l=(w=(l+=O)-(l|=0))?(0|w*v+(0>w?-.5:.5))/v+l:l,f=(w=(f+=M)-(f|=0))?(0|w*v+(0>w?-.5:.5))/v+f:f,C[xe]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix3d(":"matrix3d(")+[(0|e*v)/v,(0|s*v)/v,(0|u*v)/v,(0|d*v)/v,(0|i*v)/v,(0|o*v)/v,(0|h*v)/v,(0|m*v)/v,(0|n*v)/v,(0|a*v)/v,(0|c*v)/v,(0|g*v)/v,r,l,f,F?1+-f/F:1].join(",")+")"},Re=z.set2DTransformRatio=function(t){var e,i,n,r,s,o=this.data,a=this.t,l=a.style,u=o.x,h=o.y;return o.rotationX||o.rotationY||o.z||o.force3D===!0||"auto"===o.force3D&&1!==t&&0!==t?(this.setRatio=ke,ke.call(this,t),void 0):(o.rotation||o.skewX?(e=o.rotation*N,i=e-o.skewX*N,n=1e5,r=o.scaleX*n,s=o.scaleY*n,l[xe]=(o.xPercent||o.yPercent?"translate("+o.xPercent+"%,"+o.yPercent+"%) matrix(":"matrix(")+(0|Math.cos(e)*r)/n+","+(0|Math.sin(e)*r)/n+","+(0|Math.sin(i)*-s)/n+","+(0|Math.cos(i)*s)/n+","+u+","+h+")"):l[xe]=(o.xPercent||o.yPercent?"translate("+o.xPercent+"%,"+o.yPercent+"%) matrix(":"matrix(")+o.scaleX+",0,0,"+o.scaleY+","+u+","+h+")",void 0)};_e("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(t,e,i,n,s,o,l){if(n._transform)return s;var u,h,c,f,p,d,m,g=n._transform=Pe(t,r,!0,l.parseTransform),_=t.style,v=1e-6,y=ye.length,x=l,w={};if("string"==typeof x.transform&&xe)c=j.style,c[xe]=x.transform,c.display="block",c.position="absolute",L.body.appendChild(j),u=Pe(j,null,!1),L.body.removeChild(j);else if("object"==typeof x){if(u={scaleX:re(null!=x.scaleX?x.scaleX:x.scale,g.scaleX),scaleY:re(null!=x.scaleY?x.scaleY:x.scale,g.scaleY),scaleZ:re(x.scaleZ,g.scaleZ),x:re(x.x,g.x),y:re(x.y,g.y),z:re(x.z,g.z),xPercent:re(x.xPercent,g.xPercent),yPercent:re(x.yPercent,g.yPercent),perspective:re(x.transformPerspective,g.perspective)},m=x.directionalRotation,null!=m)if("object"==typeof m)for(c in m)x[c]=m[c];else x.rotation=m;"string"==typeof x.x&&-1!==x.x.indexOf("%")&&(u.x=0,u.xPercent=re(x.x,g.xPercent)),"string"==typeof x.y&&-1!==x.y.indexOf("%")&&(u.y=0,u.yPercent=re(x.y,g.yPercent)),u.rotation=se("rotation"in x?x.rotation:"shortRotation"in x?x.shortRotation+"_short":"rotationZ"in x?x.rotationZ:g.rotation,g.rotation,"rotation",w),be&&(u.rotationX=se("rotationX"in x?x.rotationX:"shortRotationX"in x?x.shortRotationX+"_short":g.rotationX||0,g.rotationX,"rotationX",w),u.rotationY=se("rotationY"in x?x.rotationY:"shortRotationY"in x?x.shortRotationY+"_short":g.rotationY||0,g.rotationY,"rotationY",w)),u.skewX=null==x.skewX?g.skewX:se(x.skewX,g.skewX),u.skewY=null==x.skewY?g.skewY:se(x.skewY,g.skewY),(h=u.skewY-g.skewY)&&(u.skewX+=h,u.rotation+=h)}for(be&&null!=x.force3D&&(g.force3D=x.force3D,d=!0),g.skewType=x.skewType||g.skewType||a.defaultSkewType,p=g.force3D||g.z||g.rotationX||g.rotationY||u.z||u.rotationX||u.rotationY||u.perspective,p||null==x.scale||(u.scaleZ=1);--y>-1;)i=ye[y],f=u[i]-g[i],(f>v||-v>f||null!=F[i])&&(d=!0,s=new pe(g,i,g[i],f,s),i in w&&(s.e=w[i]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return f=x.transformOrigin,(f||be&&p&&g.zOrigin)&&(xe?(d=!0,i=Te,f=(f||V(t,i,r,!1,"50% 50%"))+"",s=new pe(_,i,0,0,s,-1,"transformOrigin"),s.b=_[i],s.plugin=o,be?(c=g.zOrigin,f=f.split(" "),g.zOrigin=(f.length>2&&(0===c||"0px"!==f[2])?parseFloat(f[2]):c)||0,s.xs0=s.e=f[0]+" "+(f[1]||"50%")+" 0px",s=new pe(g,"zOrigin",0,0,s,-1,s.n),s.b=c,s.xs0=s.e=g.zOrigin):s.xs0=s.e=f):ie(f+"",g)),d&&(n._transformType=p||3===this._transformType?3:2),s},prefix:!0}),_e("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),_e("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o){e=this.format(e);var a,l,u,h,c,f,p,d,m,g,_,v,y,x,w,T,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),a=e.split(" "),l=0;b.length>l;l++)this.p.indexOf("border")&&(b[l]=U(b[l])),c=h=V(t,b[l],r,!1,"0px"),-1!==c.indexOf(" ")&&(h=c.split(" "),c=h[0],h=h[1]),f=u=a[l],p=parseFloat(c),v=c.substr((p+"").length),y="="===f.charAt(1),y?(d=parseInt(f.charAt(0)+"1",10),f=f.substr(2),d*=parseFloat(f),_=f.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(f),_=f.substr((d+"").length)),""===_&&(_=n[i]||v),_!==v&&(x=G(t,"borderLeft",p,v),w=G(t,"borderTop",p,v),"%"===_?(c=100*(x/m)+"%",h=100*(w/g)+"%"):"em"===_?(T=G(t,"borderLeft",1,"em"),c=x/T+"em",h=w/T+"em"):(c=x+"px",h=w+"px"),y&&(f=parseFloat(c)+d+_,u=parseFloat(h)+d+_)),o=de(S,b[l],c+" "+h,f+" "+u,!1,"0px",o);return o},prefix:!0,formatter:he("0px 0px 0px 0px",!1,!0)}),_e("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,o){var a,l,u,h,c,f,p="background-position",d=r||Y(t,null),g=this.format((d?m?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),_=this.format(e);if(-1!==g.indexOf("%")!=(-1!==_.indexOf("%"))&&(f=V(t,"backgroundImage").replace(k,""),f&&"none"!==f)){for(a=g.split(" "),l=_.split(" "),I.setAttribute("src",f),u=2;--u>-1;)g=a[u],h=-1!==g.indexOf("%"),h!==(-1!==l[u].indexOf("%"))&&(c=0===u?t.offsetWidth-I.width:t.offsetHeight-I.height,a[u]=h?parseFloat(g)/100*c+"px":100*(parseFloat(g)/c)+"%");g=a.join(" ")}return this.parseComplex(t.style,g,_,s,o)},formatter:ie}),_e("backgroundSize",{defaultValue:"0 0",formatter:ie}),_e("perspective",{defaultValue:"0px",prefix:!0}),_e("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),_e("transformStyle",{prefix:!0}),_e("backfaceVisibility",{prefix:!0}),_e("userSelect",{prefix:!0}),_e("margin",{parser:ce("marginTop,marginRight,marginBottom,marginLeft")}),_e("padding",{parser:ce("paddingTop,paddingRight,paddingBottom,paddingLeft")}),_e("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,o){var a,l,u;return 9>m?(l=t.currentStyle,u=8>m?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(V(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),_e("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),_e("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),_e("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(V(t,"borderTopWidth",r,!1,"0px")+" "+V(t,"borderTopStyle",r,!1,"solid")+" "+V(t,"borderTopColor",r,!1,"#000")),this.format(e),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ue)||["#000"])[0]}}),_e("borderWidth",{parser:ce("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),_e("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r){var s=t.style,o="cssFloat"in s?"cssFloat":"styleFloat";return new pe(s,o,0,0,r,-1,i,!1,0,s[o],e)}});var Ae=function(t){var e,i=this.t,n=i.filter||V(this.data,"filter"),r=0|this.s+this.c*t;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!V(this.data,"filter")):(i.filter=n.replace(b,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(w,"opacity="+r))};_e("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,o){var a=parseFloat(V(t,"opacity",r,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===V(t,"visibility",r)&&0!==e&&(a=0),H?s=new pe(l,"opacity",a,e-a,s):(s=new pe(l,"opacity",100*a,100*(e-a),s),s.xn1=u?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Ae),u&&(s=new pe(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),s.xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Ee=function(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(P,"-$1").toLowerCase())):t.removeAttribute(e))},De=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ee(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};_e("className",{parser:function(t,e,n,s,o,a,l){var u,h,c,f,p,d=t.getAttribute("class")||"",m=t.style.cssText;if(o=s._classNamePT=new pe(t,n,0,0,o,2),o.setRatio=De,o.pr=-11,i=!0,o.b=d,h=Q(t,r),c=t._gsClassPT){for(f={},p=c.data;p;)f[p.p]=1,p=p._next;c.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),s._tween._duration&&(t.setAttribute("class",o.e),u=J(t,h,Q(t),l,f),t.setAttribute("class",d),o.data=u.firstMPT,t.style.cssText=m,o=o.xfirst=s.parse(t,u.difs,o,a)),o}});var Oe=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s=this.t.style,o=l.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(e=this.e.split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===o?r=!0:i="transformOrigin"===i?Te:l[i].p),Ee(s,i);r&&(Ee(s,xe),this.t._gsTransform&&delete this.t._gsTransform)}};for(_e("clearProps",{parser:function(t,e,n,r,s){return s=new pe(t,n,0,0,s,2),s.setRatio=Oe,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),me=u.length;me--;)ve(u[me]);u=a.prototype,u._firstPT=null,u._onInitTween=function(t,e,s){if(!t.nodeType)return!1;this._target=t,this._tween=s,this._vars=e,h=e.autoRound,i=!1,n=e.suffixMap||a.suffixMap,r=Y(t,""),o=this._overwriteProps;var l,u,p,m,g,_,v,y,x,w=t.style;if(c&&""===w.zIndex&&(l=V(t,"zIndex",r),("auto"===l||""===l)&&this._addLazySet(w,"zIndex",0)),"string"==typeof e&&(m=w.cssText,l=Q(t,r),w.cssText=m+";"+e,l=J(t,l,Q(t)).difs,!H&&T.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=m),this._firstPT=u=this.parse(t,e,null),this._transformType){for(x=3===this._transformType,xe?f&&(c=!0,""===w.zIndex&&(v=V(t,"zIndex",r),("auto"===v||""===v)&&this._addLazySet(w,"zIndex",0)),d&&this._addLazySet(w,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(x?"visible":"hidden"))):w.zoom=1,p=u;p&&p._next;)p=p._next;y=new pe(t,"transform",0,0,null,2),this._linkCSSP(y,null,p),y.setRatio=x&&be?ke:xe?Re:Ce,y.data=this._transform||Pe(t,r,!0),o.pop()}if(i){for(;u;){for(_=u._next,p=m;p&&p.pr>u.pr;)p=p._next;(u._prev=p?p._prev:g)?u._prev._next=u:m=u,(u._next=p)?p._prev=u:g=u,u=_}this._firstPT=m}return!0},u.parse=function(t,e,i,s){var o,a,u,c,f,p,d,m,g,_,v=t.style;for(o in e)p=e[o],a=l[o],a?i=a.parse(t,p,o,this,i,s,e):(f=V(t,o,r)+"",g="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||g&&S.test(p)?(g||(p=le(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=de(v,o,f,p,!0,"transparent",i,0,s)):!g||-1===p.indexOf(" ")&&-1===p.indexOf(",")?(u=parseFloat(f),d=u||0===u?f.substr((u+"").length):"",(""===f||"auto"===f)&&("width"===o||"height"===o?(u=ee(t,o,r),d="px"):"left"===o||"top"===o?(u=Z(t,o,r),d="px"):(u="opacity"!==o?0:1,d="")),_=g&&"="===p.charAt(1),_?(c=parseInt(p.charAt(0)+"1",10),p=p.substr(2),c*=parseFloat(p),m=p.replace(x,"")):(c=parseFloat(p),m=g?p.substr((c+"").length)||"":""),""===m&&(m=o in n?n[o]:d),p=c||0===c?(_?c+u:c)+m:e[o],d!==m&&""!==m&&(c||0===c)&&u&&(u=G(t,o,u,d),"%"===m?(u/=G(t,o,100,"%")/100,e.strictUnits!==!0&&(f=u+"%")):"em"===m?u/=G(t,o,1,"em"):"px"!==m&&(c=G(t,o,c,m),m="px"),_&&(c||0===c)&&(p=c+u+m)),_&&(c+=u),!u&&0!==u||!c&&0!==c?void 0!==v[o]&&(p||"NaN"!=p+""&&null!=p)?(i=new pe(v,o,c||u||0,0,i,-1,o,!1,0,f,p),i.xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f):B("invalid "+o+" tween value: "+e[o]):(i=new pe(v,o,u,c-u,i,0,o,h!==!1&&("px"===m||"zIndex"===o),0,f,p),i.xs0=m)):i=de(v,o,f,p,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s); 3 | return i},u.setRatio=function(t){var e,i,n,r=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):s>e&&e>-s&&(e=0),r.type)if(1===r.type)if(n=r.l,2===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;r.l>n;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},u._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||Pe(this._target,r,!0)};var Ne=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var n=this._firstPT=new pe(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Ne,n.data=this},u._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._kill=function(e){var i,n,r,s=e;if(e.autoAlpha||e.alpha){s={};for(n in e)s[n]=e[n];s.opacity=1,s.autoAlpha&&(s.visibility=1)}return e.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),t.prototype._kill.call(this,s)};var Me=function(t,e,i){var n,r,s,o;if(t.slice)for(r=t.length;--r>-1;)Me(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)s=n[r],o=s.type,s.style&&(e.push(Q(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Me(s,e,i)};return a.cascadeTo=function(t,i,n){var r,s,o,a=e.to(t,i,n),l=[a],u=[],h=[],c=[],f=e._internals.reservedProps;for(t=a._targets||a.target,Me(t,u,c),a.render(i,!0),Me(t,h),a.render(0,!0),a._enabled(!0),r=c.length;--r>-1;)if(s=J(c[r],u[r],h[r]),s.firstMPT){s=s.difs;for(o in n)f[o]&&(s[o]=n[o]);l.push(e.to(c[r],i,s))}return l},t.activate([a]),a},!0),function(){var t=s._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._onInitAllProps=function(){for(var t,e,i,n=this._tween,r=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),s=r.length,o={},a=n._propLookup.roundProps;--s>-1;)o[r[s]]=1;for(s=r.length;--s>-1;)for(t=r[s],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(o,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),s._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(t,e){var i,n,r;if("function"!=typeof t.setAttribute)return!1;this._target=t,this._proxy={},this._start={},this._end={};for(i in e)this._start[i]=this._proxy[i]=n=t.getAttribute(i),r=this._addTween(this._proxy,i,parseFloat(n),e[i],i),this._end[i]=r?r.s+r.c:e[i],this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length,r=1===t?this._end:t?this._proxy:this._start;--n>-1;)e=i[n],this._target.setAttribute(e,r[e]+"")}}),s._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,n,r,s,o,a,l=e.useRadians===!0?2*Math.PI:360,u=1e-6;for(i in e)"useRadians"!==i&&(a=(e[i]+"").split("_"),n=a[0],r=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),s=this.finals[i]="string"==typeof n&&"="===n.charAt(1)?r+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0,o=s-r,a.length&&(n=a.join("_"),-1!==n.indexOf("short")&&(o%=l,o!==o%(l/2)&&(o=0>o?o+l:o-l)),-1!==n.indexOf("_cw")&&0>o?o=(o+9999999999*l)%l-(0|o/l)*l:-1!==n.indexOf("ccw")&&o>0&&(o=(o-9999999999*l)%l-(0|o/l)*l)),(o>u||-u>o)&&(this._addTween(t,i,r,r+o,i),this._overwriteProps.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,s._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=s.GreenSockGlobals||s,o=r.com.greensock,a=2*Math.PI,l=Math.PI/2,u=o._class,h=function(e,i){var n=u("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},c=t.register||function(){},f=function(t,e,i,n){var r=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return c(r,t),r},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var n=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},m=f("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),g=u("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),_=g.prototype=new t;return _.constructor=g,_.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},g.ease=new g(.7,.7),_.config=g.config=function(t,e,i){return new g(t,e,i)},e=u("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),_=e.prototype=new t,_.constructor=e,_.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},_.config=e.config=function(t){return new e(t)},i=u("easing.RoughEase",function(e){e=e||{};for(var i,n,r,s,o,a,l=e.taper||"none",u=[],h=0,c=0|(e.points||20),f=c,d=e.randomize!==!1,m=e.clamp===!0,g=e.template instanceof t?e.template:null,_="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/c*f,n=g?g.getRatio(i):i,"none"===l?r=_:"out"===l?(s=1-i,r=s*s*_):"in"===l?r=i*i*_:.5>i?(s=2*i,r=.5*s*s*_):(s=2*(1-i),r=.5*s*s*_),d?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:0>n&&(n=0)),u[h++]={x:i,y:n};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=c;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),_=i.prototype=new t,_.constructor=i,_.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},_.config=function(t){return new i(t)},i.ease=new i,f("Bounce",h("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),h("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),h("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var r=u("easing."+e,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/a*(Math.asin(1/this._p1)||0)},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.config=function(t,e){return new r(t,e)},r},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),n("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2))},.3),n("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),f("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",h("SineOut",function(t){return Math.sin(t*l)}),h("SineIn",function(t){return-Math.cos(t*l)+1}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),c(r.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(e,"SteppedEase","ease,"),m},!0)}),s._gsDefine&&s._gsQueue.pop()(),function(t,i){"use strict";var n=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!n.TweenLite){var r,s,o,a,l,u=function(t){var e,i=t.split("."),r=n;for(e=0;i.length>e;e++)r[i[e]]=r=r[i[e]]||{};return r},h=u("com.greensock"),c=1e-10,f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},p=function(){},d=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),m={},g=function(r,s,o,a){this.sc=m[r]?m[r].sc:[],m[r]=this,this.gsClass=null,this.func=o;var l=[];this.check=function(h){for(var c,f,p,d,_=s.length,v=_;--_>-1;)(c=m[s[_]]||new g(s[_],[])).gsClass?(l[_]=c.gsClass,v--):h&&c.sc.push(this);if(0===v&&o)for(f=("com.greensock."+r).split("."),p=f.pop(),d=u(f.join("."))[p]=this.gsClass=o.apply(o,l),a&&(n[p]=d,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return d}):r===i&&"undefined"!=typeof e&&e.exports&&(e.exports=d)),_=0;this.sc.length>_;_++)this.sc[_].check()},this.check(!0)},_=t._gsDefine=function(t,e,i,n){return new g(t,e,i,n)},v=h._class=function(t,e,i){return e=e||function(){},_(t,[],function(){return e},i),e};_.globals=n;var y=[0,0,1,1],x=[],w=v("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?y.concat(e):y},!0),T=w.map={},b=w.register=function(t,e,i,n){for(var r,s,o,a,l=e.split(","),u=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=l[u],r=n?v("easing."+s,null,!0):h.easing[s]||{},o=c.length;--o>-1;)a=c[o],T[s+"."+a]=T[a+s]=r[a]=t.getRatio?t:t[a]||new t};for(o=w.prototype,o._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},r=["Linear","Quad","Cubic","Quart","Quint,Strong"],s=r.length;--s>-1;)o=r[s]+",Power"+s,b(new w(null,null,1,s),o,"easeOut",!0),b(new w(null,null,2,s),o,"easeIn"+(0===s?",easeNone":"")),b(new w(null,null,3,s),o,"easeInOut");T.linear=h.easing.Linear.easeIn,T.swing=h.easing.Quad.easeInOut;var S=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});o=S.prototype,o.addEventListener=function(t,e,i,n,r){r=r||0;var s,o,u=this._listeners[t],h=0;for(null==u&&(this._listeners[t]=u=[]),o=u.length;--o>-1;)s=u[o],s.c===e&&s.s===i?u.splice(o,1):0===h&&r>s.pr&&(h=o+1);u.splice(h,0,{c:e,s:i,up:n,pr:r}),this!==a||l||a.wake()},o.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return n.splice(i,1),void 0},o.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)n=r[e],n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i)};var P=t.requestAnimationFrame,C=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},R=k();for(r=["ms","moz","webkit","o"],s=r.length;--s>-1&&!P;)P=t[r[s]+"RequestAnimationFrame"],C=t[r[s]+"CancelAnimationFrame"]||t[r[s]+"CancelRequestAnimationFrame"];v("Ticker",function(t,e){var i,n,r,s,o,u=this,h=k(),f=e!==!1&&P,d=500,m=33,g=function(t){var e,a,l=k()-R;l>d&&(h+=l-m),R+=l,u.time=(R-h)/1e3,e=u.time-o,(!i||e>0||t===!0)&&(u.frame++,o+=e+(e>=s?.004:s-e),a=!0),t!==!0&&(r=n(g)),a&&u.dispatchEvent("tick")};S.call(u),u.time=u.frame=0,u.tick=function(){g(!0)},u.lagSmoothing=function(t,e){d=t||1/c,m=Math.min(e,d,0)},u.sleep=function(){null!=r&&(f&&C?C(r):clearTimeout(r),n=p,r=null,u===a&&(l=!1))},u.wake=function(){null!==r?u.sleep():u.frame>10&&(R=k()-d+5),n=0===i?p:f&&P?P:function(t){return setTimeout(t,0|1e3*(o-u.time)+1)},u===a&&(l=!0),g(2)},u.fps=function(t){return arguments.length?(i=t,s=1/(i||60),o=this.time+s,u.wake(),void 0):i},u.useRAF=function(t){return arguments.length?(u.sleep(),f=t,u.fps(i),void 0):f},u.fps(t),setTimeout(function(){f&&(!r||5>u.frame)&&u.useRAF(!1)},1500)}),o=h.Ticker.prototype=new h.events.EventDispatcher,o.constructor=h.Ticker;var A=v("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,W){l||a.wake();var i=this.vars.useFrames?B:W;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});a=A.ticker=new h.Ticker,o=A.prototype,o._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var E=function(){l&&k()-R>2e3&&a.wake(),setTimeout(E,2e3)};E(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(){},o.invalidate=function(){return this},o.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},o._enabled=function(t,e){return l||a.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},o._kill=function(){return this._enabled(!1,!1)},o.kill=function(t,e){return this._kill(t,e),this},o._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},o._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},o.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(l||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(this.render(t,e,!1),F.length&&$())}return this},o.progress=o.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},o.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},o.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||c,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},o.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},o.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){l||t||a.wake();var e=this._timeline,i=e.rawTime(),n=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var D=v("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});o=D.prototype=new A,o.constructor=D,o.kill()._gc=!1,o._first=o._last=null,o._sortChildren=!1,o.add=o.insert=function(t,e){var i,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},o.rawTime=function(){return l||a.wake(),this._totalTime};var O=v("TweenLite",function(e,i,n){if(A.call(this,i,n),this.render=O.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:O.selector(e)||e;var r,s,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?X[O.defaultOverwrite]:"number"==typeof l?l>>0:X[l],(a||e instanceof Array||e.push&&d(e))&&"number"!=typeof e[0])for(this._targets=o=f(e),this._propLookup=[],this._siblings=[],r=0;o.length>r;r++)s=o[r],s?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(r--,1),this._targets=o=o.concat(f(s))):(this._siblings[r]=U(s,this,!1),1===l&&this._siblings[r].length>1&&Y(s,this,null,1,this._siblings[r])):(s=o[r--]=O.selector(s),"string"==typeof s&&o.splice(r+1,1)):o.splice(r--,1);else this._propLookup={},this._siblings=U(e,this,!1),1===l&&this._siblings.length>1&&Y(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-c,this.render(-this._delay))},!0),N=function(e){return e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},M=function(t,e){var i,n={};for(i in t)H[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!I[i]||I[i]&&I[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};o=O.prototype=new A,o.constructor=O,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,O.version="1.13.1",O.defaultEase=o._ease=new w(null,null,1,1),O.defaultOverwrite="auto",O.ticker=a,O.autoSleep=!0,O.lagSmoothing=function(t,e){a.lagSmoothing(t,e)},O.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(O.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var F=[],L={},j=O._internals={isArray:d,isSelector:N,lazyTweens:F},I=O._plugins={},z=j.tweenLookup={},q=0,H=j.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1},X={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},B=A._rootFramesTimeline=new D,W=A._rootTimeline=new D,$=j.lazyRender=function(){var t=F.length;for(L={};--t>-1;)r=F[t],r&&r._lazy!==!1&&(r.render(r._lazy,!1,!0),r._lazy=!1);F.length=0};W._startTime=a.time,B._startTime=a.frame,W._active=B._active=!0,setTimeout($,1),A._updateRoot=O.render=function(){var t,e,i;if(F.length&&$(),W.render((a.time-W._startTime)*W._timeScale,!1,!1),B.render((a.frame-B._startTime)*B._timeScale,!1,!1),F.length&&$(),!(a.frame%120)){for(i in z){for(e=z[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete z[i]}if(i=W._first,(!i||i._paused)&&O.autoSleep&&!B._first&&1===a._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||a.sleep()}}},a.addEventListener("tick",A._updateRoot);var U=function(t,e,i){var n,r,s=t._gsTweenID;if(z[s||(t._gsTweenID=s="t"+q++)]||(z[s]={target:t,tweens:[]}),e&&(n=z[s].tweens,n[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return z[s].tweens},Y=function(t,e,i,n,r){var s,o,a,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((a=r[s])!==e)a._gc||a._enabled(!1,!1)&&(o=!0);else if(5===n)break;return o}var u,h=e._startTime+c,f=[],p=0,d=0===e._duration;for(s=r.length;--s>-1;)(a=r[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||V(e,0,d),0===V(a,u,d)&&(f[p++]=a)):h>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>h&&((d||!a._initted)&&2e-10>=h-a._startTime||(f[p++]=a)));for(s=p;--s>-1;)a=f[s],2===n&&a._kill(i,t)&&(o=!0),(2!==n||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(o=!0);return o},V=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return s/=r,s>e?s-e:i&&s===e||!t._initted&&2*c>s-e?c:(s+=t.totalDuration()/t._timeScale/r)>e+c?0:s-e-c};o._init=function(){var t,e,i,n,r,s=this.vars,o=this._overwrittenProps,a=this._duration,l=!!s.immediateRender,u=s.ease;if(s.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(n in s.startAt)r[n]=s.startAt[n];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&s.lazy!==!1,r.startAt=r.delay=null,this._startAt=O.to(this.target,0,r),l)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(s.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{i={};for(n in s)H[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&s.lazy!==!1,i.immediateRender=l,this._startAt=O.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,s.easeParams):T[u]||O.defaultEase:O.defaultEase,s.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o);if(e&&O._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},o._initProps=function(e,i,n,r){var s,o,a,l,u,h;if(null==e)return!1;L[e._gsTweenID]&&$(),this.vars.css||e.style&&e!==t&&e.nodeType&&I.css&&this.vars.autoCSS!==!1&&M(this.vars,e);for(s in this.vars){if(h=this.vars[s],H[s])h&&(h instanceof Array||h.push&&d(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[s]=h=this._swapSelfInParams(h,this));else if(I[s]&&(l=new I[s])._onInitTween(e,this.vars[s],this)){for(this._firstPT=u={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:l._priority},o=l._overwriteProps.length;--o>-1;)i[l._overwriteProps[o]]=this._firstPT;(l._priority||l._onInitAllProps)&&(a=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[s]=u={_next:this._firstPT,t:e,p:s,f:"function"==typeof e[s],n:s,pg:!1,pr:0},u.s=u.f?e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(e[s]),u.c="string"==typeof h&&"="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*Number(h.substr(2)):Number(h)-u.s||0;u&&u._next&&(u._next._prev=u)}return r&&this._kill(r,e)?this._initProps(e,i,n,r):this._overwrite>1&&this._firstPT&&n.length>1&&Y(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),a)},o.render=function(t,e,i){var n,r,s,o,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete"),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>u||u===c)&&u!==t&&(i=!0,u>c&&(r="onReverseComplete")),this._rawPrevTime=o=!e||t||u===t?t:c);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0&&u!==c)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(i=!0),this._rawPrevTime=o=!e||t||u===t?t:c)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/l,f=this._easeType,p=this._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===p?h*=h:2===p?h*=h*h:3===p?h*=h*h*h:4===p&&(h*=h*h*h*h),this.ratio=1===f?1-h:2===f?h:.5>t/l?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,F.push(this),this._lazy=t,void 0;this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||x))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._time!==a||n)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||x)),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||x),0===l&&this._rawPrevTime===c&&o!==c&&(this._rawPrevTime=0))}},o._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:O.selector(e)||e;var i,n,r,s,o,a,l,u;if((d(e)||N(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(a=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){o=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){l=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill);for(r in l)(s=o[r])&&(s.pg&&s.t._kill(l)&&(a=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete o[r]),u&&(n[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return a},o.invalidate=function(){return this._notifyPluginsOfEnabled&&O._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},o._enabled=function(t,e){if(l||a.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=U(n[i],this,!0);else this._siblings=U(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?O._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},O.to=function(t,e,i){return new O(t,e,i)},O.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new O(t,e,i)},O.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new O(t,e,n)},O.delayedCall=function(t,e,i,n,r){return new O(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:r,overwrite:0})},O.set=function(t,e){return new O(t,0,e)},O.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:O.selector(t)||t;var i,n,r,s;if((d(t)||N(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(O.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else for(n=U(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},O.killTweensOf=O.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=O.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var G=v("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=G.prototype},!0);if(o=G.prototype,G.version="1.10.1",G.API=2,o._firstPT=null,o._addTween=function(t,e,i,n,r,s){var o,a;return null!=n&&(o="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=a={_next:this._firstPT,t:t,p:e,s:i,c:o,f:"function"==typeof t[e],n:r||e,r:s},a._next&&(a._next._prev=a),a):void 0 4 | },o.setRatio=function(t){for(var e,i=this._firstPT,n=1e-6;i;)e=i.c*t+i.s,i.r?e=Math.round(e):n>e&&e>-n&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},o._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},o._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},O._onPluginEvent=function(t,e){var i,n,r,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:s=a,a=o}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},G.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===G.API&&(I[(new t[e])._propName]=t[e]);return!0},_.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},o=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){G.call(this,i,n),this._overwriteProps=r||[]},t.global===!0),a=o.prototype=new G(i);a.constructor=o,o.API=t.API;for(e in s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,G.activate([o]),o},r=t._gsQueue){for(s=0;r.length>s;s++)r[s]();for(o in m)m[o].func||t.console.log("GSAP encountered missing dependency: com.greensock."+o)}l=!1}}("undefined"!=typeof e&&e.exports&&"undefined"!=typeof i?i:this||window,"TweenMax"),!function(t){ScrollMagic=function(e){"use strict";var i="ScrollMagic",r={container:window,vertical:!0,globalSceneOptions:{},loglevel:2},s=this,o=t.extend({},r,e),a=[],l=!1,u=0,h="PAUSED",c=!0,f=0,p=!1,d=!0,m=function(){if(t.each(o,function(t){r.hasOwnProperty(t)||(y(2,'WARNING: Unknown option "'+t+'"'),delete o[t])}),o.container=t(o.container).first(),0===o.container.length)return void y(1,"ERROR creating object ScrollMagic: No valid scroll container supplied");c=!t.contains(document,o.container.get(0)),f=o.vertical?o.container.height():o.container.width(),o.container.on("scroll resize",v);try{TweenLite.ticker.addEventListener("tick",_),p=!0}catch(e){o.container.on("scroll resize",_),p=!1}y(3,"added new "+i+" controller")},g=function(){return o.vertical?o.container.scrollTop():o.container.scrollLeft()},_=function(){if(l&&d){var e=t.isArray(l)?l:a,i=u;u=s.scrollPos();var n=u-i;h=0===n?"PAUSED":n>0?"FORWARD":"REVERSE",s.updateScene(e,!0),0===e.length&&o.loglevel>=3&&y(3,"updating 0 Scenes (nothing added to controller)"),l=!1}},v=function(t){"resize"==t.type&&(f=o.vertical?o.container.height():o.container.width()),l=!0},y=function(t){if(o.loglevel>=t){var e="("+i+") ->",r=Array.prototype.splice.call(arguments,1),s=Function.prototype.bind.call(n,window);r.unshift(t,e),s.apply(window,r)}};return this.addScene=function(e){return t.isArray(e)?t.each(e,function(t,e){s.addScene(e)}):e.parent()!=s?e.addTo(s):-1==t.inArray(a,e)&&(a.push(e),t.each(o.globalSceneOptions,function(t,i){e[t]&&e[t].call(e,i)}),y(3,"added Scene ("+a.length+" total)")),s},this.removeScene=function(e){if(t.isArray(e))t.each(e,function(t,e){s.removeScene(e)});else{var i=t.inArray(e,a);i>-1&&(a.splice(i,1),e.remove(),y(3,"removed Scene ("+a.length+" total)"))}return s},this.updateScene=function(e,i){return t.isArray(e)?t.each(e,function(t,n){y(3,"updating Scene "+(t+1)+"/"+e.length+" ("+a.length+" total)"),s.updateScene(n,i)}):i?e.update(!0):(t.isArray(l)||(l=[]),-1==t.inArray(e,l)&&l.push(e)),s},this.update=function(t){return v({type:"resize"}),t&&_(),s},this.scrollPos=function(e){return arguments.length?(t.isFunction(e)||(e=function(){return e}),g=e,s):g.call(s)},this.info=function(t){var e={size:f,vertical:o.vertical,scrollPos:u,scrollDirection:h,container:o.container,isDocument:c};return arguments.length?void 0!==e[t]?e[t]:void y(1,'ERROR: option "'+t+'" is not available'):e},this.loglevel=function(t){return arguments.length?(o.loglevel!=t&&(o.loglevel=t),s):o.loglevel},this.enabled=function(t){return arguments.length?(d!=t&&(d=!!t,s.updateScene(a,!0)),s):d},this.destroy=function(t){for(;a.length>0;){var e=a[a.length-1];e.destroy(t)}return o.container.off("scroll resize",v),p?TweenLite.ticker.removeEventListener("tick",_):o.container.off("scroll resize",_),y(3,"destroyed "+i+" (reset: "+(t?"true":"false")+")"),null},m(),s},ScrollScene=function(e){"use strict";var i,s,o,a,l=["onCenter","onEnter","onLeave"],u="ScrollScene",h={duration:0,offset:0,triggerElement:null,triggerHook:l[0],reverse:!0,tweenChanges:!1,loglevel:2},c=this,f=t.extend({},h,e),p="BEFORE",d=0,m={start:0,end:0},g=!0,_=function(){y(),c.on("change.internal",function(t){y(),"loglevel"!=t.what&&"tweenChanges"!=t.what&&("reverse"!=t.what&&null===f.triggerElement&&x(),c.update(),("DURING"!==p&&"duration"==t.what||"AFTER"===p&&0===f.duration)&&T())}),c.on("progress.internal",function(){w(),T()})},v=function(t){if(f.loglevel>=t){var e="("+u+") ->",i=Array.prototype.splice.call(arguments,1),r=Function.prototype.bind.call(n,window);i.unshift(t,e),r.apply(window,i)}},y=function(){if(t.each(f,function(t){h.hasOwnProperty(t)||(v(2,'WARNING: Unknown option "'+t+'"'),delete f[t])}),f.duration=parseFloat(f.duration),(!t.isNumeric(f.duration)||f.duration<0)&&(v(1,'ERROR: Invalid value for option "duration":',f.duration),f.duration=h.duration),f.offset=parseFloat(f.offset),t.isNumeric(f.offset)||(v(1,'ERROR: Invalid value for option "offset":',f.offset),f.offset=h.offset),null!==f.triggerElement&&0===t(f.triggerElement).length&&(v(1,'ERROR: Element defined in option "triggerElement" was not found:',f.triggerElement),f.triggerElement=h.triggerElement),t.isNumeric(f.triggerHook)||-1!=t.inArray(f.triggerHook,l)||(v(1,'ERROR: Invalid value for option "triggerHook": ',f.triggerHook),f.triggerHook=h.triggerHook),!t.isNumeric(f.loglevel)||f.loglevel<0||f.loglevel>3){var e=f.loglevel;f.loglevel=h.loglevel,v(1,'ERROR: Invalid value for option "loglevel":',e)}if(s&&i&&f.triggerElement&&f.loglevel>=2){var n=s.getTweensOf(t(f.triggerElement)),r=i.info("vertical");t.each(n,function(t,e){var i=e.vars.css||e.vars,n=r?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right;return n?(v(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1):void 0})}},x=function(){m={start:c.triggerOffset()},i&&(m.start-=i.info("size")*c.triggerHook()),m.end=m.start+f.duration},w=function(t){var e=t>=0&&1>=t?t:d;if(s){if(-1===s.repeat())if(("DURING"===p||"AFTER"===p&&0===f.duration)&&s.paused())s.play();else{if("DURING"===p||s.paused())return!1;s.pause()}else{if(e==s.progress())return!1;0===f.duration?"AFTER"==p?s.play():s.reverse():f.tweenChanges?s.tweenTo(e*s.duration()):s.progress(e).pause()}return!0}return!1},T=function(t){if(o&&i){var e=i.info();if(t||"DURING"!==p&&("AFTER"!==p||0!==f.duration)){var n={position:a.inFlow?"relative":"absolute",top:0,left:0},s=o.css("position")!=n.position;a.pushFollowers?"AFTER"===p&&0===parseFloat(a.spacer.css("padding-top"))?s=!0:"BEFORE"===p&&0===parseFloat(a.spacer.css("padding-bottom"))&&(s=!0):n[e.vertical?"top":"left"]=f.duration*d,o.css(n),s&&(o.removeClass(a.pinnedClass),b())}else{"fixed"!=o.css("position")&&(o.css("position","fixed"),b(),o.addClass(a.pinnedClass));var l=r(a.spacer,!0),u=f.reverse||0===f.duration?e.scrollPos-m.start:Math.round(d*f.duration*10)/10;l.top-=parseFloat(a.spacer.css("margin-top")),l[e.vertical?"top":"left"]+=u,o.css({top:l.top,left:l.left})}}},b=function(){if(o&&i&&a.inFlow){var e="AFTER"===p,n="BEFORE"===p,r="DURING"===p,s="fixed"==o.css("position"),l=i.info("vertical"),u=a.spacer.children().first(),h=t.inArray(a.spacer.css("display"),["block","flex","list-item","table","-webkit-box"])>-1,c={};h?(c["margin-top"]=n||r&&s?o.css("margin-top"):"auto",c["margin-bottom"]=e||r&&s?o.css("margin-bottom"):"auto"):c["margin-top"]=c["margin-bottom"]="auto",a.relSize.width?s?t(window).width()==a.spacer.parent().width()?o.css("width","inherit"):o.css("width",a.spacer.width()):o.css("width","100%"):(c["min-width"]=u.outerWidth(!0),c.width=s?c["min-width"]:"auto"),a.relSize.height?s?t(window).height()==a.spacer.parent().height()?o.css("height","inherit"):o.css("height",a.spacer.height()):o.css("height","100%"):(c["min-height"]=u.outerHeight(!h),c.height=s?c["min-height"]:"auto"),a.pushFollowers&&(c["padding"+(l?"Top":"Left")]=f.duration*d,c["padding"+(l?"Bottom":"Right")]=f.duration*(1-d)),a.spacer.css(c)}},S=function(){i&&o&&"DURING"===p&&(i.info("isDocument")||T())},P=function(){i&&o&&("DURING"===p||"AFTER"===p&&0===f.duration)&&(a.relSize.width&&t(window).width()!=a.spacer.parent().width()||a.relSize.height&&t(window).height()!=a.spacer.parent().height())&&b()};return this.parent=function(){return i},this.duration=function(t){return arguments.length?(f.duration!=t&&(f.duration=t,c.trigger("change",{what:"duration",newval:t})),c):f.duration},this.offset=function(t){return arguments.length?(f.offset!=t&&(f.offset=t,c.trigger("change",{what:"offset",newval:t})),c):f.offset},this.triggerElement=function(t){return arguments.length?(f.triggerElement!=t&&(f.triggerElement=t,c.trigger("change",{what:"triggerElement",newval:t})),c):f.triggerElement},this.triggerHook=function(e){if(!arguments.length){var i;if(t.isNumeric(f.triggerHook))i=f.triggerHook;else switch(f.triggerHook){case"onCenter":i=.5;break;case"onLeave":i=0;break;case"onEnter":default:i=1}return i}return f.triggerHook!=e&&(f.triggerHook=e,c.trigger("change",{what:"triggerHook",newval:e})),c},this.reverse=function(t){return arguments.length?(f.reverse!=t&&(f.reverse=t,c.trigger("change",{what:"reverse",newval:t})),c):f.reverse},this.tweenChanges=function(t){return arguments.length?(f.tweenChanges!=t&&(f.tweenChanges=t,c.trigger("change",{what:"tweenChanges",newval:t})),c):f.tweenChanges},this.loglevel=function(t){return arguments.length?(f.loglevel!=t&&(f.loglevel=t,c.trigger("change",{what:"loglevel",newval:t})),c):f.loglevel},this.state=function(){return p},this.startPosition=function(){return this.triggerOffset()},this.triggerOffset=function(){var e=f.offset;if(i){var n=i.info();if(null===f.triggerElement)e+=n.size*c.triggerHook();else{for(var s=t(f.triggerElement).first(),o=r(i.info("container"));s.parent().data("ScrollMagicPinSpacer");)s=s.parent();var a=r(s);n.isDocument||(o.top-=n.scrollPos,o.left-=n.scrollPos),e+=n.vertical?a.top-o.top:a.left-o.left}}return e},this.scrollOffset=function(){return m.start},this.update=function(t){if(i)if(t)if(i.enabled()&&g){var e,n=i.info("scrollPos");null!==f.triggerElement&&x(),e=f.duration>0?(n-m.start)/(m.end-m.start):n>=m.start?1:0,c.trigger("update",{startPos:m.start,endPos:m.end,scrollPos:n}),c.progress(e)}else o&&"fixed"==o.css("position")&&T(!0);else i.updateScene(c,!1);return c},this.progress=function(t){if(arguments.length){var e=!1,n=p,r=i?i.info("scrollDirection"):"PAUSED";if(0>=t&&"BEFORE"!==p&&(t>=d||f.reverse)?(d=0,p="BEFORE",e=!0):t>0&&1>t&&(t>=d||f.reverse)?(d=t,p="DURING",e=!0):t>=1&&"AFTER"!==p?(d=1,p="AFTER",e=!0):"DURING"!==p||f.reverse||T(),e){var s={progress:d,state:p,scrollDirection:r},o=p!=n,a="BEFORE"===p&&0===f.duration;o&&(("DURING"===p||0===f.duration)&&c.trigger("enter",s),("BEFORE"===p||"BEFORE"===n)&&c.trigger(a?"end":"start",s)),c.trigger("progress",s),o&&(("AFTER"===p||"AFTER"===n)&&c.trigger(a?"start":"end",s),("DURING"!==p||0===f.duration)&&c.trigger("leave",s))}return c}return d},this.setTween=function(t){s&&c.removeTween();try{s=new TimelineMax({smoothChildTiming:!0}).add(t).pause()}catch(t){v(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenMaxObject")}finally{return t.repeat&&-1===t.repeat()&&(s.repeat(-1),s.yoyo(t.yoyo())),y(),v(3,"added tween"),w(),c}},this.removeTween=function(t){return s&&(t&&w(0),s.kill(),s=void 0,v(3,"removed tween (reset: "+(t?"true":"false")+")")),c},this.setPin=function(e,i){var n={pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer",pinnedClass:""};if(i=t.extend({},n,i),e=t(e).first(),0===e.length)return v(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),c;if("fixed"==e.css("position"))return v(1,"ERROR: Pin does not work with elements that are positioned 'fixed'."),c;if(o){if(o===e)return c;c.removePin()}o=e,o.parent().hide();var r="absolute"!=o.css("position"),s=o.css(["display","top","left","bottom","right"]),l=o.css(["width","height"]);o.parent().show();var u=t("
").addClass(i.spacerClass).css(s).data("ScrollMagicPinSpacer",!0).css({position:r?"relative":"absolute","margin-left":"auto","margin-right":"auto","box-sizing":"content-box","-moz-box-sizing":"content-box","-webkit-box-sizing":"content-box"});return!r&&i.pushFollowers&&(v(2,"WARNING: If the pinned element is positioned absolutely pushFollowers is disabled."),i.pushFollowers=!1),a={spacer:u,relSize:{width:"%"===l.width.slice(-1),height:"%"===l.height.slice(-1)},pushFollowers:i.pushFollowers,inFlow:r,origStyle:o.attr("style"),pinnedClass:i.pinnedClass},a.relSize.width&&u.css("width",l.width),a.relSize.height&&u.css("height",l.height),o.before(u).appendTo(u).css({position:r?"relative":"absolute",top:"auto",left:"auto",bottom:"auto",right:"auto"}),t(window).on("scroll resize",S),v(3,"added pin"),T(),c},this.removePin=function(e){return o&&(e||!i?(o.insertBefore(a.spacer).attr("style",a.origStyle),a.spacer.remove()):"DURING"===p&&T(!0),t(window).off("scroll resize",S),o=void 0,v(3,"removed pin (reset: "+(e?"true":"false")+")")),c},this.addTo=function(t){return i!=t?(i&&i.removeScene(c),i=t,y(),x(),b(),i.info("container").on("resize",P),v(3,"added "+u+" to controller"),t.addScene(c),c.update(),c):void 0},this.enabled=function(t){return arguments.length?(g!=t&&(g=!!t,c.update(!0)),c):g},this.remove=function(){if(i){i.info("container").off("resize",P);var t=i;i=void 0,v(3,"removed "+u+" from controller"),t.removeScene(c)}return c},this.destroy=function(t){return this.removeTween(t),this.removePin(t),this.remove(),this.off("start end enter leave progress change update change.internal progress.internal"),v(3,"destroyed "+u+" (reset: "+(t?"true":"false")+")"),null},this.on=function(e,i){if(t.isFunction(i)){var n=t.trim(e).toLowerCase().replace(/(\w+)\.(\w+)/g,"$1."+u+"_$2").replace(/( |^)(\w+)( |$)/g,"$1$2."+u+"$3");t(c).on(n,i)}else v(1,"ERROR calling method 'on()': Supplied argument is not a valid callback!");return c},this.off=function(e,i){var n=t.trim(e).toLowerCase().replace(/(\w+)\.(\w+)/g,"$1."+u+"_$2").replace(/( |^)(\w+)( |$)/g,"$1$2."+u+"$3");return t(c).off(n,i),c},this.trigger=function(e,i){v(3,"event fired:",e,"->",i);var n={type:t.trim(e).toLowerCase(),target:c};return t.isPlainObject(i)&&(n=t.extend({},i,n)),t(c).trigger(n),c},_(),c};var e=window.console=window.console||{},i=["error","warn","log"];e.log||(e.log=t.noop),t.each(i,function(t,i){e[i]||(e[i]=e.log)});var n=function(t){(t>i.length||0>=t)&&(t=i.length);var n=new Date,r=("0"+n.getHours()).slice(-2)+":"+("0"+n.getMinutes()).slice(-2)+":"+("0"+n.getSeconds()).slice(-2)+":"+("00"+n.getMilliseconds()).slice(-3),s=i[t-1],o=Array.prototype.splice.call(arguments,1),a=Function.prototype.bind.call(e[s],e);o.unshift(r),a.apply(e,o)},r=function(e,i){var n={top:0,left:0},r=e[0];if(r)if(r.getBoundingClientRect){var s=r.getBoundingClientRect();n.top=s.top,n.left=s.left,i||(n.top+=t(document).scrollTop(),n.left+=t(document).scrollLeft())}else n=e.offset()||n,i&&(n.top-=t(document).scrollTop(),n.left-=t(document).scrollLeft());return n}}(r),n(function(){var t=43,e="ontouchstart"in document.documentElement,i=n(window).height();n(".fullheight").css("height",i),n(window).resize(function(){var t=n(window).height();n(".fullheight").css("height",t)}),n(function(){n("a[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=n(this.hash);if(e=e.length?e:n("[name="+this.hash.slice(1)+"]"),e.length)return n("html,body").animate({scrollTop:e.offset().top-t},1e3),!1}})}),n(window).scroll(function(){var e=n(window).scrollTop()+t;n("nav li a").removeClass("active"),e>n("#hotelinfo").offset().top&&(n("nav li a").removeClass("active"),n('a[href$="#hotelinfo"]').addClass("active")),e>n("#rooms").offset().top&&(n("nav li a").removeClass("active"),n('a[href$="#rooms"]').addClass("active")),e>n("#dining").offset().top&&(n("nav li a").removeClass("active"),n('a[href$="#dining"]').addClass("active")),e>n("#events").offset().top&&(n("nav li a").removeClass("active"),n('a[href$="#events"]').addClass("active")),e>n("#attractions").offset().top&&(n("nav li a").removeClass("active"),n('a[href$="#attractions"]').addClass("active"))});{var r=new ScrollMagic({globalSceneOptions:{triggerHook:"onLeave"}});new ScrollScene({triggerElement:"#nav"}).setPin("#nav").addTo(r)}if(!e){var s={bottom:-700,opacity:0,scale:0},o={repeat:1,yoyo:!0,bottom:0,opacity:1,scale:1,ease:Back.easeOut},a=TweenMax.staggerFromTo("#westminster .content",1,s,o),a=(new ScrollScene({triggerElement:"#westminster",offset:-t,duration:500}).setPin("#westminster").setTween(a).addTo(r),TweenMax.staggerFromTo("#oxford .content",1,s,o)),a=(new ScrollScene({triggerElement:"#oxford",offset:-t,duration:500}).setPin("#oxford").setTween(a).addTo(r),TweenMax.staggerFromTo("#piccadilly .content",1,s,o)),a=(new ScrollScene({triggerElement:"#piccadilly",offset:-t,duration:500}).setPin("#piccadilly").setTween(a).addTo(r),TweenMax.staggerFromTo("#cambridge .content",1,s,o)),a=(new ScrollScene({triggerElement:"#cambridge",offset:-t,duration:500}).setPin("#cambridge").setTween(a).addTo(r),TweenMax.staggerFromTo("#manchester .content",1,s,o)),a=(new ScrollScene({triggerElement:"#manchester",offset:-t,duration:500}).setPin("#manchester").setTween(a).addTo(r),TweenMax.staggerFromTo("#victoria .content",1,s,o));new ScrollScene({triggerElement:"#victoria",offset:-t,duration:500}).setPin("#victoria").setTween(a).addTo(r)}{var l=TweenMax.staggerFromTo("#attractions article",1,{opacity:0,scale:0},{delay:1,opacity:1,scale:1,ease:Back.easeOut});new ScrollScene({triggerElement:"#attractions",offset:-t}).setTween(l).addTo(r)}})}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{jquery:2}],2:[function(t,e){!function(t,i){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?i(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e=!!t&&"length"in t&&t.length,i=se.type(t);return"function"===i||se.isWindow(t)?!1:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}function n(t,e,i){if(se.isFunction(e))return se.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return se.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(me.test(e))return se.filter(e,t,i);e=se.filter(e,t)}return se.grep(t,function(t){return K.call(e,t)>-1!==i})}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function s(t){var e={};return se.each(t.match(we)||[],function(t,i){e[i]=!0}),e}function o(){G.removeEventListener("DOMContentLoaded",o),t.removeEventListener("load",o),se.ready()}function a(){this.expando=se.expando+a.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Re,"-$&").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:ke.test(i)?se.parseJSON(i):i}catch(r){}Ce.set(t,e,i)}else i=void 0;return i}function u(t,e,i,n){var r,s=1,o=20,a=n?function(){return n.cur()}:function(){return se.css(t,e,"")},l=a(),u=i&&i[3]||(se.cssNumber[e]?"":"px"),h=(se.cssNumber[e]||"px"!==u&&+l)&&Ee.exec(se.css(t,e));if(h&&h[3]!==u){u=u||h[3],i=i||[],h=+l||1;do s=s||".5",h/=s,se.style(t,e,h+u);while(s!==(s=a()/l)&&1!==s&&--o)}return i&&(h=+h||+l||0,r=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=h,n.end=r)),r}function h(t,e){var i="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&se.nodeName(t,e)?se.merge([t],i):i}function c(t,e){for(var i=0,n=t.length;n>i;i++)Pe.set(t[i],"globalEval",!e||Pe.get(e[i],"globalEval"))}function f(t,e,i,n,r){for(var s,o,a,l,u,f,p=e.createDocumentFragment(),d=[],m=0,g=t.length;g>m;m++)if(s=t[m],s||0===s)if("object"===se.type(s))se.merge(d,s.nodeType?[s]:s);else if(je.test(s)){for(o=o||p.appendChild(e.createElement("div")),a=(Me.exec(s)||["",""])[1].toLowerCase(),l=Le[a]||Le._default,o.innerHTML=l[1]+se.htmlPrefilter(s)+l[2],f=l[0];f--;)o=o.lastChild;se.merge(d,o.childNodes),o=p.firstChild,o.textContent=""}else d.push(e.createTextNode(s));for(p.textContent="",m=0;s=d[m++];)if(n&&se.inArray(s,n)>-1)r&&r.push(s);else if(u=se.contains(s.ownerDocument,s),o=h(p.appendChild(s),"script"),u&&c(o),i)for(f=0;s=o[f++];)Fe.test(s.type||"")&&i.push(s);return p}function p(){return!0}function d(){return!1}function m(){try{return G.activeElement}catch(t){}}function g(t,e,i,n,r,s){var o,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)g(t,a,i,n,e[a],s);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),r===!1)r=d;else if(!r)return t;return 1===s&&(o=r,r=function(t){return se().off(t),o.apply(this,arguments)},r.guid=o.guid||(o.guid=se.guid++)),t.each(function(){se.event.add(this,e,r,n,i)})}function _(t,e){return se.nodeName(t,"table")&&se.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function y(t){var e=We.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){var i,n,r,s,o,a,l,u;if(1===e.nodeType){if(Pe.hasData(t)&&(s=Pe.access(t),o=Pe.set(e,s),u=s.events)){delete o.handle,o.events={};for(r in u)for(i=0,n=u[r].length;n>i;i++)se.event.add(e,r,u[r][i])}Ce.hasData(t)&&(a=Ce.access(t),l=se.extend({},a),Ce.set(e,l))}}function w(t,e){var i=e.nodeName.toLowerCase();"input"===i&&Ne.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}function T(t,e,i,n){e=Q.apply([],e);var r,s,o,a,l,u,c=0,p=t.length,d=p-1,m=e[0],g=se.isFunction(m);if(g||p>1&&"string"==typeof m&&!ne.checkClone&&Be.test(m))return t.each(function(r){var s=t.eq(r);g&&(e[0]=m.call(this,r,s.html())),T(s,e,i,n)});if(p&&(r=f(e,t[0].ownerDocument,!1,t,n),s=r.firstChild,1===r.childNodes.length&&(r=s),s||n)){for(o=se.map(h(r,"script"),v),a=o.length;p>c;c++)l=r,c!==d&&(l=se.clone(l,!0,!0),a&&se.merge(o,h(l,"script"))),i.call(t[c],l,c);if(a)for(u=o[o.length-1].ownerDocument,se.map(o,y),c=0;a>c;c++)l=o[c],Fe.test(l.type||"")&&!Pe.access(l,"globalEval")&&se.contains(u,l)&&(l.src?se._evalUrl&&se._evalUrl(l.src):se.globalEval(l.textContent.replace($e,"")))}return t}function b(t,e,i){for(var n,r=e?se.filter(e,t):t,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||se.cleanData(h(n)),n.parentNode&&(i&&se.contains(n.ownerDocument,n)&&c(h(n,"script")),n.parentNode.removeChild(n));return t}function S(t,e){var i=se(e.createElement(t)).appendTo(e.body),n=se.css(i[0],"display");return i.detach(),n}function P(t){var e=G,i=Ye[t];return i||(i=S(t,e),"none"!==i&&i||(Ue=(Ue||se("