Created
June 10, 2019 08:58
-
-
Save foolip/cb747d4aa8eee782f908d499843ef3f5 to your computer and use it in GitHub Desktop.
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
page,url,body,truncated | |
http://www.wetafx.co.nz/,https://www.wetafx.co.nz/themes/weta/js/main_desktop_extended.js,"/*! | |
* jQuery JavaScript Library v2.1.4 | |
* http://jquery.com/ | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ | |
* | |
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors | |
* Released under the MIT license | |
* http://jquery.org/license | |
* | |
* Date: 2015-04-28T16:01Z | |
*/ | |
/*! | |
* Sizzle CSS Selector Engine v2.2.0-pre | |
* http://sizzlejs.com/ | |
* | |
* Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors | |
* Released under the MIT license | |
* http://jquery.org/license | |
* | |
* Date: 2014-12-16 | |
*/ | |
// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
// Underscore may be freely distributed under the MIT license. | |
// (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc. | |
// (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
// Backbone may be freely distributed under the MIT license. | |
/** | |
* @preserve console-shim 1.0.2 | |
* https://github.com/kayahr/console-shim | |
* Copyright (C) 2011 Klaus Reimer <[email protected]> | |
* Licensed under the MIT license | |
* (See http://www.opensource.org/licenses/mit-license) | |
*/ | |
/*! | |
* PreloadJS | |
* Visit http://createjs.com/ for documentation, updates and examples. | |
* | |
* Copyright (c) 2010 gskinner.com, inc. | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation | |
* files (the ""Software""), to deal in the Software without | |
* restriction, including without limitation the rights to use, | |
* copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following | |
* conditions: | |
* | |
* The above copyright notice and this permission notice shall be | |
* included in all copies or substantial portions of the Software. | |
* | |
* THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, | |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | |
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | |
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | |
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | |
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | |
* OTHER DEALINGS IN THE SOFTWARE. | |
*/ | |
/*! JSON v3.3.2 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */ | |
/*! | |
* @license SoundJS | |
* Visit http://createjs.com/ for documentation, updates and examples. | |
* | |
* Copyright (c) 2011-2013 gskinner.com, inc. | |
* | |
* Distributed under the terms of the MIT license. | |
* http://www.opensource.org/licenses/mit-license.html | |
* | |
* This notice shall be included in all copies or substantial portions of the Software. | |
*/ | |
/*! | |
* VERSION: 1.18.2 | |
* DATE: 2015-12-22 | |
* UPDATES AND DOCS AT: http://greensock.com | |
* | |
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin | |
* | |
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved. | |
* This work is subject to the terms at http://greensock.com/standard-license or for | |
* Club GreenSock members, the software agreement that was issued with your membership. | |
* | |
* @author: Jack Doyle, [email protected] | |
**/ | |
/** | |
* @license RequireJS text 2.0.10 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. | |
* Available via the MIT or new BSD license. | |
* see: http://github.com/requirejs/text for details | |
*/ | |
/*! | |
* VERSION: 0.0.10 | |
* DATE: 2016-02-11 | |
* UPDATES AND DOCS AT: http://greensock.com | |
* | |
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved. | |
* DrawSVGPlugin is a Club GreenSock membership benefit; You must have a valid membership to use | |
* this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details. | |
* This work is subject to the software agreement that was issued with your membership. | |
* | |
* @author: Jack Doyle, [email protected] | |
*/ | |
/*! | |
handlebars v4.0.5 | |
Copyright (C) 2011-2015 by Yehuda Katz | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the ""Software""), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in | |
all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
THE SOFTWARE. | |
@license | |
*/ | |
/*! | |
* VERSION: 1.18.2 | |
* DATE: 2015-12-22 | |
* UPDATES AND DOCS AT: http://greensock.com | |
* | |
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved. | |
* This work is subject to the terms at http://greensock.com/standard-license or for | |
* Club GreenSock members, the software agreement that was issued with your membership. | |
* | |
* @author: Jack Doyle, [email protected] | |
*/ | |
/*! | |
* VERSION: 0.3.4 | |
* DATE: 2015-08-15 | |
* UPDATES AND DOCS AT: http://greensock.com | |
* | |
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved. | |
* SplitText is a Club GreenSock membership benefit; You must have a valid membership to use | |
* this code without violating the terms of use. Visit http://www.greensock.com/club/ to sign up or get more details. | |
* This work is subject to the software agreement that was issued with your membership. | |
* | |
* @author: Jack Doyle, [email protected] | |
*/ | |
/** | |
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. | |
* | |
* @codingstandard ftlabs-jsv2 | |
* @copyright The Financial Times Limited [All Rights Reserved] | |
* @license MIT License (see LICENSE.txt) | |
*/ | |
!function(t,e){""object""==typeof module&&""object""==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error(""jQuery requires a window with a document"");return e(t)}:e(t)}(""undefined""!=typeof window?window:this,function(t,e){function i(t){var e=""length""in t&&t.length,i=Q.type(t);return""function""!==i&&!Q.isWindow(t)&&(!(1!==t.nodeType||!e)||(""array""===i||0===e||""number""==typeof e&&e>0&&e-1 in t))}function n(t,e,i){if(Q.isFunction(e))return Q.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return Q.grep(t,function(t){return t===e!==i});if(""string""==typeof e){if(ot.test(e))return Q.filter(e,t,i);e=Q.filter(e,t)}return Q.grep(t,function(t){return W.call(e,t)>=0!==i})}function s(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e=dt[t]={};return Q.each(t.match(ut)||[],function(t,i){e[i]=!0}),e}function o(){J.removeEventListener(""DOMContentLoaded"",o,!1),t.removeEventListener(""load"",o,!1),Q.ready()}function a(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Q.expando+a.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n=""data-""+e.replace(vt,""-$1"").toLowerCase(),""string""==typeof(i=t.getAttribute(n))){try{i=""true""===i||""false""!==i&&(""null""===i?null:+i+""""===i?+i:_t.test(i)?Q.parseJSON(i):i)}catch(t){}gt.set(t,e,i)}else i=void 0;return i}function c(){return!0}function h(){return!1}function u(){try{return J.activeElement}catch(t){}}function d(t,e){return Q.nodeName(t,""table"")&&Q.nodeName(11!==e.nodeType?e:e.firstChild,""tr"")?t.getElementsByTagName(""tbody"")[0]||t.appendChild(t.ownerDocument.createElement(""tbody"")):t}function p(t){return t.type=(null!==t.getAttribute(""type""))+""/""+t.type,t}function f(t){var e=Rt.exec(t.type);return e?t.type=e[1]:t.removeAttribute(""type""),t}function m(t,e){for(var i=0,n=t.length;i<n;i++)mt.set(t[i],""globalEval"",!e||mt.get(e[i],""globalEval""))}function g(t,e){var i,n,s,r,o,a,l,c;if(1===e.nodeType){if(mt.hasData(t)&&(r=mt.access(t),o=mt.set(e,r),c=r.events)){delete o.handle,o.events={};for(s in c)for(i=0,n=c[s].length;i<n;i++)Q.event.add(e,s,c[s][i])}gt.hasData(t)&&(a=gt.access(t),l=Q.extend({},a),gt.set(e,l))}}function _(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||""*""):t.querySelectorAll?t.querySelectorAll(e||""*""):[];return void 0===e||e&&Q.nodeName(t,e)?Q.merge([t],i):i}function v(t,e){var i=e.nodeName.toLowerCase();""input""===i&&bt.test(t.type)?e.checked=t.checked:""input""!==i&&""textarea""!==i||(e.defaultValue=t.defaultValue)}function y(e,i){var n,s=Q(i.createElement(e)).appendTo(i.body),r=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(s[0]))?n.display:Q.css(s[0],""display"");return s.detach(),r}function w(t){var e=J,i=Dt[t];return i||(i=y(t,e),""none""!==i&&i||(Nt=(Nt||Q(""<iframe frameborder='0' width='0' height='0'/>"")).appendTo(e.documentElement),e=Nt[0].contentDocument,e.write(),e.close(),i=y(t,e),Nt.detach()),Dt[t]=i),i}function T(t,e,i){var n,s,r,o,a=t.style;return i=i||Ht(t),i&&(o=i.getPropertyValue(e)||i[e]),i&&(""""!==o||Q.contains(t.ownerDocument,t)||(o=Q.style(t,e)),$t.test(o)&&Vt.test(e)&&(n=a.width,s=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=s,a.maxWidth=r)),void 0!==o?o+"""":o}function b(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function E(t,e){if(e in t)return e;for(var i=e[0].toUpperCase()+e.slice(1),n=e,s=Wt.length;s--;)if((e=Wt[s]+i)in t)return e;return n}function S(t,e,i){var n=Bt.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||""px""):e}function x(t,e,i,n,s){for(var r=i===(n?""border"":""content"")?4:""width""===e?1:0,o=0;r<4;r+=2)""margin""===i&&(o+=Q.css(t,i+wt[r],!0,s)),n?(""content""===i&&(o-=Q.css(t,""padding""+wt[r],!0,s)),""margin""!==i&&(o-=Q.css(t,""border""+wt[r]+""Width"",!0,s))):(o+=Q.css(t,""padding""+wt[r],!0,s),""padding""!==i&&(o+=Q.css(t,""border""+wt[r]+""Width"",!0,s)));return o}function P(t,e,i){var n=!0,s=""width""===e?t.offsetWidth:t.offsetHeight,r=Ht(t),o=""border-box""===Q.css(t,""boxSizing"",!1,r);if(s<=0||null==s){if(s=T(t,e,r),(s<0||null==s)&&(s=t.style[e]),$t.test(s))return s;n=o&&(K.boxSizingReliable()||s===t.style[e]),s=parseFloat(s)||0}return s+x(t,e,i||(o?""border"":""content""),n,r)+""px""}function A(t,e){for(var i,n,s,r=[],o=0,a=t.length;o<a;o++)n=t[o],n.style&&(r[o]=mt.get(n,""olddisplay""),i=n.style.display,e?(r[o]||""none""!==i||(n.style.display=""""),""""===n.style.display&&Tt(n)&&(r[o]=mt.access(n,""olddisplay"",w(n.nodeName)))):(s=Tt(n),""none""===i&&s||mt.set(n,""olddisplay"",s?i:Q.css(n,""display""))));for(o=0;o<a;o++)n=t[o],n.style&&(e&&""none""!==n.style.display&&""""!==n.style.display||(n.style.display=e?r[o]||"""":""none""));return t}function C(t,e,i,n,s){return new C.prototype.init(t,e,i,n,s)}function L(){return setTimeout(function(){Ut=void 0}),Ut=Q.now()}function k(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)i=wt[n],s[""margin""+i]=s[""padding""+i]=t;return e&&(s.opacity=s.width=t),s}function O(t,e,i){for(var n,s=(Zt[e]||[]).concat(Zt[""*""]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,e,t))return n}function I(t,e,i){var n,s,r,o,a,l,c,h=this,u={},d=t.style,p=t.nodeType&&Tt(t),f=mt.get(t,""fxshow"");i.queue||(a=Q._queueHooks(t,""fx""),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,Q.queue(t,""fx"").length||a.empty.fire()})})),1===t.nodeType&&(""height""in e||""width""in e)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],c=Q.css(t,""display""),""inline""===(""none""===c?mt.get(t,""olddisplay"")||w(t.nodeName):c)&&""none""===Q.css(t,""float"")&&(d.display=""inline-block"")),i.overflow&&(d.overflow=""hidden"",h.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]}));for(n in e)if(s=e[n],Xt.exec(s)){if(delete e[n],r=r||""toggle""===s,s===(p?""hide"":""show"")){if(""show""!==s||!f||void 0===f[n])continue;p=!0}u[n]=f&&f[n]||Q.style(t,n)}else c=void 0;if(Q.isEmptyObject(u))""inline""===(""none""===c?w(t.nodeName):c)&&(d.display=c);else{f?""hidden""in f&&(p=f.hidden):f=mt.access(t,""fxshow"",{}),r&&(f.hidden=!p),p?Q(t).show():h.done(function(){Q(t).hide()}),h.done(function(){var e;mt.remove(t,""fxshow"");for(e in u)Q.style(t,e,u[e])});for(n in u)o=O(p?f[n]:0,n,h),n in f||(f[n]=o.start,p&&(o.end=o.start,o.start=""width""===n||""height""===n?1:0))}}function R(t,e){var i,n,s,r,o;for(i in t)if(n=Q.camelCase(i),s=e[n],r=t[i],Q.isArray(r)&&(s=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(o=Q.cssHooks[n])&&""expand""in o){r=o.expand(r),delete t[n];for(i in r)i in t||(t[i]=r[i],e[i]=s)}else e[n]=s}function j(t,e,i){var n,s,r=0,o=Qt.length,a=Q.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=Ut||L(),i=Math.max(0,c.startTime+c.duration-e),n=i/c.duration||0,r=1-n,o=0,l=c.tweens.length;o<l;o++)c.tweens[o].run(r);return a.notifyWith(t,[c,r,i]),r<1&&l?i:(a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:Q.extend({},e),opts:Q.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Ut||L(),duration:i.duration,tweens:[],createTween:function(e,i){var n=Q.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(s)return this;for(s=!0;i<n;i++)c.tweens[i].run(1);return e?a.resolveWith(t,[c,e]):a.rejectWith(t,[c,e]),this}}),h=c.props;for(R(h,c.opts.specialEasing);r<o;r++)if(n=Qt[r].call(c,t,h,c.opts))return n;return Q.map(h,O,c),Q.isFunction(c.opts.start)&&c.opts.start.call(t,c),Q.fx.timer(Q.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function M(t){return function(e,i){""string""!=typeof e&&(i=e,e=""*"");var n,s=0,r=e.toLowerCase().match(ut)||[];if(Q.isFunction(i))for(;n=r[s++];)""+""===n[0]?(n=n.slice(1)||""*"",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function N(t,e,i,n){function s(a){var l;return r[a]=!0,Q.each(t[a]||[],function(t,a){var c=a(e,i,n);return""string""!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)}),l}var r={},o=t===me;return s(e.dataTypes[0])||!r[""*""]&&s(""*"")}function D(t,e){var i,n,s=Q.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n||(n={}))[i]=e[i]);return n&&Q.extend(!0,t,n),t}function V(t,e,i){for(var n,s,r,o,a=t.contents,l=t.dataTypes;""*""===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader(""Content-Type""));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+"" ""+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}function $(t,e,i,n){var s,r,o,a,l,c={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)c[o.toLowerCase()]=t.converters[o];for(r=h.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=h.shift())if(""*""===r)r=l;else if(""*""!==l&&l!==r){if(!(o=c[l+"" ""+r]||c[""* ""+r]))for(s in c)if(a=s.split("" ""),a[1]===r&&(o=c[l+"" ""+a[0]]||c[""* ""+a[0]])){!0===o?o=c[s]:!0!==c[s]&&(r=a[0],h.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:""parsererror"",error:o?t:""No conversion from ""+l+"" to ""+r}}}return{state:""success"",data:e}}function H(t,e,i,n){var s;if(Q.isArray(e))Q.each(e,function(e,s){i||we.test(t)?n(t,s):H(t+""[""+(""object""==typeof s?e:"""")+""]"",s,i,n)});else if(i||""object""!==Q.type(e))n(t,e);else for(s in e)H(t+""[""+s+""]"",e[s],i,n)}function F(t){return Q.isWindow(t)?t:9===t.nodeType&&t.defaultView}var B=[],z=B.slice,q=B.concat,G=B.push,W=B.indexOf,U={},Y=U.toString,X=U.hasOwnProperty,K={},J=t.document,Q=function(t,e){return new Q.fn.init(t,e)},Z=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,tt=/^-ms-/,et=/-([\da-z])/gi,it=function(t,e){return e.toUpperCase()};Q.fn=Q.prototype={jquery:""2.1.4"",constructor:Q,selector:"""",length:0,toArray:function(){return z.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:z.call(this)},pushStack:function(t){var e=Q.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return Q.each(this,t,e)},map:function(t){return this.pushStack(Q.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:G,sort:B.sort,splice:B.splice},Q.extend=Q.fn.extend=function(){var t,e,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for(""boolean""==typeof o&&(c=o,o=arguments[a]||{},a++),""object""==typeof o||Q.isFunction(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=o[e],n=t[e],o!==n&&(c&&n&&(Q.isPlainObject(n)||(s=Q.isArray(n)))?(s?(s=!1,r=i&&Q.isArray(i)?i:[]):r=i&&Q.isPlainObject(i)?i:{},o[e]=Q.extend(c,r,n)):void 0!==n&&(o[e]=n));return o},Q.extend({expando:""jQuery""+(""2.1.4""+Math.random()).replace(/\D/g,""""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return""function""===Q.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!Q.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return""object""===Q.type(t)&&!t.nodeType&&!Q.isWindow(t)&&!(t.constructor&&!X.call(t.constructor.prototype,""isPrototypeOf""))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"""":""object""==typeof t||""function""==typeof t?U[Y.call(t)]||""object"":typeof t},globalEval:function(t){var e,i=eval;(t=Q.trim(t))&&(1===t.indexOf(""use strict"")?(e=J.createElement(""script""),e.text=t,J.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(tt,""ms-"").replace(et,it)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var s=0,r=t.length,o=i(t);if(n){if(o)for(;s<r&&!1!==e.apply(t[s],n);s++);else for(s in t)if(!1===e.apply(t[s],n))break}else if(o)for(;s<r&&!1!==e.call(t[s],s,t[s]);s++);else for(s in t)if(!1===e.call(t[s],s,t[s]))break;return t},trim:function(t){return null==t?"""":(t+"""").replace(Z,"""")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?Q.merge(n,""string""==typeof t?[t]:t):G.call(n,t)),n},inArray:function(t,e,i){return null==e?-1:W.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,r=t.length,o=!i;s<r;s++)!e(t[s],s)!==o&&n.push(t[s]);return n},map:function(t,e,n){var s,r=0,o=t.length,a=i(t),l=[];if(a)for(;r<o;r++)null!=(s=e(t[r],r,n))&&l.push(s);else for(r in t)null!=(s=e(t[r],r,n))&&l.push(s);return q.apply([],l)},guid:1,proxy:function(t,e){var i,n,s;if(""string""==typeof e&&(i=t[e],e=t,t=i),Q.isFunction(t))return n=z.call(arguments,2),s=function(){return t.apply(e||this,n.concat(z.call(arguments)))},s.guid=t.guid=t.guid||Q.guid++,s},now:Date.now,support:K}),Q.each(""Boolean Number String Function Array Date RegExp Object Error"".split("" ""),function(t,e){U[""[object ""+e+""]""]=e.toLowerCase()});var nt=function(t){function e(t,e,i,n){var s,r,o,a,c,u,d,p,f,m;if((e?e.ownerDocument||e:V)!==k&&L(e),e=e||k,i=i||[],a=e.nodeType,""string""!=typeof t||!t||1!==a&&9!==a&&11!==a)return i;if(!n&&I){if(11!==a&&(s=gt.exec(t)))if(o=s[1]){if(9===a){if(!(r=e.getElementById(o))||!r.parentNode)return i;if(r.id===o)return i.push(r),i}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(o))&&N(e,r)&&r.id===o)return i.push(r),i}else{if(s[2])return K.apply(i,e.getElementsByTagName(t)),i;if((o=s[3])&&y.getElementsByClassName)return K.apply(i,e.getElementsByClassName(o)),i}if(y.qsa&&(!R||!R.test(t))){if(p=d=D,f=e,m=1!==a&&t,1===a&&""object""!==e.nodeName.toLowerCase()){for(u=E(t),(d=e.getAttribute(""id""))?p=d.replace(vt,""\\$&""):e.setAttribute(""id"",p),p=""[id='""+p+""'] "",c=u.length;c--;)u[c]=p+h(u[c]);f=_t.test(t)&&l(e.parentNode)||e,m=u.join("","")}if(m)try{return K.apply(i,f.querySelectorAll(m)),i}catch(t){}finally{d||e.removeAttribute(""id"")}}}return x(t.replace(ot,""$1""),e,i,n)}function i(){function t(i,n){return e.push(i+"" "")>w.cacheLength&&delete t[e.shift()],t[i+"" ""]=n}var e=[];return t}function n(t){return t[D]=!0,t}function s(t){var e=k.createElement(""div"");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var i=t.split(""|""),n=t.length;n--;)w.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||G)-(~t.sourceIndex||G);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return n(function(e){return e=+e,n(function(i,n){for(var s,r=t([],i.length,e),o=r.length;o--;)i[s=r[o]]&&(i[s]=!(n[s]=i[s]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function h(t){for(var e=0,i=t.length,n="""";e<i;e++)n+=t[e].value;return n}function u(t,e,i){var n=e.dir,s=i&&""parentNode""===n,r=H++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||s)return t(e,i,r)}:function(e,i,o){var a,l,c=[$,r];if(o){for(;e=e[n];)if((1===e.nodeType||s)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||s){if(l=e[D]||(e[D]={}),(a=l[n])&&a[0]===$&&a[1]===r)return c[2]=a[2];if(l[n]=c,c[2]=t(e,i,o))return!0}}}function d(t){return t.length>1?function(e,i,n){for(var s=t.length;s--;)if(!t[s](e,i,n))return!1;return!0}:t[0]}function p(t,i,n){for(var s=0,r=i.length;s<r;s++)e(t,i[s],n);return n}function f(t,e,i,n,s){for(var r,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(r=t[a])&&(i&&!i(r,n,s)||(o.push(r),c&&e.push(a)));return o}function m(t,e,i,s,r,o){return s&&!s[D]&&(s=m(s)),r&&!r[D]&&(r=m(r,o)),n(function(n,o,a,l){var c,h,u,d=[],m=[],g=o.length,_=n||p(e||""*"",a.nodeType?[a]:a,[]),v=!t||!n&&e?_:f(_,d,t,a,l),y=i?r||(n?t:g||s)?[]:o:v;if(i&&i(v,y,a,l),s)for(c=f(y,m),s(c,[],a,l),h=c.length;h--;)(u=c[h])&&(y[m[h]]=!(v[m[h]]=u));if(n){if(r||t){if(r){for(c=[],h=y.length;h--;)(u=y[h])&&c.push(v[h]=u);r(null,y=[],c,l)}for(h=y.length;h--;)(u=y[h])&&(c=r?Q(n,u):d[h])>-1&&(n[c]=!(o[c]=u))}}else y=f(y===o?y.splice(g,y.length):y),r?r(null,o,y,l):K.apply(o,y)})}function g(t){for(var e,i,n,s=t.length,r=w.relative[t[0].type],o=r||w.relative["" ""],a=r?1:0,l=u(function(t){return t===e},o,!0),c=u(function(t){return Q(e,t)>-1},o,!0),p=[function(t,i,n){var s=!r&&(n||i!==P)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,s}];a<s;a++)if(i=w.relative[t[a].type])p=[u(d(p),i)];else{if(i=w.filter[t[a].type].apply(null,t[a].matches),i[D]){for(n=++a;n<s&&!w.relative[t[n].type];n++);return m(a>1&&d(p),a>1&&h(t.slice(0,a-1).concat({value:"" ""===t[a-2].type?""*"":""""})).replace(ot,""$1""),i,a<n&&g(t.slice(a,n)),n<s&&g(t=t.slice(n)),n<s&&h(t))}p.push(i)}return d(p)}function _(t,i){var s=i.length>0,r=t.length>0,o=function(n,o,a,l,c){var h,u,d,p=0,m=""0"",g=n&&[],_=[],v=P,y=n||r&&w.find.TAG(""*"",c),T=$+=null==v?1:Math.random()||.1,b=y.length;for(c&&(P=o!==k&&o);m!==b&&null!=(h=y[m]);m++){if(r&&h){for(u=0;d=t[u++];)if(d(h,o,a)){l.push(h);break}c&&($=T)}s&&((h=!d&&h)&&p--,n&&g.push(h))}if(p+=m,s&&m!==p){for(u=0;d=i[u++];)d(g,_,o,a);if(n){if(p>0)for(;m--;)g[m]||_[m]||(_[m]=Y.call(l));_=f(_)}K.apply(l,_),c&&!n&&_.length>0&&p+i.length>1&&e.uniqueSort(l)}return c&&($=T,P=v),g};return s?n(o):o}var v,y,w,T,b,E,S,x,P,A,C,L,k,O,I,R,j,M,N,D=""sizzle""+1*new Date,V=t.document,$=0,H=0,F=i(),B=i(),z=i(),q=function(t,e){return t===e&&(C=!0),0},G=1<<31,W={}.hasOwnProperty,U=[],Y=U.pop,X=U.push,K=U.push,J=U.slice,Q=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},Z=""checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped"",tt=""[\\x20\\t\\r\\n\\f]"",et=""(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+"",it=et.replace(""w"",""w#""),nt=""\\[""+tt+""*(""+et+"")(?:""+tt+""*([*^$|!~]?=)""+tt+""*(?:'((?:\\\\.|[^\\\\'])*)'|\""((?:\\\\.|[^\\\\\""])*)\""|(""+it+""))|)""+tt+""*\\]"",st="":(""+et+"")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\""((?:\\\\.|[^\\\\\""])*)\"")|((?:\\\\.|[^\\\\()[\\]]|""+nt+"")*)|.*)\\)|)"",rt=new RegExp(tt+""+"",""g""),ot=new RegExp(""^""+tt+""+|((?:^|[^\\\\])(?:\\\\.)*)""+tt+""+$"",""g""),at=new RegExp(""^""+tt+""*,""+tt+""*""),lt=new RegExp(""^""+tt+""*([>+~]|""+tt+"")""+tt+""*""),ct=new RegExp(""=""+tt+""*([^\\]'\""]*?)""+tt+""*\\]"",""g""),ht=new RegExp(st),ut=new RegExp(""^""+it+""$""),dt={ID:new RegExp(""^#(""+et+"")""),CLASS:new RegExp(""^\\.(""+et+"")""),TAG:new RegExp(""^(""+et.replace(""w"",""w*"")+"")""),ATTR:new RegExp(""^""+nt),PSEUDO:new RegExp(""^""+st),CHILD:new RegExp(""^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(""+tt+""*(even|odd|(([+-]|)(\\d*)n|)""+tt+""*(?:([+-]|)""+tt+""*(\\d+)|))""+tt+""*\\)|)"",""i""),bool:new RegExp(""^(?:""+Z+"")$"",""i""),needsContext:new RegExp(""^""+tt+""*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(""+tt+""*((?:-\\d)?\\d*)""+tt+""*\\)|)(?=[^-]|$)"",""i"")},pt=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_t=/[+~]/,vt=/'|\\/g,yt=new RegExp(""\\\\([\\da-f]{1,6}""+tt+""?|(""+tt+"")|.)"",""ig""),wt=function(t,e,i){var n=""0x""+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},Tt=function(){L()};try{K.apply(U=J.call(V.childNodes),V.childNodes),U[V.childNodes.length].nodeType}catch(t){K={apply:U.length?function(t,e){X.apply(t,J.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}y=e.support={},b=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&""HTML""!==e.nodeName},L=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:V;return n!==k&&9===n.nodeType&&n.documentElement?(k=n,O=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener(""unload"",Tt,!1):i.attachEvent&&i.attachEvent(""onunload"",Tt)),I=!b(n),y.attributes=s(function(t){return t.className=""i"",!t.getAttribute(""className"")}),y.getElementsByTagName=s(function(t){return t.appendChild(n.createComment("""")),!t.getElementsByTagName(""*"").length}),y.getElementsByClassName=mt.test(n.getElementsByClassName),y.getById=s(function(t){return O.appendChild(t).id=D,!n.getElementsByName||!n.getElementsByName(D).length}),y.getById?(w.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},w.filter.ID=function(t){var e=t.replace(yt,wt);return function(t){return t.getAttribute(""id"")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(yt,wt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode(""id"");return i&&i.value===e}}),w.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if(""*""===t){for(;i=r[s++];)1===i.nodeType&&n.push(i);return n}return r},w.find.CLASS=y.getElementsByClassName&&function(t,e){if(I)return e.getElementsByClassName(t)},j=[],R=[],(y.qsa=mt.test(n.querySelectorAll))&&(s(function(t){O.appendChild(t).innerHTML=""<a id='""+D+""'></a><select id='""+D+""-\f]' msallowcapture=''><option selected=''></option></select>"",t.querySelectorAll(""[msallowcapture^='']"").length&&R.push(""[*^$]=""+tt+""*(?:''|\""\"")""),t.querySelectorAll(""[selected]"").length||R.push(""\\[""+tt+""*(?:value|""+Z+"")""),t.querySelectorAll(""[id~=""+D+""-]"").length||R.push(""~=""),t.querySelectorAll("":checked"").length||R.push("":checked""),t.querySelectorAll(""a#""+D+""+*"").length||R.push("".#.+[+~]"")}),s(function(t){var e=n.createElement(""input"");e.setAttribute(""type"",""hidden""),t.appendChild(e).setAttribute(""name"",""D""),t.querySelectorAll(""[name=d]"").length&&R.push(""name""+tt+""*[*^$|!~]?=""),t.querySelectorAll("":enabled"").length||R.push("":enabled"","":disabled""),t.querySelectorAll(""*,:x""),R.push("",.*:"")})),(y.matchesSelector=mt.test(M=O.matches||O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&s(function(t){y.disconnectedMatch=M.call(t,""div""),M.call(t,""[s!='']:x""),j.push(""!="",st)}),R=R.length&&new RegExp(R.join(""|"")),j=j.length&&new RegExp(j.join(""|"")),e=mt.test(O.compareDocumentPosition),N=e||mt.test(O.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return C=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!y.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===V&&N(V,t)?-1:e===n||e.ownerDocument===V&&N(V,e)?1:A?Q(A,t)-Q(A,e):0:4&i?-1:1)}:function(t,e){if(t===e)return C=!0,0;var i,s=0,r=t.parentNode,a=e.parentNode,l=[t],c=[e];if(!r||!a)return t===n?-1:e===n?1:r?-1:a?1:A?Q(A,t)-Q(A,e):0;if(r===a)return o(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)c.unshift(i);for(;l[s]===c[s];)s++;return s?o(l[s],c[s]):l[s]===V?-1:c[s]===V?1:0},n):k},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==k&&L(t),i=i.replace(ct,""='$1']""),y.matchesSelector&&I&&(!j||!j.test(i))&&(!R||!R.test(i)))try{var n=M.call(t,i);if(n||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,k,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==k&&L(t),N(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==k&&L(t);var i=w.attrHandle[e.toLowerCase()],n=i&&W.call(w.attrHandle,e.toLowerCase())?i(t,e,!I):void 0;return void 0!==n?n:y.attributes||!I?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error(""Syntax error, unrecognized expression: ""+t)},e.uniqueSort=function(t){var e,i=[],n=0,s=0;if(C=!y.detectDuplicates,A=!y.sortStable&&t.slice(0),t.sort(q),C){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return A=null,t},T=e.getText=function(t){var e,i="""",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if(""string""==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=T(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=T(e);return i},w=e.selectors={cacheLength:50,createPseudo:n,match:dt,attrHandle:{},find:{},relative:{"">"":{dir:""parentNode"",first:!0},"" "":{dir:""parentNode""},""+"":{dir:""previousSibling"",first:!0},""~"":{dir:""previousSibling""}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(yt,wt),t[3]=(t[3]||t[4]||t[5]||"""").replace(yt,wt),""~=""===t[2]&&(t[3]="" ""+t[3]+"" ""),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),""nth""===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*(""even""===t[3]||""odd""===t[3])),t[5]=+(t[7]+t[8]||""odd""===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"""":i&&ht.test(i)&&(e=E(i,!0))&&(e=i.indexOf("")"",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(yt,wt).toLowerCase();return""*""===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=F[t+"" ""];return e||(e=new RegExp(""(^|""+tt+"")""+t+""(""+tt+""|$)""))&&F(t,function(t){return e.test(""string""==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute(""class"")||"""")})},ATTR:function(t,i,n){return function(s){var r=e.attr(s,t);return null==r?""!=""===i:!i||(r+="""",""=""===i?r===n:""!=""===i?r!==n:""^=""===i?n&&0===r.indexOf(n):""*=""===i?n&&r.indexOf(n)>-1:""$=""===i?n&&r.slice(-n.length)===n:""~=""===i?("" ""+r.replace(rt,"" "")+"" "").indexOf(n)>-1:""|=""===i&&(r===n||r.slice(0,n.length+1)===n+""-""))}},CHILD:function(t,e,i,n,s){var r=""nth""!==t.slice(0,3),o=""last""!==t.slice(-4),a=""of-type""===e;return 1===n&&0===s?function(t){return!!t.parentNode}:function(e,i,l){var c,h,u,d,p,f,m=r!==o?""nextSibling"":""previousSibling"",g=e.parentNode,_=a&&e.nodeName.toLowerCase(),v=!l&&!a;if(g){if(r){for(;m;){for(u=e;u=u[m];)if(a?u.nodeName.toLowerCase()===_:1===u.nodeType)return!1;f=m=""only""===t&&!f&&""nextSibling""}return!0}if(f=[o?g.firstChild:g.lastChild],o&&v){for(h=g[D]||(g[D]={}),c=h[t]||[],p=c[0]===$&&c[1],d=c[0]===$&&c[2],u=p&&g.childNodes[p];u=++p&&u&&u[m]||(d=p=0)||f.pop();)if(1===u.nodeType&&++d&&u===e){h[t]=[$,p,d];break}}else if(v&&(c=(e[D]||(e[D]={}))[t])&&c[0]===$)d=c[1];else for(;(u=++p&&u&&u[m]||(d=p=0)||f.pop())&&((a?u.nodeName.toLowerCase()!==_:1!==u.nodeType)||!++d||(v&&((u[D]||(u[D]={}))[t]=[$,d]),u!==e)););return(d-=s)===n||d%n==0&&d/n>=0}}},PSEUDO:function(t,i){var s,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error(""unsupported pseudo: ""+t);return r[D]?r(i):r.length>1?(s=[t,t,"""",i],w.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,s=r(t,i),o=s.length;o--;)n=Q(t,s[o]),t[n]=!(e[n]=s[o])}):function(t){return r(t,0,s)}):r}},pseudos:{not:n(function(t){var e=[],i=[],s=S(t.replace(ot,""$1""));return s[D]?n(function(t,e,i,n){for(var r,o=s(t,null,n,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,n,r){return e[0]=t,s(e,null,r,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(yt,wt),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:n(function(t){return ut.test(t||"""")||e.error(""unsupported lang: ""+t),t=t.replace(yt,wt).toLowerCase(),function(e){var i;do{if(i=I?e.lang:e.getAttribute(""xml:lang"")||e.getAttribute(""lang""))return(i=i.toLowerCase())===t||0===i.indexOf(t+""-"")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===O},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return""input""===e&&!!t.checked||""option""===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return""input""===e&&""button""===t.type||""button""===e},text:function(t){var e;return""input""===t.nodeName.toLowerCase()&&""text""===t.type&&(null==(e=t.getAttribute(""type""))||""text""===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,i){return[i<0?i+e:i]}),even:a(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:a(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:a(function(t,e,i){for(var n=i<0?i+e:i;--n>=0;)t.push(n);return t}),gt:a(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},w.pseudos.nth=w.pseudos.eq;for(v in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[v]=function(t){return function(e){return""input""===e.nodeName.toLowerCase()&&e.type===t}}(v);for(v in{submit:!0,reset:!0})w.pseudos[v]=function(t){return function(e){var i=e.nodeName.toLowerCase();return(""input""===i||""button""===i)&&e.type===t}}(v);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,E=e.tokenize=function(t,i){var n,s,r,o,a,l,c,h=B[t+"" ""];if(h)return i?0:h.slice(0);for(a=t,l=[],c=w.preFilter;a;){n&&!(s=at.exec(a))||(s&&(a=a.slice(s[0].length)||a),l.push(r=[])),n=!1,(s=lt.exec(a))&&(n=s.shift(),r.push({value:n,type:s[0].replace(ot,"" "")}),a=a.slice(n.length));for(o in w.filter)!(s=dt[o].exec(a))||c[o]&&!(s=c[o](s))||(n=s.shift(),r.push({value:n,type:o,matches:s}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):B(t,l).slice(0)},S=e.compile=function(t,e){var i,n=[],s=[],r=z[t+"" ""];if(!r){for(e||(e=E(t)),i=e.length;i--;)r=g(e[i]),r[D]?n.push(r):s.push(r);r=z(t,_(s,n)),r.selector=t}return r},x=e.select=function(t,e,i,n){var s,r,o,a,c,u=""function""==typeof t&&t,d=!n&&E(t=u.selector||t);if(i=i||[],1===d.length){if(r=d[0]=d[0].slice(0),r.length>2&&""ID""===(o=r[0]).type&&y.getById&&9===e.nodeType&&I&&w.relative[r[1].type]){if(!(e=(w.find.ID(o.matches[0].replace(yt,wt),e)||[])[0]))return i;u&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=dt.needsContext.test(t)?0:r.length;s--&&(o=r[s],!w.relative[a=o.type]);)if((c=w.find[a])&&(n=c(o.matches[0].replace(yt,wt),_t.test(r[0].type)&&l(e.parentNode)||e))){if(r.splice(s,1),!(t=n.length&&h(r)))return K.apply(i,n),i;break}}return(u||S(t,d))(n,e,!I,i,_t.test(t)&&l(e.parentNode)||e),i},y.sortStable=D.split("""").sort(q).join("""")===D,y.detectDuplicates=!!C,L(),y.sortDetached=s(function(t){return 1&t.compareDocumentPosition(k.createElement(""div""))}),s(function(t){return t.innerHTML=""<a href='#'></a>"",""#""===t.firstChild.getAttribute(""href"")})||r(""type|href|height|width"",function(t,e,i){if(!i)return t.getAttribute(e,""type""===e.toLowerCase()?1:2)}),y.attributes&&s(function(t){return t.innerHTML=""<input/>"",t.firstChild.setAttribute(""value"",""""),""""===t.firstChild.getAttribute(""value"")})||r(""value"",function(t,e,i){if(!i&&""input""===t.nodeName.toLowerCase())return t.defaultValue}),s(function(t){return null==t.getAttribute(""disabled"")})||r(Z,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);Q.find=nt,Q.expr=nt.selectors,Q.expr["":""]=Q.expr.pseudos,Q.unique=nt.uniqueSort,Q.text=nt.getText,Q.isXMLDoc=nt.isXML,Q.contains=nt.contains;var st=Q.expr.match.needsContext,rt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ot=/^.[^:#\[\.,]*$/;Q.filter=function(t,e,i){var n=e[0];return i&&(t="":not(""+t+"")""),1===e.length&&1===n.nodeType?Q.find.matchesSelector(n,t)?[n]:[]:Q.find.matches(t,Q.grep(e,function(t){return 1===t.nodeType}))},Q.fn.extend({find:function(t){var e,i=this.length,n=[],s=this;if(""string""!=typeof t)return this.pushStack(Q(t).filter(function(){for(e=0;e<i;e++)if(Q.contains(s[e],this))return!0})) | |
;for(e=0;e<i;e++)Q.find(t,s[e],n);return n=this.pushStack(i>1?Q.unique(n):n),n.selector=this.selector?this.selector+"" ""+t:t,n},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,""string""==typeof t&&st.test(t)?Q(t):t||[],!1).length}});var at,lt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(Q.fn.init=function(t,e){var i,n;if(!t)return this;if(""string""==typeof t){if(!(i=""<""===t[0]&&"">""===t[t.length-1]&&t.length>=3?[null,t,null]:lt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||at).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof Q?e[0]:e,Q.merge(this,Q.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:J,!0)),rt.test(i[1])&&Q.isPlainObject(e))for(i in e)Q.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return n=J.getElementById(i[2]),n&&n.parentNode&&(this.length=1,this[0]=n),this.context=J,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):Q.isFunction(t)?void 0!==at.ready?at.ready(t):t(Q):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),Q.makeArray(t,this))}).prototype=Q.fn,at=Q(J);var ct=/^(?:parents|prev(?:Until|All))/,ht={children:!0,contents:!0,next:!0,prev:!0};Q.extend({dir:function(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&Q(t).is(i))break;n.push(t)}return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),Q.fn.extend({has:function(t){var e=Q(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(Q.contains(this,e[t]))return!0})},closest:function(t,e){for(var i,n=0,s=this.length,r=[],o=st.test(t)||""string""!=typeof t?Q(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&Q.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?Q.unique(r):r)},index:function(t){return t?""string""==typeof t?W.call(Q(t),this[0]):W.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(Q.unique(Q.merge(this.get(),Q(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),Q.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Q.dir(t,""parentNode"")},parentsUntil:function(t,e,i){return Q.dir(t,""parentNode"",i)},next:function(t){return s(t,""nextSibling"")},prev:function(t){return s(t,""previousSibling"")},nextAll:function(t){return Q.dir(t,""nextSibling"")},prevAll:function(t){return Q.dir(t,""previousSibling"")},nextUntil:function(t,e,i){return Q.dir(t,""nextSibling"",i)},prevUntil:function(t,e,i){return Q.dir(t,""previousSibling"",i)},siblings:function(t){return Q.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Q.sibling(t.firstChild)},contents:function(t){return t.contentDocument||Q.merge([],t.childNodes)}},function(t,e){Q.fn[t]=function(i,n){var s=Q.map(this,e,i);return""Until""!==t.slice(-5)&&(n=i),n&&""string""==typeof n&&(s=Q.filter(n,s)),this.length>1&&(ht[t]||Q.unique(s),ct.test(t)&&s.reverse()),this.pushStack(s)}});var ut=/\S+/g,dt={};Q.Callbacks=function(t){t=""string""==typeof t?dt[t]||r(t):Q.extend({},t);var e,i,n,s,o,a,l=[],c=!t.once&&[],h=function(r){for(e=t.memory&&r,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&a<o;a++)if(!1===l[a].apply(r[0],r[1])&&t.stopOnFalse){e=!1;break}n=!1,l&&(c?c.length&&h(c.shift()):e?l=[]:u.disable())},u={add:function(){if(l){var i=l.length;!function e(i){Q.each(i,function(i,n){var s=Q.type(n);""function""===s?t.unique&&u.has(n)||l.push(n):n&&n.length&&""string""!==s&&e(n)})}(arguments),n?o=l.length:e&&(s=i,h(e))}return this},remove:function(){return l&&Q.each(arguments,function(t,e){for(var i;(i=Q.inArray(e,l,i))>-1;)l.splice(i,1),n&&(i<=o&&o--,i<=a&&a--)}),this},has:function(t){return t?Q.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=c=e=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,e||u.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!l||i&&!c||(e=e||[],e=[t,e.slice?e.slice():e],n?c.push(e):h(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},Q.extend({Deferred:function(t){var e=[[""resolve"",""done"",Q.Callbacks(""once memory""),""resolved""],[""reject"",""fail"",Q.Callbacks(""once memory""),""rejected""],[""notify"",""progress"",Q.Callbacks(""memory"")]],i=""pending"",n={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var t=arguments;return Q.Deferred(function(i){Q.each(e,function(e,r){var o=Q.isFunction(t[e])&&t[e];s[r[1]](function(){var t=o&&o.apply(this,arguments);t&&Q.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[r[0]+""With""](this===n?i.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?Q.extend(t,n):n}},s={};return n.pipe=n.then,Q.each(e,function(t,r){var o=r[2],a=r[3];n[r[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),s[r[0]]=function(){return s[r[0]+""With""](this===s?n:this,arguments),this},s[r[0]+""With""]=o.fireWith}),n.promise(s),t&&t.call(s,s),s},when:function(t){var e,i,n,s=0,r=z.call(arguments),o=r.length,a=1!==o||t&&Q.isFunction(t.promise)?o:0,l=1===a?t:Q.Deferred(),c=function(t,i,n){return function(s){i[t]=this,n[t]=arguments.length>1?z.call(arguments):s,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);s<o;s++)r[s]&&Q.isFunction(r[s].promise)?r[s].promise().done(c(s,n,r)).fail(l.reject).progress(c(s,i,e)):--a;return a||l.resolveWith(n,r),l.promise()}});var pt;Q.fn.ready=function(t){return Q.ready.promise().done(t),this},Q.extend({isReady:!1,readyWait:1,holdReady:function(t){t?Q.readyWait++:Q.ready(!0)},ready:function(t){(!0===t?--Q.readyWait:Q.isReady)||(Q.isReady=!0,!0!==t&&--Q.readyWait>0||(pt.resolveWith(J,[Q]),Q.fn.triggerHandler&&(Q(J).triggerHandler(""ready""),Q(J).off(""ready""))))}}),Q.ready.promise=function(e){return pt||(pt=Q.Deferred(),""complete""===J.readyState?setTimeout(Q.ready):(J.addEventListener(""DOMContentLoaded"",o,!1),t.addEventListener(""load"",o,!1))),pt.promise(e)},Q.ready.promise();var ft=Q.access=function(t,e,i,n,s,r,o){var a=0,l=t.length,c=null==i;if(""object""===Q.type(i)){s=!0;for(a in i)Q.access(t,e,a,i[a],!0,r,o)}else if(void 0!==n&&(s=!0,Q.isFunction(n)||(o=!0),c&&(o?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(Q(t),i)})),e))for(;a<l;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return s?t:c?e.call(t):l?e(t[0],i):r};Q.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},a.uid=1,a.accepts=Q.acceptData,a.prototype={key:function(t){if(!a.accepts(t))return 0;var e={},i=t[this.expando];if(!i){i=a.uid++;try{e[this.expando]={value:i},Object.defineProperties(t,e)}catch(n){e[this.expando]=i,Q.extend(t,e)}}return this.cache[i]||(this.cache[i]={}),i},set:function(t,e,i){var n,s=this.key(t),r=this.cache[s];if(""string""==typeof e)r[e]=i;else if(Q.isEmptyObject(r))Q.extend(this.cache[s],e);else for(n in e)r[n]=e[n];return r},get:function(t,e){var i=this.cache[this.key(t)];return void 0===e?i:i[e]},access:function(t,e,i){var n;return void 0===e||e&&""string""==typeof e&&void 0===i?(n=this.get(t,e),void 0!==n?n:this.get(t,Q.camelCase(e))):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n,s,r=this.key(t),o=this.cache[r];if(void 0===e)this.cache[r]={};else{Q.isArray(e)?n=e.concat(e.map(Q.camelCase)):(s=Q.camelCase(e),e in o?n=[e,s]:(n=s,n=n in o?[n]:n.match(ut)||[])),i=n.length;for(;i--;)delete o[n[i]]}},hasData:function(t){return!Q.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var mt=new a,gt=new a,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,vt=/([A-Z])/g;Q.extend({hasData:function(t){return gt.hasData(t)||mt.hasData(t)},data:function(t,e,i){return gt.access(t,e,i)},removeData:function(t,e){gt.remove(t,e)},_data:function(t,e,i){return mt.access(t,e,i)},_removeData:function(t,e){mt.remove(t,e)}}),Q.fn.extend({data:function(t,e){var i,n,s,r=this[0],o=r&&r.attributes;if(void 0===t){if(this.length&&(s=gt.get(r),1===r.nodeType&&!mt.get(r,""hasDataAttrs""))){for(i=o.length;i--;)o[i]&&(n=o[i].name,0===n.indexOf(""data-"")&&(n=Q.camelCase(n.slice(5)),l(r,n,s[n])));mt.set(r,""hasDataAttrs"",!0)}return s}return""object""==typeof t?this.each(function(){gt.set(this,t)}):ft(this,function(e){var i,n=Q.camelCase(t);if(r&&void 0===e){if(void 0!==(i=gt.get(r,t)))return i;if(void 0!==(i=gt.get(r,n)))return i;if(void 0!==(i=l(r,n,void 0)))return i}else this.each(function(){var i=gt.get(this,n);gt.set(this,n,e),-1!==t.indexOf(""-"")&&void 0!==i&>.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){gt.remove(this,t)})}}),Q.extend({queue:function(t,e,i){var n;if(t)return e=(e||""fx"")+""queue"",n=mt.get(t,e),i&&(!n||Q.isArray(i)?n=mt.access(t,e,Q.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||""fx"";var i=Q.queue(t,e),n=i.length,s=i.shift(),r=Q._queueHooks(t,e),o=function(){Q.dequeue(t,e)};""inprogress""===s&&(s=i.shift(),n--),s&&(""fx""===e&&i.unshift(""inprogress""),delete r.stop,s.call(t,o,r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+""queueHooks"";return mt.get(t,i)||mt.access(t,i,{empty:Q.Callbacks(""once memory"").add(function(){mt.remove(t,[e+""queue"",i])})})}}),Q.fn.extend({queue:function(t,e){var i=2;return""string""!=typeof t&&(e=t,t=""fx"",i--),arguments.length<i?Q.queue(this[0],t):void 0===e?this:this.each(function(){var i=Q.queue(this,t,e);Q._queueHooks(this,t),""fx""===t&&""inprogress""!==i[0]&&Q.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Q.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||""fx"",[])},promise:function(t,e){var i,n=1,s=Q.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};for(""string""!=typeof t&&(e=t,t=void 0),t=t||""fx"";o--;)(i=mt.get(r[o],t+""queueHooks""))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(e)}});var yt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=[""Top"",""Right"",""Bottom"",""Left""],Tt=function(t,e){return t=e||t,""none""===Q.css(t,""display"")||!Q.contains(t.ownerDocument,t)},bt=/^(?:checkbox|radio)$/i;!function(){var t=J.createDocumentFragment(),e=t.appendChild(J.createElement(""div"")),i=J.createElement(""input"");i.setAttribute(""type"",""radio""),i.setAttribute(""checked"",""checked""),i.setAttribute(""name"",""t""),e.appendChild(i),K.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML=""<textarea>x</textarea>"",K.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();K.focusinBubbles=""onfocusin""in t;var Et=/^key/,St=/^(?:mouse|pointer|contextmenu)|click/,xt=/^(?:focusinfocus|focusoutblur)$/,Pt=/^([^.]*)(?:\.(.+)|)$/;Q.event={global:{},add:function(t,e,i,n,s){var r,o,a,l,c,h,u,d,p,f,m,g=mt.get(t);if(g)for(i.handler&&(r=i,i=r.handler,s=r.selector),i.guid||(i.guid=Q.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==Q&&Q.event.triggered!==e.type?Q.event.dispatch.apply(t,arguments):void 0}),e=(e||"""").match(ut)||[""""],c=e.length;c--;)a=Pt.exec(e[c])||[],p=m=a[1],f=(a[2]||"""").split(""."").sort(),p&&(u=Q.event.special[p]||{},p=(s?u.delegateType:u.bindType)||p,u=Q.event.special[p]||{},h=Q.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&Q.expr.match.needsContext.test(s),namespace:f.join(""."")},r),(d=l[p])||(d=l[p]=[],d.delegateCount=0,u.setup&&!1!==u.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o,!1)),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,h):d.push(h),Q.event.global[p]=!0)},remove:function(t,e,i,n,s){var r,o,a,l,c,h,u,d,p,f,m,g=mt.hasData(t)&&mt.get(t);if(g&&(l=g.events)){for(e=(e||"""").match(ut)||[""""],c=e.length;c--;)if(a=Pt.exec(e[c])||[],p=m=a[1],f=(a[2]||"""").split(""."").sort(),p){for(u=Q.event.special[p]||{},p=(n?u.delegateType:u.bindType)||p,d=l[p]||[],a=a[2]&&new RegExp(""(^|\\.)""+f.join(""\\.(?:.*\\.|)"")+""(\\.|$)""),o=r=d.length;r--;)h=d[r],!s&&m!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&(""**""!==n||!h.selector)||(d.splice(r,1),h.selector&&d.delegateCount--,u.remove&&u.remove.call(t,h));o&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||Q.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)Q.event.remove(t,p+e[c],i,n,!0);Q.isEmptyObject(l)&&(delete g.handle,mt.remove(t,""events""))}},trigger:function(e,i,n,s){var r,o,a,l,c,h,u,d=[n||J],p=X.call(e,""type"")?e.type:e,f=X.call(e,""namespace"")?e.namespace.split("".""):[];if(o=a=n=n||J,3!==n.nodeType&&8!==n.nodeType&&!xt.test(p+Q.event.triggered)&&(p.indexOf(""."")>=0&&(f=p.split("".""),p=f.shift(),f.sort()),c=p.indexOf("":"")<0&&""on""+p,e=e[Q.expando]?e:new Q.Event(p,""object""==typeof e&&e),e.isTrigger=s?2:3,e.namespace=f.join("".""),e.namespace_re=e.namespace?new RegExp(""(^|\\.)""+f.join(""\\.(?:.*\\.|)"")+""(\\.|$)""):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:Q.makeArray(i,[e]),u=Q.event.special[p]||{},s||!u.trigger||!1!==u.trigger.apply(n,i))){if(!s&&!u.noBubble&&!Q.isWindow(n)){for(l=u.delegateType||p,xt.test(l+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),a=o;a===(n.ownerDocument||J)&&d.push(a.defaultView||a.parentWindow||t)}for(r=0;(o=d[r++])&&!e.isPropagationStopped();)e.type=r>1?l:u.bindType||p,h=(mt.get(o,""events"")||{})[e.type]&&mt.get(o,""handle""),h&&h.apply(o,i),(h=c&&o[c])&&h.apply&&Q.acceptData(o)&&(e.result=h.apply(o,i),!1===e.result&&e.preventDefault());return e.type=p,s||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(d.pop(),i)||!Q.acceptData(n)||c&&Q.isFunction(n[p])&&!Q.isWindow(n)&&(a=n[c],a&&(n[c]=null),Q.event.triggered=p,n[p](),Q.event.triggered=void 0,a&&(n[c]=a)),e.result}},dispatch:function(t){t=Q.event.fix(t);var e,i,n,s,r,o=[],a=z.call(arguments),l=(mt.get(this,""events"")||{})[t.type]||[],c=Q.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(o=Q.event.handlers.call(this,t,l),e=0;(s=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,i=0;(r=s.handlers[i++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(r.namespace)||(t.handleObj=r,t.data=r.data,void 0!==(n=((Q.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,r,o=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||""click""!==t.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||""click""!==t.type){for(n=[],i=0;i<a;i++)r=e[i],s=r.selector+"" "",void 0===n[s]&&(n[s]=r.needsContext?Q(s,this).index(l)>=0:Q.find(s,this,null,[l]).length),n[s]&&n.push(r);n.length&&o.push({elem:l,handlers:n})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},props:""altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which"".split("" ""),fixHooks:{},keyHooks:{props:""char charCode key keyCode"".split("" ""),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:""button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement"".split("" ""),filter:function(t,e){var i,n,s,r=e.button;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||J,n=i.documentElement,s=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||s&&s.scrollLeft||0)-(n&&n.clientLeft||s&&s.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||s&&s.scrollTop||0)-(n&&n.clientTop||s&&s.clientTop||0)),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},fix:function(t){if(t[Q.expando])return t;var e,i,n,s=t.type,r=t,o=this.fixHooks[s];for(o||(this.fixHooks[s]=o=St.test(s)?this.mouseHooks:Et.test(s)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new Q.Event(r),e=n.length;e--;)i=n[e],t[i]=r[i];return t.target||(t.target=J),3===t.target.nodeType&&(t.target=t.target.parentNode),o.filter?o.filter(t,r):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==u()&&this.focus)return this.focus(),!1},delegateType:""focusin""},blur:{trigger:function(){if(this===u()&&this.blur)return this.blur(),!1},delegateType:""focusout""},click:{trigger:function(){if(""checkbox""===this.type&&this.click&&Q.nodeName(this,""input""))return this.click(),!1},_default:function(t){return Q.nodeName(t.target,""a"")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=Q.extend(new Q.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?Q.event.trigger(s,null,e):Q.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},Q.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)},Q.Event=function(t,e){if(!(this instanceof Q.Event))return new Q.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?c:h):this.type=t,e&&Q.extend(this,e),this.timeStamp=t&&t.timeStamp||Q.now(),this[Q.expando]=!0},Q.Event.prototype={isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},Q.each({mouseenter:""mouseover"",mouseleave:""mouseout"",pointerenter:""pointerover"",pointerleave:""pointerout""},function(t,e){Q.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,s=t.relatedTarget,r=t.handleObj;return s&&(s===n||Q.contains(n,s))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),K.focusinBubbles||Q.each({focus:""focusin"",blur:""focusout""},function(t,e){var i=function(t){Q.event.simulate(e,t.target,Q.event.fix(t),!0)};Q.event.special[e]={setup:function(){var n=this.ownerDocument||this,s=mt.access(n,e);s||n.addEventListener(t,i,!0),mt.access(n,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this,s=mt.access(n,e)-1;s?mt.access(n,e,s):(n.removeEventListener(t,i,!0),mt.remove(n,e))}}}),Q.fn.extend({on:function(t,e,i,n,s){var r,o;if(""object""==typeof t){""string""!=typeof e&&(i=i||e,e=void 0);for(o in t)this.on(o,e,i,t[o],s);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&(""string""==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),!1===n)n=h;else if(!n)return this;return 1===s&&(r=n,n=function(t){return Q().off(t),r.apply(this,arguments)},n.guid=r.guid||(r.guid=Q.guid++)),this.each(function(){Q.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,Q(t.delegateTarget).off(n.namespace?n.origType+"".""+n.namespace:n.origType,n.selector,n.handler),this;if(""object""==typeof t){for(s in t)this.off(s,e,t[s]);return this}return!1!==e&&""function""!=typeof e||(i=e,e=void 0),!1===i&&(i=h),this.each(function(){Q.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){Q.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return Q.event.trigger(t,e,i,!0)}});var At=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ct=/<([\w:]+)/,Lt=/<|&#?\w+;/,kt=/<(?:script|style|link)/i,Ot=/checked\s*(?:[^=]|=\s*.checked.)/i,It=/^$|\/(?:java|ecma)script/i,Rt=/^true\/(.*)/,jt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Mt={option:[1,""<select multiple='multiple'>"",""</select>""],thead:[1,""<table>"",""</table>""],col:[2,""<table><colgroup>"",""</colgroup></table>""],tr:[2,""<table><tbody>"",""</tbody></table>""],td:[3,""<table><tbody><tr>"",""</tr></tbody></table>""],_default:[0,"""",""""]};Mt.optgroup=Mt.option,Mt.tbody=Mt.tfoot=Mt.colgroup=Mt.caption=Mt.thead,Mt.th=Mt.td,Q.extend({clone:function(t,e,i){var n,s,r,o,a=t.cloneNode(!0),l=Q.contains(t.ownerDocument,t);if(!(K.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Q.isXMLDoc(t)))for(o=_(a),r=_(t),n=0,s=r.length;n<s;n++)v(r[n],o[n]);if(e)if(i)for(r=r||_(t),o=o||_(a),n=0,s=r.length;n<s;n++)g(r[n],o[n]);else g(t,a);return o=_(a,""script""),o.length>0&&m(o,!l&&_(t,""script"")),a},buildFragment:function(t,e,i,n){for(var s,r,o,a,l,c,h=e.createDocumentFragment(),u=[],d=0,p=t.length;d<p;d++)if((s=t[d])||0===s)if(""object""===Q.type(s))Q.merge(u,s.nodeType?[s]:s);else if(Lt.test(s)){for(r=r||h.appendChild(e.createElement(""div"")),o=(Ct.exec(s)||["""",""""])[1].toLowerCase(),a=Mt[o]||Mt._default,r.innerHTML=a[1]+s.replace(At,""<$1></$2>"")+a[2],c=a[0];c--;)r=r.lastChild;Q.merge(u,r.childNodes),r=h.firstChild,r.textContent=""""}else u.push(e.createTextNode(s));for(h.textContent="""",d=0;s=u[d++];)if((!n||-1===Q.inArray(s,n))&&(l=Q.contains(s.ownerDocument,s),r=_(h.appendChild(s),""script""),l&&m(r),i))for(c=0;s=r[c++];)It.test(s.type||"""")&&i.push(s);return h},cleanData:function(t){for(var e,i,n,s,r=Q.event.special,o=0;void 0!==(i=t[o]);o++){if(Q.acceptData(i)&&(s=i[mt.expando])&&(e=mt.cache[s])){if(e.events)for(n in e.events)r[n]?Q.event.remove(i,n):Q.removeEvent(i,n,e.handle);mt.cache[s]&&delete mt.cache[s]}delete gt.cache[i[gt.expando]]}}}),Q.fn.extend({text:function(t){return ft(this,function(t){return void 0===t?Q.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){d(this,t).appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=d(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?Q.filter(t,this):this,s=0;null!=(i=n[s]);s++)e||1!==i.nodeType||Q.cleanData(_(i)),i.parentNode&&(e&&Q.contains(i.ownerDocument,i)&&m(_(i,""script"")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Q.cleanData(_(t,!1)),t.textContent="""");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Q.clone(this,t,e)})},html:function(t){return ft(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if(""string""==typeof t&&!kt.test(t)&&!Mt[(Ct.exec(t)||["""",""""])[1].toLowerCase()]){t=t.replace(At,""<$1></$2>"");try{for(;i<n;i++)e=this[i]||{},1===e.nodeType&&(Q.cleanData(_(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Q.cleanData(_(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=q.apply([],t);var i,n,s,r,o,a,l=0,c=this.length,h=this,u=c-1,d=t[0],m=Q.isFunction(d);if(m||c>1&&""string""==typeof d&&!K.checkClone&&Ot.test(d))return this.each(function(i){var n=h.eq(i);m&&(t[0]=d.call(this,i,n.html())),n.domManip(t,e)});if(c&&(i=Q.buildFragment(t,this[0].ownerDocument,!1,this),n=i.firstChild,1===i.childNodes.length&&(i=n),n)){for(s=Q.map(_(i,""script""),p),r=s.length;l<c;l++)o=i,l!==u&&(o=Q.clone(o,!0,!0),r&&Q.merge(s,_(o,""script""))),e.call(this[l],o,l);if(r)for(a=s[s.length-1].ownerDocument,Q.map(s,f),l=0;l<r;l++)o=s[l],It.test(o.type||"""")&&!mt.access(o,""globalEval"")&&Q.contains(a,o)&&(o.src?Q._evalUrl&&Q._evalUrl(o.src):Q.globalEval(o.textContent.replace(jt,"""")))}return this}}),Q.each({appendTo:""append"",prependTo:""prepend"",insertBefore:""before"",insertAfter:""after"",replaceAll:""replaceWith""},function(t,e){Q.fn[t]=function(t){for(var i,n=[],s=Q(t),r=s.length-1,o=0;o<=r;o++)i=o===r?this:this.clone(!0),Q(s[o])[e](i),G.apply(n,i.get());return this.pushStack(n)}});var Nt,Dt={},Vt=/^margin/,$t=new RegExp(""^(""+yt+"")(?!px)[a-z%]+$"",""i""),Ht=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){o.style.cssText=""-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute"",o.innerHTML="""",s.appendChild(r);var e=t.getComputedStyle(o,null);i=""1%""!==e.top,n=""4px""===e.width,s.removeChild(r)}var i,n,s=J.documentElement,r=J.createElement(""div""),o=J.createElement(""div"");o.style&&(o.style.backgroundClip=""content-box"",o.cloneNode(!0).style.backgroundClip="""",K.clearCloneStyle=""content-box""===o.style.backgroundClip,r.style.cssText=""border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute"",r.appendChild(o),t.getComputedStyle&&Q.extend(K,{pixelPosition:function(){return e(),i},boxSizingReliable:function(){return null==n&&e(),n},reliableMarginRight:function(){var e,i=o.appendChild(J.createElement(""div""));return i.style.cssText=o.style.cssText=""-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0"",i.style.marginRight=i.style.width=""0"",o.style.width=""1px"",s.appendChild(r),e=!parseFloat(t.getComputedStyle(i,null).marginRight),s.removeChild(r),o.removeChild(i),e}}))}(),Q.swap=function(t,e,i,n){var s,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];s=i.apply(t,n||[]);for(r in e)t.style[r]=o[r];return s};var Ft=/^(none|table(?!-c[ea]).+)/,Bt=new RegExp(""^(""+yt+"")(.*)$"",""i""),zt=new RegExp(""^([+-])=(""+yt+"")"",""i""),qt={position:""absolute"",visibility:""hidden"",display:""block""},Gt={letterSpacing:""0"",fontWeight:""400""},Wt=[""Webkit"",""O"",""Moz"",""ms""];Q.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=T(t,""opacity"");return""""===i?""1"":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:""cssFloat""},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=Q.camelCase(e),l=t.style;if(e=Q.cssProps[a]||(Q.cssProps[a]=E(l,a)),o=Q.cssHooks[e]||Q.cssHooks[a],void 0===i)return o&&""get""in o&&void 0!==(s=o.get(t,!1,n))?s:l[e];r=typeof i,""string""===r&&(s=zt.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(Q.css(t,e)),r=""number""),null!=i&&i===i&&(""number""!==r||Q.cssNumber[a]||(i+=""px""),K.clearCloneStyle||""""!==i||0!==e.indexOf(""background"")||(l[e]=""inherit""),o&&""set""in o&&void 0===(i=o.set(t,i,n))||(l[e]=i))}},css:function(t,e,i,n){var s,r,o,a=Q.camelCase(e);return e=Q.cssProps[a]||(Q.cssProps[a]=E(t.style,a)),o=Q.cssHooks[e]||Q.cssHooks[a],o&&""get""in o&&(s=o.get(t,!0,i)),void 0===s&&(s=T(t,e,n)),""normal""===s&&e in Gt&&(s=Gt[e]),""""===i||i?(r=parseFloat(s),!0===i||Q.isNumeric(r)?r||0:s):s}}),Q.each([""height"",""width""],function(t,e){Q.cssHooks[e]={get:function(t,i,n){if(i)return Ft.test(Q.css(t,""display""))&&0===t.offsetWidth?Q.swap(t,qt,function(){return P(t,e,n)}):P(t,e,n)},set:function(t,i,n){var s=n&&Ht(t);return S(t,i,n?x(t,e,n,""border-box""===Q.css(t,""boxSizing"",!1,s),s):0)}}}),Q.cssHooks.marginRight=b(K.reliableMarginRight,function(t,e){if(e)return Q.swap(t,{display:""inline-block""},T,[t,""marginRight""])}),Q.each({margin:"""",padding:"""",border:""Width""},function(t,e){Q.cssHooks[t+e]={expand:function(i){for(var n=0,s={},r=""string""==typeof i?i.split("" ""):[i];n<4;n++)s[t+wt[n]+e]=r[n]||r[n-2]||r[0];return s}},Vt.test(t)||(Q.cssHooks[t+e].set=S)}),Q.fn.extend({css:function(t,e){return ft(this,function(t,e,i){var n,s,r={},o=0;if(Q.isArray(e)){for(n=Ht(t),s=e.length;o<s;o++)r[e[o]]=Q.css(t,e[o],!1,n);return r}return void 0!==i?Q.style(t,e,i):Q.css(t,e)},t,e,arguments.length>1)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(t){return""boolean""==typeof t?t?this.show():this.hide():this.each(function(){Tt(this)?Q(this).show():Q(this).hide()})}}),Q.Tween=C,C.prototype={constructor:C,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||""swing"",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(Q.cssNumber[i]?"""":""px"")},cur:function(){var t=C.propHooks[this.prop];return t&&t.get?t.get(this):C.propHooks._default.get(this)},run:function(t){var e,i=C.propHooks[this.prop];return this.options.duration?this.pos=e=Q.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):C.propHooks._default.set(this),this}},C.prototype.init.prototype=C.prototype,C.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=Q.css(t.elem,t.prop,""""),e&&""auto""!==e?e:0):t.elem[t.prop]},set:function(t){Q.fx.step[t.prop]?Q.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[Q.cssProps[t.prop]]||Q.cssHooks[t.prop])?Q.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},C.propHooks.scrollTop=C.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},Q.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},Q.fx=C.prototype.init,Q.fx.step={};var Ut,Yt,Xt=/^(?:toggle|show|hide)$/,Kt=new RegExp(""^(?:([+-])=|)(""+yt+"")([a-z%]*)$"",""i""),Jt=/queueHooks$/,Qt=[I],Zt={""*"":[function(t,e){var i=this.createTween(t,e),n=i.cur(),s=Kt.exec(e),r=s&&s[3]||(Q.cssNumber[t]?"""":""px""),o=(Q.cssNumber[t]||""px""!==r&&+n)&&Kt.exec(Q.css(i.elem,t)),a=1,l=20;if(o&&o[3]!==r){r=r||o[3],s=s||[],o=+n||1;do{a=a||"".5"",o/=a,Q.style(i.elem,t,o+r)}while(a!==(a=i.cur()/n)&&1!==a&&--l)}return s&&(o=i.start=+o||+n||0,i.unit=r,i.end=s[1]?o+(s[1]+1)*s[2]:+s[2]),i}]};Q.Animation=Q.extend(j,{tweener:function(t,e){Q.isFunction(t)?(e=t,t=[""*""]):t=t.split("" "");for(var i,n=0,s=t.length;n<s;n++)i=t[n],Zt[i]=Zt[i]||[],Zt[i].unshift(e)},prefilter:function(t,e){e?Qt.unshift(t):Qt.push(t)}}),Q.speed=function(t,e,i){var n=t&&""object""==typeof t?Q.extend({},t):{complete:i||!i&&e||Q.isFunction(t)&&t,duration:t,easing:i&&e||e&&!Q.isFunction(e)&&e};return n.duration=Q.fx.off?0:""number""==typeof n.duration?n.duration:n.duration in Q.fx.speeds?Q.fx.speeds[n.duration]:Q.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue=""fx""),n.old=n.complete,n.complete=function(){Q.isFunction(n.old)&&n.old.call(this),n.queue&&Q.dequeue(this,n.queue)},n},Q.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Tt).css(""opacity"",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var s=Q.isEmptyObject(t),r=Q.speed(e,i,n),o=function(){var e=j(this,Q.extend({},t),r);(s||mt.get(this,""finish""))&&e.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return""string""!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||""fx"",[]),this.each(function(){var e=!0,s=null!=t&&t+""queueHooks"",r=Q.timers,o=mt.get(this);if(s)o[s]&&o[s].stop&&n(o[s]);else for(s in o)o[s]&&o[s].stop&&Jt.test(s)&&n(o[s]);for(s=r.length;s--;)r[s].elem!==this||null!=t&&r[s].queue!==t||(r[s].anim.stop(i),e=!1,r.splice(s,1));!e&&i||Q.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||""fx""),this.each(function(){var e,i=mt.get(this),n=i[t+""queue""],s=i[t+""queueHooks""],r=Q.timers,o=n?n.length:0;for(i.finish=!0,Q.queue(this,t,[]),s&&s.stop&&s.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}), | |
Q.each([""toggle"",""show"",""hide""],function(t,e){var i=Q.fn[e];Q.fn[e]=function(t,n,s){return null==t||""boolean""==typeof t?i.apply(this,arguments):this.animate(k(e,!0),t,n,s)}}),Q.each({slideDown:k(""show""),slideUp:k(""hide""),slideToggle:k(""toggle""),fadeIn:{opacity:""show""},fadeOut:{opacity:""hide""},fadeToggle:{opacity:""toggle""}},function(t,e){Q.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),Q.timers=[],Q.fx.tick=function(){var t,e=0,i=Q.timers;for(Ut=Q.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||Q.fx.stop(),Ut=void 0},Q.fx.timer=function(t){Q.timers.push(t),t()?Q.fx.start():Q.timers.pop()},Q.fx.interval=13,Q.fx.start=function(){Yt||(Yt=setInterval(Q.fx.tick,Q.fx.interval))},Q.fx.stop=function(){clearInterval(Yt),Yt=null},Q.fx.speeds={slow:600,fast:200,_default:400},Q.fn.delay=function(t,e){return t=Q.fx?Q.fx.speeds[t]||t:t,e=e||""fx"",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t=J.createElement(""input""),e=J.createElement(""select""),i=e.appendChild(J.createElement(""option""));t.type=""checkbox"",K.checkOn=""""!==t.value,K.optSelected=i.selected,e.disabled=!0,K.optDisabled=!i.disabled,t=J.createElement(""input""),t.value=""t"",t.type=""radio"",K.radioValue=""t""===t.value}();var te,ee=Q.expr.attrHandle;Q.fn.extend({attr:function(t,e){return ft(this,Q.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Q.removeAttr(this,t)})}}),Q.extend({attr:function(t,e,i){var n,s,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?Q.prop(t,e,i):(1===r&&Q.isXMLDoc(t)||(e=e.toLowerCase(),n=Q.attrHooks[e]||(Q.expr.match.bool.test(e)?te:void 0)),void 0===i?n&&""get""in n&&null!==(s=n.get(t,e))?s:(s=Q.find.attr(t,e),null==s?void 0:s):null!==i?n&&""set""in n&&void 0!==(s=n.set(t,i,e))?s:(t.setAttribute(e,i+""""),i):void Q.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,r=e&&e.match(ut);if(r&&1===t.nodeType)for(;i=r[s++];)n=Q.propFix[i]||i,Q.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)},attrHooks:{type:{set:function(t,e){if(!K.radioValue&&""radio""===e&&Q.nodeName(t,""input"")){var i=t.value;return t.setAttribute(""type"",e),i&&(t.value=i),e}}}}}),te={set:function(t,e,i){return!1===e?Q.removeAttr(t,i):t.setAttribute(i,i),i}},Q.each(Q.expr.match.bool.source.match(/\w+/g),function(t,e){var i=ee[e]||Q.find.attr;ee[e]=function(t,e,n){var s,r;return n||(r=ee[e],ee[e]=s,s=null!=i(t,e,n)?e.toLowerCase():null,ee[e]=r),s}});var ie=/^(?:input|select|textarea|button)$/i;Q.fn.extend({prop:function(t,e){return ft(this,Q.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[Q.propFix[t]||t]})}}),Q.extend({propFix:{for:""htmlFor"",class:""className""},prop:function(t,e,i){var n,s,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return r=1!==o||!Q.isXMLDoc(t),r&&(e=Q.propFix[e]||e,s=Q.propHooks[e]),void 0!==i?s&&""set""in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&""get""in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute(""tabindex"")||ie.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),K.optSelected||(Q.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),Q.each([""tabIndex"",""readOnly"",""maxLength"",""cellSpacing"",""cellPadding"",""rowSpan"",""colSpan"",""useMap"",""frameBorder"",""contentEditable""],function(){Q.propFix[this.toLowerCase()]=this});var ne=/[\t\r\n\f]/g;Q.fn.extend({addClass:function(t){var e,i,n,s,r,o,a=""string""==typeof t&&t,l=0,c=this.length;if(Q.isFunction(t))return this.each(function(e){Q(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"""").match(ut)||[];l<c;l++)if(i=this[l],n=1===i.nodeType&&(i.className?("" ""+i.className+"" "").replace(ne,"" ""):"" "")){for(r=0;s=e[r++];)n.indexOf("" ""+s+"" "")<0&&(n+=s+"" "");o=Q.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(t){var e,i,n,s,r,o,a=0===arguments.length||""string""==typeof t&&t,l=0,c=this.length;if(Q.isFunction(t))return this.each(function(e){Q(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"""").match(ut)||[];l<c;l++)if(i=this[l],n=1===i.nodeType&&(i.className?("" ""+i.className+"" "").replace(ne,"" ""):"""")){for(r=0;s=e[r++];)for(;n.indexOf("" ""+s+"" "")>=0;)n=n.replace("" ""+s+"" "","" "");o=t?Q.trim(n):"""",i.className!==o&&(i.className=o)}return this},toggleClass:function(t,e){var i=typeof t;return""boolean""==typeof e&&""string""===i?e?this.addClass(t):this.removeClass(t):Q.isFunction(t)?this.each(function(i){Q(this).toggleClass(t.call(this,i,this.className,e),e)}):this.each(function(){if(""string""===i)for(var e,n=0,s=Q(this),r=t.match(ut)||[];e=r[n++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else""undefined""!==i&&""boolean""!==i||(this.className&&mt.set(this,""__className__"",this.className),this.className=this.className||!1===t?"""":mt.get(this,""__className__"")||"""")})},hasClass:function(t){for(var e="" ""+t+"" "",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&("" ""+this[i].className+"" "").replace(ne,"" "").indexOf(e)>=0)return!0;return!1}});var se=/\r/g;Q.fn.extend({val:function(t){var e,i,n,s=this[0];{if(arguments.length)return n=Q.isFunction(t),this.each(function(i){var s;1===this.nodeType&&(s=n?t.call(this,i,Q(this).val()):t,null==s?s="""":""number""==typeof s?s+="""":Q.isArray(s)&&(s=Q.map(s,function(t){return null==t?"""":t+""""})),(e=Q.valHooks[this.type]||Q.valHooks[this.nodeName.toLowerCase()])&&""set""in e&&void 0!==e.set(this,s,""value"")||(this.value=s))});if(s)return(e=Q.valHooks[s.type]||Q.valHooks[s.nodeName.toLowerCase()])&&""get""in e&&void 0!==(i=e.get(s,""value""))?i:(i=s.value,""string""==typeof i?i.replace(se,""""):null==i?"""":i)}}}),Q.extend({valHooks:{option:{get:function(t){var e=Q.find.attr(t,""value"");return null!=e?e:Q.trim(Q.text(t))}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,r=""select-one""===t.type||s<0,o=r?null:[],a=r?s+1:n.length,l=s<0?a:r?s:0;l<a;l++)if(i=n[l],(i.selected||l===s)&&(K.optDisabled?!i.disabled:null===i.getAttribute(""disabled""))&&(!i.parentNode.disabled||!Q.nodeName(i.parentNode,""optgroup""))){if(e=Q(i).val(),r)return e;o.push(e)}return o},set:function(t,e){for(var i,n,s=t.options,r=Q.makeArray(e),o=s.length;o--;)n=s[o],(n.selected=Q.inArray(n.value,r)>=0)&&(i=!0);return i||(t.selectedIndex=-1),r}}}}),Q.each([""radio"",""checkbox""],function(){Q.valHooks[this]={set:function(t,e){if(Q.isArray(e))return t.checked=Q.inArray(Q(t).val(),e)>=0}},K.checkOn||(Q.valHooks[this].get=function(t){return null===t.getAttribute(""value"")?""on"":t.value})}),Q.each(""blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu"".split("" ""),function(t,e){Q.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),Q.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,""**""):this.off(e,t||""**"",i)}});var re=Q.now(),oe=/\?/;Q.parseJSON=function(t){return JSON.parse(t+"""")},Q.parseXML=function(t){var e,i;if(!t||""string""!=typeof t)return null;try{i=new DOMParser,e=i.parseFromString(t,""text/xml"")}catch(t){e=void 0}return e&&!e.getElementsByTagName(""parsererror"").length||Q.error(""Invalid XML: ""+t),e};var ae=/#.*$/,le=/([?&])_=[^&]*/,ce=/^(.*?):[ \t]*([^\r\n]*)$/gm,he=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ue=/^(?:GET|HEAD)$/,de=/^\/\//,pe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,fe={},me={},ge=""*/"".concat(""*""),_e=t.location.href,ve=pe.exec(_e.toLowerCase())||[];Q.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e,type:""GET"",isLocal:he.test(ve[1]),global:!0,processData:!0,async:!0,contentType:""application/x-www-form-urlencoded; charset=UTF-8"",accepts:{""*"":ge,text:""text/plain"",html:""text/html"",xml:""application/xml, text/xml"",json:""application/json, text/javascript""},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:""responseXML"",text:""responseText"",json:""responseJSON""},converters:{""* text"":String,""text html"":!0,""text json"":Q.parseJSON,""text xml"":Q.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?D(D(t,Q.ajaxSettings),e):D(Q.ajaxSettings,t)},ajaxPrefilter:M(fe),ajaxTransport:M(me),ajax:function(t,e){function i(t,e,i,o){var l,h,_,v,w,b=e;2!==y&&(y=2,a&&clearTimeout(a),n=void 0,r=o||"""",T.readyState=t>0?4:0,l=t>=200&&t<300||304===t,i&&(v=V(u,T,i)),v=$(u,v,T,l),l?(u.ifModified&&(w=T.getResponseHeader(""Last-Modified""),w&&(Q.lastModified[s]=w),(w=T.getResponseHeader(""etag""))&&(Q.etag[s]=w)),204===t||""HEAD""===u.type?b=""nocontent"":304===t?b=""notmodified"":(b=v.state,h=v.data,_=v.error,l=!_)):(_=b,!t&&b||(b=""error"",t<0&&(t=0))),T.status=t,T.statusText=(e||b)+"""",l?f.resolveWith(d,[h,b,T]):f.rejectWith(d,[T,b,_]),T.statusCode(g),g=void 0,c&&p.trigger(l?""ajaxSuccess"":""ajaxError"",[T,u,l?h:_]),m.fireWith(d,[T,b]),c&&(p.trigger(""ajaxComplete"",[T,u]),--Q.active||Q.event.trigger(""ajaxStop"")))}""object""==typeof t&&(e=t,t=void 0),e=e||{};var n,s,r,o,a,l,c,h,u=Q.ajaxSetup({},e),d=u.context||u,p=u.context&&(d.nodeType||d.jquery)?Q(d):Q.event,f=Q.Deferred(),m=Q.Callbacks(""once memory""),g=u.statusCode||{},_={},v={},y=0,w=""canceled"",T={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!o)for(o={};e=ce.exec(r);)o[e[1].toLowerCase()]=e[2];e=o[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?r:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return y||(t=v[i]=v[i]||t,_[t]=e),this},overrideMimeType:function(t){return y||(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(y<2)for(e in t)g[e]=[g[e],t[e]];else T.always(t[T.status]);return this},abort:function(t){var e=t||w;return n&&n.abort(e),i(0,e),this}};if(f.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,u.url=((t||u.url||_e)+"""").replace(ae,"""").replace(de,ve[1]+""//""),u.type=e.method||e.type||u.method||u.type,u.dataTypes=Q.trim(u.dataType||""*"").toLowerCase().match(ut)||[""""],null==u.crossDomain&&(l=pe.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===ve[1]&&l[2]===ve[2]&&(l[3]||(""http:""===l[1]?""80"":""443""))===(ve[3]||(""http:""===ve[1]?""80"":""443"")))),u.data&&u.processData&&""string""!=typeof u.data&&(u.data=Q.param(u.data,u.traditional)),N(fe,u,e,T),2===y)return T;c=Q.event&&u.global,c&&0==Q.active++&&Q.event.trigger(""ajaxStart""),u.type=u.type.toUpperCase(),u.hasContent=!ue.test(u.type),s=u.url,u.hasContent||(u.data&&(s=u.url+=(oe.test(s)?""&"":""?"")+u.data,delete u.data),!1===u.cache&&(u.url=le.test(s)?s.replace(le,""$1_=""+re++):s+(oe.test(s)?""&"":""?"")+""_=""+re++)),u.ifModified&&(Q.lastModified[s]&&T.setRequestHeader(""If-Modified-Since"",Q.lastModified[s]),Q.etag[s]&&T.setRequestHeader(""If-None-Match"",Q.etag[s])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&T.setRequestHeader(""Content-Type"",u.contentType),T.setRequestHeader(""Accept"",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(""*""!==u.dataTypes[0]?"", ""+ge+""; q=0.01"":""""):u.accepts[""*""]);for(h in u.headers)T.setRequestHeader(h,u.headers[h]);if(u.beforeSend&&(!1===u.beforeSend.call(d,T,u)||2===y))return T.abort();w=""abort"";for(h in{success:1,error:1,complete:1})T[h](u[h]);if(n=N(me,u,e,T)){T.readyState=1,c&&p.trigger(""ajaxSend"",[T,u]),u.async&&u.timeout>0&&(a=setTimeout(function(){T.abort(""timeout"")},u.timeout));try{y=1,n.send(_,i)}catch(t){if(!(y<2))throw t;i(-1,t)}}else i(-1,""No Transport"");return T},getJSON:function(t,e,i){return Q.get(t,e,i,""json"")},getScript:function(t,e){return Q.get(t,void 0,e,""script"")}}),Q.each([""get"",""post""],function(t,e){Q[e]=function(t,i,n,s){return Q.isFunction(i)&&(s=s||n,n=i,i=void 0),Q.ajax({url:t,type:e,dataType:s,data:i,success:n})}}),Q._evalUrl=function(t){return Q.ajax({url:t,type:""GET"",dataType:""script"",async:!1,global:!1,throws:!0})},Q.fn.extend({wrapAll:function(t){var e;return Q.isFunction(t)?this.each(function(e){Q(this).wrapAll(t.call(this,e))}):(this[0]&&(e=Q(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return Q.isFunction(t)?this.each(function(e){Q(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Q(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=Q.isFunction(t);return this.each(function(i){Q(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){Q.nodeName(this,""body"")||Q(this).replaceWith(this.childNodes)}).end()}}),Q.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Q.expr.filters.visible=function(t){return!Q.expr.filters.hidden(t)};var ye=/%20/g,we=/\[\]$/,Te=/\r?\n/g,be=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i;Q.param=function(t,e){var i,n=[],s=function(t,e){e=Q.isFunction(e)?e():null==e?"""":e,n[n.length]=encodeURIComponent(t)+""=""+encodeURIComponent(e)};if(void 0===e&&(e=Q.ajaxSettings&&Q.ajaxSettings.traditional),Q.isArray(t)||t.jquery&&!Q.isPlainObject(t))Q.each(t,function(){s(this.name,this.value)});else for(i in t)H(i,t[i],e,s);return n.join(""&"").replace(ye,""+"")},Q.fn.extend({serialize:function(){return Q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=Q.prop(this,""elements"");return t?Q.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!Q(this).is("":disabled"")&&Ee.test(this.nodeName)&&!be.test(t)&&(this.checked||!bt.test(t))}).map(function(t,e){var i=Q(this).val();return null==i?null:Q.isArray(i)?Q.map(i,function(t){return{name:e.name,value:t.replace(Te,""\r\n"")}}):{name:e.name,value:i.replace(Te,""\r\n"")}}).get()}}),Q.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Se=0,xe={},Pe={0:200,1223:204},Ae=Q.ajaxSettings.xhr();t.attachEvent&&t.attachEvent(""onunload"",function(){for(var t in xe)xe[t]()}),K.cors=!!Ae&&""withCredentials""in Ae,K.ajax=Ae=!!Ae,Q.ajaxTransport(function(t){var e;if(K.cors||Ae&&!t.crossDomain)return{send:function(i,n){var s,r=t.xhr(),o=++Se;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)r[s]=t.xhrFields[s];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||i[""X-Requested-With""]||(i[""X-Requested-With""]=""XMLHttpRequest"");for(s in i)r.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(delete xe[o],e=r.onload=r.onerror=null,""abort""===t?r.abort():""error""===t?n(r.status,r.statusText):n(Pe[r.status]||r.status,r.statusText,""string""==typeof r.responseText?{text:r.responseText}:void 0,r.getAllResponseHeaders()))}},r.onload=e(),r.onerror=e(""error""),e=xe[o]=e(""abort"");try{r.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),Q.ajaxSetup({accepts:{script:""text/javascript, application/javascript, application/ecmascript, application/x-ecmascript""},contents:{script:/(?:java|ecma)script/},converters:{""text script"":function(t){return Q.globalEval(t),t}}}),Q.ajaxPrefilter(""script"",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type=""GET"")}),Q.ajaxTransport(""script"",function(t){if(t.crossDomain){var e,i;return{send:function(n,s){e=Q(""<script>"").prop({async:!0,charset:t.scriptCharset,src:t.url}).on(""load error"",i=function(t){e.remove(),i=null,t&&s(""error""===t.type?404:200,t.type)}),J.head.appendChild(e[0])},abort:function(){i&&i()}}}});var Ce=[],Le=/(=)\?(?=&|$)|\?\?/;Q.ajaxSetup({jsonp:""callback"",jsonpCallback:function(){var t=Ce.pop()||Q.expando+""_""+re++;return this[t]=!0,t}}),Q.ajaxPrefilter(""json jsonp"",function(e,i,n){var s,r,o,a=!1!==e.jsonp&&(Le.test(e.url)?""url"":""string""==typeof e.data&&!(e.contentType||"""").indexOf(""application/x-www-form-urlencoded"")&&Le.test(e.data)&&""data"");if(a||""jsonp""===e.dataTypes[0])return s=e.jsonpCallback=Q.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Le,""$1""+s):!1!==e.jsonp&&(e.url+=(oe.test(e.url)?""&"":""?"")+e.jsonp+""=""+s),e.converters[""script json""]=function(){return o||Q.error(s+"" was not called""),o[0]},e.dataTypes[0]=""json"",r=t[s],t[s]=function(){o=arguments},n.always(function(){t[s]=r,e[s]&&(e.jsonpCallback=i.jsonpCallback,Ce.push(s)),o&&Q.isFunction(r)&&r(o[0]),o=r=void 0}),""script""}),Q.parseHTML=function(t,e,i){if(!t||""string""!=typeof t)return null;""boolean""==typeof e&&(i=e,e=!1),e=e||J;var n=rt.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=Q.buildFragment([t],e,s),s&&s.length&&Q(s).remove(),Q.merge([],n.childNodes))};var ke=Q.fn.load;Q.fn.load=function(t,e,i){if(""string""!=typeof t&&ke)return ke.apply(this,arguments);var n,s,r,o=this,a=t.indexOf("" "");return a>=0&&(n=Q.trim(t.slice(a)),t=t.slice(0,a)),Q.isFunction(e)?(i=e,e=void 0):e&&""object""==typeof e&&(s=""POST""),o.length>0&&Q.ajax({url:t,type:s,dataType:""html"",data:e}).done(function(t){r=arguments,o.html(n?Q(""<div>"").append(Q.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){o.each(i,r||[t.responseText,e,t])}),this},Q.each([""ajaxStart"",""ajaxStop"",""ajaxComplete"",""ajaxError"",""ajaxSuccess"",""ajaxSend""],function(t,e){Q.fn[e]=function(t){return this.on(e,t)}}),Q.expr.filters.animated=function(t){return Q.grep(Q.timers,function(e){return t===e.elem}).length};var Oe=t.document.documentElement;Q.offset={setOffset:function(t,e,i){var n,s,r,o,a,l,c,h=Q.css(t,""position""),u=Q(t),d={};""static""===h&&(t.style.position=""relative""),a=u.offset(),r=Q.css(t,""top""),l=Q.css(t,""left""),c=(""absolute""===h||""fixed""===h)&&(r+l).indexOf(""auto"")>-1,c?(n=u.position(),o=n.top,s=n.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),Q.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+s),""using""in e?e.using.call(t,d):u.css(d)}},Q.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){Q.offset.setOffset(this,t,e)});var e,i,n=this[0],s={top:0,left:0},r=n&&n.ownerDocument;if(r)return e=r.documentElement,Q.contains(e,n)?(void 0!==n.getBoundingClientRect&&(s=n.getBoundingClientRect()),i=F(r),{top:s.top+i.pageYOffset-e.clientTop,left:s.left+i.pageXOffset-e.clientLeft}):s},position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return""fixed""===Q.css(i,""position"")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),Q.nodeName(t[0],""html"")||(n=t.offset()),n.top+=Q.css(t[0],""borderTopWidth"",!0),n.left+=Q.css(t[0],""borderLeftWidth"",!0)),{top:e.top-n.top-Q.css(i,""marginTop"",!0),left:e.left-n.left-Q.css(i,""marginLeft"",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Oe;t&&!Q.nodeName(t,""html"")&&""static""===Q.css(t,""position"");)t=t.offsetParent;return t||Oe})}}),Q.each({scrollLeft:""pageXOffset"",scrollTop:""pageYOffset""},function(e,i){var n=""pageYOffset""===i;Q.fn[e]=function(s){return ft(this,function(e,s,r){var o=F(e);if(void 0===r)return o?o[i]:e[s];o?o.scrollTo(n?t.pageXOffset:r,n?r:t.pageYOffset):e[s]=r},e,s,arguments.length,null)}}),Q.each([""top"",""left""],function(t,e){Q.cssHooks[e]=b(K.pixelPosition,function(t,i){if(i)return i=T(t,e),$t.test(i)?Q(t).position()[e]+""px"":i})}),Q.each({Height:""height"",Width:""width""},function(t,e){Q.each({padding:""inner""+t,content:e,"""":""outer""+t},function(i,n){Q.fn[n]=function(n,s){var r=arguments.length&&(i||""boolean""!=typeof n),o=i||(!0===n||!0===s?""margin"":""border"");return ft(this,function(e,i,n){var s;return Q.isWindow(e)?e.document.documentElement[""client""+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body[""scroll""+t],s[""scroll""+t],e.body[""offset""+t],s[""offset""+t],s[""client""+t])):void 0===n?Q.css(e,i,o):Q.style(e,i,n,o)},e,r?n:void 0,r,null)}})}),Q.fn.size=function(){return this.length},Q.fn.andSelf=Q.fn.addBack,""function""==typeof define&&define.amd&&define(""jquery"",[],function(){return Q});var Ie=t.jQuery,Re=t.$;return Q.noConflict=function(e){return t.$===Q&&(t.$=Re),e&&t.jQuery===Q&&(t.jQuery=Ie),Q},void 0===e&&(t.jQuery=t.$=Q),Q}),function(){function t(t){function e(e,i,n,s,r,o){for(;r>=0&&r<o;r+=t){var a=s?s[r]:r;n=i(n,e[a],a,e)}return n}return function(i,n,s,r){n=y(n,r,4);var o=!P(i)&&v.keys(i),a=(o||i).length,l=t>0?0:a-1;return arguments.length<3&&(s=i[o?o[l]:l],l+=t),e(i,n,s,o,l,a)}}function e(t){return function(e,i,n){i=w(i,n);for(var s=x(e),r=t>0?0:s-1;r>=0&&r<s;r+=t)if(i(e[r],r,e))return r;return-1}}function i(t,e,i){return function(n,s,r){var o=0,a=x(n);if(""number""==typeof r)t>0?o=r>=0?r:Math.max(r+a,o):a=r>=0?Math.min(r+1,a):r+a+1;else if(i&&r&&a)return r=i(n,s),n[r]===s?r:-1;if(s!==s)return r=e(h.call(n,o,a),v.isNaN),r>=0?r+o:-1;for(r=t>0?o:a-1;r>=0&&r<a;r+=t)if(n[r]===s)return r;return-1}}function n(t,e){var i=O.length,n=t.constructor,s=v.isFunction(n)&&n.prototype||a,r=""constructor"";for(v.has(t,r)&&!v.contains(e,r)&&e.push(r);i--;)(r=O[i])in t&&t[r]!==s[r]&&!v.contains(e,r)&&e.push(r)}var s=this,r=s._,o=Array.prototype,a=Object.prototype,l=Function.prototype,c=o.push,h=o.slice,u=a.toString,d=a.hasOwnProperty,p=Array.isArray,f=Object.keys,m=l.bind,g=Object.create,_=function(){},v=function(t){return t instanceof v?t:this instanceof v?void(this._wrapped=t):new v(t)};""undefined""!=typeof exports?(""undefined""!=typeof module&&module.exports&&(exports=module.exports=v),exports._=v):s._=v,v.VERSION=""1.8.3"";var y=function(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,s){return t.call(e,i,n,s)};case 4:return function(i,n,s,r){return t.call(e,i,n,s,r)}}return function(){return t.apply(e,arguments)}},w=function(t,e,i){return null==t?v.identity:v.isFunction(t)?y(t,e,i):v.isObject(t)?v.matcher(t):v.property(t)};v.iteratee=function(t,e){return w(t,e,1/0)};var T=function(t,e){return function(i){var n=arguments.length;if(n<2||null==i)return i;for(var s=1;s<n;s++)for(var r=arguments[s],o=t(r),a=o.length,l=0;l<a;l++){var c=o[l];e&&void 0!==i[c]||(i[c]=r[c])}return i}},b=function(t){if(!v.isObject(t))return{};if(g)return g(t);_.prototype=t;var e=new _;return _.prototype=null,e},E=function(t){return function(e){return null==e?void 0:e[t]}},S=Math.pow(2,53)-1,x=E(""length""),P=function(t){var e=x(t);return""number""==typeof e&&e>=0&&e<=S};v.each=v.forEach=function(t,e,i){e=y(e,i);var n,s;if(P(t))for(n=0,s=t.length;n<s;n++)e(t[n],n,t);else{var r=v.keys(t);for(n=0,s=r.length;n<s;n++)e(t[r[n]],r[n],t)}return t},v.map=v.collect=function(t,e,i){e=w(e,i);for(var n=!P(t)&&v.keys(t),s=(n||t).length,r=Array(s),o=0;o<s;o++){var a=n?n[o]:o;r[o]=e(t[a],a,t)}return r},v.reduce=v.foldl=v.inject=t(1),v.reduceRight=v.foldr=t(-1),v.find=v.detect=function(t,e,i){var n;if(void 0!==(n=P(t)?v.findIndex(t,e,i):v.findKey(t,e,i))&&-1!==n)return t[n]},v.filter=v.select=function(t,e,i){var n=[];return e=w(e,i),v.each(t,function(t,i,s){e(t,i,s)&&n.push(t)}),n},v.reject=function(t,e,i){return v.filter(t,v.negate(w(e)),i)},v.every=v.all=function(t,e,i){e=w(e,i);for(var n=!P(t)&&v.keys(t),s=(n||t).length,r=0;r<s;r++){var o=n?n[r]:r;if(!e(t[o],o,t))return!1}return!0},v.some=v.any=function(t,e,i){e=w(e,i);for(var n=!P(t)&&v.keys(t),s=(n||t).length,r=0;r<s;r++){var o=n?n[r]:r;if(e(t[o],o,t))return!0}return!1},v.contains=v.includes=v.include=function(t,e,i,n){return P(t)||(t=v.values(t)),(""number""!=typeof i||n)&&(i=0),v.indexOf(t,e,i)>=0},v.invoke=function(t,e){var i=h.call(arguments,2),n=v.isFunction(e);return v.map(t,function(t){var s=n?e:t[e];return null==s?s:s.apply(t,i)})},v.pluck=function(t,e){return v.map(t,v.property(e))},v.where=function(t,e){return v.filter(t,v.matcher(e))},v.findWhere=function(t,e){return v.find(t,v.matcher(e))},v.max=function(t,e,i){var n,s,r=-1/0,o=-1/0;if(null==e&&null!=t){t=P(t)?t:v.values(t);for(var a=0,l=t.length;a<l;a++)(n=t[a])>r&&(r=n)}else e=w(e,i),v.each(t,function(t,i,n){((s=e(t,i,n))>o||s===-1/0&&r===-1/0)&&(r=t,o=s)});return r},v.min=function(t,e,i){var n,s,r=1/0,o=1/0;if(null==e&&null!=t){t=P(t)?t:v.values(t);for(var a=0,l=t.length;a<l;a++)(n=t[a])<r&&(r=n)}else e=w(e,i),v.each(t,function(t,i,n){((s=e(t,i,n))<o||s===1/0&&r===1/0)&&(r=t,o=s)});return r},v.shuffle=function(t){for(var e,i=P(t)?t:v.values(t),n=i.length,s=Array(n),r=0;r<n;r++)e=v.random(0,r),e!==r&&(s[r]=s[e]),s[e]=i[r];return s},v.sample=function(t,e,i){return null==e||i?(P(t)||(t=v.values(t)),t[v.random(t.length-1)]):v.shuffle(t).slice(0,Math.max(0,e))},v.sortBy=function(t,e,i){return e=w(e,i),v.pluck(v.map(t,function(t,i,n){return{value:t,index:i,criteria:e(t,i,n)}}).sort(function(t,e){var i=t.criteria,n=e.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return t.index-e.index}),""value"")};var A=function(t){return function(e,i,n){var s={};return i=w(i,n),v.each(e,function(n,r){var o=i(n,r,e);t(s,n,o)}),s}};v.groupBy=A(function(t,e,i){v.has(t,i)?t[i].push(e):t[i]=[e]}),v.indexBy=A(function(t,e,i){t[i]=e}),v.countBy=A(function(t,e,i){v.has(t,i)?t[i]++:t[i]=1}),v.toArray=function(t){return t?v.isArray(t)?h.call(t):P(t)?v.map(t,v.identity):v.values(t):[]},v.size=function(t){return null==t?0:P(t)?t.length:v.keys(t).length},v.partition=function(t,e,i){e=w(e,i);var n=[],s=[];return v.each(t,function(t,i,r){(e(t,i,r)?n:s).push(t)}),[n,s]},v.first=v.head=v.take=function(t,e,i){if(null!=t)return null==e||i?t[0]:v.initial(t,t.length-e)},v.initial=function(t,e,i){return h.call(t,0,Math.max(0,t.length-(null==e||i?1:e)))},v.last=function(t,e,i){if(null!=t)return null==e||i?t[t.length-1]:v.rest(t,Math.max(0,t.length-e))},v.rest=v.tail=v.drop=function(t,e,i){return h.call(t,null==e||i?1:e)},v.compact=function(t){return v.filter(t,v.identity)};var C=function(t,e,i,n){for(var s=[],r=0,o=n||0,a=x(t);o<a;o++){var l=t[o];if(P(l)&&(v.isArray(l)||v.isArguments(l))){e||(l=C(l,e,i));var c=0,h=l.length;for(s.length+=h;c<h;)s[r++]=l[c++]}else i||(s[r++]=l)}return s};v.flatten=function(t,e){return C(t,e,!1)},v.without=function(t){return v.difference(t,h.call(arguments,1))},v.uniq=v.unique=function(t,e,i,n){v.isBoolean(e)||(n=i,i=e,e=!1),null!=i&&(i=w(i,n));for(var s=[],r=[],o=0,a=x(t);o<a;o++){var l=t[o],c=i?i(l,o,t):l;e?(o&&r===c||s.push(l),r=c):i?v.contains(r,c)||(r.push(c),s.push(l)):v.contains(s,l)||s.push(l)}return s},v.union=function(){return v.uniq(C(arguments,!0,!0))},v.intersection=function(t){for(var e=[],i=arguments.length,n=0,s=x(t);n<s;n++){var r=t[n];if(!v.contains(e,r)){for(var o=1;o<i&&v.contains(arguments[o],r);o++);o===i&&e.push(r)}}return e},v.difference=function(t){var e=C(arguments,!0,!0,1);return v.filter(t,function(t){return!v.contains(e,t)})},v.zip=function(){return v.unzip(arguments)},v.unzip=function(t){for(var e=t&&v.max(t,x).length||0,i=Array(e),n=0;n<e;n++)i[n]=v.pluck(t,n);return i},v.object=function(t,e){for(var i={},n=0,s=x(t);n<s;n++)e?i[t[n]]=e[n]:i[t[n][0]]=t[n][1];return i},v.findIndex=e(1),v.findLastIndex=e(-1),v.sortedIndex=function(t,e,i,n){i=w(i,n,1);for(var s=i(e),r=0,o=x(t);r<o;){var a=Math.floor((r+o)/2);i(t[a])<s?r=a+1:o=a}return r},v.indexOf=i(1,v.findIndex,v.sortedIndex),v.lastIndexOf=i(-1,v.findLastIndex),v.range=function(t,e,i){null==e&&(e=t||0,t=0),i=i||1;for(var n=Math.max(Math.ceil((e-t)/i),0),s=Array(n),r=0;r<n;r++,t+=i)s[r]=t;return s};var L=function(t,e,i,n,s){if(!(n instanceof e))return t.apply(i,s);var r=b(t.prototype),o=t.apply(r,s);return v.isObject(o)?o:r};v.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,h.call(arguments,1));if(!v.isFunction(t))throw new TypeError(""Bind must be called on a function"");var i=h.call(arguments,2),n=function(){return L(t,n,e,this,i.concat(h.call(arguments)))};return n},v.partial=function(t){var e=h.call(arguments,1),i=function(){for(var n=0,s=e.length,r=Array(s),o=0;o<s;o++)r[o]=e[o]===v?arguments[n++]:e[o];for(;n<arguments.length;)r.push(arguments[n++]);return L(t,i,this,this,r)};return i},v.bindAll=function(t){var e,i,n=arguments.length;if(n<=1)throw new Error(""bindAll must be passed function names"");for(e=1;e<n;e++)i=arguments[e],t[i]=v.bind(t[i],t);return t},v.memoize=function(t,e){var i=function(n){var s=i.cache,r=""""+(e?e.apply(this,arguments):n);return v.has(s,r)||(s[r]=t.apply(this,arguments)),s[r]};return i.cache={},i},v.delay=function(t,e){var i=h.call(arguments,2);return setTimeout(function(){return t.apply(null,i)},e)},v.defer=v.partial(v.delay,v,1),v.throttle=function(t,e,i){var n,s,r,o=null,a=0;i||(i={});var l=function(){a=!1===i.leading?0:v.now(),o=null,r=t.apply(n,s),o||(n=s=null)};return function(){var c=v.now();a||!1!==i.leading||(a=c);var h=e-(c-a);return n=this,s=arguments,h<=0||h>e?(o&&(clearTimeout(o),o=null),a=c,r=t.apply(n,s),o||(n=s=null)):o||!1===i.trailing||(o=setTimeout(l,h)),r}},v.debounce=function(t,e,i){var n,s,r,o,a,l=function(){var c=v.now()-o;c<e&&c>=0?n=setTimeout(l,e-c):(n=null,i||(a=t.apply(r,s),n||(r=s=null)))};return function(){r=this,s=arguments,o=v.now();var c=i&&!n;return n||(n=setTimeout(l,e)),c&&(a=t.apply(r,s),r=s=null),a}},v.wrap=function(t,e){return v.partial(e,t)},v.negate=function(t){return function(){return!t.apply(this,arguments)}},v.compose=function(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}},v.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},v.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}},v.once=v.partial(v.before,2);var k=!{toString:null}.propertyIsEnumerable(""toString""),O=[""valueOf"",""isPrototypeOf"",""toString"",""propertyIsEnumerable"",""hasOwnProperty"",""toLocaleString""];v.keys=function(t){if(!v.isObject(t))return[];if(f)return f(t);var e=[];for(var i in t)v.has(t,i)&&e.push(i);return k&&n(t,e),e},v.allKeys=function(t){if(!v.isObject(t))return[];var e=[];for(var i in t)e.push(i);return k&&n(t,e),e},v.values=function(t){for(var e=v.keys(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=t[e[s]];return n},v.mapObject=function(t,e,i){e=w(e,i);for(var n,s=v.keys(t),r=s.length,o={},a=0;a<r;a++)n=s[a],o[n]=e(t[n],n,t);return o},v.pairs=function(t){for(var e=v.keys(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=[e[s],t[e[s]]];return n},v.invert=function(t){for(var e={},i=v.keys(t),n=0,s=i.length;n<s;n++)e[t[i[n]]]=i[n];return e},v.functions=v.methods=function(t){var e=[];for(var i in t)v.isFunction(t[i])&&e.push(i);return e.sort()},v.extend=T(v.allKeys),v.extendOwn=v.assign=T(v.keys),v.findKey=function(t,e,i){e=w(e,i);for(var n,s=v.keys(t),r=0,o=s.length;r<o;r++)if(n=s[r],e(t[n],n,t))return n},v.pick=function(t,e,i){var n,s,r={},o=t;if(null==o)return r;v.isFunction(e)?(s=v.allKeys(o),n=y(e,i)):(s=C(arguments,!1,!1,1),n=function(t,e,i){return e in i},o=Object(o));for(var a=0,l=s.length;a<l;a++){var c=s[a],h=o[c];n(h,c,o)&&(r[c]=h)}return r},v.omit=function(t,e,i){if(v.isFunction(e))e=v.negate(e);else{var n=v.map(C(arguments,!1,!1,1),String);e=function(t,e){return!v.contains(n,e)}}return v.pick(t,e,i)},v.defaults=T(v.allKeys,!0),v.create=function(t,e){var i=b(t);return e&&v.extendOwn(i,e),i},v.clone=function(t){return v.isObject(t)?v.isArray(t)?t.slice():v.extend({},t):t},v.tap=function(t,e){return e(t),t},v.isMatch=function(t,e){var i=v.keys(e),n=i.length;if(null==t)return!n;for(var s=Object(t),r=0;r<n;r++){var o=i[r];if(e[o]!==s[o]||!(o in s))return!1}return!0};var I=function(t,e,i,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof v&&(t=t._wrapped),e instanceof v&&(e=e._wrapped);var s=u.call(t);if(s!==u.call(e))return!1;switch(s){case""[object RegExp]"":case""[object String]"":return""""+t==""""+e;case""[object Number]"":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case""[object Date]"":case""[object Boolean]"":return+t==+e}var r=""[object Array]""===s;if(!r){if(""object""!=typeof t||""object""!=typeof e)return!1;var o=t.constructor,a=e.constructor;if(o!==a&&!(v.isFunction(o)&&o instanceof o&&v.isFunction(a)&&a instanceof a)&&""constructor""in t&&""constructor""in e)return!1}i=i||[],n=n||[];for(var l=i.length;l--;)if(i[l]===t)return n[l]===e;if(i.push(t),n.push(e),r){if((l=t.length)!==e.length)return!1 | |
;for(;l--;)if(!I(t[l],e[l],i,n))return!1}else{var c,h=v.keys(t);if(l=h.length,v.keys(e).length!==l)return!1;for(;l--;)if(c=h[l],!v.has(e,c)||!I(t[c],e[c],i,n))return!1}return i.pop(),n.pop(),!0};v.isEqual=function(t,e){return I(t,e)},v.isEmpty=function(t){return null==t||(P(t)&&(v.isArray(t)||v.isString(t)||v.isArguments(t))?0===t.length:0===v.keys(t).length)},v.isElement=function(t){return!(!t||1!==t.nodeType)},v.isArray=p||function(t){return""[object Array]""===u.call(t)},v.isObject=function(t){var e=typeof t;return""function""===e||""object""===e&&!!t},v.each([""Arguments"",""Function"",""String"",""Number"",""Date"",""RegExp"",""Error""],function(t){v[""is""+t]=function(e){return u.call(e)===""[object ""+t+""]""}}),v.isArguments(arguments)||(v.isArguments=function(t){return v.has(t,""callee"")}),""function""!=typeof/./&&""object""!=typeof Int8Array&&(v.isFunction=function(t){return""function""==typeof t||!1}),v.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},v.isNaN=function(t){return v.isNumber(t)&&t!==+t},v.isBoolean=function(t){return!0===t||!1===t||""[object Boolean]""===u.call(t)},v.isNull=function(t){return null===t},v.isUndefined=function(t){return void 0===t},v.has=function(t,e){return null!=t&&d.call(t,e)},v.noConflict=function(){return s._=r,this},v.identity=function(t){return t},v.constant=function(t){return function(){return t}},v.noop=function(){},v.property=E,v.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},v.matcher=v.matches=function(t){return t=v.extendOwn({},t),function(e){return v.isMatch(e,t)}},v.times=function(t,e,i){var n=Array(Math.max(0,t));e=y(e,i,1);for(var s=0;s<t;s++)n[s]=e(s);return n},v.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},v.now=Date.now||function(){return(new Date).getTime()};var R={""&"":""&"",""<"":""<"","">"":"">"",'""':""""",""'"":""'"",""`"":""`""},j=v.invert(R),M=function(t){var e=function(e){return t[e]},i=""(?:""+v.keys(t).join(""|"")+"")"",n=RegExp(i),s=RegExp(i,""g"");return function(t){return t=null==t?"""":""""+t,n.test(t)?t.replace(s,e):t}};v.escape=M(R),v.unescape=M(j),v.result=function(t,e,i){var n=null==t?void 0:t[e];return void 0===n&&(n=i),v.isFunction(n)?n.call(t):n};var N=0;v.uniqueId=function(t){var e=++N+"""";return t?t+e:e},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var D=/(.)^/,V={""'"":""'"",""\\"":""\\"",""\r"":""r"",""\n"":""n"",""\u2028"":""u2028"",""\u2029"":""u2029""},$=/\\|'|\r|\n|\u2028|\u2029/g,H=function(t){return""\\""+V[t]};v.template=function(t,e,i){!e&&i&&(e=i),e=v.defaults({},e,v.templateSettings);var n=RegExp([(e.escape||D).source,(e.interpolate||D).source,(e.evaluate||D).source].join(""|"")+""|$"",""g""),s=0,r=""__p+='"";t.replace(n,function(e,i,n,o,a){return r+=t.slice(s,a).replace($,H),s=a+e.length,i?r+=""'+\n((__t=(""+i+""))==null?'':_.escape(__t))+\n'"":n?r+=""'+\n((__t=(""+n+""))==null?'':__t)+\n'"":o&&(r+=""';\n""+o+""\n__p+='""),e}),r+=""';\n"",e.variable||(r=""with(obj||{}){\n""+r+""}\n""),r=""var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n""+r+""return __p;\n"";try{var o=new Function(e.variable||""obj"",""_"",r)}catch(t){throw t.source=r,t}var a=function(t){return o.call(this,t,v)};return a.source=""function(""+(e.variable||""obj"")+""){\n""+r+""}"",a},v.chain=function(t){var e=v(t);return e._chain=!0,e};var F=function(t,e){return t._chain?v(e).chain():e};v.mixin=function(t){v.each(v.functions(t),function(e){var i=v[e]=t[e];v.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),F(this,i.apply(v,t))}})},v.mixin(v),v.each([""pop"",""push"",""reverse"",""shift"",""sort"",""splice"",""unshift""],function(t){var e=o[t];v.prototype[t]=function(){var i=this._wrapped;return e.apply(i,arguments),""shift""!==t&&""splice""!==t||0!==i.length||delete i[0],F(this,i)}}),v.each([""concat"",""join"",""slice""],function(t){var e=o[t];v.prototype[t]=function(){return F(this,e.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return""""+this._wrapped},""function""==typeof define&&define.amd&&define(""underscore"",[],function(){return v})}.call(this),function(t,e){if(""function""==typeof define&&define.amd)define(""backbone"",[""underscore"",""jquery"",""exports""],function(i,n,s){t.Backbone=e(t,s,i,n)});else if(""undefined""!=typeof exports){var i,n=require(""underscore"");try{i=require(""jquery"")}catch(t){}e(t,exports,n,i)}else t.Backbone=e(t,{},t._,t.jQuery||t.Zepto||t.ender||t.$)}(this,function(t,e,i,n){var s=t.Backbone,r=[],o=r.slice;e.VERSION=""1.1.0"",e.$=n,e.noConflict=function(){return t.Backbone=s,this},e.emulateHTTP=!1,e.emulateJSON=!1;var a=e.Events={on:function(t,e,i){return c(this,""on"",t,[e,i])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:i,ctx:i||this}),this):this},once:function(t,e,n){if(!c(this,""once"",t,[e,n])||!e)return this;var s=this,r=i.once(function(){s.off(t,r),e.apply(this,arguments)});return r._callback=e,this.on(t,r,n)},off:function(t,e,n){var s,r,o,a,l,h,u,d;if(!this._events||!c(this,""off"",t,[e,n]))return this;if(!t&&!e&&!n)return this._events=void 0,this;for(a=t?[t]:i.keys(this._events),l=0,h=a.length;l<h;l++)if(t=a[l],o=this._events[t]){if(this._events[t]=s=[],e||n)for(u=0,d=o.length;u<d;u++)r=o[u],(e&&e!==r.callback&&e!==r.callback._callback||n&&n!==r.context)&&s.push(r);s.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=o.call(arguments,1);if(!c(this,""trigger"",t,e))return this;var i=this._events[t],n=this._events.all;return i&&h(i,e),n&&h(n,arguments),this},stopListening:function(t,e,n){var s=this._listeningTo;if(!s)return this;var r=!e&&!n;n||""object""!=typeof e||(n=this),t&&((s={})[t._listenId]=t);for(var o in s)t=s[o],t.off(e,n,this),(r||i.isEmpty(t._events))&&delete this._listeningTo[o];return this}},l=/\s+/,c=function(t,e,i,n){if(!i)return!0;if(""object""==typeof i){for(var s in i)t[e].apply(t,[s,i[s]].concat(n));return!1}if(l.test(i)){for(var r=i.split(l),o=0,a=r.length;o<a;o++)t[e].apply(t,[r[o]].concat(n));return!1}return!0},h=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o,a);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e)}},u={listenTo:""on"",listenToOnce:""once""};i.each(u,function(t,e){a[e]=function(e,n,s){return(this._listeningTo||(this._listeningTo={}))[e._listenId||(e._listenId=i.uniqueId(""l""))]=e,s||""object""!=typeof n||(s=this),e[t](n,s,this),this}}),a.bind=a.on,a.unbind=a.off,i.extend(e,a);var d=e.Model=function(t,e){var n=t||{};e||(e={}),this.cid=i.uniqueId(""c""),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{}),n=i.defaults({},n,i.result(this,""defaults"")),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(d.prototype,a,{changed:null,validationError:null,idAttribute:""id"",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},set:function(t,e,n){var s,r,o,a,l,c,h,u;if(null==t)return this;if(""object""==typeof t?(r=t,n=e):(r={})[t]=e,n||(n={}),!this._validate(r,n))return!1;o=n.unset,l=n.silent,a=[],c=this._changing,this._changing=!0,c||(this._previousAttributes=i.clone(this.attributes),this.changed={}),u=this.attributes,h=this._previousAttributes,this.idAttribute in r&&(this.id=r[this.idAttribute]);for(s in r)e=r[s],i.isEqual(u[s],e)||a.push(s),i.isEqual(h[s],e)?delete this.changed[s]:this.changed[s]=e,o?delete u[s]:u[s]=e;if(!l){a.length&&(this._pending=n);for(var d=0,p=a.length;d<p;d++)this.trigger(""change:""+a[d],this,u[a[d]],n)}if(c)return this;if(!l)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger(""change"",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&i.clone(this.changed);var e,n=!1,s=this._changing?this._previousAttributes:this.attributes;for(var r in t)i.isEqual(s[r],e=t[r])||((n||(n={}))[r]=e);return n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=t?i.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=this,n=t.success;return t.success=function(i){if(!e.set(e.parse(i,t),t))return!1;n&&n(e,i,t),e.trigger(""sync"",e,i,t)},D(this,t),this.sync(""read"",this,t)},save:function(t,e,n){var s,r,o,a=this.attributes;if(null==t||""object""==typeof t?(s=t,n=e):(s={})[t]=e,n=i.extend({validate:!0},n),s&&!n.wait){if(!this.set(s,n))return!1}else if(!this._validate(s,n))return!1;s&&n.wait&&(this.attributes=i.extend({},a,s)),void 0===n.parse&&(n.parse=!0);var l=this,c=n.success;return n.success=function(t){l.attributes=a;var e=l.parse(t,n);if(n.wait&&(e=i.extend(s||{},e)),i.isObject(e)&&!l.set(e,n))return!1;c&&c(l,t,n),l.trigger(""sync"",l,t,n)},D(this,n),r=this.isNew()?""create"":n.patch?""patch"":""update"",""patch""===r&&(n.attrs=s),o=this.sync(r,this,n),s&&n.wait&&(this.attributes=a),o},destroy:function(t){t=t?i.clone(t):{};var e=this,n=t.success,s=function(){e.trigger(""destroy"",e,e.collection,t)};if(t.success=function(i){(t.wait||e.isNew())&&s(),n&&n(e,i,t),e.isNew()||e.trigger(""sync"",e,i,t)},this.isNew())return t.success(),!1;D(this,t);var r=this.sync(""delete"",this,t);return t.wait||s(),r},url:function(){var t=i.result(this,""urlRoot"")||i.result(this.collection,""url"")||N();return this.isNew()?t:t+(""/""===t.charAt(t.length-1)?"""":""/"")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend(t||{},{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger(""invalid"",this,n,i.extend(e,{validationError:n})),!1)}});var p=[""keys"",""values"",""pairs"",""invert"",""pick"",""omit""];i.each(p,function(t){d.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.attributes),i[t].apply(i,e)}});var f=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},m={add:!0,remove:!0,merge:!0},g={add:!0,remove:!1};i.extend(f.prototype,a,{model:d,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,g))},remove:function(t,e){var n=!i.isArray(t);t=n?[t]:i.clone(t),e||(e={});var s,r,o,a;for(s=0,r=t.length;s<r;s++)(a=t[s]=this.get(t[s]))&&(o=this.indexOf(a),this.models.splice(o,1),this.length--,e.silent||(e.index=o,a.trigger(""remove"",a,this,e)),this._removeReference(a,e));return n?t[0]:t},set:function(t,e){e=i.defaults({},e,m),e.parse&&(t=this.parse(t,e));var n=!i.isArray(t);t=n?t?[t]:[]:i.clone(t);var s,r,o,a,l,c,h,u=e.at,p=this.model,f=this.comparator&&null==u&&!1!==e.sort,g=i.isString(this.comparator)?this.comparator:null,_=[],v=[],y={},w=e.add,T=e.merge,b=e.remove,E=!(f||!w||!b)&&[];for(s=0,r=t.length;s<r;s++){if(l=t[s]||{},o=l instanceof d?a=l:l[p.prototype.idAttribute||""id""],c=this.get(o))b&&(y[c.cid]=!0),T&&(l=l===a?a.attributes:l,e.parse&&(l=c.parse(l,e)),c.set(l,e),f&&!h&&c.hasChanged(g)&&(h=!0)),t[s]=c;else if(w){if(!(a=t[s]=this._prepareModel(l,e)))continue;_.push(a),this._addReference(a,e)}E&&E.push(c||a)}if(b){for(s=0,r=this.length;s<r;++s)y[(a=this.models[s]).cid]||v.push(a);v.length&&this.remove(v,e)}if(_.length||E&&E.length)if(f&&(h=!0),this.length+=_.length,null!=u)for(s=0,r=_.length;s<r;s++)this.models.splice(u+s,0,_[s]);else{E&&(this.models.length=0);var S=E||_;for(s=0,r=S.length;s<r;s++)this.models.push(S[s])}if(h&&this.sort({silent:!0}),!e.silent){for(s=0,r=_.length;s<r;s++)(a=_[s]).trigger(""add"",a,this,e);(h||E&&E.length)&&this.trigger(""sort"",this,e)}return n?t[0]:t},reset:function(t,e){e||(e={});for(var n=0,s=this.models.length;n<s;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger(""reset"",this,e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t),e},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t),e},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[t.id]||this._byId[t.cid]},at:function(t){return this.models[t]},where:function(t,e){return i.isEmpty(t)?e?void 0:[]:this[e?""find"":""filter""](function(e){for(var i in t)if(t[i]!==e.get(i))return!1;return!0})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error(""Cannot sort a set without a comparator"");return t||(t={}),i.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(i.bind(this.comparator,this)),t.silent||this.trigger(""sort"",this,t),this},pluck:function(t){return i.invoke(this.models,""get"",t)},fetch:function(t){t=t?i.clone(t):{},void 0===t.parse&&(t.parse=!0);var e=t.success,n=this;return t.success=function(i){var s=t.reset?""reset"":""set"";n[s](i,t),e&&e(n,i,t),n.trigger(""sync"",n,i,t)},D(this,t),this.sync(""read"",this,t)},create:function(t,e){if(e=e?i.clone(e):{},!(t=this._prepareModel(t,e)))return!1;e.wait||this.add(t,e);var n=this,s=e.success;return e.success=function(t,i){e.wait&&n.add(t,e),s&&s(t,i,e)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(t instanceof d)return t;e=e?i.clone(e):{},e.collection=this;var n=new this.model(t,e);return n.validationError?(this.trigger(""invalid"",this,n.validationError,e),!1):n},_addReference:function(t,e){this._byId[t.cid]=t,null!=t.id&&(this._byId[t.id]=t),t.collection||(t.collection=this),t.on(""all"",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.id],delete this._byId[t.cid],this===t.collection&&delete t.collection,t.off(""all"",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){(""add""!==t&&""remove""!==t||i===this)&&(""destroy""===t&&this.remove(e,n),e&&t===""change:""+e.idAttribute&&(delete this._byId[e.previous(e.idAttribute)],null!=e.id&&(this._byId[e.id]=e)),this.trigger.apply(this,arguments))}});var _=[""forEach"",""each"",""map"",""collect"",""reduce"",""foldl"",""inject"",""reduceRight"",""foldr"",""find"",""detect"",""filter"",""select"",""reject"",""every"",""all"",""some"",""any"",""include"",""contains"",""invoke"",""max"",""min"",""toArray"",""size"",""first"",""head"",""take"",""initial"",""rest"",""tail"",""drop"",""last"",""without"",""difference"",""indexOf"",""shuffle"",""lastIndexOf"",""isEmpty"",""chain"",""sample""];i.each(_,function(t){f.prototype[t]=function(){var e=o.call(arguments);return e.unshift(this.models),i[t].apply(i,e)}});var v=[""groupBy"",""countBy"",""sortBy"",""indexBy""];i.each(v,function(t){f.prototype[t]=function(e,n){var s=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,s,n)}});var y=e.View=function(t){this.cid=i.uniqueId(""view""),t||(t={}),i.extend(this,i.pick(t,T)),this._ensureElement(),this.initialize.apply(this,arguments),this.delegateEvents()},w=/^(\S+)\s*(.*)$/,T=[""model"",""collection"",""el"",""id"",""attributes"",""className"",""tagName"",""events""];i.extend(y.prototype,a,{tagName:""div"",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this.$el.remove(),this.stopListening(),this},setElement:function(t,i){return this.$el&&this.undelegateEvents(),this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0],!1!==i&&this.delegateEvents(),this},delegateEvents:function(t){if(!t&&!(t=i.result(this,""events"")))return this;this.undelegateEvents();for(var e in t){var n=t[e];if(i.isFunction(n)||(n=this[t[e]]),n){var s=e.match(w),r=s[1],o=s[2];n=i.bind(n,this),r+="".delegateEvents""+this.cid,""""===o?this.$el.on(r,n):this.$el.on(r,o,n)}}return this},undelegateEvents:function(){return this.$el.off("".delegateEvents""+this.cid),this},_ensureElement:function(){if(this.el)this.setElement(i.result(this,""el""),!1);else{var t=i.extend({},i.result(this,""attributes""));this.id&&(t.id=i.result(this,""id"")),this.className&&(t.class=i.result(this,""className""));var n=e.$(""<""+i.result(this,""tagName"")+"">"").attr(t);this.setElement(n,!1)}}}),e.sync=function(t,n,s){var r=E[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var o={type:r,dataType:""json""};if(s.url||(o.url=i.result(n,""url"")||N()),null!=s.data||!n||""create""!==t&&""update""!==t&&""patch""!==t||(o.contentType=""application/json"",o.data=JSON.stringify(s.attrs||n.toJSON(s))),s.emulateJSON&&(o.contentType=""application/x-www-form-urlencoded"",o.data=o.data?{model:o.data}:{}),s.emulateHTTP&&(""PUT""===r||""DELETE""===r||""PATCH""===r)){o.type=""POST"",s.emulateJSON&&(o.data._method=r);var a=s.beforeSend;s.beforeSend=function(t){if(t.setRequestHeader(""X-HTTP-Method-Override"",r),a)return a.apply(this,arguments)}}""GET""===o.type||s.emulateJSON||(o.processData=!1),""PATCH""===o.type&&b&&(o.xhr=function(){return new ActiveXObject(""Microsoft.XMLHTTP"")});var l=s.xhr=e.ajax(i.extend(o,s));return n.trigger(""request"",n,l,s),l};var b=!(""undefined""==typeof window||!window.ActiveXObject||window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent),E={create:""POST"",update:""PUT"",patch:""PATCH"",delete:""DELETE"",read:""GET""};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var S=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},x=/\((.*?)\)/g,P=/(\(\?)?:\w+/g,A=/\*\w+/g,C=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(S.prototype,a,{initialize:function(){},route:function(t,n,s){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(n)&&(s=n,n=""""),s||(s=this[n]);var r=this;return e.history.route(t,function(i){var o=r._extractParameters(t,i);s&&s.apply(r,o),r.trigger.apply(r,[""route:""+n].concat(o)),r.trigger(""route"",n,o),e.history.trigger(""route"",r,n,o)}),this},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,""routes"");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(C,""\\$&"").replace(x,""(?:$1)?"").replace(P,function(t,e){return e?t:""([^/]+)""}).replace(A,""(.*?)""),new RegExp(""^""+t+""$"")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return i.map(n,function(t){return t?decodeURIComponent(t):null})}});var L=e.History=function(){this.handlers=[],i.bindAll(this,""checkUrl""),""undefined""!=typeof window&&(this.location=window.location,this.history=window.history)},k=/^[#\/]|\s+$/g,O=/^\/+|\/+$/g,I=/msie [\w.]+/,R=/\/$/,j=/[?#].*$/;L.started=!1,i.extend(L.prototype,a,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""""},getFragment:function(t,e){if(null==t)if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(R,"""");t.indexOf(i)||(t=t.slice(i.length))}else t=this.getHash();return t.replace(k,"""")},start:function(t){if(L.started)throw new Error(""Backbone.history has already been started"");L.started=!0,this.options=i.extend({root:""/""},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var n=this.getFragment(),s=document.documentMode,r=I.exec(navigator.userAgent.toLowerCase())&&(!s||s<=7);this.root=(""/""+this.root+""/"").replace(O,""/""),r&&this._wantsHashChange&&(this.iframe=e.$('<iframe src=""javascript:0"" tabindex=""-1"" />').hide().appendTo(""body"")[0].contentWindow,this.navigate(n)),this._hasPushState?e.$(window).on(""popstate"",this.checkUrl):this._wantsHashChange&&""onhashchange""in window&&!r?e.$(window).on(""hashchange"",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=n;var o=this.location,a=o.pathname.replace(/[^\/]$/,""$&/"")===this.root;if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!a)return this.fragment=this.getFragment(null,!0),this.location.replace(this.root+this.location.search+""#""+this.fragment),!0;this._hasPushState&&a&&o.hash&&(this.fragment=this.getHash().replace(k,""""),this.history.replaceState({},document.title,this.root+this.fragment+o.search))}if(!this.options.silent)return this.loadUrl()},stop:function(){e.$(window).off(""popstate"",this.checkUrl).off(""hashchange"",this.checkUrl),clearInterval(this._checkUrlInterval),L.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return t=this.fragment=this.getFragment(t),i.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0})},navigate:function(t,e){if(!L.started)return!1;e&&!0!==e||(e={trigger:!!e});var i=this.root+(t=this.getFragment(t||""""));if(t=t.replace(j,""""),this.fragment!==t){if(this.fragment=t,""""===t&&""/""!==i&&(i=i.slice(0,-1)),this._hasPushState)this.history[e.replace?""replaceState"":""pushState""]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"""");t.replace(n+""#""+e)}else t.hash=""#""+e}}),e.history=new L;var M=function(t,e){var n,s=this;n=t&&i.has(t,""constructor"")?t.constructor:function(){return s.apply(this,arguments)},i.extend(n,s,e);var r=function(){this.constructor=n};return r.prototype=s.prototype,n.prototype=new r,t&&i.extend(n.prototype,t),n.__super__=s.prototype,n};d.extend=f.extend=S.extend=y.extend=L.extend=M;var N=function(){throw new Error('A ""url"" property or function must be specified')},D=function(t,e){var i=e.error;e.error=function(n){i&&i(t,n,e),t.trigger(""error"",t,n,e)}};return e}),define(""route/router"",[""backbone"",""underscore""],function(t,e){return new(t.Router.extend({routes:{""*all"":""all""},start:function(){t.history.start({pushState:!0})}}))}),define(""model/app_model"",[""backbone""],function(t){return new(t.Model.extend({PAGES:{LOADER:""LOADER"",HOME:""HOME"",GENERIC_PAGE:""GENERIC_PAGE"",ARCHIVE:""ARCHIVE"",ARTICLES:""ARTICLES"",ARTICLE:""ARTICLE_ITEM"",COMPANIES:""COMPANIES"",PODCASTS:""PODCASTS"",PODCAST:""PODCAST_ITEM"",VIDEOS:""VIDEOS"",VIDEO:""VIDEO_ITEM"",FILMS:""FILMS"",PROJECTS_PAGE:""PROJECTS_PAGE"",PUBLICATIONS:""PUBLICATIONS"",LEARNING_RESOURCES:""LEARNING_RESOURCES"",EXPERT:""EXPERT"",FAQ:""FAQ"",AWARDS:""AWARDS"",NEWS:""NEWS"",CAREERS:""CAREERS"",EDUCATION:""EDUCATION"",RESEARCH:""RESEARCH"",RESEARCH_TECHNOLOGIES:""TECHNOLOGIES"",RESEARCH_TECHNOLOGY_ITEM:""RESEARCH_TECHNOLOGY_ITEM"",WORK:""WORK"",WORK_PROJECT:""WORK_PROJECT"",WORK_IN_PRODUCTION:""WORK_IN_PRODUCTION"",ABOUT:""ABOUT"",SEARCH:""SEARCH"",PERSON:""PERSON"",PEOPLE:""PEOPLE"",ERROR:""ERROR"",ADVICE:""ADVICE"",CAREER:""CAREER"",LEARNING_INSTITUTE:""LEARNING_INSTITUTE"",SCHOLARSHIP:""SCHOLARSHIP""},defaults:{page:null,prevpage:null,pageOptions:{},postLoaderPage:null,postLoaderPageOptions:null,ready:!1,podcastItem:null,menuVisibility:!1,searchOverlay:!1,footerVisibility:!1,navHints:!0},getPodcastItem:function(){return this.get(""podcastItem"")}}))}),function(){var bind=function(t,e,i){var n=Array.prototype.slice.call(arguments,2);return function(){var i=n.concat(Array.prototype.slice.call(arguments,0));t.apply(e,i)}};window.console||(window.console={});var console=window.console;if(!console.log)if(window.log4javascript){var log=log4javascript.getDefaultLogger();console.log=bind(log.info,log),console.debug=bind(log.debug,log),console.info=bind(log.info,log),console.warn=bind(log.warn,log),console.error=bind(log.error,log)}else console.log=function(t){};if(console.debug||(console.debug=console.log),console.info||(console.info=console.log),console.warn||(console.warn=console.log),console.error||(console.error=console.log),null!=window.__consoleShimTest__||eval(""/*@cc_on @_jscript_version <= 9@*/"")){var wrap=function(t){var e,i,n,s;if(t=Array.prototype.slice.call(arguments,0),s=t.shift(),(i=t.length)>1&&!1!==window.__consoleShimTest__)for(""string""!=typeof t[0]&&(t.unshift(""%o""),i+=1),n=t[0].match(/%[a-z]/g),e=n?n.length+1:1;e<i;e+=1)t[0]+="" %o"";Function.apply.call(s,console,t)};console.log=bind(wrap,window,console.log),console.debug=bind(wrap,window,console.debug),console.info=bind(wrap,window,console.info),console.warn=bind(wrap,window,console.warn),console.error=bind(wrap,window,console.error)}if(console.assert||(console.assert=function(){var t=Array.prototype.slice.call(arguments,0);t.shift()||(t[0]=""Assertion failed: ""+t[0],console.error.apply(console,t))}),console.dir||(console.dir=console.log),console.dirxml||(console.dirxml=console.log),console.exception||(console.exception=console.error),!console.time||!console.timeEnd){var timers={};console.time=function(t){timers[t]=(new Date).getTime()},console.timeEnd=function(t){var e=timers[t];e&&(console.log(t+"": ""+((new Date).getTime()-e)+""ms""),delete timers[t])}}console.table||(console.table=function(t,e){var i,n,s,r,o,a;if(t&&t instanceof Array&&t.length){if(!(e&&e instanceof Array)){e=[];for(a in t[0])t[0].hasOwnProperty(a)&&e.push(a)}for(i=0,n=t.length;i<n;i+=1){for(s=[],r=0,o=e.length;r<o;r+=1)s.push(t[i][e[r]]);Function.apply.call(console.log,console,s)}}}),console.clear||(console.clear=function(){}),console.trace||(console.trace=function(){}),console.group||(console.group=function(){}),console.groupCollapsed||(console.groupCollapsed=function(){}),console.groupEnd||(console.groupEnd=function(){}),console.timeStamp||(console.timeStamp=function(){}),console.profile||(console.profile=function(){}),console.profileEnd||(console.profileEnd=function(){}),console.count||(console.count=function(){})}(),define(""libs/console-shim"",function(t){return function(){return t.console}}(this)),define(""console"",[""libs/console-shim"",""config""],function(t,e){return{log:function(e){this._isDebug()&&t.log.apply(t,arguments)},info:function(e){this._isDebug()&&t.info(e)},warn:function(e){this._isDebug()&&t.warn(e)},error:function(e){this._isDebug()&&t.error(e)},_isDebug:function(){return""local""===e.ENV||""true""===this._getParameterByName(""debugger"")},_getParameterByName:function(t){t=t.replace(/[\[]/,""\\["").replace(/[\]]/,""\\]"");var e=new RegExp(""[\\?&]""+t+""=([^&#]*)""),i=e.exec(location.search);return null==i?"""":decodeURIComponent(i[1].replace(/\+/g,"" ""))}}}),this.createjs=this.createjs||{},function(){""use strict"";var t=createjs.PreloadJS=createjs.PreloadJS||{};t.version=""0.6.0"",t.buildDate=""Thu, 11 Dec 2014 23:32:09 GMT""}(),this.createjs=this.createjs||{},createjs.extend=function(t,e){""use strict"";function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(t,e){""use strict"";var i=t.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(e+=""_"")+""constructor""]=n.constructor;for(var s in n)i.hasOwnProperty(s)&&""function""==typeof n[s]&&(i[e+s]=n[s])}return t},this.createjs=this.createjs||{},createjs.indexOf=function(t,e){""use strict"";for(var i=0,n=t.length;i<n;i++)if(e===t[i])return i;return-1},this.createjs=this.createjs||{},function(){""use strict"";createjs.proxy=function(t,e){var i=Array.prototype.slice.call(arguments,2);return function(){return t.apply(e,Array.prototype.slice.call(arguments,0).concat(i))}}}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){throw""BrowserDetect cannot be instantiated""}var e=t.agent=window.navigator.userAgent;t.isWindowPhone=e.indexOf(""IEMobile"")>-1||e.indexOf(""Windows Phone"")>-1,t.isFirefox=e.indexOf(""Firefox"")>-1,t.isOpera=null!=window.opera,t.isChrome=e.indexOf(""Chrome"")>-1,t.isIOS=(e.indexOf(""iPod"")>-1||e.indexOf(""iPhone"")>-1||e.indexOf(""iPad"")>-1)&&!t.isWindowPhone,t.isAndroid=e.indexOf(""Android"")>-1&&!t.isWindowPhone,t.isBlackberry=e.indexOf(""Blackberry"")>-1,createjs.BrowserDetect=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return""[Event (type=""+this.type+"")]""},createjs.Event=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.Event_constructor(""error""),this.title=t,this.message=e,this.data=i}createjs.extend(t,createjs.Event).clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(t,""Event"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var s=n[t];return s&&this.removeEventListener(t,e,i),s=n[t],s?s.push(e):n[t]=[e],e},e.on=function(t,e,i,n,s,r){return e.handleEvent&&(i=i||e,e=e.handleEvent),i=i||this,this.addEventListener(t,function(t){e.call(i,t,s),n&&t.remove()},r)},e.removeEventListener=function(t,e,i){var n=i?this._captureListeners:this._listeners;if(n){var s=n[t];if(s)for(var r=0,o=s.length;r<o;r++)if(s[r]==e){1==o?delete n[t]:s.splice(r,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t){if(""string""==typeof t){var e=this._listeners;if(!e||!e[t])return!1;t=new createjs.Event(t)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var i=this,n=[i];i.parent;)n.push(i=i.parent);var s,r=n.length;for(s=r-1;s>=0&&!t.propagationStopped;s--)n[s]._dispatchEvent(t,1+(0==s));for(s=1;s<r&&!t.propagationStopped;s++)n[s]._dispatchEvent(t,3)}else this._dispatchEvent(t,2) | |
;return t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,i=this._captureListeners;return!!(e&&e[t]||i&&i[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return""[EventDispatcher]""},e._dispatchEvent=function(t,e){var i,n=1==e?this._captureListeners:this._listeners;if(t&&n){var s=n[t.type];if(!s||!(i=s.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,s=s.slice();for(var r=0;r<i&&!t.immediatePropagationStopped;r++){var o=s[r];o.handleEvent?o.handleEvent(t):o(t),t.removed&&(this.off(t.type,o,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(t){""use strict"";function e(t,e){this.Event_constructor(""progress""),this.loaded=t,this.total=null==e?1:e,this.progress=0==e?0:this.loaded/this.total}createjs.extend(e,createjs.Event).clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(e,""Event"")}(window),function(){function t(e,n){function r(t){if(r[t]!==g)return r[t];var e;if(""bug-string-char-index""==t)e=""a""!=""a""[0];else if(""json""==t)e=r(""json-stringify"")&&r(""json-parse"");else{var i,s='{""a"":[1,true,false,null,""\\u0000\\b\\n\\f\\r\\t""]}';if(""json-stringify""==t){var l=n.stringify,h=""function""==typeof l&&y;if(h){(i=function(){return 1}).toJSON=i;try{h=""0""===l(0)&&""0""===l(new o)&&'""""'==l(new a)&&l(v)===g&&l(g)===g&&l()===g&&""1""===l(i)&&""[1]""==l([i])&&""[null]""==l([g])&&""null""==l(null)&&""[null,null,null]""==l([g,v,null])&&l({a:[i,!0,!1,null,""\0\b\n\f\r\t""]})==s&&""1""===l(null,i)&&""[\n 1,\n 2\n]""==l([1,2],null,1)&&'""-271821-04-20T00:00:00.000Z""'==l(new c(-864e13))&&'""+275760-09-13T00:00:00.000Z""'==l(new c(864e13))&&'""-000001-01-01T00:00:00.000Z""'==l(new c(-621987552e5))&&'""1969-12-31T23:59:59.999Z""'==l(new c(-1))}catch(t){h=!1}}e=h}if(""json-parse""==t){var u=n.parse;if(""function""==typeof u)try{if(0===u(""0"")&&!u(!1)){i=u(s);var d=5==i.a.length&&1===i.a[0];if(d){try{d=!u('""\t""')}catch(t){}if(d)try{d=1!==u(""01"")}catch(t){}if(d)try{d=1!==u(""1."")}catch(t){}}}}catch(t){d=!1}e=d}}return r[t]=!!e}e||(e=s.Object()),n||(n=s.Object());var o=e.Number||s.Number,a=e.String||s.String,l=e.Object||s.Object,c=e.Date||s.Date,h=e.SyntaxError||s.SyntaxError,u=e.TypeError||s.TypeError,d=e.Math||s.Math,p=e.JSON||s.JSON;""object""==typeof p&&p&&(n.stringify=p.stringify,n.parse=p.parse);var f,m,g,_=l.prototype,v=_.toString,y=new c(-0xc782b5b800cec);try{y=-109252==y.getUTCFullYear()&&0===y.getUTCMonth()&&1===y.getUTCDate()&&10==y.getUTCHours()&&37==y.getUTCMinutes()&&6==y.getUTCSeconds()&&708==y.getUTCMilliseconds()}catch(t){}if(!r(""json"")){var w=r(""bug-string-char-index"");if(!y)var T=d.floor,b=[0,31,59,90,120,151,181,212,243,273,304,334],E=function(t,e){return b[e]+365*(t-1970)+T((t-1969+(e=+(e>1)))/4)-T((t-1901+e)/100)+T((t-1601+e)/400)};if((f=_.hasOwnProperty)||(f=function(t){var e,i={};return(i.__proto__=null,i.__proto__={toString:1},i).toString!=v?f=function(t){var e=this.__proto__,i=t in(this.__proto__=null,this);return this.__proto__=e,i}:(e=i.constructor,f=function(t){var i=(this.constructor||e).prototype;return t in this&&!(t in i&&this[t]===i[t])}),i=null,f.call(this,t)}),m=function(t,e){var n,s,r,o=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,s=new n;for(r in s)f.call(s,r)&&o++;return n=s=null,o?m=2==o?function(t,e){var i,n={},s=""[object Function]""==v.call(t);for(i in t)s&&""prototype""==i||f.call(n,i)||!(n[i]=1)||!f.call(t,i)||e(i)}:function(t,e){var i,n,s=""[object Function]""==v.call(t);for(i in t)s&&""prototype""==i||!f.call(t,i)||(n=""constructor""===i)||e(i);(n||f.call(t,i=""constructor""))&&e(i)}:(s=[""valueOf"",""toString"",""toLocaleString"",""propertyIsEnumerable"",""isPrototypeOf"",""hasOwnProperty"",""constructor""],m=function(t,e){var n,r,o=""[object Function]""==v.call(t),a=!o&&""function""!=typeof t.constructor&&i[typeof t.hasOwnProperty]&&t.hasOwnProperty||f;for(n in t)o&&""prototype""==n||!a.call(t,n)||e(n);for(r=s.length;n=s[--r];a.call(t,n)&&e(n));}),m(t,e)},!r(""json-stringify"")){var S={92:""\\\\"",34:'\\""',8:""\\b"",12:""\\f"",10:""\\n"",13:""\\r"",9:""\\t""},x=function(t,e){return(""000000""+(e||0)).slice(-t)},P=function(t){for(var e='""',i=0,n=t.length,s=!w||n>10,r=s&&(w?t.split(""""):t);i<n;i++){var o=t.charCodeAt(i);switch(o){case 8:case 9:case 10:case 12:case 13:case 34:case 92:e+=S[o];break;default:if(o<32){e+=""\\u00""+x(2,o.toString(16));break}e+=s?r[i]:t.charAt(i)}}return e+'""'},A=function(t,e,i,n,s,r,o){var a,l,c,h,d,p,_,y,w,b,S,C,L,k,O,I;try{a=e[t]}catch(t){}if(""object""==typeof a&&a)if(""[object Date]""!=(l=v.call(a))||f.call(a,""toJSON""))""function""==typeof a.toJSON&&(""[object Number]""!=l&&""[object String]""!=l&&""[object Array]""!=l||f.call(a,""toJSON""))&&(a=a.toJSON(t));else if(a>-1/0&&a<1/0){if(E){for(d=T(a/864e5),c=T(d/365.2425)+1970-1;E(c+1,0)<=d;c++);for(h=T((d-E(c,0))/30.42);E(c,h+1)<=d;h++);d=1+d-E(c,h),p=(a%864e5+864e5)%864e5,_=T(p/36e5)%24,y=T(p/6e4)%60,w=T(p/1e3)%60,b=p%1e3}else c=a.getUTCFullYear(),h=a.getUTCMonth(),d=a.getUTCDate(),_=a.getUTCHours(),y=a.getUTCMinutes(),w=a.getUTCSeconds(),b=a.getUTCMilliseconds();a=(c<=0||c>=1e4?(c<0?""-"":""+"")+x(6,c<0?-c:c):x(4,c))+""-""+x(2,h+1)+""-""+x(2,d)+""T""+x(2,_)+"":""+x(2,y)+"":""+x(2,w)+"".""+x(3,b)+""Z""}else a=null;if(i&&(a=i.call(e,t,a)),null===a)return""null"";if(""[object Boolean]""==(l=v.call(a)))return""""+a;if(""[object Number]""==l)return a>-1/0&&a<1/0?""""+a:""null"";if(""[object String]""==l)return P(""""+a);if(""object""==typeof a){for(k=o.length;k--;)if(o[k]===a)throw u();if(o.push(a),S=[],O=r,r+=s,""[object Array]""==l){for(L=0,k=a.length;L<k;L++)C=A(L,a,i,n,s,r,o),S.push(C===g?""null"":C);I=S.length?s?""[\n""+r+S.join("",\n""+r)+""\n""+O+""]"":""[""+S.join("","")+""]"":""[]""}else m(n||a,function(t){var e=A(t,a,i,n,s,r,o);e!==g&&S.push(P(t)+"":""+(s?"" "":"""")+e)}),I=S.length?s?""{\n""+r+S.join("",\n""+r)+""\n""+O+""}"":""{""+S.join("","")+""}"":""{}"";return o.pop(),I}};n.stringify=function(t,e,n){var s,r,o,a;if(i[typeof e]&&e)if(""[object Function]""==(a=v.call(e)))r=e;else if(""[object Array]""==a){o={};for(var l,c=0,h=e.length;c<h;l=e[c++],(""[object String]""==(a=v.call(l))||""[object Number]""==a)&&(o[l]=1));}if(n)if(""[object Number]""==(a=v.call(n))){if((n-=n%1)>0)for(s="""",n>10&&(n=10);s.length<n;s+="" "");}else""[object String]""==a&&(s=n.length<=10?n:n.slice(0,10));return A("""",(l={},l[""""]=t,l),r,o,s,"""",[])}}if(!r(""json-parse"")){var C,L,k=a.fromCharCode,O={92:""\\"",34:'""',47:""/"",98:""\b"",116:""\t"",110:""\n"",102:""\f"",114:""\r""},I=function(){throw C=L=null,h()},R=function(){for(var t,e,i,n,s,r=L,o=r.length;C<o;)switch(s=r.charCodeAt(C)){case 9:case 10:case 13:case 32:C++;break;case 123:case 125:case 91:case 93:case 58:case 44:return t=w?r.charAt(C):r[C],C++,t;case 34:for(t=""@"",C++;C<o;)if((s=r.charCodeAt(C))<32)I();else if(92==s)switch(s=r.charCodeAt(++C)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:t+=O[s],C++;break;case 117:for(e=++C,i=C+4;C<i;C++)(s=r.charCodeAt(C))>=48&&s<=57||s>=97&&s<=102||s>=65&&s<=70||I();t+=k(""0x""+r.slice(e,C));break;default:I()}else{if(34==s)break;for(s=r.charCodeAt(C),e=C;s>=32&&92!=s&&34!=s;)s=r.charCodeAt(++C);t+=r.slice(e,C)}if(34==r.charCodeAt(C))return C++,t;I();default:if(e=C,45==s&&(n=!0,s=r.charCodeAt(++C)),s>=48&&s<=57){for(48==s&&(s=r.charCodeAt(C+1))>=48&&s<=57&&I(),n=!1;C<o&&(s=r.charCodeAt(C))>=48&&s<=57;C++);if(46==r.charCodeAt(C)){for(i=++C;i<o&&(s=r.charCodeAt(i))>=48&&s<=57;i++);i==C&&I(),C=i}if(101==(s=r.charCodeAt(C))||69==s){for(s=r.charCodeAt(++C),43!=s&&45!=s||C++,i=C;i<o&&(s=r.charCodeAt(i))>=48&&s<=57;i++);i==C&&I(),C=i}return+r.slice(e,C)}if(n&&I(),""true""==r.slice(C,C+4))return C+=4,!0;if(""false""==r.slice(C,C+5))return C+=5,!1;if(""null""==r.slice(C,C+4))return C+=4,null;I()}return""$""},j=function(t){var e,i;if(""$""==t&&I(),""string""==typeof t){if(""@""==(w?t.charAt(0):t[0]))return t.slice(1);if(""[""==t){for(e=[];""]""!=(t=R());i||(i=!0))i&&("",""==t?""]""==(t=R())&&I():I()),"",""==t&&I(),e.push(j(t));return e}if(""{""==t){for(e={};""}""!=(t=R());i||(i=!0))i&&("",""==t?""}""==(t=R())&&I():I()),"",""!=t&&""string""==typeof t&&""@""==(w?t.charAt(0):t[0])&&"":""==R()||I(),e[t.slice(1)]=j(R());return e}I()}return t},M=function(t,e,i){var n=N(t,e,i);n===g?delete t[e]:t[e]=n},N=function(t,e,i){var n,s=t[e];if(""object""==typeof s&&s)if(""[object Array]""==v.call(s))for(n=s.length;n--;)M(s,n,i);else m(s,function(t){M(s,t,i)});return i.call(t,e,s)};n.parse=function(t,e){var i,n;return C=0,L=""""+t,i=j(R()),""$""!=R()&&I(),C=L=null,e&&""[object Function]""==v.call(e)?N((n={},n[""""]=i,n),"""",e):i}}}return n.runInContext=t,n}var e=""function""==typeof define&&define.amd,i={function:!0,object:!0},n=i[typeof exports]&&exports&&!exports.nodeType&&exports,s=i[typeof window]&&window||this,r=n&&i[typeof module]&&module&&!module.nodeType&&""object""==typeof global&&global;if(!r||r.global!==r&&r.window!==r&&r.self!==r||(s=r),n&&!e)t(s,n);else{var o=s.JSON,a=s.JSON3,l=!1,c=t(s,s.JSON3={noConflict:function(){return l||(l=!0,s.JSON=o,s.JSON3=a,o=a=null),c}});s.JSON={parse:c.parse,stringify:c.stringify}}e&&define(""libs/createjs/preloadjs"",[],function(){return c})}.call(this),function(){var t={};t.parseXML=function(t,e){var i=null;try{if(window.DOMParser){i=(new DOMParser).parseFromString(t,e)}else i=new ActiveXObject(""Microsoft.XMLDOM""),i.async=!1,i.loadXML(t)}catch(t){}return i},t.parseJSON=function(t){if(null==t)return null;try{return JSON.parse(t)}catch(t){throw t}},createjs.DataUtils=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=null,this.loadTimeout=8e3}var e=t.prototype={},i=t;i.create=function(e){if(""string""==typeof e){var n=new t;return n.src=e,n}if(e instanceof i)return e;if(e instanceof Object)return e;throw new Error(""Type not recognized."")},e.set=function(t){for(var e in t)this[e]=t[e];return this},createjs.LoadItem=i}(),function(){var t={};t.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,t.RELATIVE_PATT=/^[.\/]*?\//i,t.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,t.parseURI=function(e){var i={absolute:!1,relative:!1};if(null==e)return i;var n=e.indexOf(""?"");n>-1&&(e=e.substr(0,n));var s;return t.ABSOLUTE_PATT.test(e)?i.absolute=!0:t.RELATIVE_PATT.test(e)&&(i.relative=!0),(s=e.match(t.EXTENSION_PATT))&&(i.extension=s[1].toLowerCase()),i},t.formatQueryString=function(t,e){if(null==t)throw new Error(""You must specify data."");var i=[];for(var n in t)i.push(n+""=""+escape(t[n]));return e&&(i=i.concat(e)),i.join(""&"")},t.buildPath=function(t,e){if(null==e)return t;var i=[],n=t.indexOf(""?"");if(-1!=n){var s=t.slice(n+1);i=i.concat(s.split(""&""))}return-1!=n?t.slice(0,n)+""?""+this._formatQueryString(e,i):t+""?""+this._formatQueryString(e,i)},t.isCrossDomain=function(t){var e=document.createElement(""a"");e.href=t.src;var i=document.createElement(""a"");return i.href=location.href,""""!=e.hostname&&(e.port!=i.port||e.protocol!=i.protocol||e.hostname!=i.hostname)},t.isLocal=function(t){var e=document.createElement(""a"");return e.href=t.src,""""==e.hostname&&""file:""==e.protocol},t.isBinary=function(t){switch(t){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},t.isImageTag=function(t){return t instanceof HTMLImageElement},t.isAudioTag=function(t){return!!window.HTMLAudioElement&&t instanceof HTMLAudioElement},t.isVideoTag=function(t){if(window.HTMLVideoElement)return t instanceof HTMLVideoElement},t.isText=function(t){switch(t){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:return!0;default:return!1}},t.getTypeByExtension=function(t){if(null==t)return createjs.AbstractLoader.TEXT;switch(t.toLowerCase()){case""jpeg"":case""jpg"":case""gif"":case""png"":case""webp"":case""bmp"":return createjs.AbstractLoader.IMAGE;case""ogg"":case""mp3"":case""webm"":return createjs.AbstractLoader.SOUND;case""mp4"":case""webm"":case""ts"":return createjs.AbstractLoader.VIDEO;case""json"":return createjs.AbstractLoader.JSON;case""xml"":return createjs.AbstractLoader.XML;case""css"":return createjs.AbstractLoader.CSS;case""js"":return createjs.AbstractLoader.JAVASCRIPT;case""svg"":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=i,this.resultFormatter=null,this._item=t?createjs.LoadItem.create(t):null,this._preferXHR=e,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var e=createjs.extend(t,createjs.EventDispatcher),i=t;i.POST=""POST"",i.GET=""GET"",i.BINARY=""binary"",i.CSS=""css"",i.IMAGE=""image"",i.JAVASCRIPT=""javascript"",i.JSON=""json"",i.JSONP=""jsonp"",i.MANIFEST=""manifest"",i.SOUND=""sound"",i.VIDEO=""video"",i.SPRITESHEET=""spritesheet"",i.SVG=""svg"",i.TEXT=""text"",i.XML=""xml"",e.getItem=function(){return this._item},e.getResult=function(t){return t?this._rawResult:this._result},e.getTag=function(){return this._tag},e.setTag=function(t){this._tag=t},e.load=function(){this._createRequest(),this._request.on(""complete"",this,this),this._request.on(""progress"",this,this),this._request.on(""loadStart"",this,this),this._request.on(""abort"",this,this),this._request.on(""timeout"",this,this),this._request.on(""error"",this,this);var t=new createjs.Event(""initialize"");t.loader=this._request,this.dispatchEvent(t),this._request.load()},e.cancel=function(){this.canceled=!0,this.destroy()},e.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},e.getLoadedItems=function(){return this._loadedItems},e._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._createTag=function(t){return null},e._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent(""loadstart"")},e._sendProgress=function(t){if(!this._isCanceled()){var e=null;""number""==typeof t?(this.progress=t,e=new createjs.ProgressEvent(this.progress)):(e=t,this.progress=t.loaded/t.total,e.progress=this.progress,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0)),this.hasEventListener(""progress"")&&this.dispatchEvent(e)}},e._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var t=new createjs.Event(""complete"");t.rawResult=this._rawResult,null!=this._result&&(t.result=this._result),this.dispatchEvent(t)}},e._sendError=function(t){!this._isCanceled()&&this.hasEventListener(""error"")&&(null==t&&(t=new createjs.ErrorEvent(""PRELOAD_ERROR_EMPTY"")),this.dispatchEvent(t))},e._isCanceled=function(){return!(null!=window.createjs&&!this.canceled)},e.resultFormatter=null,e.handleEvent=function(t){switch(t.type){case""complete"":this._rawResult=t.target._response;var e=this.resultFormatter&&this.resultFormatter(this),i=this;e instanceof Function?e(function(t){i._result=t,i._sendComplete()}):(this._result=e||this._rawResult,this._sendComplete());break;case""progress"":this._sendProgress(t);break;case""error"":this._sendError(t);break;case""loadstart"":this._sendLoadStart();break;case""abort"":case""timeout"":this._isCanceled()||this.dispatchEvent(t.type)}},e.buildPath=function(t,e){return createjs.RequestUtils.buildPath(t,e)},e.toString=function(){return""[PreloadJS AbstractLoader]""},createjs.AbstractLoader=createjs.promote(t,""EventDispatcher"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractLoader_constructor(t,e,i),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""src""}var e=createjs.extend(t,createjs.AbstractLoader);e.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload=""auto"",this._tag.load(),this.AbstractLoader_load()},e._createTag=function(){},e._createRequest=function(){this._preferXHR?this._request=new createjs.XHRRequest(this._item):this._request=new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._formatResult=function(t){return this._tag.removeEventListener&&this._tag.removeEventListener(""canplaythrough"",this._loadedHandler),this._tag.onstalled=null,this._preferXHR&&(t.getTag().src=t.getResult(!0)),t.getTag()},createjs.AbstractMediaLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";var t=function(t){this._item=t},e=createjs.extend(t,createjs.EventDispatcher);e.load=function(){},e.destroy=function(){},e.cancel=function(){},createjs.AbstractRequest=createjs.promote(t,""EventDispatcher"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var e=createjs.extend(t,createjs.AbstractRequest);e.load=function(){null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0),this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this);var t=new createjs.Event(""initialize"");t.loader=this._tag,this.dispatchEvent(t),this._hideTag(),this._tag[this._tagSrcAttribute]=this._item.src},e.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;""loaded""!=t.readyState&&""complete""!=t.readyState||this._handleTagComplete()},e._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent(""complete"")},e._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag)},e._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility=""hidden""},e._showTag=function(){this._tag.style.visibility=this._startTagVisibility},e._handleStalled=function(){},createjs.TagRequest=createjs.promote(t,""AbstractRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var e=createjs.extend(t,createjs.TagRequest);e.load=function(){this._tag.onstalled=createjs.proxy(this._handleStalled,this),this._tag.onprogress=createjs.proxy(this._handleProgress,this),this._tag.addEventListener&&this._tag.addEventListener(""canplaythrough"",this._loadedHandler,!1),this.TagRequest_load()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;""loaded""!=t.readyState&&""complete""!=t.readyState||this._handleTagComplete()},e._handleStalled=function(){},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener(""canplaythrough"",this._loadedHandler),this._tag.onstalled=null,this._tag.onprogress=null,this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(t,""TagRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractRequest_constructor(t),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null,this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),this._createXHR(t)}var e=createjs.extend(t,createjs.AbstractRequest);t.ACTIVEX_VERSIONS=[""Msxml2.XMLHTTP.6.0"",""Msxml2.XMLHTTP.5.0"",""Msxml2.XMLHTTP.4.0"",""MSXML2.XMLHTTP.3.0"",""MSXML2.XMLHTTP"",""Microsoft.XMLHTTP""],e.getResult=function(t){return t&&this._rawResponse?this._rawResponse:this._response},e.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},e.load=function(){if(null==this._request)return void this._handleError();this._request.addEventListener(""loadstart"",this._handleLoadStartProxy,!1),this._request.addEventListener(""progress"",this._handleProgressProxy,!1),this._request.addEventListener(""abort"",this._handleAbortProxy,!1),this._request.addEventListener(""error"",this._handleErrorProxy,!1),this._request.addEventListener(""timeout"",this._handleTimeoutProxy,!1),this._request.addEventListener(""load"",this._handleLoadProxy,!1),this._request.addEventListener(""readystatechange"",this._handleReadyStateChangeProxy,!1),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(t){this.dispatchEvent(new createjs.ErrorEvent(""XHR_SEND"",null,t))}},e.setResponseType=function(t){this._request.responseType=t},e.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},e.getResponseHeader=function(t){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(t):null},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._handleLoadStart=function(t){clearTimeout(this._loadTimeout),this.dispatchEvent(""loadstart"")},e._handleAbort=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(""XHR_ABORTED"",null,t))},e._handleError=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(t.message))},e._handleReadyStateChange=function(t){4==this._request.readyState&&this._handleLoad()},e._handleLoad=function(t){if(!this.loaded){this.loaded=!0;var e=this._checkError();if(e)return void this._handleError(e);this._response=this._getResponse(),this._clean(),this.dispatchEvent(new createjs.Event(""complete""))}},e._handleTimeout=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(""PRELOAD_TIMEOUT"",null,t))},e._checkError=function(){var t=parseInt(this._request.status);switch(t){case 404:case 0:return new Error(t)}return null},e._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(t){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(t){}return null},e._createXHR=function(t){var e=createjs.RequestUtils.isCrossDomain(t),i={},n=null;if(window.XMLHttpRequest)n=new XMLHttpRequest,e&&void 0===n.withCredentials&&window.XDomainRequest&&(n=new XDomainRequest);else{for(var r=0,o=s.ACTIVEX_VERSIONS.length;r<o;r++){s.ACTIVEX_VERSIONS[r];try{n=new ActiveXObject(axVersions);break}catch(t){}}if(null==n)return!1}t.mimeType&&n.overrideMimeType&&n.overrideMimeType(t.mimeType),this._xhrLevel=""string""==typeof n.responseType?2:1;var a=null;if(a=t.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(t.src,t.values):t.src,n.open(t.method||createjs.AbstractLoader.GET,a,!0),e&&n instanceof XMLHttpRequest&&1==this._xhrLevel&&(i.Origin=location.origin),t.values&&t.method==createjs.AbstractLoader.POST&&(i[""Content-Type""]=""application/x-www-form-urlencoded""),e||i[""X-Requested-With""]||(i[""X-Requested-With""]=""XMLHttpRequest""),t.headers)for(var l in t.headers)i[l]=t.headers[l];for(l in i)n.setRequestHeader(l,i[l]);return n instanceof XMLHttpRequest&&void 0!==t.withCredentials&&(n.withCredentials=t.withCredentials),this._request=n,!0},e._clean=function(){clearTimeout(this._loadTimeout),this._request.removeEventListener(""loadstart"",this._handleLoadStartProxy),this._request.removeEventListener(""progress"",this._handleProgressProxy),this._request.removeEventListener(""abort"",this._handleAbortProxy),this._request.removeEventListener(""error"",this._handleErrorProxy),this._request.removeEventListener(""timeout"",this._handleTimeoutProxy),this._request.removeEventListener(""load"",this._handleLoadProxy),this._request.removeEventListener(""readystatechange"",this._handleReadyStateChangeProxy)},e.toString=function(){return""[PreloadJS XHRRequest]""},createjs.XHRRequest=createjs.promote(t,""AbstractRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractLoader_constructor(),this.init(t,e,i)}var e=createjs.extend(t,createjs.AbstractLoader),i=t;e.init=function(t,e,i){this.useXHR=!0,this.preferXHR=!0,this._preferXHR=!0,this.setPreferXHR(t),this.stopOnError=!1,this.maintainScriptOrder=!0,this.next=null,this._paused=!1,this._basePath=e,this._crossOrigin=i,this._typeCallbacks={},this._extensionCallbacks={},this._loadStartWasDispatched=!1,this._maxConnections=1,this._currentlyLoadingScript=null,this._currentLoads=[],this._loadQueue=[],this._loadQueueBackup=[],this._loadItemsById={},this._loadItemsBySrc={},this._loadedResults={},this._loadedRawResults={},this._numItems=0,this._numItemsLoaded=0,this._scriptOrder=[],this._loadedScripts=[],this._lastProgress=NaN,this._availableLoaders=[createjs.ImageLoader,createjs.JavaScriptLoader,createjs.CSSLoader,createjs.JSONLoader,createjs.JSONPLoader,createjs.SoundLoader,createjs.ManifestLoader,createjs.SpriteSheetLoader,createjs.XMLLoader,createjs.SVGLoader,createjs.BinaryLoader,createjs.VideoLoader,createjs.TextLoader],this._defaultLoaderLength=this._availableLoaders.length},i.loadTimeout=8e3,i.LOAD_TIMEOUT=0,i.BINARY=createjs.AbstractLoader.BINARY,i.CSS=createjs.AbstractLoader.CSS,i.IMAGE=createjs.AbstractLoader.IMAGE,i.JAVASCRIPT=createjs.AbstractLoader.JAVASCRIPT,i.JSON=createjs.AbstractLoader.JSON,i.JSONP=createjs.AbstractLoader.JSONP,i.MANIFEST=createjs.AbstractLoader.MANIFEST,i.SOUND=createjs.AbstractLoader.SOUND,i.VIDEO=createjs.AbstractLoader.VIDEO,i.SVG=createjs.AbstractLoader.SVG,i.TEXT=createjs.AbstractLoader.TEXT,i.XML=createjs.AbstractLoader.XML,i.POST=createjs.AbstractLoader.POST,i.GET=createjs.AbstractLoader.GET,e.registerLoader=function(t){if(!t||!t.canLoadItem)throw new Error(""loader is of an incorrect type."");if(-1!=this._availableLoaders.indexOf(t))throw new Error(""loader already exists."");this._availableLoaders.unshift(t)},e.unregisterLoader=function(t){var e=this._availableLoaders.indexOf(t);-1!=e&&e<this._defaultLoaderLength-1&&this._availableLoaders.splice(e,1)},e.setUseXHR=function(t){return this.setPreferXHR(t)},e.setPreferXHR=function(t){return this.preferXHR=0!=t&&null!=window.XMLHttpRequest,this.preferXHR},e.removeAll=function(){this.remove()},e.remove=function(t){var e=null;if(!t||t instanceof Array){if(t)e=t;else if(arguments.length>0)return}else e=[t];var i=!1;if(e){for(;e.length;){var n=e.pop(),s=this.getResult(n);for(r=this._loadQueue.length-1;r>=0;r--)if(o=this._loadQueue[r].getItem(),o.id==n||o.src==n){this._loadQueue.splice(r,1)[0].cancel();break}for(r=this._loadQueueBackup.length-1;r>=0;r--)if(o=this._loadQueueBackup[r].getItem(),o.id==n||o.src==n){this._loadQueueBackup.splice(r,1)[0].cancel();break}if(s)delete this._loadItemsById[s.id],delete this._loadItemsBySrc[s.src],this._disposeItem(s);else for(var r=this._currentLoads.length-1;r>=0;r--){var o=this._currentLoads[r].getItem();if(o.id==n||o.src==n){this._currentLoads.splice(r,1)[0].cancel(),i=!0;break}}}i&&this._loadNext()}else{this.close();for(var a in this._loadItemsById)this._disposeItem(this._loadItemsById[a]);this.init(this.preferXHR,this._basePath)}},e.reset=function(){this.close();for(var t in this._loadItemsById)this._disposeItem(this._loadItemsById[t]);for(var e=[],i=0,n=this._loadQueueBackup.length;i<n;i++)e.push(this._loadQueueBackup[i].getItem());this.loadManifest(e,!1)},e.installPlugin=function(t){if(null!=t&&null!=t.getPreloadHandlers){var e=t.getPreloadHandlers();if(e.scope=t,null!=e.types)for(var i=0,n=e.types.length;i<n;i++)this._typeCallbacks[e.types[i]]=e;if(null!=e.extensions)for(i=0,n=e.extensions.length;i<n;i++)this._extensionCallbacks[e.extensions[i]]=e}},e.setMaxConnections=function(t){this._maxConnections=t,!this._paused&&this._loadQueue.length>0&&this._loadNext()},e.loadFile=function(t,e,i){if(null==t){var n=new createjs.ErrorEvent(""PRELOAD_NO_FILE"");return void this._sendError(n)}this._addItem(t,null,i),!1!==e?this.setPaused(!1):this.setPaused(!0)},e.loadManifest=function(t,e,n){var s=null,r=null;if(t instanceof Array){if(0==t.length){var o=new createjs.ErrorEvent(""PRELOAD_MANIFEST_EMPTY"");return void this._sendError(o)}s=t}else if(""string""==typeof t)s=[{src:t,type:i.MANIFEST}];else{if(""object""!=typeof t){var o=new createjs.ErrorEvent(""PRELOAD_MANIFEST_NULL"");return void this._sendError(o)}if(void 0!==t.src){if(null==t.type)t.type=i.MANIFEST;else if(t.type!=i.MANIFEST){var o=new createjs.ErrorEvent(""PRELOAD_MANIFEST_TYPE"");this._sendError(o)}s=[t]}else void 0!==t.manifest&&(s=t.manifest,r=t.path)}for(var a=0,l=s.length;a<l;a++)this._addItem(s[a],r,n);!1!==e?this.setPaused(!1):this.setPaused(!0)},e.load=function(){this.setPaused(!1)},e.getItem=function(t){return this._loadItemsById[t]||this._loadItemsBySrc[t]},e.getResult=function(t,e){var i=this._loadItemsById[t]||this._loadItemsBySrc[t];if(null==i)return null;var n=i.id;return e&&this._loadedRawResults[n]?this._loadedRawResults[n]:this._loadedResults[n]},e.getItems=function(t){for(var e=[],i=0,n=this._loadQueueBackup.length;i<n;i++){var s=this._loadQueueBackup[i],r=s.getItem();(!0!==t||s.loaded)&&e.push({item:r,result:this.getResult(r.id),rawResult:this.getResult(r.id,!0)})}return e},e.setPaused=function(t){this._paused=t,this._paused||this._loadNext()},e.close=function(){for(;this._currentLoads.length;)this._currentLoads.pop().cancel();this._scriptOrder.length=0,this._loadedScripts.length=0,this.loadStartWasDispatched=!1,this._itemCount=0,this._lastProgress=NaN},e._addItem=function(t,e,i){var n=this._createLoadItem(t,e,i);if(null!=n){var s=this._createLoader(n);null!=s&&(n._loader=s,this._loadQueue.push(s),this._loadQueueBackup.push(s),this._numItems++,this._updateProgress(),(this.maintainScriptOrder&&n.type==createjs.LoadQueue.JAVASCRIPT||!0===n.maintainOrder)&&(this._scriptOrder.push(n),this._loadedScripts.push(null)))}},e._createLoadItem=function(t,e,n){var s=createjs.LoadItem.create(t);if(null==s)return null;var r=createjs.RequestUtils.parseURI(s.src);r.extension&&(s.ext=r.extension),null==s.type&&(s.type=createjs.RequestUtils.getTypeByExtension(s.ext));var o="""",a=n||this._basePath,l=s.src;if(!r.absolute&&!r.relative)if(e){o=e;var c=createjs.RequestUtils.parseURI(e);l=e+l,null==a||c.absolute||c.relative||(o=a+o)}else null!=a&&(o=a);s.src=o+s.src,s.path=o,void 0!==s.id&&null!==s.id&&""""!==s.id||(s.id=l);var h=this._typeCallbacks[s.type]||this._extensionCallbacks[s.ext];if(h){var u=h.callback.call(h.scope,s,this);if(!1===u)return null;!0===u||null!=u&&(s._loader=u),r=createjs.RequestUtils.parseURI(s.src),null!=r.extension&&(s.ext=r.extension)}return this._loadItemsById[s.id]=s,this._loadItemsBySrc[s.src]=s,null==s.loadTimeout&&(s.loadTimeout=i.loadTimeout),null==s.crossOrigin&&(s.crossOrigin=this._crossOrigin),s},e._createLoader=function(t){if(null!=t._loader)return t._loader;for(var e=this.preferXHR,i=0;i<this._availableLoaders.length;i++){var n=this._availableLoaders[i] | |
;if(n&&n.canLoadItem(t))return new n(t,e)}return null},e._loadNext=function(){if(!this._paused){this._loadStartWasDispatched||(this._sendLoadStart(),this._loadStartWasDispatched=!0),this._numItems==this._numItemsLoaded?(this.loaded=!0,this._sendComplete(),this.next&&this.next.load&&this.next.load()):this.loaded=!1;for(var t=0;t<this._loadQueue.length&&!(this._currentLoads.length>=this._maxConnections);t++){var e=this._loadQueue[t];this._canStartLoad(e)&&(this._loadQueue.splice(t,1),t--,this._loadItem(e))}}},e._loadItem=function(t){t.on(""fileload"",this._handleFileLoad,this),t.on(""progress"",this._handleProgress,this),t.on(""complete"",this._handleFileComplete,this),t.on(""error"",this._handleError,this),t.on(""fileerror"",this._handleFileError,this),this._currentLoads.push(t),this._sendFileStart(t.getItem()),t.load()},e._handleFileLoad=function(t){t.target=null,this.dispatchEvent(t)},e._handleFileError=function(t){var e=new createjs.ErrorEvent(""FILE_LOAD_ERROR"",null,t.item);this._sendError(e)},e._handleError=function(t){var e=t.target;this._numItemsLoaded++,this._finishOrderedItem(e,!0),this._updateProgress();var i=new createjs.ErrorEvent(""FILE_LOAD_ERROR"",null,e.getItem());this._sendError(i),this.stopOnError||(this._removeLoadItem(e),this._loadNext())},e._handleFileComplete=function(t){var e=t.target,i=e.getItem(),n=e.getResult();this._loadedResults[i.id]=n;var s=e.getResult(!0);null!=s&&s!==n&&(this._loadedRawResults[i.id]=s),this._saveLoadedItems(e),this._removeLoadItem(e),this._finishOrderedItem(e)||this._processFinishedLoad(i,e)},e._saveLoadedItems=function(t){var e=t.getLoadedItems();if(null!==e)for(var i=0;i<e.length;i++){var n=e[i].item;this._loadItemsBySrc[n.src]=n,this._loadItemsById[n.id]=n,this._loadedResults[n.id]=e[i].result,this._loadedRawResults[n.id]=e[i].rawResult}},e._finishOrderedItem=function(t,e){var i=t.getItem();if(this.maintainScriptOrder&&i.type==createjs.LoadQueue.JAVASCRIPT||i.maintainOrder){t instanceof createjs.JavaScriptLoader&&(this._currentlyLoadingScript=!1);var n=createjs.indexOf(this._scriptOrder,i);return-1!=n&&(this._loadedScripts[n]=!0===e||i,this._checkScriptLoadOrder(),!0)}return!1},e._checkScriptLoadOrder=function(){for(var t=this._loadedScripts.length,e=0;e<t;e++){var i=this._loadedScripts[e];if(null===i)break;if(!0!==i){var n=this._loadedResults[i.id];i.type==createjs.LoadQueue.JAVASCRIPT&&(document.body||document.getElementsByTagName(""body"")[0]).appendChild(n);var s=i._loader;this._processFinishedLoad(i,s),this._loadedScripts[e]=!0}}},e._processFinishedLoad=function(t,e){this._numItemsLoaded++,this._updateProgress(),this._sendFileComplete(t,e),this._loadNext()},e._canStartLoad=function(t){if(!this.maintainScriptOrder||t.preferXHR)return!0;var e=t.getItem();if(e.type!=createjs.LoadQueue.JAVASCRIPT)return!0;if(this._currentlyLoadingScript)return!1;for(var i=this._scriptOrder.indexOf(e),n=0;n<i;){if(null==this._loadedScripts[n])return!1;n++}return this._currentlyLoadingScript=!0,!0},e._removeLoadItem=function(t){delete t.getItem()._loader;for(var e=this._currentLoads.length,i=0;i<e;i++)if(this._currentLoads[i]==t){this._currentLoads.splice(i,1);break}},e._handleProgress=function(t){var e=t.target;this._sendFileProgress(e.getItem(),e.progress),this._updateProgress()},e._updateProgress=function(){var t=this._numItemsLoaded/this._numItems,e=this._numItems-this._numItemsLoaded;if(e>0){for(var i=0,n=0,s=this._currentLoads.length;n<s;n++)i+=this._currentLoads[n].progress;t+=i/e*(e/this._numItems)}this._lastProgress!=t&&(this._sendProgress(t),this._lastProgress=t)},e._disposeItem=function(t){delete this._loadedResults[t.id],delete this._loadedRawResults[t.id],delete this._loadItemsById[t.id],delete this._loadItemsBySrc[t.src]},e._sendFileProgress=function(t,e){if(this._isCanceled())return void this._cleanUp();if(this.hasEventListener(""fileprogress"")){var i=new createjs.Event(""fileprogress"");i.progress=e,i.loaded=e,i.total=1,i.item=t,this.dispatchEvent(i)}},e._sendFileComplete=function(t,e){if(!this._isCanceled()){var i=new createjs.Event(""fileload"");i.loader=e,i.item=t,i.result=this._loadedResults[t.id],i.rawResult=this._loadedRawResults[t.id],t.completeHandler&&t.completeHandler(i),this.hasEventListener(""fileload"")&&this.dispatchEvent(i)}},e._sendFileStart=function(t){var e=new createjs.Event(""filestart"");e.item=t,this.hasEventListener(""filestart"")&&this.dispatchEvent(e)},e.toString=function(){return""[PreloadJS LoadQueue]""},createjs.LoadQueue=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.TEXT)}createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.TEXT},createjs.TextLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.BINARY),this.on(""initialize"",this._updateXHR,this)}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.BINARY},e._updateXHR=function(t){t.loader.setResponseType(""arraybuffer"")},createjs.BinaryLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.CSS),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""href"",this._tag=e?document.createElement(""style""):document.createElement(""link""),this._tag.rel=""stylesheet"",this._tag.type=""text/css""}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.CSS},e._formatResult=function(t){if(this._preferXHR){var e=t.getTag();if(document.getElementsByTagName(""head"")[0].appendChild(e),e.styleSheet)e.styleSheet.cssText=t.getResult(!0);else{var i=document.createTextNode(t.getResult(!0));e.appendChild(i)}}else e=this._tag;return e},createjs.CSSLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.IMAGE),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""src"",createjs.RequestUtils.isImageTag(t)?this._tag=t:createjs.RequestUtils.isImageTag(t.src)?this._tag=t.src:createjs.RequestUtils.isImageTag(t.tag)&&(this._tag=t.tag),null!=this._tag?this._preferXHR=!1:this._tag=document.createElement(""img""),this.on(""initialize"",this._updateXHR,this)}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.IMAGE},e.load=function(){if(""""!=this._tag.src&&this._tag.complete)return void this._sendComplete();var t=this._item.crossOrigin;1==t&&(t=""Anonymous""),null==t||createjs.RequestUtils.isLocal(this._item.src)||(this._tag.crossOrigin=t),this.AbstractLoader_load()},e._updateXHR=function(t){t.loader.mimeType=""text/plain; charset=x-user-defined-binary"",t.loader.setResponseType&&t.loader.setResponseType(""blob"")},e._formatResult=function(t){var e=this;return function(i){var n=e._tag,s=window.URL||window.webkitURL;if(e._preferXHR)if(s){var r=s.createObjectURL(t.getResult(!0));n.src=r,n.onload=function(){s.revokeObjectURL(e.src)}}else n.src=t.getItem().src;n.complete?i(n):n.onload=function(){i(this)}}},createjs.ImageLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.JAVASCRIPT),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""src"",this.setTag(document.createElement(""script""))}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JAVASCRIPT},e._formatResult=function(t){var e=t.getTag();return this._preferXHR&&(e.text=t.getResult(!0)),e},createjs.JavaScriptLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.JSON),this.resultFormatter=this._formatResult}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JSON&&!t._loadAsJSONP},e._formatResult=function(t){var e=null;try{e=createjs.DataUtils.parseJSON(t.getResult(!0))}catch(t){var i=new createjs.ErrorEvent(""JSON_FORMAT"",null,t);return this._sendError(i),t}return e},createjs.JSONLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!1,createjs.AbstractLoader.JSONP),this.setTag(document.createElement(""script"")),this.getTag().type=""text/javascript""}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.JSONP||t._loadAsJSONP},e.cancel=function(){this.AbstractLoader_cancel(),this._dispose()},e.load=function(){if(null==this._item.callback)throw new Error(""callback is required for loading JSONP requests."");if(null!=window[this._item.callback])throw new Error(""JSONP callback '""+this._item.callback+""' already exists on window. You need to specify a different callback or re-name the current one."");window[this._item.callback]=createjs.proxy(this._handleLoad,this),window.document.body.appendChild(this._tag),this._tag.src=this._item.src},e._handleLoad=function(t){this._result=this._rawResult=t,this._sendComplete(),this._dispose()},e._dispose=function(){window.document.body.removeChild(this._tag),delete window[this._item.callback]},createjs.JSONPLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,null,createjs.AbstractLoader.MANIFEST),this._manifestQueue=null}var e=createjs.extend(t,createjs.AbstractLoader),i=t;i.MANIFEST_PROGRESS=.25,i.canLoadItem=function(t){return t.type==createjs.AbstractLoader.MANIFEST},e.load=function(){this.AbstractLoader_load()},e._createRequest=function(){var t=this._item.callback;this._request=null!=t?new createjs.JSONPLoader(this._item):new createjs.JSONLoader(this._item)},e.handleEvent=function(t){switch(t.type){case""complete"":return this._rawResult=t.target.getResult(!0),this._result=t.target.getResult(),this._sendProgress(i.MANIFEST_PROGRESS),void this._loadManifest(this._result);case""progress"":return t.loaded*=i.MANIFEST_PROGRESS,this.progress=t.loaded/t.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(t)}this.AbstractLoader_handleEvent(t)},e.destroy=function(){this.AbstractLoader_destroy(),this._manifestQueue.close()},e._loadManifest=function(t){if(t&&t.manifest){var e=this._manifestQueue=new createjs.LoadQueue;e.on(""fileload"",this._handleManifestFileLoad,this),e.on(""progress"",this._handleManifestProgress,this),e.on(""complete"",this._handleManifestComplete,this,!0),e.on(""error"",this._handleManifestError,this,!0),e.loadManifest(t)}else this._sendComplete()},e._handleManifestFileLoad=function(t){t.target=null,this.dispatchEvent(t)},e._handleManifestComplete=function(t){this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},e._handleManifestProgress=function(t){this.progress=t.progress*(1-i.MANIFEST_PROGRESS)+i.MANIFEST_PROGRESS,this._sendProgress(this.progress)},e._handleManifestError=function(t){var e=new createjs.Event(""fileerror"");e.item=t.data,this.dispatchEvent(e)},createjs.ManifestLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(t)?this._tag=t:createjs.RequestUtils.isAudioTag(t.src)?this._tag=t:createjs.RequestUtils.isAudioTag(t.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(t)?t:t.src),null!=this._tag&&(this._preferXHR=!1)}var e=createjs.extend(t,createjs.AbstractMediaLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SOUND},e._createTag=function(t){var e=document.createElement(""audio"");return e.autoplay=!1,e.preload=""none"",e.src=t,e},createjs.SoundLoader=createjs.promote(t,""AbstractMediaLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.VIDEO),createjs.RequestUtils.isVideoTag(t)||createjs.RequestUtils.isVideoTag(t.src)?(this.setTag(createjs.RequestUtils.isVideoTag(t)?t:t.src),this._preferXHR=!1):this.setTag(this._createTag())}var e=createjs.extend(t,createjs.AbstractMediaLoader),i=t;e._createTag=function(){return document.createElement(""video"")},i.canLoadItem=function(t){return t.type==createjs.AbstractLoader.VIDEO},createjs.VideoLoader=createjs.promote(t,""AbstractMediaLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,null,createjs.AbstractLoader.SPRITESHEET),this._manifestQueue=null}var e=createjs.extend(t,createjs.AbstractLoader),i=t;i.SPRITESHEET_PROGRESS=.25,i.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SPRITESHEET},e.destroy=function(){this.AbstractLoader_destroy,this._manifestQueue.close()},e._createRequest=function(){var t=this._item.callback;null!=t&&t instanceof Function?this._request=new createjs.JSONPLoader(this._item):this._request=new createjs.JSONLoader(this._item)},e.handleEvent=function(t){switch(t.type){case""complete"":return this._rawResult=t.target.getResult(!0),this._result=t.target.getResult(),this._sendProgress(i.SPRITESHEET_PROGRESS),void this._loadManifest(this._result);case""progress"":return t.loaded*=i.SPRITESHEET_PROGRESS,this.progress=t.loaded/t.total,(isNaN(this.progress)||this.progress==1/0)&&(this.progress=0),void this._sendProgress(t)}this.AbstractLoader_handleEvent(t)},e._loadManifest=function(t){if(t&&t.images){var e=this._manifestQueue=new createjs.LoadQueue;e.on(""complete"",this._handleManifestComplete,this,!0),e.on(""fileload"",this._handleManifestFileLoad,this),e.on(""progress"",this._handleManifestProgress,this),e.on(""error"",this._handleManifestError,this,!0),e.loadManifest(t.images)}},e._handleManifestFileLoad=function(t){var e=t.result;if(null!=e){var i=this.getResult().images;i[i.indexOf(t.item.src)]=e}},e._handleManifestComplete=function(t){this._result=new createjs.SpriteSheet(this._result),this._loadedItems=this._manifestQueue.getItems(!0),this._sendComplete()},e._handleManifestProgress=function(t){this.progress=t.progress*(1-i.SPRITESHEET_PROGRESS)+i.SPRITESHEET_PROGRESS,this._sendProgress(this.progress)},e._handleManifestError=function(t){var e=new createjs.Event(""fileerror"");e.item=t.data,this.dispatchEvent(e)},createjs.SpriteSheetLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractLoader_constructor(t,e,createjs.AbstractLoader.SVG),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""data"",e?this.setTag(document.createElement(""svg"")):(this.setTag(document.createElement(""object"")),this.getTag().type=""image/svg+xml""),this.getTag().style.visibility=""hidden""}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SVG},e._formatResult=function(t){var e=createjs.DataUtils.parseXML(t.getResult(!0),""text/xml""),i=t.getTag();return!this._preferXHR&&document.body.contains(i)&&document.body.removeChild(i),null!=e.documentElement?(i.appendChild(e.documentElement),i.style.visibility=""visible"",i):e},createjs.SVGLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.XML),this.resultFormatter=this._formatResult}var e=createjs.extend(t,createjs.AbstractLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.XML},e._formatResult=function(t){return createjs.DataUtils.parseXML(t.getResult(!0),""text/xml"")},createjs.XMLLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){var t=createjs.SoundJS=createjs.SoundJS||{};t.version=""0.6.0"",t.buildDate=""Thu, 11 Dec 2014 23:32:09 GMT""}(),this.createjs=this.createjs||{},createjs.extend=function(t,e){""use strict"";function i(){this.constructor=t}return i.prototype=e.prototype,t.prototype=new i},this.createjs=this.createjs||{},createjs.promote=function(t,e){""use strict"";var i=t.prototype,n=Object.getPrototypeOf&&Object.getPrototypeOf(i)||i.__proto__;if(n){i[(e+=""_"")+""constructor""]=n.constructor;for(var s in n)i.hasOwnProperty(s)&&""function""==typeof n[s]&&(i[e+s]=n[s])}return t},this.createjs=this.createjs||{},createjs.indexOf=function(t,e){""use strict"";for(var i=0,n=t.length;n>i;i++)if(e===t[i])return i;return-1},this.createjs=this.createjs||{},function(){""use strict"";createjs.proxy=function(t,e){var i=Array.prototype.slice.call(arguments,2);return function(){return t.apply(e,Array.prototype.slice.call(arguments,0).concat(i))}}}(),this.createjs=this.createjs||{},function(){""use strict"";var t=!!Object.defineProperty,e={};try{Object.defineProperty(e,""bar"",{get:function(){return this._bar},set:function(t){this._bar=t}})}catch(e){t=!1}createjs.definePropertySupported=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){throw""BrowserDetect cannot be instantiated""}var e=t.agent=window.navigator.userAgent;t.isWindowPhone=e.indexOf(""IEMobile"")>-1||e.indexOf(""Windows Phone"")>-1,t.isFirefox=e.indexOf(""Firefox"")>-1,t.isOpera=null!=window.opera,t.isChrome=e.indexOf(""Chrome"")>-1,t.isIOS=(e.indexOf(""iPod"")>-1||e.indexOf(""iPhone"")>-1||e.indexOf(""iPad"")>-1)&&!t.isWindowPhone,t.isAndroid=e.indexOf(""Android"")>-1&&!t.isWindowPhone,t.isBlackberry=e.indexOf(""Blackberry"")>-1,createjs.BrowserDetect=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){this._listeners=null,this._captureListeners=null}var e=t.prototype;t.initialize=function(t){t.addEventListener=e.addEventListener,t.on=e.on,t.removeEventListener=t.off=e.removeEventListener,t.removeAllEventListeners=e.removeAllEventListeners,t.hasEventListener=e.hasEventListener,t.dispatchEvent=e.dispatchEvent,t._dispatchEvent=e._dispatchEvent,t.willTrigger=e.willTrigger},e.addEventListener=function(t,e,i){var n;n=i?this._captureListeners=this._captureListeners||{}:this._listeners=this._listeners||{};var s=n[t];return s&&this.removeEventListener(t,e,i),s=n[t],s?s.push(e):n[t]=[e],e},e.on=function(t,e,i,n,s,r){return e.handleEvent&&(i=i||e,e=e.handleEvent),i=i||this,this.addEventListener(t,function(t){e.call(i,t,s),n&&t.remove()},r)},e.removeEventListener=function(t,e,i){var n=i?this._captureListeners:this._listeners;if(n){var s=n[t];if(s)for(var r=0,o=s.length;o>r;r++)if(s[r]==e){1==o?delete n[t]:s.splice(r,1);break}}},e.off=e.removeEventListener,e.removeAllEventListeners=function(t){t?(this._listeners&&delete this._listeners[t],this._captureListeners&&delete this._captureListeners[t]):this._listeners=this._captureListeners=null},e.dispatchEvent=function(t){if(""string""==typeof t){var e=this._listeners;if(!e||!e[t])return!1;t=new createjs.Event(t)}else t.target&&t.clone&&(t=t.clone());try{t.target=this}catch(t){}if(t.bubbles&&this.parent){for(var i=this,n=[i];i.parent;)n.push(i=i.parent);var s,r=n.length;for(s=r-1;s>=0&&!t.propagationStopped;s--)n[s]._dispatchEvent(t,1+(0==s));for(s=1;r>s&&!t.propagationStopped;s++)n[s]._dispatchEvent(t,3)}else this._dispatchEvent(t,2);return t.defaultPrevented},e.hasEventListener=function(t){var e=this._listeners,i=this._captureListeners;return!!(e&&e[t]||i&&i[t])},e.willTrigger=function(t){for(var e=this;e;){if(e.hasEventListener(t))return!0;e=e.parent}return!1},e.toString=function(){return""[EventDispatcher]""},e._dispatchEvent=function(t,e){var i,n=1==e?this._captureListeners:this._listeners;if(t&&n){var s=n[t.type];if(!s||!(i=s.length))return;try{t.currentTarget=this}catch(t){}try{t.eventPhase=e}catch(t){}t.removed=!1,s=s.slice();for(var r=0;i>r&&!t.immediatePropagationStopped;r++){var o=s[r];o.handleEvent?o.handleEvent(t):o(t),t.removed&&(this.off(t.type,o,1==e),t.removed=!1)}}},createjs.EventDispatcher=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.type=t,this.target=null,this.currentTarget=null,this.eventPhase=0,this.bubbles=!!e,this.cancelable=!!i,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.removed=!1}var e=t.prototype;e.preventDefault=function(){this.defaultPrevented=this.cancelable&&!0},e.stopPropagation=function(){this.propagationStopped=!0},e.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.remove=function(){this.removed=!0},e.clone=function(){return new t(this.type,this.bubbles,this.cancelable)},e.set=function(t){for(var e in t)this[e]=t[e];return this},e.toString=function(){return""[Event (type=""+this.type+"")]""},createjs.Event=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.Event_constructor(""error""),this.title=t,this.message=e,this.data=i}createjs.extend(t,createjs.Event).clone=function(){return new createjs.ErrorEvent(this.title,this.message,this.data)},createjs.ErrorEvent=createjs.promote(t,""Event"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.Event_constructor(""progress""),this.loaded=t,this.total=null==e?1:e,this.progress=0==e?0:this.loaded/this.total}createjs.extend(t,createjs.Event).clone=function(){return new createjs.ProgressEvent(this.loaded,this.total)},createjs.ProgressEvent=createjs.promote(t,""Event"")}(window),this.createjs=this.createjs||{},function(){""use strict"";function t(){this.src=null,this.type=null,this.id=null,this.maintainOrder=!1,this.callback=null,this.data=null,this.method=createjs.LoadItem.GET,this.values=null,this.headers=null,this.withCredentials=!1,this.mimeType=null,this.crossOrigin=""Anonymous"",this.loadTimeout=8e3}var e=t.prototype={},i=t;i.create=function(e){if(""string""==typeof e){var n=new t;return n.src=e,n}if(e instanceof i)return e;if(e instanceof Object)return e;throw new Error(""Type not recognized."")},e.set=function(t){for(var e in t)this[e]=t[e];return this},createjs.LoadItem=i}(),function(){var t={};t.ABSOLUTE_PATT=/^(?:\w+:)?\/{2}/i,t.RELATIVE_PATT=/^[.\/]*?\//i,t.EXTENSION_PATT=/\/?[^\/]+\.(\w{1,5})$/i,t.parseURI=function(e){var i={absolute:!1,relative:!1};if(null==e)return i;var n=e.indexOf(""?"");n>-1&&(e=e.substr(0,n));var s;return t.ABSOLUTE_PATT.test(e)?i.absolute=!0:t.RELATIVE_PATT.test(e)&&(i.relative=!0),(s=e.match(t.EXTENSION_PATT))&&(i.extension=s[1].toLowerCase()),i},t.formatQueryString=function(t,e){if(null==t)throw new Error(""You must specify data."");var i=[];for(var n in t)i.push(n+""=""+escape(t[n]));return e&&(i=i.concat(e)),i.join(""&"")},t.buildPath=function(t,e){if(null==e)return t;var i=[],n=t.indexOf(""?"");if(-1!=n){var s=t.slice(n+1);i=i.concat(s.split(""&""))}return-1!=n?t.slice(0,n)+""?""+this._formatQueryString(e,i):t+""?""+this._formatQueryString(e,i)},t.isCrossDomain=function(t){var e=document.createElement(""a"");e.href=t.src;var i=document.createElement(""a"");return i.href=location.href,""""!=e.hostname&&(e.port!=i.port||e.protocol!=i.protocol||e.hostname!=i.hostname)},t.isLocal=function(t){var e=document.createElement(""a"");return e.href=t.src,""""==e.hostname&&""file:""==e.protocol},t.isBinary=function(t){switch(t){case createjs.AbstractLoader.IMAGE:case createjs.AbstractLoader.BINARY:return!0;default:return!1}},t.isImageTag=function(t){return t instanceof HTMLImageElement},t.isAudioTag=function(t){return!!window.HTMLAudioElement&&t instanceof HTMLAudioElement},t.isVideoTag=function(t){return window.HTMLVideoElement?t instanceof HTMLVideoElement:void 0},t.isText=function(t){switch(t){case createjs.AbstractLoader.TEXT:case createjs.AbstractLoader.JSON:case createjs.AbstractLoader.MANIFEST:case createjs.AbstractLoader.XML:case createjs.AbstractLoader.CSS:case createjs.AbstractLoader.SVG:case createjs.AbstractLoader.JAVASCRIPT:return!0;default:return!1}},t.getTypeByExtension=function(t){if(null==t)return createjs.AbstractLoader.TEXT;switch(t.toLowerCase()){case""jpeg"":case""jpg"":case""gif"":case""png"":case""webp"":case""bmp"":return createjs.AbstractLoader.IMAGE;case""ogg"":case""mp3"":case""webm"":return createjs.AbstractLoader.SOUND;case""mp4"":case""webm"":case""ts"":return createjs.AbstractLoader.VIDEO;case""json"":return createjs.AbstractLoader.JSON;case""xml"":return createjs.AbstractLoader.XML;case""css"":return createjs.AbstractLoader.CSS;case""js"":return createjs.AbstractLoader.JAVASCRIPT;case""svg"":return createjs.AbstractLoader.SVG;default:return createjs.AbstractLoader.TEXT}},createjs.RequestUtils=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.EventDispatcher_constructor(),this.loaded=!1,this.canceled=!1,this.progress=0,this.type=i,this.resultFormatter=null,this._item=t?createjs.LoadItem.create(t):null,this._preferXHR=e,this._result=null,this._rawResult=null,this._loadedItems=null,this._tagSrcAttribute=null,this._tag=null}var e=createjs.extend(t,createjs.EventDispatcher),i=t;i.POST=""POST"",i.GET=""GET"",i.BINARY=""binary"",i.CSS=""css"",i.IMAGE=""image"",i.JAVASCRIPT=""javascript"",i.JSON=""json"",i.JSONP=""jsonp"",i.MANIFEST=""manifest"",i.SOUND=""sound"",i.VIDEO=""video"",i.SPRITESHEET=""spritesheet"",i.SVG=""svg"",i.TEXT=""text"",i.XML=""xml"",e.getItem=function(){return this._item},e.getResult=function(t){return t?this._rawResult:this._result},e.getTag=function(){return this._tag},e.setTag=function(t){this._tag=t},e.load=function(){this._createRequest(),this._request.on(""complete"",this,this),this._request.on(""progress"",this,this),this._request.on(""loadStart"",this,this),this._request.on(""abort"",this,this),this._request.on(""timeout"",this,this),this._request.on(""error"",this,this);var t=new createjs.Event(""initialize"");t.loader=this._request,this.dispatchEvent(t),this._request.load()},e.cancel=function(){this.canceled=!0,this.destroy()},e.destroy=function(){this._request&&(this._request.removeAllEventListeners(),this._request.destroy()),this._request=null,this._item=null,this._rawResult=null,this._result=null,this._loadItems=null,this.removeAllEventListeners()},e.getLoadedItems=function(){return this._loadedItems},e._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.TagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._createTag=function(){return null},e._sendLoadStart=function(){this._isCanceled()||this.dispatchEvent(""loadstart"")},e._sendProgress=function(t){if(!this._isCanceled()){var e=null;""number""==typeof t?(this.progress=t,e=new createjs.ProgressEvent(this.progress)):(e=t,this.progress=t.loaded/t.total,e.progress=this.progress,(isNaN(this.progress)||1/0==this.progress)&&(this.progress=0)),this.hasEventListener(""progress"")&&this.dispatchEvent(e)}},e._sendComplete=function(){if(!this._isCanceled()){this.loaded=!0;var t=new createjs.Event(""complete"");t.rawResult=this._rawResult,null!=this._result&&(t.result=this._result),this.dispatchEvent(t)}},e._sendError=function(t){!this._isCanceled()&&this.hasEventListener(""error"")&&(null==t&&(t=new createjs.ErrorEvent(""PRELOAD_ERROR_EMPTY"")),this.dispatchEvent(t))},e._isCanceled=function(){return!(null!=window.createjs&&!this.canceled)},e.resultFormatter=null,e.handleEvent=function(t){switch(t.type){case""complete"":this._rawResult=t.target._response;var e=this.resultFormatter&&this.resultFormatter(this),i=this;e instanceof Function?e(function(t){i._result=t,i._sendComplete()}):(this._result=e||this._rawResult,this._sendComplete());break;case""progress"":this._sendProgress(t);break;case""error"":this._sendError(t);break;case""loadstart"":this._sendLoadStart();break;case""abort"":case""timeout"":this._isCanceled()||this.dispatchEvent(t.type)}},e.buildPath=function(t,e){return createjs.RequestUtils.buildPath(t,e)},e.toString=function(){return""[PreloadJS AbstractLoader]""},createjs.AbstractLoader=createjs.promote(t,""EventDispatcher"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractLoader_constructor(t,e,i),this.resultFormatter=this._formatResult,this._tagSrcAttribute=""src""}var e=createjs.extend(t,createjs.AbstractLoader);e.load=function(){this._tag||(this._tag=this._createTag(this._item.src)),this._tag.preload=""auto"",this._tag.load(),this.AbstractLoader_load()},e._createTag=function(){},e._createRequest=function(){this._request=this._preferXHR?new createjs.XHRRequest(this._item):new createjs.MediaTagRequest(this._item,this._tag||this._createTag(),this._tagSrcAttribute)},e._formatResult=function(t){return this._tag.removeEventListener&&this._tag.removeEventListener(""canplaythrough"",this._loadedHandler),this._tag.onstalled=null,this._preferXHR&&(t.getTag().src=t.getResult(!0)),t.getTag()},createjs.AbstractMediaLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";var t=function(t){this._item=t},e=createjs.extend(t,createjs.EventDispatcher);e.load=function(){},e.destroy=function(){},e.cancel=function(){},createjs.AbstractRequest=createjs.promote(t,""EventDispatcher"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this),this._addedToDOM=!1,this._startTagVisibility=null}var e=createjs.extend(t,createjs.AbstractRequest);e.load=function(){null==this._tag.parentNode&&(window.document.body.appendChild(this._tag),this._addedToDOM=!0),this._tag.onload=createjs.proxy(this._handleTagComplete,this),this._tag.onreadystatechange=createjs.proxy(this._handleReadyStateChange,this);var t=new createjs.Event(""initialize"");t.loader=this._tag,this.dispatchEvent(t),this._hideTag(),this._tag[this._tagSrcAttribute]=this._item.src},e.destroy=function(){this._clean(),this._tag=null,this.AbstractRequest_destroy()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;(""loaded""==t.readyState||""complete""==t.readyState)&&this._handleTagComplete()},e._handleTagComplete=function(){this._rawResult=this._tag,this._result=this.resultFormatter&&this.resultFormatter(this)||this._rawResult,this._clean(),this._showTag(),this.dispatchEvent(""complete"")},e._clean=function(){this._tag.onload=null,this._tag.onreadystatechange=null,this._addedToDOM&&null!=this._tag.parentNode&&this._tag.parentNode.removeChild(this._tag)},e._hideTag=function(){this._startTagVisibility=this._tag.style.visibility,this._tag.style.visibility=""hidden""},e._showTag=function(){this._tag.style.visibility=this._startTagVisibility},e._handleStalled=function(){},createjs.TagRequest=createjs.promote(t,""AbstractRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i){this.AbstractRequest_constructor(t),this._tag=e,this._tagSrcAttribute=i,this._loadedHandler=createjs.proxy(this._handleTagComplete,this)}var e=createjs.extend(t,createjs.TagRequest);e.load=function(){this._tag.onstalled=createjs.proxy(this._handleStalled,this),this._tag.onprogress=createjs.proxy(this._handleProgress,this),this._tag.addEventListener&&this._tag.addEventListener(""canplaythrough"",this._loadedHandler,!1),this.TagRequest_load()},e._handleReadyStateChange=function(){clearTimeout(this._loadTimeout);var t=this._tag;(""loaded""==t.readyState||""complete""==t.readyState)&&this._handleTagComplete()},e._handleStalled=function(){},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._clean=function(){this._tag.removeEventListener&&this._tag.removeEventListener(""canplaythrough"",this._loadedHandler),this._tag.onstalled=null,this._tag.onprogress=null,this.TagRequest__clean()},createjs.MediaTagRequest=createjs.promote(t,""TagRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractRequest_constructor(t),this._request=null,this._loadTimeout=null,this._xhrLevel=1,this._response=null, | |
this._rawResponse=null,this._canceled=!1,this._handleLoadStartProxy=createjs.proxy(this._handleLoadStart,this),this._handleProgressProxy=createjs.proxy(this._handleProgress,this),this._handleAbortProxy=createjs.proxy(this._handleAbort,this),this._handleErrorProxy=createjs.proxy(this._handleError,this),this._handleTimeoutProxy=createjs.proxy(this._handleTimeout,this),this._handleLoadProxy=createjs.proxy(this._handleLoad,this),this._handleReadyStateChangeProxy=createjs.proxy(this._handleReadyStateChange,this),this._createXHR(t)}var e=createjs.extend(t,createjs.AbstractRequest);t.ACTIVEX_VERSIONS=[""Msxml2.XMLHTTP.6.0"",""Msxml2.XMLHTTP.5.0"",""Msxml2.XMLHTTP.4.0"",""MSXML2.XMLHTTP.3.0"",""MSXML2.XMLHTTP"",""Microsoft.XMLHTTP""],e.getResult=function(t){return t&&this._rawResponse?this._rawResponse:this._response},e.cancel=function(){this.canceled=!0,this._clean(),this._request.abort()},e.load=function(){if(null==this._request)return void this._handleError();this._request.addEventListener(""loadstart"",this._handleLoadStartProxy,!1),this._request.addEventListener(""progress"",this._handleProgressProxy,!1),this._request.addEventListener(""abort"",this._handleAbortProxy,!1),this._request.addEventListener(""error"",this._handleErrorProxy,!1),this._request.addEventListener(""timeout"",this._handleTimeoutProxy,!1),this._request.addEventListener(""load"",this._handleLoadProxy,!1),this._request.addEventListener(""readystatechange"",this._handleReadyStateChangeProxy,!1),1==this._xhrLevel&&(this._loadTimeout=setTimeout(createjs.proxy(this._handleTimeout,this),this._item.loadTimeout));try{this._item.values&&this._item.method!=createjs.AbstractLoader.GET?this._item.method==createjs.AbstractLoader.POST&&this._request.send(createjs.RequestUtils.formatQueryString(this._item.values)):this._request.send()}catch(t){this.dispatchEvent(new createjs.ErrorEvent(""XHR_SEND"",null,t))}},e.setResponseType=function(t){this._request.responseType=t},e.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders instanceof Function?this._request.getAllResponseHeaders():null},e.getResponseHeader=function(t){return this._request.getResponseHeader instanceof Function?this._request.getResponseHeader(t):null},e._handleProgress=function(t){if(t&&!(t.loaded>0&&0==t.total)){var e=new createjs.ProgressEvent(t.loaded,t.total);this.dispatchEvent(e)}},e._handleLoadStart=function(){clearTimeout(this._loadTimeout),this.dispatchEvent(""loadstart"")},e._handleAbort=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(""XHR_ABORTED"",null,t))},e._handleError=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(t.message))},e._handleReadyStateChange=function(){4==this._request.readyState&&this._handleLoad()},e._handleLoad=function(){if(!this.loaded){this.loaded=!0;var t=this._checkError();if(t)return void this._handleError(t);this._response=this._getResponse(),this._clean(),this.dispatchEvent(new createjs.Event(""complete""))}},e._handleTimeout=function(t){this._clean(),this.dispatchEvent(new createjs.ErrorEvent(""PRELOAD_TIMEOUT"",null,t))},e._checkError=function(){var t=parseInt(this._request.status);switch(t){case 404:case 0:return new Error(t)}return null},e._getResponse=function(){if(null!=this._response)return this._response;if(null!=this._request.response)return this._request.response;try{if(null!=this._request.responseText)return this._request.responseText}catch(t){}try{if(null!=this._request.responseXML)return this._request.responseXML}catch(t){}return null},e._createXHR=function(t){var e=createjs.RequestUtils.isCrossDomain(t),i={},n=null;if(window.XMLHttpRequest)n=new XMLHttpRequest,e&&void 0===n.withCredentials&&window.XDomainRequest&&(n=new XDomainRequest);else{for(var r=0,o=s.ACTIVEX_VERSIONS.length;o>r;r++){s.ACTIVEX_VERSIONS[r];try{n=new ActiveXObject(axVersions);break}catch(t){}}if(null==n)return!1}t.mimeType&&n.overrideMimeType&&n.overrideMimeType(t.mimeType),this._xhrLevel=""string""==typeof n.responseType?2:1;var a=null;if(a=t.method==createjs.AbstractLoader.GET?createjs.RequestUtils.buildPath(t.src,t.values):t.src,n.open(t.method||createjs.AbstractLoader.GET,a,!0),e&&n instanceof XMLHttpRequest&&1==this._xhrLevel&&(i.Origin=location.origin),t.values&&t.method==createjs.AbstractLoader.POST&&(i[""Content-Type""]=""application/x-www-form-urlencoded""),e||i[""X-Requested-With""]||(i[""X-Requested-With""]=""XMLHttpRequest""),t.headers)for(var l in t.headers)i[l]=t.headers[l];for(l in i)n.setRequestHeader(l,i[l]);return n instanceof XMLHttpRequest&&void 0!==t.withCredentials&&(n.withCredentials=t.withCredentials),this._request=n,!0},e._clean=function(){clearTimeout(this._loadTimeout),this._request.removeEventListener(""loadstart"",this._handleLoadStartProxy),this._request.removeEventListener(""progress"",this._handleProgressProxy),this._request.removeEventListener(""abort"",this._handleAbortProxy),this._request.removeEventListener(""error"",this._handleErrorProxy),this._request.removeEventListener(""timeout"",this._handleTimeoutProxy),this._request.removeEventListener(""load"",this._handleLoadProxy),this._request.removeEventListener(""readystatechange"",this._handleReadyStateChangeProxy)},e.toString=function(){return""[PreloadJS XHRRequest]""},createjs.XHRRequest=createjs.promote(t,""AbstractRequest"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e){this.AbstractMediaLoader_constructor(t,e,createjs.AbstractLoader.SOUND),createjs.RequestUtils.isAudioTag(t)?this._tag=t:createjs.RequestUtils.isAudioTag(t.src)?this._tag=t:createjs.RequestUtils.isAudioTag(t.tag)&&(this._tag=createjs.RequestUtils.isAudioTag(t)?t:t.src),null!=this._tag&&(this._preferXHR=!1)}var e=createjs.extend(t,createjs.AbstractMediaLoader);t.canLoadItem=function(t){return t.type==createjs.AbstractLoader.SOUND},e._createTag=function(t){var e=document.createElement(""audio"");return e.autoplay=!1,e.preload=""none"",e.src=t,e},createjs.SoundLoader=createjs.promote(t,""AbstractMediaLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){throw""Sound cannot be instantiated""}function e(t,e){this.init(t,e)}var i=t;i.INTERRUPT_ANY=""any"",i.INTERRUPT_EARLY=""early"",i.INTERRUPT_LATE=""late"",i.INTERRUPT_NONE=""none"",i.PLAY_INITED=""playInited"",i.PLAY_SUCCEEDED=""playSucceeded"",i.PLAY_INTERRUPTED=""playInterrupted"",i.PLAY_FINISHED=""playFinished"",i.PLAY_FAILED=""playFailed"",i.SUPPORTED_EXTENSIONS=[""mp3"",""ogg"",""mpeg"",""wav"",""m4a"",""mp4"",""aiff"",""wma"",""mid""],i.EXTENSION_MAP={m4a:""mp4""},i.FILE_PATTERN=/^(?:(\w+:)\/{2}(\w+(?:\.\w+)*\/?))?([\/.]*?(?:[^?]+)?\/)?((?:[^\/?]+)\.(\w+))(?:\?(\S+)?)?$/,i.defaultInterruptBehavior=i.INTERRUPT_NONE,i.alternateExtensions=[],i.activePlugin=null,i._pluginsRegistered=!1,i._lastID=0,i._masterVolume=1,i._masterMute=!1,i._instances=[],i._idHash={},i._preloadHash={},i.addEventListener=null,i.removeEventListener=null,i.removeAllEventListeners=null,i.dispatchEvent=null,i.hasEventListener=null,i._listeners=null,createjs.EventDispatcher.initialize(i),i.getPreloadHandlers=function(){return{callback:createjs.proxy(i.initLoad,i),types:[""sound""],extensions:i.SUPPORTED_EXTENSIONS}},i._handleLoadComplete=function(t){var e=t.target.getItem().src;if(i._preloadHash[e])for(var n=0,s=i._preloadHash[e].length;s>n;n++){var r=i._preloadHash[e][n];if(i._preloadHash[e][n]=!0,i.hasEventListener(""fileload"")){var t=new createjs.Event(""fileload"");t.src=r.src,t.id=r.id,t.data=r.data,t.sprite=r.sprite,i.dispatchEvent(t)}}},i._handleLoadError=function(t){var e=t.target.getItem().src;if(i._preloadHash[e])for(var n=0,s=i._preloadHash[e].length;s>n;n++){var r=i._preloadHash[e][n];if(i._preloadHash[e][n]=!1,i.hasEventListener(""fileerror"")){var t=new createjs.Event(""fileerror"");t.src=r.src,t.id=r.id,t.data=r.data,t.sprite=r.sprite,i.dispatchEvent(t)}}},i._registerPlugin=function(t){return!!t.isSupported()&&(i.activePlugin=new t,!0)},i.registerPlugins=function(t){i._pluginsRegistered=!0;for(var e=0,n=t.length;n>e;e++)if(i._registerPlugin(t[e]))return!0;return!1},i.initializeDefaultPlugins=function(){return null!=i.activePlugin||!i._pluginsRegistered&&!!i.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin])},i.isReady=function(){return null!=i.activePlugin},i.getCapabilities=function(){return null==i.activePlugin?null:i.activePlugin._capabilities},i.getCapability=function(t){return null==i.activePlugin?null:i.activePlugin._capabilities[t]},i.initLoad=function(t){return i._registerSound(t)},i._registerSound=function(t){if(!i.initializeDefaultPlugins())return!1;var n=i._parsePath(t.src);if(null==n)return!1;t.src=n.src,t.type=""sound"";var s=t.data,r=i.activePlugin.defaultNumChannels||null;if(null!=s&&(isNaN(s.channels)?isNaN(s)||(r=parseInt(s)):r=parseInt(s.channels),s.audioSprite))for(var o,a=s.audioSprite.length;a--;)o=s.audioSprite[a],i._idHash[o.id]={src:t.src,startTime:parseInt(o.startTime),duration:parseInt(o.duration)};null!=t.id&&(i._idHash[t.id]={src:t.src});var l=i.activePlugin.register(t,r);return e.create(t.src,r),null!=s&&isNaN(s)?t.data.channels=r||e.maxPerChannel():t.data=r||e.maxPerChannel(),l.type&&(t.type=l.type),l},i.registerSound=function(t,e,n,s){var r={src:t,id:e,data:n};t instanceof Object&&(s=e,r=t),r=createjs.LoadItem.create(r),null!=s&&(r.src=s+t);var o=i._registerSound(r);if(!o)return!1;if(i._preloadHash[r.src]||(i._preloadHash[r.src]=[]),i._preloadHash[r.src].push(r),1==i._preloadHash[r.src].length)o.on(""complete"",createjs.proxy(this._handleLoadComplete,this)),o.on(""error"",createjs.proxy(this._handleLoadError,this)),i.activePlugin.preload(o);else if(1==i._preloadHash[r.src][0])return!0;return r},i.registerSounds=function(t,e){var i=[];t.path&&(e?e+=t.path:e=t.path);for(var n=0,s=t.length;s>n;n++)i[n]=createjs.Sound.registerSound(t[n].src,t[n].id,t[n].data,e);return i},i.registerManifest=function(t,e){try{console.log(""createjs.Sound.registerManifest is deprecated, please use createjs.Sound.registerSounds."")}catch(t){}return this.registerSounds(t,e)},i.removeSound=function(t,n){if(null==i.activePlugin)return!1;t instanceof Object&&(t=t.src),t=i._getSrcById(t).src,null!=n&&(t=n+t);var s=i._parsePath(t);if(null==s)return!1;t=s.src;for(var r in i._idHash)i._idHash[r].src==t&&delete i._idHash[r];return e.removeSrc(t),delete i._preloadHash[t],i.activePlugin.removeSound(t),!0},i.removeSounds=function(t,e){var i=[];t.path&&(e?e+=t.path:e=t.path);for(var n=0,s=t.length;s>n;n++)i[n]=createjs.Sound.removeSound(t[n].src,e);return i},i.removeManifest=function(t,e){try{console.log(""createjs.Sound.removeManifest is deprecated, please use createjs.Sound.removeSounds."")}catch(t){}return i.removeSounds(t,e)},i.removeAllSounds=function(){i._idHash={},i._preloadHash={},e.removeAll(),i.activePlugin&&i.activePlugin.removeAllSounds()},i.loadComplete=function(t){if(!i.isReady())return!1;var e=i._parsePath(t);return t=e?i._getSrcById(e.src).src:i._getSrcById(t).src,1==i._preloadHash[t][0]},i._parsePath=function(t){""string""!=typeof t&&(t=t.toString());var e=t.match(i.FILE_PATTERN);if(null==e)return!1;for(var n=e[4],s=e[5],r=i.getCapabilities(),o=0;!r[s];)if(s=i.alternateExtensions[o++],o>i.alternateExtensions.length)return null;return t=t.replace("".""+e[5],"".""+s),{name:n,src:t,extension:s}},i.play=function(t,e,n,s,r,o,a,l,c){e instanceof Object&&(n=e.delay,s=e.offset,r=e.loop,o=e.volume,a=e.pan,l=e.startTime,c=e.duration,e=e.interrupt);var h=i.createInstance(t,l,c);return i._playInstance(h,e,n,s,r,o,a)||h._playFailed(),h},i.createInstance=function(t,n,s){if(!i.initializeDefaultPlugins())return new createjs.DefaultSoundInstance(t,n,s);t=i._getSrcById(t);var r=i._parsePath(t.src),o=null;return null!=r&&null!=r.src?(e.create(r.src),null==n&&(n=t.startTime),o=i.activePlugin.create(r.src,n,s||t.duration)):o=new createjs.DefaultSoundInstance(t,n,s),o.uniqueId=i._lastID++,o},i.setVolume=function(t){if(null==Number(t))return!1;if(t=Math.max(0,Math.min(1,t)),i._masterVolume=t,!this.activePlugin||!this.activePlugin.setVolume||!this.activePlugin.setVolume(t))for(var e=this._instances,n=0,s=e.length;s>n;n++)e[n].setMasterVolume(t)},i.getVolume=function(){return i._masterVolume},i.setMute=function(t){if(null==t)return!1;if(this._masterMute=t,!this.activePlugin||!this.activePlugin.setMute||!this.activePlugin.setMute(t))for(var e=this._instances,i=0,n=e.length;n>i;i++)e[i].setMasterMute(t);return!0},i.getMute=function(){return this._masterMute},i.stop=function(){for(var t=this._instances,e=t.length;e--;)t[e].stop()},i._playInstance=function(t,e,n,s,r,o,a){if(e instanceof Object&&(n=e.delay,s=e.offset,r=e.loop,o=e.volume,a=e.pan,e=e.interrupt),e=e||i.defaultInterruptBehavior,null==n&&(n=0),null==s&&(s=t.getPosition()),null==r&&(r=t.loop),null==o&&(o=t.volume),null==a&&(a=t.pan),0==n){if(!i._beginPlaying(t,e,s,r,o,a))return!1}else{var l=setTimeout(function(){i._beginPlaying(t,e,s,r,o,a)},n);t.delayTimeoutId=l}return this._instances.push(t),!0},i._beginPlaying=function(t,i,n,s,r,o){if(!e.add(t,i))return!1;if(!t._beginPlaying(n,s,r,o)){var a=createjs.indexOf(this._instances,t);return a>-1&&this._instances.splice(a,1),!1}return!0},i._getSrcById=function(t){return i._idHash[t]||{src:t}},i._playFinished=function(t){e.remove(t);var i=createjs.indexOf(this._instances,t);i>-1&&this._instances.splice(i,1)},createjs.Sound=t,e.channels={},e.create=function(t,i){return null==e.get(t)&&(e.channels[t]=new e(t,i),!0)},e.removeSrc=function(t){var i=e.get(t);return null!=i&&(i._removeAll(),delete e.channels[t],!0)},e.removeAll=function(){for(var t in e.channels)e.channels[t]._removeAll();e.channels={}},e.add=function(t,i){var n=e.get(t.src);return null!=n&&n._add(t,i)},e.remove=function(t){var i=e.get(t.src);return null!=i&&(i._remove(t),!0)},e.maxPerChannel=function(){return n.maxDefault},e.get=function(t){return e.channels[t]};var n=e.prototype;n.constructor=e,n.src=null,n.max=null,n.maxDefault=100,n.length=0,n.init=function(t,e){this.src=t,this.max=e||this.maxDefault,-1==this.max&&(this.max=this.maxDefault),this._instances=[]},n._get=function(t){return this._instances[t]},n._add=function(t,e){return!!this._getSlot(e,t)&&(this._instances.push(t),this.length++,!0)},n._remove=function(t){var e=createjs.indexOf(this._instances,t);return-1!=e&&(this._instances.splice(e,1),this.length--,!0)},n._removeAll=function(){for(var t=this.length-1;t>=0;t--)this._instances[t].stop()},n._getSlot=function(e){var i,n;if(e!=t.INTERRUPT_NONE&&null==(n=this._get(0)))return!0;for(var s=0,r=this.max;r>s;s++){if(null==(i=this._get(s)))return!0;if(i.playState==t.PLAY_FINISHED||i.playState==t.PLAY_INTERRUPTED||i.playState==t.PLAY_FAILED){n=i;break}e!=t.INTERRUPT_NONE&&(e==t.INTERRUPT_EARLY&&i.getPosition()<n.getPosition()||e==t.INTERRUPT_LATE&&i.getPosition()>n.getPosition())&&(n=i)}return null!=n&&(n._interrupt(),this._remove(n),!0)},n.toString=function(){return""[Sound SoundChannel]""}}(),this.createjs=this.createjs||{},function(){""use strict"";var t=function(t,e,i,n){this.EventDispatcher_constructor(),this.src=t,this.uniqueId=-1,this.playState=null,this.delayTimeoutId=null,this._startTime=Math.max(0,e||0),this._volume=1,createjs.definePropertySupported&&Object.defineProperty(this,""volume"",{get:this.getVolume,set:this.setVolume}),this._pan=0,createjs.definePropertySupported&&Object.defineProperty(this,""pan"",{get:this.getPan,set:this.setPan}),this._duration=Math.max(0,i||0),createjs.definePropertySupported&&Object.defineProperty(this,""duration"",{get:this.getDuration,set:this.setDuration}),this._playbackResource=null,createjs.definePropertySupported&&Object.defineProperty(this,""playbackResource"",{get:this.getPlaybackResource,set:this.setPlaybackResource}),!1!==n&&!0!==n&&this.setPlaybackResource(n),this._position=0,createjs.definePropertySupported&&Object.defineProperty(this,""position"",{get:this.getPosition,set:this.setPosition}),this._loop=0,createjs.definePropertySupported&&Object.defineProperty(this,""loop"",{get:this.getLoop,set:this.setLoop}),this._muted=!1,createjs.definePropertySupported&&Object.defineProperty(this,""muted"",{get:this.getMuted,set:this.setMuted}),this._paused=!1,createjs.definePropertySupported&&Object.defineProperty(this,""paused"",{get:this.getPaused,set:this.setPaused})},e=createjs.extend(t,createjs.EventDispatcher);e.play=function(t,e,i,n,s,r){return this.playState==createjs.Sound.PLAY_SUCCEEDED?(t instanceof Object&&(i=t.offset,n=t.loop,s=t.volume,r=t.pan),null!=i&&this.setPosition(i),null!=n&&this.setLoop(n),null!=s&&this.setVolume(s),null!=r&&this.setPan(r),void(this._paused&&this.setPaused(!1))):(this._cleanUp(),createjs.Sound._playInstance(this,t,e,i,n,s,r),this)},e.pause=function(){return!this._paused&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.setPaused(!0),!0)},e.resume=function(){return!!this._paused&&(this.setPaused(!1),!0)},e.stop=function(){return this._position=0,this._paused=!1,this._handleStop(),this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,this},e.destroy=function(){this._cleanUp(),this.src=null,this.playbackResource=null,this.removeAllEventListeners()},e.toString=function(){return""[AbstractSoundInstance]""},e.getPaused=function(){return this._paused},e.setPaused=function(t){return!0!==t&&!1!==t||this._paused==t||1==t&&this.playState!=createjs.Sound.PLAY_SUCCEEDED?void 0:(this._paused=t,t?this._pause():this._resume(),clearTimeout(this.delayTimeoutId),this)},e.setVolume=function(t){return t==this._volume?this:(this._volume=Math.max(0,Math.min(1,t)),this._muted||this._updateVolume(),this)},e.getVolume=function(){return this._volume},e.setMute=function(t){this.setMuted(t)},e.getMute=function(){return this._muted},e.setMuted=function(t){return!0===t||!1===t?(this._muted=t,this._updateVolume(),this):void 0},e.getMuted=function(){return this._muted},e.setPan=function(t){return t==this._pan?this:(this._pan=Math.max(-1,Math.min(1,t)),this._updatePan(),this)},e.getPan=function(){return this._pan},e.getPosition=function(){return this._paused||this.playState!=createjs.Sound.PLAY_SUCCEEDED?this._position:this._calculateCurrentPosition()},e.setPosition=function(t){return this._position=Math.max(0,t),this.playState==createjs.Sound.PLAY_SUCCEEDED&&this._updatePosition(),this},e.getDuration=function(){return this._duration},e.setDuration=function(t){return t==this._duration?this:(this._duration=Math.max(0,t||0),this._updateDuration(),this)},e.setPlaybackResource=function(t){return this._playbackResource=t,0==this._duration&&this._setDurationFromSource(),this},e.getPlaybackResource=function(){return this._playbackResource},e.getLoop=function(){return this._loop},e.setLoop=function(t){null!=this._playbackResource&&(0!=this._loop&&0==t&&this._removeLooping(t),0==this._loop&&0!=t&&this._addLooping(t)),this._loop=t},e._sendEvent=function(t){var e=new createjs.Event(t);this.dispatchEvent(e)},e._cleanUp=function(){clearTimeout(this.delayTimeoutId),this._handleCleanUp(),this._paused=!1,createjs.Sound._playFinished(this)},e._interrupt=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_INTERRUPTED,this._sendEvent(""interrupted"")},e._beginPlaying=function(t,e,i,n){return this.setPosition(t),this.setLoop(e),this.setVolume(i),this.setPan(n),null!=this._playbackResource&&this._position<this._duration?(this._paused=!1,this._handleSoundReady(),this.playState=createjs.Sound.PLAY_SUCCEEDED,this._sendEvent(""succeeded""),!0):(this._playFailed(),!1)},e._playFailed=function(){this._cleanUp(),this.playState=createjs.Sound.PLAY_FAILED,this._sendEvent(""failed"")},e._handleSoundComplete=function(){return this._position=0,0!=this._loop?(this._loop--,this._handleLoop(),void this._sendEvent(""loop"")):(this._cleanUp(),this.playState=createjs.Sound.PLAY_FINISHED,void this._sendEvent(""complete""))},e._handleSoundReady=function(){},e._updateVolume=function(){},e._updatePan=function(){},e._updateDuration=function(){},e._setDurationFromSource=function(){},e._calculateCurrentPosition=function(){},e._updatePosition=function(){},e._removeLooping=function(){},e._addLooping=function(){},e._pause=function(){},e._resume=function(){},e._handleStop=function(){},e._handleCleanUp=function(){},e._handleLoop=function(){},createjs.AbstractSoundInstance=createjs.promote(t,""EventDispatcher""),createjs.DefaultSoundInstance=createjs.AbstractSoundInstance}(),this.createjs=this.createjs||{},function(){""use strict"";var t=function(){this._capabilities=null,this._loaders={},this._audioSources={},this._soundInstances={},this._loaderClass,this._soundInstanceClass},e=t.prototype;t._capabilities=null,t.isSupported=function(){return!0},e.register=function(t){if(this._audioSources[t.src]=!0,this._soundInstances[t.src]=[],this._loaders[t.src])return this._loaders[t.src];var e=new this._loaderClass(t);return e.on(""complete"",createjs.proxy(this._handlePreloadComplete,this)),this._loaders[t.src]=e,e},e.preload=function(t){t.on(""error"",createjs.proxy(this._handlePreloadError,this)),t.load()},e.isPreloadStarted=function(t){return null!=this._audioSources[t]},e.isPreloadComplete=function(t){return!(null==this._audioSources[t]||1==this._audioSources[t])},e.removeSound=function(t){if(this._soundInstances[t]){for(var e=this._soundInstances[t].length;e--;){this._soundInstances[t][e].destroy()}delete this._soundInstances[t],delete this._audioSources[t],this._loaders[t]&&this._loaders[t].destroy(),delete this._loaders[t]}},e.removeAllSounds=function(){for(var t in this._audioSources)this.removeSound(t)},e.create=function(t,e,i){this.isPreloadStarted(t)||this.preload(this.register(t));var n=new this._soundInstanceClass(t,e,i,this._audioSources[t]);return this._soundInstances[t].push(n),n},e.setVolume=function(t){return this._volume=t,this._updateVolume(),!0},e.getVolume=function(){return this._volume},e.setMute=function(){return this._updateVolume(),!0},e.toString=function(){return""[AbstractPlugin]""},e._handlePreloadComplete=function(t){var e=t.target.getItem().src;this._audioSources[e]=t.result;for(var i=0,n=this._soundInstances[e].length;n>i;i++){this._soundInstances[e][i].setPlaybackResource(this._audioSources[e])}},e._handlePreloadError=function(){},e._updateVolume=function(){},createjs.AbstractPlugin=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.AbstractLoader_constructor(t,!0,createjs.AbstractLoader.SOUND)}var e=createjs.extend(t,createjs.AbstractLoader);t.context=null,e.toString=function(){return""[WebAudioLoader]""},e._createRequest=function(){this._request=new createjs.XHRRequest(this._item,!1),this._request.setResponseType(""arraybuffer"")},e._sendComplete=function(){t.context.decodeAudioData(this._rawResult,createjs.proxy(this._handleAudioDecoded,this),createjs.proxy(this._handleError,this))},e._handleAudioDecoded=function(t){this._result=t,this.AbstractLoader__sendComplete()},createjs.WebAudioLoader=createjs.promote(t,""AbstractLoader"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,n,s){this.AbstractSoundInstance_constructor(t,e,n,s),this.gainNode=i.context.createGain(),this.panNode=i.context.createPanner(),this.panNode.panningModel=i._panningModel,this.panNode.connect(this.gainNode),this.sourceNode=null,this._soundCompleteTimeout=null,this._sourceNodeNext=null,this._playbackStartTime=0,this._endedHandler=createjs.proxy(this._handleSoundComplete,this)}var e=createjs.extend(t,createjs.AbstractSoundInstance),i=t;i.context=null,i.destinationNode=null,i._panningModel=""equalpower"",e.destroy=function(){this.AbstractSoundInstance_destroy(),this.panNode.disconnect(0),this.panNode=null,this.gainNode.disconnect(0),this.gainNode=null},e.toString=function(){return""[WebAudioSoundInstance]""},e._updatePan=function(){this.panNode.setPosition(this._pan,0,-.5)},e._removeLooping=function(){this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)},e._addLooping=function(){this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._setDurationFromSource=function(){this._duration=1e3*this.playbackResource.duration},e._handleCleanUp=function(){this.sourceNode&&this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext)),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout),this._playbackStartTime=0},e._cleanUpAudioNode=function(t){return t&&(t.stop(0),t.disconnect(0),t=null),t},e._handleSoundReady=function(){this.gainNode.connect(i.destinationNode);var t=.001*this._duration,e=.001*this._position;this.sourceNode=this._createAndPlayAudioNode(i.context.currentTime-t,e),this._playbackStartTime=this.sourceNode.startTime-e,this._soundCompleteTimeout=setTimeout(this._endedHandler,1e3*(t-e)),0!=this._loop&&(this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0))},e._createAndPlayAudioNode=function(t,e){var n=i.context.createBufferSource();n.buffer=this.playbackResource,n.connect(this.panNode);var s=.001*this._duration;return n.startTime=t+s,n.start(n.startTime,e+.001*this._startTime,s-e),n},e._pause=function(){this._position=1e3*(i.context.currentTime-this._playbackStartTime),this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),0!=this.gainNode.numberOfOutputs&&this.gainNode.disconnect(0),clearTimeout(this._soundCompleteTimeout)},e._resume=function(){this._handleSoundReady()},e._updateVolume=function(){var t=this._muted?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},e._calculateCurrentPosition=function(){return 1e3*(i.context.currentTime-this._playbackStartTime)},e._updatePosition=function(){this.sourceNode=this._cleanUpAudioNode(this.sourceNode),this._sourceNodeNext=this._cleanUpAudioNode(this._sourceNodeNext),clearTimeout(this._soundCompleteTimeout),this._paused||this._handleSoundReady()},e._handleLoop=function(){this._cleanUpAudioNode(this.sourceNode),this.sourceNode=this._sourceNodeNext,this._playbackStartTime=this.sourceNode.startTime,this._sourceNodeNext=this._createAndPlayAudioNode(this._playbackStartTime,0),this._soundCompleteTimeout=setTimeout(this._endedHandler,this._duration)},e._updateDuration=function(){this._pause(),this._resume()},createjs.WebAudioSoundInstance=createjs.promote(t,""AbstractSoundInstance"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){this.AbstractPlugin_constructor(),this._panningModel=i._panningModel,this._volume=1,this.context=i.context,this.dynamicsCompressorNode=this.context.createDynamicsCompressor(),this.dynamicsCompressorNode.connect(this.context.destination),this.gainNode=this.context.createGain(),this.gainNode.connect(this.dynamicsCompressorNode),createjs.WebAudioSoundInstance.destinationNode=this.gainNode,this._capabilities=i._capabilities,this._loaderClass=createjs.WebAudioLoader,this._soundInstanceClass=createjs.WebAudioSoundInstance,this._addPropsToClasses()}var e=createjs.extend(t,createjs.AbstractPlugin),i=t;i._capabilities=null,i._panningModel=""equalpower"",i.context=null,i.isSupported=function(){var t=createjs.BrowserDetect.isIOS||createjs.BrowserDetect.isAndroid||createjs.BrowserDetect.isBlackberry;return!(""file:""==location.protocol&&!t&&!this._isFileXHRSupported())&&(i._generateCapabilities(),null!=i.context)},i.playEmptySound=function(){var t=i.context.createBufferSource();t.buffer=i.context.createBuffer(1,1,22050),t.connect(i.context.destination),t.start(0,0,0)},i._isFileXHRSupported=function(){var t=!0,e=new XMLHttpRequest;try{e.open(""GET"",""WebAudioPluginTest.fail"",!1)}catch(e){return t=!1}e.onerror=function(){t=!1},e.onload=function(){t=404==this.status||200==this.status||0==this.status&&""""!=this.response};try{e.send()}catch(e){t=!1}return t},i._generateCapabilities=function(){if(null==i._capabilities){var t=document.createElement(""audio"");if(null==t.canPlayType)return null;if(null==i.context)if(window.AudioContext)i.context=new AudioContext;else{if(!window.webkitAudioContext)return null;i.context=new webkitAudioContext}i._compatibilitySetUp(),i.playEmptySound(),i._capabilities={panning:!0,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,n=createjs.Sound.EXTENSION_MAP,s=0,r=e.length;r>s;s++){var o=e[s],a=n[o]||o;i._capabilities[o]=""no""!=t.canPlayType(""audio/""+o)&&""""!=t.canPlayType(""audio/""+o)||""no""!=t.canPlayType(""audio/""+a)&&""""!=t.canPlayType(""audio/""+a)}i.context.destination.numberOfChannels<2&&(i._capabilities.panning=!1)}},i._compatibilitySetUp=function(){if(i._panningModel=""equalpower"",!i.context.createGain){i.context.createGain=i.context.createGainNode;var t=i.context.createBufferSource();t.__proto__.start=t.__proto__.noteGrainOn,t.__proto__.stop=t.__proto__.noteOff,i._panningModel=0}},e.toString=function(){return""[WebAudioPlugin]""},e._addPropsToClasses=function(){var t=this._soundInstanceClass;t.context=this.context,t.destinationNode=this.gainNode,t._panningModel=this._panningModel,this._loaderClass.context=this.context},e._updateVolume=function(){var t=createjs.Sound._masterMute?0:this._volume;t!=this.gainNode.gain.value&&(this.gainNode.gain.value=t)},createjs.WebAudioPlugin=createjs.promote(t,""AbstractPlugin"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t){this.src=t,this.length=0,this.available=0,this.tags=[],this.duration=0}var e=t.prototype;e.constructor=t;var i=t;i.tags={},i.get=function(e){var n=i.tags[e];return null==n&&(n=i.tags[e]=new t(e)),n},i.remove=function(t){var e=i.tags[t];return null!=e&&(e.removeAll(),delete i.tags[t],!0)},i.getInstance=function(t){var e=i.tags[t];return null==e?null:e.get()},i.setInstance=function(t,e){var n=i.tags[t];return null==n?null:n.set(e)},i.getDuration=function(t){var e=i.tags[t];return null==e?0:e.getDuration()},e.add=function(t){this.tags.push(t),this.length++,this.available++},e.removeAll=function(){for(var t;this.length--;)t=this.tags[this.length],t.parentNode&&t.parentNode.removeChild(t),delete this.tags[this.length];this.src=null,this.tags.length=0},e.get=function(){if(0==this.tags.length)return null;this.available=this.tags.length;var t=this.tags.pop();return null==t.parentNode&&document.body.appendChild(t),t},e.set=function(t){-1==createjs.indexOf(this.tags,t)&&this.tags.push(t),this.available=this.tags.length},e.getDuration=function(){return this.duration||(this.duration=1e3*this.tags[this.tags.length-1].duration),this.duration},e.toString=function(){return""[HTMLAudioTagPool]""},createjs.HTMLAudioTagPool=t}(),this.createjs=this.createjs||{},function(){""use strict"";function t(t,e,i,n){this.AbstractSoundInstance_constructor(t,e,i,n),this._audioSpriteStopTime=null,this._delayTimeoutId=null,this._endedHandler=createjs.proxy(this._handleSoundComplete,this),this._readyHandler=createjs.proxy(this._handleTagReady,this),this._stalledHandler=createjs.proxy(this.playFailed,this),this._audioSpriteEndHandler=createjs.proxy(this._handleAudioSpriteLoop,this),this._loopHandler=createjs.proxy(this._handleSoundComplete,this),i?this._audioSpriteStopTime=.001*(e+i):this._duration=createjs.HTMLAudioTagPool.getDuration(this.src)}var e=createjs.extend(t,createjs.AbstractSoundInstance);e.setMasterVolume=function(){this._updateVolume()},e.setMasterMute=function(){this._updateVolume()},e.toString=function(){return""[HTMLAudioSoundInstance]""},e._removeLooping=function(){null!=this._playbackResource&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._addLooping=function(){null==this._playbackResource||this._audioSpriteStopTime||(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)},e._handleCleanUp=function(){var t=this._playbackResource;if(null!=t){t.pause(),t.loop=!1,t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),t.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1), | |
t.removeEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1);try{t.currentTime=this._startTime}catch(t){}createjs.HTMLAudioTagPool.setInstance(this.src,t),this._playbackResource=null}},e._beginPlaying=function(t,e,i,n){return this._playbackResource=createjs.HTMLAudioTagPool.getInstance(this.src),this.AbstractSoundInstance__beginPlaying(t,e,i,n)},e._handleSoundReady=function(){if(4!==this._playbackResource.readyState){var t=this._playbackResource;return t.addEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),t.addEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),t.preload=""auto"",void t.load()}this._updateVolume(),this._playbackResource.currentTime=.001*(this._startTime+this._position),this._audioSpriteStopTime?this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1):(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),0!=this._loop&&(this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.loop=!0)),this._playbackResource.play()},e._handleTagReady=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_READY,this._readyHandler,!1),this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_STALLED,this._stalledHandler,!1),this._handleSoundReady()},e._pause=function(){this._playbackResource.pause()},e._resume=function(){this._playbackResource.play()},e._updateVolume=function(){if(null!=this._playbackResource){var t=this._muted||createjs.Sound._masterMute?0:this._volume*createjs.Sound._masterVolume;t!=this._playbackResource.volume&&(this._playbackResource.volume=t)}},e._calculateCurrentPosition=function(){return 1e3*this._playbackResource.currentTime-this._startTime},e._updatePosition=function(){this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1);try{this._playbackResource.currentTime=.001*(this._position+this._startTime)}catch(t){this._handleSetPositionSeek(null)}},e._handleSetPositionSeek=function(){null!=this._playbackResource&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._handleSetPositionSeek,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._handleAudioSpriteLoop=function(){this._playbackResource.currentTime<=this._audioSpriteStopTime||(this._playbackResource.pause(),0==this._loop?this._handleSoundComplete(null):(this._position=0,this._loop--,this._playbackResource.currentTime=.001*this._startTime,this._paused||this._playbackResource.play(),this._sendEvent(""loop"")))},e._handleLoop=function(){0==this._loop&&(this._playbackResource.loop=!1,this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_SEEKED,this._loopHandler,!1))},e._updateDuration=function(){this._audioSpriteStopTime=.001*(startTime+duration),this.playState==createjs.Sound.PLAY_SUCCEEDED&&(this._playbackResource.removeEventListener(createjs.HTMLAudioPlugin._AUDIO_ENDED,this._endedHandler,!1),this._playbackResource.addEventListener(createjs.HTMLAudioPlugin._TIME_UPDATE,this._audioSpriteEndHandler,!1))},createjs.HTMLAudioSoundInstance=createjs.promote(t,""AbstractSoundInstance"")}(),this.createjs=this.createjs||{},function(){""use strict"";function t(){this.AbstractPlugin_constructor(),this.defaultNumChannels=2,this._capabilities=i._capabilities,this._loaderClass=createjs.SoundLoader,this._soundInstanceClass=createjs.HTMLAudioSoundInstance}var e=createjs.extend(t,createjs.AbstractPlugin),i=t;i.MAX_INSTANCES=30,i._AUDIO_READY=""canplaythrough"",i._AUDIO_ENDED=""ended"",i._AUDIO_SEEKED=""seeked"",i._AUDIO_STALLED=""stalled"",i._TIME_UPDATE=""timeupdate"",i._capabilities=null,i.enableIOS=!1,i.isSupported=function(){return i._generateCapabilities(),null!=i._capabilities},i._generateCapabilities=function(){if(null==i._capabilities){var t=document.createElement(""audio"");if(null==t.canPlayType)return null;i._capabilities={panning:!0,volume:!0,tracks:-1};for(var e=createjs.Sound.SUPPORTED_EXTENSIONS,n=createjs.Sound.EXTENSION_MAP,s=0,r=e.length;r>s;s++){var o=e[s],a=n[o]||o;i._capabilities[o]=""no""!=t.canPlayType(""audio/""+o)&&""""!=t.canPlayType(""audio/""+o)||""no""!=t.canPlayType(""audio/""+a)&&""""!=t.canPlayType(""audio/""+a)}}},e.register=function(t,e){for(var i=createjs.HTMLAudioTagPool.get(t.src),n=null,s=0;e>s;s++)n=this._createTag(t.src),i.add(n);var r=this.AbstractPlugin_register(t,e);return r.setTag(n),r},e.removeSound=function(t){this.AbstractPlugin_removeSound(t),createjs.HTMLAudioTagPool.remove(t)},e.create=function(t,e,i){var n=this.AbstractPlugin_create(t,e,i);return n.setPlaybackResource(null),n},e.toString=function(){return""[HTMLAudioPlugin]""},e.setVolume=e.getVolume=e.setMute=null,e._createTag=function(t){var e=document.createElement(""audio"");return e.autoplay=!1,e.preload=""none"",e.src=t,e},createjs.HTMLAudioPlugin=createjs.promote(t,""AbstractPlugin"")}(),define(""libs/createjs/soundjs"",function(){}),define(""createjs"",[""libs/createjs/preloadjs"",""libs/createjs/soundjs""],function(t,e){""use strict"";return window.createjs}),define(""model/loader_collection"",[""console"",""underscore"",""jquery"",""backbone"",""config"",""createjs""],function(t,e,i,n,s,r){""use strict"";return new(n.Collection.extend({loadDone:!1,loaders:{},initialize:function(){this.list=[],this.on(""add"",this.onAdded,this),this.on(""change:loaded"",this.onLoaded,this)},createLoader:function(t){if(!this.loaders[t]){var i=new r.LoadQueue(!1);i.installPlugin(r.Sound),i.setMaxConnections(4),i.maintainScriptOrder=!1,i.addEventListener(""fileload"",e.bind(this.onFileLoaded,this)),i.addEventListener(""complete"",e.bind(this.onComplete,this)),i.addEventListener(""progress"",e.bind(this.onProgress,this)),i.addEventListener(""error"",e.bind(this.onError,this)),this.loaders[t]=i}return this.loaders[t]},onLoaded:function(t,e){if(!e)throw new Error(""Load set to false"")},onProgress:function(t){this.trigger(""progress"",t)},onAdded:function(t,i,n){t.has(""id"")||t.set({id:t.get(""src"")}),t.has(""loadTimeout "")||t.set({loadTimeout:6e5}),e.isUndefined(n.group)||t.set({group:n.group}),t.has(""group"")||t.set({group:""main""}),t.set({loaded:!1},{silent:!0});var s=this.getLoader(t.get(""group""));s||(s=this.createLoader(t.get(""group"")));var o=t.toJSON(),a=(new r.LoadItem).set(o);s.loadFile(a,!1)},getLoader:function(t){return this.loaders[t]},onFileLoaded:function(t){this.get(t.item.id).set(e.extend(t.item,{loaded:!0})),this.trigger(""loaded"",t)},onComplete:function(t){this.loadDone=!0;var i;e.each(this.loaders,function(e,n){e===t.target&&(i=n)},this),i&&e.extend(t,{group:i}),this.trigger(""complete"",t)},setPaused:function(t,i){e.isUndefined(i)&&(i=""main"");var n=this.getLoader(i);n&&n.setPaused(t)},stop:function(t){e.isUndefined(t)&&(t=""main"");var i=this.getLoader(t);i&&(i.close(),i.reset())},start:function(t){e.isUndefined(t)&&(t=""main"");var i=this.getLoader(t);i?(i.load(),this.processList()):this.onComplete({})},hasLoaded:function(t){var e=!0;return t&&this.loaders[t]?e=this.loaders[t].loaded:i.each(this.loaders,function(t,i){i.loaded||(e=!1)}),e},getResult:function(t){var e;return i.each(this.loaders,function(i,n){var s=n.getResult(t);s&&(e=s)}),e},removeGroup:function(t){if(e.isUndefined(t))throw new Error("" No group defined"");var i=this.getLoader(t);if(i){var n=e.indexOf(this.list,i),s=this.where({group:t});i.close(),i.removeAll(),i.removeAllEventListeners(),i.destroy(),this.list.splice(n,1),delete this.loaders[t],i=null,this.remove(s),this.processList()}},processList:function(){if(this.list=e.uniq(this.list,!0),this.list.length>0){var t=this,i=this.list.shift(),n=i.on(""complete"",function(){i.off(""complete"",n),i=null,t.processList()});i.load()}},onError:function(e){t.error(e),this.get(e.item.id).set({loaded:!0,error:!0}),this.trigger(""load_error"",e)}}))}),define(""model/resize_model"",[""backbone""],function(t){return new(t.Model.extend({BASE_SIZE:{DESKTOP:{WIDTH:1920,HEIGHT:1080},MOBILE:{WIDTH:320,HEIGHT:568},FONT:10},defaults:{orientation:null,resize:null,scale:null,height:0,width:0},initialize:function(){}}))}),define(""events/view_events"",[],function(){return{PAGE_CONSTRUCTED:""PAGE_CONSTRUCTED"",PAGE_OUT_COMPLETE:""PAGE_OUT_COMPLETE"",TRACKING:""TRACKING"",RESIZE:""RESIZE"",SCROLL:{SET:""SCROLL:SET"",TO:""SCROLL:TO"",LOCK:""SCROLL:LOCK"",UNLOCK:""SCROLL:UNLOCK"",SCROLL_DONE:""SCROLL:SCROLL_DONE""},KEYBOARD:{LEFT:""KEYBOARD:LEFT"",RIGHT:""KEYBOARD:RIGHT"",UP:""KEYBOARD:UP"",DOWN:""KEYBOARD:DOWN"",SPACEBAR:""KEYBOARD:SPACEBAR"",EXIT:""KEYBOARD:EXIT""},NAV:{BACK:""NAV:BACK"",URL:""NAV:URL""},MOBILE:{MENU:{CLICK:""MOBILE:MENU:CLICK"",NAV_ITEM_CLICK:""MOBILE:MENU:NAV_ITEM_CLICK"",SEARCH_FOCUS:""MOBILE:MENU:SEARCH_FOCUS"",CONTACT:""MOBILE:MENU:CONTACT""}},PAGES:{WORK:{ADD_PROJECTS:""PAGES:WORK:ADD_PROJECTS"",SET_FILTER:""PAGES:WORK:SET_FILTER"",LOAD_MORE:""PAGES:WORK:LOAD_MORE""},HOME:{DOM_PARSED:""PAGES:HOME:DOM_PARSED"",ARCHIVE_NAV:{DOM_PARSED:""PAGES:HOME:ARCHIVE_NAV:DOM_PARSED"",CHANGE:""PAGES:HOME:ARCHIVE_NAV:CHANGE"",NEXT:""PAGES:HOME:ARCHIVE_NAV:NEXT"",PREV:""PAGES:HOME:ARCHIVE_NAV:PREV""}}},PRELOADER:{COMPLETE:""PRELOADER:COMPLETE""},SECTION:{ANCHOR:""SECTION:ANCHOR"",CLICK:""SECTION:CLICK""},HEADER:{SHOW:""HEADER:SHOW"",HIDE:""HEADER:HIDE"",MOUSE_ENTER:""HEADER:MOUSE_ENTER""},SEARCH_OVERLAY:{SHOW:""SEARCH_OVERLAY:SHOW"",HIDE:""SEARCH_OVERLAY:HIDE""},VIDEO_OVERLAY:{ADD_VIDEO:""VIDEO_OVERLAY:ADD_VIDEO"",SHOW:""VIDEO_OVERLAY:SHOW"",HIDE:""VIDEO_OVERLAY:HIDE""},IMAGE_GALLERY:{PREV:""IMAGE_GALLERY:PREV"",NEXT:""IMAGE_GALLERY:NEXT"",CHANGE:""IMAGE_GALLERY:CHANGE"",SET_INDEX:""IMAGE_GALLERY:SET_INDEX"",ADD_IMAGES:""IMAGE_GALLERY:ADD_IMAGES"",MOUSE_ENTER:""IMAGE_GALLERY:MOUSE_ENTER"",MOUSE_LEAVE:""IMAGE_GALLERY:MOUSE_LEAVE"",OVERLAY:{SHOW:""IMAGE_GALLERY:OVERLAY:SHOW"",HIDE:""IMAGE_GALLERY:OVERLAY:HIDE""}},VIDEO_GALLERY:{PREV:""VIDEO_GALLERY:PREV"",NEXT:""VIDEO_GALLERY:NEXT"",CHANGE:""VIDEO_GALLERY:CHANGE"",SET_INDEX:""VIDEO_GALLERY:SET_INDEX"",ADD_VIDEOS:""VIDEO_GALLERY:ADD_IMAGES"",MOUSE_ENTER:""VIDEO_GALLERY:MOUSE_ENTER"",MOUSE_LEAVE:""VIDEO_GALLERY:MOUSE_LEAVE"",OVERLAY:{SHOW:""VIDEO_GALLERY:OVERLAY:SHOW"",HIDE:""VIDEO_GALLERY:OVERLAY:HIDE""}},CHARACTER_GALLERY:{NEXT:""CHARACTER_GALLERY:NEXT"",PREV:""CHARACTER_GALLERY:PREV"",ADD_SLIDES:""CHARACTER_GALLERY:ADD_SLIDES"",UPDATE_CONTENT_HEIGHT:""UPDATE_CONTENT_HEIGHT"",SLIDER:{CHANGE:""CHARACTER_GALLERY:SLIDER:CHANGE""}},PODCAST:{ADD_PODCASTS:""PODCAST:ADD_PODCASTS"",CHANGE:""PODCAST:CHANGE"",THUMB_CLICK:""PODCAST:THUMB_CLICK"",PLAY:""PODCAST:PLAY"",PAUSE:""PODCAST:PAUSE""},KEY_PEOPLE:{ADD_PEOPLE:""KEY_PEOPLE:ADD_PEOPLE"",CHANGE:""KEY_PEOPLE:CHANGE"",THUMB_CLICK:""KEY_PEOPLE:THUMB_CLICK""},FULL_SCREEN_GALLERY:{ADD_ITEMS:""FULL_SCREEN_GALLERY:ADD_ITEMS"",CHANGE:""FULL_SCREEN_GALLERY:CHANGE""},COMPONENT_GRID:{ADD_COMPONENTS:""COMPONENT_GRID:ADD_COMPONENTS""},PAGINATION:{LOAD_MORE:""PAGINATION:LOAD_MORE""},FILTER:{DOM_PARSED:""FILTER:DOM_PARSED"",FILTER_NEXT:""FILTER:FILTER_CLICK"",LOADMORE_CLICK:""FILTER:LOADMORE_CLICK""},WORK_PROJECT:{CREDITS_SHOW:""WORK_PROJECT.CREDITS_SHOW""},FAQ:{LOADMORE_CLICK:""FAQ:LOADMORE_CLICK"",ADD_FAQ_SEGMENTS:""FAQ:ADD_FAQ_SEGMENTS"",EXPAND_CLICK:""FAQ:EXPAND_CLICK""},FOOTER:{OPEN:""FOOTER:OPEN"",CLOSE:""FOOTER:CLOSE"",COPYRIGHT_CLICK:""FOOTER:COPYRIGHT_CLICK"",CONTACT_CLICK:""FOOTER:CONTACT_CLICK"",TERMS_CLICK:""FOOTER:TERMS_CLICK"",COPYRIGHT_CLOSE:""FOOTER:COPYRIGHT_CLOSE"",CONTACT_CLOSE:""FOOTER:CONTACT_CLOSE"",TERMS_CLOSE:""FOOTER:TERMS_CLOSE""},NAVIGATION:{NEXT:""NAVIGATION:NEXT"",PREV:""NAVIGATION:PREV"",HINTS:""NAVIGATION:HINTS""}}}),define(""events/share_events"",[],function(){return{SITE_FACEBOOK:""SITE_FACEBOOK"",SITE_TWITTER:""SITE_TWITTER"",SITE_CLIPBOARD:""SITE_CLIPBOARD"",VIDEO_FACEBOOK:""VIDEO_FACEBOOK"",VIDEO_TWITTER:""VIDEO_TWITTER""}}),define(""events/sound_events"",[],function(){return{PLAY_SOUND:""PLAY_SOUND"",STOP_SOUND:""STOP_SOUND"",SET_SOUND_VOLUME:""SET_SOUND_VOLUME"",SET_GLOBAL_VOLUME:""SET_GLOBAL_VOLUME"",PLAY_SILENT:""PLAY_SILENT""}}),define(""view/common/communicator"",[""jquery"",""underscore"",""backbone"",""events/view_events"",""events/share_events"",""events/sound_events""],function(t,e,i,n,s,r){var o={};return o.EVENTS={VIEW:n,SHARE:s,SOUND:r},e.extend(o,i.Events),o}),define(""controller/app_controller"",[""jquery"",""config"",""underscore"",""backbone"",""route/router"",""model/app_model"",""model/loader_collection"",""model/resize_model"",""view/common/communicator""],function(t,e,i,n,s,r,o,a,l){var c={init:function(){i.bindAll(this,""onFirstTouchStart""),this.addEvents()},addEvents:function(){this.listenTo(r,""change:page"",this.onAppModelPage),this.listenTo(o,""complete"",this.onLoaderComplete),this.listenTo(l,l.EVENTS.VIEW.SEARCH_OVERLAY.SHOW,this.onSearchOverlayShow),this.listenTo(l,l.EVENTS.VIEW.SEARCH_OVERLAY.HIDE,this.onSearchOverlayHide),this.listenTo(l,l.EVENTS.VIEW.FOOTER.OPEN,this.onFooterOpen),this.listenTo(l,l.EVENTS.VIEW.FOOTER.CLOSE,this.onFooterClose),this.listenTo(l,l.EVENTS.VIEW.NAVIGATION.HINTS,this.onNavHintsChange),this.listenTo(l,l.EVENTS.VIEW.PAGE_OUT_COMPLETE,this.onPageOutComplete),this.listenTo(l,l.EVENTS.VIEW.PRELOADER.COMPLETE,this.onPreloaderComplete),this.listenToOnce(a,""resize"",this.onFirstResize),e.TABLET&&t(""body"").one(""touchstart"",this.onFirstTouchStart)},onNavHintsChange:function(t){r.set(""navHints"",t)},onSearchOverlayShow:function(){r.set(""searchOverlay"",!0)},onSearchOverlayHide:function(){r.set(""searchOverlay"",!1)},onFooterOpen:function(){r.set(""footerVisibility"",!0)},onFooterClose:function(){r.set(""footerVisibility"",!1)},onAppModelPage:function(t,e){},onPageOutComplete:function(){},onPreloaderComplete:function(){r.set(""preloaded"",!0),a.get(""scale"")&&r.set(""ready"",!0)},onFirstResize:function(){r.get(""preloaded"")&&r.set(""ready"",!0)},onFirstTouchStart:function(t){l.trigger(l.EVENTS.SOUND.PLAY_SILENT)}};return i.extend(c,n.Events),c.init(),c}),define(""controller/nav_controller"",[""jquery"",""underscore"",""route/router"",""model/app_model"",""view/common/communicator""],function(t,e,i,n,s){var r={init:function(){i.on(""route:all"",this.onRouterPage,this),n.on(""change:page"",this.onPageChange,this),s.on(s.EVENTS.VIEW.NAV.URL,this.onNavEvent,this),s.on(s.EVENTS.VIEW.NAV.BACK,this.onBackEvent,this),t(document).on(""click"",""a"",e.bind(this.onPageClick,this))},isFile:function(t){var e=[""html"",""php""],i=t.split(""."");if(i.length>1){var n=i[i.length-1];if(e.indexOf(n)>-1)return!1;var s=/\.([0-9a-z]+)(?:[\?#]|$)/i;return t.match(s)}return!1},onPageClick:function(e){var n=t(e.currentTarget),s=n.attr(""href""),r=0!==s.indexOf(""http""),o=0!==s.indexOf(""mailto""),a=0!==s.indexOf(""tel""),l=this.isFile(s);s&&!l&&r&&o&&a&&!0&&(e.preventDefault(),i.navigate(s,{trigger:!0}))},onNavEvent:function(t){i.navigate(t,{trigger:!0})},onBackEvent:function(){window.history.back()},onPageChange:function(t,e){},onRouterPage:function(t){n.set({prevpage:n.get(""page"")}),n.set({page:window.location.pathname+window.location.search})}};return r.init(),r}),define(""controller/loader_controller"",[""underscore"",""route/router"",""model/loader_collection""],function(t,e,i){""use strict"";var n={init:function(){},start:function(){i.start(""main"")}};return n.init(),n});var _gsScope=""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){""use strict"";_gsScope._gsDefine(""TweenMax"",[""core.Animation"",""core.SimpleTimeline"",""TweenLite""],function(t,e,i){var n=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},s=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]=""function""==typeof s?s.call(e[i],i):s[i%s.length];delete t.cycle},r=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=r.prototype.render},o=1e-10,a=i._internals,l=a.isSelector,c=a.isArray,h=r.prototype=i.to({},.1,{}),u=[];r.version=""1.18.2"",h.constructor=r,h.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.killTweensOf,r.getTweensOf=i.getTweensOf,r.lagSmoothing=i.lagSmoothing,r.ticker=i.ticker,r.render=i.render,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var n,s=this.ratio,r=this.vars.immediateRender||t.immediateRender;e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted||r)if(e)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent(""_onDisable"",this),this._time/this._duration>.998){var o=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||r)for(var a,l=1/(1-s),c=this._firstPT;c;)a=c.s+c.c,c.c*=l,c.s=a-c.c,c=c._next;return this},h.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,r,l,c,h,u,d,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._totalTime,g=this._cycle,_=this._duration,v=this._rawPrevTime;if(t>=p-1e-7?(this._totalTime=p,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=_,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,s=""onComplete"",i=i||this._timeline.autoRemoveChildren),0===_&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>v||0>=t&&t>=-1e-7||v===o&&""isPause""!==this.data)&&v!==t&&(i=!0,v>o&&(s=""onReverseComplete"")),this._rawPrevTime=d=!e||t||v===t?t:o)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===_&&v>0)&&(s=""onReverseComplete"",n=this._reversed),0>t&&(this._active=!1,0===_&&(this._initted||!this.vars.lazy||i)&&(v>=0&&(i=!0),this._rawPrevTime=d=!e||t||v===t?t:o)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=_+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=_-this._time),this._time>_?this._time=_:this._time<0&&(this._time=0)),this._easeType?(c=this._time/_,h=this._easeType,u=this._easePower,(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===u?c*=c:2===u?c*=c*c:3===u?c*=c*c*c:4===u&&(c*=c*c*c*c),1===h?this.ratio=1-c:2===h?this.ratio=c:this._time/_<.5?this.ratio=c/2:this.ratio=1-c/2):this.ratio=this._ease.getRatio(this._time/_)),f===this._time&&!i&&g===this._cycle)return void(m!==this._totalTime&&this._onUpdate&&(e||this._callback(""onUpdate"")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=f,this._totalTime=m,this._rawPrevTime=v,this._cycle=g,a.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/_):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==f&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,i):s||(s=""_dummyGS"")),this.vars.onStart&&(0!==this._totalTime||0===_)&&(e||this._callback(""onStart""))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._totalTime!==m||n)&&this._callback(""onUpdate"")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback(""onRepeat"")),s&&(!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[s]&&this._callback(s),0===_&&this._rawPrevTime===o&&d!==o&&(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,o,a,h,d,p){a=a||0;var f,m,g,_,v=0,y=[],w=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),h.apply(p||o.callbackScope||this,d||u)},T=o.cycle,b=o.startAt&&o.startAt.cycle;for(c(t)||(""string""==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t))),t=t||[],0>a&&(t=n(t),t.reverse(),a*=-1),f=t.length-1,g=0;f>=g;g++){m={};for(_ in o)m[_]=o[_];if(T&&s(m,t,g),b){b=m.startAt={};for(_ in o.startAt)b[_]=o.startAt[_];s(m.startAt,t,g)}m.delay=v+(m.delay||0),g===f&&h&&(m.onComplete=w),y[g]=new r(t[g],e,m),v+=a}return y},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,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,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 d=function(t,e){for(var n=[],s=0,r=t._first;r;)r instanceof i?n[s++]=r:(e&&(n[s++]=r),n=n.concat(d(r,e)),s=n.length),r=r._next;return n},p=r.getAllTweens=function(e){return d(t._rootTimeline,e).concat(d(t._rootFramesTimeline,e))};r.killAll=function(t,i,n,s){null==i&&(i=!0),null==n&&(n=!0);var r,o,a,l=p(0!=s),c=l.length,h=i&&n&&s;for(a=0;c>a;a++)o=l[a],(h||o instanceof e||(r=o.target===o.vars.onComplete)&&n||i&&!r)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},r.killChildTweensOf=function(t,e){if(null!=t){var s,o,h,u,d,p=a.tweenLookup;if(""string""==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t)),c(t))for(u=t.length;--u>-1;)r.killChildTweensOf(t[u],e);else{s=[];for(h in p)for(o=p[h].target.parentNode;o;)o===t&&(s=s.concat(p[h].tweens)),o=o.parentNode;for(d=s.length,u=0;d>u;u++)e&&s[u].totalTime(s[u].totalDuration()),s[u]._enabled(!1,!1)}}};var f=function(t,i,n,s){i=!1!==i,n=!1!==n,s=!1!==s;for(var r,o,a=p(s),l=i&&n&&s,c=a.length;--c>-1;)o=a[c],(l||o instanceof e||(r=o.target===o.vars.onComplete)&&n||i&&!r)&&o.paused(t)};return r.pauseAll=function(t,e,i){f(!0,t,e,i)},r.resumeAll=function(t,e,i){f(!1,t,e,i)},r.globalTimeScale=function(e){var n=t._rootTimeline,s=i.ticker.time;return arguments.length?(e=e||o,n._startTime=s-(s-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,s=i.ticker.frame,n._startTime=s-(s-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},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.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.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.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)},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},r},!0),_gsScope._gsDefine(""TimelineLite"",[""core.Animation"",""core.SimpleTimeline"",""TweenLite""],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,s=this.vars;for(n in s)i=s[n],l(i)&&-1!==i.join("""").indexOf(""{self}"")&&(s[n]=this._swapSelfInParams(i));l(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=1e-10,r=i._internals,o=n._internals={},a=r.isSelector,l=r.isArray,c=r.lazyTweens,h=r.lazyRender,u=_gsScope._gsDefine.globals,d=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]=""function""==typeof s?s.call(e[i],i):s[i%s.length];delete t.cycle},f=o.pauseCallback=function(){},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.18.2"",g.constructor=n,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,n,s){var r=n.repeat&&u.TweenMax||i;return e?this.add(new r(t,e,n),s):this.set(t,n,s)},g.from=function(t,e,n,s){return this.add((n.repeat&&u.TweenMax||i).from(t,e,n),s)},g.fromTo=function(t,e,n,s,r){var o=s.repeat&&u.TweenMax||i;return e?this.add(o.fromTo(t,e,n,s),r):this.set(t,s,r)},g.staggerTo=function(t,e,s,r,o,l,c,h){var u,f,g=new n({onComplete:l,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),_=s.cycle;for(""string""==typeof t&&(t=i.selector(t)||t),t=t||[],a(t)&&(t=m(t)),r=r||0,0>r&&(t=m(t),t.reverse(),r*=-1),f=0;f<t.length;f++)u=d(s),u.startAt&&(u.startAt=d(u.startAt),u.startAt.cycle&&p(u.startAt,t,f)),_&&p(u,t,f),g.to(t[f],e,u,f*r);return this.add(g,o)},g.staggerFrom=function(t,e,i,n,s,r,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,r,o,a)},g.staggerFromTo=function(t,e,i,n,s,r,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,r,o,a,l)},g.call=function(t,e,n,s){return this.add(i.delayedCall(0,t,e,n),s)},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 s,r,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,s=a._first;s;)r=s._next,e&&s instanceof i&&s.target===s.vars.onComplete||o.add(s,s._startTime-s._delay),s=r;return a.add(o,0),o},g.add=function(s,r,o,a){var c,h,u,d,p,f;if(""number""!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,s)),!(s instanceof t)){if(s instanceof Array||s&&s.push&&l(s)){for(o=o||""normal"",a=a||0,c=r,h=s.length,u=0;h>u;u++)l(d=s[u])&&(d=new n({tweens:d})),this.add(d,c),""string""!=typeof d&&""function""!=typeof d&&(""sequence""===o?c=d._startTime+d.totalDuration()/d._timeScale:""start""===o&&(d._startTime-=d.delay())),c+=a;return this._uncache(!0)}if(""string""==typeof s)return this.addLabel(s,r);if(""function""!=typeof s)throw""Cannot add ""+s+"" into the timeline; it is not a tween, timeline, function, or string."";s=i.delayedCall(0,s)}if(e.prototype.add.call(this,s,r),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,f=p.rawTime()>s._startTime;p._timeline;)f&&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){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var n=e.length;--n>-1;)this.remove(e[n]);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,n,s){var r=i.delayedCall(0,f,n,s||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data=""isPause"",this._hasPause=!0,this.add(r,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,s){var r;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&l(s)))for(r=s.length;--r>-1;)s[r]instanceof t&&s[r].timeline===this&&this.remove(s[r]);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(-1===(r=e.indexOf(""="")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+""1"",10)*Number(e.substr(r+1)),e=r>1?this._parseTimeOrLabel(e.substr(0,r-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime(""number""==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},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,r,o,a,l,u,d,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._startTime,g=this._timeScale,_=this._paused;if(t>=p-1e-7)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,a=""onComplete"",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===s)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>s&&(a=""onReverseComplete""))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=p+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==s&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a=""onReverseComplete"",r=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=r=!0,a=""onReverseComplete""):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(n=this._first;n&&n._startTime<=t&&!u;)n._duration||""isPause""!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(u=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!u;)n._duration||""isPause""===n.data&&n._rawPrevTime>0&&(u=n),n=n._prev;u&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||l||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback(""onStart"")),(d=this._time)>=f)for(n=this._first;n&&(o=n._next, | |
d===this._time&&(!this._paused||_));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(u===n&&this.pause(),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,d===this._time&&(!this._paused||_));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(u===n){for(u=n._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}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||(c.length&&h(),this._callback(""onUpdate""))),a&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(r&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},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,s){s=s||-9999999999;for(var r=[],o=this._first,a=0;o;)o._startTime<s||(o instanceof i?!1!==e&&(r[a++]=o):(!1!==n&&(r[a++]=o),!1!==t&&(r=r.concat(o.getChildren(!0,e,n)),a=r.length))),o=o._next;return r},g.getTweensOf=function(t,e){var n,s,r=this._gc,o=[],a=0;for(r&&this._enabled(!0,!0),n=i.getTweensOf(t),s=n.length;--s>-1;)(n[s].timeline===this||e&&this._contains(n[s]))&&(o[a++]=n[s]);return r&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},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,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[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,s=!1;--n>-1;)i[n]._kill(t,e)&&(s=!0);return s},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!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(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.totalTime=function(e,i,n){this._forcingPlayhead=!0;var s=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},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,s=this._last,r=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>r&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):r=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),r=0),i=s._startTime+s._totalDuration/s._timeScale,i>n&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&""isPause""===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},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),_gsScope._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=!0===this.vars.yoyo,this._dirty=!0},s=1e-10,r=e._internals,o=r.lazyTweens,a=r.lazyRender,l=new i(null,null,1,0),c=n.prototype=new t;return c.constructor=n,c.kill()._gc=!1,n.version=""1.18.2"",c.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,n,s){return this.add(e.delayedCall(0,t,n,s),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var n,s,r,o={ease:l,useFrames:this.usesFrames(),immediateRender:!1};for(s in i)o[s]=i[s];return o.time=this._parseTimeOrLabel(t),n=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,r=new e(this,n,o),o.onStart=function(){r.target.paused(!0),r.vars.time!==r.target.time()&&n===r.duration()&&r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale),i.onStart&&r._callback(""onStart"")},r},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,l,c,h,u,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._time,_=this._totalTime,v=this._startTime,y=this._timeScale,w=this._rawPrevTime,T=this._paused,b=this._cycle;if(t>=f-1e-7)this._locked||(this._totalTime=f,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,c=""onComplete"",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||0>w||w===s)&&w!==t&&this._first&&(h=!0,w>s&&(c=""onReverseComplete""))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=m,t=m+1e-4);else if(1e-7>t)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==g||0===m&&w!==s&&(w>0||0>t&&w>=0)&&!this._locked)&&(c=""onReverseComplete"",r=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=r=!0,c=""onReverseComplete""):w>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:s,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(h=!0)}else if(0===m&&0>w&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=m+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=g)for(n=this._first;n&&n._startTime<=t&&!d;)n._duration||""isPause""!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(d=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!d;)n._duration||""isPause""===n.data&&n._rawPrevTime>0&&(d=n),n=n._prev;d&&(this._time=t=d._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==b&&!this._locked){var E=this._yoyo&&0!=(1&b),S=E===(this._yoyo&&0!=(1&this._cycle)),x=this._totalTime,P=this._cycle,A=this._rawPrevTime,C=this._time;if(this._totalTime=b*m,this._cycle<b?E=!E:this._totalTime+=m,this._time=g,this._rawPrevTime=0===m?w-1e-4:w,this._cycle=b,this._locked=!0,g=E?0:m,this.render(g,e,0===m),e||this._gc||this.vars.onRepeat&&this._callback(""onRepeat""),g!==this._time)return;if(S&&(g=E?m+1e-4:-1e-4,this.render(g,!0,!1)),this._locked=!1,this._paused&&!T)return;this._time=C,this._totalTime=x,this._cycle=P,this._rawPrevTime=A}if(!(this._time!==g&&this._first||i||h||d))return void(_!==this._totalTime&&this._onUpdate&&(e||this._callback(""onUpdate"")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==_&&t>0&&(this._active=!0),0===_&&this.vars.onStart&&0!==this._totalTime&&(e||this._callback(""onStart"")),(p=this._time)>=g)for(n=this._first;n&&(l=n._next,p===this._time&&(!this._paused||T));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(d===n&&this.pause(),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=l;else for(n=this._last;n&&(l=n._prev,p===this._time&&(!this._paused||T));){if(n._active||n._startTime<=g&&!n._paused&&!n._gc){if(d===n){for(d=n._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(t-d._startTime)*d._timeScale:(t-d._startTime)*d._timeScale,e,i),d=d._prev;d=null,this.pause()}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=l}this._onUpdate&&(e||(o.length&&a(),this._callback(""onUpdate""))),c&&(this._locked||this._gc||(v===this._startTime||y!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(r&&(o.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this._callback(c)))},c.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,r=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(n=0;l>n;n++)s=o[n],s.isActive()&&(r[a++]=s);return r},c.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},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},c.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},c.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},c.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},c.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},c.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},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.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=[],s={},r=_gsScope._gsDefine.globals,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=function(t,e,i,n){var s={a:t},r={},o={},a={c:n},l=(t+e)/2,c=(e+i)/2,h=(i+n)/2,u=(l+c)/2,d=(c+h)/2,p=(d-u)/8;return s.b=l+(t-l)/4,r.b=u+p,s.c=r.a=(s.b+r.b)/2,r.c=o.a=(u+d)/2,o.b=d-p,a.b=h+(n-h)/4,o.c=a.a=(o.b+a.b)/2,[s,r,o,a]},l=function(t,s,r,o,l){var c,h,u,d,p,f,m,g,_,v,y,w,T,b=t.length-1,E=0,S=t[0].a;for(c=0;b>c;c++)p=t[E],h=p.a,u=p.d,d=t[E+1].d,l?(y=e[c],w=i[c],T=(w+y)*s*.25/(o?.5:n[c]||.5),f=u-(u-h)*(o?.5*s:0!==y?T/y:0),m=u+(d-u)*(o?.5*s:0!==w?T/w:0),g=u-(f+((m-f)*(3*y/(y+w)+.5)/4||0))):(f=u-(u-h)*s*.5,m=u+(d-u)*s*.5,g=u-(f+m)/2),f+=g,m+=g,p.c=_=f,p.b=0!==c?S:S=p.a+.6*(p.c-p.a),p.da=u-h,p.ca=_-h,p.ba=S-h,r?(v=a(h,S,_,u),t.splice(E,1,v[0],v[1],v[2],v[3]),E+=4):E++,S=m;p=t[E],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,r&&(v=a(p.a,S,p.c,p.d),t.splice(E,1,v[0],v[1],v[2],v[3]))},c=function(t,n,s,r){var a,l,c,h,u,d,p=[];if(r)for(t=[r].concat(t),l=t.length;--l>-1;)""string""==typeof(d=t[l][n])&&""=""===d.charAt(1)&&(t[l][n]=r[n]+Number(d.charAt(0)+d.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][n],0,0,t[-1>a?0:1][n]),p;for(l=0;a>l;l++)c=t[l][n],h=t[l+1][n],p[l]=new o(c,0,0,h),s&&(u=t[l+2][n],e[l]=(e[l]||0)+(h-c)*(h-c),i[l]=(i[l]||0)+(u-h)*(u-h));return p[l]=new o(t[l][n],0,0,t[l+1][n]),p},h=function(t,r,o,a,h,u){var d,p,f,m,g,_,v,y,w={},T=[],b=u||t[0];h=""string""==typeof h?"",""+h+"","":"",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,"",null==r&&(r=1);for(p in t[0])T.push(p);if(t.length>1){for(y=t[t.length-1],v=!0,d=T.length;--d>-1;)if(p=T[d],Math.abs(b[p]-y[p])>.05){v=!1;break}v&&(t=t.concat(),u&&t.unshift(u),t.push(t[1]),u=t[t.length-3])}for(e.length=i.length=n.length=0,d=T.length;--d>-1;)p=T[d],s[p]=-1!==h.indexOf("",""+p+"",""),w[p]=c(t,p,s[p],u);for(d=e.length;--d>-1;)e[d]=Math.sqrt(e[d]),i[d]=Math.sqrt(i[d]);if(!a){for(d=T.length;--d>-1;)if(s[p])for(f=w[T[d]],_=f.length-1,m=0;_>m;m++)g=f[m+1].da/i[m]+f[m].da/e[m],n[m]=(n[m]||0)+g*g;for(d=n.length;--d>-1;)n[d]=Math.sqrt(n[d])}for(d=T.length,m=o?4:1;--d>-1;)p=T[d],f=w[p],l(f,r,o,a,s[p]),v&&(f.splice(0,m),f.splice(f.length-m,m));return w},u=function(t,e,i){e=e||""soft"";var n,s,r,a,l,c,h,u,d,p,f,m={},g=""cubic""===e?3:2,_=""soft""===e,v=[];if(_&&i&&(t=[i].concat(t)),null==t||t.length<g+1)throw""invalid Bezier data"";for(d in t[0])v.push(d);for(c=v.length;--c>-1;){for(d=v[c],m[d]=l=[],p=0,u=t.length,h=0;u>h;h++)n=null==i?t[h][d]:""string""==typeof(f=t[h][d])&&""=""===f.charAt(1)?i[d]+Number(f.charAt(0)+f.substr(2)):Number(f),_&&h>1&&u-1>h&&(l[p++]=(n+l[p-2])/2),l[p++]=n;for(u=p-g+1,p=0,h=0;u>h;h+=g)n=l[h],s=l[h+1],r=l[h+2],a=2===g?0:l[h+3],l[p++]=f=3===g?new o(n,s,r,a):new o(n,(2*s+n)/3,(2*s+r)/3,r);l.length=p}return m},d=function(t,e,i){for(var n,s,r,o,a,l,c,h,u,d,p,f=1/i,m=t.length;--m>-1;)for(d=t[m],r=d.a,o=d.d-r,a=d.c-r,l=d.b-r,n=s=0,h=1;i>=h;h++)c=f*h,u=1-c,n=s-(s=(c*c*o+3*u*(c*a+u*l))*c),p=m*i+h-1,e[p]=(e[p]||0)+n*n},p=function(t,e){e=e>>0||6;var i,n,s,r,o=[],a=[],l=0,c=0,h=e-1,u=[],p=[];for(i in t)d(t[i],o,e);for(s=o.length,n=0;s>n;n++)l+=Math.sqrt(o[n]),r=n%e,p[r]=l,r===h&&(c+=l,r=n/e>>0,u[r]=p,a[r]=c,l=0,p=[]);return{length:c,lengths:a,segments:u}},f=_gsScope._gsDefine.plugin({propName:""bezier"",priority:-1,version:""1.3.4"",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,s,r,o,a,l=e.values||[],c={},d=l[0],f=e.autoRotate||i.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[[""x"",""y"",""rotation"",!0===f?0:Number(f)||0]]:null;for(n in d)this._props.push(n);for(r=this._props.length;--r>-1;)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]=""function""==typeof t[n],c[n]=s?t[n.indexOf(""set"")||""function""!=typeof t[""get""+n.substr(3)]?n:""get""+n.substr(3)]():parseFloat(t[n]),a||c[n]!==l[0][n]&&(a=c);if(this._beziers=""cubic""!==e.type&&""quadratic""!==e.type&&""soft""!==e.type?h(l,isNaN(e.curviness)?1:e.curviness,!1,""thruBasic""===e.type,e.correlate,a):u(l,e.type,c),this._segCount=this._beziers[n].length,this._timeRes){var m=p(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(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),r=f.length;--r>-1;){for(o=0;3>o;o++)n=f[r][o],this._func[n]=""function""==typeof t[n]&&t[n.indexOf(""set"")||""function""!=typeof t[""get""+n.substr(3)]?n:""get""+n.substr(3)];n=f[r][2],this._initialRotations[r]=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,s,r,o,a,l,c,h,u,d=this._segCount,p=this._func,f=this._target,m=e!==this._startRatio;if(this._timeRes){if(h=this._lengths,u=this._curSeg,e*=this._length,s=this._li,e>this._l2&&d-1>s){for(c=d-1;c>s&&(this._l2=h[++s])<=e;);this._l1=h[s-1],this._li=s,this._curSeg=u=this._segments[s],this._s2=u[this._s1=this._si=0]}else if(e<this._l1&&s>0){for(;s>0&&(this._l1=h[--s])>=e;);0===s&&e<this._l1?this._l1=0:s++,this._l2=h[s],this._li=s,this._curSeg=u=this._segments[s],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(i=s,e-=this._l1,s=this._si,e>this._s2&&s<u.length-1){for(c=u.length-1;c>s&&(this._s2=u[++s])<=e;);this._s1=u[s-1],this._si=s}else if(e<this._s1&&s>0){for(;s>0&&(this._s1=u[--s])>=e;);0===s&&e<this._s1?this._s1=0:s++,this._s2=u[s],this._si=s}a=(s+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?d-1:d*e>>0,a=(e-i*(1/d))*d;for(n=1-a,s=this._props.length;--s>-1;)r=this._props[s],o=this._beziers[r][i],l=(a*a*o.da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._round[r]&&(l=Math.round(l)),p[r]?f[r](l):f[r]=l;if(this._autoRotate){var g,_,v,y,w,T,b,E=this._autoRotate;for(s=E.length;--s>-1;)r=E[s][2],T=E[s][3]||0,b=!0===E[s][4]?1:t,o=this._beziers[E[s][0]],g=this._beziers[E[s][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,w=g.b+(g.c-g.b)*a,v+=(w-v)*a,w+=(g.c+(g.d-g.c)*a-w)*a,l=m?Math.atan2(w-v,y-_)*b+T:this._initialRotations[s],p[r]?f[r](l):f[r]=l)}}}),m=f.prototype;f.bezierThrough=h,f.cubicToQuadratic=a,f._autoCSS=!0,f.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},f._cssRegister=function(){var t=r.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp(""bezier"",{parser:function(t,e,r,o,a,l){e instanceof Array&&(e={values:e}),l=new f;var c,h,u,d=e.values,p=d.length-1,m=[],g={};if(0>p)return a;for(c=0;p>=c;c++)u=i(t,d[c],o,a,l,p!==c),m[c]=u.end;for(h in e)g[h]=e[h];return g.values=m,a=new s(t,""bezier"",0,0,u.pt,2),a.data=u,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=u.end.left?[[""left"",""top"",""rotation"",c,!1]]:null!=u.end.x&&[[""x"",""y"",""rotation"",c,!1]]),g.autoRotate&&(o._transform||o._enableTransforms(!1),u.autoRotate=o._target._gsTransform),l._onInitTween(u.proxy,g,o._tween),a}})}},m._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)},m._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)}}(),_gsScope._gsDefine(""plugins.CSSPlugin"",[""plugins.TweenPlugin"",""TweenLite""],function(t,e){var i,n,s,r,o=function(){t.call(this,""css""),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},c=o.prototype=new t(""css"");c.constructor=o,o.version=""1.18.2"",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType=""compensated"",o.defaultSmoothOrigin=!0,c=""px"",o.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""""};var h,u,d,p,f,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*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,b=/opacity:([^;]*)/i,E=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,x=/([A-Z])/g,P=/-([a-z])/gi,A=/(^(?:url\(\""|url\())|(?:(\""\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},L=/(?:Left|Right|Width)/i,k=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,R=Math.PI/180,j=180/Math.PI,M={},N=document,D=function(t){return N.createElementNS?N.createElementNS(""http://www.w3.org/1999/xhtml"",t):N.createElement(t)},V=D(""div""),$=D(""img""),H=o._internals={_specialProps:l},F=navigator.userAgent,B=function(){var t=F.indexOf(""Android""),e=D(""a"");return d=-1!==F.indexOf(""Safari"")&&-1===F.indexOf(""Chrome"")&&(-1===t||Number(F.substr(t+8,1))>3),f=d&&Number(F.substr(F.indexOf(""Version/"")+8,1))<6,p=-1!==F.indexOf(""Firefox""),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(F))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText=""top:1px;opacity:.55;"",/^0.55/.test(e.style.opacity))}(),z=function(t){return T.test(""string""==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"""")?parseFloat(RegExp.$1)/100:1},q=function(t){window.console&&console.log(t)},G="""",W="""",U=function(t,e){e=e||V;var i,n,s=e.style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=[""O"",""Moz"",""ms"",""Ms"",""Webkit""],n=5;--n>-1&&void 0===s[i[n]+t];);return n>=0?(W=3===n?""ms"":i[n],G=""-""+W.toLowerCase()+""-"",W+t):null},Y=N.defaultView?N.defaultView.getComputedStyle:function(){},X=o.getStyle=function(t,e,i,n,s){var r;return B||""opacity""!==e?(!n&&t.style[e]?r=t.style[e]:(i=i||Y(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(x,""-$1"").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==s||r&&""none""!==r&&""auto""!==r&&""auto auto""!==r?r:s):z(t)},K=H.convertToPixels=function(t,i,n,s,r){if(""px""===s||!s)return n;if(""auto""===s||!n)return 0;var a,l,c,h=L.test(i),u=t,d=V.style,p=0>n;if(p&&(n=-n),""%""===s&&-1!==i.indexOf(""border""))a=n/100*(h?t.clientWidth:t.clientHeight);else{if(d.cssText=""border:0 solid red;position:""+X(t,""position"")+"";line-height:0;"",""%""!==s&&u.appendChild&&""v""!==s.charAt(0)&&""rem""!==s)d[h?""borderLeftWidth"":""borderTopWidth""]=n+s;else{if(u=t.parentNode||N.body,l=u._gsCache,c=e.ticker.frame,l&&h&&l.time===c)return l.width*n/100;d[h?""width"":""height""]=n+s}u.appendChild(V),a=parseFloat(V[h?""offsetWidth"":""offsetHeight""]),u.removeChild(V),h&&""%""===s&&!1!==o.cacheWidths&&(l=u._gsCache=u._gsCache||{},l.time=c,l.width=a/n*100),0!==a||r||(a=K(t,i,n,s,!0))}return p?-a:a},J=H.calculateOffset=function(t,e,i){if(""absolute""!==X(t,""position"",i))return 0;var n=""left""===e?""Left"":""Top"",s=X(t,""margin""+n,i);return t[""offset""+n]-(K(t,e,parseFloat(s),s.replace(w,""""))||0)},Q=function(t,e){var i,n,s,r={};if(e=e||Y(t,null))if(i=e.length)for(;--i>-1;)s=e[i],(-1===s.indexOf(""-transform"")||St===s)&&(r[s.replace(P,C)]=e.getPropertyValue(s));else for(i in e)(-1===i.indexOf(""Transform"")||Et===i)&&(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(P,C)]=e[i]);return B||(r.opacity=z(t)),n=Nt(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,Pt&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},Z=function(t,e,i,n,s){var r,o,a,l={},c=t.style;for(o in i)""cssText""!==o&&""length""!==o&&isNaN(o)&&(e[o]!==(r=i[o])||s&&s[o])&&-1===o.indexOf(""Origin"")&&(""number""==typeof r||""string""==typeof r)&&(l[o]=""auto""!==r||""left""!==o&&""top""!==o?""""!==r&&""auto""!==r&&""none""!==r||""string""!=typeof e[o]||""""===e[o].replace(y,"""")?r:0:J(t,o),void 0!==c[o]&&(a=new ft(c,o,c[o],a)));if(n)for(o in n)""className""!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},tt={width:[""Left"",""Right""],height:[""Top"",""Bottom""]},et=[""marginLeft"",""marginRight"",""marginTop"",""marginBottom""],it=function(t,e,i){var n=parseFloat(""width""===e?t.offsetWidth:t.offsetHeight),s=tt[e],r=s.length;for(i=i||Y(t,null);--r>-1;)n-=parseFloat(X(t,""padding""+s[r],i,!0))||0,n-=parseFloat(X(t,""border""+s[r]+""Width"",i,!0))||0;return n},nt=function(t,e){if(""contain""===t||""auto""===t||""auto auto""===t)return t+"" "";(null==t||""""===t)&&(t=""0 0"");var i=t.split("" ""),n=-1!==t.indexOf(""left"")?""0%"":-1!==t.indexOf(""right"")?""100%"":i[0],s=-1!==t.indexOf(""top"")?""0%"":-1!==t.indexOf(""bottom"")?""100%"":i[1];return null==s?s=""center""===n?""50%"":""0"":""center""===s&&(s=""50%""),(""center""===n||isNaN(parseFloat(n))&&-1===(n+"""").indexOf(""=""))&&(n=""50%""),t=n+"" ""+s+(i.length>2?"" ""+i[2]:""""),e&&(e.oxp=-1!==n.indexOf(""%""),e.oyp=-1!==s.indexOf(""%""),e.oxr=""=""===n.charAt(1),e.oyr=""=""===s.charAt(1),e.ox=parseFloat(n.replace(y,"""")),e.oy=parseFloat(s.replace(y,"""")),e.v=t),e||t},st=function(t,e){return""string""==typeof t&&""=""===t.charAt(1)?parseInt(t.charAt(0)+""1"",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},rt=function(t,e){return null==t?e:""string""==typeof t&&""=""===t.charAt(1)?parseInt(t.charAt(0)+""1"",10)*parseFloat(t.substr(2))+e:parseFloat(t)},ot=function(t,e,i,n){var s,r,o,a,l;return null==t?a=e:""number""==typeof t?a=t:(s=360,r=t.split(""_""),l=""=""===t.charAt(1),o=(l?parseInt(t.charAt(0)+""1"",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf(""rad"")?1:j)-(l?0:e),r.length&&(n&&(n[i]=e+o),-1!==t.indexOf(""short"")&&(o%=s)!==o%(s/2)&&(o=0>o?o+s:o-s),-1!==t.indexOf(""_cw"")&&0>o?o=(o+9999999999*s)%s-(o/s|0)*s:-1!==t.indexOf(""ccw"")&&o>0&&(o=(o-9999999999*s)%s-(o/s|0)*s)),a=e+o),1e-6>a&&a>-1e-6&&(a=0),a},at={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]},lt=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,255*(1>6*t?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},ct=o.parseColor=function(t,e){var i,n,s,r,o,a,l,c,h,u,d;if(t)if(""number""==typeof t)i=[t>>16,t>>8&255,255&t];else{if("",""===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),at[t])i=at[t];else if(""#""===t.charAt(0))4===t.length&&(n=t.charAt(1),s=t.charAt(2),r=t.charAt(3),t=""#""+n+n+s+s+r+r),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if(""hsl""===t.substr(0,3))if(i=d=t.match(g),e){if(-1!==t.indexOf(""=""))return t.match(_)}else o=Number(i[0])%360/360,a=Number(i[1])/100,l=Number(i[2])/100,s=.5>=l?l*(a+1):l+a-l*a,n=2*l-s,i.length>3&&(i[3]=Number(t[3])),i[0]=lt(o+1/3,n,s),i[1]=lt(o,n,s),i[2]=lt(o-1/3,n,s);else i=t.match(g)||at.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=at.black;return e&&!d&&(n=i[0]/255,s=i[1]/255,r=i[2]/255,c=Math.max(n,s,r),h=Math.min(n,s,r),l=(c+h)/2,c===h?o=a=0:(u=c-h,a=l>.5?u/(2-c-h):u/(c+h),o=c===n?(s-r)/u+(r>s?6:0):c===s?(r-n)/u+2:(n-s)/u+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},ht=function(t,e){var i,n,s,r=t.match(ut)||[],o=0,a=r.length?"""":t;for(i=0;i<r.length;i++)n=r[i],s=t.substr(o,t.indexOf(n,o)-o),o+=s.length+n.length,n=ct(n,e),3===n.length&&n.push(1),a+=s+(e?""hsla(""+n[0]+"",""+n[1]+""%,""+n[2]+""%,""+n[3]:""rgba(""+n.join("",""))+"")"";return a},ut=""(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b"";for(c in at)ut+=""|""+c+""\\b"";ut=new RegExp(ut+"")"",""gi""),o.colorStringFilter=function(t){var e,i=t[0]+t[1];ut.lastIndex=0,ut.test(i)&&(e=-1!==i.indexOf(""hsl("")||-1!==i.indexOf(""hsla(""),t[0]=ht(t[0],e),t[1]=ht(t[1],e))},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var dt=function(t,e,i,n){if(null==t)return function(t){return t};var s,r=e?(t.match(ut)||[""""])[0]:"""",o=t.split(r).join("""").match(v)||[],a=t.substr(0,t.indexOf(o[0])),l="")""===t.charAt(t.length-1)?"")"":"""",c=-1!==t.indexOf("" "")?"" "":"","",h=o.length,u=h>0?o[0].replace(g,""""):"""";return h?s=e?function(t){var e,d,p,f;if(""number""==typeof t)t+=u;else if(n&&I.test(t)){for(f=t.replace(I,""|"").split(""|""),p=0;p<f.length;p++)f[p]=s(f[p]);return f.join("","")}if(e=(t.match(ut)||[r])[0],d=t.split(e).join("""").match(v)||[],p=d.length,h>p--)for(;++p<h;)d[p]=i?d[(p-1)/2|0]:o[p];return a+d.join(c)+c+e+l+(-1!==t.indexOf(""inset"")?"" inset"":"""")}:function(t){var e,r,d;if(""number""==typeof t)t+=u;else if(n&&I.test(t)){for(r=t.replace(I,""|"").split(""|""),d=0;d<r.length;d++)r[d]=s(r[d]);return r.join("","")}if(e=t.match(v)||[],d=e.length,h>d--)for(;++d<h;)e[d]=i?e[(d-1)/2|0]:o[d];return a+e.join(c)+l}:function(t){return t}},pt=function(t){return t=t.split("",""),function(e,i,n,s,r,o,a){var l,c=(i+"""").split("" "");for(a={},l=0;4>l;l++)a[t[l]]=c[l]=c[l]||c[(l-1)/2>>0];return s.parse(e,a,r,o)}},ft=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,r,o=this.data,a=o.proxy,l=o.firstMPT;l;)e=a[l.v],l.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=a.rotation),1===t||0===t)for(l=o.firstMPT,r=1===t?""e"":""b"";l;){if(i=l.t,i.type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i[""xn""+n]+i[""xs""+(n+1)];i[r]=s}}else i[r]=i.s+i.xs0;l=l._next}},function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),mt=(H._parseToProxy=function(t,e,i,n,s,r){var o,a,l,c,h,u=n,d={},p={},f=i._transform,m=M;for(i._transform=null,M=e,n=h=i.parse(t,e,n,s),M=m,r&&(i._transform=f,u&&(u._prev=null,u._prev&&(u._prev._next=null)));n&&n!==u;){if(n.type<=1&&(a=n.p,p[a]=n.s+n.c,d[a]=n.s,r||(c=new ft(n,""s"",a,c,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],d[a]=n[l],r||(c=new ft(n,l,a,c,n.rxp[l]));n=n._next}return{proxy:d,end:p,firstMPT:c,pt:h}},H.CSSPropTween=function(t,e,n,s,o,a,l,c,h,u,d){this.t=t,this.p=e,this.s=n,this.c=s,this.n=l||e,t instanceof mt||r.push(this.n),this.r=c,this.type=a||0,h&&(this.pr=h,i=!0),this.b=void 0===u?n:u,this.e=void 0===d?n+s:d,o&&(this._next=o,o._prev=this)}),gt=function(t,e,i,n,s,r){var o=new mt(t,e,i,n-i,s,-1,r);return o.b=i,o.e=o.xs0=n,o},_t=o.parseComplex=function(t,e,i,n,s,r,o,a,l,c){i=i||r||"""",o=new mt(t,e,0,0,o,c?2:1,null,!1,a,i,n),n+="""";var u,d,p,f,m,v,y,w,T,b,E,S,x,P=i.split("", "").join("","").split("" ""),A=n.split("", "").join("","").split("" ""),C=P.length,L=!1!==h;for((-1!==n.indexOf("","")||-1!==i.indexOf("",""))&&(P=P.join("" "").replace(I,"", "").split("" ""),A=A.join("" "").replace(I,"", "").split("" ""),C=P.length),C!==A.length&&(P=(r||"""").split("" ""),C=P.length),o.plugin=l,o.setRatio=c,ut.lastIndex=0,u=0;C>u;u++)if(f=P[u],m=A[u],(w=parseFloat(f))||0===w)o.appendXtra("""",w,st(m,w),m.replace(_,""""),L&&-1!==m.indexOf(""px""),!0);else if(s&&ut.test(f))S="",""===m.charAt(m.length-1)?""),"":"")"",x=-1!==m.indexOf(""hsl"")&&B,f=ct(f,x),m=ct(m,x),T=f.length+m.length>6,T&&!B&&0===m[3]?(o[""xs""+o.l]+=o.l?"" transparent"":""transparent"",o.e=o.e.split(A[u]).join(""transparent"")):(B||(T=!1),x?o.appendXtra(T?""hsla("":""hsl("",f[0],st(m[0],f[0]),"","",!1,!0).appendXtra("""",f[1],st(m[1],f[1]),""%,"",!1).appendXtra("""",f[2],st(m[2],f[2]),T?""%,"":""%""+S,!1):o.appendXtra(T?""rgba("":""rgb("",f[0],m[0]-f[0],"","",!0,!0).appendXtra("""",f[1],m[1]-f[1],"","",!0).appendXtra("""",f[2],m[2]-f[2],T?"","":S,!0),T&&(f=f.length<4?1:f[3],o.appendXtra("""",f,(m.length<4?1:m[3])-f,S,!1))),ut.lastIndex=0;else if(v=f.match(g)){if(!(y=m.match(_))||y.length!==v.length)return o;for(p=0,d=0;d<v.length;d++)E=v[d],b=f.indexOf(E,p),o.appendXtra(f.substr(p,b-p),Number(E),st(y[d],E),"""",L&&""px""===f.substr(b+E.length,2),0===d),p=b+E.length;o[""xs""+o.l]+=f.substr(p)}else o[""xs""+o.l]+=o.l?"" ""+m:m;if(-1!==n.indexOf(""="")&&o.data){for(S=o.xs0+o.data.s,u=1;u<o.l;u++)S+=o[""xs""+u]+o.data[""xn""+u];o.e=S+o[""xs""+u]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},vt=9;for(c=mt.prototype,c.l=c.pr=0;--vt>0;)c[""xn""+vt]=0,c[""xs""+vt]="""";c.xs0="""",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(t,e,i,n,s,r){var o=this,a=o.l;return o[""xs""+a]+=r&&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]=s,o[""xn""+a]=e,o.plugin||(o.xfirst=new mt(o,""xn""+a,e,i,o.xfirst||o,0,o.n,s,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i}, | |
o.rxp={},o.s=e,o.c=i,o.r=s,o)):(o[""xs""+a]+=e+(n||""""),o)};var yt=function(t,e){e=e||{},this.p=e.prefix?U(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||dt(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},wt=H._registerComplexSpecialProp=function(t,e,i){""object""!=typeof e&&(e={parser:i});var n,s=t.split("",""),r=e.defaultValue;for(i=i||[r],n=0;n<s.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||r,new yt(s[n],e)};c=yt.prototype,c.parseComplex=function(t,e,i,n,s,r){var o,a,l,c,h,u,d=this.keyword;if(this.multi&&(I.test(i)||I.test(e)?(a=e.replace(I,""|"").split(""|""),l=i.replace(I,""|"").split(""|"")):d&&(a=[e],l=[i])),l){for(c=l.length>a.length?l.length:a.length,o=0;c>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,d&&(h=e.indexOf(d),u=i.indexOf(d),h!==u&&(-1===u?a[o]=a[o].split(d).join(""""):-1===h&&(a[o]+="" ""+d)));e=a.join("", ""),i=l.join("", "")}return _t(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,r)},c.parse=function(t,e,i,n,r,o,a){return this.parseComplex(t.style,this.format(X(t,this.p,s,!1,this.dflt)),this.format(e),r,o)},o.registerSpecialProp=function(t,e,i){wt(t,{parser:function(t,n,s,r,o,a,l){var c=new mt(t,s,0,0,o,2,s,!1,i);return c.plugin=a,c.setRatio=e(t,n,r._tween,s),c},priority:i})},o.useSVGTransformAttr=d||p;var Tt,bt=""scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent"".split("",""),Et=U(""transform""),St=G+""transform"",xt=U(""transformOrigin""),Pt=null!==U(""perspective""),At=H.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Pt)&&(o.defaultForce3D||""auto"")},Ct=window.SVGElement,Lt=function(t,e,i){var n,s=N.createElementNS(""http://www.w3.org/2000/svg"",t),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,""$1-$2"").toLowerCase(),i[n]);return e.appendChild(s),s},kt=N.documentElement,Ot=function(){var t,e,i,n=m||/Android/i.test(F)&&!window.chrome;return N.createElementNS&&!n&&(t=Lt(""svg"",kt),e=Lt(""rect"",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[xt]=""50% 50%"",e.style[Et]=""scaleX(0.5)"",n=i===e.getBoundingClientRect().width&&!(p&&Pt),kt.removeChild(t)),n}(),It=function(t,e,i,n,s){var r,a,l,c,h,u,d,p,f,m,g,_,v,y,w=t._gsTransform,T=Mt(t,!0);w&&(v=w.xOrigin,y=w.yOrigin),(!n||(r=n.split("" "")).length<2)&&(d=t.getBBox(),e=nt(e).split("" ""),r=[(-1!==e[0].indexOf(""%"")?parseFloat(e[0])/100*d.width:parseFloat(e[0]))+d.x,(-1!==e[1].indexOf(""%"")?parseFloat(e[1])/100*d.height:parseFloat(e[1]))+d.y]),i.xOrigin=c=parseFloat(r[0]),i.yOrigin=h=parseFloat(r[1]),n&&T!==jt&&(u=T[0],d=T[1],p=T[2],f=T[3],m=T[4],g=T[5],_=u*f-d*p,a=c*(f/_)+h*(-p/_)+(p*g-f*m)/_,l=c*(-d/_)+h*(u/_)-(u*g-d*m)/_,c=i.xOrigin=r[0]=a,h=i.yOrigin=r[1]=l),w&&(s||!1!==s&&!1!==o.defaultSmoothOrigin?(a=c-v,l=h-y,w.xOffset+=a*T[0]+l*T[2]-a,w.yOffset+=a*T[1]+l*T[3]-l):w.xOffset=w.yOffset=0),t.setAttribute(""data-svg-origin"",r.join("" ""))},Rt=function(t){return!!(Ct&&""function""==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},jt=[1,0,0,1,0,0],Mt=function(t,e){var i,n,s,r,o,a=t._gsTransform||new At;if(Et?n=X(t,St,null,!0):t.currentStyle&&(n=t.currentStyle.filter.match(k),n=n&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),a.x||0,a.y||0].join("",""):""""),i=!n||""none""===n||""matrix(1, 0, 0, 1, 0, 0)""===n,(a.svg||t.getBBox&&Rt(t))&&(i&&-1!==(t.style[Et]+"""").indexOf(""matrix"")&&(n=t.style[Et],i=0),s=t.getAttribute(""transform""),i&&s&&(-1!==s.indexOf(""matrix"")?(n=s,i=0):-1!==s.indexOf(""translate"")&&(n=""matrix(1,0,0,1,""+s.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join("","")+"")"",i=0))),i)return jt;for(s=(n||"""").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],vt=s.length;--vt>-1;)r=Number(s[vt]),s[vt]=(o=r-(r|=0))?(1e5*o+(0>o?-.5:.5)|0)/1e5+r:r;return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Nt=H.getTransform=function(t,i,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var a,l,c,h,u,d,p=n?t._gsTransform||new At:new At,f=p.scaleX<0,m=1e5,g=Pt?parseFloat(X(t,xt,i,!1,""0 0 0"").split("" "")[2])||p.zOrigin||0:0,_=parseFloat(o.defaultTransformPerspective)||0;if(p.svg=!(!t.getBBox||!Rt(t)),p.svg&&(It(t,X(t,xt,s,!1,""50% 50%"")+"""",p,t.getAttribute(""data-svg-origin"")),Tt=o.useSVGTransformAttr||Ot),(a=Mt(t))!==jt){if(16===a.length){var v,y,w,T,b,E=a[0],S=a[1],x=a[2],P=a[3],A=a[4],C=a[5],L=a[6],k=a[7],O=a[8],I=a[9],R=a[10],M=a[12],N=a[13],D=a[14],V=a[11],$=Math.atan2(L,R);p.zOrigin&&(D=-p.zOrigin,M=O*D-a[12],N=I*D-a[13],D=R*D+p.zOrigin-a[14]),p.rotationX=$*j,$&&(T=Math.cos(-$),b=Math.sin(-$),v=A*T+O*b,y=C*T+I*b,w=L*T+R*b,O=A*-b+O*T,I=C*-b+I*T,R=L*-b+R*T,V=k*-b+V*T,A=v,C=y,L=w),$=Math.atan2(-x,R),p.rotationY=$*j,$&&(T=Math.cos(-$),b=Math.sin(-$),v=E*T-O*b,y=S*T-I*b,w=x*T-R*b,I=S*b+I*T,R=x*b+R*T,V=P*b+V*T,E=v,S=y,x=w),$=Math.atan2(S,E),p.rotation=$*j,$&&(T=Math.cos(-$),b=Math.sin(-$),E=E*T+A*b,y=S*T+C*b,C=S*-b+C*T,L=x*-b+L*T,S=y),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),p.scaleX=(Math.sqrt(E*E+S*S)*m+.5|0)/m,p.scaleY=(Math.sqrt(C*C+I*I)*m+.5|0)/m,p.scaleZ=(Math.sqrt(L*L+R*R)*m+.5|0)/m,p.skewX=0,p.perspective=V?1/(0>V?-V:V):0,p.x=M,p.y=N,p.z=D,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*E-p.yOrigin*A),p.y-=p.yOrigin-(p.yOrigin*S-p.xOrigin*C))}else if((!Pt||r||!a.length||p.x!==a[4]||p.y!==a[5]||!p.rotationX&&!p.rotationY)&&(void 0===p.x||""none""!==X(t,""display"",i))){var H=a.length>=6,F=H?a[0]:1,B=a[1]||0,z=a[2]||0,q=H?a[3]:1;p.x=a[4]||0,p.y=a[5]||0,c=Math.sqrt(F*F+B*B),h=Math.sqrt(q*q+z*z),u=F||B?Math.atan2(B,F)*j:p.rotation||0,d=z||q?Math.atan2(z,q)*j+u:p.skewX||0,Math.abs(d)>90&&Math.abs(d)<270&&(f?(c*=-1,d+=0>=u?180:-180,u+=0>=u?180:-180):(h*=-1,d+=0>=d?180:-180)),p.scaleX=c,p.scaleY=h,p.rotation=u,p.skewX=d,Pt&&(p.rotationX=p.rotationY=p.z=0,p.perspective=_,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*F+p.yOrigin*z),p.y-=p.yOrigin-(p.xOrigin*B+p.yOrigin*q))}p.zOrigin=g;for(l in p)p[l]<2e-5&&p[l]>-2e-5&&(p[l]=0)}return n&&(t._gsTransform=p,p.svg&&(Tt&&t.style[Et]?e.delayedCall(.001,function(){Ht(t.style,Et)}):!Tt&&t.getAttribute(""transform"")&&e.delayedCall(.001,function(){t.removeAttribute(""transform"")}))),p},Dt=function(t){var e,i,n=this.data,s=-n.rotation*R,r=s+n.skewX*R,o=1e5,a=(Math.cos(s)*n.scaleX*o|0)/o,l=(Math.sin(s)*n.scaleX*o|0)/o,c=(Math.sin(r)*-n.scaleY*o|0)/o,h=(Math.cos(r)*n.scaleY*o|0)/o,u=this.t.style,d=this.t.currentStyle;if(d){i=l,l=-c,c=-i,e=d.filter,u.filter="""";var p,f,g=this.t.offsetWidth,_=this.t.offsetHeight,v=""absolute""!==d.position,y=""progid:DXImageTransform.Microsoft.Matrix(M11=""+a+"", M12=""+l+"", M21=""+c+"", M22=""+h,b=n.x+g*n.xPercent/100,E=n.y+_*n.yPercent/100;if(null!=n.ox&&(p=(n.oxp?g*n.ox*.01:n.ox)-g/2,f=(n.oyp?_*n.oy*.01:n.oy)-_/2,b+=p-(p*a+f*l),E+=f-(p*c+f*h)),v?(p=g/2,f=_/2,y+="", Dx=""+(p-(p*a+f*l)+b)+"", Dy=""+(f-(p*c+f*h)+E)+"")""):y+="", sizingMethod='auto expand')"",-1!==e.indexOf(""DXImageTransform.Microsoft.Matrix("")?u.filter=e.replace(O,y):u.filter=y+"" ""+e,(0===t||1===t)&&1===a&&0===l&&0===c&&1===h&&(v&&-1===y.indexOf(""Dx=0, Dy=0"")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf(""Alpha""))&&u.removeAttribute(""filter"")),!v){var S,x,P,A=8>m?1:-1;for(p=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*_))/2+b),n.ieOffsetY=Math.round((_-((0>h?-h:h)*_+(0>c?-c:c)*g))/2+E),vt=0;4>vt;vt++)x=et[vt],S=d[x],i=-1!==S.indexOf(""px"")?parseFloat(S):K(this.t,x,parseFloat(S),S.replace(w,""""))||0,P=i!==n[x]?2>vt?-n.ieOffsetX:-n.ieOffsetY:2>vt?p-n.ieOffsetX:f-n.ieOffsetY,u[x]=(n[x]=Math.round(i-P*(0===vt||2===vt?1:A)))+""px""}}},Vt=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,i,n,s,r,o,a,l,c,h,u,d,f,m,g,_,v,y,w,T,b,E,S,x=this.data,P=this.t.style,A=x.rotation,C=x.rotationX,L=x.rotationY,k=x.scaleX,O=x.scaleY,I=x.scaleZ,j=x.x,M=x.y,N=x.z,D=x.svg,V=x.perspective,$=x.force3D;if(((1===t||0===t)&&""auto""===$&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!$)&&!N&&!V&&!L&&!C&&1===I||Tt&&D||!Pt)return void(A||x.skewX||D?(A*=R,E=x.skewX*R,S=1e5,e=Math.cos(A)*k,s=Math.sin(A)*k,i=Math.sin(A-E)*-O,r=Math.cos(A-E)*O,E&&""simple""===x.skewType&&(v=Math.tan(E),v=Math.sqrt(1+v*v),i*=v,r*=v,x.skewY&&(e*=v,s*=v)),D&&(j+=x.xOrigin-(x.xOrigin*e+x.yOrigin*i)+x.xOffset,M+=x.yOrigin-(x.xOrigin*s+x.yOrigin*r)+x.yOffset,Tt&&(x.xPercent||x.yPercent)&&(m=this.t.getBBox(),j+=.01*x.xPercent*m.width,M+=.01*x.yPercent*m.height),m=1e-6,m>j&&j>-m&&(j=0),m>M&&M>-m&&(M=0)),w=(e*S|0)/S+"",""+(s*S|0)/S+"",""+(i*S|0)/S+"",""+(r*S|0)/S+"",""+j+"",""+M+"")"",D&&Tt?this.t.setAttribute(""transform"",""matrix(""+w):P[Et]=(x.xPercent||x.yPercent?""translate(""+x.xPercent+""%,""+x.yPercent+""%) matrix("":""matrix("")+w):P[Et]=(x.xPercent||x.yPercent?""translate(""+x.xPercent+""%,""+x.yPercent+""%) matrix("":""matrix("")+k+"",0,0,""+O+"",""+j+"",""+M+"")"");if(p&&(m=1e-4,m>k&&k>-m&&(k=I=2e-5),m>O&&O>-m&&(O=I=2e-5),!V||x.z||x.rotationX||x.rotationY||(V=0)),A||x.skewX)A*=R,g=e=Math.cos(A),_=s=Math.sin(A),x.skewX&&(A-=x.skewX*R,g=Math.cos(A),_=Math.sin(A),""simple""===x.skewType&&(v=Math.tan(x.skewX*R),v=Math.sqrt(1+v*v),g*=v,_*=v,x.skewY&&(e*=v,s*=v))),i=-_,r=g;else{if(!(L||C||1!==I||V||D))return void(P[Et]=(x.xPercent||x.yPercent?""translate(""+x.xPercent+""%,""+x.yPercent+""%) translate3d("":""translate3d("")+j+""px,""+M+""px,""+N+""px)""+(1!==k||1!==O?"" scale(""+k+"",""+O+"")"":""""));e=r=1,i=s=0}c=1,n=o=a=l=h=u=0,d=V?-1/V:0,f=x.zOrigin,m=1e-6,T="","",b=""0"",A=L*R,A&&(g=Math.cos(A),_=Math.sin(A),a=-_,h=d*-_,n=e*_,o=s*_,c=g,d*=g,e*=g,s*=g),A=C*R,A&&(g=Math.cos(A),_=Math.sin(A),v=i*g+n*_,y=r*g+o*_,l=c*_,u=d*_,n=i*-_+n*g,o=r*-_+o*g,c*=g,d*=g,i=v,r=y),1!==I&&(n*=I,o*=I,c*=I,d*=I),1!==O&&(i*=O,r*=O,l*=O,u*=O),1!==k&&(e*=k,s*=k,a*=k,h*=k),(f||D)&&(f&&(j+=n*-f,M+=o*-f,N+=c*-f+f),D&&(j+=x.xOrigin-(x.xOrigin*e+x.yOrigin*i)+x.xOffset,M+=x.yOrigin-(x.xOrigin*s+x.yOrigin*r)+x.yOffset),m>j&&j>-m&&(j=b),m>M&&M>-m&&(M=b),m>N&&N>-m&&(N=0)),w=x.xPercent||x.yPercent?""translate(""+x.xPercent+""%,""+x.yPercent+""%) matrix3d("":""matrix3d("",w+=(m>e&&e>-m?b:e)+T+(m>s&&s>-m?b:s)+T+(m>a&&a>-m?b:a),w+=T+(m>h&&h>-m?b:h)+T+(m>i&&i>-m?b:i)+T+(m>r&&r>-m?b:r),C||L||1!==I?(w+=T+(m>l&&l>-m?b:l)+T+(m>u&&u>-m?b:u)+T+(m>n&&n>-m?b:n),w+=T+(m>o&&o>-m?b:o)+T+(m>c&&c>-m?b:c)+T+(m>d&&d>-m?b:d)+T):w+="",0,0,0,0,1,0,"",w+=j+T+M+T+N+T+(V?1+-N/V:1)+"")"",P[Et]=w};c=At.prototype,c.x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,wt(""transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin"",{parser:function(t,e,i,n,r,a,l){if(n._lastParsedTransform===l)return r;n._lastParsedTransform=l;var c,h,u,d,p,f,m,g,_,v,y=t._gsTransform,w=t.style,T=bt.length,b=l,E={},S=""transformOrigin"";if(l.display?(d=X(t,""display""),w.display=""block"",c=Nt(t,s,!0,l.parseTransform),w.display=d):c=Nt(t,s,!0,l.parseTransform),n._transform=c,""string""==typeof b.transform&&Et)d=V.style,d[Et]=b.transform,d.display=""block"",d.position=""absolute"",N.body.appendChild(V),h=Nt(V,null,!1),N.body.removeChild(V),h.perspective||(h.perspective=c.perspective),null!=b.xPercent&&(h.xPercent=rt(b.xPercent,c.xPercent)),null!=b.yPercent&&(h.yPercent=rt(b.yPercent,c.yPercent));else if(""object""==typeof b){if(h={scaleX:rt(null!=b.scaleX?b.scaleX:b.scale,c.scaleX),scaleY:rt(null!=b.scaleY?b.scaleY:b.scale,c.scaleY),scaleZ:rt(b.scaleZ,c.scaleZ),x:rt(b.x,c.x),y:rt(b.y,c.y),z:rt(b.z,c.z),xPercent:rt(b.xPercent,c.xPercent),yPercent:rt(b.yPercent,c.yPercent),perspective:rt(b.transformPerspective,c.perspective)},null!=(g=b.directionalRotation))if(""object""==typeof g)for(d in g)b[d]=g[d];else b.rotation=g;""string""==typeof b.x&&-1!==b.x.indexOf(""%"")&&(h.x=0,h.xPercent=rt(b.x,c.xPercent)),""string""==typeof b.y&&-1!==b.y.indexOf(""%"")&&(h.y=0,h.yPercent=rt(b.y,c.yPercent)),h.rotation=ot(""rotation""in b?b.rotation:""shortRotation""in b?b.shortRotation+""_short"":""rotationZ""in b?b.rotationZ:c.rotation,c.rotation,""rotation"",E),Pt&&(h.rotationX=ot(""rotationX""in b?b.rotationX:""shortRotationX""in b?b.shortRotationX+""_short"":c.rotationX||0,c.rotationX,""rotationX"",E),h.rotationY=ot(""rotationY""in b?b.rotationY:""shortRotationY""in b?b.shortRotationY+""_short"":c.rotationY||0,c.rotationY,""rotationY"",E)),h.skewX=null==b.skewX?c.skewX:ot(b.skewX,c.skewX),h.skewY=null==b.skewY?c.skewY:ot(b.skewY,c.skewY),(u=h.skewY-c.skewY)&&(h.skewX+=u,h.rotation+=u)}for(Pt&&null!=b.force3D&&(c.force3D=b.force3D,m=!0),c.skewType=b.skewType||c.skewType||o.defaultSkewType,(f=c.force3D||c.z||c.rotationX||c.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==b.scale||(h.scaleZ=1);--T>-1;)i=bt[T],((p=h[i]-c[i])>1e-6||-1e-6>p||null!=b[i]||null!=M[i])&&(m=!0,r=new mt(c,i,c[i],p,r),i in E&&(r.e=E[i]),r.xs0=0,r.plugin=a,n._overwriteProps.push(r.n));return p=b.transformOrigin,c.svg&&(p||b.svgOrigin)&&(_=c.xOffset,v=c.yOffset,It(t,nt(p),h,b.svgOrigin,b.smoothOrigin),r=gt(c,""xOrigin"",(y?c:h).xOrigin,h.xOrigin,r,S),r=gt(c,""yOrigin"",(y?c:h).yOrigin,h.yOrigin,r,S),(_!==c.xOffset||v!==c.yOffset)&&(r=gt(c,""xOffset"",y?_:c.xOffset,c.xOffset,r,S),r=gt(c,""yOffset"",y?v:c.yOffset,c.yOffset,r,S)),p=Tt?null:""0px 0px""),(p||Pt&&f&&c.zOrigin)&&(Et?(m=!0,i=xt,p=(p||X(t,i,s,!1,""50% 50%""))+"""",r=new mt(w,i,0,0,r,-1,S),r.b=w[i],r.plugin=a,Pt?(d=c.zOrigin,p=p.split("" ""),c.zOrigin=(p.length>2&&(0===d||""0px""!==p[2])?parseFloat(p[2]):d)||0,r.xs0=r.e=p[0]+"" ""+(p[1]||""50%"")+"" 0px"",r=new mt(c,""zOrigin"",0,0,r,-1,r.n),r.b=d,r.xs0=r.e=c.zOrigin):r.xs0=r.e=p):nt(p+"""",c)),m&&(n._transformType=c.svg&&Tt||!f&&3!==this._transformType?2:3),r},prefix:!0}),wt(""boxShadow"",{defaultValue:""0px 0px 0px 0px #999"",prefix:!0,color:!0,multi:!0,keyword:""inset""}),wt(""borderRadius"",{defaultValue:""0px"",parser:function(t,e,i,r,o,a){e=this.format(e);var l,c,h,u,d,p,f,m,g,_,v,y,w,T,b,E,S=[""borderTopLeftRadius"",""borderTopRightRadius"",""borderBottomRightRadius"",""borderBottomLeftRadius""],x=t.style;for(g=parseFloat(t.offsetWidth),_=parseFloat(t.offsetHeight),l=e.split("" ""),c=0;c<S.length;c++)this.p.indexOf(""border"")&&(S[c]=U(S[c])),d=u=X(t,S[c],s,!1,""0px""),-1!==d.indexOf("" "")&&(u=d.split("" ""),d=u[0],u=u[1]),p=h=l[c],f=parseFloat(d),y=d.substr((f+"""").length),w=""=""===p.charAt(1),w?(m=parseInt(p.charAt(0)+""1"",10),p=p.substr(2),m*=parseFloat(p),v=p.substr((m+"""").length-(0>m?1:0))||""""):(m=parseFloat(p),v=p.substr((m+"""").length)),""""===v&&(v=n[i]||y),v!==y&&(T=K(t,""borderLeft"",f,y),b=K(t,""borderTop"",f,y),""%""===v?(d=T/g*100+""%"",u=b/_*100+""%""):""em""===v?(E=K(t,""borderLeft"",1,""em""),d=T/E+""em"",u=b/E+""em""):(d=T+""px"",u=b+""px""),w&&(p=parseFloat(d)+m+v,h=parseFloat(u)+m+v)),o=_t(x,S[c],d+"" ""+u,p+"" ""+h,!1,""0px"",o);return o},prefix:!0,formatter:dt(""0px 0px 0px 0px"",!1,!0)}),wt(""backgroundPosition"",{defaultValue:""0 0"",parser:function(t,e,i,n,r,o){var a,l,c,h,u,d,p=""background-position"",f=s||Y(t,null),g=this.format((f?m?f.getPropertyValue(p+""-x"")+"" ""+f.getPropertyValue(p+""-y""):f.getPropertyValue(p):t.currentStyle.backgroundPositionX+"" ""+t.currentStyle.backgroundPositionY)||""0 0""),_=this.format(e);if(-1!==g.indexOf(""%"")!=(-1!==_.indexOf(""%""))&&(d=X(t,""backgroundImage"").replace(A,""""))&&""none""!==d){for(a=g.split("" ""),l=_.split("" ""),$.setAttribute(""src"",d),c=2;--c>-1;)g=a[c],(h=-1!==g.indexOf(""%""))!==(-1!==l[c].indexOf(""%""))&&(u=0===c?t.offsetWidth-$.width:t.offsetHeight-$.height,a[c]=h?parseFloat(g)/100*u+""px"":parseFloat(g)/u*100+""%"");g=a.join("" "")}return this.parseComplex(t.style,g,_,r,o)},formatter:nt}),wt(""backgroundSize"",{defaultValue:""0 0"",formatter:nt}),wt(""perspective"",{defaultValue:""0px"",prefix:!0}),wt(""perspectiveOrigin"",{defaultValue:""50% 50%"",prefix:!0}),wt(""transformStyle"",{prefix:!0}),wt(""backfaceVisibility"",{prefix:!0}),wt(""userSelect"",{prefix:!0}),wt(""margin"",{parser:pt(""marginTop,marginRight,marginBottom,marginLeft"")}),wt(""padding"",{parser:pt(""paddingTop,paddingRight,paddingBottom,paddingLeft"")}),wt(""clip"",{defaultValue:""rect(0px,0px,0px,0px)"",parser:function(t,e,i,n,r,o){var a,l,c;return 9>m?(l=t.currentStyle,c=8>m?"" "":"","",a=""rect(""+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+"")"",e=this.format(e).split("","").join(c)):(a=this.format(X(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,r,o)}}),wt(""textShadow"",{defaultValue:""0px 0px 0px #999"",color:!0,multi:!0}),wt(""autoRound,strictUnits"",{parser:function(t,e,i,n,s){return s}}),wt(""border"",{defaultValue:""0px solid #000"",parser:function(t,e,i,n,r,o){return this.parseComplex(t.style,this.format(X(t,""borderTopWidth"",s,!1,""0px"")+"" ""+X(t,""borderTopStyle"",s,!1,""solid"")+"" ""+X(t,""borderTopColor"",s,!1,""#000"")),this.format(e),r,o)},color:!0,formatter:function(t){var e=t.split("" "");return e[0]+"" ""+(e[1]||""solid"")+"" ""+(t.match(ut)||[""#000""])[0]}}),wt(""borderWidth"",{parser:pt(""borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth"")}),wt(""float,cssFloat,styleFloat"",{parser:function(t,e,i,n,s,r){var o=t.style,a=""cssFloat""in o?""cssFloat"":""styleFloat"";return new mt(o,a,0,0,s,-1,i,!1,0,o[a],e)}});var $t=function(t){var e,i=this.t,n=i.filter||X(this.data,""filter"")||"""",s=this.s+this.c*t|0;100===s&&(-1===n.indexOf(""atrix("")&&-1===n.indexOf(""radient("")&&-1===n.indexOf(""oader("")?(i.removeAttribute(""filter""),e=!X(this.data,""filter"")):(i.filter=n.replace(E,""""),e=!0)),e||(this.xn1&&(i.filter=n=n||""alpha(opacity=""+s+"")""),-1===n.indexOf(""pacity"")?0===s&&this.xn1||(i.filter=n+"" alpha(opacity=""+s+"")""):i.filter=n.replace(T,""opacity=""+s))};wt(""opacity,alpha,autoAlpha"",{defaultValue:""1"",parser:function(t,e,i,n,r,o){var a=parseFloat(X(t,""opacity"",s,!1,""1"")),l=t.style,c=""autoAlpha""===i;return""string""==typeof e&&""=""===e.charAt(1)&&(e=(""-""===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),c&&1===a&&""hidden""===X(t,""visibility"",s)&&0!==e&&(a=0),B?r=new mt(l,""opacity"",a,e-a,r):(r=new mt(l,""opacity"",100*a,100*(e-a),r),r.xn1=c?1:0,l.zoom=1,r.type=2,r.b=""alpha(opacity=""+r.s+"")"",r.e=""alpha(opacity=""+(r.s+r.c)+"")"",r.data=t,r.plugin=o,r.setRatio=$t),c&&(r=new mt(l,""visibility"",0,0,r,-1,null,!1,0,0!==a?""inherit"":""hidden"",0===e?""hidden"":""inherit""),r.xs0=""inherit"",n._overwriteProps.push(r.n),n._overwriteProps.push(i)),r}});var Ht=function(t,e){e&&(t.removeProperty?((""ms""===e.substr(0,2)||""webkit""===e.substr(0,6))&&(e=""-""+e),t.removeProperty(e.replace(x,""-$1"").toLowerCase())):t.removeAttribute(e))},Ft=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:Ht(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)};wt(""className"",{parser:function(t,e,n,r,o,a,l){var c,h,u,d,p,f=t.getAttribute(""class"")||"""",m=t.style.cssText;if(o=r._classNamePT=new mt(t,n,0,0,o,2),o.setRatio=Ft,o.pr=-11,i=!0,o.b=f,h=Q(t,s),u=t._gsClassPT){for(d={},p=u.data;p;)d[p.p]=1,p=p._next;u.setRatio(1)}return t._gsClassPT=o,o.e=""=""!==e.charAt(1)?e:f.replace(new RegExp(""\\s*\\b""+e.substr(2)+""\\b""),"""")+(""+""===e.charAt(0)?"" ""+e.substr(2):""""),t.setAttribute(""class"",o.e),c=Z(t,h,Q(t),l,d),t.setAttribute(""class"",f),o.data=c.firstMPT,t.style.cssText=m,o=o.xfirst=r.parse(t,c.difs,o,a)}});var Bt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&""isFromStart""!==this.data.data){var e,i,n,s,r,o=this.t.style,a=l.transform.parse;if(""all""===this.e)o.cssText="""",s=!0;else for(e=this.e.split("" "").join("""").split("",""),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===a?s=!0:i=""transformOrigin""===i?xt:l[i].p),Ht(o,i);s&&(Ht(o,Et),(r=this.t._gsTransform)&&(r.svg&&(this.t.removeAttribute(""data-svg-origin""),this.t.removeAttribute(""transform"")),delete this.t._gsTransform))}};for(wt(""clearProps"",{parser:function(t,e,n,s,r){return r=new mt(t,n,0,0,r,2),r.setRatio=Bt,r.e=e,r.pr=-10,r.data=s._tween,i=!0,r}}),c=""bezier,throwProps,physicsProps,physics2D"".split("",""),vt=c.length;vt--;)!function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+""Plugin"";wt(t,{parser:function(t,i,n,s,r,o,c){var h=a.com.greensock.plugins[e];return h?(h._cssRegister(),l[n].parse(t,i,n,s,r,o,c)):(q(""Error: ""+e+"" js file not loaded.""),r)}})}}(c[vt]);c=o.prototype,c._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(t,e,a){if(!t.nodeType)return!1;this._target=t,this._tween=a,this._vars=e,h=e.autoRound,i=!1,n=e.suffixMap||o.suffixMap,s=Y(t,""""),r=this._overwriteProps;var c,p,m,g,_,v,y,w,T,E=t.style;if(u&&""""===E.zIndex&&(""auto""===(c=X(t,""zIndex"",s))||""""===c)&&this._addLazySet(E,""zIndex"",0),""string""==typeof e&&(g=E.cssText,c=Q(t,s),E.cssText=g+"";""+e,c=Z(t,c,Q(t)).difs,!B&&b.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,E.cssText=g),e.className?this._firstPT=p=l.className.parse(t,e.className,""className"",this,null,null,e):this._firstPT=p=this.parse(t,e,null),this._transformType){for(T=3===this._transformType,Et?d&&(u=!0,""""===E.zIndex&&(""auto""===(y=X(t,""zIndex"",s))||""""===y)&&this._addLazySet(E,""zIndex"",0),f&&this._addLazySet(E,""WebkitBackfaceVisibility"",this._vars.WebkitBackfaceVisibility||(T?""visible"":""hidden""))):E.zoom=1,m=p;m&&m._next;)m=m._next;w=new mt(t,""transform"",0,0,null,2),this._linkCSSP(w,null,m),w.setRatio=Et?Vt:Dt,w.data=this._transform||Nt(t,s,!0),w.tween=a,w.pr=-1,r.pop()}if(i){for(;p;){for(v=p._next,m=g;m&&m.pr>p.pr;)m=m._next;(p._prev=m?m._prev:_)?p._prev._next=p:g=p,(p._next=m)?m._prev=p:_=p,p=v}this._firstPT=g}return!0},c.parse=function(t,e,i,r){var o,a,c,u,d,p,f,m,g,_,v=t.style;for(o in e)p=e[o],a=l[o],a?i=a.parse(t,p,o,this,i,r,e):(d=X(t,o,s)+"""",g=""string""==typeof p,""color""===o||""fill""===o||""stroke""===o||-1!==o.indexOf(""Color"")||g&&S.test(p)?(g||(p=ct(p),p=(p.length>3?""rgba("":""rgb("")+p.join("","")+"")""),i=_t(v,o,d,p,!0,""transparent"",i,0,r)):!g||-1===p.indexOf("" "")&&-1===p.indexOf("","")?(c=parseFloat(d),f=c||0===c?d.substr((c+"""").length):"""",(""""===d||""auto""===d)&&(""width""===o||""height""===o?(c=it(t,o,s),f=""px""):""left""===o||""top""===o?(c=J(t,o,s),f=""px""):(c=""opacity""!==o?0:1,f="""")),_=g&&""=""===p.charAt(1),_?(u=parseInt(p.charAt(0)+""1"",10),p=p.substr(2),u*=parseFloat(p),m=p.replace(w,"""")):(u=parseFloat(p),m=g?p.replace(w,""""):""""),""""===m&&(m=o in n?n[o]:f),p=u||0===u?(_?u+c:u)+m:e[o],f!==m&&""""!==m&&(u||0===u)&&c&&(c=K(t,o,c,f),""%""===m?(c/=K(t,o,100,""%"")/100,!0!==e.strictUnits&&(d=c+""%"")):""em""===m||""rem""===m||""vw""===m||""vh""===m?c/=K(t,o,1,m):""px""!==m&&(u=K(t,o,u,m),m=""px""),_&&(u||0===u)&&(p=u+c+m)),_&&(u+=c),!c&&0!==c||!u&&0!==u?void 0!==v[o]&&(p||p+""""!=""NaN""&&null!=p)?(i=new mt(v,o,u||c||0,0,i,-1,o,!1,0,d,p),i.xs0=""none""!==p||""display""!==o&&-1===o.indexOf(""Style"")?p:d):q(""invalid ""+o+"" tween value: ""+e[o]):(i=new mt(v,o,c,u-c,i,0,o,!1!==h&&(""px""===m||""zIndex""===o),0,d,p),i.xs0=m)):i=_t(v,o,d,p,!0,null,i,0,r)),r&&i&&!i.plugin&&(i.plugin=r);return i},c.setRatio=function(t){var e,i,n,s=this._firstPT;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||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s[""xn""+n]+s[""xs""+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(e=Math.round(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s[""xn""+n]+s[""xs""+(n+1)];s.t[s.p]=i}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},c._enableTransforms=function(t){this._transform=this._transform||Nt(this._target,s,!0),this._transformType=this._transform.svg&&Tt||!t&&3!==this._transformType?2:3};var zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};c._addLazySet=function(t,e,i){var n=this._firstPT=new mt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=zt,n.data=this},c._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},c._kill=function(e){var i,n,s,r=e;if(e.autoAlpha||e.alpha){r={};for(n in e)r[n]=e[n];r.opacity=1,r.autoAlpha&&(r.visibility=1)}return e.className&&(i=this._classNamePT)&&(s=i.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):s===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePT=null),t.prototype._kill.call(this,r)};var qt=function(t,e,i){var n,s,r,o;if(t.slice)for(s=t.length;--s>-1;)qt(t[s],e,i);else for(n=t.childNodes,s=n.length;--s>-1;)r=n[s],o=r.type,r.style&&(e.push(Q(r)),i&&i.push(r)),1!==o&&9!==o&&11!==o||!r.childNodes.length||qt(r,e,i)};return o.cascadeTo=function(t,i,n){var s,r,o,a,l=e.to(t,i,n),c=[l],h=[],u=[],d=[],p=e._internals.reservedProps;for(t=l._targets||l.target,qt(t,h,d),l.render(i,!0,!0),qt(t,u),l.render(0,!0,!0),l._enabled(!0),s=d.length;--s>-1;)if(r=Z(d[s],h[s],u[s]),r.firstMPT){r=r.difs;for(o in n)p[o]&&(r[o]=n[o]);a={};for(o in r)a[o]=h[s][o];c.push(e.fromTo(d[s],i,a,r))}return c},t.activate([o]),o},!0),function(){var t=_gsScope._gsDefine.plugin({propName:""roundProps"",version:""1.5"",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){for(;t;)t.f||t.blob||(t.r=1),t=t._next},i=t.prototype;i._onInitAllProps=function(){for(var t,i,n,s=this._tween,r=s.vars.roundProps.join?s.vars.roundProps:s.vars.roundProps.split("",""),o=r.length,a={},l=s._propLookup.roundProps;--o>-1;)a[r[o]]=1;for(o=r.length;--o>-1;)for(t=r[o],i=s._firstPT;i;)n=i._next,i.pg?i.t._roundProps(a,!0):i.n===t&&(2===i.f&&i.t?e(i.t._firstPT):(this._add(i.t,t,i.s,i.c),n&&(n._prev=i._prev),i._prev?i._prev._next=n:s._firstPT===i&&(s._firstPT=n),i._next=i._prev=null,s._propLookup[t]=l)),i=n;return!1},i._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),function(){_gsScope._gsDefine.plugin({propName:""attr"",API:2,version:""0.5.0"",init:function(t,e,i){var n;if(""function""!=typeof t.setAttribute)return!1;for(n in e)this._addTween(t,""setAttribute"",t.getAttribute(n)+"""",e[n]+"""",n,!1,n),this._overwriteProps.push(n);return!0}})}(),_gsScope._gsDefine.plugin({propName:""directionalRotation"",version:""0.2.1"",API:2,init:function(t,e,i){""object""!=typeof e&&(e={rotation:e}),this.finals={};var n,s,r,o,a,l,c=!0===e.useRadians?2*Math.PI:360;for(n in e)""useRadians""!==n&&(l=(e[n]+"""").split(""_""),s=l[0],r=parseFloat(""function""!=typeof t[n]?t[n]:t[n.indexOf(""set"")||""function""!=typeof t[""get""+n.substr(3)]?n:""get""+n.substr(3)]()),o=this.finals[n]=""string""==typeof s&&""=""===s.charAt(1)?r+parseInt(s.charAt(0)+""1"",10)*Number(s.substr(2)):Number(s)||0,a=o-r,l.length&&(s=l.join(""_""),-1!==s.indexOf(""short"")&&(a%=c)!==a%(c/2)&&(a=0>a?a+c:a-c),-1!==s.indexOf(""_cw"")&&0>a?a=(a+9999999999*c)%c-(a/c|0)*c:-1!==s.indexOf(""ccw"")&&a>0&&(a=(a-9999999999*c)%c-(a/c|0)*c)),(a>1e-6||-1e-6>a)&&(this._addTween(t,n,r,r+a,n),this._overwriteProps.push(n)));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,_gsScope._gsDefine(""easing.Back"",[""easing.Ease""],function(t){var e,i,n,s=_gsScope.GreenSockGlobals||_gsScope,r=s.com.greensock,o=2*Math.PI,a=Math.PI/2,l=r._class,c=function(e,i){var n=l(""easing.""+e,function(){},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,n},h=t.register||function(){},u=function(t,e,i,n,s){var r=l(""easing.""+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return h(r,t),r},d=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)},p=function(e,i){var n=l(""easing.""+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t){return new n(t)},n},f=u(""Back"",p(""BackOut"",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p(""BackIn"",function(t){return t*t*((this._p1+1)*t-this._p1)}),p(""BackInOut"",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l(""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=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?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},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l(""easing.SteppedEase"",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l(""easing.RoughEase"",function(e){e=e||{};for(var i,n,s,r,o,a,l=e.taper||""none"",c=[],h=0,u=0|(e.points||20),p=u,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,_=""number""==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/u*p,n=g?g.getRatio(i):i,""none""===l?s=_:""out""===l?(r=1-i,s=r*r*_):""in""===l?s=i*i*_:.5>i?(r=2*i,s=r*r*.5*_):(r=2*(1-i),s=r*r*.5*_),f?n+=Math.random()*s-.5*s:p%2?n+=.5*s:n-=.5*s,m&&(n>1?n=1:0>n&&(n=0)),c[h++]={x:i,y:n};for(c.sort(function(t,e){return t.x-e.x}),a=new d(1,1,null),p=u;--p>-1;)o=c[p],a=new d(o.x,o.y,a);this._prev=new d(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.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&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,u(""Bounce"",c(""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}),c(""BounceIn"",function(t){return(t=1-t)<1/2.75?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)}),c(""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})),u(""Circ"",c(""CircOut"",function(t){return Math.sqrt(1-(t-=1)*t)}),c(""CircIn"",function(t){return-(Math.sqrt(1-t*t)-1)}),c(""CircInOut"",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var s=l(""easing.""+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(1>t?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t,e){return new s(t,e)},s},u(""Elastic"",n(""ElasticOut"",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n(""ElasticIn"",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n(""ElasticInOut"",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),u(""Expo"",c(""ExpoOut"",function(t){return 1-Math.pow(2,-10*t)}),c(""ExpoIn"",function(t){return Math.pow(2,10*(t-1))-.001}),c(""ExpoInOut"",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u(""Sine"",c(""SineOut"",function(t){return Math.sin(t*a)}),c(""SineIn"",function(t){return 1-Math.cos(t*a)}),c(""SineInOut"",function(t){return-.5*(Math.cos(Math.PI*t)-1)})), | |
l(""easing.EaseLookup"",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,""SlowMo"",""ease,""),h(i,""RoughEase"",""ease,""),h(e,""SteppedEase"",""ease,""),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){""use strict"";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var n,s,r,o,a,l=function(t){var e,n=t.split("".""),s=i;for(e=0;e<n.length;e++)s[n[e]]=s=s[n[e]]||{};return s},c=l(""com.greensock""),h=1e-10,u=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},d=function(){},p=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)}}(),f={},m=function(e,n,s,r){this.sc=f[e]?f[e].sc:[],f[e]=this,this.gsClass=null,this.func=s;var o=[];this.check=function(a){for(var c,h,u,d,p,g=n.length,_=g;--g>-1;)(c=f[n[g]]||new m(n[g],[])).gsClass?(o[g]=c.gsClass,_--):a&&c.sc.push(this);if(0===_&&s)for(h=(""com.greensock.""+e).split("".""),u=h.pop(),d=l(h.join("".""))[u]=this.gsClass=s.apply(s,o),r&&(i[u]=d,p=""undefined""!=typeof module&&module.exports,!p&&""function""==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+""/"":"""")+e.split(""."").pop(),[],function(){return d}):""TweenMax""===e&&p&&(module.exports=d)),g=0;g<this.sc.length;g++)this.sc[g].check()},this.check(!0)},g=t._gsDefine=function(t,e,i,n){return new m(t,e,i,n)},_=c._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=i;var v=[0,0,1,1],y=[],w=_(""easing.Ease"",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?v.concat(e):v},!0),T=w.map={},b=w.register=function(t,e,i,n){for(var s,r,o,a,l=e.split("",""),h=l.length,u=(i||""easeIn,easeOut,easeInOut"").split("","");--h>-1;)for(r=l[h],s=n?_(""easing.""+r,null,!0):c.easing[r]||{},o=u.length;--o>-1;)a=u[o],T[r+"".""+a]=T[a+r]=s[a]=t.getRatio?t:t[a]||new t};for(r=w.prototype,r._calcEnd=!1,r.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},n=[""Linear"",""Quad"",""Cubic"",""Quart"",""Quint,Strong""],s=n.length;--s>-1;)r=n[s]+"",Power""+s,b(new w(null,null,1,s),r,""easeOut"",!0),b(new w(null,null,2,s),r,""easeIn""+(0===s?"",easeNone"":"""")),b(new w(null,null,3,s),r,""easeInOut"");T.linear=c.easing.Linear.easeIn,T.swing=c.easing.Quad.easeInOut;var E=_(""events.EventDispatcher"",function(t){this._listeners={},this._eventTarget=t||this});r=E.prototype,r.addEventListener=function(t,e,i,n,s){s=s||0;var r,l,c=this._listeners[t],h=0;for(null==c&&(this._listeners[t]=c=[]),l=c.length;--l>-1;)r=c[l],r.c===e&&r.s===i?c.splice(l,1):0===h&&r.pr<s&&(h=l+1);c.splice(h,0,{c:e,s:i,up:n,pr:s}),this!==o||a||o.wake()},r.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},r.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(e=s.length,i=this._eventTarget;--e>-1;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var S=t.requestAnimationFrame,x=t.cancelAnimationFrame,P=Date.now||function(){return(new Date).getTime()},A=P();for(n=[""ms"",""moz"",""webkit"",""o""],s=n.length;--s>-1&&!S;)S=t[n[s]+""RequestAnimationFrame""],x=t[n[s]+""CancelAnimationFrame""]||t[n[s]+""CancelRequestAnimationFrame""];_(""Ticker"",function(t,e){var i,n,s,r,l,c=this,u=P(),p=!(!1===e||!S)&&""auto"",f=500,m=33,g=function(t){var e,o,a=P()-A;a>f&&(u+=a-m),A+=a,c.time=(A-u)/1e3,e=c.time-l,(!i||e>0||!0===t)&&(c.frame++,l+=e+(e>=r?.004:r-e),o=!0),!0!==t&&(s=n(g)),o&&c.dispatchEvent(""tick"")};E.call(c),c.time=c.frame=0,c.tick=function(){g(!0)},c.lagSmoothing=function(t,e){f=t||1/h,m=Math.min(e,f,0)},c.sleep=function(){null!=s&&(p&&x?x(s):clearTimeout(s),n=d,s=null,c===o&&(a=!1))},c.wake=function(t){null!==s?c.sleep():t?u+=-A+(A=P()):c.frame>10&&(A=P()-f+5),n=0===i?d:p&&S?S:function(t){return setTimeout(t,1e3*(l-c.time)+1|0)},c===o&&(a=!0),g(2)},c.fps=function(t){return arguments.length?(i=t,r=1/(i||60),l=this.time+r,void c.wake()):i},c.useRAF=function(t){return arguments.length?(c.sleep(),p=t,void c.fps(i)):p},c.fps(t),setTimeout(function(){""auto""===p&&c.frame<5&&""hidden""!==document.visibilityState&&c.useRAF(!1)},1500)}),r=c.Ticker.prototype=new c.events.EventDispatcher,r.constructor=c.Ticker;var C=_(""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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,U){a||o.wake();var i=this.vars.useFrames?W:U;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});o=C.ticker=new c.Ticker,r=C.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var L=function(){a&&P()-A>2e3&&o.wake(),setTimeout(L,2e3)};L(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(t,e,i){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&t<i+this.totalDuration()/this._timeScale},r._enabled=function(t,e){return a||o.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(t,e){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)""{self}""===t[e]&&(i[e]=this);return i},r._callback=function(t){var e=this.vars;e[t].apply(e[t+""Scope""]||e.callbackScope||this,e[t+""Params""]||y)},r.eventCallback=function(t,e,i,n){if(""on""===(t||"""").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+""Params""]=p(i)&&-1!==i.join("""").indexOf(""{self}"")?this._swapSelfInParams(i):i,s[t+""Scope""]=n),""onUpdate""===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||o.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,s=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(j.length&&X(),this.render(t,e,!1),j.length&&X())}return this},r.progress=r.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},r.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},r.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,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)},r.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},r.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(a||t||o.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var k=_(""core.SimpleTimeline"",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=k.prototype=new C,r.constructor=k,r.kill()._gc=!1,r._first=r._last=r._recent=null,r._sortChildren=!1,r.add=r.insert=function(t,e,i,n){var s,r;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),s=this._last,this._sortChildren)for(r=t._startTime;s&&s._startTime>r;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},r._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,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},r.rawTime=function(){return a||o.wake(),this._totalTime};var O=_(""TweenLite"",function(e,i,n){if(C.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 s,r,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?G[O.defaultOverwrite]:""number""==typeof l?l>>0:G[l],(a||e instanceof Array||e.push&&p(e))&&""number""!=typeof e[0])for(this._targets=o=u(e),this._propLookup=[],this._siblings=[],s=0;s<o.length;s++)r=o[s],r?""string""!=typeof r?r.length&&r!==t&&r[0]&&(r[0]===t||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(s--,1),this._targets=o=o.concat(u(r))):(this._siblings[s]=K(r,this,!1),1===l&&this._siblings[s].length>1&&Q(r,this,null,1,this._siblings[s])):""string""==typeof(r=o[s--]=O.selector(r))&&o.splice(s+1,1):o.splice(s--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&Q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-h,this.render(-this._delay))},!0),I=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},R=function(t,e){var i,n={};for(i in t)q[i]||i in e&&""transform""!==i&&""x""!==i&&""y""!==i&&""width""!==i&&""height""!==i&&""className""!==i&&""border""!==i||!(!F[i]||F[i]&&F[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};r=O.prototype=new C,r.constructor=O,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,O.version=""1.18.2"",O.defaultEase=r._ease=new w(null,null,1,1),O.defaultOverwrite=""auto"",O.ticker=o,O.autoSleep=120,O.lagSmoothing=function(t,e){o.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 j=[],M={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,D=function(t){for(var e,i=this._firstPT;i;)e=i.blob?t?this.join(""""):this.start:i.c*t+i.s,i.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},V=function(t,e,i,n){var s,r,o,a,l,c,h,u=[t,e],d=0,p="""",f=0;for(u.start=t,i&&(i(u),t=u[0],e=u[1]),u.length=0,s=t.match(N)||[],r=e.match(N)||[],n&&(n._next=null,n.blob=1,u._firstPT=n),l=r.length,a=0;l>a;a++)h=r[a],c=e.substr(d,e.indexOf(h,d)-d),p+=c||!a?c:"","",d+=c.length,f?f=(f+1)%5:""rgba(""===c.substr(-5)&&(f=1),h===s[a]||s.length<=a?p+=h:(p&&(u.push(p),p=""""),o=parseFloat(s[a]),u.push(o),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:o,c:(""=""===h.charAt(1)?parseInt(h.charAt(0)+""1"",10)*parseFloat(h.substr(2)):parseFloat(h)-o)||0,f:0,r:f&&4>f}),d+=h.length;return p+=e.substr(d),p&&u.push(p),u.setRatio=D,u},$=function(t,e,i,n,s,r,o,a){var l,c,h=""get""===i?t[e]:i,u=typeof t[e],d=""string""==typeof n&&""=""===n.charAt(1),p={t:t,p:e,s:h,f:""function""===u,pg:0,n:s||e,r:r,pr:0,c:d?parseInt(n.charAt(0)+""1"",10)*parseFloat(n.substr(2)):parseFloat(n)-h||0};return""number""!==u&&(""function""===u&&""get""===i&&(c=e.indexOf(""set"")||""function""!=typeof t[""get""+e.substr(3)]?e:""get""+e.substr(3),p.s=h=o?t[c](o):t[c]()),""string""==typeof h&&(o||isNaN(h))?(p.fp=o,l=V(h,n,a||O.defaultStringFilter,p),p={t:l,p:""setRatio"",s:0,c:1,f:2,pg:0,n:s||e,pr:0}):d||(p.s=parseFloat(h),p.c=parseFloat(n)-p.s||0)),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p):void 0},H=O._internals={isArray:p,isSelector:I,lazyTweens:j,blobDif:V},F=O._plugins={},B=H.tweenLookup={},z=0,q=H.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,onOverwrite:1,callbackScope:1,stringFilter:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},W=C._rootFramesTimeline=new k,U=C._rootTimeline=new k,Y=30,X=H.lazyRender=function(){var t,e=j.length;for(M={};--e>-1;)(t=j[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);j.length=0};U._startTime=o.time,W._startTime=o.frame,U._active=W._active=!0,setTimeout(X,1),C._updateRoot=O.render=function(){var t,e,i;if(j.length&&X(),U.render((o.time-U._startTime)*U._timeScale,!1,!1),W.render((o.frame-W._startTime)*W._timeScale,!1,!1),j.length&&X(),o.frame>=Y){Y=o.frame+(parseInt(O.autoSleep,10)||120);for(i in B){for(e=B[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete B[i]}if((!(i=U._first)||i._paused)&&O.autoSleep&&!W._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener(""tick"",C._updateRoot);var K=function(t,e,i){var n,s,r=t._gsTweenID;if(B[r||(t._gsTweenID=r=""t""+z++)]||(B[r]={target:t,tweens:[]}),e&&(n=B[r].tweens,n[s=n.length]=e,i))for(;--s>-1;)n[s]===e&&n.splice(s,1);return B[r].tweens},J=function(t,e,i,n){var s,r,o=t.vars.onOverwrite;return o&&(s=o(t,e,i,n)),o=O.onOverwrite,o&&(r=o(t,e,i,n)),!1!==s&&!1!==r},Q=function(t,e,i,n,s){var r,o,a,l;if(1===n||n>=4){for(l=s.length,r=0;l>r;r++)if((a=s[r])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===n)break;return o}var c,u=e._startTime+h,d=[],p=0,f=0===e._duration;for(r=s.length;--r>-1;)(a=s[r])===e||a._gc||a._paused||(a._timeline!==e._timeline?(c=c||Z(e,0,f),0===Z(a,c,f)&&(d[p++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((f||!a._initted)&&u-a._startTime<=2e-10||(d[p++]=a)));for(r=p;--r>-1;)if(a=d[r],2===n&&a._kill(i,t,e)&&(o=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!J(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},Z=function(t,e,i){for(var n=t._timeline,s=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return r/=s,r>e?r-e:i&&r===e||!t._initted&&2*h>r-e?h:(r+=t.totalDuration()/t._timeScale/s)>e+h?0:r-e-h};r._init=function(){var t,e,i,n,s,r=this.vars,o=this._overwrittenProps,a=this._duration,l=!!r.immediateRender,c=r.ease;if(r.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={};for(n in r.startAt)s[n]=r.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=l&&!1!==r.lazy,s.startAt=s.delay=null,this._startAt=O.to(this.target,0,s),l)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(r.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(n in r)q[n]&&""autoCSS""!==n||(i[n]=r[n]);if(i.overwrite=0,i.data=""isFromStart"",i.lazy=l&&!1!==r.lazy,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),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof w?c:""function""==typeof c?new w(c,r.easeParams):T[c]||O.defaultEase:O.defaultEase,r.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,r.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)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(e,i,n,s){var r,o,a,l,c,h;if(null==e)return!1;M[e._gsTweenID]&&X(),this.vars.css||e.style&&e!==t&&e.nodeType&&F.css&&!1!==this.vars.autoCSS&&R(this.vars,e);for(r in this.vars)if(h=this.vars[r],q[r])h&&(h instanceof Array||h.push&&p(h))&&-1!==h.join("""").indexOf(""{self}"")&&(this.vars[r]=h=this._swapSelfInParams(h,this));else if(F[r]&&(l=new F[r])._onInitTween(e,this.vars[r],this)){for(this._firstPT=c={_next:this._firstPT,t:l,p:""setRatio"",s:0,c:1,f:1,n:r,pg:1,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),c._next&&(c._next._prev=c)}else i[r]=$.call(this,e,r,""get"",h,r,0,null,this.vars.stringFilter);return s&&this._kill(s,e)?this._initProps(e,i,n,s):this._overwrite>1&&this._firstPT&&n.length>1&&Q(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(M[e._gsTweenID]=!0),a)},r.render=function(t,e,i){var n,s,r,o,a=this._time,l=this._duration,c=this._rawPrevTime;if(t>=l-1e-7)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s=""onComplete"",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>c||0>=t&&t>=-1e-7||c===h&&""isPause""!==this.data)&&c!==t&&(i=!0,c>h&&(s=""onReverseComplete"")),this._rawPrevTime=o=!e||t||c===t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&c>0)&&(s=""onReverseComplete"",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(c!==h||""isPause""!==this.data)&&(i=!0),this._rawPrevTime=o=!e||t||c===t?t:h)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,d=this._easeType,p=this._easePower;(1===d||3===d&&u>=.5)&&(u=1-u),3===d&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),this.ratio=1===d?1-u:2===d?u:.5>t/l?u/2:1-u/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&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=c,j.push(this),void(this._lazy=[t,e]);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(!1!==this._lazy&&(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):s||(s=""_dummyGS"")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback(""onStart""))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==a||n)&&this._callback(""onUpdate"")),s&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===l&&this._rawPrevTime===h&&o!==h&&(this._rawPrevTime=0))}},r._kill=function(t,e,i){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 n,s,r,o,a,l,c,h,u,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((p(e)||I(e))&&""number""!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:""all"";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:""all""}if(a){if(c=t||a,h=t!==s&&""all""!==s&&t!==a&&(""object""!=typeof t||!t._tempKill),i&&(O.onOverwrite||this.vars.onOverwrite)){for(r in c)a[r]&&(u||(u=[]),u.push(r));if((u||!t)&&!J(this,i,e,u))return!1}for(r in c)(o=a[r])&&(d&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(c)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},r.invalidate=function(){return this._notifyPluginsOfEnabled&&O._onPluginEvent(""_onDisable"",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-h,this.render(-this._delay)),this},r._enabled=function(t,e){if(a||o.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=K(n[i],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&O._onPluginEvent(t?""_onEnable"":""_onDisable"",this)},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,s){return new O(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,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,s,r;if((p(t)||I(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(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else for(n=K(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),s=n.length;--s>-1;)n[s]._kill(i,t)};var tt=_(""plugins.TweenPlugin"",function(t,e){this._overwriteProps=(t||"""").split("",""),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tt.prototype},!0);if(r=tt.prototype,tt.version=""1.18.0"",tt.API=2,r._firstPT=null,r._addTween=$,r.setRatio=D,r._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},r._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,s,r,o,a=e._firstPT;if(""_onInitAllProps""===t){for(;a;){for(o=a._next,n=s;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:r)?a._prev._next=a:s=a,(a._next=n)?n._prev=a:r=a,a=o}a=e._firstPT=s}for(;a;)a.pg&&""function""==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},tt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tt.API&&(F[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw""illegal plugin definition."";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:""_onInitTween"",set:""setRatio"",kill:""_kill"",round:""_roundProps"",initAll:""_onInitAllProps""},o=_(""plugins.""+i.charAt(0).toUpperCase()+i.substr(1)+""Plugin"",function(){tt.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),a=o.prototype=new tt(i);a.constructor=o,o.API=t.API;for(e in r)""function""==typeof t[e]&&(a[r[e]]=t[e]);return o.version=t.version,tt.activate([o]),o},n=t._gsQueue){for(s=0;s<n.length;s++)n[s]();for(r in f)f[r].func||t.console.log(""GSAP encountered missing dependency: com.greensock.""+r)}a=!1}}(""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window),define(""TweenMax"",function(){}),define(""model/sound_model"",[""jquery"",""underscore"",""backbone"",""config"",""model/loader_collection"",""createjs"",""TweenMax""],function(t,e,i,n,s,r,o){return new(i.Model.extend({defaults:{},initialize:function(){this.sounds=new i.Collection,this.currentPlaying=[],s.on(""loaded"",this.onItemLoaded,this)},onItemLoaded:function(t){""sound""===t.item.type&&this.sounds.add(t.item)},play:function(t,i){i=i||{};var n={interrupt:r.Sound.INTERRUPT_ANY,delay:0,offset:0,loop:0,volume:1,pan:0,time:0};e.defaults(i,n);var s=(i.interrupt,i.delay,i.offset,i.loop,i.volume,i.pan,r.Sound.play(t,i.interrupt,i.delay,i.offset,i.loop,i.volume,i.pan));return o.fromTo(s,i.time,{volume:0},{volume:i.volume}),this.currentPlaying.push(s),s},stop:function(t){for(var e=this.getSoundsByID(t),i=[],n=0;n<e.length;n++){var s=e[n];s.stop(),i.push(s)}this.removeFromPlaying(i)},setSoundVolume:function(t,i,n){(e.isUndefined(n)||null===n)&&(n=0);for(var s=this.getSoundsByID(t),r=0;r<s.length;r++){var a=s[r];o.to(a,n,{volume:i})}},setGlobalVolume:function(t){r.SoundJS.setVolume(t)},removeFromPlaying:function(t){e.each(this.currentPlaying,function(i){var n=e.indexOf(t,i);n>-1&&(n=e.indexOf(this.currentPlaying,i),this.currentPlaying.splice(n,1))},this)},getSoundsByID:function(t){var e=[];if(!this.sounds.get(t))return[];for(var i=this.sounds.get(t).get(""src""),n=0;n<this.currentPlaying.length;n++){var s=this.currentPlaying[n];s.src===i&&e.push(s)}return e}}))}),define(""controller/sound_controller"",[""route/router"",""model/app_model"",""view/common/communicator"",""model/loader_collection"",""model/sound_model"",""events/sound_events""],function(t,e,i,n,s,r){var o={init:function(){i.on(r.PLAY_SOUND,this.onPlaySound,this),i.on(r.STOP_SOUND,this.onStopSound,this),i.on(r.SET_SOUND_VOLUME,this.onSetSoundVolume,this),i.on(r.SET_GLOBAL_VOLUME,this.onSetGlobalVolume,this)},onPlaySound:function(t,e){s.play(t,e)},onStopSound:function(t,e){s.stop(t,e)},onSetSoundVolume:function(t,e){s.setSoundVolume(t,e)},onSetGlobalVolume:function(t){s.setGlobalVolume(t)}};return o.init(),o}),define(""util/resn/math"",[],function(){""use strict"";function t(){this.isOdd=function(t){return t%2},this.clamp=function(t,e,i){return t<e&&(t=e),t>i&&(t=i),t},this.timeFormat=function(t){var e=parseInt(t,10),i=Math.floor(e/3600),n=Math.floor((e-3600*i)/60),s=e-3600*i-60*n;return i<10&&(i=""0""+i),n<10&&(n=""0""+n),s<10&&(s=""0""+s),n+"":""+s},this.getDistance=function(t,e){return e-t},this.getPointDistance=function(t,e){var i=0,n=0;return i=this.getDistance(e.x,t.x),n=this.getDistance(e.y,t.y),Math.sqrt(i*i+n*n)},this.toRadians=function(t){return t*Math.PI/180},this.randomIntInRange=function(t,e){return Math.round(t+Math.random()*(e-t))},this.randomInRange=function(t,e){return t+Math.random()*(e-t)},this.randomDist=function(t,e,i){for(var n=0,s=0;s<i;s+=1)n+=this.randomInRange(t,e);return n/i},this.norm=function(t,e,i){return(t-e)/(i-e)},this.lerp=function(t,e,i){return e+t*(i-e)},this.lerpPoint=function(t,e,i){var n={};return n.x=t.x+i*(e.x-t.x),n.y=t.y+i*(e.y-t.y),n},this.copyPoint=function(t){return{x:t.x,y:t.y}},this.map=function(t,e,i,n,s){return this.lerp(this.norm(t,e,i),n,s)},this.simpleEasing=function(t,e,i){return(t-e)*i}}return new t}),define(""constants/app"",[],function(){return{ORIENTATION:{PORTRAIT:""ORIENTATION:PORTRAIT"",LANDSCAPE:""ORIENTATION:LANDSCAPE""}}}),define(""controller/resize_controller"",[""jquery"",""underscore"",""backbone"",""route/router"",""config"",""util/resn/math"",""constants/app"",""model/app_model"",""model/resize_model"",""view/common/communicator""],function(t,e,i,n,s,r,o,a,l,c){var h={$window:null,init:function(){e.bindAll(this,""onResize""),this.$window=t(window),this.addEvents()},addEvents:function(){this.$window.on(""resize"",this.onResize),this.listenTo(c,c.EVENTS.VIEW.RESIZE,this.onResize)},onResize:function(){var t=window.innerWidth,e=window.innerHeight;t>e?l.set(""orientation"",o.ORIENTATION.LANDSCAPE):l.set(""orientation"",o.ORIENTATION.PORTRAIT);var i=this.getScale(t,e);l.set(""width"",t),l.set(""height"",e),l.set(""scale"",i),l.trigger(""resize"")},getScale:function(t,e){return s.MOBILE?l.get(""orientation"")===o.ORIENTATION.LANDSCAPE?r.clamp(t/l.BASE_SIZE.MOBILE.HEIGHT,0,1.5):r.clamp(t/l.BASE_SIZE.MOBILE.WIDTH,0,1.5):r.clamp(t/l.BASE_SIZE.DESKTOP.WIDTH,0,1)}};return e.extend(h,i.Events),h.init(),h}),define(""model/mouse_model"",[""backbone""],function(t){return new(t.Model.extend({defaults:{client:null}}))}),define(""controller/mouse_controller"",[""jquery"",""underscore"",""route/router"",""config"",""util/resn/math"",""model/app_model"",""model/mouse_model"",""model/resize_model"",""view/common/communicator""],function(t,e,i,n,s,r,o,a,l){var c={$document:null,init:function(){e.bindAll(this,""onMouseMove""),this.$document=t(document),this.addEvents()},addEvents:function(){this.$document.on(""mousemove"",this.onMouseMove),this.$document.on(""mousedown"",this.onMouseDown),this.$document.on(""mouseup"",this.onMouseUp)},onMouseMove:function(t){var e=t||window.event;o.set(""mouse"",e)},onMouseDown:function(t){o.set(""down"",!0),o.set(""up"",!1)},onMouseUp:function(t){o.set(""down"",!1),o.set(""up"",!0)}} | |
;return c.init(),c}),define(""model/audio_model"",[""jquery"",""underscore"",""config"",""backbone""],function(t,e,i,n){""use strict"";return new(n.Model.extend({defaults:{volume:.5,duration:0,currentTime:0,buffering:null,pause:!0,canplay:null},intialize:function(){},setDuration:function(t){this.set(""duration"",t)},setCurrentTime:function(t){this.set(""currentTime"",t)},getFormattedTime:function(){var t=this.get(""currentTime"");return this.formatTime(t)},getFormattedDuration:function(t){var e=this.get(""duration"");return this.formatTime(e)},formatTime:function(t){var e=parseInt(t%60),i=parseInt(t/60%60);return e=e<10?""0""+e:e,i+"":""+e},getPercentage:function(){return+(this.get(""currentTime"")/1e3/(this.get(""duration"")/1e3)*100).toFixed(4)},getVolume:function(){return this.get(""volume"")},setVolume:function(t){return this.set(""volume"",t)},getPause:function(){return this.get(""pause"")},setPause:function(t){return this.set(""pause"",t)},getBuffering:function(){return this.get(""buffering"")},setBuffering:function(t){return this.set(""buffering"",t)},getCanPlay:function(t){return this.get(""canplay"")},setCanPlay:function(t){return this.set(""canplay"",t)},reset:function(){this.set(""pause"",!0),this.set(""canplay"",null),this.set(""currentTime"",0),this.set(""buffering"",!1)}}))}),define(""controller/audio_controller"",[""config"",""backbone"",""underscore"",""model/app_model"",""model/audio_model"",""TweenMax"",""view/common/communicator""],function(t,e,i,n,s,r,o){""use strict"";var a=i.extend({audioObj:null,initialize:function(t){i.bindAll(this,""onCanPlayThrough"",""onTimeUpdate"",""onEnded"",""onPauseChange"",""onVolumeFadeOut"",""onFadeComplete""),n.set(""audioModel"",s),this.audioObj=new Audio,this.audioObj.volume=s.getVolume(),this.addEvents()},addEvents:function(){this.listenTo(s,""change:volume"",this.onVolumeChange),this.listenTo(s,""change:pause"",this.onPauseChange),this.listenTo(n,""change:podcastItem"",this.onPodcastItemChange),this.audioObj.addEventListener(""timeupdate"",this.onTimeUpdate,!1),this.audioObj.addEventListener(""ended"",this.onEnded,!1),this.listenTo(o,o.EVENTS.VIEW.PODCAST.PLAY,this.onPlayClick),this.listenToOnce(o,o.EVENTS.SOUND.PLAY_SILENT,this.onPlaySilent)},onPlayClick:function(){s.getPause()?(s.setPause(!1),s.set(""complete"",!1)):s.setPause(!0)},onPlaySilent:function(e){var i=new Audio;i.src=t.CDN+""/audio/silent_1sec.mp3"",i.play()},update:function(){s.clear().set(s.defaults)},onPodcastItemChange:function(t,e){s.reset(),this.activePodcastItem=n.get(""podcastItem""),s.getBuffering()&&this.audioObj.removeEventListener(""canplaythrough"",this.onCanPlayThrough),this.audioObj.addEventListener(""canplaythrough"",this.onCanPlayThrough,!1),s.set(""complete"",!1),this.audioObj.src=this.activePodcastItem.getSrc(),this.audioObj.load()},onFadeComplete:function(){s.reset(),this.audioObj.src=n.get(""podcastItem"").getSrc()},onCanPlayThrough:function(){this.audioObj.removeEventListener(""canplaythrough"",this.onCanPlayThrough),s.setCanPlay(!0),s.setDuration(this.audioObj.duration),s.getPause()||(s.setBuffering(!1),this.audioObj.play(),this.fadeTrack(null,s.getVolume(),.8),s.setPause(!1))},onTimeUpdate:function(){s.setCurrentTime(this.audioObj.currentTime)},onEnded:function(){s.set(""complete"",!0),s.setPause(!0)},onVolumeChange:function(){this.audioObj.volume=s.getVolume()},onPauseChange:function(){s.getPause()?this.fadeTrack(this.onVolumeFadeOut,0,.4):s.get(""canplay"")?(this.audioObj.play(),this.fadeTrack(null,s.getVolume(),.8)):s.setBuffering(!0)},fadeTrack:function(t,e,i){r.killTweensOf(this.audioObj),r.to(this.audioObj,i,{volume:e,onComplete:t})},onVolumeFadeOut:function(){this.audioObj.pause()}},e.Events);return a.initialize(),a}),define(""text"",[""module""],function(t){""use strict"";var e,i,n,s,r,o=[""Msxml2.XMLHTTP"",""Microsoft.XMLHTTP"",""Msxml2.XMLHTTP.4.0""],a=/^\s*<\?xml(\s)+version=[\'\""](\d)*.(\d)*[\'\""](\s)*\?>/im,l=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,c=""undefined""!=typeof location&&location.href,h=c&&location.protocol&&location.protocol.replace(/\:/,""""),u=c&&location.hostname,d=c&&(location.port||void 0),p={},f=t.config&&t.config()||{};return e={version:""2.0.10"",strip:function(t){if(t){t=t.replace(a,"""");var e=t.match(l);e&&(t=e[1])}else t="""";return t},jsEscape:function(t){return t.replace(/(['\\])/g,""\\$1"").replace(/[\f]/g,""\\f"").replace(/[\b]/g,""\\b"").replace(/[\n]/g,""\\n"").replace(/[\t]/g,""\\t"").replace(/[\r]/g,""\\r"").replace(/[\u2028]/g,""\\u2028"").replace(/[\u2029]/g,""\\u2029"")},createXhr:f.createXhr||function(){var t,e,i;if(""undefined""!=typeof XMLHttpRequest)return new XMLHttpRequest;if(""undefined""!=typeof ActiveXObject)for(e=0;e<3;e+=1){i=o[e];try{t=new ActiveXObject(i)}catch(t){}if(t){o=[i];break}}return t},parseName:function(t){var e,i,n,s=!1,r=t.indexOf("".""),o=0===t.indexOf(""./"")||0===t.indexOf(""../"");return-1!==r&&(!o||r>1)?(e=t.substring(0,r),i=t.substring(r+1,t.length)):e=t,n=i||e,r=n.indexOf(""!""),-1!==r&&(s=""strip""===n.substring(r+1),n=n.substring(0,r),i?i=n:e=n),{moduleName:e,ext:i,strip:s}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(t,i,n,s){var r,o,a,l=e.xdRegExp.exec(t);return!l||(r=l[2],o=l[3],o=o.split("":""),a=o[1],o=o[0],!(r&&r!==i||o&&o.toLowerCase()!==n.toLowerCase()||(a||o)&&a!==s))},finishLoad:function(t,i,n,s){n=i?e.strip(n):n,f.isBuild&&(p[t]=n),s(n)},load:function(t,i,n,s){if(s.isBuild&&!s.inlineText)return void n();f.isBuild=s.isBuild;var r=e.parseName(t),o=r.moduleName+(r.ext?"".""+r.ext:""""),a=i.toUrl(o),l=f.useXhr||e.useXhr;if(0===a.indexOf(""empty:""))return void n();!c||l(a,h,u,d)?e.get(a,function(i){e.finishLoad(t,r.strip,i,n)},function(t){n.error&&n.error(t)}):i([o],function(t){e.finishLoad(r.moduleName+"".""+r.ext,r.strip,t,n)})},write:function(t,i,n,s){if(p.hasOwnProperty(i)){var r=e.jsEscape(p[i]);n.asModule(t+""!""+i,""define(function () { return '""+r+""';});\n"")}},writeFile:function(t,i,n,s,r){var o=e.parseName(i),a=o.ext?"".""+o.ext:"""",l=o.moduleName+a,c=n.toUrl(o.moduleName+a)+"".js"";e.load(l,n,function(i){var n=function(t){return s(c,t)};n.asModule=function(t,e){return s.asModule(t,c,e)},e.write(t,l,n,r)},r)}},""node""===f.env||!f.env&&""undefined""!=typeof process&&process.versions&&process.versions.node&&!process.versions[""node-webkit""]?(i=require.nodeRequire(""fs""),e.get=function(t,e,n){try{var s=i.readFileSync(t,""utf8"");0===s.indexOf(""\ufeff"")&&(s=s.substring(1)),e(s)}catch(t){n(t)}}):""xhr""===f.env||!f.env&&e.createXhr()?e.get=function(t,i,n,s){var r,o=e.createXhr();if(o.open(""GET"",t,!0),s)for(r in s)s.hasOwnProperty(r)&&o.setRequestHeader(r.toLowerCase(),s[r]);f.onXhr&&f.onXhr(o,t),o.onreadystatechange=function(e){var s,r;4===o.readyState&&(s=o.status,s>399&&s<600?(r=new Error(t+"" HTTP status: ""+s),r.xhr=o,n(r)):i(o.responseText),f.onXhrComplete&&f.onXhrComplete(o,t))},o.send(null)}:""rhino""===f.env||!f.env&&""undefined""!=typeof Packages&&""undefined""!=typeof java?e.get=function(t,e){var i,n,s=new java.io.File(t),r=java.lang.System.getProperty(""line.separator""),o=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),""utf-8"")),a="""";try{for(i=new java.lang.StringBuffer,n=o.readLine(),n&&n.length()&&65279===n.charAt(0)&&(n=n.substring(1)),null!==n&&i.append(n);null!==(n=o.readLine());)i.append(r),i.append(n);a=String(i.toString())}finally{o.close()}e(a)}:(""xpconnect""===f.env||!f.env&&""undefined""!=typeof Components&&Components.classes&&Components.interfaces)&&(n=Components.classes,s=Components.interfaces,Components.utils.import(""resource://gre/modules/FileUtils.jsm""),r=""@mozilla.org/windows-registry-key;1""in n,e.get=function(t,e){var i,o,a,l={};r&&(t=t.replace(/\//g,""\\"")),a=new FileUtils.File(t);try{i=n[""@mozilla.org/network/file-input-stream;1""].createInstance(s.nsIFileInputStream),i.init(a,1,0,!1),o=n[""@mozilla.org/intl/converter-input-stream;1""].createInstance(s.nsIConverterInputStream),o.init(i,""utf-8"",i.available(),s.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(i.available(),l),o.close(),i.close(),e(l.value)}catch(t){throw new Error((a&&a.path||"""")+"": ""+t)}}),e}),define(""text!data/copy/weta_digital_copydeck.json"",[],function(){return'{\r\n ""locale"": ""Final Copy "",\r\n ""site-wide-meta-title"": ""Weta Digital"",\r\n ""site-wide-internal-link"": ""VIEW"",\r\n ""site-wide-external-link"": ""VISIT EXTERNAL PAGE"",\r\n ""site-wide-load-more"": ""LOAD MORE"",\r\n ""site-wide-next-button"": ""Next"",\r\n ""site-wide-previous-button"": ""Previous"",\r\n ""main-navigation-weta-digital-logo"": """",\r\n ""main-navigation-whats-going-on"": ""What\'s Going On"",\r\n ""main-navigation-film"": ""Films"",\r\n ""main-navigation-research-and-technology"": ""Research and Technology"",\r\n ""main-navigation-careers"": ""Careers"",\r\n ""main-navigation-learning-resource"": ""Learning Resource"",\r\n ""main-navigation-about"": ""About"",\r\n ""press-kit-button"": ""Download Press Kit"",\r\n ""site-share-facebook-title"": ""Weta Digital | VFX and Animation"",\r\n ""site-share-facebook-body-copy"": ""Visit the official Weta Digital website for details on their innovative work."",\r\n ""site-share-twitter"": ""Weta Digital official website - award winning VFX and animation"",\r\n ""site-share-metadata"": ""Weta Digital official website - award winning VFX and animation"",\r\n ""mobile-contact-us"": """",\r\n ""mobile-call-us"": """",\r\n ""mobile-fax-us"": """",\r\n ""mobile-share-text"": """",\r\n ""mobile-search"": """",\r\n ""mobile-rotate"": ""Please rotate your device"",\r\n ""contact-panel-main-email-address"": ""[email protected]"",\r\n ""contact-panel-phone-number"": ""+ 644 909 6000"",\r\n ""contact-panel-fax-number"": ""+ 644 380 9010"",\r\n ""contact-panel-postal-address"": ""P.O Box 15208\\n 9-11 Manuka St\\n Miramar\\n Wellington 6022\\n New Zealand."",\r\n ""contact-panel-footer-tips"": ""TO CALL NEW ZEALAND FROM THE UNITED STATES, DIAL 0064 4 909 6000\\n"",\r\n ""legal-copyright-button"": ""Copyright"",\r\n ""legal-terms-of-use-and-privacy-policy-button"": ""Terms of use and privacy"",\r\n ""legal-presskit"": ""View presskit"",\r\n ""whats-going-on--homepage-featured-link"": ""Internal link - VIEW\\r\\nExternal link - VISIT EXTERNAL PAGE\\r\\n"",\r\n ""work-page-filter"": ""FILTER"",\r\n ""work-page-in-production"": ""IN PRODUCTION"",\r\n ""work-page-film"": ""FILM"",\r\n ""work-page-case-study"": ""CASE STUDY"",\r\n ""in-production-back-to-work"": ""BACK TO FILMS"",\r\n ""in-production-trailer-link"": ""TRAILER"",\r\n ""project-page-gallery-title"": ""GALLERY"",\r\n ""project-page-back"": ""BACK TO"",\r\n ""project-page-character"": """",\r\n ""project-page-credits-link"": ""WETA DIGITAL CREDITS"",\r\n ""project-page-podcast-title"": ""PODCAST"",\r\n ""project-page-see-other-podcasts"": ""SEE ALL PODCASTS"",\r\n ""project-page-related-podcast-links"": ""RELATED PODCASTS"",\r\n ""project-page-key-people-title"": """",\r\n ""key-people-key-people-rollover"": """",\r\n ""project-page-related-projects"": """",\r\n ""project-page-awards-title"": ""AWARDS"",\r\n ""research-and-technology-events-tile-title"": ""TBC"",\r\n ""research-and-technology-publication-tile"": ""TBC"",\r\n ""research-and-technology-key-people-title"": ""KEY PEOPLE"",\r\n ""research-and-technology-key-people-rollover"": ""VIEW"",\r\n ""research-and-technology-related-projects"": ""PROJECTS"",\r\n ""research-and-technology-affiliations-title"": ""AFFILIATIONS"",\r\n ""research-and-technology-year-selection"": ""SELECT THE YEAR"",\r\n ""careers-careers-button"": ""SEE JOB LISTINGS"",\r\n ""learning-resources-resource-tile"": """",\r\n ""learning-resources-graduate-profile"": ""CAREER PROFILE"",\r\n ""learning-resources-key-people-rollover"": ""VIEW"",\r\n ""learning-resources-related-projects"": ""PROJECTS"",\r\n ""search-suggestions"": """",\r\n ""search-results"": """",\r\n ""search-no-results"": """",\r\n ""about-contact-title"": ""CONTACT"",\r\n ""about-contact-name"": ""Weta Digital"",\r\n ""about-postal-address"": ""P.O Box 15208\\n 9-11 Manuka St\\n Miramar\\n Wellington 6022\\n New Zealand."",\r\n ""about-phone-number"": ""+ 644 909 6000"",\r\n ""about-fax-number"": ""+ 644 380 9010"",\r\n ""about-instructions"": ""To call New Zealand from the United States, dial 0064, and then enter "",\r\n ""about-main-email-address"": ""[email protected]"",\r\n ""about-2-email-title"": ""Media requests"",\r\n ""about-2-email-content"": ""[email protected]"",\r\n ""about-3-email-title"": ""Careers"",\r\n ""about-3-email-content"": ""[email protected]"",\r\n ""about-4-email-title"": ""New business enquiries"",\r\n ""about-4-email-content"": ""[email protected]"",\r\n ""about-5-email-title"": ""Research and Technology"",\r\n ""about-5-email-content"": ""[email protected]"",\r\n ""about-leadership-title"": ""Leadership"",\r\n ""leadership-related-projects"": ""Related Projects"",\r\n ""about-faq-title"": ""FAQ"",\r\n ""about-faq-continue-reading"": """",\r\n ""about-faq-close-answer"": """",\r\n ""about-awards-year-selection"": ""SELECT THE YEAR""\r\n}'}),define(""model/copy_model"",[""backbone"",""text!data/copy/weta_digital_copydeck.json""],function(t,e){return new(t.Model.extend({defaults:{},initialize:function(){this.data=JSON.parse(e),this.set(this.data)}}))}),define(""util/facebook"",[""config"",""underscore"",""backbone""],function(t,e,i){var n={SDK:null,ready:!1,onFBinit:function(){window.FB.init({appId:t.getFBID(),channelUrl:t.SITE_URL+""/channel.html"",status:!0,cookie:!0,xfbml:!0}),window.FB.Event.subscribe(""edge.create"",e.bind(this.onFBLike,this)),window.FB.Event.subscribe(""comment.create"",e.bind(this.onFBComment,this)),this.SDK=window.FB,this.ready=!0,this.trigger(""fb_ready"")},onFBComment:function(t){this.trigger(""fb_comment"",t)},onFBLike:function(t){this.trigger(""fb_like"",t)},renderAllLikes:function(){this.SDK.XFBML.parse()}};return e.extend(n,i.Events),window.fbAsyncInit=e.bind(n.onFBinit,n),function(t,e,i){var n,s=t.getElementsByTagName(e)[0];t.getElementById(i)||(n=t.createElement(e),n.id=i,n.src=""//connect.facebook.net/en_US/all.js"",s.parentNode.insertBefore(n,s))}(document,""script"",""facebook-jssdk""),n}),define(""util/shareutil"",[""jquery"",""config"",""underscore"",""util/facebook""],function(t,e,i,n){return{tweet:function(t,e,i){t=t,i=i;var n=encodeURIComponent(e),s=""http://twitter.com/intent/tweet?text=""+encodeURIComponent(t)+""&url=""+n;i&&i.length>0&&(s+=""&related=""+encodeURIComponent(i)),window.open(s,""tweetFollow"",""width=550,height=420,toolbar=no"")||(window.location.href=s)},fbpost:function(t,e){var s={};s.method=""feed"",s=i.extend(s,t),n.SDK.ui(s,e)},gplusshare:function(t){window.open(""https://plus.google.com/share?url=""+t,"""",""menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600"")},inviteFacebookFriends:function(t){n.SDK.ui({method:""apprequests"",message:t})},shareSiteFacebook:function(t){window.open(""https://www.facebook.com/sharer.php?u=""+encodeURIComponent(t),""fbShare"",""width=550,height=420,toolbar=no"")},followTwitter:function(t){window.open(""https://twitter.com/intent/user?screen_name=""+t,""tweetFollow"",""width=550,height=420,toolbar=no"")},getUrl:function(t){return t?e.SITE_URL+""?url=features/""+t:e.SITE_URL}}}),define(""controller/share_controller"",[""underscore"",""config"",""backbone"",""model/app_model"",""model/copy_model"",""view/common/communicator"",""console"",""util/shareutil""],function(t,e,i,n,s,r,o,a){var l={init:function(){this.addEvents()},addEvents:function(){this.listenTo(r,r.EVENTS.SHARE.SITE_FACEBOOK,this.onSiteFacebookShare),this.listenTo(r,r.EVENTS.SHARE.SITE_TWITTER,this.onSiteTwitterShare),this.listenTo(r,r.EVENTS.SHARE.SITE_CLIPBOARD,this.onSiteClipboardShare),this.listenTo(r,r.EVENTS.SHARE.VIDEO_FACEBOOK,this.onVideoFacebookShare),this.listenTo(r,r.EVENTS.SHARE.VIDEO_TWITTER,this.onVideoTwitterShare)},onSiteFacebookShare:function(){var t=this.getSiteURL();a.shareSiteFacebook(t)},onVideoFacebookShare:function(t){a.shareSiteFacebook(t)},onVideoTwitterShare:function(t,e){var i=e||s.get(""site-share-twitter"");a.tweet(i,t,null)},onSiteTwitterShare:function(t){var e=this.getSiteURL(),i=t||s.get(""site-share-twitter"");a.tweet(i,e,null)},onSiteClipboardShare:function(t){var e=window.location;t.val(e),t.select();try{document.execCommand(""copy""),t.blur()}catch(t){window.prompt(""Select all to copy to clipboard"",e)}},getSiteURL:function(){return void 0===window.location.origin&&(window.location.origin=window.location.protocol+""//""+window.location.host),window.location.origin+window.location.pathname}};return t.extend(l,i.Events),l.init(),l}),define(""controller/keyboard_controller"",[""jquery"",""underscore"",""backbone"",""config"",""view/common/communicator""],function(t,e,i,n,s){""use strict"";var r={LEFT:37,RIGHT:39,UP:38,DOWN:40,SPACEBAR:32,EXIT:27},o=function(t){switch(t.toLowerCase()){case""input"":case""textarea"":return!0;default:return!1}},a={start:function(){n.TABLET||n.MOBILE||t(window).on(""keydown"",this.onKeyDown)},stop:function(){n.TABLET||n.MOBILE||t(window).off(""keydown"",this.onKeyDown)},onKeyDown:function(t){switch(t=t||window.event,t.keyCode){case r.LEFT:o(t.target.tagName)||t.preventDefault(),s.trigger(s.EVENTS.VIEW.KEYBOARD.LEFT);break;case r.RIGHT:o(t.target.tagName)||t.preventDefault(),s.trigger(s.EVENTS.VIEW.KEYBOARD.RIGHT);break;case r.UP:o(t.target.tagName)||t.preventDefault(),s.trigger(s.EVENTS.VIEW.KEYBOARD.UP);break;case r.DOWN:o(t.target.tagName)||t.preventDefault(),s.trigger(s.EVENTS.VIEW.KEYBOARD.DOWN);break;case r.SPACEBAR:break;case r.EXIT:s.trigger(s.EVENTS.VIEW.KEYBOARD.EXIT)}}};return e.extend(a,i.Events),a.start(),a}),define(""data/tracking_data"",[],function(){return{TRACK_IDS:{PODCAST_PLAY:""PODCAST_PLAY"",PODCAST_STOP:""PODCAST_STOP"",SHOW_COPYRIGHT:""SHOW_COPYRIGHT"",DOWNLOAD_PRESSKIT:""DOWNLOAD_PRESSKIT"",FILMS_FILTER:""FILMS_FILTER"",GALLERY:""GALLERY"",VIDEO:""VIDEO"",ABOUT_PROFILE:""ABOUT_PROFILE"",FOLLOW_FACEBOOK:""FOLLOW_FACEBOOK"",FOLLOW_TWITTER:""FOLLOW_TWITTER"",FOLLOW_YOUTUBE:""FOLLOW_YOUTUBE"",SHARE_FACEBOOK:""SHARE_FACEBOOK"",SHARE_TWITTER:""SHARE_TWITTER""},TRACK_DATA:[{id:""PODCAST_PLAY"",row:20,variables:[""podcast""],title:""Podcast Play"",type:""Event"",description:null,pageurl:null,eventcategory:""Podcast"",eventaction:""Play"",eventlabel:""{podcast}"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""PODCAST_STOP"",row:21,variables:[],title:""Podcast Stop"",type:""Event"",description:null,pageurl:null,eventcategory:""Podcast"",eventaction:""Stop"",eventlabel:null,eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""SHOW_COPYRIGHT"",row:22,variables:[],title:""Show copyright"",type:""Event"",description:null,pageurl:null,eventcategory:""Footer"",eventaction:""Show"",eventlabel:""Copyright"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""DOWNLOAD_PRESSKIT"",row:23,variables:[],title:""Download Presskit"",type:""Event"",description:null,pageurl:null,eventcategory:""Footer"",eventaction:""Download"",eventlabel:""Presskit"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""FILMS_FILTER"",row:24,variables:[""filter""],title:""Films filter"",type:""Event"",description:null,pageurl:null,eventcategory:""Films"",eventaction:""Filter"",eventlabel:""{filter}"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""GALLERY"",row:25,variables:[""photo""],title:""Gallery"",type:""Event"",description:null,pageurl:null,eventcategory:""Gallery"",eventaction:""Show"",eventlabel:""{photo}"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""VIDEO"",row:26,variables:[""video""],title:""Video"",type:""Event"",description:null,pageurl:null,eventcategory:""Video"",eventaction:""Play"",eventlabel:""{video}"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""ABOUT_PROFILE"",row:27,variables:[""name""],title:""About profile"",type:""Event"",description:null,pageurl:null,eventcategory:""About"",eventaction:""View Profile"",eventlabel:""{name}"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""FOLLOW_FACEBOOK"",row:30,variables:[],title:""Follow Facebook"",type:""Event"",description:null,pageurl:null,eventcategory:""Social"",eventaction:""Follow"",eventlabel:""Facebook"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""FOLLOW_TWITTER"",row:31,variables:[],title:""Follow Twitter"",type:""Event"",description:null,pageurl:null,eventcategory:""Social"",eventaction:""Follow"",eventlabel:""Twitter"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""FOLLOW_YOUTUBE"",row:32,variables:[],title:""Follow Youtube"",type:""Event"",description:null,pageurl:null,eventcategory:""Social"",eventaction:""Follow"",eventlabel:""Youtube"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""SHARE_FACEBOOK"",row:33,variables:[],title:""Share Facebook"",type:""Event"",description:null,pageurl:null,eventcategory:""Social"",eventaction:""Share"",eventlabel:""Facebook"",eventvalue:null,desktoptesting:null,mobiletesting:null},{id:""SHARE_TWITTER"",row:34,variables:[],title:""Share Twitter"",type:""Event"",description:null,pageurl:null,eventcategory:""Social"",eventaction:""Share"",eventlabel:""Twitter"",eventvalue:null,desktoptesting:null,mobiletesting:null}],TRACK_VAR_REGEXP:/\{(.+?)\}/g}}),define(""model/tracking_collection"",[""jquery"",""underscore"",""backbone"",""data/tracking_data""],function(t,e,i,n){var s={};return new(i.Collection.extend({events:{TRACK_FIRED:""TRACK_FIRED""},initialize:function(){},track:function(t,i){var r=this.get(t);if(!r)throw new Error(""Track not found: ""+t);var o,a;if(o=a=r.toJSON(),a.variables.length){var l=e.difference(a.variables,e.keys(i));if(l&&l.length)throw new Error(""Track missing variable values: ""+l);var c,h;o=e.mapObject(a,function(r,o){return e.isString(r)?(h=t+""_""+o,s.hasOwnProperty(h)||(s[h]=e.template(r,{interpolate:n.TRACK_VAR_REGEXP})),(c=s[h])(i)):r})}this.trigger(this.events.TRACK_FIRED,o)}}))(n.TRACK_DATA)}),define(""util/google_analytics"",[],function(){""use strict"";return function(){window.ga.apply(window.ga,arguments)}}),define(""controller/tracking_controller"",[""jquery"",""underscore"",""route/router"",""model/app_model"",""model/tracking_collection"",""view/common/communicator"",""events/view_events"",""events/share_events"",""util/google_analytics"",""data/tracking_data""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";var h={};return{init:function(){n.on(""change:page"",this.onPageChange,this)},onViewTrackMapEvent:function(t){if(e.has(h,t))switch(t){case o.PODCAST.PLAY:s.track(h[t],{podcast:arguments[1]});break;default:s.track(h[t])}},onPageChange:function(t,e){this.onTrackFired({type:""page"",pagetrackurl:e})},onViewTrack:function(t,e){s.track(t,e)},onTrackFired:function(t){switch(t.type.toLowerCase()){case""page"":l(""send"",""pageview"",t.pagetrackurl);break;case""event"":l(""send"",""event"",t.eventcategory,t.eventaction,t.eventlabel,t.eventvalue);break;default:throw new Error(""Track type not found: ""+t.id+"" - ""+t.type)}}}}),eval(function(t,e,i,n,s,r){if(s=function(t){return(t<62?"""":s(parseInt(t/62)))+((t%=62)>35?String.fromCharCode(t+29):t.toString(36))},!"""".replace(/^/,String)){for(;i--;)r[s(i)]=n[i]||s(i);n=[function(t){return r[t]}],s=function(){return""\\w+""},i=1}for(;i--;)n[i]&&(t=t.replace(new RegExp(""\\b""+s(i)+""\\b"",""g""),n[i]));return t | |
}(""9 17={3i:'0.1.3',16:1e-6};l v(){}v.23={e:l(i){8(i<1||i>7.4.q)?w:7.4[i-1]},2R:l(){8 7.4.q},1u:l(){8 F.1x(7.2u(7))},24:l(a){9 n=7.4.q;9 V=a.4||a;o(n!=V.q){8 1L}J{o(F.13(7.4[n-1]-V[n-1])>17.16){8 1L}}H(--n);8 2x},1q:l(){8 v.u(7.4)},1b:l(a){9 b=[];7.28(l(x,i){b.19(a(x,i))});8 v.u(b)},28:l(a){9 n=7.4.q,k=n,i;J{i=k-n;a(7.4[i],i+1)}H(--n)},2q:l(){9 r=7.1u();o(r===0){8 7.1q()}8 7.1b(l(x){8 x/r})},1C:l(a){9 V=a.4||a;9 n=7.4.q,k=n,i;o(n!=V.q){8 w}9 b=0,1D=0,1F=0;7.28(l(x,i){b+=x*V[i-1];1D+=x*x;1F+=V[i-1]*V[i-1]});1D=F.1x(1D);1F=F.1x(1F);o(1D*1F===0){8 w}9 c=b/(1D*1F);o(c<-1){c=-1}o(c>1){c=1}8 F.37(c)},1m:l(a){9 b=7.1C(a);8(b===w)?w:(b<=17.16)},34:l(a){9 b=7.1C(a);8(b===w)?w:(F.13(b-F.1A)<=17.16)},2k:l(a){9 b=7.2u(a);8(b===w)?w:(F.13(b)<=17.16)},2j:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x+V[i-1]})},2C:l(a){9 V=a.4||a;o(7.4.q!=V.q){8 w}8 7.1b(l(x,i){8 x-V[i-1]})},22:l(k){8 7.1b(l(x){8 x*k})},x:l(k){8 7.22(k)},2u:l(a){9 V=a.4||a;9 i,2g=0,n=7.4.q;o(n!=V.q){8 w}J{2g+=7.4[n-1]*V[n-1]}H(--n);8 2g},2f:l(a){9 B=a.4||a;o(7.4.q!=3||B.q!=3){8 w}9 A=7.4;8 v.u([(A[1]*B[2])-(A[2]*B[1]),(A[2]*B[0])-(A[0]*B[2]),(A[0]*B[1])-(A[1]*B[0])])},2A:l(){9 m=0,n=7.4.q,k=n,i;J{i=k-n;o(F.13(7.4[i])>F.13(m)){m=7.4[i]}}H(--n);8 m},2Z:l(x){9 a=w,n=7.4.q,k=n,i;J{i=k-n;o(a===w&&7.4[i]==x){a=i+1}}H(--n);8 a},3g:l(){8 S.2X(7.4)},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(y){8(F.13(y-x)<=17.16)?x:y})},1o:l(a){o(a.K){8 a.1o(7)}9 V=a.4||a;o(V.q!=7.4.q){8 w}9 b=0,2b;7.28(l(x,i){2b=x-V[i-1];b+=2b*2b});8 F.1x(b)},3a:l(a){8 a.1h(7)},2T:l(a){8 a.1h(7)},1V:l(t,a){9 V,R,x,y,z;2S(7.4.q){27 2:V=a.4||a;o(V.q!=2){8 w}R=S.1R(t).4;x=7.4[0]-V[0];y=7.4[1]-V[1];8 v.u([V[0]+R[0][0]*x+R[0][1]*y,V[1]+R[1][0]*x+R[1][1]*y]);1I;27 3:o(!a.U){8 w}9 C=a.1r(7).4;R=S.1R(t,a.U).4;x=7.4[0]-C[0];y=7.4[1]-C[1];z=7.4[2]-C[2];8 v.u([C[0]+R[0][0]*x+R[0][1]*y+R[0][2]*z,C[1]+R[1][0]*x+R[1][1]*y+R[1][2]*z,C[2]+R[2][0]*x+R[2][1]*y+R[2][2]*z]);1I;2P:8 w}},1t:l(a){o(a.K){9 P=7.4.2O();9 C=a.1r(P).4;8 v.u([C[0]+(C[0]-P[0]),C[1]+(C[1]-P[1]),C[2]+(C[2]-(P[2]||0))])}1d{9 Q=a.4||a;o(7.4.q!=Q.q){8 w}8 7.1b(l(x,i){8 Q[i-1]+(Q[i-1]-x)})}},1N:l(){9 V=7.1q();2S(V.4.q){27 3:1I;27 2:V.4.19(0);1I;2P:8 w}8 V},2n:l(){8'['+7.4.2K(', ')+']'},26:l(a){7.4=(a.4||a).2O();8 7}};v.u=l(a){9 V=25 v();8 V.26(a)};v.i=v.u([1,0,0]);v.j=v.u([0,1,0]);v.k=v.u([0,0,1]);v.2J=l(n){9 a=[];J{a.19(F.2F())}H(--n);8 v.u(a)};v.1j=l(n){9 a=[];J{a.19(0)}H(--n);8 v.u(a)};l S(){}S.23={e:l(i,j){o(i<1||i>7.4.q||j<1||j>7.4[0].q){8 w}8 7.4[i-1][j-1]},33:l(i){o(i>7.4.q){8 w}8 v.u(7.4[i-1])},2E:l(j){o(j>7.4[0].q){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][j-1])}H(--n);8 v.u(a)},2R:l(){8{2D:7.4.q,1p:7.4[0].q}},2D:l(){8 7.4.q},1p:l(){8 7.4[0].q},24:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(7.4.q!=M.q||7.4[0].q!=M[0].q){8 1L}9 b=7.4.q,15=b,i,G,10=7.4[0].q,j;J{i=15-b;G=10;J{j=10-G;o(F.13(7.4[i][j]-M[i][j])>17.16){8 1L}}H(--G)}H(--b);8 2x},1q:l(){8 S.u(7.4)},1b:l(a){9 b=[],12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;b[i]=[];J{j=10-G;b[i][j]=a(7.4[i][j],i+1,j+1)}H(--G)}H(--12);8 S.u(b)},2i:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}8(7.4.q==M.q&&7.4[0].q==M[0].q)},2j:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x+M[i-1][j-1]})},2C:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2i(M)){8 w}8 7.1b(l(x,i,j){8 x-M[i-1][j-1]})},2B:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}8(7.4[0].q==M.q)},22:l(a){o(!a.4){8 7.1b(l(x){8 x*a})}9 b=a.1u?2x:1L;9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}o(!7.2B(M)){8 w}9 d=7.4.q,15=d,i,G,10=M[0].q,j;9 e=7.4[0].q,4=[],21,20,c;J{i=15-d;4[i]=[];G=10;J{j=10-G;21=0;20=e;J{c=e-20;21+=7.4[i][c]*M[c][j]}H(--20);4[i][j]=21}H(--G)}H(--d);9 M=S.u(4);8 b?M.2E(1):M},x:l(a){8 7.22(a)},32:l(a,b,c,d){9 e=[],12=c,i,G,j;9 f=7.4.q,1p=7.4[0].q;J{i=c-12;e[i]=[];G=d;J{j=d-G;e[i][j]=7.4[(a+i-1)%f][(b+j-1)%1p]}H(--G)}H(--12);8 S.u(e)},31:l(){9 a=7.4.q,1p=7.4[0].q;9 b=[],12=1p,i,G,j;J{i=1p-12;b[i]=[];G=a;J{j=a-G;b[i][j]=7.4[j][i]}H(--G)}H(--12);8 S.u(b)},1y:l(){8(7.4.q==7.4[0].q)},2A:l(){9 m=0,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(F.13(7.4[i][j])>F.13(m)){m=7.4[i][j]}}H(--G)}H(--12);8 m},2Z:l(x){9 a=w,12=7.4.q,15=12,i,G,10=7.4[0].q,j;J{i=15-12;G=10;J{j=10-G;o(7.4[i][j]==x){8{i:i+1,j:j+1}}}H(--G)}H(--12);8 w},30:l(){o(!7.1y){8 w}9 a=[],n=7.4.q,k=n,i;J{i=k-n;a.19(7.4[i][i])}H(--n);8 v.u(a)},1K:l(){9 M=7.1q(),1c;9 n=7.4.q,k=n,i,1s,1n=7.4[0].q,p;J{i=k-n;o(M.4[i][i]==0){2e(j=i+1;j<k;j++){o(M.4[j][i]!=0){1c=[];1s=1n;J{p=1n-1s;1c.19(M.4[i][p]+M.4[j][p])}H(--1s);M.4[i]=1c;1I}}}o(M.4[i][i]!=0){2e(j=i+1;j<k;j++){9 a=M.4[j][i]/M.4[i][i];1c=[];1s=1n;J{p=1n-1s;1c.19(p<=i?0:M.4[j][p]-M.4[i][p]*a)}H(--1s);M.4[j]=1c}}}H(--n);8 M},3h:l(){8 7.1K()},2z:l(){o(!7.1y()){8 w}9 M=7.1K();9 a=M.4[0][0],n=M.4.q-1,k=n,i;J{i=k-n+1;a=a*M.4[i][i]}H(--n);8 a},3f:l(){8 7.2z()},2y:l(){8(7.1y()&&7.2z()===0)},2Y:l(){o(!7.1y()){8 w}9 a=7.4[0][0],n=7.4.q-1,k=n,i;J{i=k-n+1;a+=7.4[i][i]}H(--n);8 a},3e:l(){8 7.2Y()},1Y:l(){9 M=7.1K(),1Y=0;9 a=7.4.q,15=a,i,G,10=7.4[0].q,j;J{i=15-a;G=10;J{j=10-G;o(F.13(M.4[i][j])>17.16){1Y++;1I}}H(--G)}H(--a);8 1Y},3d:l(){8 7.1Y()},2W:l(a){9 M=a.4||a;o(1g(M[0][0])=='1f'){M=S.u(M).4}9 T=7.1q(),1p=T.4[0].q;9 b=T.4.q,15=b,i,G,10=M[0].q,j;o(b!=M.q){8 w}J{i=15-b;G=10;J{j=10-G;T.4[i][1p+j]=M[i][j]}H(--G)}H(--b);8 T},2w:l(){o(!7.1y()||7.2y()){8 w}9 a=7.4.q,15=a,i,j;9 M=7.2W(S.I(a)).1K();9 b,1n=M.4[0].q,p,1c,2v;9 c=[],2c;J{i=a-1;1c=[];b=1n;c[i]=[];2v=M.4[i][i];J{p=1n-b;2c=M.4[i][p]/2v;1c.19(2c);o(p>=15){c[i].19(2c)}}H(--b);M.4[i]=1c;2e(j=0;j<i;j++){1c=[];b=1n;J{p=1n-b;1c.19(M.4[j][p]-M.4[i][p]*M.4[j][i])}H(--b);M.4[j]=1c}}H(--a);8 S.u(c)},3c:l(){8 7.2w()},2d:l(){8 7.1b(l(x){8 F.2d(x)})},2V:l(x){8 7.1b(l(p){8(F.13(p-x)<=17.16)?x:p})},2n:l(){9 a=[];9 n=7.4.q,k=n,i;J{i=k-n;a.19(v.u(7.4[i]).2n())}H(--n);8 a.2K('\\n')},26:l(a){9 i,4=a.4||a;o(1g(4[0][0])!='1f'){9 b=4.q,15=b,G,10,j;7.4=[];J{i=15-b;G=4[i].q;10=G;7.4[i]=[];J{j=10-G;7.4[i][j]=4[i][j]}H(--G)}H(--b);8 7}9 n=4.q,k=n;7.4=[];J{i=k-n;7.4.19([4[i]])}H(--n);8 7}};S.u=l(a){9 M=25 S();8 M.26(a)};S.I=l(n){9 a=[],k=n,i,G,j;J{i=k-n;a[i]=[];G=k;J{j=k-G;a[i][j]=(i==j)?1:0}H(--G)}H(--n);8 S.u(a)};S.2X=l(a){9 n=a.q,k=n,i;9 M=S.I(n);J{i=k-n;M.4[i][i]=a[i]}H(--n);8 M};S.1R=l(b,a){o(!a){8 S.u([[F.1H(b),-F.1G(b)],[F.1G(b),F.1H(b)]])}9 d=a.1q();o(d.4.q!=3){8 w}9 e=d.1u();9 x=d.4[0]/e,y=d.4[1]/e,z=d.4[2]/e;9 s=F.1G(b),c=F.1H(b),t=1-c;8 S.u([[t*x*x+c,t*x*y-s*z,t*x*z+s*y],[t*x*y+s*z,t*y*y+c,t*y*z-s*x],[t*x*z-s*y,t*y*z+s*x,t*z*z+c]])};S.3b=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[1,0,0],[0,c,-s],[0,s,c]])};S.39=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[c,0,s],[0,1,0],[-s,0,c]])};S.38=l(t){9 c=F.1H(t),s=F.1G(t);8 S.u([[c,-s,0],[s,c,0],[0,0,1]])};S.2J=l(n,m){8 S.1j(n,m).1b(l(){8 F.2F()})};S.1j=l(n,m){9 a=[],12=n,i,G,j;J{i=n-12;a[i]=[];G=m;J{j=m-G;a[i][j]=0}H(--G)}H(--12);8 S.u(a)};l 14(){}14.23={24:l(a){8(7.1m(a)&&7.1h(a.K))},1q:l(){8 14.u(7.K,7.U)},2U:l(a){9 V=a.4||a;8 14.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.U)},1m:l(a){o(a.W){8 a.1m(7)}9 b=7.U.1C(a.U);8(F.13(b)<=17.16||F.13(b-F.1A)<=17.16)},1o:l(a){o(a.W){8 a.1o(7)}o(a.U){o(7.1m(a)){8 7.1o(a.K)}9 N=7.U.2f(a.U).2q().4;9 A=7.K.4,B=a.K.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,D=7.U.4;9 b=P[0]-A[0],2a=P[1]-A[1],29=(P[2]||0)-A[2];9 c=F.1x(b*b+2a*2a+29*29);o(c===0)8 0;9 d=(b*D[0]+2a*D[1]+29*D[2])/c;9 e=1-d*d;8 F.13(c*F.1x(e<0?0:e))}},1h:l(a){9 b=7.1o(a);8(b!==w&&b<=17.16)},2T:l(a){8 a.1h(7)},1v:l(a){o(a.W){8 a.1v(7)}8(!7.1m(a)&&7.1o(a)<=17.16)},1U:l(a){o(a.W){8 a.1U(7)}o(!7.1v(a)){8 w}9 P=7.K.4,X=7.U.4,Q=a.K.4,Y=a.U.4;9 b=X[0],1z=X[1],1B=X[2],1T=Y[0],1S=Y[1],1M=Y[2];9 c=P[0]-Q[0],2s=P[1]-Q[1],2r=P[2]-Q[2];9 d=-b*c-1z*2s-1B*2r;9 e=1T*c+1S*2s+1M*2r;9 f=b*b+1z*1z+1B*1B;9 g=1T*1T+1S*1S+1M*1M;9 h=b*1T+1z*1S+1B*1M;9 k=(d*g/f+h*e)/(g-h*h);8 v.u([P[0]+k*b,P[1]+k*1z,P[2]+k*1B])},1r:l(a){o(a.U){o(7.1v(a)){8 7.1U(a)}o(7.1m(a)){8 w}9 D=7.U.4,E=a.U.4;9 b=D[0],1l=D[1],1k=D[2],1P=E[0],1O=E[1],1Q=E[2];9 x=(1k*1P-b*1Q),y=(b*1O-1l*1P),z=(1l*1Q-1k*1O);9 N=v.u([x*1Q-y*1O,y*1P-z*1Q,z*1O-x*1P]);9 P=11.u(a.K,N);8 P.1U(7)}1d{9 P=a.4||a;o(7.1h(P)){8 v.u(P)}9 A=7.K.4,D=7.U.4;9 b=D[0],1l=D[1],1k=D[2],1w=A[0],18=A[1],1a=A[2];9 x=b*(P[1]-18)-1l*(P[0]-1w),y=1l*((P[2]||0)-1a)-1k*(P[1]-18),z=1k*(P[0]-1w)-b*((P[2]||0)-1a);9 V=v.u([1l*x-1k*z,1k*y-b*x,b*z-1l*y]);9 k=7.1o(P)/V.1u();8 v.u([P[0]+V.4[0]*k,P[1]+V.4[1]*k,(P[2]||0)+V.4[2]*k])}},1V:l(t,a){o(1g(a.U)=='1f'){a=14.u(a.1N(),v.k)}9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,D=7.U.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 14.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*D[0]+R[0][1]*D[1]+R[0][2]*D[2],R[1][0]*D[0]+R[1][1]*D[1]+R[1][2]*D[2],R[2][0]*D[0]+R[2][1]*D[1]+R[2][2]*D[2]])},1t:l(a){o(a.W){9 A=7.K.4,D=7.U.4;9 b=A[0],18=A[1],1a=A[2],2N=D[0],1l=D[1],1k=D[2];9 c=7.K.1t(a).4;9 d=b+2N,2h=18+1l,2o=1a+1k;9 Q=a.1r([d,2h,2o]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2h)-c[1],Q[2]+(Q[2]-2o)-c[2]];8 14.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 14.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.U)}},1Z:l(a,b){a=v.u(a);b=v.u(b);o(a.4.q==2){a.4.19(0)}o(b.4.q==2){b.4.19(0)}o(a.4.q>3||b.4.q>3){8 w}9 c=b.1u();o(c===0){8 w}7.K=a;7.U=v.u([b.4[0]/c,b.4[1]/c,b.4[2]/c]);8 7}};14.u=l(a,b){9 L=25 14();8 L.1Z(a,b)};14.X=14.u(v.1j(3),v.i);14.Y=14.u(v.1j(3),v.j);14.Z=14.u(v.1j(3),v.k);l 11(){}11.23={24:l(a){8(7.1h(a.K)&&7.1m(a))},1q:l(){8 11.u(7.K,7.W)},2U:l(a){9 V=a.4||a;8 11.u([7.K.4[0]+V[0],7.K.4[1]+V[1],7.K.4[2]+(V[2]||0)],7.W)},1m:l(a){9 b;o(a.W){b=7.W.1C(a.W);8(F.13(b)<=17.16||F.13(F.1A-b)<=17.16)}1d o(a.U){8 7.W.2k(a.U)}8 w},2k:l(a){9 b=7.W.1C(a.W);8(F.13(F.1A/2-b)<=17.16)},1o:l(a){o(7.1v(a)||7.1h(a)){8 0}o(a.K){9 A=7.K.4,B=a.K.4,N=7.W.4;8 F.13((A[0]-B[0])*N[0]+(A[1]-B[1])*N[1]+(A[2]-B[2])*N[2])}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;8 F.13((A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2])}},1h:l(a){o(a.W){8 w}o(a.U){8(7.1h(a.K)&&7.1h(a.K.2j(a.U)))}1d{9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=F.13(N[0]*(A[0]-P[0])+N[1]*(A[1]-P[1])+N[2]*(A[2]-(P[2]||0)));8(b<=17.16)}},1v:l(a){o(1g(a.U)=='1f'&&1g(a.W)=='1f'){8 w}8!7.1m(a)},1U:l(a){o(!7.1v(a)){8 w}o(a.U){9 A=a.K.4,D=a.U.4,P=7.K.4,N=7.W.4;9 b=(N[0]*(P[0]-A[0])+N[1]*(P[1]-A[1])+N[2]*(P[2]-A[2]))/(N[0]*D[0]+N[1]*D[1]+N[2]*D[2]);8 v.u([A[0]+D[0]*b,A[1]+D[1]*b,A[2]+D[2]*b])}1d o(a.W){9 c=7.W.2f(a.W).2q();9 N=7.W.4,A=7.K.4,O=a.W.4,B=a.K.4;9 d=S.1j(2,2),i=0;H(d.2y()){i++;d=S.u([[N[i%3],N[(i+1)%3]],[O[i%3],O[(i+1)%3]]])}9 e=d.2w().4;9 x=N[0]*A[0]+N[1]*A[1]+N[2]*A[2];9 y=O[0]*B[0]+O[1]*B[1]+O[2]*B[2];9 f=[e[0][0]*x+e[0][1]*y,e[1][0]*x+e[1][1]*y];9 g=[];2e(9 j=1;j<=3;j++){g.19((i==j)?0:f[(j+(5-i)%3)%3])}8 14.u(g,c)}},1r:l(a){9 P=a.4||a;9 A=7.K.4,N=7.W.4;9 b=(A[0]-P[0])*N[0]+(A[1]-P[1])*N[1]+(A[2]-(P[2]||0))*N[2];8 v.u([P[0]+N[0]*b,P[1]+N[1]*b,(P[2]||0)+N[2]*b])},1V:l(t,a){9 R=S.1R(t,a.U).4;9 C=a.1r(7.K).4;9 A=7.K.4,N=7.W.4;9 b=C[0],1E=C[1],1J=C[2],1w=A[0],18=A[1],1a=A[2];9 x=1w-b,y=18-1E,z=1a-1J;8 11.u([b+R[0][0]*x+R[0][1]*y+R[0][2]*z,1E+R[1][0]*x+R[1][1]*y+R[1][2]*z,1J+R[2][0]*x+R[2][1]*y+R[2][2]*z],[R[0][0]*N[0]+R[0][1]*N[1]+R[0][2]*N[2],R[1][0]*N[0]+R[1][1]*N[1]+R[1][2]*N[2],R[2][0]*N[0]+R[2][1]*N[1]+R[2][2]*N[2]])},1t:l(a){o(a.W){9 A=7.K.4,N=7.W.4;9 b=A[0],18=A[1],1a=A[2],2M=N[0],2L=N[1],2Q=N[2];9 c=7.K.1t(a).4;9 d=b+2M,2p=18+2L,2m=1a+2Q;9 Q=a.1r([d,2p,2m]).4;9 e=[Q[0]+(Q[0]-d)-c[0],Q[1]+(Q[1]-2p)-c[1],Q[2]+(Q[2]-2m)-c[2]];8 11.u(c,e)}1d o(a.U){8 7.1V(F.1A,a)}1d{9 P=a.4||a;8 11.u(7.K.1t([P[0],P[1],(P[2]||0)]),7.W)}},1Z:l(a,b,c){a=v.u(a);a=a.1N();o(a===w){8 w}b=v.u(b);b=b.1N();o(b===w){8 w}o(1g(c)=='1f'){c=w}1d{c=v.u(c);c=c.1N();o(c===w){8 w}}9 d=a.4[0],18=a.4[1],1a=a.4[2];9 e=b.4[0],1W=b.4[1],1X=b.4[2];9 f,1i;o(c!==w){9 g=c.4[0],2l=c.4[1],2t=c.4[2];f=v.u([(1W-18)*(2t-1a)-(1X-1a)*(2l-18),(1X-1a)*(g-d)-(e-d)*(2t-1a),(e-d)*(2l-18)-(1W-18)*(g-d)]);1i=f.1u();o(1i===0){8 w}f=v.u([f.4[0]/1i,f.4[1]/1i,f.4[2]/1i])}1d{1i=F.1x(e*e+1W*1W+1X*1X);o(1i===0){8 w}f=v.u([b.4[0]/1i,b.4[1]/1i,b.4[2]/1i])}7.K=a;7.W=f;8 7}};11.u=l(a,b,c){9 P=25 11();8 P.1Z(a,b,c)};11.2I=11.u(v.1j(3),v.k);11.2H=11.u(v.1j(3),v.i);11.2G=11.u(v.1j(3),v.j);11.36=11.2I;11.35=11.2H;11.3j=11.2G;9 $V=v.u;9 $M=S.u;9 $L=14.u;9 $P=11.u;"",0,206,""||||elements|||this|return|var||||||||||||function|||if||length||||create|Vector|null|||||||||Math|nj|while||do|anchor||||||||Matrix||direction||normal||||kj|Plane|ni|abs|Line|ki|precision|Sylvester|A2|push|A3|map|els|else||undefined|typeof|contains|mod|Zero|D3|D2|isParallelTo|kp|distanceFrom|cols|dup|pointClosestTo|np|reflectionIn|modulus|intersects|A1|sqrt|isSquare|X2|PI|X3|angleFrom|mod1|C2|mod2|sin|cos|break|C3|toRightTriangular|false|Y3|to3D|E2|E1|E3|Rotation|Y2|Y1|intersectionWith|rotate|v12|v13|rank|setVectors|nc|sum|multiply|prototype|eql|new|setElements|case|each|PA3|PA2|part|new_element|round|for|cross|product|AD2|isSameSizeAs|add|isPerpendicularTo|v22|AN3|inspect|AD3|AN2|toUnitVector|PsubQ3|PsubQ2|v23|dot|divisor|inverse|true|isSingular|determinant|max|canMultiplyFromLeft|subtract|rows|col|random|ZX|YZ|XY|Random|join|N2|N1|D1|slice|default|N3|dimensions|switch|liesIn|translate|snapTo|augment|Diagonal|trace|indexOf|diagonal|transpose|minor|row|isAntiparallelTo|ZY|YX|acos|RotationZ|RotationY|liesOn|RotationX|inv|rk|tr|det|toDiagonalMatrix|toUpperTriangular|version|XZ"".split(""|""),0,{})),define(""sylvester"",function(t){return function(){return t.$M}}(this)),define(""util/animation_utils"",[""jquery"",""sylvester""],function(t,e){""use strict"";return{DEG_2_RAD:Math.PI/180,getRotationXMatrix:function(t){return e([[1,0,0,0],[0,Math.cos(t*this.DEG_2_RAD),Math.sin(-t*this.DEG_2_RAD),0],[0,Math.sin(t*this.DEG_2_RAD),Math.cos(t*this.DEG_2_RAD),0],[0,0,0,1]])},getRotationYMatrix:function(t){return e([[Math.cos(t*this.DEG_2_RAD),0,Math.sin(t*this.DEG_2_RAD),0],[0,1,0,0],[Math.sin(-t*this.DEG_2_RAD),0,Math.cos(t*this.DEG_2_RAD),0],[0,0,0,1]])},getRotationZMatrix:function(t){return e([[Math.cos(t*this.DEG_2_RAD),Math.sin(-t*this.DEG_2_RAD),0,0],[Math.sin(t*this.DEG_2_RAD),Math.cos(t*this.DEG_2_RAD),0,0],[0,0,1,0],[0,0,0,1]])},getScaleMatrix:function(t,i,n){return e([[t||1,0,0,0],[0,i||1,0,0],[0,0,n||1,0],[0,0,0,1]])},getTransformationMatrix:function(t,i,n){return e([[1,0,0,0],[0,1,0,0],[0,0,1,0],[t||0,i||0,n||0,1]])},getResultMatrix:function(t){if(1===t.length)return t[0];for(var i=e([[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]),n=0;n<t.length;n++){i=t[n].x(i)}return i},getStringTransform3d:function(t){var e=""matrix3d("";return e+=t.e(1,1).toFixed(5)+"",""+t.e(1,2).toFixed(5)+"",""+t.e(1,3)+"",""+t.e(1,4).toFixed(5)+"","",e+=t.e(2,1).toFixed(5)+"",""+t.e(2,2).toFixed(5)+"",""+t.e(2,3)+"",""+t.e(2,4).toFixed(5)+"","",e+=t.e(3,1).toFixed(5)+"",""+t.e(3,2).toFixed(5)+"",""+t.e(3,3)+"",""+t.e(3,4).toFixed(5)+"","",e+=t.e(4,1).toFixed(5)+"",""+t.e(4,2).toFixed(5)+"",""+t.e(4,3)+"",""+t.e(4,4).toFixed(5),e+="")""},getStringTranslate2d:function(t,e){var i=""translate("";return i+=t+""px,"",i+=e+""px)""},getStringScale2d:function(t,e){var i=""scale("";return i+=t+"","",i+=e+"")""},getObjectTopLeft:function(t,e){return{left:t+""px"",top:e+""px""}}}}),define(""util/resn/domParse"",[""jquery"",""config""],function(t,e){""use strict"";function i(){this.imgExts=["".jpg"","".gif"","".png""],this.getDataByDevice=function(t,i){var n=i,s=i+""-mobile"",r=i+""-tablet"";return!e.FORCED_MOBILE_ON_TABLET&&e.MOBILE&&t.data(s)&&this.hasExtension(t.data(s),this.imgExts)&&(n=s),(e.FORCED_MOBILE_ON_TABLET||e.TABLET)&&t.data(r)&&this.hasExtension(t.data(r),this.imgExts)&&(n=r),t.data(n)},this.hasExtension=function(t,e){return t&&(t=t.toLowerCase()),new RegExp(""(""+e.join(""|"").replace(/\./g,""\\."")+"")$"").test(t)}}return new i}),define(""view/common/base_view"",[""jquery"",""underscore"",""backbone"",""config"",""util/animation_utils"",""util/resn/domParse""],function(t,e,i,n,s,r){""use strict"";return i.View.extend({img:null,imgLoading:!1,imgLoaded:!1,initialize:function(t){e.bindAll(this,""onImageLoaded"",""onImageError"")},render:function(){},cancelImageLoad:function(){this.img&&(this.img.onload=null,this.img.onerror=null,this.img.src="""",this.imgLoading=!1)},loadImage:function(t){if(!r.hasExtension(t,r.imgExts)||void 0===t||null===t)return window.console.warn(""no image src to load: "",t,this.el),void this.onImageError();this.img=new Image,this.img.onload=e.bind(this.onImageLoaded,this),this.img.onerror=this.onImageError,this.img.src=t,this.imgLoading=!0},getElementOffsetTop:function(t){return t.offset().top},getDataByDevice:function(t,e){return r.getDataByDevice(t,e)},onHideComplete:function(){this.trigger(""hideComplete"")},onResize:function(t){},onImageLoaded:function(){this.imgLoaded=!0},onImageError:function(){},setAlpha:function(t,e){var i=t||this.$el;i[0]&&(i[0].style.opacity=e)},setPosition:function(t,e,i,r){if(!n.TABLET){var o,a=t||this.$el,l=r||0;if(n.csstransforms3d){n.FIREFOX&&(e=Math.round(e),i=Math.round(i),l=Math.round(l));var c=s.getTransformationMatrix(e,i,l);o=s.getStringTransform3d(c)}else o=s.getStringTranslate2d(e,i);this.applyCss(a[0],o)}},setScale:function(t,e,i){var r,o=t||this.$el;if(n.csstransforms3d){var a=s.getScaleMatrix(e,i,1);r=s.getStringTransform3d(a)}else r=s.getStringTranslate2d(e,i);this.applyCss(o[0],r)},applyCss:function(t,e){t&&(t.style.webkitTransform=e,t.style.MozTransform=e,t.style.msTransform=e,t.style.OTransform=e,t.style.transform=e)},show:function(){},hide:function(){this.onHideComplete()},destroy:function(){this.stopListening(),this.off()}})}),define(""view/pages/loader"",[""jquery"",""underscore"",""view/common/base_view"",""config"",""route/router"",""model/app_model"",""model/loader_collection""],function(t,e,i,n,s,r,o){""use strict"";return i.extend({initialize:function(){},show:function(){o.on(""progress"",this.onLoadProgress,this)},hide:function(){},onLoadProgress:function(t){}})}),define(""constants/modules/component_grid"",[],function(){return{TILE:{SIZE:{SIMPLE_NARROW:""TILE:SIZE:SIMPLE_NARROW"",SIMPLE_WIDE:""TILE:SIZE:SIMPLE_WIDE"",IMAGE_RECT_NARROW:""TILE:SIZE:IMAGE_RECT_NARROW"",IMAGE_RECT_WIDE:""TILE:SIZE:IMAGE_RECT_WIDE"",IMAGE_SQUARE_NARROW:""TILE:SIZE:IMAGE_SQUARE_NARROW"",IMAGE_SQUARE_WIDE:""TILE:SIZE:IMAGE_SQUARE_WIDE""}},CELL:{TYPE:{SOFT:""CELL:TYPE:SOFT"",HARD:""CELL:TYPE:HARD"",MARGIN:""CELL:TYPE:MARGIN""}}}}),define(""constants/components"",[],function(){return{TYPE:{SIMPLE_CONTENT_TILE:""TYPE:SIMPLE_CONTENT_TILE"",IMAGE_CONTENT_TILE:""TYPE:IMAGE_CONTENT_TILE"",MEDIA_CONTENT_TILE:""TYPE:MEDIA_CONTENT_TILE""}}}),define(""data/modules/component_grid_data"",[""jquery"",""underscore"",""constants/modules/component_grid"",""constants/components""],function(t,e,i,n){return{getDataBySize:function(t){var i=e.findWhere(this.data,{size:t});return this.deepClone(i)},getDataByType:function(t){var i=e.findWhere(this.data,{type:t});return this.deepClone(i)},deepClone:function(e){return t.extend(!0,{},e)},data:[{className:null,type:n.TYPE.MEDIA_CONTENT_TILE,size:null,grid:[],cell:{x:0,y:0,soft:{width:18,height:0},hard:{absolute:{x:0,y:0},width:18,height:0,left:0,right:0}}},{className:""simpleContentTile--wide"",type:n.TYPE.SIMPLE_CONTENT_TILE,size:i.TILE.SIZE.SIMPLE_WIDE,grid:[],cell:{x:0,y:0,soft:{width:22,height:0},hard:{absolute:{x:0,y:0},width:22,height:0,left:0,right:0}}},{className:""simpleContentTile--narrow"",type:n.TYPE.SIMPLE_CONTENT_TILE,size:i.TILE.SIZE.SIMPLE_NARROW,grid:[],cell:{x:0,y:0,soft:{width:18,height:0},hard:{absolute:{x:0,y:0},width:18,height:0,left:0,right:0}}},{className:""imageContentTileSquare--narrow"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_SQUARE_NARROW,grid:[],cell:{x:0,y:0,soft:{width:24,height:24},hard:{absolute:{x:0,y:0},width:24,height:0,left:0,right:0}}},{className:""imageContentTileRect--wide"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_RECT_WIDE,grid:[],cell:{x:0,y:0,soft:{width:36,height:26},hard:{absolute:{x:0,y:0},width:32,height:0,left:2,right:2}}},{className:""imageContentTileRect--narrow"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_RECT_NARROW,grid:[],cell:{x:0,y:0,soft:{width:32,height:24},hard:{absolute:{x:0,y:0},width:28,height:0,left:2,right:2}}}]}}),define(""model/modules/component_grid_model"",[""backbone"",""underscore"",""model/resize_model"",""constants/modules/component_grid"",""constants/components"",""data/modules/component_grid_data""],function(t,e,i,n,s,r){return t.Model.extend({defaults:{collection:null,ready:!1,isArchive:!1},baseCellSize:4,cellSize:0,cellPos:null,grid:null,columnTotal:52,lowestImageContentTileWidth:null,index:0,rowRemain:0,rowViews:null,endOfRow:!1,align:""left"",readPosition:0,bottomMostTile:0,initialize:function(){this.setup()},setup:function(){this.set(""collection"",new t.Collection),this.setupImageContent(),this.cellSize=i.get(""scale"")*this.baseCellSize*10,this.rowViews=[],this.grid=[],this.cellPos={x:0,y:0}},setupImageContent:function(){this.imageContentTypes=e.sortBy(e.filter(r.data,function(t){return t.type===s.TYPE.IMAGE_CONTENT_TILE}),function(t){return t.cell.soft.width}).reverse(),this.lowestImageContentTileWidth=this.imageContentTypes[this.imageContentTypes.length-1].cell.soft.width}})}),define(""model/modules/pagination_model"",[""backbone""],function(t){return t.Model.extend({defaults:{ITEMS_PER_PAGE:9,totalCount:0,numOfPages:0,page:1,pagination:null}})}),define(""controller/modules/pagination_controller"",[""underscore"",""jquery"",""backbone"",""config"",""view/common/communicator"",""model/modules/pagination_model""],function(t,e,i,n,s,r){""use strict"";var o=function(t){this.initialize(t)};return t.extend(o.prototype,i.Events),t.extend(o.prototype,{model:null,collection:null,communicator:null,initialize:function(t){this.setup(t),this.addEvents()},setup:function(t){this.model=t.model,this.collection=t.collection,this.communicator=t.communicator},start:function(){this.setNumOfPages(),this.update()},setNumOfPages:function(){var t=this.collection.length/this.model.get(""ITEMS_PER_PAGE""),e=t<1?1:Math.ceil(t);this.model.set(""numOfPages"",e);var i=this.model.get(""numOfPages"")>1;this.model.set(""pagination"",i)},addEvents:function(){this.listenTo(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.LOAD_MORE,this.onLoadMore)},removeEvents:function(){this.stopListening(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.LOAD_MORE)},setPaginationState:function(t,e){var i=this.model.get(""page""),n=this.model.get(""ITEMS_PER_PAGE"");t.set(""paginated"",e<=n*i)},onLoadMore:function(){var t=this.model.get(""page"");t++,this.model.set(""page"",t),this.update(),s.trigger(s.EVENTS.VIEW.RESIZE)},update:function(){this.updateModels(),this.updatePage()},updateModels:function(){this.collection.each(this.setPaginationState,this)},updatePage:function(){var t=this.model.get(""numOfPages""),e=this.model.get(""page""),i=e<t;this.model.set(""pagination"",i)},destroy:function(){this.removeEvents(),this.collection=null,this.communicator=null,this.model.destroy(),this.model=null}}),o}),define(""controller/modules/component_grid/layout_controller"",[""underscore"",""jquery"",""backbone"",""view/common/communicator"",""constants/modules/component_grid"",""constants/components"",""TweenMax"",""console""],function(t,e,i,n,s,r,o,a){""use strict"";var l=function(t){this.initialize(t)};return t.extend(l.prototype,i.Events),t.extend(l.prototype,{model:null,collection:null,communicator:null,prevTile:{size:""""},initialize:function(t){this.setup(t)},setup:function(t){this.model=t.model,this.collection=t.collection,this.communicator=t.communicator},start:function(){for(;this.model.index<this.collection.length;)this.updateLayout()},updateLayout:function(){this.addTile(),this.model.rowRemain=this.model.columnTotal-this.model.cellPos.x,this.model.rowRemain<=0?(this.model.cellPos.y++,this.model.cellPos.x=0):this.model.cellPos.x++},addTile:function(){var t=this.collection.at(this.model.index);switch(t.attributes.type){case r.TYPE.IMAGE_CONTENT_TILE:this.addImageContentTile(t);break;case r.TYPE.SIMPLE_CONTENT_TILE:case r.TYPE.MEDIA_CONTENT_TILE:this.addContentTile(t)}},addContentTile:function(t){var e,i=Math.ceil(t.get(""height"")/this.model.cellSize);i<14?(e=14,t.set(""center"",!0)):e=i,t.attributes.cell.soft.height=e,t.attributes.cell.hard.height=e,t.attributes.cell.x=this.model.cellPos.x,t.attributes.cell.y=this.model.cellPos.y,this.updateTileCells(t),this.checkAvailability(t,this.model.cellPos)&&this.onTileAdded(t)},addImageContentTile:function(t){0===this.model.index&&this.setUniqueImageTile(t),t.attributes.cell.hard.height=Math.ceil(t.get(""contentHeight"")/this.model.cellSize)+4,t.attributes.cell.x=this.model.cellPos.x,t.attributes.cell.y=this.model.cellPos.y,this.updateTileCells(t),this.checkAvailability(t,this.model.cellPos)&&this.onTileAdded(t)},onTileAdded:function(t){this.addTileToRefGrid(t,this.model.cellPos),this.model.rowViews.push({index:this.model.index,model:t}),this.model.index++,this.isEndOfRow()&&(this.layoutRow(),this.model.endOfRow=!1),this.setImageTile(t),this.model.cellPos.y=this.model.readPosition,this.model.cellPos.x=0,this.model.index===this.collection.length&&this.onTilesComplete()},isEndOfRow:function(){return this.model.index===this.collection.length||this.model.endOfRow||2===this.model.rowViews.length},onTilesComplete:function(){this.model.set(""ready"",!0),this.setHeightScales()},setHeightScales:function(){var e=t.max(this.collection.map(function(t){return t.attributes.cell.y+t.attributes.cell.soft.height},this));this.collection.each(function(t){var i=+(t.attributes.cell.y/e).toFixed(1);t.set(""heightScale"",i)},this)},setImageTile:function(t){var e=this.collection.at(this.model.index);if(e&&e.attributes.type===r.TYPE.IMAGE_CONTENT_TILE){var i=t.attributes.size===s.TILE.SIZE.SIMPLE_WIDE?1:2,n=2*i,o=1===this.model.rowViews.length?t.attributes.cell.soft.width+t.attributes.cell.x:0,a=this.model.columnTotal-o-(i+n),l=this.getImageTile(a);l?this.onImageTileSelection(e,l):this.setUniqueImageTile(e)}},setUniqueImageTile:function(t){var e=this.getImageTile(this.model.columnTotal);this.prevTile.size===e.size?this.setUniqueImageTile(t):this.onImageTileSelection(t,e)},getImageTile:function(e){for(var i=[],n=0;n<this.model.imageContentTypes.length;n++){var s=this.model.imageContentTypes[n];s.cell.soft.width<=e&&i.push(s)}return 3===i.length&&i.pop(),i[t.random(0,i.length-1)]},setAttributes:function(i,n){var s=e.extend(!0,{},n);t.each(s,function(t,e){i.set(e,t)})},onImageTileSelection:function(t,e){this.setAttributes(t,e),this.prevTile.size=e.size,e.cell.soft.width+1>this.model.lowestImageContentTileWidth&&(this.model.endOfRow=!0)},checkAvailability:function(t,e){for(var i,n,s=!0,r=0;r<t.attributes.cell.soft.height;r++){i=e.y+r,this.checkHasCellRow(i);for(var o=0;o<t.attributes.cell.soft.width;o++){n=e.x+o;var a=this.model.grid[i][n];if(void 0===a){s=!1;break}var l=t.attributes.grid[r][o];if(!this.checkCell(t,l,a)){s=!1;break}}}return s},checkCell:function(t,e,i){var n=!1,o=e.type,a=t.attributes.type,l=i.type,c=i.componentType;if(l===s.CELL.TYPE.SOFT)n=!0;else switch(a){case r.TYPE.IMAGE_CONTENT_TILE:(o===s.CELL.TYPE.SOFT&&l===s.CELL.TYPE.MARGIN||c===r.TYPE.SIMPLE_CONTENT_TILE&&o===s.CELL.TYPE.SOFT)&&(n=!0);break;case r.TYPE.SIMPLE_CONTENT_TILE:}return n},checkBgAvailability:function(t,e){for(var i,n,s=0;s<t.attributes.cell.soft.height;s++){i=e.y+s,this.checkHasCellRow(i);for(var r=0;r<t.attributes.cell.soft.width;r++){n=e.x+r;var o=this.model.grid[i][n],a=t.attributes.grid[s][r];if(o){if(this.checkBgCell(t,a,o))break}}}},checkBgCell:function(t,e,i){var n=!1,o=(e.type,t.attributes.type),a=i.type,l=i.componentType;return a===s.CELL.TYPE.SOFT&&o===r.TYPE.SIMPLE_CONTENT_TILE&&l&&(t.attributes.background=!0,n=!0),n},firstRow:!0,layoutRow:function(){this.removeTilesFromRefGrid(),this.rebuildRefGrid(),this.updateTilePositions(),this.updateReadPosition(),this.addTilesToRefGrid(),this.firstRow=!1,this.model.rowViews=[],this.model.align=""left""===this.model.align?""right"":""left""},firstRowLayoutRule:function(){this.firstRow&&2===this.model.rowViews.length&&this.model.rowViews[0].model.attributes.type===r.TYPE.SIMPLE_CONTENT_TILE&&this.model.rowViews[1].model.attributes.type===r.TYPE.IMAGE_CONTENT_TILE&&(this.model.align=""right"")},updateTilePositions:function(){var t;if(""left""===this.model.align)for(t=0;t<this.model.rowViews.length;t++)this.updateTile(t);else for(t=this.model.rowViews.length-1;t>=0;t--)this.updateTile(t)},updateTile:function(t){var e=this.model.rowViews[t].model,i=this.model.rowViews[t+1]?this.model.rowViews[t+1].model:null,n=this.model.rowViews[t-1]?this.model.rowViews[t-1].model:null;switch(this.setTileAlignment(e,t),e.attributes.type){case r.TYPE.IMAGE_CONTENT_TILE:this.setImageContentLayout(e,n,i,2,t),this.updateTileCells(e);break;case r.TYPE.SIMPLE_CONTENT_TILE:this.setContentLayout(e,n,i,2,t),this.updateTileCells(e),this.setAlternatingBgs(e,t);break;case r.TYPE.MEDIA_CONTENT_TILE:this.setContentLayout(e,n,i,2,t),this.updateTileCells(e)}},setTileAlignment:function(t,e){""left""===this.model.align?t.align=0===e?""left"":""right"":1===this.model.rowViews.length?t.align=""right"":t.align=1===e?""right"":""left""},setContentLayout:function(e,i,n,r,o){var a=this.firstRow?2:4,l=this.getRandomYOffset(a);r=n&&n.attributes.size===s.TILE.SIZE.SIMPLE_WIDE?t.random(1,2):r,""left""===this.model.align?0===o?e.attributes.cell.x+=r:(e.attributes.cell.y+=l,e.attributes.cell.x=i.attributes.cell.x+i.attributes.cell.soft.width+r):""right""===this.model.align&&(0===o?2===this.model.rowViews.length&&(e.attributes.cell.y+=l,e.attributes.cell.x=n.attributes.cell.x-(e.attributes.cell.soft.width+r)):e.attributes.cell.x=this.model.columnTotal-(e.attributes.cell.soft.width+r)-2),this.updateYOffset(e,o)},setImageContentLayout:function(e,i,n,r,o){var a=this.firstRow?4:5,l=this.getRandomYOffset(a);if(r=e.attributes.size===s.TILE.SIZE.SIMPLE_WIDE?t.random(1,2):r,""left""===this.model.align)2===this.model.rowViews.length&&1===o&&(e.attributes.cell.y+=l,e.attributes.cell.x=i.attributes.cell.x+i.attributes.cell.soft.width+r);else if(""right""===this.model.align){var c={x:this.model.columnTotal-e.attributes.cell.soft.width,y:e.attributes.cell.y};0===o?2===this.model.rowViews.length?(e.attributes.cell.y+=l,e.attributes.cell.x=n.attributes.cell.x-e.attributes.cell.soft.width-r):this.checkAvailability(e,c)?e.attributes.cell.x=c.x:(c.x-=2,this.checkAvailability(e,c)&&(e.attributes.cell.x=c.x)):1===o&&(this.checkAvailability(e,c)?e.attributes.cell.x=c.x:(c.x-=2,this.checkAvailability(e,c)&&(e.attributes.cell.x=c.x)))}this.updateYOffset(e,o)},removeTilesFromRefGrid:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model;this.removeTileFromRefGrid(e)}},rebuildRefGrid:function(){for(var t=0;t<this.model.index-this.model.rowViews.length;t++){var e=this.collection.at(t);this.addTileToRefGrid(e,e.attributes.cell)}},updateReadPosition:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model,i=e.attributes.cell.hard.height+e.attributes.cell.hard.absolute.y;i>this.model.readPosition&&(this.model.readPosition=i),e.attributes.cell.y+e.attributes.cell.soft.height>this.model.bottomMostTile&&(this.model.bottomMostTile=e.attributes.cell.y+e.attributes.cell.soft.height)}},addTilesToRefGrid:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model;this.addTileToRefGrid(e,e.attributes.cell)}},setAlternatingBgs:function(t,e){if(this.checkBgAvailability(t,t.attributes.cell),t.get(""background"")||t.attributes.type!==r.TYPE.SIMPLE_CONTENT_TILE||t.attributes.size!==s.TILE.SIZE.SIMPLE_WIDE){if(0===this.collection.indexOf(t)||t.get(""center""))t.set(""background"",!0);else if(!t.get(""background"")){var i=""right""===this.model.align?1:0,n=e%2===i;t.set(""background"",n)}}else t.set(""background"",!1)},updateYOffset:function(e,i){this.collection.indexOf(e);if(this.collection.length>1)if(1===this.model.rowViews.length)e.attributes.cell.y+=2;else{var n=this.getHeightDiff();if(n>18)this.centerAlignTile();else if(!this.firstRow&&(e.attributes.cell.y===this.model.bottomMostTile||e.attributes.cell.y===this.model.readPosition)){var s=t.random(1,2);e.attributes.cell.y+=s}}else e.attributes.cell.y=0},centerAlignTile:function(){var t,e,i,n;this.model.rowViews[0].model.attributes.cell.soft.height>this.model.rowViews[1].model.attributes.cell.soft.height?(t=this.model.rowViews[0].model, | |
e=this.model.rowViews[1].model):(t=this.model.rowViews[1].model,e=this.model.rowViews[0].model),this.model.rowViews[0].model.attributes.cell.y<this.model.rowViews[1].model.attributes.cell.y?(i=this.model.rowViews[0].model,n=this.model.rowViews[1].model):(i=this.model.rowViews[1].model,n=this.model.rowViews[0].model);var s=n.attributes.cell.y-i.attributes.cell.y;e.attributes.cell.y+=Math.ceil(.5*t.attributes.cell.soft.height)-Math.ceil(.5*e.attributes.cell.soft.height)-s},getHeightDiff:function(){return Math.abs(this.model.rowViews[0].model.attributes.cell.soft.height-this.model.rowViews[1].model.attributes.cell.soft.height)},getRandomYOffset:function(t){var e=this.model.bottomMostTile-this.model.readPosition,i=0===e?2:e;return Math.ceil(Math.random()*t)+i},checkHasCellRow:function(t){this.model.grid.length-1<t&&(this.model.grid[t]=this.getRefGridRow())},getRefGridRow:function(){for(var t=[],e=0;e<this.model.columnTotal;e++){var i=this.detectMargin(e);t.push({type:i?s.CELL.TYPE.MARGIN:s.CELL.TYPE.SOFT,componentType:null})}return t},addTileToRefGrid:function(t,e){for(var i,n,s=0;s<t.attributes.cell.soft.height;s++){n=e.y+s,this.checkHasCellRow(n);for(var r=0;r<t.attributes.cell.soft.width;r++)i=e.x+r,this.model.grid[n][i]={tileId:t.attributes.tileId,type:this.getCellType(i,n,t),componentType:t.attributes.type}}},removeTileFromRefGrid:function(t){for(var e,i,n=0;n<t.attributes.cell.soft.height;n++){i=t.attributes.cell.y+n;for(var r=0;r<t.attributes.cell.soft.width;r++)if(e=t.attributes.cell.x+r,t.attributes.tileId===this.model.grid[i][e].tileId){var o=this.detectMargin(e);this.model.grid[i][e]={type:o?s.CELL.TYPE.MARGIN:s.CELL.TYPE.SOFT,componentType:null}}}},detectMargin:function(t){return t<2||t>this.model.columnTotal-3},getCellType:function(t,e,i){return this.detectMargin(t)?s.CELL.TYPE.MARGIN:t>=i.attributes.cell.hard.absolute.x&&t<i.attributes.cell.hard.absolute.x+i.attributes.cell.hard.width&&e>=i.attributes.cell.hard.absolute.y&&e<i.attributes.cell.hard.absolute.y+i.attributes.cell.hard.height?s.CELL.TYPE.HARD:s.CELL.TYPE.SOFT},updateTileCells:function(t){t.attributes.cell.hard.x=t.attributes.cell.hard.left,t.attributes.cell.hard.y=Math.round((t.attributes.cell.soft.height-t.attributes.cell.hard.height)/2),t.attributes.cell.hard.absolute.x=t.attributes.cell.x+t.attributes.cell.hard.x,t.attributes.cell.hard.absolute.y=t.attributes.cell.y+t.attributes.cell.hard.y;for(var e=0;e<t.attributes.cell.soft.height;e++){t.attributes.grid.length-1<e&&(t.attributes.grid[e]=this.getSoftArray(t.attributes.cell.soft.width));for(var i=0;i<t.attributes.cell.soft.width;i++){if(t.attributes.grid[e]){var n;n=i>=t.attributes.cell.hard.x&&i<t.attributes.cell.hard.x+t.attributes.cell.hard.width&&e>=t.attributes.cell.hard.y&&e<t.attributes.cell.hard.y+t.attributes.cell.hard.height?s.CELL.TYPE.HARD:s.CELL.TYPE.SOFT,t.attributes.grid[e][i]={type:n}}}}},getSoftArray:function(t){for(var e=[],i=0;i<t;i++)e.push({type:s.CELL.TYPE.SOFT});return e},destroy:function(){this.collection=null,this.communicator=null,this.model.destroy(),this.model=null}}),l}),define(""controller/modules/component_grid_controller"",[""underscore"",""jquery"",""backbone"",""config"",""view/common/communicator"",""model/modules/component_grid_model"",""model/modules/pagination_model"",""controller/modules/pagination_controller"",""controller/modules/component_grid/layout_controller""],function(t,e,i,n,s,r,o,a,l){""use strict"";var c=function(){this.initialize()};return t.extend(c.prototype,i.Events),t.extend(c.prototype,{communicator:null,collection:null,model:null,paginationController:null,layoutController:null,initialize:function(){this.setup(),this.addEvents()},setup:function(){this.model=new r,this.communicator=t.extend({},i.Events),this.collection=this.model.get(""collection""),this.setupPagination(),this.setupLayout()},addEvents:function(){this.listenToOnce(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS,this.onComponentsAdded)},removeEvents:function(){this.stopListening(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS)},setupPagination:function(){var t=new o({ITEMS_PER_PAGE:999});this.paginationController=new a({model:t,collection:this.collection,communicator:this.communicator}),this.model.set(""paginationModel"",t)},setupLayout:function(){this.layoutController=new l({model:this.model,collection:this.collection,communicator:this.communicator})},onComponentsAdded:function(t){this.collection.add(t),1===this.collection.length&&(this.model.align=""left""),this.paginationController.start(),this.layoutController.start()},destroy:function(){this.removeEvents(),this.model.destroy(),this.model=null,this.communicator=null,this.collection=null,this.layoutController.destroy(),this.layoutController=null,this.paginationController.destroy(),this.paginationController=null}}),c}),define(""model/scroll_model"",[""backbone""],function(t){""use strict"";return new(t.Model.extend({targetScrollTop:0,scrollTop:0,scrollCenter:0,scrollRatio:0,scrollDelta:0,height:0,defaults:{lock:!0,scrolling:!1,topPosition:!0,direction:0,mobile_scrolltop:0}}))}),define(""view/common/scroll_base_view"",[""jquery"",""underscore"",""backbone"",""config"",""view/common/communicator"",""view/common/base_view"",""model/scroll_model"",""model/resize_model"",""util/resn/math"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return r.extend({viewportPadding:0,activeScrollRatio:1,baseViewportPadding:n.TABLET||n.FIREFOX?500:100,viewPortObj:{top:0,bottom:window.innerHeight},initialize:function(t){r.prototype.initialize.apply(this,arguments),this.model=new i.Model,n.TABLET?(this.model.set(""visible"",!0),this.model.set(""active"",!0)):(this.model.set(""visible"",!1),this.model.set(""active"",!1))},render:function(){r.prototype.render.call(this),this.resize()},checkOffsets:function(){this.checkVisibleOffset(),this.checkActiveOffset()},checkVisibleOffset:function(){o.scrollCenter>this.topOffset&&o.scrollCenter<this.bottomOffset?this.model.set(""visible"",!0):(o.scrollCenter<=this.topOffset||o.scrollCenter>=this.bottomOffset)&&this.model.set(""visible"",!1)},checkActiveOffset:function(){o.scrollBottom>this.topOffset-this.viewportPadding&&o.scrollBottom<this.bottomOffset+this.windowHeight+this.viewportPadding?(this.activeScrollRatio=(this.height+this.windowHeight-(o.scrollBottom-this.topOffset))/(this.height+this.windowHeight+this.viewportPadding),this.model.set(""active"",!0)):this.model.set(""active"",!1)},getComputedTranslateY:function(t){if(!window.getComputedStyle)return 0;var e=window.getComputedStyle(t),i=e.transform||e.webkitTransform||e.mozTransform;if(!i)return 0;var n=i.match(/^matrix3d\((.+)\)$/);return n?parseFloat(n[1].split("", "")[13]):(n=i.match(/^matrix\((.+)\)$/),n?parseFloat(n[1].split("", "")[5]):0)},setOffsets:function(){var t=this.$el.offset(),e=this.getComputedTranslateY(this.$el[0]);t&&(this.topOffset=t.top-e+(o.scrollTop-o.targetScrollTop),this.leftOffset=t.left,this.height=this.$el.outerHeight(),this.model.set(""height"",this.height),this.width=this.$el.outerWidth(),this.model.set(""topOffset"",this.topOffset),this.bottomOffset=this.topOffset+this.height,this.windowHeight=window.innerHeight)},activate:function(){},deactivate:function(){},hide:function(){r.prototype.hide.call(this)},show:function(){r.prototype.show.call(this)},destroy:function(){r.prototype.destroy.call(this)},resize:function(){this.viewportPadding=this.baseViewportPadding*a.get(""scale""),this.setOffsets()},tick:function(){this.checkOffsets()}})});var _gsScope=""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){""use strict"";function t(t,e,i,n){return i=parseFloat(i)-parseFloat(t),n=parseFloat(n)-parseFloat(e),Math.sqrt(i*i+n*n)}function e(t){return""string""!=typeof t&&t.nodeType||(t=_gsScope.TweenLite.selector(t),t.length&&(t=t[0])),t}function i(t,e,i){var n,s,r=t.indexOf("" "");return-1===r?(n=void 0!==i?i+"""":t,s=t):(n=t.substr(0,r),s=t.substr(r+1)),n=-1!==n.indexOf(""%"")?parseFloat(n)/100*e:parseFloat(n),s=-1!==s.indexOf(""%"")?parseFloat(s)/100*e:parseFloat(s),n>s?[s,n]:[n,s]}function n(i){if(!i)return 0;i=e(i);var n,s,r,o,l,c,h=i.tagName.toLowerCase();if(""path""===h){r=i.style.strokeDasharray,i.style.strokeDasharray=""none"",n=i.getTotalLength()||0;try{i.getBBox()}catch(t){}i.style.strokeDasharray=r}else if(""rect""===h)n=2*i.getAttribute(""width"")+2*i.getAttribute(""height"");else if(""circle""===h)n=2*Math.PI*parseFloat(i.getAttribute(""r""));else if(""line""===h)n=t(i.getAttribute(""x1""),i.getAttribute(""y1""),i.getAttribute(""x2""),i.getAttribute(""y2""));else if(""polyline""===h||""polygon""===h)for(s=i.getAttribute(""points"").match(a)||[],""polygon""===h&&s.push(s[0],s[1]),n=0,o=2;o<s.length;o+=2)n+=t(s[o-2],s[o-1],s[o],s[o+1])||0;else""ellipse""===h&&(l=parseFloat(i.getAttribute(""rx"")),c=parseFloat(i.getAttribute(""ry"")),n=Math.PI*(3*(l+c)-Math.sqrt((3*l+c)*(l+3*c))));return n||0}function s(t,i){if(!t)return[0,0];t=e(t),i=i||n(t)+1;var s=o(t),r=s.strokeDasharray||"""",a=parseFloat(s.strokeDashoffset),l=r.indexOf("","");return 0>l&&(l=r.indexOf("" "")),r=0>l?i:parseFloat(r.substr(0,l))||1e-5,r>i&&(r=i),[Math.max(0,-a),Math.max(0,r-a)]}var r,o=document.defaultView?document.defaultView.getComputedStyle:function(){},a=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi;r=_gsScope._gsDefine.plugin({propName:""drawSVG"",API:2,version:""0.0.10"",global:!0,overwriteProps:[""drawSVG""],init:function(t,e,r){if(!t.getBBox)return!1;var o,a,l,c=n(t)+1;return this._style=t.style,!0===e||""true""===e?e=""0 100%"":e?-1===(e+"""").indexOf("" "")&&(e=""0 ""+e):e=""0 0"",o=s(t,c),a=i(e,c,o[0]),this._length=c+10,0===o[0]&&0===a[0]?(l=Math.max(1e-5,a[1]-c),this._dash=c+l,this._offset=c-o[1]+l,this._addTween(this,""_offset"",this._offset,c-a[1]+l,""drawSVG"")):(this._dash=o[1]-o[0]||1e-6,this._offset=-o[0],this._addTween(this,""_dash"",this._dash,a[1]-a[0]||1e-5,""drawSVG""),this._addTween(this,""_offset"",this._offset,-a[0],""drawSVG"")),!0},set:function(t){this._firstPT&&(this._super.setRatio.call(this,t),this._style.strokeDashoffset=this._offset,this._style.strokeDasharray=1===t||0===t?this._offset<.001&&this._length-this._dash<=10?""none"":this._offset===this._dash?""0px, 999999px"":this._dash+""px,""+this._length+""px"":this._dash+""px,""+this._length+""px"")}}),r.getLength=n,r.getPosition=s}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),define(""TweenMaxSvgDraw"",function(){}),function(t,e){""object""==typeof exports&&""object""==typeof module?module.exports=e():""function""==typeof define&&define.amd?define(""handlebars"",[],e):""object""==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={exports:{},id:n,loaded:!1};return t[n].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};return e.m=t,e.c=i,e.p="""",e(0)}([function(t,e,i){""use strict"";function n(){var t=_();return t.compile=function(e,i){return h.compile(e,i,t)},t.precompile=function(e,i){return h.precompile(e,i,t)},t.AST=l.default,t.Compiler=h.Compiler,t.JavaScriptCompiler=d.default,t.Parser=c.parser,t.parse=c.parse,t}var s=i(1).default;e.__esModule=!0;var r=i(2),o=s(r),a=i(21),l=s(a),c=i(22),h=i(27),u=i(28),d=s(u),p=i(25),f=s(p),m=i(20),g=s(m),_=o.default.create,v=n();v.create=n,g.default(v),v.Visitor=f.default,v.default=v,e.default=v,t.exports=e.default},function(t,e){""use strict"";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,i){""use strict"";function n(){var t=new a.HandlebarsEnvironment;return p.extend(t,a),t.SafeString=c.default,t.Exception=u.default,t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=m,t.template=function(e){return m.template(e,t)},t}var s=i(3).default,r=i(1).default;e.__esModule=!0;var o=i(4),a=s(o),l=i(18),c=r(l),h=i(6),u=r(h),d=i(5),p=s(d),f=i(19),m=s(f),g=i(20),_=r(g),v=n();v.create=n,_.default(v),v.default=v,e.default=v,t.exports=e.default},function(t,e){""use strict"";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e},e.__esModule=!0},function(t,e,i){""use strict"";function n(t,e,i){this.helpers=t||{},this.partials=e||{},this.decorators=i||{},l.registerDefaultHelpers(this),c.registerDefaultDecorators(this)}var s=i(1).default;e.__esModule=!0,e.HandlebarsEnvironment=n;var r=i(5),o=i(6),a=s(o),l=i(7),c=i(15),h=i(17),u=s(h);e.VERSION=""4.0.5"";e.COMPILER_REVISION=7;var d={1:""<= 1.0.rc.2"",2:""== 1.0.0-rc.3"",3:""== 1.0.0-rc.4"",4:""== 1.x.x"",5:""== 2.0.0-alpha.x"",6:"">= 2.0.0-beta.1"",7:"">= 4.0.0""};e.REVISION_CHANGES=d;n.prototype={constructor:n,logger:u.default,log:u.default.log,registerHelper:function(t,e){if(""[object Object]""===r.toString.call(t)){if(e)throw new a.default(""Arg not supported with multiple helpers"");r.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(""[object Object]""===r.toString.call(t))r.extend(this.partials,t);else{if(void 0===e)throw new a.default('Attempting to register a partial called ""'+t+'"" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(""[object Object]""===r.toString.call(t)){if(e)throw new a.default(""Arg not supported with multiple decorators"");r.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var p=u.default.log;e.log=p,e.createFrame=r.createFrame,e.logger=u.default},function(t,e){""use strict"";function i(t){return h[t]}function n(t){for(var e=1;e<arguments.length;e++)for(var i in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],i)&&(t[i]=arguments[e][i]);return t}function s(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1}function r(t){if(""string""!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"""";if(!t)return t+"""";t=""""+t}return d.test(t)?t.replace(u,i):t}function o(t){return!t&&0!==t||!(!m(t)||0!==t.length)}function a(t){var e=n({},t);return e._parent=t,e}function l(t,e){return t.path=e,t}function c(t,e){return(t?t+""."":"""")+e}e.__esModule=!0,e.extend=n,e.indexOf=s,e.escapeExpression=r,e.isEmpty=o,e.createFrame=a,e.blockParams=l,e.appendContextPath=c;var h={""&"":""&"",""<"":""<"","">"":"">"",'""':""""",""'"":""'"",""`"":""`"",""="":""=""},u=/[&<>""'`=]/g,d=/[&<>""'`=]/,p=Object.prototype.toString;e.toString=p;var f=function(t){return""function""==typeof t};f(/x/)&&(e.isFunction=f=function(t){return""function""==typeof t&&""[object Function]""===p.call(t)}),e.isFunction=f;var m=Array.isArray||function(t){return!(!t||""object""!=typeof t)&&""[object Array]""===p.call(t)};e.isArray=m},function(t,e){""use strict"";function i(t,e){var s=e&&e.loc,r=void 0,o=void 0;s&&(r=s.start.line,o=s.start.column,t+="" - ""+r+"":""+o);for(var a=Error.prototype.constructor.call(this,t),l=0;l<n.length;l++)this[n[l]]=a[n[l]];Error.captureStackTrace&&Error.captureStackTrace(this,i),s&&(this.lineNumber=r,this.column=o)}e.__esModule=!0;var n=[""description"",""fileName"",""lineNumber"",""message"",""name"",""number"",""stack""];i.prototype=new Error,e.default=i,t.exports=e.default},function(t,e,i){""use strict"";function n(t){o.default(t),l.default(t),h.default(t),d.default(t),f.default(t),g.default(t),v.default(t)}var s=i(1).default;e.__esModule=!0,e.registerDefaultHelpers=n;var r=i(8),o=s(r),a=i(9),l=s(a),c=i(10),h=s(c),u=i(11),d=s(u),p=i(12),f=s(p),m=i(13),g=s(m),_=i(14),v=s(_)},function(t,e,i){""use strict"";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerHelper(""blockHelperMissing"",function(e,i){var s=i.inverse,r=i.fn;if(!0===e)return r(this);if(!1===e||null==e)return s(this);if(n.isArray(e))return e.length>0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):s(this);if(i.data&&i.ids){var o=n.createFrame(i.data);o.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:o}}return r(e,i)})},t.exports=e.default},function(t,e,i){""use strict"";var n=i(1).default;e.__esModule=!0;var s=i(5),r=i(6),o=n(r);e.default=function(t){t.registerHelper(""each"",function(t,e){function i(e,i,r){c&&(c.key=e,c.index=i,c.first=0===i,c.last=!!r,h&&(c.contextPath=h+e)),l+=n(t[e],{data:c,blockParams:s.blockParams([t[e],e],[h+e,null])})}if(!e)throw new o.default(""Must pass iterator to #each"");var n=e.fn,r=e.inverse,a=0,l="""",c=void 0,h=void 0;if(e.data&&e.ids&&(h=s.appendContextPath(e.data.contextPath,e.ids[0])+"".""),s.isFunction(t)&&(t=t.call(this)),e.data&&(c=s.createFrame(e.data)),t&&""object""==typeof t)if(s.isArray(t))for(var u=t.length;a<u;a++)a in t&&i(a,a,a===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&i(d,a-1),d=p,a++);void 0!==d&&i(d,a-1,!0)}return 0===a&&(l=r(this)),l})},t.exports=e.default},function(t,e,i){""use strict"";var n=i(1).default;e.__esModule=!0;var s=i(6),r=n(s);e.default=function(t){t.registerHelper(""helperMissing"",function(){if(1!==arguments.length)throw new r.default('Missing helper: ""'+arguments[arguments.length-1].name+'""')})},t.exports=e.default},function(t,e,i){""use strict"";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerHelper(""if"",function(t,e){return n.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||n.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper(""unless"",function(e,i){return t.helpers.if.call(this,e,{fn:i.inverse,inverse:i.fn,hash:i.hash})})},t.exports=e.default},function(t,e){""use strict"";e.__esModule=!0,e.default=function(t){t.registerHelper(""log"",function(){for(var e=[void 0],i=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var s=1;null!=i.hash.level?s=i.hash.level:i.data&&null!=i.data.level&&(s=i.data.level),e[0]=s,t.log.apply(t,e)})},t.exports=e.default},function(t,e){""use strict"";e.__esModule=!0,e.default=function(t){t.registerHelper(""lookup"",function(t,e){return t&&t[e]})},t.exports=e.default},function(t,e,i){""use strict"";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerHelper(""with"",function(t,e){n.isFunction(t)&&(t=t.call(this));var i=e.fn;if(n.isEmpty(t))return e.inverse(this);var s=e.data;return e.data&&e.ids&&(s=n.createFrame(e.data),s.contextPath=n.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:s,blockParams:n.blockParams([t],[s&&s.contextPath])})})},t.exports=e.default},function(t,e,i){""use strict"";function n(t){o.default(t)}var s=i(1).default;e.__esModule=!0,e.registerDefaultDecorators=n;var r=i(16),o=s(r)},function(t,e,i){""use strict"";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerDecorator(""inline"",function(t,e,i,s){var r=t;return e.partials||(e.partials={},r=function(s,r){var o=i.partials;i.partials=n.extend({},o,e.partials);var a=t(s,r);return i.partials=o,a}),e.partials[s.args[0]]=s.fn,r})},t.exports=e.default},function(t,e,i){""use strict"";e.__esModule=!0;var n=i(5),s={methodMap:[""debug"",""info"",""warn"",""error""],level:""info"",lookupLevel:function(t){if(""string""==typeof t){var e=n.indexOf(s.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=s.lookupLevel(t),""undefined""!=typeof console&&s.lookupLevel(s.level)<=t){var e=s.methodMap[t];console[e]||(e=""log"");for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];console[e].apply(console,n)}}};e.default=s,t.exports=e.default},function(t,e){""use strict"";function i(t){this.string=t}e.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""""+this.string},e.default=i,t.exports=e.default},function(t,e,i){""use strict"";function n(t){var e=t&&t[0]||1,i=_.COMPILER_REVISION;if(e!==i){if(e<i){var n=_.REVISION_CHANGES[i],s=_.REVISION_CHANGES[e];throw new g.default(""Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (""+n+"") or downgrade your runtime to an older version (""+s+"")."")}throw new g.default(""Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (""+t[1]+"")."")}}function s(t,e){function i(i,n,s){s.hash&&(n=f.extend({},n,s.hash),s.ids&&(s.ids[0]=!0)),i=e.VM.resolvePartial.call(this,i,n,s);var r=e.VM.invokePartial.call(this,i,n,s);if(null==r&&e.compile&&(s.partials[s.name]=e.compile(i,t.compilerOptions,e),r=s.partials[s.name](n,s)),null!=r){if(s.indent){for(var o=r.split(""\n""),a=0,l=o.length;a<l&&(o[a]||a+1!==l);a++)o[a]=s.indent+o[a];r=o.join(""\n"")}return r}throw new g.default(""The partial ""+s.name+"" could not be compiled when running in runtime-only mode"")}function n(e){function i(e){return""""+t.main(s,e,s.helpers,s.partials,o,l,a)}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=r.data;n._setup(r),!r.partial&&t.useData&&(o=c(e,o));var a=void 0,l=t.useBlockParams?[]:void 0;return t.useDepths&&(a=r.depths?e!==r.depths[0]?[e].concat(r.depths):r.depths:[e]),(i=h(t.main,i,s,r.depths||[],o,l))(e,r)}if(!e)throw new g.default(""No environment passed to template"");if(!t||!t.main)throw new g.default(""Unknown template object: ""+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var s={strict:function(t,e){if(!(e in t))throw new g.default('""'+e+'"" not defined in '+t);return t[e]},lookup:function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n]&&null!=t[n][e])return t[n][e]},lambda:function(t,e){return""function""==typeof t?t.call(e):t},escapeExpression:f.escapeExpression,invokePartial:i,fn:function(e){var i=t[e];return i.decorator=t[e+""_d""],i},programs:[],program:function(t,e,i,n,s){var o=this.programs[t],a=this.fn(t);return e||s||n||i?o=r(this,t,a,e,i,n,s):o||(o=this.programs[t]=r(this,t,a)),o},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var i=t||e;return t&&e&&t!==e&&(i=f.extend({},e,t)),i},noop:e.VM.noop,compilerInfo:t.compiler};return n.isTop=!0,n._setup=function(i){i.partial?(s.helpers=i.helpers,s.partials=i.partials,s.decorators=i.decorators):(s.helpers=s.merge(i.helpers,e.helpers),t.usePartial&&(s.partials=s.merge(i.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=s.merge(i.decorators,e.decorators)))},n._child=function(e,i,n,o){if(t.useBlockParams&&!n)throw new g.default(""must pass block params"");if(t.useDepths&&!o)throw new g.default(""must pass parent depths"");return r(s,e,t[e],i,0,n,o)},n}function r(t,e,i,n,s,r,o){function a(e){var s=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=o;return o&&e!==o[0]&&(a=[e].concat(o)),i(t,e,t.helpers,t.partials,s.data||n,r&&[s.blockParams].concat(r),a)}return a=h(i,a,t,o,n,r),a.program=e,a.depth=o?o.length:0,a.blockParams=s||0,a}function o(t,e,i){return t?t.call||i.name||(i.name=t,t=i.partials[t]):t=""@partial-block""===i.name?i.data[""partial-block""]:i.partials[i.name],t}function a(t,e,i){i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var n=void 0;if(i.fn&&i.fn!==l&&(i.data=_.createFrame(i.data),n=i.data[""partial-block""]=i.fn,n.partials&&(i.partials=f.extend({},i.partials,n.partials))),void 0===t&&n&&(t=n),void 0===t)throw new g.default(""The partial ""+i.name+"" could not be found"");if(t instanceof Function)return t(e,i)}function l(){return""""}function c(t,e){return e&&""root""in e||(e=e?_.createFrame(e):{},e.root=t),e}function h(t,e,i,n,s,r){if(t.decorator){var o={};e=t.decorator(e,o,i,n&&n[0],s,r,n),f.extend(e,o)}return e}var u=i(3).default,d=i(1).default;e.__esModule=!0,e.checkRevision=n,e.template=s,e.wrapProgram=r,e.resolvePartial=o,e.invokePartial=a,e.noop=l;var p=i(5),f=u(p),m=i(6),g=d(m),_=i(4)},function(t,e){(function(i){""use strict"";e.__esModule=!0,e.default=function(t){var e=void 0!==i?i:window,n=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=n),t}},t.exports=e.default}).call(e,function(){return this}())},function(t,e){""use strict"";e.__esModule=!0;var i={helpers:{helperExpression:function(t){return""SubExpression""===t.type||(""MustacheStatement""===t.type||""BlockStatement""===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!i.helpers.scopedId(t)&&!t.depth}}};e.default=i,t.exports=e.default},function(t,e,i){""use strict"";function n(t,e){return""Program""===t.type?t:(a.default.yy=p,p.locInfo=function(t){return new p.SourceLocation(e&&e.srcName,t)},new c.default(e).accept(a.default.parse(t)))}var s=i(1).default,r=i(3).default;e.__esModule=!0,e.parse=n;var o=i(23),a=s(o),l=i(24),c=s(l),h=i(26),u=r(h),d=i(5);e.parser=a.default;var p={};d.extend(p,u)},function(t,e){""use strict"";var i=function(){function t(){this.yy={}}var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition_plus0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:""error"",5:""EOF"",14:""COMMENT"",15:""CONTENT"",18:""END_RAW_BLOCK"",19:""OPEN_RAW_BLOCK"",23:""CLOSE_RAW_BLOCK"",29:""OPEN_BLOCK"",33:""CLOSE"",34:""OPEN_INVERSE"",39:""OPEN_INVERSE_CHAIN"",44:""INVERSE"",47:""OPEN_ENDBLOCK"",48:""OPEN"",51:""OPEN_UNESCAPED"",54:""CLOSE_UNESCAPED"",55:""OPEN_PARTIAL"",60:""OPEN_PARTIAL_BLOCK"",65:""OPEN_SEXPR"",68:""CLOSE_SEXPR"",72:""ID"",73:""EQUALS"",75:""OPEN_BLOCK_PARAMS"",77:""CLOSE_BLOCK_PARAMS"",80:""STRING"",81:""NUMBER"",82:""BOOLEAN"",83:""UNDEFINED"",84:""NULL"",85:""DATA"",87:""SEP""},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,1],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,i,n,s,r,o){var a=r.length-1;switch(s){case 1:return r[a-1];case 2:this.$=n.prepareProgram(r[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=r[a];break;case 9:this.$={type:""CommentStatement"",value:n.stripComment(r[a]),strip:n.stripFlags(r[a],r[a]),loc:n.locInfo(this._$)};break;case 10:this.$={type:""ContentStatement"",original:r[a],value:r[a],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(r[a-2],r[a-1],r[a],this._$);break;case 12:this.$={path:r[a-3],params:r[a-2],hash:r[a-1]};break;case 13:this.$=n.prepareBlock(r[a-3],r[a-2],r[a-1],r[a],!1,this._$);break;case 14:this.$=n.prepareBlock(r[a-3],r[a-2],r[a-1],r[a],!0,this._$);break;case 15:this.$={open:r[a-5],path:r[a-4],params:r[a-3],hash:r[a-2],blockParams:r[a-1],strip:n.stripFlags(r[a-5],r[a])};break;case 16:case 17:this.$={path:r[a-4],params:r[a-3],hash:r[a-2],blockParams:r[a-1],strip:n.stripFlags(r[a-5],r[a])};break;case 18:this.$={strip:n.stripFlags(r[a-1],r[a-1]),program:r[a]};break;case 19:var l=n.prepareBlock(r[a-2],r[a-1],r[a],r[a],!1,this._$),c=n.prepareProgram([l],r[a-1].loc);c.chained=!0,this.$={strip:r[a-2].strip,program:c,chain:!0};break;case 20:this.$=r[a];break;case 21:this.$={path:r[a-1],strip:n.stripFlags(r[a-2],r[a])};break;case 22:case 23:this.$=n.prepareMustache(r[a-3],r[a-2],r[a-1],r[a-4],n.stripFlags(r[a-4],r[a]),this._$);break;case 24:this.$={type:""PartialStatement"",name:r[a-3],params:r[a-2],hash:r[a-1],indent:"""",strip:n.stripFlags(r[a-4],r[a]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(r[a-2],r[a-1],r[a],this._$);break;case 26:this.$={path:r[a-3],params:r[a-2],hash:r[a-1],strip:n.stripFlags(r[a-4],r[a])};break;case 27:case 28:this.$=r[a];break;case 29:this.$={type:""SubExpression"",path:r[a-3],params:r[a-2],hash:r[a-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:""Hash"",pairs:r[a],loc:n.locInfo(this._$)};break;case 31:this.$={type:""HashPair"",key:n.id(r[a-2]),value:r[a],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(r[a-1]);break;case 33:case 34:this.$=r[a];break;case 35:this.$={type:""StringLiteral"",value:r[a],original:r[a],loc:n.locInfo(this._$)};break;case 36:this.$={type:""NumberLiteral"",value:Number(r[a]),original:Number(r[a]),loc:n.locInfo(this._$)};break;case 37:this.$={type:""BooleanLiteral"",value:""true""===r[a],original:""true""===r[a],loc:n.locInfo(this._$)};break;case 38:this.$={type:""UndefinedLiteral"",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:""NullLiteral"",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:case 41:this.$=r[a];break;case 42:this.$=n.preparePath(!0,r[a],this._$);break;case 43:this.$=n.preparePath(!1,r[a],this._$);break;case 44:r[a-2].push({part:n.id(r[a]),original:r[a],separator:r[a-1]}),this.$=r[a-2];break;case 45:this.$=[{part:n.id(r[a]),original:r[a]}];break;case 46:this.$=[];break;case 47:r[a-1].push(r[a]);break;case 48:this.$=[r[a]];break;case 49:r[a-1].push(r[a]);break;case 50:this.$=[];break;case 51:r[a-1].push(r[a]);break;case 58:this.$=[];break;case 59:r[a-1].push(r[a]);break;case 64:this.$=[];break;case 65:r[a-1].push(r[a]);break;case 70:this.$=[];break;case 71:r[a-1].push(r[a]);break;case 78:this.$=[];break;case 79:r[a-1].push(r[a]);break;case 82:this.$=[];break;case 83:r[a-1].push(r[a]);break;case 86:this.$=[];break;case 87:r[a-1].push(r[a]);break;case 90:this.$=[];break;case 91:r[a-1].push(r[a]);break;case 94:this.$=[];break;case 95:r[a-1].push(r[a]);break;case 98:this.$=[r[a]];break;case 99:r[a-1].push(r[a]);break;case 100:this.$=[r[a]];break;case 101:r[a-1].push(r[a])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28], | |
81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{13:40,15:[1,20],17:39},{20:42,56:41,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:45,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:48,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:42,56:49,64:43,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:50,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,51]},{72:[1,35],86:52},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:53,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:54,38:56,39:[1,58],43:57,44:[1,59],45:55,47:[2,54]},{28:60,43:61,44:[1,59],47:[2,56]},{13:63,15:[1,20],18:[1,62]},{15:[2,48],18:[2,48]},{33:[2,86],57:64,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:65,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:66,47:[1,67]},{30:68,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:69,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:70,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:71,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:75,33:[2,80],50:72,63:73,64:76,65:[1,44],69:74,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,80]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,51]},{20:75,53:81,54:[2,84],63:82,64:76,65:[1,44],69:83,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:84,47:[1,67]},{47:[2,55]},{4:85,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:86,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:87,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:88,47:[1,67]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:75,33:[2,88],58:89,63:90,64:76,65:[1,44],69:91,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:92,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:93,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,31:94,33:[2,60],63:95,64:76,65:[1,44],69:96,70:77,71:78,72:[1,79],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,66],36:97,63:98,64:76,65:[1,44],69:99,70:77,71:78,72:[1,79],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,22:100,23:[2,52],63:101,64:76,65:[1,44],69:102,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:75,33:[2,92],62:103,63:104,64:76,65:[1,44],69:105,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,106]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:107,72:[1,108],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,109],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,110]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:56,39:[1,58],43:57,44:[1,59],45:112,46:111,47:[2,76]},{33:[2,70],40:113,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,114]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:75,63:116,64:76,65:[1,44],67:115,68:[2,96],69:117,70:77,71:78,72:[1,79],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,118]},{32:119,33:[2,62],74:120,75:[1,121]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:122,74:123,75:[1,121]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,124]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,125]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,109]},{20:75,63:126,64:76,65:[1,44],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:75,33:[2,72],41:127,63:128,64:76,65:[1,44],69:129,70:77,71:78,72:[1,79],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,130]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,131]},{33:[2,63]},{72:[1,133],76:132},{33:[1,134]},{33:[2,69]},{15:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:135,74:136,75:[1,121]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,138],77:[1,137]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,139]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],55:[2,55],57:[2,20],61:[2,57],74:[2,81],83:[2,85],87:[2,18],91:[2,89],102:[2,53],105:[2,93],111:[2,19],112:[2,77],117:[2,97],120:[2,63],123:[2,69],124:[2,12],136:[2,75],137:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,i=[0],n=[null],s=[],r=this.table,o="""",a=0,l=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var h=this.lexer.yylloc;s.push(h);var u=this.lexer.options&&this.lexer.options.ranges;""function""==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,f,m,g,_,v,y,w,T={};;){if(f=i[i.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null!==d&&void 0!==d||(d=function(){var t;return t=e.lexer.lex()||1,""number""!=typeof t&&(t=e.symbols_[t]||t),t}()),m=r[f]&&r[f][d]),void 0===m||!m.length||!m[0]){var b="""";if(!c){w=[];for(_ in r[f])this.terminals_[_]&&_>2&&w.push(""'""+this.terminals_[_]+""'"");b=this.lexer.showPosition?""Parse error on line ""+(a+1)+"":\n""+this.lexer.showPosition()+""\nExpecting ""+w.join("", "")+"", got '""+(this.terminals_[d]||d)+""'"":""Parse error on line ""+(a+1)+"": Unexpected ""+(1==d?""end of input"":""'""+(this.terminals_[d]||d)+""'""),this.parseError(b,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:h,expected:w})}}if(m[0]instanceof Array&&m.length>1)throw new Error(""Parse Error: multiple actions possible at state: ""+f+"", token: ""+d);switch(m[0]){case 1:i.push(d),n.push(this.lexer.yytext),s.push(this.lexer.yylloc),i.push(m[1]),d=null,p?(d=p,p=null):(l=this.lexer.yyleng,o=this.lexer.yytext,a=this.lexer.yylineno,h=this.lexer.yylloc,c>0&&c--);break;case 2:if(v=this.productions_[m[1]][1],T.$=n[n.length-v],T._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},u&&(T._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.call(T,o,l,a,this.yy,m[1],n,s)))return g;v&&(i=i.slice(0,-1*v*2),n=n.slice(0,-1*v),s=s.slice(0,-1*v)),i.push(this.productions_[m[1]][0]),n.push(T.$),s.push(T._$),y=r[i[i.length-2]][i[i.length-1]],i.push(y);break;case 3:return!0}}return!0}},i=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="""",this.conditionStack=[""INITIAL""],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?""..."":"""")+t.substr(-20).replace(/\n/g,"""")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?""..."":"""")).replace(/\n/g,"""")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join(""-"");return t+this.upcomingInput()+""\n""+e+""^""},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var t,e,i,n,s;this._more||(this.yytext="""",this.match="""");for(var r=this._currentRules(),o=0;o<r.length&&(!(i=this._input.match(this.rules[r[o]]))||e&&!(i[0].length>e[0].length)||(e=i,n=o,this.options.flex));o++);return e?(s=e[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,r[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""""===this._input?this.EOF:this.parseError(""Lexical error on line ""+(this.yylineno+1)+"". Unrecognized text.\n""+this.showPosition(),{text:"""",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}};return t.options={},t.performAction=function(t,e,i,n){function s(t,i){return e.yytext=e.yytext.substr(t,e.yyleng-i)}switch(i){case 0:if(""\\\\""===e.yytext.slice(-2)?(s(0,1),this.begin(""mu"")):""\\""===e.yytext.slice(-1)?(s(0,1),this.begin(""emu"")):this.begin(""mu""),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin(""raw""),15;case 4:return this.popState(),""raw""===this.conditionStack[this.conditionStack.length-1]?15:(e.yytext=e.yytext.substr(5,e.yyleng-9),""END_RAW_BLOCK"");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin(""raw""),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin(""com"");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=s(1,2).replace(/\\""/g,'""'),80;case 32:return e.yytext=s(1,2).replace(/\\'/g,""'""),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,""$1""),72;case 43:return""INVALID"";case 44:return 5}},t.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!""#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:""(\\[""]|[^""])*"")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!""#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],t.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},t}();return e.lexer=i,t.prototype=e,e.Parser=t,new t}();e.__esModule=!0,e.default=i},function(t,e,i){""use strict"";function n(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function s(t,e,i){void 0===e&&(e=t.length);var n=t[e-1],s=t[e-2];return n?""ContentStatement""===n.type?(s||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function r(t,e,i){void 0===e&&(e=-1);var n=t[e+1],s=t[e+2];return n?""ContentStatement""===n.type?(s||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function o(t,e,i){var n=t[null==e?0:e+1];if(n&&""ContentStatement""===n.type&&(i||!n.rightStripped)){var s=n.value;n.value=n.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""""),n.rightStripped=n.value!==s}}function a(t,e,i){var n=t[null==e?t.length-1:e-1];if(n&&""ContentStatement""===n.type&&(i||!n.leftStripped)){var s=n.value;return n.value=n.value.replace(i?/\s+$/:/[ \t]+$/,""""),n.leftStripped=n.value!==s,n.leftStripped}}var l=i(1).default;e.__esModule=!0;var c=i(25),h=l(c);n.prototype=new h.default,n.prototype.Program=function(t){var e=!this.options.ignoreStandalone,i=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,l=0,c=n.length;l<c;l++){var h=n[l],u=this.accept(h);if(u){var d=s(n,l,i),p=r(n,l,i),f=u.openStandalone&&d,m=u.closeStandalone&&p,g=u.inlineStandalone&&d&&p;u.close&&o(n,l,!0),u.open&&a(n,l,!0),e&&g&&(o(n,l),a(n,l)&&""PartialStatement""===h.type&&(h.indent=/([ \t]+$)/.exec(n[l-1].original)[1])),e&&f&&(o((h.program||h.inverse).body),a(n,l)),e&&m&&(o(n,l),a((h.inverse||h.program).body))}}return t},n.prototype.BlockStatement=n.prototype.DecoratorBlock=n.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,i=t.program&&t.inverse,n=i,l=i;if(i&&i.chained)for(n=i.body[0].program;l.chained;)l=l.body[l.body.length-1].program;var c={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:r(e.body),closeStandalone:s((n||e).body)};if(t.openStrip.close&&o(e.body,null,!0),i){var h=t.inverseStrip;h.open&&a(e.body,null,!0),h.close&&o(n.body,null,!0),t.closeStrip.open&&a(l.body,null,!0),!this.options.ignoreStandalone&&s(e.body)&&r(n.body)&&(a(e.body),o(n.body))}else t.closeStrip.open&&a(e.body,null,!0);return c},n.prototype.Decorator=n.prototype.MustacheStatement=function(t){return t.strip},n.prototype.PartialStatement=n.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.default=n,t.exports=e.default},function(t,e,i){""use strict"";function n(){this.parents=[]}function s(t){this.acceptRequired(t,""path""),this.acceptArray(t.params),this.acceptKey(t,""hash"")}function r(t){s.call(this,t),this.acceptKey(t,""program""),this.acceptKey(t,""inverse"")}function o(t){this.acceptRequired(t,""name""),this.acceptArray(t.params),this.acceptKey(t,""hash"")}var a=i(1).default;e.__esModule=!0;var l=i(6),c=a(l);n.prototype={constructor:n,mutating:!1,acceptKey:function(t,e){var i=this.accept(t[e]);if(this.mutating){if(i&&!n.prototype[i.type])throw new c.default('Unexpected node type ""'+i.type+'"" found when accepting '+e+"" on ""+t.type);t[e]=i}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new c.default(t.type+"" requires ""+e)},acceptArray:function(t){for(var e=0,i=t.length;e<i;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,i--)},accept:function(t){if(t){if(!this[t.type])throw new c.default(""Unknown type: ""+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:s,Decorator:s,BlockStatement:r,DecoratorBlock:r,PartialStatement:o,PartialBlockStatement:function(t){o.call(this,t),this.acceptKey(t,""program"")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,""value"")}},e.default=n,t.exports=e.default},function(t,e,i){""use strict"";function n(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var i={loc:t.path.loc};throw new g.default(t.path.original+"" doesn't match ""+e,i)}}function s(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function r(t){return/^\[.*\]$/.test(t)?t.substr(1,t.length-2):t}function o(t,e){return{open:""~""===t.charAt(2),close:""~""===e.charAt(e.length-3)}}function a(t){return t.replace(/^\{\{~?\!-?-?/,"""").replace(/-?-?~?\}\}$/,"""")}function l(t,e,i){i=this.locInfo(i);for(var n=t?""@"":"""",s=[],r=0,o="""",a=0,l=e.length;a<l;a++){var c=e[a].part,h=e[a].original!==c;if(n+=(e[a].separator||"""")+c,h||""..""!==c&&"".""!==c&&""this""!==c)s.push(c);else{if(s.length>0)throw new g.default(""Invalid path: ""+n,{loc:i});""..""===c&&(r++,o+=""../"")}}return{type:""PathExpression"",data:t,depth:r,parts:s,original:n,loc:i}}function c(t,e,i,n,s,r){var o=n.charAt(3)||n.charAt(2),a=""{""!==o&&""&""!==o;return{type:/\*/.test(n)?""Decorator"":""MustacheStatement"",path:t,params:e,hash:i,escaped:a,strip:s,loc:this.locInfo(r)}}function h(t,e,i,s){n(t,i),s=this.locInfo(s);var r={type:""Program"",body:e,strip:{},loc:s};return{type:""BlockStatement"",path:t.path,params:t.params,hash:t.hash,program:r,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}function u(t,e,i,s,r,o){s&&s.path&&n(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var l=void 0,c=void 0;if(i){if(a)throw new g.default(""Unexpected inverse block on decorator"",i);i.chain&&(i.program.body[0].closeStrip=s.strip),c=i.strip,l=i.program}return r&&(r=l,l=e,e=r),{type:a?""DecoratorBlock"":""BlockStatement"",path:t.path,params:t.params,hash:t.hash,program:e,inverse:l,openStrip:t.strip,inverseStrip:c,closeStrip:s&&s.strip,loc:this.locInfo(o)}}function d(t,e){if(!e&&t.length){var i=t[0].loc,n=t[t.length-1].loc;i&&n&&(e={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:""Program"",body:t,strip:{},loc:e}}function p(t,e,i,s){return n(t,i),{type:""PartialBlockStatement"",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(s)}}var f=i(1).default;e.__esModule=!0,e.SourceLocation=s,e.id=r,e.stripFlags=o,e.stripComment=a,e.preparePath=l,e.prepareMustache=c,e.prepareRawBlock=h,e.prepareBlock=u,e.prepareProgram=d,e.preparePartialBlock=p;var m=i(6),g=f(m)},function(t,e,i){""use strict"";function n(){}function s(t,e,i){if(null==t||""string""!=typeof t&&""Program""!==t.type)throw new h.default(""You must pass a string or Handlebars AST to Handlebars.precompile. You passed ""+t);e=e||{},""data""in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=i.parse(t,e),s=(new i.Compiler).compile(n,e);return(new i.JavaScriptCompiler).compile(s,e)}function r(t,e,i){function n(){var n=i.parse(t,e),s=(new i.Compiler).compile(n,e),r=(new i.JavaScriptCompiler).compile(s,e,void 0,!0);return i.template(r)}function s(t,e){return r||(r=n()),r.call(this,t,e)}if(void 0===e&&(e={}),null==t||""string""!=typeof t&&""Program""!==t.type)throw new h.default(""You must pass a string or Handlebars AST to Handlebars.compile. You passed ""+t);""data""in e||(e.data=!0),e.compat&&(e.useDepths=!0);var r=void 0;return s._setup=function(t){return r||(r=n()),r._setup(t)},s._child=function(t,e,i,s){return r||(r=n()),r._child(t,e,i,s)},s}function o(t,e){if(t===e)return!0;if(u.isArray(t)&&u.isArray(e)&&t.length===e.length){for(var i=0;i<t.length;i++)if(!o(t[i],e[i]))return!1;return!0}}function a(t){if(!t.path.parts){var e=t.path;t.path={type:""PathExpression"",data:!1,depth:0,parts:[e.original+""""],original:e.original+"""",loc:e.loc}}}var l=i(1).default;e.__esModule=!0,e.Compiler=n,e.precompile=s,e.compile=r;var c=i(6),h=l(c),u=i(5),d=i(21),p=l(d),f=[].slice;n.prototype={compiler:n,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var i=0;i<e;i++){var n=this.opcodes[i],s=t.opcodes[i];if(n.opcode!==s.opcode||!o(n.args,s.args))return!1}e=this.children.length;for(var i=0;i<e;i++)if(!this.children[i].equals(t.children[i]))return!1;return!0},guid:0,compile:function(t,e){this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[];var i=e.knownHelpers;if(e.knownHelpers={helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},i)for(var n in i)n in i&&(e.knownHelpers[n]=i[n]);return this.accept(t)},compileProgram:function(t){var e=new this.compiler,i=e.compile(t,this.options),n=this.guid++;return this.usePartial=this.usePartial||i.usePartial,this.children[n]=i,this.useDepths=this.useDepths||i.useDepths,n},accept:function(t){if(!this[t.type])throw new h.default(""Unknown type: ""+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,i=e.length,n=0;n<i;n++)this.accept(e[n]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){a(t);var e=t.program,i=t.inverse;e=e&&this.compileProgram(e),i=i&&this.compileProgram(i);var n=this.classifySexpr(t);""helper""===n?this.helperSexpr(t,e,i):""simple""===n?(this.simpleSexpr(t),this.opcode(""pushProgram"",e),this.opcode(""pushProgram"",i),this.opcode(""emptyHash""),this.opcode(""blockValue"",t.path.original)):(this.ambiguousSexpr(t,e,i),this.opcode(""pushProgram"",e),this.opcode(""pushProgram"",i),this.opcode(""emptyHash""),this.opcode(""ambiguousBlockValue"")),this.opcode(""append"")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),i=this.setupFullMustacheParams(t,e,void 0),n=t.path;this.useDecorators=!0,this.opcode(""registerDecorator"",i.length,n.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var i=t.params;if(i.length>1)throw new h.default(""Unsupported number of partial arguments: ""+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode(""pushLiteral"",""undefined""):i.push({type:""PathExpression"",parts:[],depth:0}));var n=t.name.original,s=""SubExpression""===t.name.type;s&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var r=t.indent||"""";this.options.preventIndent&&r&&(this.opcode(""appendContent"",r),r=""""),this.opcode(""invokePartial"",s,n,r),this.opcode(""append"")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode(""appendEscaped""):this.opcode(""append"")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode(""appendContent"",t.value)},CommentStatement:function(){},SubExpression:function(t){a(t);var e=this.classifySexpr(t);""simple""===e?this.simpleSexpr(t):""helper""===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var n=t.path,s=n.parts[0],r=null!=e||null!=i;this.opcode(""getContext"",n.depth),this.opcode(""pushProgram"",e),this.opcode(""pushProgram"",i),n.strict=!0,this.accept(n),this.opcode(""invokeAmbiguous"",s,r)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode(""resolvePossibleLambda"")},helperSexpr:function(t,e,i){var n=this.setupFullMustacheParams(t,e,i),s=t.path,r=s.parts[0];if(this.options.knownHelpers[r])this.opcode(""invokeKnownHelper"",n.length,r);else{if(this.options.knownHelpersOnly)throw new h.default(""You specified knownHelpersOnly, but used the unknown helper ""+r,t);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode(""invokeHelper"",n.length,s.original,p.default.helpers.simpleId(s))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode(""getContext"",t.depth);var e=t.parts[0],i=p.default.helpers.scopedId(t),n=!t.depth&&!i&&this.blockParamIndex(e);n?this.opcode(""lookupBlockParam"",n,t.parts):e?t.data?(this.options.data=!0,this.opcode(""lookupData"",t.depth,t.parts,t.strict)):this.opcode(""lookupOnContext"",t.parts,t.falsy,t.strict,i):this.opcode(""pushContext"")},StringLiteral:function(t){this.opcode(""pushString"",t.value)},NumberLiteral:function(t){this.opcode(""pushLiteral"",t.value)},BooleanLiteral:function(t){this.opcode(""pushLiteral"",t.value)},UndefinedLiteral:function(){this.opcode(""pushLiteral"",""undefined"")},NullLiteral:function(){this.opcode(""pushLiteral"",""null"")},Hash:function(t){var e=t.pairs,i=0,n=e.length;for(this.opcode(""pushHash"");i<n;i++)this.pushParam(e[i].value);for(;i--;)this.opcode(""assignToHash"",e[i].key);this.opcode(""popHash"")},opcode:function(t){this.opcodes.push({opcode:t,args:f.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=p.default.helpers.simpleId(t.path),i=e&&!!this.blockParamIndex(t.path.parts[0]),n=!i&&p.default.helpers.helperExpression(t),s=!i&&(n||e);if(s&&!n){var r=t.path.parts[0],o=this.options;o.knownHelpers[r]?n=!0:o.knownHelpersOnly&&(s=!1)}return n?""helper"":s?""ambiguous"":""simple""},pushParams:function(t){for(var e=0,i=t.length;e<i;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"""";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"""").replace(/\//g,""."")),t.depth&&this.addDepth(t.depth),this.opcode(""getContext"",t.depth||0),this.opcode(""pushStringParam"",e,t.type),""SubExpression""===t.type&&this.accept(t);else{ | |
if(this.trackIds){var i=void 0;if(!t.parts||p.default.helpers.scopedId(t)||t.depth||(i=this.blockParamIndex(t.parts[0])),i){var n=t.parts.slice(1).join(""."");this.opcode(""pushId"",""BlockParam"",i,n)}else e=t.original||e,e.replace&&(e=e.replace(/^this(?:\.|$)/,"""").replace(/^\.\//,"""").replace(/^\.$/,"""")),this.opcode(""pushId"",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,i,n){var s=t.params;return this.pushParams(s),this.opcode(""pushProgram"",e),this.opcode(""pushProgram"",i),t.hash?this.accept(t.hash):this.opcode(""emptyHash"",n),s},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var n=this.options.blockParams[e],s=n&&u.indexOf(n,t);if(n&&s>=0)return[e,s]}}}},function(t,e,i){""use strict"";function n(t){this.value=t}function s(){}function r(t,e,i,n){var s=e.popStack(),r=0,o=i.length;for(t&&o--;r<o;r++)s=e.nameLookup(s,i[r],n);return t?[e.aliasable(""container.strict""),""("",s,"", "",e.quotedString(i[r]),"")""]:s}var o=i(1).default;e.__esModule=!0;var a=i(4),l=i(6),c=o(l),h=i(5),u=i(29),d=o(u);s.prototype={nameLookup:function(t,e){return s.isValidJavaScriptVariableName(e)?[t,""."",e]:[t,""["",JSON.stringify(e),""]""]},depthedLookup:function(t){return[this.aliasable(""container.lookup""),'(depths, ""',t,'"")']},compilerInfo:function(){var t=a.COMPILER_REVISION;return[t,a.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,i){return h.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?[""return "",t,"";""]:i?[""buffer += "",t,"";""]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("""")},compile:function(t,e,i,n){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var s=t.opcodes,r=void 0,o=void 0,a=void 0,l=void 0;for(a=0,l=s.length;a<l;a++)r=s[a],this.source.currentLocation=r.loc,o=o||r.loc,this[r.opcode].apply(this,r.args);if(this.source.currentLocation=o,this.pushSource(""""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new c.default(""Compile completed with content left on stack"");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(""var decorators = container.decorators;\n""),this.decorators.push(""return fn;""),n?this.decorators=Function.apply(this,[""fn"",""props"",""container"",""depth0"",""data"",""blockParams"",""depths"",this.decorators.merge()]):(this.decorators.prepend(""function(fn, props, container, depth0, data, blockParams, depths) {\n""),this.decorators.push(""}\n""),this.decorators=this.decorators.merge()));var h=this.createFunctionContext(n);if(this.isChild)return h;var u={compiler:this.compilerInfo(),main:h};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var d=this.context,p=d.programs,f=d.decorators;for(a=0,l=p.length;a<l;a++)p[a]&&(u[a]=p[a],f[a]&&(u[a+""_d""]=f[a],u.useDecorators=!0));return this.environment.usePartial&&(u.usePartial=!0),this.options.data&&(u.useData=!0),this.useDepths&&(u.useDepths=!0),this.useBlockParams&&(u.useBlockParams=!0),this.options.compat&&(u.compat=!0),n?u.compilerOptions=this.options:(u.compiler=JSON.stringify(u.compiler),this.source.currentLocation={start:{line:1,column:0}},u=this.objectLiteral(u),e.srcName?(u=u.toStringWithSourceMap({file:e.destName}),u.map=u.map&&u.map.toString()):u=u.toString()),u},preamble:function(){this.lastContext=0,this.source=new d.default(this.options.srcName),this.decorators=new d.default(this.options.srcName)},createFunctionContext:function(t){var e="""",i=this.stackVars.concat(this.registers.list);i.length>0&&(e+="", ""+i.join("", ""));var n=0;for(var s in this.aliases){var r=this.aliases[s];this.aliases.hasOwnProperty(s)&&r.children&&r.referenceCount>1&&(e+="", alias""+ ++n+""=""+s,r.children[0]=""alias""+n)}var o=[""container"",""depth0"",""helpers"",""partials"",""data""];(this.useBlockParams||this.useDepths)&&o.push(""blockParams""),this.useDepths&&o.push(""depths"");var a=this.mergeSource(e);return t?(o.push(a),Function.apply(this,o)):this.source.wrap([""function("",o.join("",""),"") {\n "",a,""}""])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,n=void 0,s=void 0,r=void 0,o=void 0;return this.source.each(function(t){t.appendToBuffer?(r?t.prepend("" + ""):r=t,o=t):(r&&(s?r.prepend(""buffer += ""):n=!0,o.add("";""),r=o=void 0),s=!0,e||(i=!1))}),i?r?(r.prepend(""return ""),o.add("";"")):s||this.source.push('return """";'):(t+="", buffer = ""+(n?"""":this.initializeBuffer()),r?(r.prepend(""return buffer + ""),o.add("";"")):this.source.push(""return buffer;"")),t&&this.source.prepend(""var ""+t.substring(2)+(n?"""":"";\n"")),this.source.merge()},blockValue:function(t){var e=this.aliasable(""helpers.blockHelperMissing""),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var n=this.popStack();i.splice(1,0,n),this.push(this.source.functionCall(e,""call"",i))},ambiguousBlockValue:function(){var t=this.aliasable(""helpers.blockHelperMissing""),e=[this.contextName(0)];this.setupHelperArgs("""",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource([""if (!"",this.lastHelper,"") { "",i,"" = "",this.source.functionCall(t,""call"",e),""}""])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return["" != null ? "",t,' : """"']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource([""if ("",t,"" != null) { "",this.appendToBuffer(t,void 0,!0),"" }""]),this.environment.isSimple&&this.pushSource([""else { "",this.appendToBuffer(""''"",void 0,!0),"" }""])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable(""container.escapeExpression""),""("",this.popStack(),"")""]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,n){var s=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[s++])),this.resolvePath(""context"",t,s,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push([""blockParams["",t[0],""]["",t[1],""]""]),this.resolvePath(""context"",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral(""container.data(data, ""+t+"")""):this.pushStackLiteral(""data""),this.resolvePath(""data"",e,0,!0,i)},resolvePath:function(t,e,i,n,s){var o=this;if(this.options.strict||this.options.assumeObjects)return void this.push(r(this.options.strict&&s,this,e,t));for(var a=e.length;i<a;i++)this.replaceStack(function(s){var r=o.nameLookup(s,e[i],t);return n?["" && "",r]:["" != null ? "",r,"" : "",s]})},resolvePossibleLambda:function(){this.push([this.aliasable(""container.lambda""),""("",this.popStack(),"", "",this.contextName(0),"")""])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),""SubExpression""!==e&&(""string""==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push(""{}""),this.stringParams&&(this.push(""{}""),this.push(""{}"")),this.pushStackLiteral(t?""undefined"":""{}"")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:[],types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var i=this.nameLookup(""decorators"",e,""decorator""),n=this.setupHelperArgs(e,t);this.decorators.push([""fn = "",this.decorators.functionCall(i,"""",[""fn"",""props"",""container"",n]),"" || fn;""])},invokeHelper:function(t,e,i){var n=this.popStack(),s=this.setupHelper(t,e),r=i?[s.name,"" || ""]:"""",o=[""(""].concat(r,n);this.options.strict||o.push("" || "",this.aliasable(""helpers.helperMissing"")),o.push("")""),this.push(this.source.functionCall(o,""call"",s.callParams))},invokeKnownHelper:function(t,e){var i=this.setupHelper(t,e);this.push(this.source.functionCall(i.name,""call"",i.callParams))},invokeAmbiguous:function(t,e){this.useRegister(""helper"");var i=this.popStack();this.emptyHash();var n=this.setupHelper(0,t,e),s=this.lastHelper=this.nameLookup(""helpers"",t,""helper""),r=[""("",""(helper = "",s,"" || "",i,"")""];this.options.strict||(r[0]=""(helper = "",r.push("" != null ? helper : "",this.aliasable(""helpers.helperMissing""))),this.push([""("",r,n.paramsInit?[""),("",n.paramsInit]:[],""),"",""(typeof helper === "",this.aliasable('""function""'),"" ? "",this.source.functionCall(""helper"",""call"",n.callParams),"" : helper))""])},invokePartial:function(t,e,i){var n=[],s=this.setupParams(e,1,n);t&&(e=this.popStack(),delete s.name),i&&(s.indent=JSON.stringify(i)),s.helpers=""helpers"",s.partials=""partials"",s.decorators=""container.decorators"",t?n.unshift(e):n.unshift(this.nameLookup(""partials"",e,""partial"")),this.options.compat&&(s.depths=""depths""),s=this.objectLiteral(s),n.push(s),this.push(this.source.functionCall(""container.invokePartial"","""",n))},assignToHash:function(t){var e=this.popStack(),i=void 0,n=void 0,s=void 0;this.trackIds&&(s=this.popStack()),this.stringParams&&(n=this.popStack(),i=this.popStack());var r=this.hash;i&&(r.contexts[t]=i),n&&(r.types[t]=n),s&&(r.ids[t]=s),r.values[t]=e},pushId:function(t,e,i){""BlockParam""===t?this.pushStackLiteral(""blockParams[""+e[0]+""].path[""+e[1]+""]""+(i?"" + ""+JSON.stringify("".""+i):"""")):""PathExpression""===t?this.pushString(e):""SubExpression""===t?this.pushStackLiteral(""true""):this.pushStackLiteral(""null"")},compiler:s,compileChildren:function(t,e){for(var i=t.children,n=void 0,s=void 0,r=0,o=i.length;r<o;r++){n=i[r],s=new this.compiler;var a=this.matchExistingProgram(n);null==a?(this.context.programs.push(""""),a=this.context.programs.length,n.index=a,n.name=""program""+a,this.context.programs[a]=s.compile(n,e,this.context,!this.precompile),this.context.decorators[a]=s.decorators,this.context.environments[a]=n,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams):(n.index=a,n.name=""program""+a,this.useDepths=this.useDepths||n.useDepths,this.useBlockParams=this.useBlockParams||n.useBlockParams)}},matchExistingProgram:function(t){for(var e=0,i=this.context.environments.length;e<i;e++){var n=this.context.environments[e];if(n&&n.equals(t))return e}},programExpression:function(t){var e=this.environment.children[t],i=[e.index,""data"",e.blockParams];return(this.useBlockParams||this.useDepths)&&i.push(""blockParams""),this.useDepths&&i.push(""depths""),""container.program(""+i.join("", "")+"")""},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof n||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new n(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=[""(""],i=void 0,s=void 0,r=void 0;if(!this.isInline())throw new c.default(""replaceStack on non-inline"");var o=this.popStack(!0);if(o instanceof n)i=[o.value],e=[""("",i],r=!0;else{s=!0;var a=this.incrStack();e=[""(("",this.push(a),"" = "",o,"")""],i=this.topStack()}var l=t.call(this,i);r||this.popStack(),s&&this.stackSlot--,this.push(e.concat(l,"")""))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push(""stack""+this.stackSlot),this.topStackName()},topStackName:function(){return""stack""+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;e<i;e++){var s=t[e];if(s instanceof n)this.compileStack.push(s);else{var r=this.incrStack();this.pushSource([r,"" = "",s,"";""]),this.compileStack.push(r)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),i=(e?this.inlineStack:this.compileStack).pop();if(!t&&i instanceof n)return i.value;if(!e){if(!this.stackSlot)throw new c.default(""Invalid stack pop"");this.stackSlot--}return i},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof n?e.value:e},contextName:function(t){return this.useDepths&&t?""depths[""+t+""]"":""depth""+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):(e=this.aliases[t]=this.source.wrap(t),e.aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,i){var n=[];return{params:n,paramsInit:this.setupHelperArgs(e,t,n,i),name:this.nameLookup(""helpers"",e,""helper""),callParams:[this.aliasable(this.contextName(0)+"" != null ? ""+this.contextName(0)+"" : {}"")].concat(n)}},setupParams:function(t,e,i){var n={},s=[],r=[],o=[],a=!i,l=void 0;a&&(i=[]),n.name=this.quotedString(t),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var c=this.popStack(),h=this.popStack();(h||c)&&(n.fn=h||""container.noop"",n.inverse=c||""container.noop"");for(var u=e;u--;)l=this.popStack(),i[u]=l,this.trackIds&&(o[u]=this.popStack()),this.stringParams&&(r[u]=this.popStack(),s[u]=this.popStack());return a&&(n.args=this.source.generateArray(i)),this.trackIds&&(n.ids=this.source.generateArray(o)),this.stringParams&&(n.types=this.source.generateArray(r),n.contexts=this.source.generateArray(s)),this.options.data&&(n.data=""data""),this.useBlockParams&&(n.blockParams=""blockParams""),n},setupHelperArgs:function(t,e,i,n){var s=this.setupParams(t,e,i);return s=this.objectLiteral(s),n?(this.useRegister(""options""),i.push(""options""),[""options="",s]):i?(i.push(s),""""):s}},function(){for(var t=""break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false"".split("" ""),e=s.RESERVED_WORDS={},i=0,n=t.length;i<n;i++)e[t[i]]=!0}(),s.isValidJavaScriptVariableName=function(t){return!s.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=s,t.exports=e.default},function(t,e,i){""use strict"";function n(t,e,i){if(r.isArray(t)){for(var n=[],s=0,o=t.length;s<o;s++)n.push(e.wrap(t[s],i));return n}return""boolean""==typeof t||""number""==typeof t?t+"""":t}function s(t){this.srcFile=t,this.source=[]}e.__esModule=!0;var r=i(5),o=void 0;try{}catch(t){}o||(o=function(t,e,i,n){this.src="""",n&&this.add(n)},o.prototype={add:function(t){r.isArray(t)&&(t=t.join("""")),this.src+=t},prepend:function(t){r.isArray(t)&&(t=t.join("""")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add(["" "",e,""\n""])}),t},each:function(t){for(var e=0,i=this.source.length;e<i;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new o(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof o?t:(t=n(t,this,e),new o(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,i){return i=this.generateList(i),this.wrap([t,e?"".""+e+""("":""("",i,"")""])},quotedString:function(t){return'""'+(t+"""").replace(/\\/g,""\\\\"").replace(/""/g,'\\""').replace(/\n/g,""\\n"").replace(/\r/g,""\\r"").replace(/\u2028/g,""\\u2028"").replace(/\u2029/g,""\\u2029"")+'""'},objectLiteral:function(t){var e=[];for(var i in t)if(t.hasOwnProperty(i)){var s=n(t[i],this);""undefined""!==s&&e.push([this.quotedString(i),"":"",s])}var r=this.generateList(e);return r.prepend(""{""),r.add(""}""),r},generateList:function(t){for(var e=this.empty(),i=0,s=t.length;i<s;i++)i&&e.add("",""),e.add(n(t[i],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend(""[""),e.add(""]""),e}},e.default=s,t.exports=e.default}])}),define(""templates/templates"",[""handlebars""],function(t){return this.JST=this.JST||{},this.JST.arrowbtn=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=""function"",c=t.escapeExpression;return' <div class=""js-component__'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""Btn component__""+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+'Btn component__navBtn btn--nav"">\r\n\t<div class=""component__navBtnHitarea""></div>\r\n\t<div class=""btn--nav__ring "">\r\n\r\n\t\t<svg version=""1.1"" id=""Layer_1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\n\t\t\t viewBox=""0 0 44 44"" enable-background=""new 0 0 44 44"" xml:space=""preserve"">\r\n\r\n\t\t\t<path class=""js-nav__ring"" fill=""none"" stroke=""currentColor"" stroke-miterlimit=""10"" d=""M43.3,22c0,11.8-9.5,21.3-21.3,21.3S0.7,33.8,0.7,22\r\n\t\t\tS10.2,0.7,22,0.7S43.3,10.2,43.3,22""/>\r\n\r\n\t\t\t<path class=""js-nav__icon"" fill=""currentColor"" d=""M26.6,22.5l-6.2-5.7l-0.9,1l5.1,4.7l-5.1,4.7l0.9,1L26.6,22.5z""/>\r\n\r\n\t\t\t<g>\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path id=""SVGID_1_'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""_""+c((r=null!=(r=i.id||(null!=e?e.id:e))?r:a,typeof r===l?r.call(o,{name:""id"",hash:{},data:s}):r))+'"" d=""M43.3,22c0,11.8-9.5,21.3-21.3,21.3S0.7,33.8,0.7,22S10.2,0.7,22,0.7S43.3,10.2,43.3,22""/>\r\n\t\t\t\t</defs>\r\n\t\t\t\t<clipPath id=""SVGID_2_'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""_""+c((r=null!=(r=i.id||(null!=e?e.id:e))?r:a,typeof r===l?r.call(o,{name:""id"",hash:{},data:s}):r))+'"">\r\n\t\t\t\t\t<use xlink:href=""#SVGID_1_'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""_""+c((r=null!=(r=i.id||(null!=e?e.id:e))?r:a,typeof r===l?r.call(o,{name:""id"",hash:{},data:s}):r))+'"" />\r\n\t\t\t\t</clipPath>\r\n\t\t\t\t<g clip-path=""url(#SVGID_2_'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""_""+c((r=null!=(r=i.id||(null!=e?e.id:e))?r:a,typeof r===l?r.call(o,{name:""id"",hash:{},data:s}):r))+')"">\r\n\t\t\t\t\t<rect class=""js-nav__block"" x=""-0.9"" y=""-3.4"" width=""45.6"" height=""50.8""/>\r\n\t\t\t\t\t<path class=""js-nav__iconWhite"" fill=""#FFFFFF"" d=""M26.6,22.5l-6.2-5.7l-0.9,1l5.1,4.7l-5.1,4.7l0.9,1L26.6,22.5z""/>\r\n\t\t\t\t</g>\r\n\t\t\t</g>\r\n\t\t</svg>\r\n\t</div>\r\n\r\n <span class=""js-nav__text component__navBtnText subtitle--s"">'+c((r=null!=(r=i.direction||(null!=e?e.direction:e))?r:a,typeof r===l?r.call(o,{name:""direction"",hash:{},data:s}):r))+""</span>\r\n</div>""},useData:!0}),this.JST.imagegallery_cursor=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-gallery__plusBtn gallery__plusBtn btn--nav"">\r\n\t<svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\n\t\t viewBox=""0 0 64.3 64.3"" enable-background=""new 0 0 64.3 64.3"" xml:space=""preserve"">\r\n\t\t<circle class=""js-gallery__bg"" fill=""currentColor"" cx=""32.2"" cy=""32.2"" r=""32.2""/>\r\n\t\t<g id=""Layer_2"">\r\n\t\t\t\t<line class=""js-gallery__minus"" fill=""none"" stroke=""#FFFFFF"" stroke-width=""5"" stroke-linecap=""round"" stroke-miterlimit=""10"" x1=""21.2"" y1=""32.2"" x2=""43.1"" y2=""32.2""/>\r\n\r\n\t\t\t\t<line class=""js-gallery__plus"" fill=""none"" stroke=""#FFFFFF"" stroke-width=""5"" stroke-linecap=""round"" stroke-miterlimit=""10"" x1=""32.2"" y1=""43.1"" x2=""32.2"" y2=""21.2""/>\r\n\t\t</g>\r\n\t</svg>\r\n</div>'},useData:!0}),this.JST.imagegallery_overlay_zoom=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-galleryOverlay__zoom galleryOverlay__zoom"">\r\n\t<div class=""js-imgWrap galleryOverlay__zoom__imgWrap"">\r\n\t\t<img class=""js-img galleryOverlay__zoom__img""/>\r\n\t</div>\r\n</div>'},useData:!0}),this.JST.imagegallery_overlay=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<section class=""js-overlay overlay"">\r\n\r\n <div class=""js-overlay__content overlay__content galleryOverlay__content"">\r\n\r\n <div class=""js-overlay__bg overlay__bg""></div>\r\n\r\n\t\t<div class=""js-galleryOverlay__carousel galleryOverlay__carousel""> </div>\r\n\r\n\t\t<div class=""js-overlay__closeBtn galleryOverlay__closeBtn btn--close"">\r\n\t\t\t<div class=""icon--close__icon icon--plus"" fill>\r\n\t\t\t\t<div class=""icon--plus__ring""></div>\r\n\t\t\t\t<div class=""icon--plus__line"" dir=""vert""></div>\r\n\t\t\t\t<div class=""icon--plus__line"" dir=""horiz""></div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\r\n <div class=""js-galleryOverlay__titleWrap galleryOverlay__titleWrap"">\r\n <p class=""js-galleryOverlay__title galleryOverlay__title""></p>\r\n </div>\r\n </div>\r\n</section>'},useData:!0}),this.JST.imagepreloader=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-imagePreloader imagePreloader btn--nav"">\r\n\r\n <svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\n viewBox=""0 0 44 44"" enable-background=""new 0 0 44 44"" xml:space=""preserve"">\r\n <path class=""js-nav__ring nav__ring"" stroke=""currentColor"" fill=""none"" stroke-miterlimit=""10"" d=""M36.8,36.8c-8.2,8.2-21.5,8.2-29.7,0s-8.2-21.5,0-29.7\r\n s21.5-8.2,29.7,0S45.1,28.6,36.8,36.8""/>\r\n </svg>\r\n\r\n</div>'},useData:!0}),this.JST.keypeople_overlay=t.template({1:function(t,e,i,n,s){var r;return'\t\t<aside class=""keyPeopleOverlay__related sideRelated"">\r\n\t\t\t<div class=""sideRelated__title component__subtitle"">Projects</div>\r\n\t\t\t<div class=""sideRelated__tiles"">\r\n'+(null!=(r=i.each.call(null!=e?e:{},null!=e?e.relatedProjects:e,{name:""each"",hash:{},fn:t.program(2,s,0),inverse:t.noop,data:s}))?r:"""")+""\t\t\t</div>\r\n\t\t</aside>\r\n""},2:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=""function"",c=t.escapeExpression;return'\t\t\t\t\t<a class=""js-relatedTile sideRelated__tile"" href=""'+c((r=null!=(r=i.link||(null!=e?e.link:e))?r:a,typeof r===l?r.call(o,{name:""link"",hash:{},data:s}):r))+'"" \r\n\t\t\t\t\t\tdata-related-link=""'+c((r=null!=(r=i.link||(null!=e?e.link:e))?r:a,typeof r===l?r.call(o,{name:""link"",hash:{},data:s}):r))+'"">\r\n\r\n\t\t\t\t\t\t<span class=""js-relatedBg sideRelated__tileImg"" style=""background-image: url('+c((r=null!=(r=i.imgSrc||(null!=e?e.imgSrc:e))?r:a,typeof r===l?r.call(o,{name:""imgSrc"",hash:{},data:s}):r))+')""\r\n\t\t\t\t\t\t\tdata-related-img-src=""'+c((r=null!=(r=i.imgSrc||(null!=e?e.imgSrc:e))?r:a,typeof r===l?r.call(o,{name:""imgSrc"",hash:{},data:s}):r))+'"">\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t<p class=""sideRelated__tileTitle"">'+c((r=null!=(r=i.title||(null!=e?e.title:e))?r:a,typeof r===l?r.call(o,{name:""title"",hash:{},data:s}):r))+""</p>\r\n\t\t\t\t\t</a>\r\n""},compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o,a=null!=e?e:{},l=i.helperMissing,c=""function"",h=t.escapeExpression;return'<div class=""keyPeopleOverlay__inner"">\r\n\t<aside class=""keyPeopleOverlay__profile col-6plus"">\r\n\t\t<div class=""js-profileBg keyPeopleOverlay__profilePic"" style=""background-image: url('+h((o=null!=(o=i.imgSrc||(null!=e?e.imgSrc:e))?o:l,typeof o===c?o.call(a,{name:""imgSrc"",hash:{},data:s}):o))+')""\r\n\t\t\tdata-profile-img-src=""'+h((o=null!=(o=i.imgSrc||(null!=e?e.imgSrc:e))?o:l,typeof o===c?o.call(a,{name:""imgSrc"",hash:{},data:s}):o))+'"">\r\n\t\t</div>\r\n\t\t\r\n\t\t<div class=""keyPeopleOverlay__headerContent"">\r\n\t\t\t<h2 class=""title--m"">'+h((o=null!=(o=i.name||(null!=e?e.name:e))?o:l,typeof o===c?o.call(a,{name:""name"",hash:{},data:s}):o))+'</h2>\r\n\t\t\t<p class=""subtitle--s component__subtitle--alt"">'+h((o=null!=(o=i.role||(null!=e?e.role:e))?o:l,typeof o===c?o.call(a,{name:""role"",hash:{},data:s}):o))+'</p>\r\n\t\t</div>\r\n\t</aside>\r\n\r\n\t<div class=""keyPeopleOverlay__body"">\r\n\t\t<h3 class=""subtitle--m component__subtitle"">'+h((o=null!=(o=i.profileTitle||(null!=e?e.profileTitle:e))?o:l,typeof o===c?o.call(a,{name:""profileTitle"",hash:{},data:s}):o))+'</h3>\r\n\t\t<p class=""copy--m"">'+h((o=null!=(o=i.breakoutDesc||(null!=e?e.breakoutDesc:e))?o:l,typeof o===c?o.call(a,{name:""breakoutDesc"",hash:{},data:s}):o))+""</p>\r\n\t\t<p>""+h((o=null!=(o=i.desc||(null!=e?e.desc:e))?o:l,typeof o===c?o.call(a,{name:""desc"",hash:{},data:s}):o))+""</p>\r\n\r\n""+(null!=(r=i.if.call(a,null!=e?e.relatedProjects:e,{name:""if"",hash:{},fn:t.program(1,s,0),inverse:t.noop,data:s}))?r:"""")+'\t</div>\r\n</div>\r\n\r\n<div class=""js-closeBtn videoOverlay__closeBtn btn--close"">\r\n\t<div class=""icon--close__icon icon--plus"" fill>\r\n\t\t<div class=""icon--plus__ring""></div>\r\n\t\t<div class=""icon--plus__line"" dir=""vert""></div>\r\n\t\t<div class=""icon--plus__line"" dir=""horiz""></div>\r\n\t</div>\r\n</div>'},useData:!0}),this.JST.loadmore_btn=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-loadMore__inner loadMore__inner btn--loadMore js-btn--loadMore"">\r\n\t<div class=""icon--plus"">\r\n <svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px"" viewBox=""0 0 66 66"" enable-background=""new 0 0 66 66"" xml:space=""preserve"">\r\n <path class=""js-loadMore__circ loadMore__circ"" fill=""none"" stroke-width=""3"" stroke-miterlimit=""10"" d=""M56.1,12.3C61,17.8,64,25,64,33\r\n c0,17.1-13.9,31-31,31S2,50.1,2,33S15.9,2,33,2C42.2,2,50.4,6,56.1,12.3""/>\r\n <line class=""js-loadMore__plus"" fill=""none"" stroke-width=""6"" stroke-linecap=""round"" stroke-miterlimit=""10"" x1=""33"" y1=""22.7"" x2=""33"" y2=""43.8""/>\r\n <line class=""js-loadMore__plus"" fill=""none"" stroke-width=""6"" stroke-linecap=""round"" stroke-miterlimit=""10"" x1=""22.4"" y1=""33"" x2=""43.6"" y2=""33""/>\r\n </svg>\r\n\t</div>\r\n\t<div class=""js-loadMore__copy btn--loadMore__copy"">Load more</div>\r\n</div>'},useData:!0}),this.JST.mkey_people_profile=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class = ""js-profile profile__wrap"">\r\n\t<div class = ""profile__name""></div>\r\n\t<div class = ""profile__role""></div>\r\n\t<div class = ""profile__desc_breakout""></div>\r\n\t<div class = ""profile__desc""></div>\r\n\r\n\t<div class=""js-profile__related profile__related"">\r\n\t\t\tRelated Projects\r\n\t </div>\r\n\r\n\t<div class = ""profile__projects"">\r\n\t\t\x3c!--<a class=""profile__project_link link--out"" href="""">\r\n\t\t\t\t<svg class=""link--out__arrow""><use xlink:href=""#icon-arrow-right"" /></svg>\r\n\t\t\t\tproject 1\r\n\t\t</a>--\x3e\r\n\t</div>\r\n</div>\r\n'},useData:!0}),this.JST.overlay=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<section class=""js-overlay overlay"">\r\n <div class=""js-overlay__bg overlay__bg""></div>\r\n <div class=""js-overlay__content overlay__content"">\r\n \t\x3c!-- overlay content --\x3e\r\n </div>\r\n</section>'},useData:!0}),this.JST.paginationblock=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-prevBtn paginationBlock__btn btn--nav"">\r\n <svg class=""btn--nav__icon""><use xlink:href=""#icon-arrow-prev"" /></svg>\r\n</div>\r\n<div class=""js-indicator paginationBlock__indicator "">\r\n <span class=""js-labelCurrent paginationBlock__labelCurrent"">01</span>\r\n <span class=""js-labelTotal paginationBlock__labelTotal"">10</span>\r\n</div>\r\n<div class=""js-nextBtn paginationBlock__btn btn--nav"">\r\n <svg class=""btn--nav__icon""><use xlink:href=""#icon-arrow-next"" /></svg>\r\n</div>'},useData:!0}),this.JST.preloader=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){ | |
return'<?xml version=""1.0"" encoding=""utf-8""?>\r\n\x3c!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\r\n<svg version=""1.1"" id=""Layer_1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\n viewBox=""-1017 2488 800 300"" style=""enable-background:new -1017 2488 800 300;"" xml:space=""preserve"">\r\n<style type=""text/css"">\r\n .st0{clip-path:url(#SVGID_2_);}\r\n .st1{clip-path:url(#SVGID_4_);}\r\n .st2{fill:#FFFFFF;}\r\n .st3{fill:#3CB878;}\r\n</style>\r\n<g>\r\n <g>\r\n <path d=""M-508.3,2747.9h15.1c-0.8,4-5.4,7.1-7.8,8.3c-3.4,1.8-8.5,3.1-13.6,2.9c-5.2-0.3-8.2-0.7-13.1-4.6\r\n c-3.5-2.8-5.9-8-5.9-14.4c0-6.5,1.8-11.8,5.4-14.9c3.7-3.2,8-5.5,14.8-5.7c11.1-0.3,14.9,4.3,15.4,5.2l24.8-4.2\r\n c-3.8-6.7-12.2-17-40.8-16.3c-12.9,0.3-23.7,2.9-31.7,9.3c-8.1,6.5-11.5,16.1-11.8,26.8c-0.4,12.3,5.4,20.8,13.3,27.1\r\n c7.1,5.7,14.1,7.7,25.8,7.7c7.1,0,14.3-2,19.2-4.2c1.8-0.8,4.8-2.6,6.8-4.3l0.1,7.3h22v-40h-38L-508.3,2747.9L-508.3,2747.9z\r\n M-600.6,2719.4c-6.6-8.3-18.9-12.4-32.4-12.4h-39v66.8h39c13.5,0,25.8-4.2,32.4-12.4c4.6-5.8,7-12.9,7.3-21l0,0\r\n C-593.6,2732.2-596,2725.2-600.6,2719.4z M-619.7,2749.9c-2.6,4.8-9.3,7.3-16.3,7.3h-12.7v-33.4h12.8c7,0,13.6,2.5,16.3,7.3\r\n c1.4,2.6,2.2,5.8,2.2,9.5l0,0C-617.5,2744.1-618.2,2747.2-619.7,2749.9z M-587.8,2773.9h23.7v-66.9h-23.7V2773.9z M-372.1,2706.9\r\n h-60.7v17h18.4v49.9h23.9v-49.9h18.3L-372.1,2706.9L-372.1,2706.9z M-270.4,2706.9h-23.8v66.9h58.8v-17.2h-35V2706.9z\r\n M-462.9,2773.8h23.7v-66.9h-23.7V2773.8z M-352.5,2706.9l-32.7,66.9h25.3l5.6-12.5h26.3l5.5,12.5h26l-32.4-66.9H-352.5\r\n L-352.5,2706.9z M-349.4,2747.8l8.1-21.1l8.3,21L-349.4,2747.8z""/>\r\n </g>\r\n</g>\r\n<g>\r\n <defs>\r\n <rect id=""SVGID_1_"" x=""-1017"" y=""2488"" width=""800"" height=""208""/>\r\n </defs>\r\n <clipPath id=""SVGID_2_"">\r\n <use xlink:href=""#SVGID_1_"" style=""overflow:visible;""/>\r\n </clipPath>\r\n <g id=""weta"" class=""st0"">\r\n <defs>\r\n <path id=""SVGID_3_"" d=""M-236.3,2582.1c-2.2-15.9-16.7-41.8-90.4-43.3c-54.5-1.1-86.5,10.3-101,28.3v-28.5h-24.9v-37.8h-66.3v37.8\r\n h-20.7v37.3c-13.6-19.7-39.8-37.2-90.8-37.6c-30-0.3-51.9,4.4-67.8,11.9l4.6-11.7h-65.7l-24.2,72.4l-31.2-72.4H-878l-31,72.6\r\n l-24-72.7h-65.7l60.3,153.2h58.3l34.1-89.7l34.1,89.7h58.3l17.5-44.6c10.3,24.2,41.2,49.7,103.8,49c68-0.8,101.3-30.1,107.3-57.8\r\n h-67.5c-6.8,13.9-22.6,21.9-38.3,22c-20.9,0.1-37-9.9-40.5-31.5H-525v-1.4l0,0c0-7.2-0.5-22.4-7.2-38.3h13.4\r\n c0,0-0.2,65.7-0.2,66.1c-1.2,35.5,19.3,36,29.1,35.9c1.2,0,74.8,0,74.8,0s0-3.7,0-8.1c14.5,7.1,32.6,10.4,48.2,10.3\r\n c33.4-0.3,45.7-8.4,65.6-19.4c0,6.2,0,10.2,0,12.7v4.6h65.8v-0.2h0.1C-235.3,2635.4-234.9,2592.1-236.3,2582.1z M-671.3,2598.6\r\n c6.5-18.1,23.3-24.5,40.5-24.5c15.8,0,32.2,8.1,37.1,24.5H-671.3z M-441.7,2646.8c0,0.3,0,0.5,0,0.8c-7.9-2.2-10.8-6.2-10.8-17.6\r\n l-0.2-40.9h25v-0.1c32.3,0,56.5,0.2,56.5,0.2s3-13.1,35.1-12.9c35.1,0.2,34.2,14,34.4,18.7c-36.7-0.2-62.2,0.5-90.4,5.3\r\n C-420.4,2605.1-441.3,2616.2-441.7,2646.8z M-346.8,2654.1c-34.4,1.1-34.9-23.7-8-28.7c11.1-2.1,27.1-3.8,53.1-3.1\r\n C-301.7,2626.9-311.7,2652.9-346.8,2654.1z""/>\r\n </defs>\r\n <clipPath id=""SVGID_4_"">\r\n <use xlink:href=""#SVGID_3_"" style=""overflow:visible;""/>\r\n </clipPath>\r\n <g class=""js-preloaderMask st1"">\r\n <g class=""js-preloaderColorBlock"">\r\n <rect x=""-1017"" y=""2488"" class=""st2"" width=""800"" height=""300""/>\r\n <rect x=""-2615"" y=""2488"" class=""st2"" width=""800"" height=""300""/>\r\n <rect x=""-1816"" y=""2488"" class=""st3"" width=""800"" height=""300""/>\r\n </g>\r\n </g>\r\n </g>\r\n</g>\r\n</svg>\r\n\r\n\r\n\r\n'},useData:!0}),this.JST.relatedpodcast_item=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=t.escapeExpression;return'<div class=""podcastRelated__tileInner"">\r\n\t<div class=""js-tileBgThumb podcastRelated__bg""></div>\r\n\r\n\t<div class=""js-title podcastRelated__title"">'+l((r=null!=(r=i.title||(null!=e?e.title:e))?r:a,""function""==typeof r?r.call(o,{name:""title"",hash:{},data:s}):r))+'</div>\r\n\t<div class=""js-topic podcastRelated__topic"">'+l((r=null!=(r=i.subtitle||(null!=e?e.subtitle:e))?r:a,""function""==typeof r?r.call(o,{name:""subtitle"",hash:{},data:s}):r))+'</div>\r\n\r\n\t<button class=""js-playBtn link--out"">\r\n\t\t<svg class=""link--out__arrow""><use xlink:href=""#icon-arrow-right"" /></svg>\r\n\t\tPlay\r\n\t</button>\r\n</div>'},useData:!0}),this.JST.rotateoverlay=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""rotateOverlay"">\r\n\t<div class=""rotateOverlay__inner"">\r\n\t <svg class=""rotateOverlay__icon"" role=""img"" title=""iPad Icon""><use xlink:href=""#icon-rotate-full""></use></svg>\r\n\r\n\t <h2 class=""rotateOverlay__desc"">Please rotate<br>your device</h2>\r\n\t</div>\r\n</div>'},useData:!0}),this.JST.scroll=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""js-scroll__window scroll__window"">\r\n <div class=""js-scroll__pane scroll__pane"">\r\n \t\x3c!-- scrollable content --\x3e\r\n </div>\r\n</div>\r\n<div class=""js-scroll__expander scroll__expander""></div>'},useData:!0}),this.JST.searchsuggestion=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=t.escapeExpression;return'<li class=""searchOverlay__suggestionListItem"">\r\n\t<svg class=""searchOverlay__suggestionListIcon"">\r\n\t\t<use xlink:href=""#icon-arrow-next""></use>\r\n\t</svg>\r\n\t'+l((r=null!=(r=i.tag||(null!=e?e.tag:e))?r:a,""function""==typeof r?r.call(o,{name:""tag"",hash:{},data:s}):r))+'\r\n\t<a class=""js-suggestionItem searchOverlay__suggestionLink"" href=""/search/'+l((r=null!=(r=i.tag||(null!=e?e.tag:e))?r:a,""function""==typeof r?r.call(o,{name:""tag"",hash:{},data:s}):r))+'""></a>\r\n</li>'},useData:!0}),this.JST.svglogo=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=t.escapeExpression;return'<svg version=""1.1"" class=""logoIcon"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px"" viewBox=""-617 2363.5 763.4 274.5"" enable-background=""new -617 2363.5 763.4 274.5"" xml:space=""preserve"">\r\n\t<g>\r\n\t\t<defs>\r\n\t\t\t<path id=""logo_clip_1_'+l((r=null!=(r=i.maskId||(null!=e?e.maskId:e))?r:a,""function""==typeof r?r.call(o,{name:""maskId"",hash:{},data:s}):r))+'"" d=""M-126.6,2610.7h15.1c-0.8,4-5.4,7.1-7.8,8.3c-3.4,1.8-8.5,3.1-13.6,2.9c-5.2-0.3-8.2-0.7-13.1-4.6\r\n\t\t\t\tc-3.5-2.8-5.9-8-5.9-14.4c0-6.5,1.8-11.8,5.4-14.9c3.7-3.2,8-5.5,14.8-5.7c11.1-0.3,14.9,4.3,15.4,5.2l24.8-4.2\r\n\t\t\t\tc-3.8-6.7-12.2-17-40.8-16.3c-12.9,0.3-23.7,2.9-31.7,9.3c-8.1,6.5-11.5,16.1-11.8,26.8c-0.4,12.3,5.4,20.8,13.3,27.1\r\n\t\t\t\tc7.1,5.7,14.1,7.7,25.8,7.7c7.1,0,14.3-2,19.2-4.2c1.8-0.8,4.8-2.6,6.8-4.3l0.1,7.3h22v-40h-38L-126.6,2610.7L-126.6,2610.7z\r\n\t\t\t\t M-218.9,2582.2c-6.6-8.3-18.9-12.4-32.4-12.4h-39v66.8h39c13.5,0,25.8-4.2,32.4-12.4c4.6-5.8,7-12.9,7.3-21l0,0\r\n\t\t\t\tC-211.9,2595-214.3,2588-218.9,2582.2z M-238,2612.6c-2.6,4.8-9.3,7.3-16.3,7.3H-267v-33.4h12.8c7,0,13.6,2.5,16.3,7.3\r\n\t\t\t\tc1.4,2.6,2.2,5.8,2.2,9.5l0,0C-235.8,2606.9-236.5,2610-238,2612.6z M-206.1,2636.6h23.7v-66.9h-23.7V2636.6z M9.6,2569.7h-60.7\r\n\t\t\t\tv17h18.4v49.9h23.9v-49.9H9.5L9.6,2569.7L9.6,2569.7z M145.4,2444.8c-2.2-15.9-16.7-41.8-90.4-43.3c-54.5-1.1-86.5,10.3-101,28.3\r\n\t\t\t\tv-28.5h-24.9v-37.8h-66.3v37.8h-20.7v37.3c-13.6-19.7-39.8-37.2-90.8-37.6c-30-0.3-51.9,4.4-67.8,11.9l4.6-11.7h-65.7l-24.2,72.4\r\n\t\t\t\tl-31.2-72.4h-63.3l-31,72.6l-24-72.7H-617l60.3,153.2h58.3l34.1-89.7l34.1,89.7h58.3l17.5-44.6c10.3,24.2,41.2,49.7,103.8,49\r\n\t\t\t\tc68-0.8,101.3-30.1,107.3-57.8h-67.5c-6.8,13.9-22.6,21.9-38.3,22c-20.9,0.1-37-9.9-40.5-31.5h146.3v-1.4l0,0\r\n\t\t\t\tc0-7.2-0.5-22.4-7.2-38.3h13.4c0,0-0.2,65.7-0.2,66.1c-1.2,35.5,19.3,36,29.1,35.9c1.2,0,74.8,0,74.8,0s0-3.7,0-8.1\r\n\t\t\t\tc14.5,7.1,32.6,10.4,48.2,10.3c33.4-0.3,45.7-8.4,65.6-19.4c0,6.2,0,10.2,0,12.7v4.6h65.8v-0.2h0.1\r\n\t\t\t\tC146.4,2498.1,146.8,2454.8,145.4,2444.8z M-289.6,2461.4c6.5-18.1,23.3-24.5,40.5-24.5c15.8,0,32.2,8.1,37.1,24.5H-289.6z\r\n\t\t\t\t M-60,2509.5c0,0.3,0,0.5,0,0.8c-7.9-2.2-10.8-6.2-10.8-17.6l-0.2-40.9h25v-0.1c32.3,0,56.5,0.2,56.5,0.2s3-13.1,35.1-12.9\r\n\t\t\t\tc35.1,0.2,34.2,14,34.4,18.7c-36.7-0.2-62.2,0.5-90.4,5.3C-38.7,2467.9-59.6,2479-60,2509.5z M34.9,2516.8\r\n\t\t\t\tc-34.4,1.1-34.9-23.7-8-28.7C38,2486,54,2484.3,80,2485C80,2489.7,70,2515.7,34.9,2516.8z M111.3,2569.7H87.5v66.9h58.8v-17.2h-35\r\n\t\t\t\tV2569.7z M-81.2,2636.5h23.7v-66.9h-23.7V2636.5z M29.2,2569.7l-32.7,66.9h25.3l5.6-12.5h26.3l5.5,12.5h26l-32.4-66.9H29.2\r\n\t\t\t\tL29.2,2569.7z M32.3,2610.5l8.1-21.1l8.3,21L32.3,2610.5z""/>\r\n\t\t</defs>\r\n\t\t<clipPath id=""logo_clip_2_'+l((r=null!=(r=i.maskId||(null!=e?e.maskId:e))?r:a,""function""==typeof r?r.call(o,{name:""maskId"",hash:{},data:s}):r))+'"">\r\n\t\t\t<use xlink:href=""#logo_clip_1_'+l((r=null!=(r=i.maskId||(null!=e?e.maskId:e))?r:a,""function""==typeof r?r.call(o,{name:""maskId"",hash:{},data:s}):r))+'"" overflow=""visible""/>\r\n\t\t</clipPath>\r\n\t\t<g clip-path=""url(#logo_clip_2_'+l((r=null!=(r=i.maskId||(null!=e?e.maskId:e))?r:a,""function""==typeof r?r.call(o,{name:""maskId"",hash:{},data:s}):r))+')"">\r\n\t\t\t<path class=""js-logoCircle logoCircle"" d=""M575.9,2548.5c0,337.9-274,611.9-611.9,611.9s-611.9-274-611.9-611.9c0-337.9,267.9-595,611.9-611.9\r\n\t\t\t\tC301.9,1936.6,575.9,2210.6,575.9,2548.5z""/>\r\n\t\t</g>\r\n\t</g>\r\n</svg>'},useData:!0}),this.JST.svgmediaplayer=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<svg version=""1.1"" id=""Layer_1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\nviewBox=""0 0 52 56"" enable-background=""new 0 0 52 56"" xml:space=""preserve"">\r\n\r\n\t<g>\r\n\t\t<defs>\r\n\t\t\t<path id=""SVGID_1_"" d=""M39,44.7c-3.8,2.7-8.4,4.2-13.4,4.2c-4.9,0-9.4-1.5-13.1-4v13.5H39V44.7z""/>\r\n\t\t</defs>\r\n\t\t<clipPath id=""SVGID_2_"">\r\n\t\t\t<use xlink:href=""#SVGID_1_"" overflow=""visible""/>\r\n\t\t</clipPath>\r\n\t\t<g clip-path=""url(#SVGID_2_)"">\r\n\t\t\t<polygon class=""js-tip headerMediaPlayer__tip"" points=""34.5,45.5 16.9,45.5 26,54.6""/>\r\n\t\t</g>\r\n\t</g>\r\n\r\n\t<path class=""js-bg headerMediaPlayer__bg"" fill=""none"" stroke-width=""2"" stroke-miterlimit=""10"" d=""M26.1,2c13,0,23.5,10.5,23.5,23.5S39.1,49,26.1,49S2.7,38.4,2.7,25.5S13.2,2,26.1,2""/>\r\n\r\n\t<path class=""js-progress headerMediaPlayer__progress"" fill=""none"" stroke-width=""2"" stroke-miterlimit=""10"" d=""M26.1,2c13,0,23.5,10.5,23.5,23.5S39.1,49,26.1,49\r\n\t\tS2.7,38.4,2.7,25.5S13.2,2,26.1,2""/>\r\n\r\n\t<g class=""js-playBtn headerMediaPlayer__playBtn btn--play"">\r\n\t\t<circle class=""js-playBtnBg headerMediaPlayer__playBtnBg"" cx=""26.1"" cy=""25.5"" r=""19.3""/>\r\n\t\t<g class=""js-pauseIcon headerMediaPlayer__pause"">\r\n\t\t\t<path d=""M22.9,35h-1c-0.8,0-1.5-0.7-1.5-1.5V19.6c0-0.8,0.7-1.5,1.5-1.5h1c0.8,0,1.5,0.7,1.5,1.5v13.9\r\n\t\tC24.4,34.3,23.7,35,22.9,35z""/>\r\n\t<path d=""M29.5,34.9h-1c-0.8,0-1.5-0.7-1.5-1.5V19.5c0-0.8,0.7-1.5,1.5-1.5h1c0.8,0,1.5,0.7,1.5,1.5v13.8\r\n\t\tC31,34.2,30.3,34.9,29.5,34.9z""/>\r\n\t\t</g>\r\n\r\n\t\t<path class=""js-playIcon headerMediaPlayer__play"" d=""M23.8,34.7c-0.1,0.1-0.2,0.1-0.2,0.2c-0.1,0-0.2,0.1-0.3,0.1c-0.2,0-0.4-0.1-0.5-0.2\r\n\tc-0.1-0.1-0.1-0.1-0.2-0.2c0-0.1-0.1-0.2-0.1-0.3V18.7c0-0.1,0-0.2,0.1-0.3c0.1-0.1,0.2-0.2,0.3-0.3C23,18,23.1,18,23.3,18\r\n\tc0.1,0,0.2,0,0.3,0.1c0.1,0,0.2,0.1,0.3,0.2l5.8,5.8c0.3,0.3,0.6,0.7,0.8,1.2s0.3,0.9,0.3,1.3c0,0.4-0.1,0.9-0.3,1.3\r\n\tc-0.2,0.4-0.4,0.8-0.8,1.2L23.8,34.7""/>\r\n\t</g>\r\n\r\n</svg>'},useData:!0}),this.JST.svgsearch=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px"" viewBox=""-984 2486.8 29.2 29.2"" enable-background=""new -984 2486.8 29.2 29.2"" xml:space=""preserve"">\r\n\t<path class=""js-lens"" fill=""none"" stroke-width=""2"" stroke-miterlimit=""10"" d=""M-964.8,2491.5c1.5,1.8,2.4,4.1,2.4,6.6\r\n\t\tc0,5.7-4.6,10.3-10.3,10.3s-10.3-4.6-10.3-10.3s4.6-10.3,10.3-10.3C-969.5,2487.8-966.7,2489.2-964.8,2491.5""/>\r\n\t<path class=""js-reflect"" fill=""none"" stroke-width=""0.75"" stroke-linecap=""round"" stroke-miterlimit=""10"" d=""M-977.6,2501.8\r\n\t\tc-0.9-1-1.5-2.3-1.5-3.7c0-1.5,0.6-2.9,1.7-3.9""/>\r\n\t<line class=""js-handle"" fill=""none"" stroke-width=""3.5"" stroke-linecap=""round"" stroke-miterlimit=""10"" x1=""-962.4"" y1=""2508.4"" x2=""-956.6"" y2=""2514.2""/>\r\n</svg>\r\n'},useData:!0}),this.JST.videogallery_cursor=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=t.escapeExpression;return'<div class=""js-gallery__plusBtn videoGallery__playBtn btn--nav"">\r\n\r\n <svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" x=""0px"" y=""0px""\r\n viewBox=""0 0 60 60"" xml:space=""preserve"">\r\n\r\n <circle class=""js-gallery__bg gallery__bg"" cx=""30"" cy=""30"" r=""29.8""/>\r\n <g>\r\n <defs>\r\n <path id=""SVGID_1_'+l((r=null!=(r=i.uniqueId||(null!=e?e.uniqueId:e))?r:a,""function""==typeof r?r.call(o,{name:""uniqueId"",hash:{},data:s}):r))+'"" d=""M28.6,44.4l12.3-12.3c1.1-1.1,1.1-3,0-4.1L28.6,15.6c-1.8-1.8-5-0.5-5,2.1v24.6\r\n C23.6,44.9,26.8,46.2,28.6,44.4z""/>\r\n </defs>\r\n <clipPath id=""SVGID_2_'+l((r=null!=(r=i.uniqueId||(null!=e?e.uniqueId:e))?r:a,""function""==typeof r?r.call(o,{name:""uniqueId"",hash:{},data:s}):r))+'"">\r\n <use xlink:href=""#SVGID_1_'+l((r=null!=(r=i.uniqueId||(null!=e?e.uniqueId:e))?r:a,""function""==typeof r?r.call(o,{name:""uniqueId"",hash:{},data:s}):r))+'"" style=""overflow:visible;""/>\r\n </clipPath>\r\n <g clip-path=""url(#SVGID_2_'+l((r=null!=(r=i.uniqueId||(null!=e?e.uniqueId:e))?r:a,""function""==typeof r?r.call(o,{name:""uniqueId"",hash:{},data:s}):r))+')"">\r\n <circle class=""js-gallery__play gallery__play"" cx=""30"" cy=""29.7"" r=""17.9""/>\r\n </g>\r\n </g>\r\n </svg>\r\n</div>'},useData:!0}),this.JST.videogallery_overlay=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<section class=""js-overlay overlay galleryOverlay"">\r\n <div class=""js-overlay__bg overlay__bg""></div>\r\n <div class=""js-overlay__content overlay__content galleryOverlay__content"">\r\n\t\t<div class=""js-galleryOverlay__carousel galleryOverlay__carousel""> </div>\r\n <div class=""js-overlay__fg overlay__fg""></div>\r\n </div>\r\n</section>'},useData:!0}),this.JST.videooverlay=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'<div class=""videoOverlay__16x9"">\r\n\r\n\t<div class=""js-videoEl videoOverlay__videoEl""></div>\r\n <div class=""js-overlay__closeBtn galleryOverlay__closeBtn btn--close"">\r\n <div class=""icon--close__icon icon--plus"" fill>\r\n <div class=""icon--plus__ring""></div>\r\n <div class=""icon--plus__line"" dir=""vert""></div>\r\n <div class=""icon--plus__line"" dir=""horiz""></div>\r\n </div>\r\n </div>\r\n <p class=""js-videoOverlay__title videoOverlay__title""></p>\r\n</div>'},useData:!0}),this.JST.workfilter_nav=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){return'\r\n<div class=\'js-workFilterNav work_filter_nav\'>\r\n\t<div class=\'filter_label\'>filter</div>\r\n\r\n\t<div class=""filter__items"">\r\n\t\t<div class=\'js-workFilterType filter_type\' data-filter=\'all\'>\r\n\t\t\t<svg class=""filter__icon""><use xmlns:xlink=""http://www.w3.org/1999/xlink"" xlink:href=""#icon-arrow-next""></use></svg>\r\n\t\t\tall\r\n\t\t</div>\r\n\t\t<div class=\'js-workFilterType filter_type\' data-filter=\'film\'>\r\n\t\t\t<svg class=""filter__icon""><use xmlns:xlink=""http://www.w3.org/1999/xlink"" xlink:href=""#icon-arrow-next""></use></svg>\r\n\t\t\tfilms\r\n\t\t</div>\r\n\t\t<div class=\'js-workFilterType filter_type\' data-filter=\'case study\'>\r\n\t\t\t<svg class=""filter__icon""><use xmlns:xlink=""http://www.w3.org/1999/xlink"" xlink:href=""#icon-arrow-next""></use></svg>\r\n\t\t\tcase studies\r\n\t\t</div>\r\n\r\n\t\t<div class=\'js-workFilterType filter_type\' data-filter=\'production\'>\r\n\t\t\t<svg class=""filter__icon""><use xmlns:xlink=""http://www.w3.org/1999/xlink"" xlink:href=""#icon-arrow-next""></use></svg>in\r\n\t\t\tproduction\r\n\t\t\t<a href=""/films/in-production/"" class=""js-filter_typeLink""></a>\r\n\t\t</div>\r\n\t</div>\r\n\r\n</div>'},useData:!0}),this.JST.workproduction_item=t.template({compiler:[7,"">= 4.0.0""],main:function(t,e,i,n,s){var r,o=null!=e?e:{},a=i.helperMissing,l=t.escapeExpression;return'<div class=""js-gridItem work__gridItem""\r\n\t data-img-src=""'+l((r=null!=(r=i.img_src||(null!=e?e.img_src:e))?r:a,""function""==typeof r?r.call(o,{name:""img_src"",hash:{},data:s}):r))+'""\r\n\t data-type=""production"">\r\n\r\n\t<div class=""js-bg work__gridItemBg""></div>\r\n\r\n\t<a class=""js-overlay work__gridItemOverlay work__gridItemOverlay--inProd"" href=""'+l((r=null!=(r=i.link||(null!=e?e.link:e))?r:a,""function""==typeof r?r.call(o,{name:""link"",hash:{},data:s}):r))+'"">\r\n\t\t<div>\r\n\t\t\t<h3 class=""component__subtitle subtitle--m"">In production</h3>\r\n\t\t\t<h2 class=""title--m"">Coming Soon</h2>\r\n\t\t\t\t\t<span class=""work__gridItemLink link--out"">\r\n\t\t\t\t\t\t<svg class=""link--out__arrow""><use xlink:href=""#icon-arrow-right"" /></svg>\r\n\t\t\t\t View\r\n\t\t\t\t </span>\r\n\t\t</div>\r\n\t</a>\r\n</div>'},useData:!0}),this.JST}),define(""util/anim_frame"",[""config"",""underscore"",""backbone"",""TweenMax""],function(t,e,i,n){""use strict"";var s={};return e.extend(s,i.Events),n.ticker.addEventListener(""tick"",function(){s.trigger(""anim_frame"")}),s}),define(""view/modules/component_grid_load_more_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""model/scroll_model"",""view/common/scroll_base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates"",""util/anim_frame""],function(t,e,i,n,s,r,o,a,l,c,h,u,d){""use strict"";return a.extend({firstView:!0,className:""loadMore"",initialize:function(t){e.bindAll(this,""onClick"",""onMouseEnter"",""onMouseLeave"",""onClickComplete"",""onShowComplete"",""onHideComplete"",""onSetupDefer"",""onUpdate""),this.communicator=t.communicator,this.setup(),this.addEvents()},setup:function(){var t=u.loadmore_btn();this.$el.append(t),this.$circ=this.$("".js-loadMore__circ""),this.$plus=this.$("".js-loadMore__plus""),this.$copy=this.$("".js-loadMore__copy""),this.$inner=this.$("".js-loadMore__inner""),this.tweenObj={y:0,progress:0},e.defer(this.onSetupDefer)},addEvents:function(){this.listenTo(this.model,""change:active"",this.onActiveChange),this.listenTo(r,""resize"",this.onResize),this.listenTo(d,""anim_frame"",this.onTick)},removeEvents:function(){this.stopListening(this.model,""change:active""),this.stopListening(r,""change:resize""),this.stopListening(d,""anim_frame"")},addUIEvents:function(){this.$inner.off(),this.$inner.on(""click"",this.onClick),this.$inner.on(""mouseenter"",this.onMouseEnter),this.$inner.on(""mouseleave"",this.onMouseLeave)},removeUIEvents:function(){this.$inner.off(""click"",this.onClick),this.$inner.off(""mouseenter"",this.onMouseEnter),this.$inner.off(""mouseleave"",this.onMouseLeave)},killTweens:function(){c.killTweensOf([this.$circ,this.$plus,this.$copy])},onSetupDefer:function(){c.set(this.$plus,{drawSVG:""50% 50%"",opacity:0}),c.set(this.$circ,{drawSVG:""0% 0%""})},onClick:function(){this.removeUIEvents(),this.killTweens(),c.fromTo(this.$circ,1.2,{drawSVG:""0% 0%"",transformOrigin:""50% 50%""},{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:""+=720"",strokeWidth:5,ease:""Power2.easeInOut""}),c.to(this.$circ,.8,{opacity:1}),c.to(this.$circ,.4,{opacity:0,delay:.7,ease:""Power2.easeOut""}),c.to(this.$plus,.4,{drawSVG:""50% 50%"",strokeWidth:4,opacity:0,ease:""Power4.easeInOut""}),c.to(this.$copy,.4,{y:20,opacity:0,ease:""Expo.easeIn""}),c.delayedCall(1,this.onClickComplete)},onClickComplete:function(){c.set(this.$copy,{y:0}),c.set(this.$circ,{drawSVG:""0% 0%"",rotation:0}),this.communicator.trigger(l.EVENTS.VIEW.COMPONENT_GRID.LOAD_MORE)},onActiveChange:function(t,e){e&&this.show()},onMouseEnter:function(){c.to(this.$plus,.6,{drawSVG:""20% 80%"",strokeWidth:4,ease:""Expo.easeOut""}),c.to(this.$circ,.6,{strokeWidth:5,opacity:1,scale:1.08,ease:""Back.easeOut""})},onMouseLeave:function(){c.killTweensOf([this.$plus]),c.to(this.$plus,.4,{drawSVG:""0% 100%"",strokeWidth:6,ease:""Expo.easeOut""}),c.to(this.$circ,.4,{strokeWidth:3,scale:1,ease:""Expo.easeOut""})},onResize:function(){this.resize()},onTick:function(){this.tick()},onHideComplete:function(){this.destroy()},onShowComplete:function(){this.addUIEvents()},onUpdate:function(){this.setPosition(this.$el,0,this.tweenObj.y)},resize:function(){a.prototype.resize.call(this)},show:function(){this.killTweens(),c.to(this.$circ,1.5,{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,strokeWidth:4,opacity:1,ease:""Power2.easeOut"",onComplete:this.onShowComplete}),c.to(this.$plus,1,{opacity:1,drawSVG:""0% 100%"",delay:.6,ease:""Expo.easeOut""}),c.to(this.$copy,1,{opacity:1,delay:.6,ease:""Sine.easeInOut""}),this.tweenObj.progress=1,this.tweenObj.y=o.get(""direction"")*(100*r.get(""scale"")),c.to(this.tweenObj,2,{y:0,progress:0,onUpdate:this.onUpdate,ease:""Expo.easeOut""})},hide:function(){this.killTweens(),c.to(this.$circ,1,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0,ease:""Power2.easeOut"",onComplete:this.onHideComplete}),c.to(this.$plus,.5,{opacity:0,drawSVG:""50% 50%"",delay:.3,ease:""Expo.easeOut""}),c.to(this.$copy,.5,{opacity:0,delay:.3,ease:""Sine.easeInOut""})},destroy:function(){this.removeEvents(),this.removeUIEvents(),this.model.destroy(),this.model=null,this.$el.remove(),a.prototype.destroy.call(this)}})}),define(""view/modules/page/component_grid"",[""jquery"",""underscore"",""view/common/base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""model/resize_model"",""controller/modules/component_grid_controller"",""data/modules/component_grid_data"",""constants/modules/component_grid"",""constants/components"",""TweenMax"",""view/modules/component_grid_load_more_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f){""use strict"";return i.extend({views:null,controller:null,model:null,collection:null,communicator:null,loadMoreBtnView:null,$inner:null,initialize:function(t){this.views=t.views,e.bindAll(this,""render"",""printGrid"",""delayedRender""),this.setup(),this.addEvents()},setup:function(){this.controller=new c,this.model=this.controller.model,this.collection=this.model.get(""collection""),this.communicator=this.controller.communicator,this.paginationModel=this.model.get(""paginationModel""),this.tweenObj={height:0},p.delayedCall(.5,this.delayedRender)},delayedRender:function(){this.render()},render:function(){this.$inner=this.$("".js-componentGrid__inner""),this.parseDOM()},createLoadMoreBtn:function(){this.paginationModel.get(""pagination"")&&(this.loadMoreBtnView=new f({model:this.paginationModel,communicator:this.communicator}),this.$el.append(this.loadMoreBtnView.el))},parseDOM:function(){if(!this.destroyed){var t=e.map(this.views,function(t,e){var i=(t.$el,t.model);return i.set(""background"",!1),i.set(""grid"",[]),i.set(""tileId"",e),i},this);this.communicator.trigger(n.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS,t)}},addEvents:function(){this.listenToOnce(this.model,""change:ready"",this.onReady),this.listenTo(this.paginationModel,""change:pagination"",this.onPaginationChange)},removeEvents:function(){this.stopListening(this.model,""change:ready""),this.stopListening(this.paginationModel,""change:pagination"")},setBackground:function(){e.each(this.views,function(t,e){var i=t.model;i.get(""type"")===d.TYPE.SIMPLE_CONTENT_TILE&&t.$inner.attr(""background"",i.get(""background""))})},layout:function(){e.invoke(this.views,""layout"",this.model.baseCellSize,this.debugging)},setInnerHeight:function(){if(this.$inner){var t=e.max(this.collection.map(function(t){return t.attributes.cell.y+t.attributes.cell.soft.height},this));this.$inner.css({height:t*this.model.baseCellSize+""rem""})}},getPaginationModel:function(){return this.paginationModel},onReady:function(){this.debugging&&(this.debug(),e.invoke(this.views,""debug"")),this.layout(),this.createLoadMoreBtn(),this.setBackground(),p.to(this.$el,1,{opacity:1,ease:""Sine.easeInOut""})},onPaginationChange:function(t){!t.get(""pagination"")&&this.loadMoreBtnView&&(this.loadMoreBtnView.destroy(),this.loadMoreBtnView=null)},tick:function(){},resize:function(){this.setInnerHeight(),this.loadMoreBtnView&&this.loadMoreBtnView.onResize()},destroy:function(){this.destroyed=!0,p.killDelayedCallsTo(this.delayedRender),this.removeEvents(),this.controller.destroy(),this.controller=null,this.model=null,this.collection=null,this.communicator=null,this.loadMoreBtnView&&(this.loadMoreBtnView.destroy(),this.loadMoreBtnView=null),i.prototype.destroy.call(this)},show:function(){this.$el.show()},hide:function(){this.$el.hide()},debugging:!1,debuggingEl:null,greenColor:""#45e949"",redColor:""#e94545"",orangeColor:""#ff6b22"",$debugContainer:null,slowRender:!1,debug:function(){this.$debugContainer=t('<div class=""debug__container"" />'),this.$inner.append(this.$debugContainer),this.$debugContainer.css({position:""absolute"",top:0,left:0}),this.debuggingEl=document.createElement(""div""),this.debuggingEl.style.width=this.model.baseCellSize*l.get(""scale"")+""rem"",this.debuggingEl.style.height=this.model.baseCellSize*l.get(""scale"")+""rem"",this.debuggingEl.style.background=this.greenColor},printGrid:function(){for(var t=0;t<this.model.grid.length;t++){if(this.model.grid[t])for(var e=0;e<this.model.grid[t].length;e++){var i=document.createElement(""div"");i.style.width=this.model.cellSize+""px"",i.style.height=this.model.cellSize+""px"",i.style.position=""absolute"",i.style.top=0,this.$debugContainer.append(i);var n={x:e,y:t};this.printCell(i,n)}}},printCell:function(e,i){var n=this.model.grid[i.y];if(n){var s,r=n[i.x].type;switch(r){case u.CELL.TYPE.HARD:s=this.redColor;break;case u.CELL.TYPE.SOFT:s=this.greenColor;break;case u.CELL.TYPE.MARGIN:s=this.orangeColor}e.style.background=s,e.style.color=""white"";var o,a=n[i.x].componentType;switch(a){case d.TYPE.SIMPLE_CONTENT_TILE:o=""SCT"";break;case d.TYPE.IMAGE_CONTENT_TILE:o=""ICT"";break;case d.TYPE.MEDIA_CONTENT_TILE:o=""MCT"";break;case null:o=""NULL""}var l=n[i.x].tileId||-1;t(e).html(o+"" - ""+l),p.set(e,{x:i.x*this.model.cellSize,y:i.y*this.model.cellSize})}}})}),define(""view/modules/page/section"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""model/scroll_model"",""view/common/scroll_base_view"",""view/common/communicator"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return a.extend({initialize:function(t){a.prototype.initialize.apply(this,arguments),this.id=this.$el.data(""subsection""),this.setup(),this.addEvents()},setup:function(){},addEvents:function(){this.listenTo(l,l.EVENTS.VIEW.SECTION.ANCHOR,this.onAnchor)},removeEvents:function(){this.stopListening(l,l.EVENTS.VIEW.SECTION.ANCHOR)},checkVisibleOffset:function(){var t=.5*(o.scrollTop+o.scrollCenter);t>this.topOffset&&t<this.bottomOffset?this.model.set(""visible"",!0):(t<=this.topOffset||t>=this.bottomOffset)&&this.model.set(""visible"",!1)},onAnchor:function(t){if(this.id===t){var e=this.topOffset-50*r.get(""scale"");l.trigger(l.EVENTS.VIEW.SCROLL.TO,{targetOffset:e,duration:1.2})}},onVisibleChange:function(t,e){},tick:function(){a.prototype.tick.call(this)},hide:function(){},show:function(){},destroy:function(){this.removeEvents(),a.prototype.destroy.call(this)}})}),define(""controller/scroll_controller"",[""underscore"",""jquery"",""backbone"",""config"",""events/view_events"",""view/common/communicator"",""model/app_model"",""model/scroll_model"",""TweenMax"",""util/resn/math"",""util/anim_frame""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";var u=t.extend({$window:null,pageHeight:0,initialize:function(){t.bindAll(this,""onScroll"",""onScrollUpdate""),this.setup()},setup:function(){t.bindAll(this,""onScroll"",""onPopState"",""delayedUnlock"",""onPageConstructed""),this.tweenObj={progress:0},this.$window=e(window),this.addEvents(),this.resize(),this.lockForDuration(0,3)},set:function(t){this.setPosition(t),a.targetScrollTop=t,a.scrollTop=t,this.setDirection(0)},addEvents:function(){e(window).on(""popstate"",this.onPopState),this.listenTo(h,""anim_frame"",this.onTick),this.listenTo(r,r.EVENTS.VIEW.PAGE_CONSTRUCTED,this.onPageConstructed),this.listenTo(r,r.EVENTS.VIEW.SCROLL.SET,this.onScrollSet),this.listenTo(r,r.EVENTS.VIEW.SCROLL.TO,this.onScrollTo),this.listenTo(r,r.EVENTS.VIEW.SCROLL.LOCK,this.onScrollLock),this.listenTo(r,r.EVENTS.VIEW.SCROLL.UNLOCK,this.onScrollUnLock)},removeEvents:function(){e(window).off(""popstate"",this.onPopState),this.$window.off(""scroll"",this.onScroll),this.stopListening(h,""anim_frame"",this.onTick),this.stopListening(r,r.EVENTS.VIEW.SCROLL.SET,this.onScrollSet),this.stopListening(r,r.EVENTS.VIEW.SCROLL.TO,this.onScrollTo),this.stopListening(r,r.EVENTS.VIEW.SCROLL.LOCK,this.onScrollLock),this.stopListening(r,r.EVENTS.VIEW.SCROLL.UNLOCK,this.onScrollUnLock)},lockForDuration:function(t,e){if(n.TABLET)return this.onScrollUnLock(),void this.set(t);this.onScrollLock(),this.set(t),this.tweenObj.progress=0,l.killDelayedCallsTo(this.delayedUnlock),l.delayedCall(e,this.delayedUnlock)},delayedUnlock:function(){this.set(0),this.onScrollUnLock(),this.set(0)},onPopState:function(){this.lockForDuration(0,3)},onPageConstructed:function(t,e){this.lockForDuration(0,.4)},onPageChange:function(t,e){this.lockForDuration(0,2)},onScrollSet:function(t){this.set(t)},onScrollUnLock:function(){this.$window.off(""scroll"",this.onScroll),this.$window.on(""scroll"",this.onScroll),a.set(""lock"",!1),this.setPosition(a.scrollTop),r.trigger(r.EVENTS.VIEW.RESIZE)},onScrollLock:function(){this.$window.off(""scroll"",this.onScroll),a.set(""lock"",!0)},onScrollTo:function(t){var e=(this.$window.scrollTop(),t.targetOffset),i=t.duration,n=t.delay||0,s=t.onComplete||function(){},o=this;l.killTweensOf(this.tweenObj),0===i?(this.tweenObj.progress=e,a.targetScrollTop=e,a.scrollTop=e+1,this.setPosition(e)):l.to(this.tweenObj,i,{progress:e,delay:n,onUpdate:function(){o.onScrollUpdate()},onComplete:function(){s(),r.trigger(r.EVENTS.VIEW.SCROLL.SCROLL_DONE)},ease:""Expo.easeInOut""})},onScrollUpdate:function(){var t=this.tweenObj.progress;this.setPosition(t)},onTick:function(){this.setScrollValues(),this.applyFriction(),this.setScrollFlag()},onScroll:function(){a.targetScrollTop=this.$window.scrollTop(),this.tweenObj.progress=a.targetScrollTop,this.setDirection()},setPosition:function(e){var i=this;t.defer(function(){i.$window.scrollTop(Math.abs(e))})},setDirection:function(t){if(void 0!==t)return void a.set(""direction"",t);var e=a.targetScrollTop-a.scrollTop>0?1:-1;a.set(""direction"",e)},setScrollValues:function(){a.scrollCenter=a.scrollTop+.5*this.windowHeight,a.scrollBottom=a.scrollTop+this.windowHeight,a.scrollDelta=Math.abs(a.targetScrollTop-a.scrollTop),a.scrollRatio=a.scrollTop/(a.pageHeight-this.windowHeight)},applyFriction:function(){a.scrollDelta>1e-4&&(a.scrollTop+=c.simpleEasing(a.targetScrollTop,a.scrollTop,.09))},setScrollFlag:function(){var t=a.attributes.scrolling;a.scrollDelta<5?(t&&this.setDirection(0),a.set(""scrolling"",!1)):a.set(""scrolling"",!0)},resize:function(t){a.pageHeight=t,this.windowHeight=window.innerHeight},destroy:function(){this.removeEvents()}},i.Events);return u.initialize(),u}), | |
define(""view/modules/page/scroll"",[""jquery"",""underscore"",""view/common/base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""model/scroll_model"",""model/resize_model"",""controller/scroll_controller"",""util/anim_frame"",""TweenMax"",""templates/templates"",""util/animation_utils""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f){""use strict"";return i.extend({$body:null,$html:null,$scrollPane:null,$scrollWindow:null,$scrollExpander:null,initialize:function(t){e.bindAll(this,""resize""),this.setup(),this.addEvents()},setup:function(){this.$body=t(""body""),this.$html=t(""html"");var e=this.$el.children(),i=p.scroll({});this.$el.append(i),this.$scrollPane=this.$("".js-scroll__pane""),this.$scrollWindow=this.$("".js-scroll__window""),this.$scrollExpander=this.$("".js-scroll__expander""),this.$scrollPane.append(e)},render:function(){this.onLockChange()},addEvents:function(){this.listenTo(u,""anim_frame"",this.onTick),this.listenTo(l,""change:lock"",this.onLockChange)},removeEvents:function(){this.stopListening(u,""anim_frame"",this.onTick),this.stopListening(l,""change:lock"",this.onLockChange)},hasScrollHeightChanged:function(){return this.$scrollPane.outerHeight()!==this.prevHeight},onLockChange:function(){l.get(""lock"")?this.lock():this.unlock()},onTick:function(){Math.abs(l.targetScrollTop-l.scrollTop)>.01&&this.setPosition(this.$scrollPane,0,-l.scrollTop)},resize:function(){if(this.$scrollExpander){var t=this.$scrollPane.outerHeight();this.$scrollExpander.css({height:t}),this.prevHeight=t,h.resize(t)}},lock:function(){this.$scrollExpander.detach()},unlock:function(){this.$el.prepend(this.$scrollExpander)},destroy:function(){this.removeEvents(),i.prototype.destroy.call(this)}})}),define(""collection/pages/section_collection"",[""underscore"",""backbone""],function(t,e){return e.Collection.extend({initialize:function(){this.on(""change:visible"",this.onVisibleChange)},onVisibleChange:function(t){this.each(function(e){e!==t&&e.get(""visible"")&&e.set(""visible"",!1)})}})}),define(""view/common/page_base_view"",[""jquery"",""underscore"",""backbone"",""config"",""TweenMax"",""model/app_model"",""view/common/base_view"",""view/common/communicator"",""view/modules/page/component_grid"",""view/modules/page/component_grid"",""view/modules/page/section"",""view/modules/page/scroll"",""util/anim_frame"",""model/resize_model"",""model/scroll_model"",""collection/pages/section_collection""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m){""use strict"";return o.extend({sectionCollection:null,$page:null,$sections:null,$componentGrids:null,sections:null,components:null,componentGrids:null,scrollView:null,start:0,pollInterval:1500,events:{""click .js-scrollCTA"":""onScrollClick"",""click .js-anchor"":""onAnchorClick""},initialize:function(t){e.bindAll(this,""onAnchorClick"",""onResize"",""onHideComplete""),this.sections=[],this.components=[],this.componentGrids=[],o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this),this.$page=this.$el.find("".js-page__section""),this.$sections=this.$page.children(),this.$componentGrids=this.$("".js-componentGrid""),this.setComponentOrder(),e.invoke(this.components,""render""),this.createSectionViews(),this.createComponentGridView(),this.createScrollView(),this._addEvents()},_addEvents:function(){this.listenTo(p,""resize"",this.onResize),this.listenTo(d,""anim_frame"",this.onTick),this.listenTo(a,a.EVENTS.VIEW.KEYBOARD.UP,this.onPrev),this.listenTo(a,a.EVENTS.VIEW.KEYBOARD.DOWN,this.onNext)},_removeEvents:function(){this.stopListening(p,""resize""),this.stopListening(d,""anim_frame""),this.stopListening(a,a.EVENTS.VIEW.KEYBOARD.UP),this.stopListening(a,a.EVENTS.VIEW.KEYBOARD.DOWN)},pollForResize:function(){(this.current=(new Date).getTime(),this.current-this.start>=this.pollInterval)&&((this.scrollView.hasScrollHeightChanged()||n.TABLET)&&this.onResize(),this.start=this.current)},bind:function(i){var n=this,s=this.$(""[data-comp]""),r=e.uniq(e.map(s,function(e){return t(e).data(""comp"")})),o=e.map(r,function(t){return""view/components/""+t});require(o,function(){var o,a=e.object(r,e.toArray(arguments));e.each(s,function(e){o=t(e).data(""comp"");var i=a[o],s=new i({el:e});n.components.push(s)}),i(null,n)})},setComponentOrder:function(){var t=this.getComponentsByClassname(""js-relatedProjects"");t[0]&&this.$page.append(t[0].el)},createSectionViews:function(){this.sectionCollection=new m,e.each(this.$sections,function(t,e){var i=new h({el:t});this.sectionCollection.add(i.model),this.sections.push(i)},this)},createComponentGridView:function(){this.componentGrids=e.map(this.$componentGrids,function(e,i){var n=t(e).find("".js-componentGrid__inner""),s=this.getComponentsByParent(n);return new l({el:e,views:s})},this)},createScrollView:function(){this.scrollView=new u({el:this.el}),this.onResize(),this.scrollView.render()},getComponentsByParent:function(t){return e.filter(this.components,function(e){return e.$el.parent().is(t)})},getComponentsByClassname:function(t){return e.filter(this.components,function(e){return e.$el.hasClass(t)})},getVisibleSectionIndex:function(){var t=this.sectionCollection.findWhere({visible:!0});return this.sectionCollection.indexOf(t)},onScrollClick:function(){a.trigger(a.EVENTS.VIEW.SCROLL.TO,{targetOffset:p.get(""height""),duration:1.2})},onAnchorClick:function(t){var e=t.currentTarget,i=e.dataset.subsection;a.trigger(a.EVENTS.VIEW.SECTION.ANCHOR,i)},onTick:function(){this.updateComponents(),this.updateComponentGrids(),this.updateSections(),this.pollForResize()},onResize:e.debounce(function(){e.invoke(this.components,""resize""),e.invoke(this.componentGrids,""resize""),e.invoke(this.sections,""resize""),this.scrollView&&this.scrollView.resize(),o.prototype.onResize.call(this)},300),onPrev:function(){var t,e=-120*p.get(""scale"");if(this.last)t=this.sectionCollection.last().get(""topOffset""),a.trigger(a.EVENTS.VIEW.SCROLL.TO,{targetOffset:t+e,duration:.8}),this.last=!1;else{var i=this.getVisibleSectionIndex()-1,n=this.sectionCollection.at(i);n&&(t=0===i?0:e,t+=n.get(""topOffset""),a.trigger(a.EVENTS.VIEW.SCROLL.TO,{targetOffset:t,duration:.8}))}},onNext:function(){var t,e=this.getVisibleSectionIndex()+1;if(this.last=e>this.sectionCollection.length-1,this.last)t=f.pageHeight-p.get(""height""),a.trigger(a.EVENTS.VIEW.SCROLL.TO,{targetOffset:t,duration:.8});else{var i=this.sectionCollection.at(e);i&&(t=i.get(""topOffset"")-50*p.get(""scale""),a.trigger(a.EVENTS.VIEW.SCROLL.TO,{targetOffset:t,duration:.8}))}},updateComponents:function(){for(var t=this.components.length-1;t>=0;t--)this.components[t].tick()},updateComponentGrids:function(){for(var t=this.componentGrids.length-1;t>=0;t--)this.componentGrids[t].tick()},updateSections:function(){for(var t=this.sections.length-1;t>=0;t--)this.sections[t].tick()},hide:function(){s.killTweensOf(this.$el),s.to(this.$el,.5,{alpha:0,ease:""Expo.easeOut"",onComplete:this.onHideComplete})},show:function(){o.prototype.show.call(this)},destroy:function(){e.invoke(this.components,""destroy""),this.components=null,e.invoke(this.componentGrids,""destroy""),this.componentGrids=null,e.invoke(this.sections,""destroy""),this.sections=null,this.sectionCollection=null,this.scrollView.destroy(),this.scrollView=null,this._removeEvents(),o.prototype.destroy.call(this)}})}),define(""model/pages/home_model"",[""backbone""],function(t){return t.Model.extend({defaults:{ready:!1,state:null,featuredPaginationModel:null,displayArchiveNav:!1,collection:null},STATES:{FEATURED:""FEATURED"",ARCHIVED:""ARCHIVED""},initialize:function(){this.set(""collection"",new t.Collection),this.set(""state"",this.STATES.FEATURED)}})}),function(t,e){""use strict"";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var n,s,r,o,a,l=function(t){var e,n=t.split("".""),s=i;for(e=0;e<n.length;e++)s[n[e]]=s=s[n[e]]||{};return s},c=l(""com.greensock""),h=1e-10,u=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},d=function(){},p=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)}}(),f={},m=function(e,n,s,r){this.sc=f[e]?f[e].sc:[],f[e]=this,this.gsClass=null,this.func=s;var o=[];this.check=function(a){for(var c,h,u,d,p,g=n.length,_=g;--g>-1;)(c=f[n[g]]||new m(n[g],[])).gsClass?(o[g]=c.gsClass,_--):a&&c.sc.push(this);if(0===_&&s)for(h=(""com.greensock.""+e).split("".""),u=h.pop(),d=l(h.join("".""))[u]=this.gsClass=s.apply(s,o),r&&(i[u]=d,p=""undefined""!=typeof module&&module.exports,!p&&""function""==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+""/"":"""")+e.split(""."").pop(),[],function(){return d}):""TweenLite""===e&&p&&(module.exports=d)),g=0;g<this.sc.length;g++)this.sc[g].check()},this.check(!0)},g=t._gsDefine=function(t,e,i,n){return new m(t,e,i,n)},_=c._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=i;var v=[0,0,1,1],y=[],w=_(""easing.Ease"",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?v.concat(e):v},!0),T=w.map={},b=w.register=function(t,e,i,n){for(var s,r,o,a,l=e.split("",""),h=l.length,u=(i||""easeIn,easeOut,easeInOut"").split("","");--h>-1;)for(r=l[h],s=n?_(""easing.""+r,null,!0):c.easing[r]||{},o=u.length;--o>-1;)a=u[o],T[r+"".""+a]=T[a+r]=s[a]=t.getRatio?t:t[a]||new t};for(r=w.prototype,r._calcEnd=!1,r.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},n=[""Linear"",""Quad"",""Cubic"",""Quart"",""Quint,Strong""],s=n.length;--s>-1;)r=n[s]+"",Power""+s,b(new w(null,null,1,s),r,""easeOut"",!0),b(new w(null,null,2,s),r,""easeIn""+(0===s?"",easeNone"":"""")),b(new w(null,null,3,s),r,""easeInOut"");T.linear=c.easing.Linear.easeIn,T.swing=c.easing.Quad.easeInOut;var E=_(""events.EventDispatcher"",function(t){this._listeners={},this._eventTarget=t||this});r=E.prototype,r.addEventListener=function(t,e,i,n,s){s=s||0;var r,l,c=this._listeners[t],h=0;for(null==c&&(this._listeners[t]=c=[]),l=c.length;--l>-1;)r=c[l],r.c===e&&r.s===i?c.splice(l,1):0===h&&r.pr<s&&(h=l+1);c.splice(h,0,{c:e,s:i,up:n,pr:s}),this!==o||a||o.wake()},r.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},r.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(e=s.length,i=this._eventTarget;--e>-1;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var S=t.requestAnimationFrame,x=t.cancelAnimationFrame,P=Date.now||function(){return(new Date).getTime()},A=P();for(n=[""ms"",""moz"",""webkit"",""o""],s=n.length;--s>-1&&!S;)S=t[n[s]+""RequestAnimationFrame""],x=t[n[s]+""CancelAnimationFrame""]||t[n[s]+""CancelRequestAnimationFrame""];_(""Ticker"",function(t,e){var i,n,s,r,l,c=this,u=P(),p=!(!1===e||!S)&&""auto"",f=500,m=33,g=function(t){var e,o,a=P()-A;a>f&&(u+=a-m),A+=a,c.time=(A-u)/1e3,e=c.time-l,(!i||e>0||!0===t)&&(c.frame++,l+=e+(e>=r?.004:r-e),o=!0),!0!==t&&(s=n(g)),o&&c.dispatchEvent(""tick"")};E.call(c),c.time=c.frame=0,c.tick=function(){g(!0)},c.lagSmoothing=function(t,e){f=t||1/h,m=Math.min(e,f,0)},c.sleep=function(){null!=s&&(p&&x?x(s):clearTimeout(s),n=d,s=null,c===o&&(a=!1))},c.wake=function(t){null!==s?c.sleep():t?u+=-A+(A=P()):c.frame>10&&(A=P()-f+5),n=0===i?d:p&&S?S:function(t){return setTimeout(t,1e3*(l-c.time)+1|0)},c===o&&(a=!0),g(2)},c.fps=function(t){return arguments.length?(i=t,r=1/(i||60),l=this.time+r,void c.wake()):i},c.useRAF=function(t){return arguments.length?(c.sleep(),p=t,void c.fps(i)):p},c.fps(t),setTimeout(function(){""auto""===p&&c.frame<5&&""hidden""!==document.visibilityState&&c.useRAF(!1)},1500)}),r=c.Ticker.prototype=new c.events.EventDispatcher,r.constructor=c.Ticker;var C=_(""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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,U){a||o.wake();var i=this.vars.useFrames?W:U;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});o=C.ticker=new c.Ticker,r=C.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var L=function(){a&&P()-A>2e3&&o.wake(),setTimeout(L,2e3)};L(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(t,e,i){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&t<i+this.totalDuration()/this._timeScale},r._enabled=function(t,e){return a||o.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(t,e){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)""{self}""===t[e]&&(i[e]=this);return i},r._callback=function(t){var e=this.vars;e[t].apply(e[t+""Scope""]||e.callbackScope||this,e[t+""Params""]||y)},r.eventCallback=function(t,e,i,n){if(""on""===(t||"""").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+""Params""]=p(i)&&-1!==i.join("""").indexOf(""{self}"")?this._swapSelfInParams(i):i,s[t+""Scope""]=n),""onUpdate""===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||o.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,s=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(j.length&&X(),this.render(t,e,!1),j.length&&X())}return this},r.progress=r.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},r.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},r.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,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)},r.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},r.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(a||t||o.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var k=_(""core.SimpleTimeline"",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=k.prototype=new C,r.constructor=k,r.kill()._gc=!1,r._first=r._last=r._recent=null,r._sortChildren=!1,r.add=r.insert=function(t,e,i,n){var s,r;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),s=this._last,this._sortChildren)for(r=t._startTime;s&&s._startTime>r;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},r._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,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},r.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},r.rawTime=function(){return a||o.wake(),this._totalTime};var O=_(""TweenLite"",function(e,i,n){if(C.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 s,r,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?G[O.defaultOverwrite]:""number""==typeof l?l>>0:G[l],(a||e instanceof Array||e.push&&p(e))&&""number""!=typeof e[0])for(this._targets=o=u(e),this._propLookup=[],this._siblings=[],s=0;s<o.length;s++)r=o[s],r?""string""!=typeof r?r.length&&r!==t&&r[0]&&(r[0]===t||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(s--,1),this._targets=o=o.concat(u(r))):(this._siblings[s]=K(r,this,!1),1===l&&this._siblings[s].length>1&&Q(r,this,null,1,this._siblings[s])):""string""==typeof(r=o[s--]=O.selector(r))&&o.splice(s+1,1):o.splice(s--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&Q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-h,this.render(-this._delay))},!0),I=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},R=function(t,e){var i,n={};for(i in t)q[i]||i in e&&""transform""!==i&&""x""!==i&&""y""!==i&&""width""!==i&&""height""!==i&&""className""!==i&&""border""!==i||!(!F[i]||F[i]&&F[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};r=O.prototype=new C,r.constructor=O,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,O.version=""1.18.2"",O.defaultEase=r._ease=new w(null,null,1,1),O.defaultOverwrite=""auto"",O.ticker=o,O.autoSleep=120,O.lagSmoothing=function(t,e){o.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 j=[],M={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,D=function(t){for(var e,i=this._firstPT;i;)e=i.blob?t?this.join(""""):this.start:i.c*t+i.s,i.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},V=function(t,e,i,n){var s,r,o,a,l,c,h,u=[t,e],d=0,p="""",f=0;for(u.start=t,i&&(i(u),t=u[0],e=u[1]),u.length=0,s=t.match(N)||[],r=e.match(N)||[],n&&(n._next=null,n.blob=1,u._firstPT=n),l=r.length,a=0;l>a;a++)h=r[a],c=e.substr(d,e.indexOf(h,d)-d),p+=c||!a?c:"","",d+=c.length,f?f=(f+1)%5:""rgba(""===c.substr(-5)&&(f=1),h===s[a]||s.length<=a?p+=h:(p&&(u.push(p),p=""""),o=parseFloat(s[a]),u.push(o),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:o,c:(""=""===h.charAt(1)?parseInt(h.charAt(0)+""1"",10)*parseFloat(h.substr(2)):parseFloat(h)-o)||0,f:0,r:f&&4>f}),d+=h.length;return p+=e.substr(d),p&&u.push(p),u.setRatio=D,u},$=function(t,e,i,n,s,r,o,a){var l,c,h=""get""===i?t[e]:i,u=typeof t[e],d=""string""==typeof n&&""=""===n.charAt(1),p={t:t,p:e,s:h,f:""function""===u,pg:0,n:s||e,r:r,pr:0,c:d?parseInt(n.charAt(0)+""1"",10)*parseFloat(n.substr(2)):parseFloat(n)-h||0};return""number""!==u&&(""function""===u&&""get""===i&&(c=e.indexOf(""set"")||""function""!=typeof t[""get""+e.substr(3)]?e:""get""+e.substr(3),p.s=h=o?t[c](o):t[c]()),""string""==typeof h&&(o||isNaN(h))?(p.fp=o,l=V(h,n,a||O.defaultStringFilter,p),p={t:l,p:""setRatio"",s:0,c:1,f:2,pg:0,n:s||e,pr:0}):d||(p.s=parseFloat(h),p.c=parseFloat(n)-p.s||0)),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p):void 0},H=O._internals={isArray:p,isSelector:I,lazyTweens:j,blobDif:V},F=O._plugins={},B=H.tweenLookup={},z=0,q=H.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,onOverwrite:1,callbackScope:1,stringFilter:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},W=C._rootFramesTimeline=new k,U=C._rootTimeline=new k,Y=30,X=H.lazyRender=function(){var t,e=j.length;for(M={};--e>-1;)(t=j[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);j.length=0};U._startTime=o.time,W._startTime=o.frame,U._active=W._active=!0,setTimeout(X,1),C._updateRoot=O.render=function(){var t,e,i;if(j.length&&X(),U.render((o.time-U._startTime)*U._timeScale,!1,!1),W.render((o.frame-W._startTime)*W._timeScale,!1,!1),j.length&&X(),o.frame>=Y){Y=o.frame+(parseInt(O.autoSleep,10)||120);for(i in B){for(e=B[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete B[i]}if((!(i=U._first)||i._paused)&&O.autoSleep&&!W._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener(""tick"",C._updateRoot);var K=function(t,e,i){var n,s,r=t._gsTweenID;if(B[r||(t._gsTweenID=r=""t""+z++)]||(B[r]={target:t,tweens:[]}),e&&(n=B[r].tweens,n[s=n.length]=e,i))for(;--s>-1;)n[s]===e&&n.splice(s,1);return B[r].tweens},J=function(t,e,i,n){var s,r,o=t.vars.onOverwrite;return o&&(s=o(t,e,i,n)),o=O.onOverwrite,o&&(r=o(t,e,i,n)),!1!==s&&!1!==r},Q=function(t,e,i,n,s){var r,o,a,l;if(1===n||n>=4){for(l=s.length,r=0;l>r;r++)if((a=s[r])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===n)break;return o}var c,u=e._startTime+h,d=[],p=0,f=0===e._duration;for(r=s.length;--r>-1;)(a=s[r])===e||a._gc||a._paused||(a._timeline!==e._timeline?(c=c||Z(e,0,f),0===Z(a,c,f)&&(d[p++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((f||!a._initted)&&u-a._startTime<=2e-10||(d[p++]=a)));for(r=p;--r>-1;)if(a=d[r],2===n&&a._kill(i,t,e)&&(o=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!J(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},Z=function(t,e,i){for(var n=t._timeline,s=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return r/=s,r>e?r-e:i&&r===e||!t._initted&&2*h>r-e?h:(r+=t.totalDuration()/t._timeScale/s)>e+h?0:r-e-h};r._init=function(){var t,e,i,n,s,r=this.vars,o=this._overwrittenProps,a=this._duration,l=!!r.immediateRender,c=r.ease;if(r.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={};for(n in r.startAt)s[n]=r.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=l&&!1!==r.lazy,s.startAt=s.delay=null,this._startAt=O.to(this.target,0,s),l)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(r.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(n in r)q[n]&&""autoCSS""!==n||(i[n]=r[n]);if(i.overwrite=0,i.data=""isFromStart"",i.lazy=l&&!1!==r.lazy,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),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof w?c:""function""==typeof c?new w(c,r.easeParams):T[c]||O.defaultEase:O.defaultEase,r.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,r.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)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},r._initProps=function(e,i,n,s){var r,o,a,l,c,h;if(null==e)return!1;M[e._gsTweenID]&&X(),this.vars.css||e.style&&e!==t&&e.nodeType&&F.css&&!1!==this.vars.autoCSS&&R(this.vars,e);for(r in this.vars)if(h=this.vars[r],q[r])h&&(h instanceof Array||h.push&&p(h))&&-1!==h.join("""").indexOf(""{self}"")&&(this.vars[r]=h=this._swapSelfInParams(h,this));else if(F[r]&&(l=new F[r])._onInitTween(e,this.vars[r],this)){for(this._firstPT=c={_next:this._firstPT,t:l,p:""setRatio"",s:0,c:1,f:1,n:r,pg:1,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),c._next&&(c._next._prev=c)}else i[r]=$.call(this,e,r,""get"",h,r,0,null,this.vars.stringFilter);return s&&this._kill(s,e)?this._initProps(e,i,n,s):this._overwrite>1&&this._firstPT&&n.length>1&&Q(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(M[e._gsTweenID]=!0),a)},r.render=function(t,e,i){var n,s,r,o,a=this._time,l=this._duration,c=this._rawPrevTime;if(t>=l-1e-7)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s=""onComplete"",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>c||0>=t&&t>=-1e-7||c===h&&""isPause""!==this.data)&&c!==t&&(i=!0,c>h&&(s=""onReverseComplete"")),this._rawPrevTime=o=!e||t||c===t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&c>0)&&(s=""onReverseComplete"",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(c!==h||""isPause""!==this.data)&&(i=!0),this._rawPrevTime=o=!e||t||c===t?t:h)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,d=this._easeType,p=this._easePower;(1===d||3===d&&u>=.5)&&(u=1-u),3===d&&(u*=2),1===p?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),this.ratio=1===d?1-u:2===d?u:.5>t/l?u/2:1-u/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&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=c,j.push(this),void(this._lazy=[t,e]);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(!1!==this._lazy&&(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):s||(s=""_dummyGS"")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback(""onStart""))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==a||n)&&this._callback(""onUpdate"")),s&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===l&&this._rawPrevTime===h&&o!==h&&(this._rawPrevTime=0))}},r._kill=function(t,e,i){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 n,s,r,o,a,l,c,h,u,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((p(e)||I(e))&&""number""!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:""all"";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:""all""}if(a){if(c=t||a,h=t!==s&&""all""!==s&&t!==a&&(""object""!=typeof t||!t._tempKill),i&&(O.onOverwrite||this.vars.onOverwrite)){for(r in c)a[r]&&(u||(u=[]),u.push(r));if((u||!t)&&!J(this,i,e,u))return!1}for(r in c)(o=a[r])&&(d&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(c)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[r]),h&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},r.invalidate=function(){return this._notifyPluginsOfEnabled&&O._onPluginEvent(""_onDisable"",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-h,this.render(-this._delay)),this},r._enabled=function(t,e){if(a||o.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=K(n[i],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&O._onPluginEvent(t?""_onEnable"":""_onDisable"",this)},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,s){return new O(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,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,s,r;if((p(t)||I(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(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else for(n=K(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),s=n.length;--s>-1;)n[s]._kill(i,t)};var tt=_(""plugins.TweenPlugin"",function(t,e){this._overwriteProps=(t||"""").split("",""),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tt.prototype},!0);if(r=tt.prototype,tt.version=""1.18.0"",tt.API=2,r._firstPT=null,r._addTween=$,r.setRatio=D,r._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},r._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,s,r,o,a=e._firstPT;if(""_onInitAllProps""===t){for(;a;){for(o=a._next,n=s;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:r)?a._prev._next=a:s=a,(a._next=n)?n._prev=a:r=a,a=o}a=e._firstPT=s}for(;a;)a.pg&&""function""==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},tt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tt.API&&(F[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw""illegal plugin definition."";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:""_onInitTween"",set:""setRatio"",kill:""_kill"",round:""_roundProps"",initAll:""_onInitAllProps""},o=_(""plugins.""+i.charAt(0).toUpperCase()+i.substr(1)+""Plugin"",function(){tt.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),a=o.prototype=new tt(i);a.constructor=o,o.API=t.API;for(e in r)""function""==typeof t[e]&&(a[r[e]]=t[e]);return o.version=t.version,tt.activate([o]),o},n=t._gsQueue){for(s=0;s<n.length;s++)n[s]();for(r in f)f[r].func||t.console.log(""GSAP encountered missing dependency: com.greensock.""+r)}a=!1}}(""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window),define(""TweenLite"",function(){});var _gsScope=""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window;!function(t){""use strict"";var e=t.GreenSockGlobals||t,i=function(t){var i,n=t.split("".""),s=e;for(i=0;i<n.length;i++)s[n[i]]=s=s[n[i]]||{};return s}(""com.greensock.utils""),n=function(t){var e=t.nodeType,i="""";if(1===e||9===e||11===e){if(""string""==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=n(t)}else if(3===e||4===e)return t.nodeValue;return i},s=document,r=s.defaultView?s.defaultView.getComputedStyle:function(){},o=/([A-Z])/g,a=function(t,e,i,n){var s;return(i=i||r(t,null))?(t=i.getPropertyValue(e.replace(o,""-$1"").toLowerCase()),s=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,s=i[e]),n?s:parseInt(s,10)||0},l=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},c=function(t){var e,i,n,s=[],r=t.length;for(e=0;r>e;e++)if(i=t[e],l(i))for(n=i.length,n=0;n<i.length;n++)s.push(i[n]);else s.push(i);return s},h="")eefec303079ad17405c"",u=/(?:<br>|<br\/>|<br \/>)/gi,d=s.all&&!s.addEventListener,p=""<div style='position:relative;display:inline-block;""+(d?""*display:inline;*zoom:1;'"":""'""),f=function(t){t=t||"""";var e=-1!==t.indexOf(""++""),i=1;return e&&(t=t.split(""++"").join("""")),function(){return p+(t?"" class='""+t+(e?i++:"""")+""'>"":"">"")}},m=i.SplitText=e.SplitText=function(t,e){if(""string""==typeof t&&(t=m.selector(t)),!t)throw""cannot split a null element."";this.elements=l(t)?c(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},g=function(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)g(t,e,i);else(3===n||4===n)&&(t.nodeValue=t.nodeValue.split(e).join(i))},_=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},v=function(t,e,i,o,l){u.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(u,h));var c,d,p,m,v,y,w,T,b,E,S,x,P,A,C=n(t),L=e.type||e.split||""chars,words,lines"",k=-1!==L.indexOf(""lines"")?[]:null,O=-1!==L.indexOf(""words""),I=-1!==L.indexOf(""chars""),R=""absolute""===e.position||!0===e.absolute,j=R?""­ "":"" "",M=-999,N=r(t),D=a(t,""paddingLeft"",N),V=a(t,""borderBottomWidth"",N)+a(t,""borderTopWidth"",N),$=a(t,""borderLeftWidth"",N)+a(t,""borderRightWidth"",N),H=a(t,""paddingTop"",N)+a(t,""paddingBottom"",N),F=a(t,""paddingLeft"",N)+a(t,""paddingRight"",N),B=a(t,""textAlign"",N,!0),z=t.clientHeight,q=t.clientWidth,G=""</div>"",W=f(e.wordsClass),U=f(e.charsClass),Y=-1!==(e.linesClass||"""").indexOf(""++""),X=e.linesClass,K=-1!==C.indexOf(""<""),J=!0,Q=[],Z=[],tt=[];for(Y&&(X=X.split(""++"").join("""")),K&&(C=C.split(""<"").join(""{{LT}}"")),c=C.length,m=W(),v=0;c>v;v++)if("")""===(w=C.charAt(v))&&C.substr(v,20)===h)m+=(J?G:"""")+""<BR/>"",J=!1,v!==c-20&&C.substr(v+20,20)!==h&&(m+="" ""+W(),J=!0),v+=19;else if("" ""===w&&"" ""!==C.charAt(v-1)&&v!==c-1&&C.substr(v-20,20)!==h){for(m+=J?G:"""",J=!1;"" ""===C.charAt(v+1);)m+=j,v++;("")""!==C.charAt(v+1)||C.substr(v+1,20)!==h)&&(m+=j+W(),J=!0)}else""{""===w&&""{{LT}}""===C.substr(v,6)?(m+=I?U()+""{{LT}}</div>"":""{{LT}}"",v+=5):m+=I&&"" ""!==w?U()+w+""</div>"":w;for(t.innerHTML=m+(J?G:""""),K&&g(t,""{{LT}}"",""<""),y=t.getElementsByTagName(""*""),c=y.length,T=[],v=0;c>v;v++)T[v]=y[v];if(k||R)for(v=0;c>v;v++)b=T[v],((p=b.parentNode===t)||R||I&&!O)&&(E=b.offsetTop,k&&p&&E!==M&&""BR""!==b.nodeName&&(d=[],k.push(d),M=E),R&&(b._x=b.offsetLeft,b._y=E,b._w=b.offsetWidth,b._h=b.offsetHeight),k&&(O!==p&&I||(d.push(b),b._x-=D),p&&v&&(T[v-1]._wordEnd=!0),""BR""===b.nodeName&&b.nextSibling&&""BR""===b.nextSibling.nodeName&&k.push([])));for(v=0;c>v;v++)b=T[v],p=b.parentNode===t,""BR""!==b.nodeName?(R&&(x=b.style,O||p||(b._x+=b.parentNode._x,b._y+=b.parentNode._y),x.left=b._x+""px"",x.top=b._y+""px"",x.position=""absolute"",x.display=""block"",x.width=b._w+1+""px"",x.height=b._h+""px""),O?p&&""""!==b.innerHTML?Z.push(b):I&&Q.push(b):p?(t.removeChild(b),T.splice(v--,1),c--):!p&&I&&(E=!k&&!R&&b.nextSibling,t.appendChild(b),E||t.appendChild(s.createTextNode("" "")),Q.push(b))):k||R?(t.removeChild(b),T.splice(v--,1),c--):O||t.appendChild(b);if(k){for(R&&(S=s.createElement(""div""),t.appendChild(S),P=S.offsetWidth+""px"",E=S.offsetParent===t?0:t.offsetLeft,t.removeChild(S)),x=t.style.cssText,t.style.cssText=""display:none;"";t.firstChild;)t.removeChild(t.firstChild);for(A=!R||!O&&!I,v=0;v<k.length;v++){for(d=k[v],S=s.createElement(""div""),S.style.cssText=""display:block;text-align:""+B+"";position:""+(R?""absolute;"":""relative;""),X&&(S.className=X+(Y?v+1:"""")),tt.push(S),c=d.length,y=0;c>y;y++)""BR""!==d[y].nodeName&&(b=d[y],S.appendChild(b),A&&(b._wordEnd||O)&&S.appendChild(s.createTextNode("" "")),R&&(0===y&&(S.style.top=b._y+""px"",S.style.left=D+E+""px""),b.style.top=""0px"",E&&(b.style.left=b._x-E+""px"")));0===c&&(S.innerHTML="" ""),O||I||(S.innerHTML=n(S).split(String.fromCharCode(160)).join("" "")),R&&(S.style.width=P,S.style.height=b._h+""px""),t.appendChild(S)}t.style.cssText=x}R&&(z>t.clientHeight&&(t.style.height=z-H+""px"",t.clientHeight<z&&(t.style.height=z+V+""px"")),q>t.clientWidth&&(t.style.width=q-F+""px"",t.clientWidth<q&&(t.style.width=q+$+""px""))),_(i,Q),_(o,Z),_(l,tt)},y=m.prototype;y.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e=this.elements.length;--e>-1;)this._originals[e]=this.elements[e].innerHTML,v(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},y.revert=function(){if(!this._originals)throw""revert() call wasn't scoped properly."";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},m.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(m.selector=i,i(e)):""undefined""==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(""#""===e.charAt(0)?e.substr(1):e)},m.version=""0.3.4""}(_gsScope),function(t){""use strict"";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};""function""==typeof define&&define.amd?define(""TweenMaxSplitText"",[""TweenLite""],e):""undefined""!=typeof module&&module.exports&&(module.exports=e())}(),define(""collection/pages/work/project_collection"",[""backbone"",""underscore""],function(t,e){return t.Collection.extend({initialize:function(){}})}),define(""data/work_layout"",[],function(){return{maxNodeHeight:980,minNodeHeight:960,layoutTemplates:[{id:0,templateHeight:5645,nodes:[{x:363,y:436,z:.1},{x:1070,y:0,z:.3},{x:0,y:1405,z:0},{x:982,y:1222,z:.5},{x:386,y:2332,z:.2},{x:1249,y:2328,z:.7},{x:56,y:3674,z:.1},{x:1043,y:3386,z:.3},{x:336,y:4620,z:.25},{x:1124,y:4560,z:0}]},{id:1,templateHeight:5405,nodes:[{x:283,y:66,z:.6},{x:1150,y:0,z:0},{x:0,y:1015,z:.4},{x:966,y:940,z:.1},{x:284,y:1941,z:1},{x:1200,y:2175,z:.6},{x:56,y:3284,z:.3},{x:1044,y:3120,z:.2},{x:338,y:4230,z:.1},{x:1125,y:4329,z:0}]}]}}),define(""model/pages/work_model"",[""backbone"",""collection/pages/work/project_collection"",""data/work_layout"",""model/resize_model"",""jquery""],function(t,e,i,n,s){var r={ALL:""all"",FILM:""film"",CASE_STUDY:""case study""};return t.Model.extend({FILTER:r,defaults:{ready:!1,collection:null,filter:r.ALL,maxVisibleStep:10,maxVisible:10,visibleItemTotal:0,filterMaxItems:0},initialize:function(){this.rand=Math.floor(1e3*Math.random()),this.set(""collection"",new e),this.initLayoutNodes()},initLayoutNodes:function(){var t=0;this.layoutNodes=[];for(var e,n=[0,1,1,1,1,1,1,1,1,1,1,1,1],s=n.length,r=i.layoutTemplates[0],o=r.templateHeight,a=r.nodes,l=(r.nodes.length,0),c=0,h=0,u=0,d=0,p=0,f=0;f<100;f++){for(l=n[f%s],r=i.layoutTemplates[l],o=r.templateHeight,a=r.nodes,p=r.nodes.length,t=0;t<p;t++){Math.floor(t/p),e=a[t],u=e.y+c,h=e.x,d=e.z;var m={x:.1*h,y:.1*u,z:d};this.layoutNodes.push(m)}c+=o}},_isOdd:function(t){return t%2},loadMore:function(){this.setMaxVisible(this.get(""maxVisible"")+this.get(""maxVisibleStep""))},doShowLoadMore:function(){return this.get(""filterMaxItems"")>this.get(""maxVisible"")},setMaxVisible:function(t){this.set(""maxVisible"",t),this.filterByType()},filterByType:function(t){t=t||this.get(""filter""),this.get(""filter"")!==t&&this.set(""maxVisible"",this.get(""maxVisibleStep""));for(var e=this.get(""collection""),i=0,n=0,s=this.get(""maxVisible""),r=0,o=e.length;r<o;r++){var a=e.at(r),l=a.get(""workType""),c=t===this.FILTER.ALL||t===l,h=n<s;c&&i++,h&&c?(a.set(""layoutNode"",this.getLayoutNode(n)),a.set(""visibleIndex"",n),n++):(a.set(""layoutNode"",this.getLayoutNode(-1)),a.set(""visibleIndex"",-1))}this.set(""visibleItemTotal"",n),this.set(""filterMaxItems"",i),this.set(""filter"",t)},getByType:function(t){return this.get(""collection"").filter(function(e){return t===e.get(""workType"")},this)},getGridHeight:function(){var t=this.get(""visibleItemTotal"")-1,e=this.getLayoutNode(t),i=this.getLayoutNode(t-1),n=Math.max(e.y,i.y);return n+=108.9},getOffsetTop:function(){var t=0,e=s("".work__landingContent"");return e&&e.length>0&&(t=e.offset().top+e.outerHeight(),t*=.1,t/=n.get(""scale""),t+=10,t-=43.6),Math.max(t,44.3)},getLayoutNode:function(t){var e={},i=null;if(t<0)e.x=0,e.y=-1e3;else{var n=this.getOffsetTop();i=this.layoutNodes[t],e.x=i.x,e.y=i.y+n,e.z=i.z}return e}})}),define(""view/modules/home/home_landing_item"",[""jquery"",""underscore"",""backbone"",""config"",""events/view_events"",""model/resize_model"",""model/pages/work_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return a.extend({events:{},originIndex:0,transformOrigins:null,initialize:function(t){e.bindAll(this,""onImageLoaded"",""onIndexChange"",""onHideComplete""),this.carouselModel=t.carouselModel,this.carousel_index=t.carousel_index,this.setup(),this.addEvents()},setup:function(){this.bgImgSrc=null,this.$bg=this.$el,this.bgImgSrc=this.getDataByDevice(this.$bg,""img-src""),this.transformOrigins=[""50% 50%""],c.set(this.el,{alpha:0,force3D:!0}),this.loadImage(this.bgImgSrc)},addEvents:function(){this.carouselModel.on(""change:index"",this.onIndexChange)},removeEvents:function(){this.carouselModel.off(""change:index"",this.onIndexChange)},onIndexChange:function(){this[this.carouselModel.get(""index"")===this.carousel_index?""show"":""hide""]()},onImageLoaded:function(){this.$bg.css(""background-image"",""url(""+this.img.src+"")""),this.imgLoaded=!0,this.onIndexChange()},onHideComplete:function(){c.set(this.el,{scale:1.05}),this.originIndex=e.random(0,this.transformOrigins.length-1)},show:function(){if(n.TABLET)c.set(this.el,{alpha:1,force3D:!0});else{if(!this.imgLoaded)return;var t=this.transformOrigins[this.originIndex];c.to(this.el,3,{alpha:1,force3D:!0}),c.to(this.el,8,{transformOrigin:t})}},hide:function(){c.to(this.el,3,{alpha:0,force3D:!0,onComplete:this.onHideComplete})},render:function(){},destroy:function(){this.removeEvents(),a.prototype.destroy.call(this)}})}),define(""view/modules/home/home_landing"",[""jquery"",""underscore"",""backbone"",""config"",""events/view_events"",""model/resize_model"",""model/pages/work_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""view/modules/home/home_landing_item""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return a.extend({initialize:function(t){e.bindAll(this,""tickCarousel""),this.setup(),this.addEvents(),this.animateIn()},setup:function(){this.views=[],this.$content=this.$("".js-content""),this.setupBgItems()},setupBgItems:function(){this.$bg=this.$("".js-landingBg"");var t=this.carouselModel=new i.Model;if(this.carouselModel.set(""index"",0),n.TABLET)this.views.push(new h({el:this.$bg[0],carousel_index:0,carouselModel:t}));else{for(var e=0,s=this.$bg.length;e<s;e++)this.views.push(new h({el:this.$bg[e],carousel_index:e,carouselModel:t}));this.tickCarousel()}},addEvents:function(){},removeEvents:function(){c.killDelayedCallsTo(this.tickCarousel)},tickCarousel:function(){var t=this.carouselModel.get(""index"");++t>=this.$bg.length&&(t=0),this.carouselModel.set(""index"",t),c.killDelayedCallsTo(this.tickCarousel),c.delayedCall(8,this.tickCarousel)},animateIn:function(){c.to(this.$content,2,{y:0,alpha:1,delay:.5,ease:""Expo.easeOut"",force3D:!0})},show:function(){c.to(this.$el,1,{autoAlpha:1,force3D:!0})},hide:function(){c.to(this.$el,.5,{autoAlpha:0,force3D:!0})},render:function(){},destroy:function(){e.invoke(this.views,""destroy""),this.removeEvents(),a.prototype.destroy.call(this)}})}),define(""controller/pages/home_controller"",[""underscore"",""jquery"",""backbone"",""route/router"",""model/app_model"",""model/pages/home_model"",""view/common/communicator"",""console""],function(t,e,i,n,s,r,o,a){var l=function(){this.initialize()};return t.extend(l.prototype,i.Events),t.extend(l.prototype,{model:null,communicator:null,featuredPaginationModel:null,initialize:function(){this.model=new r,this.collection=this.model.get(""collection""),this.addEvents()},addEvents:function(){this.listenTo(o,o.EVENTS.VIEW.PAGES.HOME.DOM_PARSED,this.onDomParsed)},removeEvents:function(){this.stopListening(o,o.EVENTS.VIEW.PAGES.HOME.DOM_PARSED),this.stopListening(this.featuredPaginationModel,""change:pagination"")},onDomParsed:function(t){this.collection.add(t);var e=this.getFeaturedModel();this.featuredPaginationModel=e.get(""paginationModel""),this.listenTo(this.featuredPaginationModel,""change:pagination"",this.onFeaturedPaginationChange),this.model.set(""ready"",!0)},onFeaturedPaginationChange:function(t,e){this.model.set(""displayArchiveNav"",!e)},getFeaturedModel:function(){return this.collection.find(function(t){return!t.get(""isArchive"")})}}),l}),define(""view/components/main/home_grid/component_grid_model_home"",[""backbone"",""underscore"",""model/resize_model"",""constants/modules/component_grid"",""constants/components"",""data/modules/component_grid_data""],function(t,e,i,n,s,r){return t.Model.extend({defaults:{collection:null,ready:!1,isArchive:!1},baseCellSize:1,cellSize:0,cellPos:null,grid:null,columnTotal:52,lowestImageContentTileWidth:null,index:0,rowRemain:0,rowViews:null,endOfRow:!1,align:""left"",readPosition:0,bottomMostTile:0,initialize:function(){this.setup()},setup:function(){this.set(""collection"",new t.Collection),this.setupImageContent(),this.cellSize=i.get(""scale"")*this.baseCellSize*10,this.rowViews=[],this.grid=[],this.cellPos={x:0,y:0}},setupImageContent:function(){this.imageContentTypes=e.sortBy(e.filter(r.data,function(t){return t.type===s.TYPE.IMAGE_CONTENT_TILE}),function(t){return t.cell.soft.width}).reverse(),this.lowestImageContentTileWidth=this.imageContentTypes[this.imageContentTypes.length-1].cell.soft.width}})}),define(""view/components/main/home_grid/layout_controller_home"",[""underscore"",""jquery"",""backbone"",""view/common/communicator"",""constants/modules/component_grid"",""constants/components"",""TweenMax"",""console""],function(t,e,i,n,s,r,o,a){""use strict"";var l=function(t){this.initialize(t)};return t.extend(l.prototype,i.Events),t.extend(l.prototype,{model:null,collection:null,communicator:null,bodyRemToPixelsAt1200:6.24479,prevTile:{size:""""},initialize:function(t){this.setup(t)},setup:function(t){this.model=t.model,this.model.rowsCreated=0,this.collection=t.collection,this.communicator=t.communicator},start:function(){for(;this.model.index<this.collection.length;)this.updateLayout()},updateLayout:function(){this.addTile()},addTile:function(){var t=this.collection.at(this.model.index);this.addContentTile(t)},addContentTile:function(t){var e,i=Math.ceil(t.get(""height"")/this.model.cellSize);e=i,t.attributes.cell.soft.height=e,t.attributes.cell.hard.height=e,t.attributes.cell.x=this.model.cellPos.x,t.attributes.cell.y=this.model.cellPos.y,this.updateTileCells(t),this.onTileAdded(t)},onTileAdded:function(t){this.addTileToRefGrid(t,this.model.cellPos),this.model.rowViews.push({index:this.model.index,model:t}),this.model.index++,this.isEndOfRow()&&(this.layoutRow(),this.model.endOfRow=!1),this.model.index===this.collection.length&&(this.layoutRow(),this.onTilesComplete())},isEndOfRow:function(){return this.model.index%2==0},onTilesComplete:function(){this.model.set(""ready"",!0),this.setHeightScales()},setHeightScales:function(){var e=t.max(this.collection.map(function(t){return t.attributes.cell.y+t.attributes.cell.soft.height},this));this.collection.each(function(t){var i=+(t.attributes.cell.y/e).toFixed(1);t.set(""heightScale"",i)},this)},setAttributes:function(i,n){var s=e.extend(!0,{},n);t.each(s,function(t,e){i.set(e,t)})},checkAvailability:function(t,e){return!0},checkCell:function(t,e,i){return i.type===s.CELL.TYPE.SOFT},firstRow:!0,layoutRow:function(){this.removeTilesFromRefGrid(),this.rebuildRefGrid(),this.updateTilePositions(),this.updateReadPosition(),this.addTilesToRefGrid(),0===this.model.index||this.model.rowsCreated++,this.firstRow=!1,this.model.rowViews=[],this.model.align=""left""===this.model.align?""right"":""left""},firstRowLayoutRule:function(){},updateTilePositions:function(){var t;if(""left""===this.model.align)for(t=0;t<this.model.rowViews.length;t++)this.updateTile(t);else for(t=this.model.rowViews.length-1;t>=0;t--)this.updateTile(t)},updateTile:function(t){var e=this.model.rowViews[t].model,i=this.model.rowViews[t+1]?this.model.rowViews[t+1].model:null,n=this.model.rowViews[t-1]?this.model.rowViews[t-1].model:null;switch(this.setTileAlignment(e,t),this.setContentLayout(e,n,i,2,t),this.updateTileCells(e),e.attributes.type){case r.TYPE.SIMPLE_CONTENT_TILE:}},setTileAlignment:function(t,e){t.align=e%2==0?""left"":""right""},setContentLayout:function(t,e,i,n,s){var r=5,o=this.model.rowsCreated||0,a=96*o,l=t.get(""template""),c=e?e.get(""template""):null;t.rowType=o%2==1?""row__even"":""row__odd"",t.colType=""right""===t.align?""col__even"":""col__odd"",""row__even""===t.rowType&&(r=10);var h=r;if(t.zIndex=1e5-2*o,""SMALL""===l&&(t.zIndex+=1),""left""===t.align){switch(l){case""LARGE"":h=0}t.attributes.cell.x=h,t.attributes.cell.y=a}else if(""right""===t.align){switch(a+=11,c){case""SMALL"":switch(l){case""SMALL"":h=85;break;case""LARGE"":h=(t.rowType,70)}break;case""LARGE"":switch(l){case""SMALL"":h=100,""row__even""===t.rowType&&(h=110);break;case""LARGE"":t.zIndex+=1,h=70}}t.attributes.cell.x=h,t.attributes.cell.y=a}},removeTilesFromRefGrid:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model;this.removeTileFromRefGrid(e)}},rebuildRefGrid:function(){for(var t=0;t<this.model.index-this.model.rowViews.length;t++){var e=this.collection.at(t);this.addTileToRefGrid(e,e.attributes.cell)}},updateReadPosition:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model,i=e.attributes.cell.hard.height+e.attributes.cell.hard.absolute.y;i>this.model.readPosition&&(this.model.readPosition=i),e.attributes.cell.y,e.attributes.cell.soft.height,this.model.bottomMostTile}},addTilesToRefGrid:function(){for(var t=0;t<this.model.rowViews.length;t++){var e=this.model.rowViews[t].model;this.addTileToRefGrid(e,e.attributes.cell)}},getHeightDiff:function(){return Math.abs(this.model.rowViews[0].model.attributes.cell.soft.height-this.model.rowViews[1].model.attributes.cell.soft.height)},checkHasCellRow:function(t){this.model.grid.length-1<t&&(this.model.grid[t]=this.getRefGridRow())},getRefGridRow:function(){for(var t=[],e=0;e<this.model.columnTotal;e++){var i=this.detectMargin(e);t.push({type:i?s.CELL.TYPE.MARGIN:s.CELL.TYPE.SOFT,componentType:null})}return t},addTileToRefGrid:function(t,e){for(var i,n,s=0;s<t.attributes.cell.soft.height;s++){n=e.y+s,this.checkHasCellRow(n);for(var r=0;r<t.attributes.cell.soft.width;r++)i=e.x+r,this.model.grid[n][i]={tileId:t.attributes.tileId,type:this.getCellType(i,n,t),componentType:t.attributes.type}}},removeTileFromRefGrid:function(t){for(var e,i,n=0;n<t.attributes.cell.soft.height;n++){i=t.attributes.cell.y+n;for(var r=0;r<t.attributes.cell.soft.width;r++)if(e=t.attributes.cell.x+r,t.attributes.tileId===this.model.grid[i][e].tileId){var o=this.detectMargin(e);this.model.grid[i][e]={type:o?s.CELL.TYPE.MARGIN:s.CELL.TYPE.SOFT,componentType:null}}}},detectMargin:function(t){return t<2||t>this.model.columnTotal-3},getCellType:function(t,e,i){return this.detectMargin(t)?s.CELL.TYPE.MARGIN:t>=i.attributes.cell.hard.absolute.x&&t<i.attributes.cell.hard.absolute.x+i.attributes.cell.hard.width&&e>=i.attributes.cell.hard.absolute.y&&e<i.attributes.cell.hard.absolute.y+i.attributes.cell.hard.height?s.CELL.TYPE.HARD:s.CELL.TYPE.SOFT},updateTileCells:function(t){t.attributes.cell.hard.x=t.attributes.cell.hard.left,t.attributes.cell.hard.y=Math.round((t.attributes.cell.soft.height-t.attributes.cell.hard.height)/2),t.attributes.cell.hard.absolute.x=t.attributes.cell.x,t.attributes.cell.hard.absolute.y=t.attributes.cell.y;for(var e=0;e<t.attributes.cell.soft.height;e++){t.attributes.grid.length-1<e&&(t.attributes.grid[e]=this.getSoftArray(t.attributes.cell.soft.width));for(var i=0;i<t.attributes.cell.soft.width;i++){if(t.attributes.grid[e]){var n;n=i>=t.attributes.cell.hard.x&&i<t.attributes.cell.hard.x+t.attributes.cell.hard.width&&e>=t.attributes.cell.hard.y&&e<t.attributes.cell.hard.y+t.attributes.cell.hard.height?s.CELL.TYPE.HARD:s.CELL.TYPE.SOFT,t.attributes.grid[e][i]={type:n}}}}},getSoftArray:function(t){for(var e=[],i=0;i<t;i++)e.push({type:s.CELL.TYPE.SOFT});return e},destroy:function(){this.collection=null,this.communicator=null,this.model.destroy(),this.model=null}}),l}),define(""view/components/main/home_grid/component_grid_controller_home"",[""underscore"",""jquery"",""backbone"",""config"",""view/common/communicator"",""./component_grid_model_home"",""model/modules/pagination_model"",""controller/modules/pagination_controller"",""./layout_controller_home""],function(t,e,i,n,s,r,o,a,l){""use strict"";var c=function(){this.initialize()};return t.extend(c.prototype,i.Events),t.extend(c.prototype,{communicator:null,collection:null,model:null,paginationController:null,layoutController:null,initialize:function(){this.setup(),this.addEvents()},setup:function(){this.model=new r,this.communicator=t.extend({},i.Events),this.collection=this.model.get(""collection""),this.setupPagination(),this.setupLayout()},addEvents:function(){this.listenToOnce(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS,this.onComponentsAdded)},removeEvents:function(){this.stopListening(this.communicator,s.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS)},setupPagination:function(){var t=new o({ITEMS_PER_PAGE:999});this.paginationController=new a({model:t,collection:this.collection,communicator:this.communicator}),this.model.set(""paginationModel"",t)},setupLayout:function(){this.layoutController=new l({model:this.model,collection:this.collection,communicator:this.communicator})},onComponentsAdded:function(t){this.collection.add(t),1===this.collection.length&&(this.model.align=""left""),this.paginationController.start(),this.layoutController.start()},destroy:function(){this.removeEvents(),this.model.destroy(),this.model=null,this.communicator=null,this.collection=null,this.layoutController.destroy(),this.layoutController=null,this.paginationController.destroy(),this.paginationController=null}}),c}),define(""view/components/main/home_grid/component_grid_data_home"",[""jquery"",""underscore"",""constants/modules/component_grid"",""constants/components""],function(t,e,i,n){return{getDataBySize:function(t){var i=e.findWhere(this.data,{size:t});return this.deepClone(i)},getDataByType:function(t){var i=e.findWhere(this.data,{type:t});return this.deepClone(i)},deepClone:function(e){return t.extend(!0,{},e)},data:[{className:null,type:n.TYPE.MEDIA_CONTENT_TILE,size:null,grid:[],cell:{x:0,y:0,soft:{width:18,height:0},hard:{absolute:{x:0,y:0},width:18,height:0,left:0,right:0}}},{className:""simpleContentTile--wide"",type:n.TYPE.SIMPLE_CONTENT_TILE,size:i.TILE.SIZE.SIMPLE_WIDE,grid:[],cell:{x:0,y:0,soft:{width:22,height:0},hard:{absolute:{x:0,y:0},width:22,height:0,left:0,right:0}}},{className:""simpleContentTile--narrow"",type:n.TYPE.SIMPLE_CONTENT_TILE,size:i.TILE.SIZE.SIMPLE_NARROW,grid:[],cell:{x:0,y:0,soft:{width:18,height:0},hard:{absolute:{x:0,y:0},width:18,height:0,left:0,right:0}}},{className:""imageContentTileSquare--narrow"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_SQUARE_NARROW,grid:[],cell:{x:0,y:0,soft:{width:24,height:24},hard:{absolute:{x:0,y:0},width:24,height:0,left:0,right:0}}},{className:""imageContentTileRect--wide"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_RECT_WIDE,grid:[],cell:{x:0,y:0,soft:{width:36,height:26},hard:{absolute:{x:0,y:0},width:32,height:0,left:2,right:2}}},{className:""imageContentTileRect--narrow"",type:n.TYPE.IMAGE_CONTENT_TILE,size:i.TILE.SIZE.IMAGE_RECT_NARROW,grid:[],cell:{x:0,y:0,soft:{width:32,height:24},hard:{absolute:{x:0,y:0},width:28,height:0,left:2,right:2}}}]}}),define(""view/components/main/home_grid/component_grid_home"",[""jquery"",""underscore"",""view/common/base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""model/resize_model"",""./component_grid_controller_home"",""./component_grid_data_home"",""constants/modules/component_grid"",""constants/components"",""TweenMax"",""view/modules/component_grid_load_more_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f){""use strict"";return i.extend({views:null,controller:null,model:null,collection:null,communicator:null,loadMoreBtnView:null,$inner:null,initialize:function(t){this.views=t.views,e.bindAll(this,""render"",""printGrid"",""delayedRender""),this.setup(),this.addEvents()},setup:function(){this.controller=new c,this.model=this.controller.model,this.collection=this.model.get(""collection""),this.communicator=this.controller.communicator,this.paginationModel=this.model.get(""paginationModel""),this.tweenObj={height:0},p.delayedCall(.5,this.delayedRender)},delayedRender:function(){this.render()},render:function(){this.$inner=this.$("".js-componentGrid__inner""),this.parseDOM()},createLoadMoreBtn:function(){this.paginationModel.get(""pagination"")&&(this.loadMoreBtnView=new f({model:this.paginationModel,communicator:this.communicator}),this.$el.append(this.loadMoreBtnView.el))},parseDOM:function(){if(!this.destroyed){var t=e.map(this.views,function(t,e){var i=t.$el,n=t.model;return n.set(""background"",!1),n.set(""grid"",[]),n.set(""tileId"",e),n.set(""template"",i.data().template.toUpperCase()),n},this);this.communicator.trigger(n.EVENTS.VIEW.COMPONENT_GRID.ADD_COMPONENTS,t)}},addEvents:function(){this.listenToOnce(this.model,""change:ready"",this.onReady),this.listenTo(this.paginationModel,""change:pagination"",this.onPaginationChange)},removeEvents:function(){this.stopListening(this.model,""change:ready""),this.stopListening(this.paginationModel,""change:pagination"")},setBackground:function(){e.each(this.views,function(t,e){var i=t.model;i.get(""type"")===d.TYPE.SIMPLE_CONTENT_TILE&&t.$inner.attr(""background"",i.get(""background""))})},layout:function(){e.invoke(this.views,""layout"",this.model.baseCellSize,this.debugging)},setInnerHeight:function(){if(this.$inner){var t=e.max(this.collection.map(function(t){return t.attributes.cell.y+t.attributes.cell.soft.height},this));this.$inner.css({height:t*this.model.baseCellSize+""rem""})}},getPaginationModel:function(){return this.paginationModel},onReady:function(){this.debugging&&(this.debug(),e.invoke(this.views,""debug"")),this.layout(),this.createLoadMoreBtn(),this.setBackground(),p.to(this.$el,1,{opacity:1,ease:""Sine.easeInOut""})},onPaginationChange:function(t){!t.get(""pagination"")&&this.loadMoreBtnView&&(this.loadMoreBtnView.destroy(),this.loadMoreBtnView=null)},tick:function(){},resize:function(){this.setInnerHeight(),this.loadMoreBtnView&&this.loadMoreBtnView.onResize()},destroy:function(){this.destroyed=!0,p.killDelayedCallsTo(this.delayedRender),this.removeEvents(),this.controller.destroy(),this.controller=null,this.model=null,this.collection=null,this.communicator=null,this.loadMoreBtnView&&(this.loadMoreBtnView.destroy(),this.loadMoreBtnView=null),i.prototype.destroy.call(this)},show:function(){this.$el.show()},hide:function(){this.$el.hide()},debugging:!1,debuggingEl:null,greenColor:""#45e949"",redColor:""#e94545"",orangeColor:""#ff6b22"",$debugContainer:null,slowRender:!1,debug:function(){this.$debugContainer=t('<div class=""debug__container"" />'),this.$inner.append(this.$debugContainer),this.$debugContainer.css({position:""absolute"",top:0,left:0}),this.debuggingEl=document.createElement(""div""),this.debuggingEl.style.width=this.model.baseCellSize*l.get(""scale"")+""rem"",this.debuggingEl.style.height=this.model.baseCellSize*l.get(""scale"")+""rem"",this.debuggingEl.style.background=this.greenColor},printGrid:function(){for(var t=0;t<this.model.grid.length;t++){if(this.model.grid[t])for(var e=0;e<this.model.grid[t].length;e++){var i=document.createElement(""div"");i.style.width=this.model.cellSize+""px"",i.style.height=this.model.cellSize+""px"",i.style.position=""absolute"",i.style.top=0,this.$debugContainer.append(i);var n={x:e,y:t};this.printCell(i,n)}}},printCell:function(e,i){var n=this.model.grid[i.y];if(n){var s,r=n[i.x].type;switch(r){case u.CELL.TYPE.HARD:s=this.redColor;break;case u.CELL.TYPE.SOFT:s=this.greenColor;break;case u.CELL.TYPE.MARGIN:s=this.orangeColor}e.style.background=s,e.style.color=""white"";var o;n[i.x].componentType;o=""SCT"";var a=n[i.x].tileId||-1;t(e).html(o+"" - ""+a),p.set(e,{x:i.x*this.model.cellSize,y:i.y*this.model.cellSize})}}})}),define(""view/pages/home"",[""jquery"",""underscore"",""view/common/page_base_view"",""model/pages/home_model"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""model/resize_model"",""TweenMax"",""TweenMaxSplitText"",""view/modules/home/home_landing"",""controller/pages/home_controller"",""console"",""view/components/main/home_grid/component_grid_home""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m){""use strict"";return i.extend({homeLandingview:null,featuredGridView:null,initialize:function(t){i.prototype.initialize.apply(this,arguments),this.setup(),this.addEvents()},bind:function(){i.prototype.bind.apply(this,arguments)}, | |
setup:function(){this.views=[],this.controller=new p,this.model=this.controller.model,this.collection=this.model.get(""collection"")},render:function(){i.prototype.render.call(this),this.$loadmore=this.$("".js-loadmore""),this.$featureList=this.$("".js-featureList""),this.$title=this.$("".js-landingTitle""),this.$description=this.$("".js-landingBreakout""),this.createHomeLandingView(),this.parseDOM(),this.splitTitle()},parseDOM:function(){var t=e.map(this.componentGrids,function(t){return t.$el.data(""in-archive"")?(this.archiveGridView=t,this.archiveGridView.model.set(""isArchive"",!0)):this.featuredGridView=t,t.model},this);s.trigger(s.EVENTS.VIEW.PAGES.HOME.DOM_PARSED,t)},createHomeLandingView:function(){this.homeLandingview=new d({el:this.$("".js-landing"")})},addEvents:function(){this.listenTo(this.model,""change:state"",this.onStateChange),this.listenTo(this.model,""change:ready"",this.onReady)},removeEvents:function(){this.stopListening(this.model,""change:state""),this.stopListening(this.model,""change:ready""),this.stopListening(this.model,""change:displayArchiveNav"")},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new u(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),h.set(this.$titlesInner,{y:""100%"",force3D:!0}),h.set(this.$title,{opacity:1})},onStateChange:function(){this.updateState()},onReady:function(){this.updateState(),s.trigger(s.EVENTS.VIEW.RESIZE)},updateState:function(){this.featuredGridView.show(),this.homeLandingview.show(),h.to(this.$("".js-home""),4,{y:0,opacity:1,force3D:!0})},showFeaturedTiles:function(){},showArchivedTiles:function(){},createComponentGridView:function(){this.componentGrids=e.map(this.$componentGrids,function(e,i){var n=t(e).find("".js-componentGrid__inner""),s=this.getComponentsByParent(n);return new m({el:e,views:s})},this)},show:function(){var t=null===l.get(""prevpage"")?1.5:.3;h.to(this.$titlesInner,.8,{y:""0%"",delay:t,ease:""Expo.easeOut""}),h.to(this.$description,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),h.to(this.$featureList,1.2,{opacity:1,delay:t+.4,ease:""Sine.easeInOut""})},hide:function(){i.prototype.hide.call(this)},destroy:function(){i.prototype.destroy.call(this)}})});var _gsScope=""undefined""!=typeof module&&module.exports&&""undefined""!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){""use strict"";_gsScope._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=!0===this.vars.yoyo,this._dirty=!0},s=1e-10,r=e._internals,o=r.lazyTweens,a=r.lazyRender,l=new i(null,null,1,0),c=n.prototype=new t;return c.constructor=n,c.kill()._gc=!1,n.version=""1.18.2"",c.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,n,s){return this.add(e.delayedCall(0,t,n,s),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var n,s,r,o={ease:l,useFrames:this.usesFrames(),immediateRender:!1};for(s in i)o[s]=i[s];return o.time=this._parseTimeOrLabel(t),n=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,r=new e(this,n,o),o.onStart=function(){r.target.paused(!0),r.vars.time!==r.target.time()&&n===r.duration()&&r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale),i.onStart&&r._callback(""onStart"")},r},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,l,c,h,u,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._time,_=this._totalTime,v=this._startTime,y=this._timeScale,w=this._rawPrevTime,T=this._paused,b=this._cycle;if(t>=f-1e-7)this._locked||(this._totalTime=f,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,c=""onComplete"",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||0>w||w===s)&&w!==t&&this._first&&(h=!0,w>s&&(c=""onReverseComplete""))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=m,t=m+1e-4);else if(1e-7>t)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==g||0===m&&w!==s&&(w>0||0>t&&w>=0)&&!this._locked)&&(c=""onReverseComplete"",r=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=r=!0,c=""onReverseComplete""):w>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:s,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(h=!0)}else if(0===m&&0>w&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=m+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=g)for(n=this._first;n&&n._startTime<=t&&!d;)n._duration||""isPause""!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(d=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!d;)n._duration||""isPause""===n.data&&n._rawPrevTime>0&&(d=n),n=n._prev;d&&(this._time=t=d._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==b&&!this._locked){var E=this._yoyo&&0!=(1&b),S=E===(this._yoyo&&0!=(1&this._cycle)),x=this._totalTime,P=this._cycle,A=this._rawPrevTime,C=this._time;if(this._totalTime=b*m,this._cycle<b?E=!E:this._totalTime+=m,this._time=g,this._rawPrevTime=0===m?w-1e-4:w,this._cycle=b,this._locked=!0,g=E?0:m,this.render(g,e,0===m),e||this._gc||this.vars.onRepeat&&this._callback(""onRepeat""),g!==this._time)return;if(S&&(g=E?m+1e-4:-1e-4,this.render(g,!0,!1)),this._locked=!1,this._paused&&!T)return;this._time=C,this._totalTime=x,this._cycle=P,this._rawPrevTime=A}if(!(this._time!==g&&this._first||i||h||d))return void(_!==this._totalTime&&this._onUpdate&&(e||this._callback(""onUpdate"")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==_&&t>0&&(this._active=!0),0===_&&this.vars.onStart&&0!==this._totalTime&&(e||this._callback(""onStart"")),(p=this._time)>=g)for(n=this._first;n&&(l=n._next,p===this._time&&(!this._paused||T));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(d===n&&this.pause(),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=l;else for(n=this._last;n&&(l=n._prev,p===this._time&&(!this._paused||T));){if(n._active||n._startTime<=g&&!n._paused&&!n._gc){if(d===n){for(d=n._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(t-d._startTime)*d._timeScale:(t-d._startTime)*d._timeScale,e,i),d=d._prev;d=null,this.pause()}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=l}this._onUpdate&&(e||(o.length&&a(),this._callback(""onUpdate""))),c&&(this._locked||this._gc||(v===this._startTime||y!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(r&&(o.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this._callback(c)))},c.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,r=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(n=0;l>n;n++)s=o[n],s.isActive()&&(r[a++]=s);return r},c.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},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},c.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},c.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},c.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},c.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},c.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},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),_gsScope._gsDefine(""TimelineLite"",[""core.Animation"",""core.SimpleTimeline"",""TweenLite""],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,s=this.vars;for(n in s)i=s[n],l(i)&&-1!==i.join("""").indexOf(""{self}"")&&(s[n]=this._swapSelfInParams(i));l(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=1e-10,r=i._internals,o=n._internals={},a=r.isSelector,l=r.isArray,c=r.lazyTweens,h=r.lazyRender,u=_gsScope._gsDefine.globals,d=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]=""function""==typeof s?s.call(e[i],i):s[i%s.length];delete t.cycle},f=o.pauseCallback=function(){},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.18.2"",g.constructor=n,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,n,s){var r=n.repeat&&u.TweenMax||i;return e?this.add(new r(t,e,n),s):this.set(t,n,s)},g.from=function(t,e,n,s){return this.add((n.repeat&&u.TweenMax||i).from(t,e,n),s)},g.fromTo=function(t,e,n,s,r){var o=s.repeat&&u.TweenMax||i;return e?this.add(o.fromTo(t,e,n,s),r):this.set(t,s,r)},g.staggerTo=function(t,e,s,r,o,l,c,h){var u,f,g=new n({onComplete:l,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),_=s.cycle;for(""string""==typeof t&&(t=i.selector(t)||t),t=t||[],a(t)&&(t=m(t)),r=r||0,0>r&&(t=m(t),t.reverse(),r*=-1),f=0;f<t.length;f++)u=d(s),u.startAt&&(u.startAt=d(u.startAt),u.startAt.cycle&&p(u.startAt,t,f)),_&&p(u,t,f),g.to(t[f],e,u,f*r);return this.add(g,o)},g.staggerFrom=function(t,e,i,n,s,r,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,r,o,a)},g.staggerFromTo=function(t,e,i,n,s,r,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,r,o,a,l)},g.call=function(t,e,n,s){return this.add(i.delayedCall(0,t,e,n),s)},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 s,r,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,s=a._first;s;)r=s._next,e&&s instanceof i&&s.target===s.vars.onComplete||o.add(s,s._startTime-s._delay),s=r;return a.add(o,0),o},g.add=function(s,r,o,a){var c,h,u,d,p,f;if(""number""!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,s)),!(s instanceof t)){if(s instanceof Array||s&&s.push&&l(s)){for(o=o||""normal"",a=a||0,c=r,h=s.length,u=0;h>u;u++)l(d=s[u])&&(d=new n({tweens:d})),this.add(d,c),""string""!=typeof d&&""function""!=typeof d&&(""sequence""===o?c=d._startTime+d.totalDuration()/d._timeScale:""start""===o&&(d._startTime-=d.delay())),c+=a;return this._uncache(!0)}if(""string""==typeof s)return this.addLabel(s,r);if(""function""!=typeof s)throw""Cannot add ""+s+"" into the timeline; it is not a tween, timeline, function, or string."";s=i.delayedCall(0,s)}if(e.prototype.add.call(this,s,r),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,f=p.rawTime()>s._startTime;p._timeline;)f&&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){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var n=e.length;--n>-1;)this.remove(e[n]);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,n,s){var r=i.delayedCall(0,f,n,s||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data=""isPause"",this._hasPause=!0,this.add(r,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,s){var r;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&l(s)))for(r=s.length;--r>-1;)s[r]instanceof t&&s[r].timeline===this&&this.remove(s[r]);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(-1===(r=e.indexOf(""="")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+""1"",10)*Number(e.substr(r+1)),e=r>1?this._parseTimeOrLabel(e.substr(0,r-1),0,n):this.duration()}return Number(e)+i},g.seek=function(t,e){return this.totalTime(""number""==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},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,r,o,a,l,u,d,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._startTime,g=this._timeScale,_=this._paused;if(t>=p-1e-7)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,a=""onComplete"",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===s)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>s&&(a=""onReverseComplete""))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=p+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==s&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a=""onReverseComplete"",r=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=r=!0,a=""onReverseComplete""):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(n=this._first;n&&n._startTime<=t&&!u;)n._duration||""isPause""!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(u=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!u;)n._duration||""isPause""===n.data&&n._rawPrevTime>0&&(u=n),n=n._prev;u&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||l||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback(""onStart"")),(d=this._time)>=f)for(n=this._first;n&&(o=n._next,d===this._time&&(!this._paused||_));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(u===n&&this.pause(),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,d===this._time&&(!this._paused||_));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(u===n){for(u=n._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}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||(c.length&&h(),this._callback(""onUpdate""))),a&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(r&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},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,s){s=s||-9999999999;for(var r=[],o=this._first,a=0;o;)o._startTime<s||(o instanceof i?!1!==e&&(r[a++]=o):(!1!==n&&(r[a++]=o),!1!==t&&(r=r.concat(o.getChildren(!0,e,n)),a=r.length))),o=o._next;return r},g.getTweensOf=function(t,e){var n,s,r=this._gc,o=[],a=0;for(r&&this._enabled(!0,!0),n=i.getTweensOf(t),s=n.length;--s>-1;)(n[s].timeline===this||e&&this._contains(n[s]))&&(o[a++]=n[s]);return r&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},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,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[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,s=!1;--n>-1;)i[n]._kill(t,e)&&(s=!0);return s},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!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(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.totalTime=function(e,i,n){this._forcingPlayhead=!0;var s=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},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,s=this._last,r=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>r&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):r=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),r=0),i=s._startTime+s._totalDuration/s._timeScale,i>n&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&""isPause""===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},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)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){""use strict"";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineMax};""function""==typeof define&&define.amd?define(""TimelineMax"",[""TweenLite""],e):""undefined""!=typeof module&&module.exports&&(require(""./TweenLite.js""),module.exports=e())}(),define(""route/nav_options"",[""jquery"",""underscore""],function(t,e){""use strict"";return function(t,e){!1!==e&&(e=!0),!1!==t&&(t=!0),this.triggerRoute=e,this.updateURL=t,this.pageOptions=null}}),define(""view/modules/image_preloader"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""TimelineMax"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({tl:null,isSetup:!1,initialize:function(t){e.bindAll(this,""onHideComplete"",""setupAnimations""),this.setup(),this.addEvents()},setup:function(){var t=u.imagepreloader();this.$el.append(t),this.setElement(t),this.$ring=this.$("".js-nav__ring"")},addEvents:function(){},removeEvents:function(){},setupAnimations:function(){l.set(this.$ring,{drawSVG:""0% 0%""}),this.tl=new h({repeat:-1,paused:!0}),this.tl.add([l.to(this.$ring,Math.random()+1,{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,ease:""Power4.easeOut""}),l.to(this.$ring,1.5,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:1080,opacity:0,ease:""Power2.easeOut""}),l.to(this.$ring,n.FIREFOX?5:0,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0})],0,""sequence"",0),this.isSetup=!0},onHideComplete:function(){this.tl.pause()},show:function(t){this.isSetup||this.setupAnimations(),l.to(this.$ring,n.FIREFOX?.5:0,{opacity:1});var e=t||(n.FIREFOX?.5:0);l.to(this.$el,1,{autoAlpha:1,delay:e,force3D:!0,ease:""Sine.easeOut""}),this.tl&&!n.FIREFOX&&this.tl.restart()},hide:function(t){this.onHideComplete();var e=t||0;l.to(this.$el,1,{autoAlpha:0,delay:e,force3D:!0,ease:""Expo.easeOut"",onComplete:this.onHideComplete})},destroy:function(){this.removeEvents(),this.tl&&(this.tl.kill(),this.tl=null),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/common/page_share_module"",[""jquery"",""underscore"",""backbone"",""config"",""view/common/communicator""],function(t,e,i,n,s){""use strict"";return i.View.extend({events:{""click .js-share-page-facebook"":""onFBShare"",""click .js-share-page-twitter"":""onTwitterShare""},initialize:function(t){},onFBShare:function(){s.trigger(s.EVENTS.SHARE.SITE_FACEBOOK)},onTwitterShare:function(){s.trigger(s.EVENTS.SHARE.SITE_TWITTER)},show:function(){},hide:function(){this.onHideComplete()},destroy:function(){this.stopListening(),this.off()}})}),define(""view/common/default_header_page"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText"",""view/common/page_share_module""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m){""use strict"";return s.extend({initialize:function(t){e.bindAll(this,""onShowComplete""),s.prototype.initialize.apply(this,arguments)},render:function(){s.prototype.render.call(this),this.sharePageModule=new m({el:this.$("".js-share-page"")}),this.$image=this.$("".js-bgInner""),this.$imageWrap=this.$("".js-bg""),this.$title=this.$("".js-landingTitle""),this.$description=this.$("".js-landingBreakout""),this.$landingCopy=this.$("".js-landingCopy""),this.$share=this.$("".js-share-page""),this.$crumbs=this.$("".js-breadcrumbs""),this.$headerWidgets=this.$("".js-header-widget""),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new p,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new f(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),i.set(this.$titlesInner,{y:""100%"",force3D:!0}),i.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),i.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===h.get(""prevpage"")?1.5:.3;e.each(this.$titlesInner,function(e,n){i.to(e,.8,{y:""0%"",delay:t+.1*n,ease:""Expo.easeOut""})}),i.to(this.$crumbs,1,{opacity:1,delay:t+.1,ease:""Sine.easeInOut""}),i.to(this.$description,1,{opacity:1,delay:t+.1,ease:""Sine.easeInOut""}),this.$headerWidgets.length>0&&i.to(this.$headerWidgets,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),i.to(this.$landingCopy,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),i.to(this.$share,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),i.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.4,ease:""Sine.easeInOut"",onComplete:this.onShowComplete})},hide:function(){s.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),this.sharePageModule.destroy(),this.sharePageModule=null,s.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/common/list_nav"",[""jquery"",""underscore"",""TweenMax"",""view/common/communicator"",""backbone"",""view/common/base_view""],function(t,e,i,n,s,r){""use strict"";return r.extend({events:{""click .js-list-next"":""onNextClick"",""click .js-list-prev"":""onPrevClick""},initialize:function(t){r.prototype.initialize.apply(this,arguments),this.offset=0,this.amount=t.amount||20,this.$el.addClass(""force-hidden"")},show:function(){},select:function(t,e){this.page=t,void 0!==e&&e>0&&this.$el.removeClass(""force-hidden""),this.$("".js-numbering"").html(t+""/""+e),t>=e?this.$("".js-list-next"").removeClass(""active""):this.$("".js-list-next"").addClass(""active""),1===t?this.$("".js-list-prev"").removeClass(""active""):this.$("".js-list-prev"").addClass(""active"")},onNextClick:function(){this.$("".js-list-next"").hasClass(""active"")&&this.trigger(""update"",this.page+1)},onPrevClick:function(){this.$("".js-list-prev"").hasClass(""active"")&&this.trigger(""update"",this.page-1)},hide:function(){r.prototype.hide.call(this)},destroy:function(){r.prototype.destroy.call(this)}})}),define(""view/common/list"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/base_view""],function(t,e,i,n,s){""use strict"";return s.extend({initialize:function(t){s.prototype.initialize.apply(this,arguments),this.$el.append(t.html)},show:function(){var t=this.$("".js-list-item"");i.set(t,{alpha:0,y:20}),(new n).staggerTo(t,.75,{alpha:1,y:0},.1)},hide:function(){var t=this.$("".js-list-item"");(new n).staggerTo(t,.1,{alpha:0,y:-20,onComplete:e.bind(this.onHideComplete,this)},.1)},destroy:function(){s.prototype.destroy.call(this)}})}),define(""view/common/list_view"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText"",""view/common/list_nav"",""view/common/list""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g){""use strict"";return s.extend({initialize:function(t){e.bindAll(this,""onListRequestDone"",""onListRequestFail""),s.prototype.initialize.apply(this,arguments)},render:function(){if(this.requestSize=15,this.listType=this.$("".js-page__section"").data().listType,!this.listType)throw new Error(""List view needs to have a type described"");s.prototype.render.call(this),this.scrolledToTop=!0,this.listNav=new m({el:this.$("".js-list-nav""),amount:this.requestSize}),this.listNav.on(""update"",this.onListNavUpdate,this),this.getListItems(1)},getListItems:function(e,i){var n=this;this.scrolledToTop=!1,i?r.trigger(r.EVENTS.VIEW.SCROLL.TO,{targetOffset:0,duration:1.2,onComplete:function(){n.scrolledToTop=!0}}):this.scrolledToTop=!0,t.ajax({url:[location.protocol,""//"",location.host,location.pathname].join(""""),data:{page:e,limit:this.requestSize,partial:!0}}).done(this.onListRequestDone).fail(this.onListRequestFail)},showList:function(t){this.scrolledToTop?this.createNewList(t):r.once(r.EVENTS.VIEW.SCROLL.SCROLL_DONE,function(){this.createNewList(t)},this)},createNewList:function(t){this.currentList?(this.currentList.once(""hideComplete"",e.bind(function(){this.onListHideComplete(t)},this)),this.currentList.hide()):this.onListHideComplete(t)},isValidList:function(t){return t&&-1!==t.indexOf(""js-list-item"")},onListRequestDone:function(t){if(this.isValidList(t.html)&&this.currentPage!==t.page){var e=t.html;this.currentPage=t.page;var i=Math.ceil(t.totalCount/t.limit);this.listNav.select(this.currentPage,i),this.showList(e)}},onListRequestFail:function(){},onListHideComplete:function(t){var e=this.$("".js-list-container"");e.empty(),this.currentList=new g({el:e,html:t}),this.currentList.show()},onListNavUpdate:function(t){this.getListItems(t,!0)},show:function(){this.listNav.select(1),s.prototype.show.call(this)},hide:function(){s.prototype.hide.call(this)},destroy:function(){s.prototype.destroy.call(this)}})}),define(""view/common/list_item_view"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f){""use strict"";return s.extend({initialize:function(t){s.prototype.initialize.apply(this,arguments)},render:function(){s.prototype.render.call(this)},hide:function(){s.prototype.hide.call(this)},destroy:function(){s.prototype.destroy.call(this)}})}),define(""view/common/thumbnail"",[""jquery"",""underscore"",""backbone"",""config"",""view/common/communicator"",""view/modules/image_preloader"",""view/common/page_base_view"",""TweenMax""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){this.$image=this.$("".js-bgInner-thumb""),this.$imageWrap=this.$("".js-bg-thumb""),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""), | |
this.createPreloaderView(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new r,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),a.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},hide:function(){o.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),o.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/films_and_more"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText"",""view/common/thumbnail""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m){""use strict"";return s.extend({initialize:function(t){s.prototype.initialize.apply(this,arguments)},render:function(){s.prototype.render.call(this);var i=this.$("".js-thumb-image"");this.thumbnails=[];var n=this.$("".js-row"");e.each(n,function(e,i){var n=i%2==1?""row__even"":""row__odd"";t(e).addClass(n)},this),e.each(i,function(e,i){var n=(t(e),new m({el:e}));this.thumbnails.push(n)},this)},hide:function(){s.prototype.hide.call(this)},destroy:function(){s.prototype.destroy.call(this)}})}),define(""model/pages/work/project_model"",[""backbone"",""view/common/communicator""],function(t,e){return t.Model.extend({defaults:{layoutNode:null,visibleIndex:-1}})}),define(""controller/pages/work_controller"",[""underscore"",""backbone"",""route/router"",""model/app_model"",""model/loader_collection"",""model/pages/work_model"",""model/pages/work/project_model"",""view/common/communicator"",""console""],function(t,e,i,n,s,r,o,a,l){var c=function(){this.init()};return t.extend(c.prototype,e.Events),t.extend(c.prototype,{communicator:null,init:function(){this.model=new r,this.workCollection=this.model.get(""collection""),this.communicator={},t.extend(this.communicator,e.Events),this.addEvents()},addEvents:function(){this.listenTo(this.communicator,a.EVENTS.VIEW.PAGES.WORK.ADD_PROJECTS,this.onAddProjects),this.listenTo(this.communicator,a.EVENTS.VIEW.PAGES.WORK.SET_FILTER,this.onSetFilter),this.listenTo(this.communicator,a.EVENTS.VIEW.PAGES.WORK.LOAD_MORE,this.onLoadMore)},removeEvents:function(){this.stopListening(this.communicator,a.EVENTS.VIEW.PAGES.WORK.ADD_PROJECTS,this.onAddProjects),this.stopListening(this.communicator,a.EVENTS.VIEW.PAGES.WORK.SET_FILTER,this.onSetFilter),this.stopListening(this.communicator,a.EVENTS.VIEW.PAGES.WORK.LOAD_MORE,this.onLoadMore)},onSetFilter:function(t){this.model.filterByType(t)},onLoadMore:function(){this.model.loadMore()},onAddProjects:function(e){l.log(""work control :: onAddProjects""),t.each(e,function(t){var e=new o;e.set(t),this.workCollection.add(e)},this),this.model.set(""ready"",!0),this.model.filterByType(this.model.FILTER.FILM),this.model.filterByType(this.model.FILTER.ALL)},destroy:function(){this.removeEvents(),this.model.destroy(),this.model=null}}),c}),define(""view/modules/tile_overlay"",[""jquery"",""underscore"",""backbone"",""config"",""TweenMax"",""TweenMaxSplitText"",""route/router"",""model/app_model"",""model/scroll_model"",""view/common/base_view"",""view/common/communicator""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return c.extend({$title:null,initialize:function(t){this.rollOverSecs=t.rollOverSecs||1,e.bindAll(this,""onHideComplete"",""splitTitle""),this.setup(),this.addEvents()},setup:function(){this.$title=this.$("".js-title""),this.$svg=this.$("".js-work__gridItemLink svg""),this.$btn=this.$("".js-work__gridItemLink span""),this.resetAnimation()},addEvents:function(){},removeEvents:function(){this.stopListening()},resetAnimation:function(){this.killTweens(),s.set([this.$btn,this.$svg],{alpha:0}),s.set(this.$svg,{x:""-200%""}),e.each(this.$titlesInner,function(t,e){s.set(t,{y:""100%"",opacity:0})})},activate:function(){e.defer(this.splitTitle)},splitTitle:function(){n.TABLET||(this.splitTitles=e.map(this.$title,function(t){return new r(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),s.set(this.$titlesInner,{y:""100%"",force3D:!0}))},show:function(t){this.$el.css(""pointer-events"",""auto""),this.rollover=!0,this.killTweens();var i=this.rollOverSecs,n=.2*i;e.each(this.$titlesInner,function(t,e){s.to(t,.5*i,{y:""0%"",opacity:1,delay:.1*i*e+n,ease:""Expo.easeOut""})}),s.to(this.$el,1*i,{alpha:1,ease:""Expo.easeOut""}),s.to(this.$svg,.6*i,{x:""0%"",alpha:1,delay:.3*i,ease:""Power4.easeOut""}),s.to(this.$btn,.8*i,{alpha:1,delay:.3*i,ease:""Sine.easeInOut""})},killTweens:function(){e.each(this.$titlesInner,function(t,e){s.killTweensOf(t)}),s.killTweensOf(this.$el),s.killTweensOf(this.$svg),s.killTweensOf(this.$btn)},hide:function(t){this.$el.css(""pointer-events"",""none""),this.rollover=!1,this.killTweens(),s.to(this.$el,.6,{alpha:0,ease:""Expo.easeOut"",onComplete:this.onHideComplete})},onHideComplete:function(){this.resetAnimation()},resize:function(){},destroy:function(){this.removeEvents(),c.prototype.destroy.call(this)}})}),define(""view/modules/work/project"",[""jquery"",""underscore"",""backbone"",""config"",""events/view_events"",""model/scroll_model"",""model/resize_model"",""model/app_model"",""model/pages/work_model"",""view/common/base_view"",""view/common/scroll_base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSplitText"",""util/anim_frame"",""view/modules/tile_overlay"",""view/modules/image_preloader"",""util/resn/math"",""console""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g,_,v){""use strict"";return h.extend({events:{click:""onClick""},parallaxY:0,initialize:function(t){e.bindAll(this,""onRollover"",""onRollout"",""onShowDelay""),this.scrollDeltaMin=100,this.tweenObj={y:0,introY:0,z:0,x:0,scale:1,alpha:0,prev:{y:0,z:0,x:0,scale:1,alpha:0}},h.prototype.initialize.apply(this,arguments),this.projectModel=t.model,this.$inner=this.$("".js-workInner""),this.$overlay=this.$("".js-tileOverlay""),this.$btnCopy=this.$("".js-work__gridItemLink span""),this.$btnArrow=this.$("".js-work__gridItemLink svg""),this.$title=this.$(""h2""),this.index=t.index,this.setup(),this.addEvents(),this.onVisibleIndexChange(),this.onLayoutNodeChange(),n.TABLET&&this.onTabletFlow(),d.set(this.$el,{alpha:1})},onTabletFlow:function(){d.set(this.$overlay,{alpha:1}),d.set(this.$image,{alpha:1})},setHeightScale:function(t,e){var i=+(this.model.get(""topOffset"")/t).toFixed(3),n=_.clamp(i,0,1);this.model.set(""heightScale"",n)},setup:function(){this.$image=this.$("".js-bg""),this.imgSrc=this.getDataByDevice(this.$el,""img-src""),this.createTileOverlayView()},createPreloaderView:function(){this.preloaderView=new g,this.$inner.prepend(this.preloaderView.el)},addEvents:function(){this.listenTo(r,""change:scrolling"",this.onScrolling),this.listenTo(this.model,""change:active"",this.onActiveChange),this.listenTo(this.projectModel,""change:visibleIndex"",this.onVisibleIndexChange),this.listenTo(this.projectModel,""change:layoutNode"",this.onLayoutNodeChange),n.TABLET||(this.$el.on(""mouseenter"",this.onRollover),this.$el.on(""mouseleave"",this.onRollout))},removeEvents:function(){this.stopListening(r,""change:scrolling"",this.onScrolling),this.stopListening(this.model,""change:active"",this.onActiveChange),this.stopListening(this.projectModel,""change:visibleIndex"",this.onVisibleIndexChange),this.stopListening(this.projectModel,""change:layoutNode"",this.onLayoutNodeChange),this.$el.off(""mouseenter""),this.$el.off(""mouseleave"")},createTileOverlayView:function(){this.tileOverlayView=new m({el:this.$("".js-tileOverlay""),rollOverSecs:.65})},reactivate:function(){this.deactivate(),this.setOffsets(),this.onVisibleIndexChange()},onVisibleIndexChange:function(){this.projectModel&&this.checkActive()},loadImageOnce:function(){this.imageLoaded||this.imgLoading||(n.TABLET?this.$image.css(""background-image"",""url(""+this.imgSrc+"")""):(this.createPreloaderView(),this.loadImage(this.imgSrc),this.preloaderView.show()))},onLayoutNodeChange:function(){this.setLayout()},setLayout:function(){this.onVisibleIndexChange();var t=this.el.style;if(!this.projectModel||!this.projectModel.get(""layoutNode""))return t.position=""absolute"",t.top=""-1000px"",t.left=""-1000px"",void this.setOffsets();var e=this.projectModel.get(""layoutNode"");t.position=""absolute"",t.top=e.y+""rem"",t.left=e.x+""rem"",this.setOffsets()},updatePosition:function(){var t=_.map(this.activeScrollRatio,0,1,-1,1);if(t){var e=t*(.3*this.ty)*this.projectModel.attributes.layoutNode.z;this.parallaxY+=_.simpleEasing(e,this.parallaxY,.05)}this.setPosition(this.$inner,this.tweenObj.x,this.tweenObj.y+this.parallaxY)},onImageLoaded:function(){this.imageLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),n.TABLET||d.to(this.$image,1,{alpha:1,force3D:!0}),this.preloaderView.destroy()},onClick:function(t){d.to(this.$btnCopy,.2,{ease:""Power2.easeOut"",opacity:0}),d.to(this.$btnArrow,.3,{ease:""Expo.easeIn"",opacity:0,x:50*o.get(""scale"")}),a.set(""work_page_pos"",this.model.get(""topOffset""))},onRollover:function(t){if(!n.TABLET){this.rollover=!0;Math.abs(r.scrollDelta)<this.scrollDeltaMin&&this.tileOverlayView.show()}},onRollout:function(t){n.TABLET||(this.rollover=!1,this.tileOverlayView.hide())},onScrolling:function(t,e){},isViewable:function(){return-1!==this.projectModel.attributes.visibleIndex},checkActive:function(){this.model.get(""active"")&&this.isViewable()?this.activate():this.deactivate()},onActiveChange:function(t,e){e&&this.isViewable()?this.activate():this.deactivate()},killTweens:function(){d.killTweensOf([this.tweenObj])},getYDist:function(){var t=0===r.get(""direction"")?1:r.get(""direction""),e=(_.clamp(this.model.attributes.heightScale,0,1),1===t?1-this.model.attributes.heightScale:this.model.attributes.heightScale);return t*this.ty*e},getXDist:function(){var t=_.clamp(r.scrollDelta,0,1e3),e=_.map(t,0,800,1,.5),i=""left""===this.model.align?-this.xDist:this.xDist;i*=e;var n=r.get(""direction""),s=1===n?1-this.model.attributes.heightScale:this.model.attributes.heightScale;return(i+i*Math.random())*s},resize:function(){h.prototype.resize.call(this),this.ty=1e3*o.get(""scale"")},activate:function(){this.isActivated||(this.isActivated=!0,this.onActivateDesktop(),this.loadImageOnce())},onActivateDesktop:function(){this.killTweens(),this.$el.append(this.$inner),this.tweenObj.y=this.getYDist(),d.to(this.tweenObj,2,{y:0,ease:""Expo.easeOut""}),this.tileOverlayView.activate()},onActivateTablet:function(){d.set(this.el,{alpha:1,force3D:!0})},deactivate:function(){this.isActivated=!1,this.killTweens(),this.setOffsets(),this.$inner.detach()},checkScrollDelta:function(){var t=Math.abs(r.scrollDelta),e=t<this.scrollDeltaMin;e&&!this.canRoll?(this.rollover&&this.tileOverlayView.show(),this.canRoll=!0):e||(this.canRoll=!1)},tick:function(){this.isViewable()&&this.isReady&&(this.checkScrollDelta(),h.prototype.tick.call(this),this.isActivated&&this.updatePosition())},show:function(t){if(!n.TABLET){var e=t||0;e+=this.index%2*.5,d.killDelayedCallsTo(this.onShowDelay),d.delayedCall(e,this.onShowDelay)}},onShowDelay:function(){d.fromTo(this.$inner,1.5,{opacity:0},{opacity:1,ease:""Quad.easeInOut""}),this.isReady=!0},isReady:!1,hide:function(){d.killDelayedCallsTo(this.onShowDelay),d.to(this.$inner,1,{opacity:0,ease:""Quad.easeInOut""})},destroy:function(){this.projectModel=null,this.preloaderView&&this.preloaderView.destroy(),this.killTweens(),this.removeEvents(),this.$el.remove(),h.prototype.destroy.call(this)}})}),define(""view/modules/load_more_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/scroll_base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates"",""util/anim_frame""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({EVENTS:{LOAD_MORE:""loadMoreClick""},firstView:!0,className:""loadMore"",events:{""click .js-loadMore__inner"":""onClick"",""mouseenter .js-loadMore__inner"":""onMouseEnter"",""mouseleave .js-loadMore__inner"":""onMouseLeave""},initialize:function(t){this.setup(),this.addEvents()},setup:function(){var t=h.loadmore_btn();this.$el.append(t),this.model=new i.Model,this.model.set(""viewable"",!0),this.$circ=this.$("".js-loadMore__circ""),this.$plus=this.$("".js-loadMore__plus""),this.$copy=this.$("".js-loadMore__copy"");var e=this;l.set(e.$plus,{drawSVG:""50% 50%"",opacity:0}),l.set(e.$circ,{drawSVG:""0% 0%""}),this.onViewableChange()},addEvents:function(){n.TABLET||(this.listenTo(this.model,""change:active"",this.onActiveChange),this.listenTo(r,""resize"",this.onResize)),this.listenTo(this.model,""change:viewable"",this.onViewableChange)},removeEvents:function(){this.stopListening(this.model,""change:viewable"",this.onViewableChange),this.stopListening(this.model,""change:active""),this.stopListening(r,""change:resize"")},killTweens:function(){l.killTweensOf([this.el,this.$circ,this.$plus,this.$copy])},onClick:function(){this.trigger(this.EVENTS.LOAD_MORE)},isViewable:function(){return!0===this.model.get(""viewable"")},onViewableChange:function(){!n.TABLET&&!this.model.get(""active"")||!this.isViewable()?this.hide():this.show()},onActiveChange:function(){!n.TABLET&&!this.model.get(""active"")||!this.isViewable()?this.hide():this.show()},onMouseEnter:function(){this.showing&&this.isVisible&&(l.to(this.$plus,.6,{drawSVG:""20% 80%"",strokeWidth:4,delay:.4,ease:""Power4.easeInOut""}),l.fromTo(this.$circ,1.3,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0,opacity:0},{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,strokeWidth:5,opacity:1,scale:1.08,ease:""Power3.easeInOut""}))},onMouseLeave:function(){this.showing&&this.isVisible&&(l.killTweensOf([this.$plus]),l.to(this.$plus,.4,{drawSVG:""0% 100%"",strokeWidth:6,ease:""Expo.easeOut""}),l.to(this.$circ,.4,{strokeWidth:3,scale:1,ease:""Expo.easeOut""}))},onResize:function(){this.resize()},resize:function(){o.prototype.resize.call(this)},setViewable:function(t){this.model.set(""viewable"",t)},show:function(){this.showing||(this.showing=!0,this.isVisible=!1,this.killTweens(),l.to(this.$circ,1.6,{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,strokeWidth:4,ease:""Power2.easeOut""}),l.to(this.$plus,1,{opacity:1,drawSVG:""0% 100%"",delay:.6,ease:""Expo.easeOut""}),l.to(this.$copy,1,{opacity:1,delay:.6,ease:""Sine.easeInOut"",onComplete:e.bind(function(){this.isVisible=!0},this)}),l.to(this.el,0,{autoAlpha:1}))},hide:function(){this.showing&&(this.isVisible=!1,this.showing=!1,this.killTweens(),l.to(this.$circ,1,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0,ease:""Power2.easeOut""}),l.to(this.$plus,.5,{opacity:0,drawSVG:""50% 50%"",delay:.3,ease:""Expo.easeOut""}),l.to(this.$copy,.5,{opacity:0,delay:.3,ease:""Sine.easeInOut""}),l.to(this.el,0,{delay:.8,autoAlpha:0}))},destroy:function(){this.removeEvents(),this.model.destroy(),this.model=null,this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/work/work_filter"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates"",""util/anim_frame"",""console""],function(t,e,i,n,s,r,o,a,l,c,h,u,d){""use strict"";return o.extend({EVENTS:{SET_FILTER:""SET_FILTER""},firstView:!0,className:""work_filter"",workModel:null,$filters:null,events:{""click .js-workFilterType"":""onClickFilter""},initialize:function(t){this.workModel=t.model,this.setup(),this.addEvents()},setup:function(){var t=h.workfilter_nav();this.$el.append(t),this.$filters=this.$("".js-workFilterType""),this.model=new i.Model,this.model.set(""viewable"",!0),this.onFilterChange(),this.detectCaseStudies()},addEvents:function(){this.listenTo(this.workModel,""change:filter"",this.onFilterChange),this.listenTo(r,""resize"",this.onResize),this.listenTo(u,""anim_frame"",this.onTick)},removeEvents:function(){this.stopListening(r,""change:resize""),this.stopListening(u,""anim_frame"")},killTweens:function(){l.killTweensOf([this.el])},setInProductionLink:function(t){var e=this.workModel.get(""production_data_link"");e&&this.$("".js-filter_typeLink"").attr(""href"",e)},detectCaseStudies:function(){0===this.workModel.getByType(this.workModel.FILTER.CASE_STUDY).length&&this.$('[data-filter=""'+this.workModel.FILTER.CASE_STUDY+'""]').remove()},onFilterChange:function(){for(var e=this.workModel.get(""filter""),i=0,n=this.$filters.length;i<n;i++){var s=t(this.$filters[i]),r=s.data(""filter"")===e;s.toggleClass(""selected"",r)}},onClickFilter:function(e){var i=t(e.currentTarget).data(""filter"");""production""!==i&&this.trigger(this.EVENTS.SET_FILTER,i)},isViewable:function(){return!0===this.model.get(""viewable"")},onViewableChange:function(){this.model.get(""active"")&&this.isViewable()?this.show():this.hide()},onActiveChange:function(){this.model.get(""active"")&&this.isViewable()?this.show():this.hide()},onMouseEnter:function(){this.showing},onMouseLeave:function(){this.showing},onResize:function(){this.resize()},onTick:function(){},resize:function(){},setViewable:function(t){this.model.set(""viewable"",t)},show:function(t){var e=t||0;this.killTweens(),l.to(this.$("".js-workFilterNav""),2,{opacity:1,ease:""Sine.easeInOut"",delay:e})},hide:function(t){var e=t||0;this.killTweens(),l.to(this.$("".js-workFilterNav""),2,{opacity:0,delay:e})},destroy:function(){this.removeEvents(),this.killTweens(),this.model.destroy(),this.model=null,this.workModel=null,this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/search_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return r.extend({initialize:function(t){this.setup(),this.addEvents()},setup:function(){this.createSearchIcon(),this.$lens=this.$("".js-lens""),this.$reflect=this.$("".js-reflect""),this.$handle=this.$("".js-handle""),this.resetAnimation()},resetAnimation:function(){a.set(this.$lens,{drawSVG:""0% 0%""}),a.set(this.$reflect,{drawSVG:""0% 0%""}),a.set(this.$handle,{drawSVG:""0% 0%""})},addEvents:function(){},removeEvents:function(){},createSearchIcon:function(){var t=c.svgsearch();this.$el.append(t)},onSearchClick:function(){},show:function(t){var e=t||0;a.to(this.$lens,.6,{drawSVG:""0% 100%"",delay:e}),a.to(this.$reflect,.8,{drawSVG:""0% 100%"",delay:.5+e}),a.to(this.$handle,.6,{drawSVG:""0% 100%"",delay:.6+e})},hide:function(){this.resetAnimation()},resize:function(){},destroy:function(){r.prototype.destroy.call(this)}})}),define(""view/modules/close_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates"",""console""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return r.extend({initialize:function(t){e.bindAll(this,""onClick""),this.setup(),this.addEvents()},setup:function(){this.wrap=this.$("".icon--close__icon""),this.$ring=this.$("".icon--plus__ring""),this.$cross=this.$("".icon--plus__line""),h.log(""this.$ring: "",this.$ring),this.reset()},reset:function(){a.set(this.$cross,{scaleX:1,scaleY:1,alpha:1}),a.set(this.$ring,{scaleX:1,scaleY:1,alpha:1})},addEvents:function(){this.$el.on(""click"",this.onClick)},removeEvents:function(){},onClick:function(t){a.to(this.$ring,.1,{scaleX:.8,scaleY:.8,ease:window.Circ.easeOut}),a.to(this.$ring,.1,{delay:.1,scaleX:1.05,scaleY:1.05,ease:window.Circ.easeInOut}),a.to(this.$ring,.1,{delay:.2,scaleX:1,scaleY:1,ease:window.Circ.easeInOut}),a.to(this.$cross,.2,{delay:.2,scaleX:0,scaleY:0,alpha:0,ease:window.Circ.easeIn}),a.to(this.$ring,.2,{delay:.3,scaleX:0,scaleY:0,alpha:0,ease:window.Circ.easeIn})},show:function(t){this.reset()},hide:function(){this.reset()},resize:function(){},destroy:function(){r.prototype.destroy.call(this)}})}),define(""view/modules/project_list_overlay"",[""jquery"",""underscore"",""backbone"",""model/app_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""view/modules/search_btn"",""templates/templates"",""handlebars"",""console"",""view/modules/close_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return s.extend({events:{""click .js-overlay__closeBtn"":""onCloseClick""},$inputIcon:null,$rootNode:t(""#rootNode""),initialize:function(t){e.bindAll(this,""onHideComplete"",""onShowComplete""),this.setup()},setup:function(){this.$rootNode.append(this.$el),this.closeBtn=new u({el:this.$("".js-overlay__closeBtn"")[0]}),o.set(this.el,{autoAlpha:0})},onCloseClick:function(){this.trigger(""close"")},onShowComplete:function(){},onHideComplete:function(){r.trigger(r.EVENTS.VIEW.SCROLL.UNLOCK),r.trigger(r.EVENTS.VIEW.HEADER.SHOW)},show:function(t){o.killTweensOf(this.$el),this.closeBtn&&this.closeBtn.show(),o.to(this.$el,.8,{autoAlpha:1,ease:""Sine.easeInOut""}),r.trigger(r.EVENTS.VIEW.SCROLL.LOCK),r.trigger(r.EVENTS.VIEW.HEADER.HIDE)},hide:function(){o.killTweensOf(this.$el),o.to(this.$el,1.2,{autoAlpha:0,ease:""Power3.easeInOut"",onComplete:this.onHideComplete})},destroy:function(){r.trigger(r.EVENTS.VIEW.SCROLL.UNLOCK),r.trigger(r.EVENTS.VIEW.HEADER.SHOW),s.prototype.destroy.call(this)}})}),define(""view/pages/films_projects_view"",[""jquery"",""underscore"",""view/common/default_header_page"",""events/sound_events"",""view/common/communicator"",""backbone"",""config"",""controller/pages/work_controller"",""model/loader_collection"",""model/app_model"",""model/resize_model"",""route/router"",""route/nav_options"",""view/modules/work/project"",""view/modules/load_more_btn"",""view/modules/work/work_filter"",""console"",""TweenMax"",""TweenMaxSplitText"",""templates/templates"",""view/modules/project_list_overlay""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g,_,v,y,w){""use strict"";return i.extend({events:{""click .js-list-btn"":""onListButtonClick""},initialize:function(t){e.bindAll(this,""resize"",""triggerGlobalResize""),this.throttleResize=e.throttle(this.resize2,500),i.prototype.initialize.apply(this,arguments),this.setup(),this.addEvents()},setup:function(){this.views=[],this.controller=new a,this.model=this.controller.model,this.collection=this.model.get(""collection""),this.communicator=this.controller.communicator},render:function(){i.prototype.render.call(this),this.$grid=this.$("".js-grid""),this.$pagework=this.$("".js-page-work""),this.$gridItems=this.$("".js-gridItem""),this.$("".js-project-list"").length>0&&(this.projectList=new w({el:this.$("".js-project-list"")}),this.projectList.on(""close"",this.onListExitClick,this)),this.parseDOM()},parseDOM:function(){for(var e=[],i=0,n=this.$gridItems.length;i<n;i++){var r=t(this.$gridItems[i]),o=r.data(""type"")?r.data(""type"").toLowerCase():""no_worktype"";e.push({gallerySrc:this.getDataByDevice(r,""img-src""),visibleIndex:i,layoutNode:this.model.getLayoutNode(i),workType:o})}this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.ADD_PROJECTS,e)},addEvents:function(){this.listenTo(this.model,""change:maxVisible"",this.onChangeMaxVisible),this.listenTo(this.model,""change:filter"",this.onChangeFilter),this.listenToOnce(this.model,""change:ready"",this.onReady)},removeEvents:function(){this.stopListening(this.model,""change:ready"",this.onReady),this.stopListening(this.model,""change:maxVisible"",this.onChangeMaxVisible),this.stopListening(this.model,""change:filter"",this.onChangeFilter)},triggerGlobalResize:function(){this.resize()},checkLoadMoreActive:function(){this.loadMoreBtnView.setViewable(this.model.doShowLoadMore())},createWorkViews:function(){this.views=[],this.scrollItems=[];for(var t=0,e=this.$gridItems.length;t<e;t++){var i=new p({el:this.$gridItems.get(t),index:t,model:this.collection.at(t)});i.render(),this.views.push(i),this.scrollItems.push(i)}},insertAfterNthChild:function(e,i,n){t(n).insertAfter(e.children().eq(i))},createLoadMoreBtn:function(){this.loadMoreBtnView=new f,this.hideShowLoadMoreBtn(),this.$grid.append(this.loadMoreBtnView.el),this.loadMoreBtnView.on(this.loadMoreBtnView.EVENTS.LOAD_MORE,this.onShowMore,this)},hideShowLoadMoreBtn:function(){var t=this.loadMoreBtnView.$el.find("".js-loadMore__inner"");_.set(t,{opacity:0}),_.delayedCall(2,function(){_.set(t,{opacity:1})})},onListButtonClick:function(){this.projectList.show()},onListExitClick:function(){this.projectList.hide()},onTick:function(){for(var t=0,e=this.scrollItems.length;t<e;t++)this.scrollItems[t].tick();this.loadMoreBtnView.tick()},onReady:function(){this.createWorkViews(),this.createLoadMoreBtn(),s.trigger(s.EVENTS.VIEW.RESIZE)},onChangeMaxVisible:function(){this.checkLoadMoreActive(),_.killDelayedCallsTo(this.triggerGlobalResize),_.delayedCall(.2,this.triggerGlobalResize)},onChangeFilter:function(){this.scrollItems&&e.invoke(this.scrollItems,""reactivate""),this.checkLoadMoreActive(),_.killDelayedCallsTo(this.triggerGlobalResize),_.delayedCall(.6,this.triggerGlobalResize)},onSetFilter:function(t){this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.SET_FILTER,t)},onShowMore:function(){this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.LOAD_MORE)},onResize:function(){this.resize()},resize:function(){e.invoke(this.views,""resize""),this.setHeight(),this.loadMoreBtnView&&this.loadMoreBtnView.resize(),i.prototype.onResize.call(this)},setHeight:function(){if(this.$gridItems&&this.$gridItems.length>0){var t=this.model.getGridHeight();t+=this.loadMoreBtnView&&this.loadMoreBtnView.isViewable()?21:5,this.$pagework.css({height:t+""rem""}),this.$grid.css({height:t+""rem""}),this.setHeightScales(t)}},setHeightScales:function(t){var i=t*h.BASE_SIZE.FONT*h.get(""scale"");e.invoke(this.views,""setHeightScale"",i)},show:function(){i.prototype.show.call(this),e.invoke(this.views,""show"",.3),this.checkLoadMoreActive()},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.projectList&&this.projectList.destroy(),e.invoke(this.views,""off""),e.invoke(this.views,""destroy""),this.removeEvents(),this.controller.destroy(),this.communicator=null,this.controller=null,this.model=null,this.collection=null,this.$gridItems=null,this.$el.remove(),i.prototype.destroy.call(this)}})}),define(""view/pages/companies"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""view/pages/person"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){this.$profileBg=this.$("".js-profileBg""),this.imgSrc=this.getDataByDevice(this.$profileBg,""profile-img-src""),this.loadImage(this.imgSrc)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)},onImageLoaded:function(){this.$profileBg.css(""background-image"",""url(""+this.imgSrc+"")"")}})}),define(""view/pages/people"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""util/youtube"",[""underscore"",""jquery""],function(t,e){""use strict"";var i={ready:!1,YT:null,cue:[],onReady:function(){this.YT=window.YT,this.ready=!0,t.each(this.cue,this.parse,this)},parse:function(e,i){if(this.ready){e.getAttribute(""id"")||e.setAttribute(""id"",t.uniqueId(""video_""));var n=e.getAttribute(""id""),s=i;return new this.YT.Player(n,{videoId:s,playerVars:{autoplay:1,rel:0,autohide:1,modestbranding:1,showinfo:0,HTML:1,enablejsapi:1}})}this.cue.push(e)}};return window.onYouTubeIframeAPIReady=t.bind(i.onReady,i),require([""//www.youtube.com/iframe_api""]),i}),define(""view/modules/video_overlay"",[""jquery"",""underscore"",""backbone"",""events/view_events"",""view/common/base_view"",""view/common/communicator"",""templates/templates"",""util/youtube"",""TweenMax"",""view/modules/close_btn""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return s.extend({className:""videoOverlay"",events:{""click .js-overlay__closeBtn"":""onCloseBtnClick""},initialize:function(i){e.bindAll(this,""onHideComplete"",""onShowComplete""),this.id=i.id,this.communicator=i.communicator;var n=o.videooverlay({});this.$el.append(n),this.$rootNode=t(""#rootNode""),this.$videoWrap=this.$("".js-videoEl""),this.closeBtn=new c({el:this.$("".js-overlay__closeBtn"")[0]}),this.addEvents()},addEvents:function(){},removeEvents:function(){},createVideo:function(){this.YTPlayer=a.parse(this.$videoWrap[0],this.id)},onCloseBtnClick:function(){this.communicator.trigger(r.EVENTS.VIEW.VIDEO_OVERLAY.HIDE)},onShowComplete:function(){r.trigger(r.EVENTS.VIEW.SCROLL.LOCK),this.createVideo()},onHideComplete:function(){this.YTPlayer&&(this.YTPlayer.destroy(),this.YTPlayer=null),this.$el.detach(),r.trigger(r.EVENTS.VIEW.SCROLL.UNLOCK),r.trigger(r.EVENTS.VIEW.HEADER.SHOW)},show:function(){r.trigger(r.EVENTS.VIEW.HEADER.HIDE),this.$rootNode.append(this.$el),l.killTweensOf(this.$el),this.closeBtn&&this.closeBtn.show(),l.to(this.$el,1.2,{alpha:1,ease:""Power3.easeInOut"",onComplete:this.onShowComplete})},hide:function(){l.killTweensOf(this.$el),l.to(this.$el,1.2,{alpha:0,ease:""Power3.easeInOut"",onComplete:this.onHideComplete})},destroy:function(){this.removeEvents(),s.prototype.destroy.call(this)}})}),define(""view/modules/work_in_production/in_production_item"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""model/loader_collection"",""view/common/communicator"",""view/common/scroll_base_view"",""view/modules/video_overlay"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return l.extend({events:{""click .js-trailerBtn"":""onTrailerBtnClick""},initialize:function(t){l.prototype.initialize.apply(this,arguments),this.communicator=e.extend({},i.Events),this.addEvents()},addEvents:function(){this.listenTo(this.communicator,a.EVENTS.VIEW.VIDEO_OVERLAY.HIDE,this.onOverlayClose)},removeEvents:function(){this.stopListening(this.communicator,a.EVENTS.VIEW.VIDEO_OVERLAY.HIDE,this.onOverlayClose)},render:function(){l.prototype.render.call(this);var t=this.$el.data(""video-id"");""""===t&&(t=void 0),t?this.videoOverlay=new c({id:this.$el.data(""video-id""),communicator:this.communicator}):this.$("".js-trailerBtn"").remove(),h.set(this.$el,{force3D:!0})},onTrailerBtnClick:function(t){this.videoOverlay.show()},onOverlayClose:function(t){this.videoOverlay.hide()},show:function(t){var e=t||0;h.fromTo(this.$el,1,{opacity:0},{opacity:1,ease:""Quad.easeIn"",delay:e})},hide:function(t){var e=t||0;h.to(this.$el,.6,{ease:""Expo.easeIn"",delay:e,x:100*r.get(""scale"")}),h.to(this.$el,.6,{ease:""Quad.easeOut"",opacity:0,delay:e})},destroy:function(){l.prototype.destroy.call(this),this.removeEvents()}})}),define(""view/pages/expert"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator"",""view/modules/work_in_production/in_production_item""],function(t,e,i,n,s,r,o,a,l){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""model/modules/home/archive_model"",[""backbone"",""underscore""],function(t,e){return t.Model.extend({defaults:{ready:!1,collection:null,direction:0,year:null,from:null,to:null, | |
index:0},initialize:function(){this.queryStrParams=[{from:""-01-01"",to:""-03-31""},{from:""-04-01"",to:""-06-30""},{from:""-07-01"",to:""-09-30""},{from:""-10-01"",to:""-12-31""}],this.set(""collection"",new t.Collection)},getQueryStrParams:function(t){var i=this.get(""year"").get(""year"");return e.object(e.map(this.queryStrParams[t],function(t,e){return[e,i+t]}))}})}),define(""controller/modules/home/archive_controller"",[""jquery"",""underscore"",""backbone"",""route/router"",""model/app_model"",""model/modules/home/archive_model"",""view/common/communicator""],function(t,e,i,n,s,r,o){var a=function(){this.initialize()};return e.extend(a.prototype,i.Events),e.extend(a.prototype,{model:null,collection:null,initialize:function(){this.model=new r,this.collection=this.model.get(""collection""),this.addEvents()},addEvents:function(){this.listenTo(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.DOM_PARSED,this.onParse),this.listenTo(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.CHANGE,this.onChange),this.listenTo(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.PREV,this.onPrev),this.listenTo(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.NEXT,this.onNext)},removeEvents:function(){this.stopListening(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.DOM_PARSED),this.stopListening(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.CHANGE),this.stopListening(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.PREV),this.stopListening(o,o.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.NEXT)},setupCollection:function(t){var e=this.getModels(t);this.collection.add(e)},getModels:function(t){var i=this.parseEntries(t),n=this.getYears(i);return e.map(n,function(t){return{year:t,months:this.getMonths(i,t)}},this)},parseEntries:function(t){var i=t.split("","");return e.map(i,function(t){var e=t.split(""-"");return{year:Number(e[0]),month:Number(e[1])}})},getYears:function(t){return e.sortBy(e.uniq(e.map(t,function(t){return t.year})))},getMonths:function(t,i){var n=e.where(t,{year:i}),s=e.map(n,function(t){return t.month});return this.sortByMonthGroupings(s)},sortByMonthGroupings:function(t){var i=[];return e.times(4,function(n){var s=e.some(t,function(t){return(t-=1)>=3*n&&t<=3*n+3});i.push(s)}),i},onParse:function(t){""""===t.entries&&this.model.set({disabled:!0}),this.setupCollection(t.entries);var e=parseInt(t.from.split(""-"")[0]),i=this.collection.findWhere({year:e});this.model.set({from:t.from,to:t.to,year:i||this.collection.last(),index:this.collection.length-1}),this.model.set(""ready"",!0)},onChange:function(t){var e=this.model.getQueryStrParams(t);n.navigate(""/archive/dates/""+e.from+""/""+e.to+""/"",{trigger:!0})},onPrev:function(){var t=this.model.get(""index"");t--,t<0&&(t=this.collection.length-1),this.model.set(""direction"",-1),this.model.set(""year"",this.collection.at(t)),this.model.set(""index"",t)},onNext:function(){var t=this.model.get(""index"");t++,t>this.collection.length-1&&(t=0),this.model.set(""direction"",1),this.model.set(""year"",this.collection.at(t)),this.model.set(""index"",t)}}),a}),define(""view/modules/home/archive_nav_month_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return o.extend({events:{click:""onClick""},initialize:function(t){e.bindAll(this,""onHideComplete""),this.setup(),this.addEvents()},setup:function(){this.resetAnimation()},addEvents:function(){},removeEvents:function(){},resetAnimation:function(){l.set(this.el,{y:50*r.get(""scale""),force3D:!0})},onClick:function(){if(this.isActive){var t=this.$el.data(""id"");a.trigger(a.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.CHANGE,t)}},onHideComplete:function(){this.resetAnimation()},resize:function(){},show:function(t){var e=t||0;l.to(this.el,.6,{y:0,delay:e,opacity:1,ease:""Expo.easeOut""})},hide:function(){l.to(this.el,1,{opacity:0,onComplete:this.onHideComplete})},active:function(t){this.isActive=t,this.$el.toggleClass(""is-active"",this.isActive)},destroy:function(){this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/home/archive_nav_months"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""util/anim_frame"",""view/modules/home/archive_nav_month_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({$months:null,initialize:function(t){this.setup(),this.addEvents()},setup:function(){this.$months=this.$("".js-monthItem""),this.monthViews=e.map(this.$months,function(t){return new u({el:t})},this)},addEvents:function(){this.listenTo(this.model,""change:year"",this.onYearChange)},removeEvents:function(){this.stopListening(this.model,""change:year"")},addUIEvents:function(){},removeUIEvents:function(){},onYearChange:function(){var t=this.model.get(""year""),i=t.get(""months"");e.each(this.monthViews,function(t,e){var n=i[e];t.active(n)})},resize:function(){},show:function(t){this.onYearChange(),e.each(this.monthViews,function(e,i){e.show(t+.1*i)})},hide:function(){e.invoke(this.monthViews,""hide"")},destroy:function(){this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/home/archive_nav_year_btn"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return o.extend({className:""filter__dateItem"",initialize:function(t){e.bindAll(this,""onHideComplete""),this.setup(),this.addEvents()},setup:function(){this.$el.html(this.model.get(""year"")),l.set(this.el,{force3D:!0})},addEvents:function(){},removeEvents:function(){},onHideComplete:function(){this.resetAnimation()},onYearChange:function(){this.updateYear()},resize:function(){},show:function(t,e){l.fromTo(this.el,.3,{x:10*e},{x:0,delay:.5,opacity:1,ease:""Expo.easeOut""})},hide:function(t){l.to(this.el,.3,{x:-10*t,opacity:0,ease:""Expo.easeIn""})},destroy:function(){this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/home/archive_nav_years"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""util/anim_frame"",""view/modules/home/archive_nav_year_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({yearViews:null,events:{""click .js-prev"":""onPrevClick"",""click .js-next"":""onNextClick""},initialize:function(t){this.setup(),this.addEvents()},setup:function(){this.$dates=this.$("".js-date""),this.$circ=this.$("".js-filter__circ""),this.$prev=this.$("".js-prev""),this.$next=this.$("".js-next""),l.set(this.$circ,{drawSVG:""50% 50%"",opacity:0}),l.set(this.$prev,{x:20*r.get(""scale""),opacity:0}),l.set(this.$next,{x:-20*r.get(""scale""),opacity:0}),this.createYearViews(),this.setActiveStates(),this.model.get(""disabled"")&&this.$dates.addClass(""disabled"")},createYearViews:function(){this.yearViews=this.collection.map(function(t){var e=new u({model:t});return this.$dates.append(e.el),e},this)},addEvents:function(){this.listenTo(this.model,""change:year"",this.onYearChange),this.listenTo(this.model,""change:index"",this.onIndexChange)},removeEvents:function(){this.stopListening(this.model,""change:year""),this.stopListening(this.model,""change:index"")},addUIEvents:function(){},removeUIEvents:function(){},setActiveStates:function(){var t=this.model.get(""index"");this.$next.toggleClass(""disabled"",t===this.collection.length-1),this.$prev.toggleClass(""disabled"",0===t)},onIndexChange:function(){this.setActiveStates()},onActiveChange:function(t,e){},onYearChange:function(){this.updateYear()},onPrevClick:function(){if(!this.$prev.hasClass(""disabled"")){var t=this;l.to(this.$prev,.2,{x:-10*r.get(""scale""),opacity:0,ease:""Expo.easeOut"",onComplete:function(){l.fromTo(t.$prev,.3,{x:20*r.get(""scale"")},{x:0,opacity:1,ease:""Expo.easeOut""})}}),a.trigger(a.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.PREV)}},onNextClick:function(){if(!this.$next.hasClass(""disabled"")){var t=this;l.to(this.$next,.2,{x:10*r.get(""scale""),opacity:0,ease:""Expo.easeOut"",onComplete:function(){l.fromTo(t.$next,.3,{x:-20*r.get(""scale"")},{x:0,opacity:1,ease:""Expo.easeOut""})}}),a.trigger(a.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.NEXT)}},updateYear:function(t){var i=t||1,n=this.model.get(""year""),s=this.model.get(""direction"");e.each(this.yearViews,function(t){n===t.model?t.show(i,s):t.hide(s)},this)},resize:function(){},show:function(t){var e=t||0;l.to(this.$circ,.6,{drawSVG:""0% 100%"",delay:e,opacity:1,ease:""Expo.easeInOut""}),l.to(this.$prev,.8,{x:0,opacity:1,delay:e+.3,ease:""Expo.easeOut""}),l.to(this.$next,.8,{x:0,opacity:1,delay:e+.3,ease:""Expo.easeOut""}),this.updateYear(e)},hide:function(){l.to(this.$circ,1,{drawSVG:""50% 50%"",opacity:0})},destroy:function(){this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/modules/home/archive_nav"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/scroll_base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""templates/templates"",""util/anim_frame"",""controller/modules/home/archive_controller"",""view/modules/home/archive_nav_months"",""view/modules/home/archive_nav_years""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f){""use strict"";return o.extend({archiveMonthView:null,archiveYearView:null,initialize:function(t){e.bindAll(this,""onResize""),this.setup()},setup:function(){this.controller=new d,this.collection=this.controller.collection,this.model=this.controller.model,this.addEvents(),this.parseDOM()},parseDOM:function(){a.trigger(a.EVENTS.VIEW.PAGES.HOME.ARCHIVE_NAV.DOM_PARSED,{from:this.$el.data(""current-from""),to:this.$el.data(""current-to""),entries:this.$el.data(""entries"")})},addEvents:function(){this.listenToOnce(this.model,""change:ready"",this.onReady),this.listenTo(this.model,""change:active"",this.onActiveChange),this.listenTo(r,""resize"",this.onResize),this.listenTo(u,""anim_frame"",this.onTick)},removeEvents:function(){this.stopListening(this.model,""change:ready""),this.stopListening(this.model,""change:active""),this.stopListening(r,""change:resize""),this.stopListening(u,""anim_frame"")},addUIEvents:function(){},removeUIEvents:function(){},onActiveChange:function(t,e){e&&this.show()},onReady:function(){this.archiveMonthView=new p({model:this.model,el:this.$("".js-monthList"")}),this.archiveYearView=new f({model:this.model,collection:this.collection,el:this.$("".js-yearList"")}),n.TABLET&&this.onActiveChange(null,!0),e.delay(this.onResize,500)},onResize:function(){this.resize()},onTick:function(){this.tick()},resize:function(){o.prototype.resize.call(this)},show:function(){this.archiveMonthView.show(1),this.archiveYearView.show(.5),l.to(this.$("".archiveNav__backLink""),.6,{y:0,delay:2,opacity:1,ease:""Expo.easeOut""})},hide:function(){this.archiveMonthView.hide(),this.archiveYearView.hide()},destroy:function(){this.archiveMonthView.destroy(),this.archiveYearView.destroy(),this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/pages/archive"",[""jquery"",""underscore"",""TweenMax"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""view/modules/home/archive_nav""],function(t,e,i,n,s,r,o,a){""use strict"";return n.extend({archiveNavView:null,initialize:function(t){n.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){this.archiveNavView=new a({el:this.$("".js-archiveNav"")})},render:function(){n.prototype.render.call(this)},show:function(){n.prototype.show.call(this),this.archiveNavView.show()},hide:function(){n.prototype.hide.call(this)},destroy:function(){n.prototype.destroy.call(this),this.archiveNavView.destroy(),this.archiveNavView=null}})}),define(""view/pages/awards"",[""jquery"",""underscore"",""TweenMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p){""use strict"";return n.extend({initialize:function(t){n.prototype.initialize.apply(this,arguments)},show:function(){n.prototype.show.apply(this,arguments);var t=null===c.get(""prevpage"")?2:.3;e.each(this.$anchorLinks,function(e,n){i.to(e,1,{x:""0%"",delay:t+.5+.1*n,ease:""Expo.easeOut""}),i.to(e,1,{opacity:1,delay:t+.5+.1*n,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,n){i.to(e,1,{opacity:1,delay:t+.7+.1*n,ease:""Sine.easeInOut""})}),e.invoke(this.views,""show"",.3)},hide:function(){n.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),n.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/news"",[""jquery"",""underscore"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return i.extend({initialize:function(t){i.prototype.initialize.apply(this,arguments)},render:function(){i.prototype.render.call(this)},show:function(){i.prototype.show.call(this)},hide:function(){i.prototype.hide.call(this)},destroy:function(){i.prototype.destroy.call(this)}})}),define(""view/pages/careers"",[""jquery"",""underscore"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""TweenMax"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return i.extend({initialize:function(t){e.bindAll(this,""onImageLoaded"",""onShowComplete""),i.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){},render:function(){i.prototype.render.call(this),this.$image=this.$("".js-landingImage""),this.$imageWrap=this.$("".js-landingImageWrap""),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),c.set([this.$breakout,this.$anchorArrows,this.$imageWrap],{force3D:!0}),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new h,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new u(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),c.set(this.$titlesInner,{y:""100%"",force3D:!0}),c.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),c.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===a.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,i){c.to(e,.6,{y:""0%"",delay:t+.1*i,ease:""Expo.easeOut""})}),c.to(this.$breakout,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),c.to(this.$copy,1,{opacity:1,delay:t+.4,ease:""Sine.easeInOut""}),c.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.4,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,i){c.to(e,1,{x:""0%"",delay:t+.5+.1*i,ease:""Expo.easeOut""}),c.to(e,1,{opacity:1,delay:t+.5+.1*i,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,i){c.to(e,1,{opacity:1,delay:t+.7+.1*i,ease:""Sine.easeInOut""})})},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),i.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/education"",[""jquery"",""underscore"",""TweenMax"",""TweenMaxSplitText"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p){""use strict"";return s.extend({initialize:function(t){e.bindAll(this,""onShowComplete""),s.prototype.initialize.apply(this,arguments)},render:function(){s.prototype.render.call(this),this.$image=this.$("".js-landingImage""),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.$imageWrap=this.$("".js-landingImageWrap""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),i.set([this.$breakout,this.$imageWrap],{force3D:!0}),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},getElementOffsetTop:function(t){return t.offset().top-50*l.get(""scale"")},createPreloaderView:function(){this.preloaderView=new p,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new n(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),i.set(this.$titlesInner,{y:""100%"",force3D:!0}),i.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),i.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===h.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,n){i.to(e,.8,{y:""0%"",delay:t+.1*n,ease:""Expo.easeOut""})}),i.to(this.$copy,1,{opacity:1,delay:t+.1,ease:""Sine.easeInOut""}),i.to(this.$breakout,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),i.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.3,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,n){i.to(e,1,{x:""0%"",delay:t+.3+.1*n,ease:""Expo.easeOut""}),i.to(e,1,{opacity:1,delay:t+.3+.1*n,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,n){i.to(e,1,{opacity:1,delay:t+.6+.1*n,ease:""Sine.easeInOut""})})},hide:function(){s.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),s.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/modules/research/video_tile"",[""jquery"",""underscore"",""view/common/scroll_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""view/modules/video_overlay"",""TweenMax"",""view/modules/image_preloader""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return i.extend({videoOverlayView:null,events:{""click .js-playBtn"":""onPlayClick""},initialize:function(t){this.communicator=t.communicator,i.prototype.initialize.apply(this,arguments),this.setup(),this.addEvents()},setup:function(){this.createVideoOverlayView()},addEvents:function(){this.listenTo(this.communicator,n.EVENTS.VIEW.VIDEO_OVERLAY.HIDE,this.onOverlayClose)},removeEvents:function(){this.stopListening(this.communicator,n.EVENTS.VIEW.VIDEO_OVERLAY.HIDE,this.onOverlayClose)},createVideoOverlayView:function(){this.videoOverlayView=new l({communicator:this.communicator,id:this.$el.data(""video-id"")})},onPlayClick:function(){this.videoOverlayView.show()},onOverlayClose:function(){this.videoOverlayView.hide()},show:function(){c.to(this.$("".js-playBtn""),.6,{scale:1,ease:""Expo.easeInOut""})},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.removeEvents(),i.prototype.destroy.call(this)}})}),define(""model/pages/research_model"",[""backbone""],function(t){return new(t.Model.extend({defaults:{}}))}),define(""controller/pages/research_controller"",[""underscore"",""backbone"",""model/app_model"",""model/loader_collection"",""model/pages/research_model"",""view/common/communicator""],function(t,e,i,n,s,r){var o={init:function(){this.setup()},setup:function(){this.model=new e.Model,this.communicator={},t.extend(this.communicator,e.Events)}};return t.extend(o,e.Events),o.init(),o}),define(""view/pages/research"",[""jquery"",""underscore"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""view/modules/research/video_tile"",""controller/pages/research_controller"",""TweenMaxSplitText"",""TweenMax"",""view/modules/image_preloader""],function(t,e,i,n,s,r,o,a,l,c,h,u,d){""use strict"";return i.extend({videoTileView:null,initialize:function(t){e.bindAll(this,""onShowComplete""),i.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){this.communicator=c.communicator},render:function(){i.prototype.render.call(this),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),u.set([this.$breakout],{force3D:!0}),this.createPreloaderView(),this.splitTitle()},createVideoItemView:function(){this.videoTileView=new l({el:this.$("".js-landingVideo""),communicator:this.communicator})},createPreloaderView:function(){this.preloaderView=new d,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new h(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),u.set(this.$titlesInner,{y:""100%"",force3D:!0}),u.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),u.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===a.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,i){u.to(e,.8,{y:""0%"",delay:t+.1*i,ease:""Expo.easeOut""})}),u.to(this.$copy,1,{opacity:1,delay:t+.1,ease:""Sine.easeInOut""}),u.to(this.$breakout,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),u.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.3,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,i){u.to(e,1,{x:""0%"",delay:t+.3+.1*i,ease:""Expo.easeOut""}),u.to(e,1,{opacity:1,delay:t+.3+.1*i,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,i){u.to(e,1,{opacity:1,delay:t+.6+.1*i,ease:""Sine.easeInOut""})})},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),i.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/work"",[""jquery"",""underscore"",""view/common/page_base_view"",""events/sound_events"",""view/common/communicator"",""backbone"",""config"",""controller/pages/work_controller"",""model/loader_collection"",""model/app_model"",""model/resize_model"",""route/router"",""route/nav_options"",""view/modules/work/project"",""view/modules/load_more_btn"",""view/modules/work/work_filter"",""console"",""TweenMax"",""TweenMaxSplitText"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g,_,v,y){""use strict"";return i.extend({initialize:function(t){e.bindAll(this,""resize"",""triggerGlobalResize""),this.throttleResize=e.throttle(this.resize2,500),i.prototype.initialize.apply(this,arguments),this.setup(),this.addEvents()},setup:function(){this.views=[],this.controller=new a,this.model=this.controller.model,this.collection=this.model.get(""collection""),this.communicator=this.controller.communicator},render:function(){i.prototype.render.call(this),this.$grid=this.$("".js-grid""),this.$pagework=this.$("".js-page-work""),this.$gridItems=this.$("".js-gridItem""),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.createProductionData(),this.parseDOM()},parseDOM:function(){for(var e=[],i=0,n=this.$gridItems.length;i<n;i++){var r=t(this.$gridItems[i]),o=r.data(""type"")?r.data(""type"").toLowerCase():""no_worktype"";e.push({gallerySrc:this.getDataByDevice(r,""img-src""),visibleIndex:i,layoutNode:this.model.getLayoutNode(i),workType:o})}this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.ADD_PROJECTS,e)},addEvents:function(){this.listenTo(this.model,""change:maxVisible"",this.onChangeMaxVisible),this.listenTo(this.model,""change:filter"",this.onChangeFilter),this.listenToOnce(this.model,""change:ready"",this.onReady)},removeEvents:function(){this.stopListening(this.model,""change:ready"",this.onReady),this.stopListening(this.model,""change:maxVisible"",this.onChangeMaxVisible),this.stopListening(this.model,""change:filter"",this.onChangeFilter)},triggerGlobalResize:function(){this.resize()},checkLoadMoreActive:function(){this.loadMoreBtnView.setViewable(this.model.doShowLoadMore())},createWorkViews:function(){this.views=[],this.scrollItems=[];for(var t=0,e=this.$gridItems.length;t<e;t++){var i=new p({el:this.$gridItems.get(t),index:t,model:this.collection.at(t)});i.render(),this.views.push(i),this.scrollItems.push(i)}},createProductionData:function(){var t=this.$('.js-gridItem[data-type=""production""]');if(t){var e=t.attr(""href"");this.model.set(""production_data_link"",e)}},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new v(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),_.set(this.$titlesInner,{y:""100%"",force3D:!0}),_.set(this.$title,{opacity:1})},insertAfterNthChild:function(e,i,n){t(n).insertAfter(e.children().eq(i))},createLoadMoreBtn:function(){this.loadMoreBtnView=new f,this.hideShowLoadMoreBtn(),this.$grid.append(this.loadMoreBtnView.el),this.loadMoreBtnView.on(this.loadMoreBtnView.EVENTS.LOAD_MORE,this.onShowMore,this),this.views.push(this.loadMoreBtnView)},hideShowLoadMoreBtn:function(){var t=this.loadMoreBtnView.$el.find("".js-loadMore__inner"");_.set(t,{opacity:0}),_.delayedCall(2,function(){_.set(t,{opacity:1})})},createFilterNav:function(){this.filterNavView=new m({model:this.model}),this.$grid.append(this.filterNavView.el),this.filterNavView.on(this.filterNavView.EVENTS.SET_FILTER,this.onSetFilter,this)},onTick:function(){for(var t=0,e=this.scrollItems.length;t<e;t++)this.scrollItems[t].tick();this.loadMoreBtnView.tick()},onReady:function(){g.log(""work:ready""),this.createWorkViews(),this.createLoadMoreBtn(),this.createFilterNav(),this.splitTitle(),s.trigger(s.EVENTS.VIEW.RESIZE)},onChangeMaxVisible:function(){this.checkLoadMoreActive(),_.killDelayedCallsTo(this.triggerGlobalResize),_.delayedCall(.2,this.triggerGlobalResize)},onChangeFilter:function(){this.scrollItems&&e.invoke(this.scrollItems,""reactivate""),this.checkLoadMoreActive(),_.killDelayedCallsTo(this.triggerGlobalResize),_.delayedCall(.6,this.triggerGlobalResize)},onSetFilter:function(t){this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.SET_FILTER,t)},onShowMore:function(){this.communicator.trigger(s.EVENTS.VIEW.PAGES.WORK.LOAD_MORE)},onResize:function(){this.resize()},resize:function(){e.invoke(this.views,""resize""),this.setHeight(),this.loadMoreBtnView&&this.loadMoreBtnView.resize(),this.filterNavView&&this.filterNavView.resize(),i.prototype.onResize.call(this)},setHeight:function(){if(window.console.log(""work setHeight""),this.$gridItems&&this.$gridItems.length>0){var t=this.model.getGridHeight();t+=this.loadMoreBtnView&&this.loadMoreBtnView.isViewable()?21:5,this.$pagework.css({height:t+""rem""}),this.$grid.css({height:t+""rem""}),this.setHeightScales(t)}},setHeightScales:function(t){var i=t*h.BASE_SIZE.FONT*h.get(""scale"");e.invoke(this.views,""setHeightScale"",i)},show:function(){var t=null===c.get(""prevpage"")?2:.5;e.each(this.$titlesInner,function(e,i){_.to(e,.8,{y:""0%"",delay:t+.1*i,ease:""Expo.easeOut""})}),_.to(this.$breakout,1,{opacity:1,delay:t+.1,ease:""Sine.easeInOut""}),_.to(this.$copy,1,{opacity:1,delay:t+.3,ease:""Sine.easeInOut""}),this.filterNavView.show(t+.5),e.invoke(this.views,""show"",t)},hide:function(){i.prototype.hide.call(this)},destroy:function(){g.log(""work view destroy""),e.invoke(this.views,""off""),e.invoke(this.views,""destroy""),this.filterNavView&&this.filterNavView.destroy(),this.removeEvents(),this.controller.destroy(),this.communicator=null,this.controller=null,this.model=null,this.collection=null,this.$gridItems=null,this.$el.remove(),i.prototype.destroy.call(this)}})}),define(""view/modules/work_project/project_landing"",[""jquery"",""underscore"",""backbone"",""config"",""events/view_events"",""model/app_model"",""model/resize_model"",""model/pages/work_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return l.extend({initialize:function(t){},setup:function(){},addEvents:function(){},removeEvents:function(){},splitTitle:function(){},animateIn:function(){},killTweens:function(){},show:function(){},hide:function(){},render:function(){}})}),define(""view/pages/films_single_project"",[""jquery"",""underscore"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/work_project/project_landing"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return i.extend({creditsComponentView:null,events:{""click .js-project__backBtn"":""onBackClick""},initialize:function(t){e.bindAll(this,""onFullCredits""),e.extend(this.events,i.prototype.events),i.prototype.initialize.apply(this,arguments)},render:function(){i.prototype.render.call(this),this.$creditsBtn=this.$("".js-project__creditsBtn""),this.$tgPage=this.$("".js-project__tgPage""),this.creditsComponentView=this.getComponentsByClassname(""js-fullCredits"")[0],this.creditsComponentView||this.$creditsBtn.remove(),this.addEvents()},addEvents:function(){this.$creditsBtn.on(""click"",this.onFullCredits)},removeEvents:function(){this.$creditsBtn.off(""click"",this.onFullCredits)},onFullCredits:function(){this.creditsComponentView.show()},onBackClick:function(t){this.canNavigateBack()&&(t.preventDefault(),t.stopPropagation(),n.trigger(n.EVENTS.VIEW.NAV.URL,a.get(""prevpage"")))},destroy:function(){this.removeEvents(),this.creditsComponentView&&this.creditsComponentView.destroy(),i.prototype.destroy.call(this)}})}),define(""view/pages/work_in_production"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/page_base_view"",""view/common/communicator"",""view/modules/work_in_production/in_production_item"",""TweenMax""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this),this.$listItems=this.$("".js-listItem""),this.parseDOM()},parseDOM:function(){this.views=e.map(this.$listItems,function(t,e){return new l({el:t,index:e})}),e.invoke(this.views,""render""),this.$btnCopy=this.$("".js-project__backBtn span""),this.$btnArrow=this.$("".js-project__backBtn svg"")},show:function(){var t=1;e.each(this.views,function(e,i){var n=t+i%3;e.show(.1*n),i%3==2&&t++},this)},hide:function(){c.to(this.$btnCopy,.2,{ease:""Power2.easeOut"",opacity:0}),c.to(this.$btnArrow,.6,{ease:""Expo.easeOut"",opacity:0,x:-50*r.get(""scale"")});var t=1;e.each(this.views,function(e,i){var n=t+(3-i%3);e.hide(.1*n),i%3==2&&t++},this),c.killDelayedCallsTo(this.onHideComplete),c.delayedCall(.4,this.onHideComplete)},destroy:function(){o.prototype.destroy.call(this),e.invoke(this.views,""destroy"")}})}), | |
define(""view/pages/publications"",[""jquery"",""underscore"",""TweenMax"",""TimelineMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""view/modules/load_more_btn""],function(t,e,i,n,s,r,o,a){""use strict"";return s.extend({initialize:function(t){s.prototype.initialize.apply(this,arguments),this.paginationIncrement=15,this.paginationTotalVisible=this.paginationIncrement},render:function(){s.prototype.render.call(this),this.$grid=this.$("".js-publications__filtered""),this.$gridItems=this.$("".js-filteredListItem""),this.$gridItems.addClass(""force-hidden""),this.createLoadMoreBtn(),this.evalListItems()},createLoadMoreBtn:function(){this.loadMoreBtnView=new a,this.$grid.append(this.loadMoreBtnView.el),this.loadMoreBtnView.on(this.loadMoreBtnView.EVENTS.LOAD_MORE,this.onShowMore,this)},onShowMore:function(){this.paginationTotalVisible+=this.paginationIncrement,this.evalListItems()},evalListItems:function(){for(var t=this.$gridItems.slice(0,this.paginationTotalVisible),e=0;e<t.length;e++){var i=t[e];this.$(i).removeClass(""force-hidden"")}t.length>=this.$gridItems.length?this.loadMoreBtnView.hide():this.loadMoreBtnView.show()},hide:function(){s.prototype.hide.call(this)},destroy:function(){this.loadMoreBtnView.off(),this.loadMoreBtnView.destroy(),s.prototype.destroy.call(this)}})}),define(""view/pages/about"",[""jquery"",""underscore"",""TweenMax"",""TweenMaxSplitText"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader""],function(t,e,i,n,s,r,o,a,l,c,h,u,d){""use strict"";return s.extend({initialize:function(t){e.bindAll(this,""onShowComplete""),s.prototype.initialize.apply(this,arguments)},render:function(){s.prototype.render.call(this),this.$image=this.$("".js-landingImage""),this.$imageWrap=this.$("".js-landingImageWrap""),this.$copy=this.$("".js-landingCopy""),this.$title=this.$("".js-landingTitle""),this.$breakout=this.$("".js-landingBreakout""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new d,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new n(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),i.set(this.$titlesInner,{y:""100%"",force3D:!0}),i.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),i.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===c.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,n){i.to(e,.8,{y:""0%"",delay:t+.1*n,ease:""Expo.easeInOut""})}),i.to(this.$breakout,1,{opacity:1,delay:t+.3,ease:""Sine.easeInOut""}),i.to(this.$copy,1,{opacity:1,delay:t+.4,ease:""Sine.easeInOut""}),i.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.4,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,n){i.to(e,1,{x:""0%"",delay:t+.3+.1*n,ease:""Expo.easeOut""}),i.to(e,1,{opacity:1,delay:t+.3+.1*n,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,n){i.to(e,1,{opacity:1,delay:t+.6+.1*n,ease:""Sine.easeInOut""})})},hide:function(){s.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),s.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/search"",[""jquery"",""underscore"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""model/scroll_model"",""view/modules/search_btn""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return i.extend({$input:null,$inputBtn:null,events:{""click .js-search__input"":""onSearchInput""},initialize:function(t){i.prototype.initialize.apply(this,arguments)},setup:function(){},render:function(){i.prototype.render.call(this),this.$input=this.$("".js-search__input""),this.$inputBtn=this.$("".js-search__inputBtn""),this.$block=this.$("".js-search__block""),this.setupBlock()},setupBlock:function(){this.projects=this.getComponentsByClassname(""js-searchProjectBlock""),this.projects.length>0&&this.$block.append(this.projects[0].el);var t=this.$("".js-results"").children().length>0;this.setResultsLabel(t)},setResultsLabel:function(t){var e=t?""RESULTS FOR"":""NO RESULTS FOUND FOR"";this.$("".search__resultsTitle"").text(e)},onSearchInput:function(){n.trigger(n.EVENTS.VIEW.SEARCH_OVERLAY.SHOW)},onShowDelay:function(){n.trigger(n.EVENTS.VIEW.RESIZE)},show:function(){i.prototype.show.call(this),e.delay(this.onShowDelay,1e3)},hide:function(){i.prototype.hide.call(this)},destroy:function(){i.prototype.destroy.call(this)}})}),define(""view/pages/error"",[""jquery"",""underscore"",""view/common/page_base_view"",""config"",""route/router"",""model/app_model""],function(t,e,i,n,s,r){""use strict"";return i.extend({initialize:function(){i.prototype.initialize.apply(this,arguments)},show:function(){this.$("".js-page__section"").height(window.innerHeight),i.prototype.show.call(this)}})}),define(""view/modules/preloader"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return o.extend({initialize:function(t){e.bindAll(this,""destroy""),this.setup(),this.addEvents()},setup:function(){this.$content=this.$("".js-preloaderContent""),this.$bg=this.$("".js-preloaderBg""),setTimeout(function(){a.trigger(a.EVENTS.VIEW.PRELOADER.COMPLETE)},1500)},addEvents:function(){},removeEvents:function(){},hide:function(t){var e=t||0;l.to(this.$bg,1,{alpha:0,delay:e,force3D:!0,ease:""Sine.easeInOut""}),l.to(this.$content,1,{alpha:0,delay:e+.2,force3D:!0,ease:""Sine.easeInOut"",onComplete:this.destroy})},destroy:function(){this.removeEvents(),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""model/modules/header_model"",[""backbone""],function(t){return t.Model.extend({defaults:{visible:!0,expanded:!0,hint:!1},initialize:function(){}})}),define(""view/modules/header/media_player_progress_bar"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/audio_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";return o.extend({initialize:function(t){this.setup()},setup:function(){this.$progress=this.$("".js-progress""),this.tweenObj={percent:0},l.set(this.$progress,{drawSVG:""0% 0%""})},addEvents:function(){},removeEvents:function(){},setCurrentProgress:function(t){this.progress=t,l.set(this.$progress,{drawSVG:""0% ""+this.progress+""%""})},onTick:function(){},activate:function(){this.isActive=!0},deactivate:function(){this.isActive=!1},show:function(){},hide:function(t){var e=this;l.to(this.tweenObj,t,{percent:100,onUpdate:function(){l.set(e.$progress,{drawSVG:e.tweenObj.percent+""% 100%""})},onComplete:function(){e.tweenObj.percent=0}})},resize:function(){this.setSize()},destroy:function(){this.removeEvents(),o.prototype.destroy.call(this)}})}),define(""view/modules/header/media_player_info"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/audio_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""util/resn/domParse""],function(t,e,i,n,s,r,o,a,l,c,h){""use strict"";return o.extend({initialize:function(t){e.bindAll(this,""onImageLoaded""),this.setup(),this.addEvents()},setup:function(){this.$title=this.$("".js-title""),this.$subtitle=this.$("".js-subtitle""),this.$total=this.$("".js-total""),this.$image=this.$("".js-img""),this.$mask=this.$("".js-mask""),l.set(this.$el,{force3D:!0}),l.set(this.$image,{scale:.5,opacity:0,force3D:!0})},addEvents:function(){this.listenTo(s,""change:podcastItem"",this.onPodcastItemChange)},removeEvents:function(){this.stopListening(s,""change:podcastItem"",this.onPodcastItemChange)},getImgSrc:function(t){var e=t.get(""thumbnailBg"");return h.hasExtension(e,h.imgExts)||(e=t.get(""mediaImgSrc"")),e},onTick:function(){},onPodcastItemChange:function(t){var e=t.get(""podcastItem"");this.imgSrc=this.getImgSrc(e),this.$title.html(e.get(""title"")),this.$subtitle.html(e.get(""subtitle"")),this.loadImage(this.imgSrc)},onImageLoaded:function(){this.$image.css(""background-image"",""url(""+this.imgSrc+"")"")},activate:function(){this.isActive=!0},deactivate:function(){this.isActive=!1},show:function(t){var i=t||0;this.killTweens(),this.$total.html(r.getFormattedDuration()),l.to([this.$image],1,{opacity:1,delay:i,scale:1.5,ease:""Expo.easeOut""}),e.each([this.$title,this.$subtitle,this.$total],function(t,e){var n=.1*(e+1);l.fromTo(t,.6,{opacity:0,x:50},{opacity:1,x:0,delay:i+n,ease:""Expo.easeOut""})})},hide:function(){this.killTweens(),l.to([this.$image],1,{scale:.5,ease:""Expo.easeIn""}),l.to([this.$image],.8,{opacity:0,ease:""Expo.easeIn""}),l.to([this.$title,this.$subtitle,this.$total],.6,{opacity:0,ease:""Sine.easeInOut""})},killTweens:function(){l.killTweensOf([this.$image,this.$mask,this.$title,this.$subtitle,this.$total])},resize:function(){this.setSize()},destroy:function(){this.removeEvents(),o.prototype.destroy.call(this)}})}),define(""view/modules/header/media_player"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/audio_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""view/modules/header/media_player_progress_bar"",""view/modules/header/media_player_info"",""TweenMax"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u,d){""use strict"";return a.extend({active:!1,events:{""click .js-wrap"":""onClick"",""mouseenter .js-wrap"":""onMouseEnter"",""mouseleave .js-wrap"":""onMouseLeave""},initialize:function(t){e.bindAll(this,""hide""),this.render(),this.setup(),this.addEvents()},render:function(){this.$wrap=this.$("".js-wrap"");var e=d.svgmediaplayer({}),i=t(e);this.$wrap.append(i)},setup:function(){this.$playBtn=this.$("".js-playBtn""),this.$playIcon=this.$("".js-playIcon""),this.$pauseIcon=this.$("".js-pauseIcon""),this.$tip=this.$("".js-tip""),this.$info=this.$("".js-info""),this.$bg=this.$("".js-bg""),this.createProgressBarView(),this.createInfoView(),u.set(this.$playBtn,{scale:0,transformOrigin:""50% 50%""}),u.set(this.$bg,{drawSVG:""50% 50%""}),u.set(this.$tip,{y:-10})},createProgressBarView:function(){this.progressBarView=new c({el:this.$wrap})},createInfoView:function(){this.infoView=new h({el:this.$info})},addEvents:function(){this.listenTo(r,""change:pause"",this.onPause),this.listenTo(r,""change:complete"",this.onComplete),this.listenTo(r,""change:currentTime"",this.onCurrentTimeUpdate)},removeEvents:function(){this.stopListening(r,""change:pause"",this.onPause),this.stopListening(r,""change:complete"",this.onComplete),this.stopListening(r,""change:currentTime"",this.onCurrentTimeUpdate)},setCurrentProgress:function(t){this.progressBarView.setCurrentProgress(t)},onClick:function(){u.killDelayedCallsTo(this.hide),this.active&&l.trigger(l.EVENTS.VIEW.PODCAST.PLAY)},onMouseLeave:function(){this.active&&(this.infoView.hide(),u.killTweensOf(this.$tip),u.to(this.$tip,.5,{y:-10,delay:.2,ease:""Expo.easeIn""}))},onMouseEnter:function(){if(this.active){this.infoView.show(.2),u.killTweensOf(this.$tip),u.to(this.$tip,.3,{y:0,delay:.2,ease:""Expo.easeOut""})}},onPause:function(t,e){u.killTweensOf(this.$playIcon),u.killTweensOf(this.$pauseIcon),e?(u.to(this.$playIcon,.3,{alpha:1}),u.to(this.$pauseIcon,.3,{alpha:0})):(u.to(this.$playIcon,.3,{alpha:0}),u.to(this.$pauseIcon,.3,{alpha:1}),this.show(.5))},onCurrentTimeUpdate:function(){var t=r.getPercentage();this.setCurrentProgress(t)},onComplete:function(){r.get(""complete"")&&(this.progressBarView.hide(4),u.killDelayedCallsTo(this.hide),u.delayedCall(4,this.hide))},retract:function(){u.to(this.el,1,{y:-45*o.get(""scale""),ease:""Power2.easeOut""})},expand:function(){u.to(this.el,1,{y:0,ease:""Power2.easeOut""})},show:function(t){this.killTweens(),this.active=!0,u.set(this.$bg,{rotation:0,transformOrigin:""50% 50%"",drawSVG:""50% 50%""}),u.to(this.$bg,1,{drawSVG:""0% 100%"",opacity:1,delay:t,ease:""Expo.easeOut""}),u.to(this.$playBtn,1,{scale:1,delay:t+.2,ease:""Expo.easeOut""})},hide:function(){this.killTweens(),this.onMouseLeave(),this.active=!1,u.to(this.$bg,1.5,{drawSVG:""100% 100%"",rotation:360,transformOrigin:""50% 50%"",ease:""Expo.easeInOut""}),u.to(this.$bg,.5,{opacity:0,delay:1,ease:""Sine.easeInOut""}),u.to(this.$playBtn,1,{scale:0,delay:.8,ease:""Expo.easeOut""})},killTweens:function(){u.killTweensOf([this.$tip,this.$playBtn])},destroy:function(){this.removeEvents(),a.prototype.destroy.call(this)}})}),define(""model/modules/header/media_player_model"",[""backbone""],function(t){return t.Model.extend({defaults:{firstShow:!0,state:null},STATES:{ACTIVE:""STATES:ACTIVE"",INACTIVE:""STATES:INACTIVE"",COUNTDOWN:""STATES:COUNTDOWN""},initialize:function(){this.set(""state"",this.STATES.INACTIVE)}})}),define(""controller/modules/header_controller"",[""underscore"",""jquery"",""backbone"",""config"",""events/view_events"",""view/common/communicator"",""model/app_model"",""model/scroll_model"",""model/audio_model"",""model/modules/header_model"",""model/modules/header/media_player_model"",""TweenMax"",""util/resn/math"",""util/anim_frame""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p){""use strict"";var f=function(){this.initialize()};return t.extend(f.prototype,i.Events),t.extend(f.prototype,{model:null,mediaPlayerModel:null,initialize:function(){t.bindAll(this,""onHintComplete""),this.setup(),this.addEvents()},setup:function(){this.model=new c,this.mediaPlayerModel=new h,this.listenTo(l,""change:pause"",this.onPauseChange)},addEvents:function(){this.listenTo(p,""anim_frame"",this.onTick),this.listenTo(r,r.EVENTS.VIEW.HEADER.MOUSE_ENTER,this.onMouseEnter)},removeEvents:function(){this.stopListening(p,""anim_frame"",this.onTick)},hint:function(){this.removeEvents(),this.model.set(""hint"",!0),u.delayedCall(5,this.onHintComplete),this.addEvents()},onMouseEnter:function(){u.killDelayedCallsTo(this.onHintComplete)},onTick:function(){this.updatePosition(),this.updateVisibility()},onPauseChange:function(t,e){e||(this.stopListening(l,""change:pause"",this.onPauseChange),this.hint())},onHintComplete:function(){this.model.set(""hint"",!1),this.addEvents()},updatePosition:function(){a.scrollTop<100?(this.model.set(""expanded"",!0),this.model.set(""visible"",!0)):this.model.set(""expanded"",!1)},updateVisibility:function(){a.scrollDelta>100&&this.setVisibility()},setVisibility:function(){1===a.get(""direction"")?this.model.set(""visible"",!1):this.model.set(""visible"",!0)},destroy:function(){this.removeEvents()}}),f}),define(""view/modules/header"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/scroll_model"",""model/resize_model"",""model/modules/header_model"",""events/view_events"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""util/anim_frame"",""view/modules/header/media_player"",""view/modules/search_btn"",""controller/modules/header_controller"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g){""use strict"";return c.extend({height:0,background:!0,reducedHeight:!1,mediaPlayerView:null,events:{mouseenter:""onMouseEnter"",""click .js-header__search"":""onSearchClick"",""mouseenter .js-header__search"":""onSearchMouseEnter"",""click .js-header__logo"":""onLogoClick""},initialize:function(t){this.setup(),this.render(),this.addEvents()},setup:function(){this.controller=new m,this.model=this.controller.model,this.mediaPlayerModel=this.controller.mediaPlayerModel},render:function(){this.$navItems=this.$("".js-header__navItem""),this.$bg=this.$("".js-header__bg""),this.$inner=this.$("".js-header__inner""),this.$search=this.$("".js-searchIcon""),this.$searchCopy=this.$("".js-header__search span""),this.$logo=this.$("".js-header__logo""),this.$divider=this.$("".js-header__divider""),this.$mediaPlayer=this.$("".js-headerMediaPlayer""),this.createMediaPlayerView(),this.createSearchBtnView(),u.set([this.$el,this.$bg,this.$inner,this.$navItems,this.$divider],{force3D:!0})},createMediaPlayerView:function(){this.mediaPlayerView=new p({el:this.$mediaPlayer,model:this.mediaPlayerModel})},createSearchBtnView:function(){this.searchBtnView=new f({el:this.$search})},createLogo:function(){var t=g.svglogo({maskId:e.uniqueId()});this.$logo.append(t),this.$logoCircle=this.$("".js-logoCircle""),u.set(this.$logoCircle,{scale:0,opacity:0,transformOrigin:""200px, 200px""})},addEvents:function(){this.listenTo(s,""change:page"",this.onPageChange),this.listenTo(this.model,""change:hint"",this.onHintChange),this.listenTo(this.model,""change:visible"",this.onVisibleChange),this.listenTo(this.model,""change:expanded"",this.onExpandedChange),this.listenTo(h,h.EVENTS.VIEW.HEADER.HIDE,this.onHide),this.listenTo(h,h.EVENTS.VIEW.HEADER.SHOW,this.onShow)},removeEvents:function(){this.stopListening(s,""change:page"",this.onPageChange),this.stopListening(this.model,""change:hint"",this.onHintChange),this.stopListening(this.model,""change:visible"",this.onVisibleChange),this.stopListening(this.model,""change:expanded"",this.onExpandedChange),this.stopListening(h,h.EVENTS.VIEW.HEADER.HIDE,this.onHide),this.stopListening(h,h.EVENTS.VIEW.HEADER.SHOW,this.onShow)},updateSelectedNavItem:function(i){""/""!==i.slice(-1)&&(i+=""/"");var n=/\/(.*?)\//,s=n.exec(i);s&&(i=s[0]),e.each(this.$navItems,function(e){var n=t(e),s=n.find(""a"").attr(""href"");n.toggleClass(""is-active"",s===i)})},killTweens:function(){u.killTweensOf([this.$bg,this.$inner])},onPageChange:function(t,e){this.expand(),this.updateSelectedNavItem(e)},onVisibleChange:function(t,e){e?this.open():this.close()},onExpandedChange:function(t,e){e?this.expand():this.retract()},onHintChange:function(t,e){if(e)this.open();else{this.model.get(""visible"")||this.close(1)}},onSearchClick:function(){h.trigger(h.EVENTS.VIEW.SEARCH_OVERLAY.SHOW)},onSearchMouseEnter:function(){u.to(this.$search,.2,{rotation:-15,transformOrigin:""40% 40%"",ease:""Power3.easeOut""}),u.to(this.$search,.3,{rotation:15,delay:.2,transformOrigin:""40% 40%"",ease:""Power4.easeInOut""}),u.to(this.$search,.3,{rotation:0,delay:.5,transformOrigin:""40% 40%"",ease:""Back.easeOut""})},onLogoClick:function(){""/""===s.get(""page"")&&h.trigger(h.EVENTS.VIEW.SCROLL.TO,{targetOffset:0,duration:2})},onHide:function(){this.hide(.3)},onShow:function(){this.model.get(""visible"")&&this.open()},onMouseEnter:function(){h.trigger(h.EVENTS.VIEW.HEADER.MOUSE_ENTER)},retract:function(){u.to(this.$bg,1,{y:-100*o.get(""scale""),ease:""Power2.easeOut""}),u.to(this.$inner,1,{y:-50*o.get(""scale""),ease:""Power2.easeOut""}),u.to(this.$bg,1,{opacity:1,delay:.5,ease:""Power2.easeOut""}),this.mediaPlayerView.retract()},expand:function(){u.to(this.$bg,1,{y:0,opacity:0,ease:""Power2.easeOut""}),u.to(this.$inner,1,{y:0,ease:""Power2.easeOut""}),this.mediaPlayerView.expand()},resize:function(){this.height=this.$bg.outerHeight()},open:function(){u.killTweensOf(this.$el),u.to(this.$el,1,{y:0,ease:""Power2.easeOut""})},close:function(t){var e=t||0;u.killTweensOf(this.$el),u.to(this.$el,1,{y:-this.height,delay:e,ease:""Power2.easeOut""})},show:function(i){var n=i||0;u.to(this.$logo,.5,{scale:1,delay:n,opacity:1,ease:""Sine.easeInOut""}),e.each(this.$navItems,function(e,i){var s=-150*o.get(""scale"")*(1-i/this.$navItems.length);u.set(t(e),{y:s}),u.to(t(e),.6,{y:0,delay:.1*i+.2+n,ease:""Power3.easeOut""}),u.to(t(e),.6,{opacity:1,delay:.1*i+.3+n,ease:""Sine.easeInOut""})},this),u.to(this.$divider,.6,{scaleY:1,delay:.7+n,ease:""Expo.easeInOut""}),this.searchBtnView.show(n+.9),u.to(this.$searchCopy,.6,{opacity:1,delay:1.2+n,ease:""Sine.easeInOut""})},hide:function(t){var e=t||0;u.to(this.$el,.5,{y:-this.height,delay:e,ease:""Expo.easeIn""})},destroy:function(){c.prototype.destroy.call(this)}})}),define(""view/modules/search_overlay"",[""jquery"",""underscore"",""backbone"",""model/app_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""view/modules/search_btn"",""templates/templates"",""handlebars"",""console"",""view/modules/close_btn""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return s.extend({events:{""submit .js-searchForm"":""onSearchSubmit"",""click .js-overlay__closeBtn"":""onCloseClick"",""click .js-suggestionItem"":""onSuggestionClick""},$inputIcon:null,$rootNode:null,initialize:function(t){e.bindAll(this,""onHideComplete"",""onShowComplete""),this.setup(),this.addEvents()},setup:function(){this.closeBtn=new u({el:this.$("".js-overlay__closeBtn"")[0]}),this.$suggestionBlock=this.$("".js-suggestionBlock""),this.$suggestionList=this.$("".js-suggestionList""),this.$icon=this.$("".js-inputIcon""),this.$input=this.$("".js-input""),this.$rootNode=t(""#rootNode""),this.createSearchIcon(),this.$el.detach()},createSearchIcon:function(){this.searchIcon=new a({el:this.$icon})},addEvents:function(){this.listenTo(n,""change:searchOverlay"",this.onSearchOverlayChange)},removeEvents:function(){this.stopListening(n,""change:searchOverlay"",this.onSearchOverlayChange)},onSearchOverlayChange:function(t,e){if(e){this.show(.5)}else this.hide()},onCloseClick:function(){r.trigger(r.EVENTS.VIEW.SEARCH_OVERLAY.HIDE)},onShowComplete:function(){},onHideComplete:function(){this.searchIcon.hide(),this.$el.detach(),r.trigger(r.EVENTS.VIEW.SCROLL.UNLOCK),r.trigger(r.EVENTS.VIEW.HEADER.SHOW)},onSearchSubmit:function(t){t.preventDefault();var e=this.$input.val(),i=""/search/""+encodeURIComponent(e);r.trigger(r.EVENTS.VIEW.NAV.URL,i),r.trigger(r.EVENTS.VIEW.SEARCH_OVERLAY.HIDE)},onInputChange:function(t){var e=this.$input.val();this.getTags(e)},onSearchInputEnter:function(){var t=this.tags[0];h.log(""enter search"",t)},onSuggestionClick:function(){r.trigger(r.EVENTS.VIEW.SEARCH_OVERLAY.HIDE)},updateSuggestions:function(){o.killTweensOf(this.$suggestionBlock),this.tags.length>0?(this.$suggestionList.empty(),e.each(this.tags,function(t,e){var i=this.getTemplate(t);this.$suggestionList.append(i),o.fromTo(i,.7,{x:""-10%"",opacity:0},{x:""0%"",force3D:!0,delay:.1*e,ease:""Expo.easeOut"",opacity:1})},this),o.to(this.$suggestionBlock,.8,{opacity:1,ease:""Sine.easeOut""})):(o.to(this.$suggestionBlock,.8,{opacity:.2,ease:""Sine.easeOut""}),this.$suggestionList.empty())},getTemplate:function(e){var i=l.searchsuggestion({tag:e});return t(i)},getTags:function(e){var i=this;t.ajax({url:[location.protocol,""//"",location.host,""/search/suggest/""+e].join(""""),dataType:""json""}).done(function(t){i.tags=t,i.updateSuggestions()})},show:function(t){var i=t||0;this.$rootNode.append(this.$el),this.delegateEvents();var n=e.throttle(e.bind(this.onInputChange,this),1e3);this.$input.on(""input"",n),o.killTweensOf(this.$el),this.searchIcon.show(i),this.closeBtn&&this.closeBtn.show(),o.to(this.$el,.8,{autoAlpha:1,ease:""Sine.easeInOut""});var s=this;e.delay(function(){s.$input.focus()},1e3),r.trigger(r.EVENTS.VIEW.SCROLL.LOCK),r.trigger(r.EVENTS.VIEW.HEADER.HIDE)},hide:function(){this.$input.off(),o.killTweensOf(this.$el),o.to(this.$el,1.2,{autoAlpha:0,ease:""Power3.easeInOut"",onComplete:this.onHideComplete})},destroy:function(){this.removeEvents(),s.prototype.destroy.call(this)}})}),define(""view/pages/faq"",[""jquery"",""underscore"",""TweenMax"",""view/common/default_header_page"",""view/common/communicator"",""backbone"",""config"",""model/resize_model"",""model/loader_collection"",""model/app_model"",""route/router"",""route/nav_options"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p){""use strict"";return n.extend({initialize:function(t){n.prototype.initialize.apply(this,arguments)}})}),define(""view/common/transitioner/transitioner"",[""jquery"",""underscore"",""config"",""backbone"",""controller/app_controller"",""controller/loader_controller"",""model/app_model""],function(t,e,i,n,s,r,o,a){""use strict"";return n.View.extend({activeTransitioner:null,elementsMap:null,initialize:function(t){if(this.options=t,this.evaluateOptions(t),this.elementsMap=this.setupMapping(this.options.viewMap),this.activeTransitioner=this.options.transition,!this.activeTransitioner||!this.activeTransitioner.hasInterface())throw new Error(' Transition needs to extend ""transition_interface.js""');this.activeTransitioner.setMap(this.elementsMap),o.on(""change:page"",this.onAppModelPage,this)},evaluateOptions:function(t){var i=[""viewMap"",""transition""];e.each(i,function(t,i){if(!e.has(this.options,t))throw new Error(t+"" option not set"")},this)},setupMapping:function(t){var i={};return e.each(t,function(t,e){if(!t.className)throw new Error(""RouteObject missing options: ""+e);var n=t.className,s=this.$(t.nodeSelector||"".js-page""),r=s.parent();i[e]={element:s,parent:r,className:n}},this),i},onResize:function(t){this.activeTransitioner&&this.activeTransitioner.onResize(t)},onAppModelPage:function(t,e){this.activeTransitioner.show(e)}})}),define(""view/common/transitioner/types/transition_interface"",[""jquery"",""underscore""],function(t,e){""use strict"";var i=function(t){};return e.extend(i.prototype,{setMap:function(t){throw new Error('Please override ""setMap"" function')},onResize:function(t){throw new Error('Please override ""onResize"" function')},show:function(t){throw new Error('Please override ""show"" function')},hasInterface:function(){return!0}}),i}),define(""view/modules/page_preloader"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""TimelineMax"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({tl:null,isSetup:!1,initialize:function(t){e.bindAll(this,""destroy"",""onHideComplete"",""setupAnimations""),this.setup(),this.addEvents()},setup:function(){var e=t.parseHTML('<div class=""js-pageloader pageloader""> </div>');this.$el.append(e);var i=u.imagepreloader();this.$("".js-pageloader"").append(i),this.$ring=this.$("".js-nav__ring""),this.setElement(e)},addEvents:function(){},removeEvents:function(){},setupAnimations:function(){this.$ring=this.$("".js-nav__ring""),l.set(this.$el,{rotation:-90}),l.set(this.$ring,{drawSVG:""0% 0%""}),this.tl=new h({repeat:-1,paused:!0}),this.tl.add([l.to(this.$ring,Math.random()+1,{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,ease:""Power4.easeOut""}),l.to(this.$ring,1.5,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:1080,opacity:0,ease:""Power2.easeOut""}),l.set(this.$ring,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0})],0,""sequence"",0),this.isSetup=!0},onHideComplete:function(){this.tl.pause()},show:function(t){this.isSetup||this.setupAnimations(),l.set(this.$ring,{opacity:1});var e=t||0;l.to(this.$el,1,{autoAlpha:1,delay:e+1,force3D:!0,ease:""Sine.easeOut""}),this.tl&&this.tl.restart()},hide:function(t){var e=t||0;l.killTweensOf(this.$el),l.to(this.$el,1,{autoAlpha:0,delay:e,force3D:!0,ease:""Expo.easeOut"",onComplete:this.destroy})},destroy:function(){this.removeEvents(),this.tl&&(this.tl.pause(),this.tl.kill(),this.tl=null),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""mobile/view/modules/page_preloader"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/resize_model"",""view/common/base_view"",""view/common/communicator"",""TweenMax"",""TweenMaxSvgDraw"",""TimelineMax"",""templates/templates""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return o.extend({tl:null,isSetup:!1,initialize:function(t){e.bindAll(this,""onHideComplete"",""setupAnimations"",""destroy""),this.setup(),this.addEvents()},setup:function(){var e=t.parseHTML('<div class=""js-pageloader pageloader""> </div>');this.$el.append(e);var i=u.imagepreloader();this.$("".js-pageloader"").append(i),this.$ring=this.$("".js-nav__ring""),this.setElement(e)},addEvents:function(){},removeEvents:function(){},setupAnimations:function(){this.$ring=this.$("".js-nav__ring""),l.set(this.$("".js-imagePreloader""),{rotation:-90}),l.set(this.$ring,{drawSVG:""0% 0%""}),this.tl=new h({repeat:-1,paused:!0}),this.tl.add([l.to(this.$ring,Math.random()+1,{drawSVG:""0% 100%"",transformOrigin:""50% 50%"",rotation:360,ease:""Power4.easeOut""}),l.to(this.$ring,1.5,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:1080,opacity:0,ease:""Power2.easeOut""}),l.set(this.$ring,{drawSVG:""0% 0%"",transformOrigin:""50% 50%"",rotation:0})],0,""sequence"",0),this.isSetup=!0},disableTouchEvent:function(){t(document).bind(""touchmove"",this.preventDefault)},enableTouchEvent:function(){t(document).unbind(""touchmove"",this.preventDefault)},preventDefault:function(t){t.preventDefault()},onHideComplete:function(){this.tl.pause()},show:function(t){this.disableTouchEvent(),this.isSetup||this.setupAnimations(),l.set(this.$ring,{opacity:1});var e=t||0;l.to(this.$el,1,{autoAlpha:1,delay:e,ease:""Sine.easeOut""}),this.tl&&this.tl.restart()},hide:function(){this.enableTouchEvent(),l.to(this.$ring,.5,{opacity:0,ease:""Sine.easeInOut""}),l.to(this.$el,.5,{autoAlpha:0,delay:.3,ease:""Sine.easeOut"",onComplete:this.destroy})},destroy:function(){this.removeEvents(),t(""body"").css({overflow:""auto""}),this.tl&&(this.tl.kill(),this.tl=null),this.$el.remove(),o.prototype.destroy.call(this)}})}),define(""view/common/transitioner/types/xhr_transition"",[""jquery"",""underscore"",""config"",""backbone"",""model/app_model"",""view/common/transitioner/types/transition_interface"",""view/common/communicator"",""console"",""view/modules/page_preloader"",""mobile/view/modules/page_preloader""],function(t,e,i,n,s,r,o,a,l,c){""use strict"";var h=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,u=/^[^\/]+:/i,d=n.View.extend({currentSection:null,nextSection:null,pageURL:null,initialize:function(t){e.bindAll(this,""_onNextPageLoaded"",""_onNextPageError"",""_onNextPageBuilt""),this.pageURL=window.location.pathname,this.options=t},setMap:function(t){this.elementsMap=t},onResize:function(t){this.currentSection&&this.currentSection.onResize(t)},show:function(e){this.pageURL!==e?(this.pageURL=e,this._loadNextPage(e)):this._bindPageView(t("".js-page""),this._onNextPageBuilt)},showPageLoading:function(){this.pageLoadIndicator&&this.pageLoadIndicator.destroy(),a.log(""loading page..."");var e=t(""body"");e.length<1||(e=e[0],this.hidePageLoading(),i.MOBILE?this.pageLoadIndicator=new c:this.pageLoadIndicator=new l,t(e).append(this.pageLoadIndicator.el),this.pageLoadIndicator.show())},hidePageLoading:function(){this.pageLoadIndicator&&(this.pageLoadIndicator.hide(),this.pageLoadIndicator=null)},_loadNextPage:function(e){if(this.currentSection&&(this.showPageLoading(),this.currentSection.hide()),u.test(e))throw new Error(""Invalud URL for template loading: ""+e);t.ajax({url:e,dataType:""text""}).done(this._onNextPageLoaded).fail(this._onNextPageError)},_onNextPageLoaded:function(t){this._addTitleFromHTML(t);var e=h.exec(t);e=e?e[1]:"""",this._buildNextPage(e,this._onNextPageBuilt)},_onNextPageBuilt:function(t,e){if(t)throw t;this.nextSection=e,null!==this.currentSection?(this.currentSection.once(""hideComplete"",this.onSectionHideComplete,this),this.currentSection.hide()):this.onSectionHideComplete()},_addTitleFromHTML:function(t){var e=t.match(""<title>(.*?)</title>"");e&&e.length>=1&&(document.title=e[1])},_onNextPageError:function(t){a.error(t)},_buildNextPage:function(e,i){var n=t(e).filter(""#rootNode""),s=n.find("".js-page"");s||i(new Error(""No .js-page el found"")),this._bindPageView(s,i)},_bindPageView:function(t,e){var i=t.data(""view"");i||e(new Error(""No 'view' data attribute found on .js-page""));var n=this.elementsMap[i.toUpperCase()];n||e(new Error(""No view for ""+i));var s=n.className;if(s){new s({el:t}).bind(e)}else e(new Error(""View class not found for: ""+this.currentViewId))},onSectionHideComplete:function(){this.hidePageLoading(),this.currentSection&&(this.currentSection.destroy(),this.currentSection=null),this.nextSection&&(this.nextSection.el.parentNode!==this.el&&this.$el.empty().append(this.nextSection.el),this.nextSection.onResize(),this.nextSection.render(),o.trigger(o.EVENTS.VIEW.PAGE_CONSTRUCTED),this.nextSection.show(),this.currentSection=this.nextSection,this.nextSection=null)},onAppReady:function(){this.onSectionHideComplete()}}) | |
;return e.defaults(d.prototype,r.prototype),d}),function(){""use strict"";function t(e,n){var s;if(n=n||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=n.touchBoundary||10,this.layer=e,this.tapDelay=n.tapDelay||200,this.tapTimeout=n.tapTimeout||700,!t.notNeeded(e)){for(var r=[""onMouse"",""onClick"",""onTouchStart"",""onTouchMove"",""onTouchEnd"",""onTouchCancel""],o=this,a=0,l=r.length;a<l;a++)o[r[a]]=function(t,e){return function(){return t.apply(e,arguments)}}(o[r[a]],o);i&&(e.addEventListener(""mouseover"",this.onMouse,!0),e.addEventListener(""mousedown"",this.onMouse,!0),e.addEventListener(""mouseup"",this.onMouse,!0)),e.addEventListener(""click"",this.onClick,!0),e.addEventListener(""touchstart"",this.onTouchStart,!1),e.addEventListener(""touchmove"",this.onTouchMove,!1),e.addEventListener(""touchend"",this.onTouchEnd,!1),e.addEventListener(""touchcancel"",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,i,n){var s=Node.prototype.removeEventListener;""click""===t?s.call(e,t,i.hijacked||i,n):s.call(e,t,i,n)},e.addEventListener=function(t,i,n){var s=Node.prototype.addEventListener;""click""===t?s.call(e,t,i.hijacked||(i.hijacked=function(t){t.propagationStopped||i(t)}),n):s.call(e,t,i,n)}),""function""==typeof e.onclick&&(s=e.onclick,e.addEventListener(""click"",function(t){s(t)},!1),e.onclick=null)}}var e=navigator.userAgent.indexOf(""Windows Phone"")>=0,i=navigator.userAgent.indexOf(""Android"")>0&&!e,n=/iP(ad|hone|od)/.test(navigator.userAgent)&&!e,s=n&&/OS 4_\d(_\d)?/.test(navigator.userAgent),r=n&&/OS [6-7]_\d/.test(navigator.userAgent),o=navigator.userAgent.indexOf(""BB10"")>0;t.prototype.needsClick=function(t){switch(t.nodeName.toLowerCase()){case""button"":case""select"":case""textarea"":if(t.disabled)return!0;break;case""input"":if(n&&""file""===t.type||t.disabled)return!0;break;case""label"":case""iframe"":case""video"":return!0}return/\bneedsclick\b/.test(t.className)},t.prototype.needsFocus=function(t){switch(t.nodeName.toLowerCase()){case""textarea"":return!0;case""select"":return!i;case""input"":switch(t.type){case""button"":case""checkbox"":case""file"":case""image"":case""radio"":case""submit"":return!1}return!t.disabled&&!t.readOnly;default:return/\bneedsfocus\b/.test(t.className)}},t.prototype.sendClick=function(t,e){var i,n;document.activeElement&&document.activeElement!==t&&document.activeElement.blur(),n=e.changedTouches[0],i=document.createEvent(""MouseEvents""),i.initMouseEvent(this.determineEventType(t),!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.forwardedTouchEvent=!0,t.dispatchEvent(i)},t.prototype.determineEventType=function(t){return i&&""select""===t.tagName.toLowerCase()?""mousedown"":""click""},t.prototype.focus=function(t){var e;n&&t.setSelectionRange&&0!==t.type.indexOf(""date"")&&""time""!==t.type&&""month""!==t.type?(e=t.value.length,t.setSelectionRange(e,e)):t.focus()},t.prototype.updateScrollParent=function(t){var e,i;if(!(e=t.fastClickScrollParent)||!e.contains(t)){i=t;do{if(i.scrollHeight>i.offsetHeight){e=i,t.fastClickScrollParent=i;break}i=i.parentElement}while(i)}e&&(e.fastClickLastScrollTop=e.scrollTop)},t.prototype.getTargetElementFromEventTarget=function(t){return t.nodeType===Node.TEXT_NODE?t.parentNode:t},t.prototype.onTouchStart=function(t){var e,i,r;if(t.targetTouches.length>1)return!0;if(e=this.getTargetElementFromEventTarget(t.target),i=t.targetTouches[0],n){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!s){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return t.preventDefault(),!1;this.lastTouchIdentifier=i.identifier,this.updateScrollParent(e)}}return this.trackingClick=!0,this.trackingClickStart=t.timeStamp,this.targetElement=e,this.touchStartX=i.pageX,this.touchStartY=i.pageY,t.timeStamp-this.lastClickTime<this.tapDelay&&t.preventDefault(),!0},t.prototype.touchHasMoved=function(t){var e=t.changedTouches[0],i=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>i||Math.abs(e.pageY-this.touchStartY)>i},t.prototype.onTouchMove=function(t){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(t.target)||this.touchHasMoved(t))&&(this.trackingClick=!1,this.targetElement=null),!0)},t.prototype.findControl=function(t){return void 0!==t.control?t.control:t.htmlFor?document.getElementById(t.htmlFor):t.querySelector(""button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea"")},t.prototype.onTouchEnd=function(t){var e,o,a,l,c,h=this.targetElement;if(!this.trackingClick)return!0;if(t.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(t.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=t.timeStamp,o=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,r&&(c=t.changedTouches[0],h=document.elementFromPoint(c.pageX-window.pageXOffset,c.pageY-window.pageYOffset)||h,h.fastClickScrollParent=this.targetElement.fastClickScrollParent),""label""===(a=h.tagName.toLowerCase())){if(e=this.findControl(h)){if(this.focus(h),i)return!1;h=e}}else if(this.needsFocus(h))return t.timeStamp-o>100||n&&window.top!==window&&""input""===a?(this.targetElement=null,!1):(this.focus(h),this.sendClick(h,t),n&&""select""===a||(this.targetElement=null,t.preventDefault()),!1);return!(!n||s||!(l=h.fastClickScrollParent)||l.fastClickLastScrollTop===l.scrollTop)||(this.needsClick(h)||(t.preventDefault(),this.sendClick(h,t)),!1)},t.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},t.prototype.onMouse=function(t){return!this.targetElement||(!!t.forwardedTouchEvent||(!t.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(t.stopImmediatePropagation?t.stopImmediatePropagation():t.propagationStopped=!0,t.stopPropagation(),t.preventDefault(),!1))))},t.prototype.onClick=function(t){var e;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):""submit""===t.target.type&&0===t.detail||(e=this.onMouse(t),e||(this.targetElement=null),e)},t.prototype.destroy=function(){var t=this.layer;i&&(t.removeEventListener(""mouseover"",this.onMouse,!0),t.removeEventListener(""mousedown"",this.onMouse,!0),t.removeEventListener(""mouseup"",this.onMouse,!0)),t.removeEventListener(""click"",this.onClick,!0),t.removeEventListener(""touchstart"",this.onTouchStart,!1),t.removeEventListener(""touchmove"",this.onTouchMove,!1),t.removeEventListener(""touchend"",this.onTouchEnd,!1),t.removeEventListener(""touchcancel"",this.onTouchCancel,!1)},t.notNeeded=function(t){var e,n,s;if(void 0===window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!i)return!0;if(e=document.querySelector(""meta[name=viewport]"")){if(-1!==e.content.indexOf(""user-scalable=no""))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(o&&(s=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),s[1]>=10&&s[2]>=3&&(e=document.querySelector(""meta[name=viewport]"")))){if(-1!==e.content.indexOf(""user-scalable=no""))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return""none""===t.style.msTouchAction||""manipulation""===t.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(e=document.querySelector(""meta[name=viewport]""))&&(-1!==e.content.indexOf(""user-scalable=no"")||document.documentElement.scrollWidth<=window.outerWidth))||(""none""===t.style.touchAction||""manipulation""===t.style.touchAction))},t.attach=function(e,i){return new t(e,i)},""function""==typeof define&&""object""==typeof define.amd&&define.amd?define(""fastclick"",[],function(){return t}):""undefined""!=typeof module&&module.exports?(module.exports=t.attach,module.exports.FastClick=t):window.FastClick=t}(),define(""view/pages/learning_resources"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""view/pages/advice"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator"",""view/modules/work_in_production/in_production_item""],function(t,e,i,n,s,r,o,a,l){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""view/pages/career"",[""jquery"",""underscore"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""TweenMax"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return i.extend({initialize:function(t){e.bindAll(this,""onImageLoaded"",""onShowComplete""),i.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){},render:function(){i.prototype.render.call(this),this.$image=this.$("".js-landingImage""),this.$imageWrap=this.$("".js-landingImageWrap""),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),c.set([this.$breakout,this.$anchorArrows,this.$imageWrap],{force3D:!0}),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new h,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new u(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),c.set(this.$titlesInner,{y:""100%"",force3D:!0}),c.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),c.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===a.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,i){c.to(e,.6,{y:""0%"",delay:t+.1*i,ease:""Expo.easeOut""})}),c.to(this.$breakout,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),c.to(this.$copy,1,{opacity:1,delay:t+.4,ease:""Sine.easeInOut""}),c.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.4,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,i){c.to(e,1,{x:""0%"",delay:t+.5+.1*i,ease:""Expo.easeOut""}),c.to(e,1,{opacity:1,delay:t+.5+.1*i,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,i){c.to(e,1,{opacity:1,delay:t+.7+.1*i,ease:""Sine.easeInOut""})})},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),i.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/learning_institute"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator"",""view/modules/work_in_production/in_production_item""],function(t,e,i,n,s,r,o,a,l){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""view/pages/scholarship"",[""jquery"",""underscore"",""view/common/page_base_view"",""view/common/communicator"",""backbone"",""config"",""model/loader_collection"",""model/app_model"",""route/router"",""TweenMax"",""view/modules/image_preloader"",""TweenMaxSplitText""],function(t,e,i,n,s,r,o,a,l,c,h,u){""use strict"";return i.extend({initialize:function(t){e.bindAll(this,""onImageLoaded"",""onShowComplete""),i.prototype.initialize.apply(this,arguments),this.setup()},setup:function(){},render:function(){i.prototype.render.call(this),this.$image=this.$("".js-landingImage""),this.$imageWrap=this.$("".js-landingImageWrap""),this.$title=this.$("".js-landingTitle""),this.$copy=this.$("".js-landingCopy""),this.$breakout=this.$("".js-landingBreakout""),this.$anchorLinks=this.$("".js-anchorLink""),this.$anchorArrows=this.$("".js-anchorArrow""),c.set([this.$breakout,this.$anchorArrows,this.$imageWrap],{force3D:!0}),this.imgSrc=this.getDataByDevice(this.$imageWrap,""img-src""),this.createPreloaderView(),this.splitTitle(),this.loadImage(this.imgSrc)},createPreloaderView:function(){this.preloaderView=new h,this.$imageWrap.append(this.preloaderView.el),this.preloaderView.show()},splitTitle:function(){this.splitTitles=e.map(this.$title,function(t){return new u(t,{type:""lines"",linesClass:""js-landingTitleLines landing__titleLines""})}),this.$titlesLines=this.$("".js-landingTitleLines""),this.$titlesLines.wrapInner('<div class=""js-landingTitleInner"" />'),this.$titlesInner=this.$("".js-landingTitleInner""),c.set(this.$titlesInner,{y:""100%"",force3D:!0}),c.set(this.$title,{opacity:1})},onImageLoaded:function(){this.imgLoaded=!0,this.$image.css(""background-image"",""url(""+this.imgSrc+"")""),c.to(this.$image,1,{opacity:1,ease:""Sine.easeInOut""}),this.destroyPreloader()},onShowComplete:function(){this.splitTitles.reverse()},show:function(){var t=null===a.get(""prevpage"")?2:.3;e.each(this.$titlesInner,function(e,i){c.to(e,.6,{y:""0%"",delay:t+.1*i,ease:""Expo.easeOut""})}),c.to(this.$breakout,1,{opacity:1,delay:t+.2,ease:""Sine.easeInOut""}),c.to(this.$copy,1,{opacity:1,delay:t+.4,ease:""Sine.easeInOut""}),c.to(this.$imageWrap,2,{y:0,opacity:1,delay:t+.4,ease:""Expo.easeOut"",onComplete:this.onShowComplete}),e.each(this.$anchorLinks,function(e,i){c.to(e,1,{x:""0%"",delay:t+.5+.1*i,ease:""Expo.easeOut""}),c.to(e,1,{opacity:1,delay:t+.5+.1*i,ease:""Sine.easeInOut""})}),e.each(this.$anchorArrows,function(e,i){c.to(e,1,{opacity:1,delay:t+.7+.1*i,ease:""Sine.easeInOut""})})},hide:function(){i.prototype.hide.call(this)},destroy:function(){this.destroyPreloader(),i.prototype.destroy.call(this)},destroyPreloader:function(){this.preloaderView&&(this.preloaderView.destroy(),this.preloaderView=null)}})}),define(""view/pages/generic_page"",[""jquery"",""underscore"",""backbone"",""config"",""model/app_model"",""model/loader_collection"",""view/common/default_header_page"",""view/common/communicator""],function(t,e,i,n,s,r,o,a){""use strict"";return o.extend({initialize:function(t){o.prototype.initialize.apply(this,arguments)},render:function(){o.prototype.render.call(this)},show:function(){o.prototype.show.call(this)},hide:function(){o.prototype.hide.call(this)},destroy:function(){o.prototype.destroy.call(this)}})}),define(""view/app_view"",[""jquery"",""underscore"",""view/common/base_view"",""config"",""model/app_model"",""model/resize_model"",""view/pages/loader"",""view/pages/home"",""view/common/list_view"",""view/common/list_item_view"",""view/pages/films_and_more"",""view/pages/films_projects_view"",""view/pages/companies"",""view/pages/person"",""view/pages/people"",""view/pages/expert"",""view/pages/archive"",""view/pages/awards"",""view/pages/news"",""view/pages/careers"",""view/pages/education"",""view/pages/research"",""view/pages/work"",""view/pages/films_single_project"",""view/pages/work_in_production"",""view/pages/publications"",""view/pages/about"",""view/pages/search"",""view/pages/error"",""view/modules/preloader"",""view/modules/header"",""view/modules/search_overlay"",""view/pages/faq"",""view/common/transitioner/transitioner"",""view/common/communicator"",""view/common/transitioner/types/xhr_transition"",""fastclick"",""view/pages/learning_resources"",""view/pages/advice"",""view/pages/career"",""view/pages/learning_institute"",""view/pages/scholarship"",""view/pages/generic_page""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m,g,_,v,y,w,T,b,E,S,x,P,A,C,L,k,O,I,R,j,M,N,D,V,$,H,F,B){""use strict"";var z={};return z[s.PAGES.HOME]={className:a},z[s.PAGES.ARCHIVE]={className:g},z[s.PAGES.ARTICLES]={className:l},z[s.PAGES.ARTICLE]={className:c},z[s.PAGES.VIDEOS]={className:l},z[s.PAGES.VIDEO]={className:c},z[s.PAGES.PODCASTS]={className:l},z[s.PAGES.PODCAST]={className:c},z[s.PAGES.FILMS]={className:h},z[s.PAGES.SCHOLARSHIP]={className:F},z[s.PAGES.PROJECTS_PAGE]={className:u},z[s.PAGES.COMPANIES]={className:d},z[s.PAGES.LEARNING_RESOURCES]={className:D},z[s.PAGES.EXPERT]={className:m},z[s.PAGES.ADVICE]={className:V},z[s.PAGES.PERSON]={className:p},z[s.PAGES.PEOPLE]={className:f},z[s.PAGES.PUBLICATIONS]={className:x},z[s.PAGES.FAQ]={className:I},z[s.PAGES.AWARDS]={className:_},z[s.PAGES.NEWS]={className:v},z[s.PAGES.CAREERS]={className:y},z[s.PAGES.CAREER]={className:$},z[s.PAGES.EDUCATION]={className:w},z[s.PAGES.RESEARCH]={className:T},z[s.PAGES.RESEARCH_TECHNOLOGIES]={className:u},z[s.PAGES.RESEARCH_TECHNOLOGY_ITEM]={className:E},z[s.PAGES.WORK]={className:b},z[s.PAGES.LEARNING_INSTITUTE]={className:H},z[s.PAGES.SCHOLAR_SHIP]={className:F},z[s.PAGES.GENERIC_PAGE]={className:B},z[s.PAGES.WORK_PROJECT]={className:E},z[s.PAGES.WORK_IN_PRODUCTION]={className:S},z[s.PAGES.ABOUT]={className:P},z[s.PAGES.SEARCH]={className:A},z[s.PAGES.ERROR]={className:C},i.extend({transitionerView:null,searchOverlayView:null,headerView:null,$body:null,$rootNode:null,$header:null,initialize:function(){e.bindAll(this,""onResize""),this.setup()},setup:function(){this.$body=this.$(""body""),this.$rootNode=this.$(""#rootNode""),this.$header=this.$("".js-header""),this.$searchOverlay=this.$("".js-searchOverlay""),this.createPreloaderView(),this.createTransitionerView(),this.createHeaderView(),this.createSearchOverlayView(),this.addEvents(),n.IOS&&N.attach(document.body),n.FIREFOX&&this.$el.addClass(""firefox""),n.SAFARI&&this.$el.addClass(""safari"")},addEvents:function(){this.listenTo(r,""resize"",this.onResize),this.listenTo(s,""change:ready"",this.onAppReady)},render:function(){},createPreloaderView:function(){this.preloaderView=new L({el:this.$("".js-preloader"")})},createTransitionerView:function(){this.transitionerView=new R({el:this.$rootNode,viewMap:z,transition:new M({el:this.$rootNode})})},createHeaderView:function(){this.$("".js-headerMobile"").remove(),this.headerView=new k({el:this.$header})},createSearchOverlayView:function(){this.searchOverlayView=new O({el:this.$searchOverlay})},onResize:function(){this.firstResize||(this.firstResize=!0,this.$rootNode.removeClass(""is-hidden""));var t=r.get(""scale"");this.$el.css(""font-size"",r.BASE_SIZE.FONT*t+""px""),this.transitionerView&&this.transitionerView.onResize(),this.headerView&&this.headerView.resize()},onAppReady:function(){this.headerView&&this.headerView.show(1),this.preloaderView.hide(1),this.$body.css({overflow:""auto""})}})}),define(""main_desktop_extended"",[""jquery"",""underscore"",""config"",""route/router"",""controller/app_controller"",""controller/nav_controller"",""controller/loader_controller"",""controller/sound_controller"",""controller/resize_controller"",""controller/mouse_controller"",""controller/audio_controller"",""controller/share_controller"",""controller/keyboard_controller"",""controller/tracking_controller"",""view/app_view"",""model/app_model""],function(t,e,i,n,s,r,o,a,l,c,h,u,d,p,f,m){""use strict"";return{appView:null,start:function(){this.appView=new f({el:t(""html"")}),o.start(),n.start(),p.init(),l.onResize()}}});",false | |
http://www.stackblitz.com/,https://cdnjs.cloudflare.com/ajax/libs/typescript/2.4.1/typescript.min.js,"var __assign=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},__extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ts;!function(e){!function(e){e[e.Unknown=0]=""Unknown"",e[e.EndOfFileToken=1]=""EndOfFileToken"",e[e.SingleLineCommentTrivia=2]=""SingleLineCommentTrivia"",e[e.MultiLineCommentTrivia=3]=""MultiLineCommentTrivia"",e[e.NewLineTrivia=4]=""NewLineTrivia"",e[e.WhitespaceTrivia=5]=""WhitespaceTrivia"",e[e.ShebangTrivia=6]=""ShebangTrivia"",e[e.ConflictMarkerTrivia=7]=""ConflictMarkerTrivia"",e[e.NumericLiteral=8]=""NumericLiteral"",e[e.StringLiteral=9]=""StringLiteral"",e[e.JsxText=10]=""JsxText"",e[e.JsxTextAllWhiteSpaces=11]=""JsxTextAllWhiteSpaces"",e[e.RegularExpressionLiteral=12]=""RegularExpressionLiteral"",e[e.NoSubstitutionTemplateLiteral=13]=""NoSubstitutionTemplateLiteral"",e[e.TemplateHead=14]=""TemplateHead"",e[e.TemplateMiddle=15]=""TemplateMiddle"",e[e.TemplateTail=16]=""TemplateTail"",e[e.OpenBraceToken=17]=""OpenBraceToken"",e[e.CloseBraceToken=18]=""CloseBraceToken"",e[e.OpenParenToken=19]=""OpenParenToken"",e[e.CloseParenToken=20]=""CloseParenToken"",e[e.OpenBracketToken=21]=""OpenBracketToken"",e[e.CloseBracketToken=22]=""CloseBracketToken"",e[e.DotToken=23]=""DotToken"",e[e.DotDotDotToken=24]=""DotDotDotToken"",e[e.SemicolonToken=25]=""SemicolonToken"",e[e.CommaToken=26]=""CommaToken"",e[e.LessThanToken=27]=""LessThanToken"",e[e.LessThanSlashToken=28]=""LessThanSlashToken"",e[e.GreaterThanToken=29]=""GreaterThanToken"",e[e.LessThanEqualsToken=30]=""LessThanEqualsToken"",e[e.GreaterThanEqualsToken=31]=""GreaterThanEqualsToken"",e[e.EqualsEqualsToken=32]=""EqualsEqualsToken"",e[e.ExclamationEqualsToken=33]=""ExclamationEqualsToken"",e[e.EqualsEqualsEqualsToken=34]=""EqualsEqualsEqualsToken"",e[e.ExclamationEqualsEqualsToken=35]=""ExclamationEqualsEqualsToken"",e[e.EqualsGreaterThanToken=36]=""EqualsGreaterThanToken"",e[e.PlusToken=37]=""PlusToken"",e[e.MinusToken=38]=""MinusToken"",e[e.AsteriskToken=39]=""AsteriskToken"",e[e.AsteriskAsteriskToken=40]=""AsteriskAsteriskToken"",e[e.SlashToken=41]=""SlashToken"",e[e.PercentToken=42]=""PercentToken"",e[e.PlusPlusToken=43]=""PlusPlusToken"",e[e.MinusMinusToken=44]=""MinusMinusToken"",e[e.LessThanLessThanToken=45]=""LessThanLessThanToken"",e[e.GreaterThanGreaterThanToken=46]=""GreaterThanGreaterThanToken"",e[e.GreaterThanGreaterThanGreaterThanToken=47]=""GreaterThanGreaterThanGreaterThanToken"",e[e.AmpersandToken=48]=""AmpersandToken"",e[e.BarToken=49]=""BarToken"",e[e.CaretToken=50]=""CaretToken"",e[e.ExclamationToken=51]=""ExclamationToken"",e[e.TildeToken=52]=""TildeToken"",e[e.AmpersandAmpersandToken=53]=""AmpersandAmpersandToken"",e[e.BarBarToken=54]=""BarBarToken"",e[e.QuestionToken=55]=""QuestionToken"",e[e.ColonToken=56]=""ColonToken"",e[e.AtToken=57]=""AtToken"",e[e.EqualsToken=58]=""EqualsToken"",e[e.PlusEqualsToken=59]=""PlusEqualsToken"",e[e.MinusEqualsToken=60]=""MinusEqualsToken"",e[e.AsteriskEqualsToken=61]=""AsteriskEqualsToken"",e[e.AsteriskAsteriskEqualsToken=62]=""AsteriskAsteriskEqualsToken"",e[e.SlashEqualsToken=63]=""SlashEqualsToken"",e[e.PercentEqualsToken=64]=""PercentEqualsToken"",e[e.LessThanLessThanEqualsToken=65]=""LessThanLessThanEqualsToken"",e[e.GreaterThanGreaterThanEqualsToken=66]=""GreaterThanGreaterThanEqualsToken"",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=67]=""GreaterThanGreaterThanGreaterThanEqualsToken"",e[e.AmpersandEqualsToken=68]=""AmpersandEqualsToken"",e[e.BarEqualsToken=69]=""BarEqualsToken"",e[e.CaretEqualsToken=70]=""CaretEqualsToken"",e[e.Identifier=71]=""Identifier"",e[e.BreakKeyword=72]=""BreakKeyword"",e[e.CaseKeyword=73]=""CaseKeyword"",e[e.CatchKeyword=74]=""CatchKeyword"",e[e.ClassKeyword=75]=""ClassKeyword"",e[e.ConstKeyword=76]=""ConstKeyword"",e[e.ContinueKeyword=77]=""ContinueKeyword"",e[e.DebuggerKeyword=78]=""DebuggerKeyword"",e[e.DefaultKeyword=79]=""DefaultKeyword"",e[e.DeleteKeyword=80]=""DeleteKeyword"",e[e.DoKeyword=81]=""DoKeyword"",e[e.ElseKeyword=82]=""ElseKeyword"",e[e.EnumKeyword=83]=""EnumKeyword"",e[e.ExportKeyword=84]=""ExportKeyword"",e[e.ExtendsKeyword=85]=""ExtendsKeyword"",e[e.FalseKeyword=86]=""FalseKeyword"",e[e.FinallyKeyword=87]=""FinallyKeyword"",e[e.ForKeyword=88]=""ForKeyword"",e[e.FunctionKeyword=89]=""FunctionKeyword"",e[e.IfKeyword=90]=""IfKeyword"",e[e.ImportKeyword=91]=""ImportKeyword"",e[e.InKeyword=92]=""InKeyword"",e[e.InstanceOfKeyword=93]=""InstanceOfKeyword"",e[e.NewKeyword=94]=""NewKeyword"",e[e.NullKeyword=95]=""NullKeyword"",e[e.ReturnKeyword=96]=""ReturnKeyword"",e[e.SuperKeyword=97]=""SuperKeyword"",e[e.SwitchKeyword=98]=""SwitchKeyword"",e[e.ThisKeyword=99]=""ThisKeyword"",e[e.ThrowKeyword=100]=""ThrowKeyword"",e[e.TrueKeyword=101]=""TrueKeyword"",e[e.TryKeyword=102]=""TryKeyword"",e[e.TypeOfKeyword=103]=""TypeOfKeyword"",e[e.VarKeyword=104]=""VarKeyword"",e[e.VoidKeyword=105]=""VoidKeyword"",e[e.WhileKeyword=106]=""WhileKeyword"",e[e.WithKeyword=107]=""WithKeyword"",e[e.ImplementsKeyword=108]=""ImplementsKeyword"",e[e.InterfaceKeyword=109]=""InterfaceKeyword"",e[e.LetKeyword=110]=""LetKeyword"",e[e.PackageKeyword=111]=""PackageKeyword"",e[e.PrivateKeyword=112]=""PrivateKeyword"",e[e.ProtectedKeyword=113]=""ProtectedKeyword"",e[e.PublicKeyword=114]=""PublicKeyword"",e[e.StaticKeyword=115]=""StaticKeyword"",e[e.YieldKeyword=116]=""YieldKeyword"",e[e.AbstractKeyword=117]=""AbstractKeyword"",e[e.AsKeyword=118]=""AsKeyword"",e[e.AnyKeyword=119]=""AnyKeyword"",e[e.AsyncKeyword=120]=""AsyncKeyword"",e[e.AwaitKeyword=121]=""AwaitKeyword"",e[e.BooleanKeyword=122]=""BooleanKeyword"",e[e.ConstructorKeyword=123]=""ConstructorKeyword"",e[e.DeclareKeyword=124]=""DeclareKeyword"",e[e.GetKeyword=125]=""GetKeyword"",e[e.IsKeyword=126]=""IsKeyword"",e[e.KeyOfKeyword=127]=""KeyOfKeyword"",e[e.ModuleKeyword=128]=""ModuleKeyword"",e[e.NamespaceKeyword=129]=""NamespaceKeyword"",e[e.NeverKeyword=130]=""NeverKeyword"",e[e.ReadonlyKeyword=131]=""ReadonlyKeyword"",e[e.RequireKeyword=132]=""RequireKeyword"",e[e.NumberKeyword=133]=""NumberKeyword"",e[e.ObjectKeyword=134]=""ObjectKeyword"",e[e.SetKeyword=135]=""SetKeyword"",e[e.StringKeyword=136]=""StringKeyword"",e[e.SymbolKeyword=137]=""SymbolKeyword"",e[e.TypeKeyword=138]=""TypeKeyword"",e[e.UndefinedKeyword=139]=""UndefinedKeyword"",e[e.FromKeyword=140]=""FromKeyword"",e[e.GlobalKeyword=141]=""GlobalKeyword"",e[e.OfKeyword=142]=""OfKeyword"",e[e.QualifiedName=143]=""QualifiedName"",e[e.ComputedPropertyName=144]=""ComputedPropertyName"",e[e.TypeParameter=145]=""TypeParameter"",e[e.Parameter=146]=""Parameter"",e[e.Decorator=147]=""Decorator"",e[e.PropertySignature=148]=""PropertySignature"",e[e.PropertyDeclaration=149]=""PropertyDeclaration"",e[e.MethodSignature=150]=""MethodSignature"",e[e.MethodDeclaration=151]=""MethodDeclaration"",e[e.Constructor=152]=""Constructor"",e[e.GetAccessor=153]=""GetAccessor"",e[e.SetAccessor=154]=""SetAccessor"",e[e.CallSignature=155]=""CallSignature"",e[e.ConstructSignature=156]=""ConstructSignature"",e[e.IndexSignature=157]=""IndexSignature"",e[e.TypePredicate=158]=""TypePredicate"",e[e.TypeReference=159]=""TypeReference"",e[e.FunctionType=160]=""FunctionType"",e[e.ConstructorType=161]=""ConstructorType"",e[e.TypeQuery=162]=""TypeQuery"",e[e.TypeLiteral=163]=""TypeLiteral"",e[e.ArrayType=164]=""ArrayType"",e[e.TupleType=165]=""TupleType"",e[e.UnionType=166]=""UnionType"",e[e.IntersectionType=167]=""IntersectionType"",e[e.ParenthesizedType=168]=""ParenthesizedType"",e[e.ThisType=169]=""ThisType"",e[e.TypeOperator=170]=""TypeOperator"",e[e.IndexedAccessType=171]=""IndexedAccessType"",e[e.MappedType=172]=""MappedType"",e[e.LiteralType=173]=""LiteralType"",e[e.ObjectBindingPattern=174]=""ObjectBindingPattern"",e[e.ArrayBindingPattern=175]=""ArrayBindingPattern"",e[e.BindingElement=176]=""BindingElement"",e[e.ArrayLiteralExpression=177]=""ArrayLiteralExpression"",e[e.ObjectLiteralExpression=178]=""ObjectLiteralExpression"",e[e.PropertyAccessExpression=179]=""PropertyAccessExpression"",e[e.ElementAccessExpression=180]=""ElementAccessExpression"",e[e.CallExpression=181]=""CallExpression"",e[e.NewExpression=182]=""NewExpression"",e[e.TaggedTemplateExpression=183]=""TaggedTemplateExpression"",e[e.TypeAssertionExpression=184]=""TypeAssertionExpression"",e[e.ParenthesizedExpression=185]=""ParenthesizedExpression"",e[e.FunctionExpression=186]=""FunctionExpression"",e[e.ArrowFunction=187]=""ArrowFunction"",e[e.DeleteExpression=188]=""DeleteExpression"",e[e.TypeOfExpression=189]=""TypeOfExpression"",e[e.VoidExpression=190]=""VoidExpression"",e[e.AwaitExpression=191]=""AwaitExpression"",e[e.PrefixUnaryExpression=192]=""PrefixUnaryExpression"",e[e.PostfixUnaryExpression=193]=""PostfixUnaryExpression"",e[e.BinaryExpression=194]=""BinaryExpression"",e[e.ConditionalExpression=195]=""ConditionalExpression"",e[e.TemplateExpression=196]=""TemplateExpression"",e[e.YieldExpression=197]=""YieldExpression"",e[e.SpreadElement=198]=""SpreadElement"",e[e.ClassExpression=199]=""ClassExpression"",e[e.OmittedExpression=200]=""OmittedExpression"",e[e.ExpressionWithTypeArguments=201]=""ExpressionWithTypeArguments"",e[e.AsExpression=202]=""AsExpression"",e[e.NonNullExpression=203]=""NonNullExpression"",e[e.MetaProperty=204]=""MetaProperty"",e[e.TemplateSpan=205]=""TemplateSpan"",e[e.SemicolonClassElement=206]=""SemicolonClassElement"",e[e.Block=207]=""Block"",e[e.VariableStatement=208]=""VariableStatement"",e[e.EmptyStatement=209]=""EmptyStatement"",e[e.ExpressionStatement=210]=""ExpressionStatement"",e[e.IfStatement=211]=""IfStatement"",e[e.DoStatement=212]=""DoStatement"",e[e.WhileStatement=213]=""WhileStatement"",e[e.ForStatement=214]=""ForStatement"",e[e.ForInStatement=215]=""ForInStatement"",e[e.ForOfStatement=216]=""ForOfStatement"",e[e.ContinueStatement=217]=""ContinueStatement"",e[e.BreakStatement=218]=""BreakStatement"",e[e.ReturnStatement=219]=""ReturnStatement"",e[e.WithStatement=220]=""WithStatement"",e[e.SwitchStatement=221]=""SwitchStatement"",e[e.LabeledStatement=222]=""LabeledStatement"",e[e.ThrowStatement=223]=""ThrowStatement"",e[e.TryStatement=224]=""TryStatement"",e[e.DebuggerStatement=225]=""DebuggerStatement"",e[e.VariableDeclaration=226]=""VariableDeclaration"",e[e.VariableDeclarationList=227]=""VariableDeclarationList"",e[e.FunctionDeclaration=228]=""FunctionDeclaration"",e[e.ClassDeclaration=229]=""ClassDeclaration"",e[e.InterfaceDeclaration=230]=""InterfaceDeclaration"",e[e.TypeAliasDeclaration=231]=""TypeAliasDeclaration"",e[e.EnumDeclaration=232]=""EnumDeclaration"",e[e.ModuleDeclaration=233]=""ModuleDeclaration"",e[e.ModuleBlock=234]=""ModuleBlock"",e[e.CaseBlock=235]=""CaseBlock"",e[e.NamespaceExportDeclaration=236]=""NamespaceExportDeclaration"",e[e.ImportEqualsDeclaration=237]=""ImportEqualsDeclaration"",e[e.ImportDeclaration=238]=""ImportDeclaration"",e[e.ImportClause=239]=""ImportClause"",e[e.NamespaceImport=240]=""NamespaceImport"",e[e.NamedImports=241]=""NamedImports"",e[e.ImportSpecifier=242]=""ImportSpecifier"",e[e.ExportAssignment=243]=""ExportAssignment"",e[e.ExportDeclaration=244]=""ExportDeclaration"",e[e.NamedExports=245]=""NamedExports"",e[e.ExportSpecifier=246]=""ExportSpecifier"",e[e.MissingDeclaration=247]=""MissingDeclaration"",e[e.ExternalModuleReference=248]=""ExternalModuleReference"",e[e.JsxElement=249]=""JsxElement"",e[e.JsxSelfClosingElement=250]=""JsxSelfClosingElement"",e[e.JsxOpeningElement=251]=""JsxOpeningElement"",e[e.JsxClosingElement=252]=""JsxClosingElement"",e[e.JsxAttribute=253]=""JsxAttribute"",e[e.JsxAttributes=254]=""JsxAttributes"",e[e.JsxSpreadAttribute=255]=""JsxSpreadAttribute"",e[e.JsxExpression=256]=""JsxExpression"",e[e.CaseClause=257]=""CaseClause"",e[e.DefaultClause=258]=""DefaultClause"",e[e.HeritageClause=259]=""HeritageClause"",e[e.CatchClause=260]=""CatchClause"",e[e.PropertyAssignment=261]=""PropertyAssignment"",e[e.ShorthandPropertyAssignment=262]=""ShorthandPropertyAssignment"",e[e.SpreadAssignment=263]=""SpreadAssignment"",e[e.EnumMember=264]=""EnumMember"",e[e.SourceFile=265]=""SourceFile"",e[e.Bundle=266]=""Bundle"",e[e.JSDocTypeExpression=267]=""JSDocTypeExpression"",e[e.JSDocAllType=268]=""JSDocAllType"",e[e.JSDocUnknownType=269]=""JSDocUnknownType"",e[e.JSDocArrayType=270]=""JSDocArrayType"",e[e.JSDocUnionType=271]=""JSDocUnionType"",e[e.JSDocTupleType=272]=""JSDocTupleType"",e[e.JSDocNullableType=273]=""JSDocNullableType"",e[e.JSDocNonNullableType=274]=""JSDocNonNullableType"",e[e.JSDocRecordType=275]=""JSDocRecordType"",e[e.JSDocRecordMember=276]=""JSDocRecordMember"",e[e.JSDocTypeReference=277]=""JSDocTypeReference"",e[e.JSDocOptionalType=278]=""JSDocOptionalType"",e[e.JSDocFunctionType=279]=""JSDocFunctionType"",e[e.JSDocVariadicType=280]=""JSDocVariadicType"",e[e.JSDocConstructorType=281]=""JSDocConstructorType"",e[e.JSDocThisType=282]=""JSDocThisType"",e[e.JSDocComment=283]=""JSDocComment"",e[e.JSDocTag=284]=""JSDocTag"",e[e.JSDocAugmentsTag=285]=""JSDocAugmentsTag"",e[e.JSDocClassTag=286]=""JSDocClassTag"",e[e.JSDocParameterTag=287]=""JSDocParameterTag"",e[e.JSDocReturnTag=288]=""JSDocReturnTag"",e[e.JSDocTypeTag=289]=""JSDocTypeTag"",e[e.JSDocTemplateTag=290]=""JSDocTemplateTag"",e[e.JSDocTypedefTag=291]=""JSDocTypedefTag"",e[e.JSDocPropertyTag=292]=""JSDocPropertyTag"",e[e.JSDocTypeLiteral=293]=""JSDocTypeLiteral"",e[e.JSDocLiteralType=294]=""JSDocLiteralType"",e[e.SyntaxList=295]=""SyntaxList"",e[e.NotEmittedStatement=296]=""NotEmittedStatement"",e[e.PartiallyEmittedExpression=297]=""PartiallyEmittedExpression"",e[e.CommaListExpression=298]=""CommaListExpression"",e[e.MergeDeclarationMarker=299]=""MergeDeclarationMarker"",e[e.EndOfDeclarationMarker=300]=""EndOfDeclarationMarker"",e[e.Count=301]=""Count"",e[e.FirstAssignment=58]=""FirstAssignment"",e[e.LastAssignment=70]=""LastAssignment"",e[e.FirstCompoundAssignment=59]=""FirstCompoundAssignment"",e[e.LastCompoundAssignment=70]=""LastCompoundAssignment"",e[e.FirstReservedWord=72]=""FirstReservedWord"",e[e.LastReservedWord=107]=""LastReservedWord"",e[e.FirstKeyword=72]=""FirstKeyword"",e[e.LastKeyword=142]=""LastKeyword"",e[e.FirstFutureReservedWord=108]=""FirstFutureReservedWord"",e[e.LastFutureReservedWord=116]=""LastFutureReservedWord"",e[e.FirstTypeNode=158]=""FirstTypeNode"",e[e.LastTypeNode=173]=""LastTypeNode"",e[e.FirstPunctuation=17]=""FirstPunctuation"",e[e.LastPunctuation=70]=""LastPunctuation"",e[e.FirstToken=0]=""FirstToken"",e[e.LastToken=142]=""LastToken"",e[e.FirstTriviaToken=2]=""FirstTriviaToken"",e[e.LastTriviaToken=7]=""LastTriviaToken"",e[e.FirstLiteralToken=8]=""FirstLiteralToken"",e[e.LastLiteralToken=13]=""LastLiteralToken"",e[e.FirstTemplateToken=13]=""FirstTemplateToken"",e[e.LastTemplateToken=16]=""LastTemplateToken"",e[e.FirstBinaryOperator=27]=""FirstBinaryOperator"",e[e.LastBinaryOperator=70]=""LastBinaryOperator"",e[e.FirstNode=143]=""FirstNode"",e[e.FirstJSDocNode=267]=""FirstJSDocNode"",e[e.LastJSDocNode=294]=""LastJSDocNode"",e[e.FirstJSDocTagNode=284]=""FirstJSDocTagNode"",e[e.LastJSDocTagNode=294]=""LastJSDocTagNode""}(e.SyntaxKind||(e.SyntaxKind={}));!function(e){e[e.None=0]=""None"",e[e.Let=1]=""Let"",e[e.Const=2]=""Const"",e[e.NestedNamespace=4]=""NestedNamespace"",e[e.Synthesized=8]=""Synthesized"",e[e.Namespace=16]=""Namespace"",e[e.ExportContext=32]=""ExportContext"",e[e.ContainsThis=64]=""ContainsThis"",e[e.HasImplicitReturn=128]=""HasImplicitReturn"",e[e.HasExplicitReturn=256]=""HasExplicitReturn"",e[e.GlobalAugmentation=512]=""GlobalAugmentation"",e[e.HasAsyncFunctions=1024]=""HasAsyncFunctions"",e[e.DisallowInContext=2048]=""DisallowInContext"",e[e.YieldContext=4096]=""YieldContext"",e[e.DecoratorContext=8192]=""DecoratorContext"",e[e.AwaitContext=16384]=""AwaitContext"",e[e.ThisNodeHasError=32768]=""ThisNodeHasError"",e[e.JavaScriptFile=65536]=""JavaScriptFile"",e[e.ThisNodeOrAnySubNodesHasError=131072]=""ThisNodeOrAnySubNodesHasError"",e[e.HasAggregatedChildData=262144]=""HasAggregatedChildData"",e[e.PossiblyContainsDynamicImport=524288]=""PossiblyContainsDynamicImport"",e[e.BlockScoped=3]=""BlockScoped"",e[e.ReachabilityCheckFlags=384]=""ReachabilityCheckFlags"",e[e.ReachabilityAndEmitFlags=1408]=""ReachabilityAndEmitFlags"",e[e.ContextFlags=96256]=""ContextFlags"",e[e.TypeExcludesFlags=20480]=""TypeExcludesFlags""}(e.NodeFlags||(e.NodeFlags={}));!function(e){e[e.None=0]=""None"",e[e.Export=1]=""Export"",e[e.Ambient=2]=""Ambient"",e[e.Public=4]=""Public"",e[e.Private=8]=""Private"",e[e.Protected=16]=""Protected"",e[e.Static=32]=""Static"",e[e.Readonly=64]=""Readonly"",e[e.Abstract=128]=""Abstract"",e[e.Async=256]=""Async"",e[e.Default=512]=""Default"",e[e.Const=2048]=""Const"",e[e.HasComputedFlags=536870912]=""HasComputedFlags"",e[e.AccessibilityModifier=28]=""AccessibilityModifier"",e[e.ParameterPropertyModifier=92]=""ParameterPropertyModifier"",e[e.NonPublicAccessibilityModifier=24]=""NonPublicAccessibilityModifier"",e[e.TypeScriptModifier=2270]=""TypeScriptModifier"",e[e.ExportDefault=513]=""ExportDefault""}(e.ModifierFlags||(e.ModifierFlags={}));!function(e){e[e.None=0]=""None"",e[e.IntrinsicNamedElement=1]=""IntrinsicNamedElement"",e[e.IntrinsicIndexedElement=2]=""IntrinsicIndexedElement"",e[e.IntrinsicElement=3]=""IntrinsicElement""}(e.JsxFlags||(e.JsxFlags={}));!function(e){e[e.Succeeded=1]=""Succeeded"",e[e.Failed=2]=""Failed"",e[e.FailedAndReported=3]=""FailedAndReported""}(e.RelationComparisonResult||(e.RelationComparisonResult={}));!function(e){e[e.None=0]=""None"",e[e.Auto=1]=""Auto"",e[e.Loop=2]=""Loop"",e[e.Unique=3]=""Unique"",e[e.Node=4]=""Node""}(e.GeneratedIdentifierKind||(e.GeneratedIdentifierKind={}));!function(e){e[e.None=0]=""None"",e[e.Scientific=2]=""Scientific"",e[e.Octal=4]=""Octal"",e[e.HexSpecifier=8]=""HexSpecifier"",e[e.BinarySpecifier=16]=""BinarySpecifier"",e[e.OctalSpecifier=32]=""OctalSpecifier"",e[e.BinaryOrOctalSpecifier=48]=""BinaryOrOctalSpecifier""}(e.NumericLiteralFlags||(e.NumericLiteralFlags={}));!function(e){e[e.Unreachable=1]=""Unreachable"",e[e.Start=2]=""Start"",e[e.BranchLabel=4]=""BranchLabel"",e[e.LoopLabel=8]=""LoopLabel"",e[e.Assignment=16]=""Assignment"",e[e.TrueCondition=32]=""TrueCondition"",e[e.FalseCondition=64]=""FalseCondition"",e[e.SwitchClause=128]=""SwitchClause"",e[e.ArrayMutation=256]=""ArrayMutation"",e[e.Referenced=512]=""Referenced"",e[e.Shared=1024]=""Shared"",e[e.PreFinally=2048]=""PreFinally"",e[e.AfterFinally=4096]=""AfterFinally"",e[e.Label=12]=""Label"",e[e.Condition=96]=""Condition""}(e.FlowFlags||(e.FlowFlags={}));var t=function(){return function(){}}();e.OperationCanceledException=t;!function(e){e[e.Not=0]=""Not"",e[e.SafeModules=1]=""SafeModules"",e[e.Completely=2]=""Completely""}(e.StructureIsReused||(e.StructureIsReused={}));!function(e){e[e.Success=0]=""Success"",e[e.DiagnosticsPresent_OutputsSkipped=1]=""DiagnosticsPresent_OutputsSkipped"",e[e.DiagnosticsPresent_OutputsGenerated=2]=""DiagnosticsPresent_OutputsGenerated""}(e.ExitStatus||(e.ExitStatus={}));!function(e){e[e.None=0]=""None"",e[e.NoTruncation=1]=""NoTruncation"",e[e.WriteArrayAsGenericType=2]=""WriteArrayAsGenericType"",e[e.WriteTypeArgumentsOfSignature=32]=""WriteTypeArgumentsOfSignature"",e[e.UseFullyQualifiedType=64]=""UseFullyQualifiedType"",e[e.SuppressAnyReturnType=256]=""SuppressAnyReturnType"",e[e.WriteTypeParametersInQualifiedName=512]=""WriteTypeParametersInQualifiedName"",e[e.AllowThisInObjectLiteral=1024]=""AllowThisInObjectLiteral"",e[e.AllowQualifedNameInPlaceOfIdentifier=2048]=""AllowQualifedNameInPlaceOfIdentifier"",e[e.AllowAnonymousIdentifier=8192]=""AllowAnonymousIdentifier"",e[e.AllowEmptyUnionOrIntersection=16384]=""AllowEmptyUnionOrIntersection"",e[e.AllowEmptyTuple=32768]=""AllowEmptyTuple"",e[e.IgnoreErrors=60416]=""IgnoreErrors"",e[e.InObjectTypeLiteral=1048576]=""InObjectTypeLiteral"",e[e.InTypeAlias=8388608]=""InTypeAlias""}(e.NodeBuilderFlags||(e.NodeBuilderFlags={}));!function(e){e[e.None=0]=""None"",e[e.WriteArrayAsGenericType=1]=""WriteArrayAsGenericType"",e[e.UseTypeOfFunction=4]=""UseTypeOfFunction"",e[e.NoTruncation=8]=""NoTruncation"",e[e.WriteArrowStyleSignature=16]=""WriteArrowStyleSignature"",e[e.WriteOwnNameForAnyLike=32]=""WriteOwnNameForAnyLike"",e[e.WriteTypeArgumentsOfSignature=64]=""WriteTypeArgumentsOfSignature"",e[e.InElementType=128]=""InElementType"",e[e.UseFullyQualifiedType=256]=""UseFullyQualifiedType"",e[e.InFirstTypeArgument=512]=""InFirstTypeArgument"",e[e.InTypeAlias=1024]=""InTypeAlias"",e[e.UseTypeAliasValue=2048]=""UseTypeAliasValue"",e[e.SuppressAnyReturnType=4096]=""SuppressAnyReturnType"",e[e.AddUndefined=8192]=""AddUndefined"",e[e.WriteClassExpressionAsTypeLiteral=16384]=""WriteClassExpressionAsTypeLiteral""}(e.TypeFormatFlags||(e.TypeFormatFlags={}));!function(e){e[e.None=0]=""None"",e[e.WriteTypeParametersOrArguments=1]=""WriteTypeParametersOrArguments"",e[e.UseOnlyExternalAliasing=2]=""UseOnlyExternalAliasing""}(e.SymbolFormatFlags||(e.SymbolFormatFlags={}));!function(e){e[e.Accessible=0]=""Accessible"",e[e.NotAccessible=1]=""NotAccessible"",e[e.CannotBeNamed=2]=""CannotBeNamed""}(e.SymbolAccessibility||(e.SymbolAccessibility={}));!function(e){e[e.UnionOrIntersection=0]=""UnionOrIntersection"",e[e.Spread=1]=""Spread""}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={}));!function(e){e[e.This=0]=""This"",e[e.Identifier=1]=""Identifier""}(e.TypePredicateKind||(e.TypePredicateKind={}));!function(e){e[e.Unknown=0]=""Unknown"",e[e.TypeWithConstructSignatureAndValue=1]=""TypeWithConstructSignatureAndValue"",e[e.VoidNullableOrNeverType=2]=""VoidNullableOrNeverType"",e[e.NumberLikeType=3]=""NumberLikeType"",e[e.StringLikeType=4]=""StringLikeType"",e[e.BooleanType=5]=""BooleanType"",e[e.ArrayLikeType=6]=""ArrayLikeType"",e[e.ESSymbolType=7]=""ESSymbolType"",e[e.Promise=8]=""Promise"",e[e.TypeWithCallSignature=9]=""TypeWithCallSignature"",e[e.ObjectType=10]=""ObjectType""}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={}));!function(e){e[e.None=0]=""None"",e[e.FunctionScopedVariable=1]=""FunctionScopedVariable"",e[e.BlockScopedVariable=2]=""BlockScopedVariable"",e[e.Property=4]=""Property"",e[e.EnumMember=8]=""EnumMember"",e[e.Function=16]=""Function"",e[e.Class=32]=""Class"",e[e.Interface=64]=""Interface"",e[e.ConstEnum=128]=""ConstEnum"",e[e.RegularEnum=256]=""RegularEnum"",e[e.ValueModule=512]=""ValueModule"",e[e.NamespaceModule=1024]=""NamespaceModule"",e[e.TypeLiteral=2048]=""TypeLiteral"",e[e.ObjectLiteral=4096]=""ObjectLiteral"",e[e.Method=8192]=""Method"",e[e.Constructor=16384]=""Constructor"",e[e.GetAccessor=32768]=""GetAccessor"",e[e.SetAccessor=65536]=""SetAccessor"",e[e.Signature=131072]=""Signature"",e[e.TypeParameter=262144]=""TypeParameter"",e[e.TypeAlias=524288]=""TypeAlias"",e[e.ExportValue=1048576]=""ExportValue"",e[e.ExportType=2097152]=""ExportType"",e[e.ExportNamespace=4194304]=""ExportNamespace"",e[e.Alias=8388608]=""Alias"",e[e.Prototype=16777216]=""Prototype"",e[e.ExportStar=33554432]=""ExportStar"",e[e.Optional=67108864]=""Optional"",e[e.Transient=134217728]=""Transient"",e[e.Enum=384]=""Enum"",e[e.Variable=3]=""Variable"",e[e.Value=107455]=""Value"",e[e.Type=793064]=""Type"",e[e.Namespace=1920]=""Namespace"",e[e.Module=1536]=""Module"",e[e.Accessor=98304]=""Accessor"",e[e.FunctionScopedVariableExcludes=107454]=""FunctionScopedVariableExcludes"",e[e.BlockScopedVariableExcludes=107455]=""BlockScopedVariableExcludes"",e[e.ParameterExcludes=107455]=""ParameterExcludes"",e[e.PropertyExcludes=0]=""PropertyExcludes"",e[e.EnumMemberExcludes=900095]=""EnumMemberExcludes"",e[e.FunctionExcludes=106927]=""FunctionExcludes"",e[e.ClassExcludes=899519]=""ClassExcludes"",e[e.InterfaceExcludes=792968]=""InterfaceExcludes"",e[e.RegularEnumExcludes=899327]=""RegularEnumExcludes"",e[e.ConstEnumExcludes=899967]=""ConstEnumExcludes"",e[e.ValueModuleExcludes=106639]=""ValueModuleExcludes"",e[e.NamespaceModuleExcludes=0]=""NamespaceModuleExcludes"",e[e.MethodExcludes=99263]=""MethodExcludes"",e[e.GetAccessorExcludes=41919]=""GetAccessorExcludes"",e[e.SetAccessorExcludes=74687]=""SetAccessorExcludes"",e[e.TypeParameterExcludes=530920]=""TypeParameterExcludes"",e[e.TypeAliasExcludes=793064]=""TypeAliasExcludes"",e[e.AliasExcludes=8388608]=""AliasExcludes"",e[e.ModuleMember=8914931]=""ModuleMember"",e[e.ExportHasLocal=944]=""ExportHasLocal"",e[e.HasExports=1952]=""HasExports"",e[e.HasMembers=6240]=""HasMembers"",e[e.BlockScoped=418]=""BlockScoped"",e[e.PropertyOrAccessor=98308]=""PropertyOrAccessor"",e[e.Export=7340032]=""Export"",e[e.ClassMember=106500]=""ClassMember"",e[e.Classifiable=788448]=""Classifiable""}(e.SymbolFlags||(e.SymbolFlags={}));!function(e){e[e.Numeric=0]=""Numeric"",e[e.Literal=1]=""Literal""}(e.EnumKind||(e.EnumKind={}));!function(e){e[e.Instantiated=1]=""Instantiated"",e[e.SyntheticProperty=2]=""SyntheticProperty"",e[e.SyntheticMethod=4]=""SyntheticMethod"",e[e.Readonly=8]=""Readonly"",e[e.Partial=16]=""Partial"",e[e.HasNonUniformType=32]=""HasNonUniformType"",e[e.ContainsPublic=64]=""ContainsPublic"",e[e.ContainsProtected=128]=""ContainsProtected"",e[e.ContainsPrivate=256]=""ContainsPrivate"",e[e.ContainsStatic=512]=""ContainsStatic"",e[e.Synthetic=6]=""Synthetic""}(e.CheckFlags||(e.CheckFlags={}));!function(e){e[e.TypeChecked=1]=""TypeChecked"",e[e.LexicalThis=2]=""LexicalThis"",e[e.CaptureThis=4]=""CaptureThis"",e[e.CaptureNewTarget=8]=""CaptureNewTarget"",e[e.SuperInstance=256]=""SuperInstance"",e[e.SuperStatic=512]=""SuperStatic"",e[e.ContextChecked=1024]=""ContextChecked"",e[e.AsyncMethodWithSuper=2048]=""AsyncMethodWithSuper"",e[e.AsyncMethodWithSuperBinding=4096]=""AsyncMethodWithSuperBinding"",e[e.CaptureArguments=8192]=""CaptureArguments"",e[e.EnumValuesComputed=16384]=""EnumValuesComputed"",e[e.LexicalModuleMergesWithClass=32768]=""LexicalModuleMergesWithClass"",e[e.LoopWithCapturedBlockScopedBinding=65536]=""LoopWithCapturedBlockScopedBinding"",e[e.CapturedBlockScopedBinding=131072]=""CapturedBlockScopedBinding"",e[e.BlockScopedBindingInLoop=262144]=""BlockScopedBindingInLoop"",e[e.ClassWithBodyScopedClassBinding=524288]=""ClassWithBodyScopedClassBinding"",e[e.BodyScopedClassBinding=1048576]=""BodyScopedClassBinding"",e[e.NeedsLoopOutParameter=2097152]=""NeedsLoopOutParameter"",e[e.AssignmentsMarked=4194304]=""AssignmentsMarked"",e[e.ClassWithConstructorReference=8388608]=""ClassWithConstructorReference"",e[e.ConstructorReferenceInClass=16777216]=""ConstructorReferenceInClass""}(e.NodeCheckFlags||(e.NodeCheckFlags={}));!function(e){e[e.Any=1]=""Any"",e[e.String=2]=""String"",e[e.Number=4]=""Number"",e[e.Boolean=8]=""Boolean"",e[e.Enum=16]=""Enum"",e[e.StringLiteral=32]=""StringLiteral"",e[e.NumberLiteral=64]=""NumberLiteral"",e[e.BooleanLiteral=128]=""BooleanLiteral"",e[e.EnumLiteral=256]=""EnumLiteral"",e[e.ESSymbol=512]=""ESSymbol"",e[e.Void=1024]=""Void"",e[e.Undefined=2048]=""Undefined"",e[e.Null=4096]=""Null"",e[e.Never=8192]=""Never"",e[e.TypeParameter=16384]=""TypeParameter"",e[e.Object=32768]=""Object"",e[e.Union=65536]=""Union"",e[e.Intersection=131072]=""Intersection"",e[e.Index=262144]=""Index"",e[e.IndexedAccess=524288]=""IndexedAccess"",e[e.FreshLiteral=1048576]=""FreshLiteral"",e[e.ContainsWideningType=2097152]=""ContainsWideningType"",e[e.ContainsObjectLiteral=4194304]=""ContainsObjectLiteral"",e[e.ContainsAnyFunctionType=8388608]=""ContainsAnyFunctionType"",e[e.NonPrimitive=16777216]=""NonPrimitive"",e[e.JsxAttributes=33554432]=""JsxAttributes"",e[e.Nullable=6144]=""Nullable"",e[e.Literal=224]=""Literal"",e[e.StringOrNumberLiteral=96]=""StringOrNumberLiteral"",e[e.DefinitelyFalsy=7392]=""DefinitelyFalsy"",e[e.PossiblyFalsy=7406]=""PossiblyFalsy"",e[e.Intrinsic=16793231]=""Intrinsic"",e[e.Primitive=8190]=""Primitive"",e[e.StringLike=262178]=""StringLike"",e[e.NumberLike=84]=""NumberLike"",e[e.BooleanLike=136]=""BooleanLike"",e[e.EnumLike=272]=""EnumLike"",e[e.UnionOrIntersection=196608]=""UnionOrIntersection"",e[e.StructuredType=229376]=""StructuredType"",e[e.StructuredOrTypeVariable=1032192]=""StructuredOrTypeVariable"",e[e.TypeVariable=540672]=""TypeVariable"",e[e.Narrowable=17810175]=""Narrowable"",e[e.NotUnionOrUnit=16810497]=""NotUnionOrUnit"",e[e.RequiresWidening=6291456]=""RequiresWidening"",e[e.PropagatingFlags=14680064]=""PropagatingFlags""}(e.TypeFlags||(e.TypeFlags={}));!function(e){e[e.Class=1]=""Class"",e[e.Interface=2]=""Interface"",e[e.Reference=4]=""Reference"",e[e.Tuple=8]=""Tuple"",e[e.Anonymous=16]=""Anonymous"",e[e.Mapped=32]=""Mapped"",e[e.Instantiated=64]=""Instantiated"",e[e.ObjectLiteral=128]=""ObjectLiteral"",e[e.EvolvingArray=256]=""EvolvingArray"",e[e.ObjectLiteralPatternWithComputedProperties=512]=""ObjectLiteralPatternWithComputedProperties"",e[e.ClassOrInterface=3]=""ClassOrInterface""}(e.ObjectFlags||(e.ObjectFlags={}));!function(e){e[e.Call=0]=""Call"",e[e.Construct=1]=""Construct""}(e.SignatureKind||(e.SignatureKind={}));!function(e){e[e.String=0]=""String"",e[e.Number=1]=""Number""}(e.IndexKind||(e.IndexKind={}));!function(e){e[e.NakedTypeVariable=1]=""NakedTypeVariable"",e[e.MappedType=2]=""MappedType"",e[e.ReturnType=4]=""ReturnType""}(e.InferencePriority||(e.InferencePriority={}));!function(e){e[e.InferUnionTypes=1]=""InferUnionTypes"",e[e.NoDefault=2]=""NoDefault"",e[e.AnyDefault=4]=""AnyDefault""}(e.InferenceFlags||(e.InferenceFlags={}));!function(e){e[e.None=0]=""None"",e[e.ExportsProperty=1]=""ExportsProperty"",e[e.ModuleExports=2]=""ModuleExports"",e[e.PrototypeProperty=3]=""PrototypeProperty"",e[e.ThisProperty=4]=""ThisProperty"",e[e.Property=5]=""Property""}(e.SpecialPropertyAssignmentKind||(e.SpecialPropertyAssignmentKind={}));!function(e){e[e.Warning=0]=""Warning"",e[e.Error=1]=""Error"",e[e.Message=2]=""Message""}(e.DiagnosticCategory||(e.DiagnosticCategory={}));!function(e){e[e.Classic=1]=""Classic"",e[e.NodeJs=2]=""NodeJs""}(e.ModuleResolutionKind||(e.ModuleResolutionKind={}));!function(e){e[e.None=0]=""None"",e[e.CommonJS=1]=""CommonJS"",e[e.AMD=2]=""AMD"",e[e.UMD=3]=""UMD"",e[e.System=4]=""System"",e[e.ES2015=5]=""ES2015"",e[e.ESNext=6]=""ESNext""}(e.ModuleKind||(e.ModuleKind={}));!function(e){e[e.None=0]=""None"",e[e.Preserve=1]=""Preserve"",e[e.React=2]=""React"",e[e.ReactNative=3]=""ReactNative""}(e.JsxEmit||(e.JsxEmit={}));!function(e){e[e.CarriageReturnLineFeed=0]=""CarriageReturnLineFeed"",e[e.LineFeed=1]=""LineFeed""}(e.NewLineKind||(e.NewLineKind={}));!function(e){e[e.Unknown=0]=""Unknown"",e[e.JS=1]=""JS"",e[e.JSX=2]=""JSX"",e[e.TS=3]=""TS"",e[e.TSX=4]=""TSX"",e[e.External=5]=""External""}(e.ScriptKind||(e.ScriptKind={}));!function(e){e[e.ES3=0]=""ES3"",e[e.ES5=1]=""ES5"",e[e.ES2015=2]=""ES2015"",e[e.ES2016=3]=""ES2016"",e[e.ES2017=4]=""ES2017"",e[e.ESNext=5]=""ESNext"",e[e.Latest=5]=""Latest""}(e.ScriptTarget||(e.ScriptTarget={}));!function(e){e[e.Standard=0]=""Standard"",e[e.JSX=1]=""JSX""}(e.LanguageVariant||(e.LanguageVariant={}));!function(e){e[e.Simple=0]=""Simple"",e[e.Pretty=1]=""Pretty""}(e.DiagnosticStyle||(e.DiagnosticStyle={}));!function(e){e[e.None=0]=""None"",e[e.Recursive=1]=""Recursive""}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={}));!function(e){e[e.nullCharacter=0]=""nullCharacter"",e[e.maxAsciiCharacter=127]=""maxAsciiCharacter"",e[e.lineFeed=10]=""lineFeed"",e[e.carriageReturn=13]=""carriageReturn"",e[e.lineSeparator=8232]=""lineSeparator"",e[e.paragraphSeparator=8233]=""paragraphSeparator"",e[e.nextLine=133]=""nextLine"",e[e.space=32]=""space"",e[e.nonBreakingSpace=160]=""nonBreakingSpace"",e[e.enQuad=8192]=""enQuad"",e[e.emQuad=8193]=""emQuad"",e[e.enSpace=8194]=""enSpace"",e[e.emSpace=8195]=""emSpace"",e[e.threePerEmSpace=8196]=""threePerEmSpace"",e[e.fourPerEmSpace=8197]=""fourPerEmSpace"",e[e.sixPerEmSpace=8198]=""sixPerEmSpace"",e[e.figureSpace=8199]=""figureSpace"",e[e.punctuationSpace=8200]=""punctuationSpace"",e[e.thinSpace=8201]=""thinSpace"",e[e.hairSpace=8202]=""hairSpace"",e[e.zeroWidthSpace=8203]=""zeroWidthSpace"",e[e.narrowNoBreakSpace=8239]=""narrowNoBreakSpace"",e[e.ideographicSpace=12288]=""ideographicSpace"",e[e.mathematicalSpace=8287]=""mathematicalSpace"",e[e.ogham=5760]=""ogham"",e[e._=95]=""_"",e[e.$=36]=""$"",e[e._0=48]=""_0"",e[e._1=49]=""_1"",e[e._2=50]=""_2"",e[e._3=51]=""_3"",e[e._4=52]=""_4"",e[e._5=53]=""_5"",e[e._6=54]=""_6"",e[e._7=55]=""_7"",e[e._8=56]=""_8"",e[e._9=57]=""_9"",e[e.a=97]=""a"",e[e.b=98]=""b"",e[e.c=99]=""c"",e[e.d=100]=""d"",e[e.e=101]=""e"",e[e.f=102]=""f"",e[e.g=103]=""g"",e[e.h=104]=""h"",e[e.i=105]=""i"",e[e.j=106]=""j"",e[e.k=107]=""k"",e[e.l=108]=""l"",e[e.m=109]=""m"",e[e.n=110]=""n"",e[e.o=111]=""o"",e[e.p=112]=""p"",e[e.q=113]=""q"",e[e.r=114]=""r"",e[e.s=115]=""s"",e[e.t=116]=""t"",e[e.u=117]=""u"",e[e.v=118]=""v"",e[e.w=119]=""w"",e[e.x=120]=""x"",e[e.y=121]=""y"",e[e.z=122]=""z"",e[e.A=65]=""A"",e[e.B=66]=""B"",e[e.C=67]=""C"",e[e.D=68]=""D"",e[e.E=69]=""E"",e[e.F=70]=""F"",e[e.G=71]=""G"",e[e.H=72]=""H"",e[e.I=73]=""I"",e[e.J=74]=""J"",e[e.K=75]=""K"",e[e.L=76]=""L"",e[e.M=77]=""M"",e[e.N=78]=""N"",e[e.O=79]=""O"",e[e.P=80]=""P"",e[e.Q=81]=""Q"",e[e.R=82]=""R"",e[e.S=83]=""S"",e[e.T=84]=""T"",e[e.U=85]=""U"",e[e.V=86]=""V"",e[e.W=87]=""W"",e[e.X=88]=""X"",e[e.Y=89]=""Y"",e[e.Z=90]=""Z"",e[e.ampersand=38]=""ampersand"",e[e.asterisk=42]=""asterisk"",e[e.at=64]=""at"",e[e.backslash=92]=""backslash"",e[e.backtick=96]=""backtick"",e[e.bar=124]=""bar"",e[e.caret=94]=""caret"",e[e.closeBrace=125]=""closeBrace"",e[e.closeBracket=93]=""closeBracket"",e[e.closeParen=41]=""closeParen"",e[e.colon=58]=""colon"",e[e.comma=44]=""comma"",e[e.dot=46]=""dot"",e[e.doubleQuote=34]=""doubleQuote"",e[e.equals=61]=""equals"",e[e.exclamation=33]=""exclamation"",e[e.greaterThan=62]=""greaterThan"",e[e.hash=35]=""hash"",e[e.lessThan=60]=""lessThan"",e[e.minus=45]=""minus"",e[e.openBrace=123]=""openBrace"",e[e.openBracket=91]=""openBracket"",e[e.openParen=40]=""openParen"",e[e.percent=37]=""percent"",e[e.plus=43]=""plus"",e[e.question=63]=""question"",e[e.semicolon=59]=""semicolon"",e[e.singleQuote=39]=""singleQuote"",e[e.slash=47]=""slash"",e[e.tilde=126]=""tilde"",e[e.backspace=8]=""backspace"",e[e.formFeed=12]=""formFeed"",e[e.byteOrderMark=65279]=""byteOrderMark"",e[e.tab=9]=""tab"",e[e.verticalTab=11]=""verticalTab""}(e.CharacterCodes||(e.CharacterCodes={}));!function(e){e[e.Ts=0]=""Ts"",e[e.Tsx=1]=""Tsx"",e[e.Dts=2]=""Dts"",e[e.Js=3]=""Js"",e[e.Jsx=4]=""Jsx"",e[e.LastTypeScriptExtension=2]=""LastTypeScriptExtension""}(e.Extension||(e.Extension={}));!function(e){e[e.None=0]=""None"",e[e.TypeScript=1]=""TypeScript"",e[e.ContainsTypeScript=2]=""ContainsTypeScript"",e[e.ContainsJsx=4]=""ContainsJsx"",e[e.ContainsESNext=8]=""ContainsESNext"",e[e.ContainsES2017=16]=""ContainsES2017"",e[e.ContainsES2016=32]=""ContainsES2016"",e[e.ES2015=64]=""ES2015"",e[e.ContainsES2015=128]=""ContainsES2015"",e[e.Generator=256]=""Generator"",e[e.ContainsGenerator=512]=""ContainsGenerator"",e[e.DestructuringAssignment=1024]=""DestructuringAssignment"",e[e.ContainsDestructuringAssignment=2048]=""ContainsDestructuringAssignment"",e[e.ContainsDecorators=4096]=""ContainsDecorators"",e[e.ContainsPropertyInitializer=8192]=""ContainsPropertyInitializer"",e[e.ContainsLexicalThis=16384]=""ContainsLexicalThis"",e[e.ContainsCapturedLexicalThis=32768]=""ContainsCapturedLexicalThis"",e[e.ContainsLexicalThisInComputedPropertyName=65536]=""ContainsLexicalThisInComputedPropertyName"",e[e.ContainsDefaultValueAssignments=131072]=""ContainsDefaultValueAssignments"",e[e.ContainsParameterPropertyAssignments=262144]=""ContainsParameterPropertyAssignments"",e[e.ContainsSpread=524288]=""ContainsSpread"",e[e.ContainsObjectSpread=1048576]=""ContainsObjectSpread"",e[e.ContainsRest=524288]=""ContainsRest"",e[e.ContainsObjectRest=1048576]=""ContainsObjectRest"",e[e.ContainsComputedPropertyName=2097152]=""ContainsComputedPropertyName"",e[e.ContainsBlockScopedBinding=4194304]=""ContainsBlockScopedBinding"",e[e.ContainsBindingPattern=8388608]=""ContainsBindingPattern"",e[e.ContainsYield=16777216]=""ContainsYield"",e[e.ContainsHoistedDeclarationOrCompletion=33554432]=""ContainsHoistedDeclarationOrCompletion"",e[e.ContainsDynamicImport=67108864]=""ContainsDynamicImport"",e[e.HasComputedFlags=536870912]=""HasComputedFlags"",e[e.AssertTypeScript=3]=""AssertTypeScript"",e[e.AssertJsx=4]=""AssertJsx"",e[e.AssertESNext=8]=""AssertESNext"",e[e.AssertES2017=16]=""AssertES2017"",e[e.AssertES2016=32]=""AssertES2016"",e[e.AssertES2015=192]=""AssertES2015"",e[e.AssertGenerator=768]=""AssertGenerator"",e[e.AssertDestructuringAssignment=3072]=""AssertDestructuringAssignment"",e[e.NodeExcludes=536872257]=""NodeExcludes"",e[e.ArrowFunctionExcludes=601249089]=""ArrowFunctionExcludes"",e[e.FunctionExcludes=601281857]=""FunctionExcludes"",e[e.ConstructorExcludes=601015617]=""ConstructorExcludes"",e[e.MethodOrAccessorExcludes=601015617]=""MethodOrAccessorExcludes"",e[e.ClassExcludes=539358529]=""ClassExcludes"",e[e.ModuleExcludes=574674241]=""ModuleExcludes"",e[e.TypeExcludes=-3]=""TypeExcludes"",e[e.ObjectLiteralExcludes=540087617]=""ObjectLiteralExcludes"",e[e.ArrayLiteralOrCallOrNewExcludes=537396545]=""ArrayLiteralOrCallOrNewExcludes"",e[e.VariableDeclarationListExcludes=546309441]=""VariableDeclarationListExcludes"",e[e.ParameterExcludes=536872257]=""ParameterExcludes"",e[e.CatchClauseExcludes=537920833]=""CatchClauseExcludes"",e[e.BindingPatternExcludes=537396545]=""BindingPatternExcludes"",e[e.TypeScriptClassSyntaxMask=274432]=""TypeScriptClassSyntaxMask"",e[e.ES2015FunctionSyntaxMask=163840]=""ES2015FunctionSyntaxMask""}(e.TransformFlags||(e.TransformFlags={}));!function(e){e[e.SingleLine=1]=""SingleLine"",e[e.AdviseOnEmitNode=2]=""AdviseOnEmitNode"",e[e.NoSubstitution=4]=""NoSubstitution"",e[e.CapturesThis=8]=""CapturesThis"",e[e.NoLeadingSourceMap=16]=""NoLeadingSourceMap"",e[e.NoTrailingSourceMap=32]=""NoTrailingSourceMap"",e[e.NoSourceMap=48]=""NoSourceMap"",e[e.NoNestedSourceMaps=64]=""NoNestedSourceMaps"",e[e.NoTokenLeadingSourceMaps=128]=""NoTokenLeadingSourceMaps"",e[e.NoTokenTrailingSourceMaps=256]=""NoTokenTrailingSourceMaps"",e[e.NoTokenSourceMaps=384]=""NoTokenSourceMaps"",e[e.NoLeadingComments=512]=""NoLeadingComments"",e[e.NoTrailingComments=1024]=""NoTrailingComments"",e[e.NoComments=1536]=""NoComments"",e[e.NoNestedComments=2048]=""NoNestedComments"",e[e.HelperName=4096]=""HelperName"",e[e.ExportName=8192]=""ExportName"",e[e.LocalName=16384]=""LocalName"",e[e.InternalName=32768]=""InternalName"",e[e.Indented=65536]=""Indented"",e[e.NoIndentation=131072]=""NoIndentation"",e[e.AsyncFunctionBody=262144]=""AsyncFunctionBody"",e[e.ReuseTempVariableScope=524288]=""ReuseTempVariableScope"",e[e.CustomPrologue=1048576]=""CustomPrologue"",e[e.NoHoisting=2097152]=""NoHoisting"",e[e.HasEndOfDeclarationMarker=4194304]=""HasEndOfDeclarationMarker"",e[e.Iterator=8388608]=""Iterator"",e[e.NoAsciiEscaping=16777216]=""NoAsciiEscaping""}(e.EmitFlags||(e.EmitFlags={}));!function(e){e[e.Extends=1]=""Extends"",e[e.Assign=2]=""Assign"",e[e.Rest=4]=""Rest"",e[e.Decorate=8]=""Decorate"",e[e.Metadata=16]=""Metadata"",e[e.Param=32]=""Param"",e[e.Awaiter=64]=""Awaiter"",e[e.Generator=128]=""Generator"",e[e.Values=256]=""Values"",e[e.Read=512]=""Read"",e[e.Spread=1024]=""Spread"",e[e.Await=2048]=""Await"",e[e.AsyncGenerator=4096]=""AsyncGenerator"",e[e.AsyncDelegator=8192]=""AsyncDelegator"",e[e.AsyncValues=16384]=""AsyncValues"",e[e.ExportStar=32768]=""ExportStar"",e[e.ForOfIncludes=256]=""ForOfIncludes"",e[e.ForAwaitOfIncludes=16384]=""ForAwaitOfIncludes"",e[e.AsyncGeneratorIncludes=6144]=""AsyncGeneratorIncludes"",e[e.AsyncDelegatorIncludes=26624]=""AsyncDelegatorIncludes"",e[e.SpreadIncludes=1536]=""SpreadIncludes"",e[e.FirstEmitHelper=1]=""FirstEmitHelper"",e[e.LastEmitHelper=32768]=""LastEmitHelper""}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={}));!function(e){e[e.SourceFile=0]=""SourceFile"",e[e.Expression=1]=""Expression"",e[e.IdentifierName=2]=""IdentifierName"",e[e.Unspecified=3]=""Unspecified""}(e.EmitHint||(e.EmitHint={}))}(ts||(ts={}));var ts;!function(e){e.timestamp=""undefined""!=typeof performance&&performance.now?function(){return performance.now()}:Date.now?Date.now:function(){return+new Date}}(ts||(ts={})),function(e){!function(t){var n,r,a,i=""function""==typeof onProfilerEvent&&!0===onProfilerEvent.profiler?onProfilerEvent:function(e){},o=!1,s=0;t.mark=function(t){o&&(r.set(t,e.timestamp()),n.set(t,(n.get(t)||0)+1),i(t))},t.measure=function(t,n,i){if(o){var c=i&&r.get(i)||e.timestamp(),u=n&&r.get(n)||s;a.set(t,(a.get(t)||0)+(c-u))}},t.getCount=function(e){return n&&n.get(e)||0},t.getDuration=function(e){return a&&a.get(e)||0},t.forEachMeasure=function(e){a.forEach(function(t,n){e(n,t)})},t.enable=function(){n=e.createMap(),r=e.createMap(),a=e.createMap(),o=!0,s=e.timestamp()},t.disable=function(){o=!1}}(e.performance||(e.performance={}))}(ts||(ts={}));var ts;!function(e){e.version=""2.4.1""}(ts||(ts={})),function(e){function t(){var e=Object.create(null);return e.__=void 0,delete e.__,e}function n(){return new Me}function r(e,t){if(e)for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r)return r}}function a(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return n;return-1}function i(e,t){if(e)for(var n=0,r=e;n<r.length;n++)if(r[n]===t)return!0;return!1}function o(e,t,n){for(var r=n||0;r<e.length;r++)if(i(t,e.charCodeAt(r)))return r;return-1}function s(e,t){var n;if(e){n=[];for(var r=0;r<e.length;r++)n.push(t(e[r],r))}return n}function c(e){var t;if(e){t=[];for(var n=0,r=e;n<r.length;n++){var a=r[n];a&&(C(a)?p(t,a):t.push(a))}}return t}function u(e,t){var n;if(e){n=[];for(var r=0;r<e.length;r++){var a=t(e[r],r);a&&(C(a)?p(n,a):n.push(a))}}return n}function _(e,t){if(e){if(!t)return e.length>0;for(var n=0,r=e;n<r.length;n++)if(t(r[n]))return!0}return!1}function l(e,t,n){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function d(e,t){return t<0?e.length+t:t}function p(e,t,n,r){if(void 0===t)return e;if(void 0===e)return t.slice(n,r);n=void 0===n?0:d(t,n),r=void 0===r?t.length:d(t,r);for(var a=n;a<r&&a<t.length;a++)void 0!==t[a]&&e.push(t[a]);return e}function f(e,t){if(e&&(t=d(e,t))<e.length)return e[t]}function m(e){return f(e,-1)}function g(e,t,n,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=n;o<=s;)c=t(c,e[o],o),o++;return c}}return n}function y(e,t){return Le.call(e,t)}function h(e,t){for(var n=[],r=e.next(),a=r.value,i=r.done;!i;o=e.next(),a=o.value,i=o.done,o)n.push(t?t(a):a);return n;var o}function v(e,t){e.forEach(function(e,n){t.set(n,e)})}function b(e,t,n){if(e===t)return!0;if(!e||!t)return!1;for(var r in e)if(Le.call(e,r)){if(void 0===!Le.call(t,r))return!1;if(n?!n(e[r],t[r]):e[r]!==t[r])return!1}for(var r in t)if(Le.call(t,r)&&!Le.call(e,r))return!1;return!0}function k(e,t){var n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}function x(e,t){var n=this.get(e);n&&(we(n,t),n.length||this.delete(e))}function C(e){return Array.isArray?Array.isArray(e):e instanceof Array}function D(e,t,n,r,a){if(a){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return g(i,function(e,t){return t(e)},e)}}return r?function(a){return r(n(t(e(a))))}:n?function(r){return n(t(e(r)))}:t?function(n){return t(e(n))}:e?function(t){return e(t)}:function(e){return e}}function S(e,t,n){return n=n||0,e.replace(/{(\d+)}/g,function(e,r){return t[+r+n]})}function T(t){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[t.key]||t.message}function E(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e<t?-1:1}function N(t,n,r){if(t===n)return 0;if(void 0===t)return-1;if(void 0===n)return 1;if(r){if(e.collator){var a=e.localeCompareIsCorrect?e.collator.compare(t,n):t.localeCompare(n,void 0,{usage:""sort"",sensitivity:""accent""});return a<0?-1:a>0?1:0}if(t=t.toUpperCase(),n=n.toUpperCase(),t===n)return 0}return t<n?-1:1}function A(e,t){return N(e,t,!0)}function w(e){return e.file?e.file.fileName:void 0}function P(e,t){return E(w(e),w(t))||E(e.start,t.start)||E(e.length,t.length)||E(e.code,t.code)||F(e.messageText,t.messageText)||0}function F(e,t){for(;e&&t;){var n=E(""string""==typeof e?e:e.messageText,""string""==typeof t?t:t.messageText);if(n)return n;e=""string""==typeof e?void 0:e.next,t=""string""==typeof t?void 0:t.next}return e||t?e?1:-1:0}function O(e){if(e.length<2)return e;for(var t=[e[0]],n=e[0],r=1;r<e.length;r++){var a=e[r];0===P(a,n)||(t.push(a),n=a)}return t}function I(e){return e.replace(/\\/g,""/"")}function R(e){if(47===e.charCodeAt(0)){if(47!==e.charCodeAt(1))return 1;var t=e.indexOf(""/"",2);if(t<0)return 2;var n=e.indexOf(""/"",t+1);return n<0?t+1:n+1}if(58===e.charCodeAt(1))return 47===e.charCodeAt(2)?3:2;if(0===e.lastIndexOf(""file:///"",0))return""file:///"".length;var r=e.indexOf(""://"");return-1!==r?r+""://"".length:0}function M(t,n){for(var r=[],a=0,i=t.substr(n).split(e.directorySeparator);a<i.length;a++){var o=i[a];"".""!==o&&(""..""===o&&r.length>0&&""..""!==m(r)?r.pop():o&&r.push(o))}return r}function L(t){var n=R(t=I(t)),r=t.substr(0,n),a=M(t,n);if(a.length){var i=r+a.join(e.directorySeparator);return B(t)?i+e.directorySeparator:i}return r}function B(e){return e.charCodeAt(e.length-1)===Be}function J(t){return t.substr(0,Math.max(R(t),t.lastIndexOf(e.directorySeparator)))}function z(e){return e&&!U(e)&&-1!==e.indexOf(""://"")}function K(e){return e.target||0}function j(t){return""number""==typeof t.module?t.module:K(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function V(e){for(var t=!1,n=0;n<e.length;n++)if(42===e.charCodeAt(n)){if(t)return!1;t=!0}return!0}function U(e){return 0!==R(e)}function q(e,t){var n=M(e,t);return[e.substr(0,t)].concat(n)}function W(e,t){var n=R(e=I(e));return 0===n&&(n=R(e=$(I(t),e))),q(e,n)}function H(e,t){return G(W(e,t))}function G(t){if(t&&t.length)return t[0]+t.slice(1).join(e.directorySeparator)}function X(t){for(var n=t.length,r=t.indexOf(""://"")+""://"".length;r<n&&47===t.charCodeAt(r);)r++;if(r===n)return[t];var a=t.indexOf(e.directorySeparator,r);return-1!==a?(r=a+1,q(t,r)):[t+e.directorySeparator]}function Q(e,t){return z(e)?X(e):W(e,t)}function Y(t,n,r,a,i){var o=Q(n,r),s=Q(t,r);s.length>1&&""""===m(s)&&s.length--;var c;for(c=0;c<o.length&&c<s.length&&a(s[c])===a(o[c]);c++);if(c){for(var u="""",_=o.slice(c,o.length);c<s.length;c++)""""!==s[c]&&(u=u+""..""+e.directorySeparator);return u+_.join(e.directorySeparator)}var l=G(o);return i&&U(l)&&(l=""file:///""+l),l}function Z(t){if(void 0!==t){var n=t.lastIndexOf(e.directorySeparator);return n<0?t:t.substring(n+1)}}function $(t,n){return t&&t.length?n&&n.length?0!==R(n)?n:t.charAt(t.length-1)===e.directorySeparator?t+n:t+e.directorySeparator+n:t:n}function ee(t){return t.charAt(t.length-1)===e.directorySeparator?t.substr(0,t.length-1):t}function te(e,t,n,r){if(void 0===e||void 0===t)return!1;if(e===t)return!0;if(e=ee(e),t=ee(t),e===t)return!0;var a=W(e,n),i=W(t,n);if(i.length<a.length)return!1;for(var o=0;o<a.length;o++)if(0!==N(a[o],i[o],r))return!1;return!0}function ne(e,t){return 0===e.lastIndexOf(t,0)}function re(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function ae(e){return Z(e).indexOf(""."")>=0}function ie(e,t){return e.length>t.length&&re(e,t)}function oe(e,t){for(var n=0,r=t;n<r.length;n++)if(ie(e,r[n]))return!0;return!1}function se(e,t,n){var r=ce(e,t,n);if(r&&r.length)return""^(""+r.map(function(e){return""(""+e+"")""}).join(""|"")+"")""+(""exclude""===n?""($|/)"":""$"")}function ce(e,t,n){if(void 0!==e&&0!==e.length){var r=""files""===n?le:de,a=""files""===n?Ke:je,i=""exclude""===n?""(/.+?)?"":""(/[^/.][^/]*)*?"";return u(e,function(e){return e&&_e(e,t,n,a,i,r)})}}function ue(e){return!/[.*?]/.test(e)}function _e(t,n,r,a,i,o){var s="""",c=!1,u=!1,_=W(t,n),l=m(_);if(""exclude""===r||""**""!==l){_[0]=ee(_[0]),ue(l)&&_.push(""**"",""*"");for(var d=0,p=0,f=_;p<f.length;p++){var g=f[p];if(""**""===g){if(c)return;s+=i,c=!0}else""directories""===r&&(s+=""("",d++),u&&(s+=e.directorySeparator),""exclude""!==r&&(42===g.charCodeAt(0)?(s+=""([^./]""+a+"")?"",g=g.substr(1)):63===g.charCodeAt(0)&&(s+=""[^./]"",g=g.substr(1))),s+=g.replace(Je,o);u=!0}for(;d>0;)s+="")?"",d--;return s}}function le(e){return pe(e,Ke)}function de(e){return pe(e,je)}function pe(e,t){return""*""===e?t:""?""===e?""[^/]"":""\\""+e}function fe(e,t,n,r,a){e=L(e);var i=$(a=L(a),e);return{includeFilePatterns:s(ce(n,i,""files""),function(e){return""^""+e+""$""}),includeFilePattern:se(n,i,""files""),includeDirectoryPattern:se(n,i,""directories""),excludePattern:se(t,i,""exclude""),basePaths:me(e,n,r)}}function me(t,n,r){var a=[t];if(n){for(var i=[],o=0,s=n;o<s.length;o++){var c=s[o],u=U(c)?c:L($(t,c));i.push(ge(u))}i.sort(r?N:A);for(var _=0,l=i;_<l.length;_++)!function(n){e.every(a,function(e){return!te(e,n,t,!r)})&&a.push(n)}(l[_])}return a}function ge(t){var n=o(t,ze);return n<0?ae(t)?ee(J(t)):t:t.substring(0,t.lastIndexOf(e.directorySeparator,n))}function ye(e){switch(e.substr(e.lastIndexOf(""."")).toLowerCase()){case"".js"":return 1;case"".jsx"":return 2;case"".ts"":return 3;case"".tsx"":return 4;default:return 0}}function he(t,n){var r=t&&t.allowJs;if(!n||0===n.length||!r)return r?Ve:e.supportedTypeScriptExtensions;for(var a=Ve.slice(0),i=0,o=n;i<o.length;i++){var s=o[i];-1===a.indexOf(s.extension)&&a.push(s.extension)}return a}function ve(e,t){return e<2?0:e<t.length?2:t.length}function be(e){for(var t=0,n=Ue;t<n.length;t++){var r=ke(e,n[t]);if(void 0!==r)return r}return e}function ke(e,t){return ie(e,t)?xe(e,t):void 0}function xe(e,t){return e.substring(0,e.length-t.length)}function Ce(e,t){this.flags=e,this.name=t,this.declarations=void 0}function De(e,t){this.flags=t,qe.isDebugging&&(this.checker=e)}function Se(){}function Te(e,t,n){this.id=0,this.kind=e,this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function Ee(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||function(e){return e}}function Ne(e,t){for(var n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function Ae(e,t){e[t]=e[e.length-1],e.pop()}function we(e,t){Pe(e,function(e){return e===t})}function Pe(e,t){for(var n=0;n<e.length;n++)if(t(e[n])){Ae(e,n);break}}function Fe(e,t,n){for(var r=void 0,a=-1,i=0,o=e;i<o.length;i++){var s=o[i],c=t(s);Oe(c,n)&&c.prefix.length>a&&(a=c.prefix.length,r=s)}return r}function Oe(e,t){var n=e.prefix,r=e.suffix;return t.length>=n.length+r.length&&ne(t,n)&&re(t,r)}function Ie(e){qe.assert(V(e));var t=e.indexOf(""*"");return-1===t?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function Re(t){return ie(t,"".d.ts"")?e.Extension.Dts:ie(t,"".ts"")?e.Extension.Ts:ie(t,"".tsx"")?e.Extension.Tsx:ie(t,"".js"")?e.Extension.Js:ie(t,"".jsx"")?e.Extension.Jsx:void 0}!function(e){e[e.False=0]=""False"",e[e.Maybe=1]=""Maybe"",e[e.True=-1]=""True""}(e.Ternary||(e.Ternary={})),e.collator=""object""==typeof Intl&&""function""==typeof Intl.Collator?new Intl.Collator(void 0,{usage:""sort"",sensitivity:""accent""}):void 0,e.localeCompareIsCorrect=e.collator&&e.collator.compare(""a"",""B"")<0,e.createMap=n,e.createMapFromTemplate=function(e){var t=new Me;for(var n in e)Le.call(e,n)&&t.set(n,e[n]);return t};var Me=""undefined""!=typeof Map&&""entries""in Map.prototype?Map:function(){var e=function(){function e(e,t){this.index=0,this.data=e,this.selector=t,this.keys=Object.keys(e)}return e.prototype.next=function(){var e=this.index;return e<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[e]),done:!1}):{value:void 0,done:!0}},e}();return function(){function n(){this.data=t(),this.size=0}return n.prototype.get=function(e){return this.data[e]},n.prototype.set=function(e,t){return this.has(e)||this.size++,this.data[e]=t,this},n.prototype.has=function(e){return e in this.data},n.prototype.delete=function(e){return!!this.has(e)&&(this.size--,delete this.data[e],!0)},n.prototype.clear=function(){this.data=t(),this.size=0},n.prototype.keys=function(){return new e(this.data,function(e,t){return t})},n.prototype.values=function(){return new e(this.data,function(e,t){return e[t]})},n.prototype.entries=function(){return new e(this.data,function(e,t){return[t,e[t]]})},n.prototype.forEach=function(e){for(var t in this.data)e(this.data[t],t)},n}()}();e.createFileMap=function(e){function t(t){return e?e(t):t}var r=n();return{get:function(e){return r.get(t(e))},set:function(e,n){r.set(t(e),n)},contains:function(e){return r.has(t(e))},remove:function(e){r.delete(t(e))},forEachValue:function(e){r.forEach(function(t,n){e(n,t)})},getKeys:function(){return h(r.keys())},clear:function(){r.clear()}}},e.toPath=function(e,t,n){return n(U(e)?L(e):H(e,t))};!function(e){e[e.LessThan=-1]=""LessThan"",e[e.EqualTo=0]=""EqualTo"",e[e.GreaterThan=1]=""GreaterThan""}(e.Comparison||(e.Comparison={})),e.length=function(e){return e?e.length:0},e.forEach=r,e.findAncestor=function(e,t){for(;e;){var n=t(e);if(""quit""===n)return;if(n)return e;e=e.parent}},e.zipWith=function(e,t,n){qe.assert(e.length===t.length);for(var r=0;r<e.length;r++)n(e[r],t[r],r)},e.zipToMap=function(e,t){qe.assert(e.length===t.length);for(var r=n(),a=0;a<e.length;++a)r.set(e[a],t[a]);return r},e.every=function(e,t){if(e)for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0},e.find=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n))return r}},e.findIndex=a,e.findMap=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r)return r}qe.fail()},e.contains=i,e.indexOf=function(e,t){if(e)for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},e.indexOfAnyCharCode=o,e.countWhere=function(e,t){var n=0;if(e)for(var r=0;r<e.length;r++)t(e[r],r)&&n++;return n},e.filter=function(e,t){if(e){for(var n=e.length,r=0;r<n&&t(e[r]);)r++;if(r<n){var a=e.slice(0,r);for(r++;r<n;){var i=e[r];t(i)&&a.push(i),r++}return a}}return e},e.removeWhere=function(e,t){for(var n=0,r=0,a=e;r<a.length;r++){var i=a[r];t(i)||(e[n]=i,n++)}return n!==e.length&&(e.length=n,!0)},e.filterMutate=function(e,t){for(var n=0,r=0,a=e;r<a.length;r++){var i=a[r];t(i)&&(e[n]=i,n++)}e.length=n},e.map=s,e.sameMap=function(e,t){var n;if(e)for(var r=0;r<e.length;r++)if(n)n.push(t(e[r],r));else{var a=e[r],i=t(a,r);a!==i&&(n=e.slice(0,r)).push(i)}return n||e},e.flatten=c,e.flatMap=u,e.sameFlatMap=function(e,t){var n;if(e)for(var r=0;r<e.length;r++){var a=e[r],i=t(a,r);(n||a!==i||C(i))&&(n||(n=e.slice(0,r)),C(i)?p(n,i):n.push(i))}return n||e},e.mapDefined=function(e,t){for(var n=[],r=0;r<e.length;r++){var a=t(e[r],r);void 0!==a&&n.push(a)}return n},e.span=function(e,t){if(e){for(var n=0;n<e.length;n++)if(!t(e[n],n))return[e.slice(0,n),e.slice(n)];return[e.slice(0),[]]}},e.spanMap=function(e,t,n){var r;if(e){r=[];for(var a=e.length,i=void 0,o=void 0,s=0,c=0;s<a;){for(;c<a;){if(o=t(e[c],c),0===c)i=o;else if(o!==i)break;c++}if(s<c){var u=n(e.slice(s,c),i,s,c);u&&r.push(u),s=c}i=o,c++}}return r},e.mapEntries=function(e,t){if(e){var r=n();return e.forEach(function(e,n){var a=t(n,e),i=a[0],o=a[1];r.set(i,o)}),r}},e.some=_,e.concatenate=function(e,t){return _(t)?_(e)?e.concat(t):t:e},e.deduplicate=function(e,t){var n;if(e){n=[];e:for(var r=0,a=e;r<a.length;r++){for(var i=a[r],o=0,s=n;o<s.length;o++){var c=s[o];if(t?t(c,i):c===i)continue e}n.push(i)}}return n},e.arrayIsEqualTo=l,e.changesAffectModuleResolution=function(e,t){return!(e&&e.module===t.module&&e.moduleResolution===t.moduleResolution&&e.noResolve===t.noResolve&&e.target===t.target&&e.noLib===t.noLib&&e.jsx===t.jsx&&e.allowJs===t.allowJs&&e.rootDir===t.rootDir&&e.configFilePath===t.configFilePath&&e.baseUrl===t.baseUrl&&e.maxNodeModuleJsDepth===t.maxNodeModuleJsDepth&&l(e.lib,t.lib)&&l(e.typeRoots,t.typeRoots)&&l(e.rootDirs,t.rootDirs)&&b(e.paths,t.paths))},e.compact=function(e){var t;if(e)for(var n=0;n<e.length;n++){var r=e[n];!t&&r||(t||(t=e.slice(0,n)),r&&t.push(r))}return t||e},e.relativeComplement=function(e,t,n,r,a){if(void 0===n&&(n=E),void 0===r&&(r=0),void 0===a&&(a=0),!t||!e||0===t.length||0===e.length)return t;var i=[];e:for(;a<t.length;a++){t:for(;r<e.length;r++)switch(n(t[a],e[r])){case-1:break t;case 0:continue e;case 1:continue t}i.push(t[a])}return i},e.sum=function(e,t){for(var n=0,r=0,a=e;r<a.length;r++)n+=a[r][t];return n},e.append=function(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)},e.addRange=p,e.stableSort=function(e,t){return void 0===t&&(t=E),e.map(function(e,t){return t}).sort(function(n,r){return t(e[n],e[r])||E(n,r)}).map(function(t){return e[t]})},e.rangeEquals=function(e,t,n,r){for(;n<r;){if(e[n]!==t[n])return!1;n++}return!0},e.elementAt=f,e.firstOrUndefined=function(e){return f(e,0)},e.lastOrUndefined=m,e.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},e.singleOrMany=function(e){return e&&1===e.length?e[0]:e},e.replaceElement=function(e,t,n){var r=e.slice(0);return r[t]=n,r},e.binarySearch=function(e,t,n,r){if(!e||0===e.length)return-1;var a=r||0,i=e.length-1;for(n=void 0!==n?n:function(e,t){return e<t?-1:e>t?1:0};a<=i;){var o=a+(i-a>>1),s=e[o];if(0===n(s,t))return o;n(s,t)>0?i=o-1:a=o+1}return~a},e.reduceLeft=g,e.reduceRight=function(e,t,n,r,a){if(e){var i=e.length;if(i>0){var o=void 0===r||r>i-1?i-1:r,s=void 0===a||o-a<0?0:o-a,c=void 0;for(arguments.length<=2?(c=e[o],o--):c=n;o>=s;)c=t(c,e[o],o),o--;return c}}return n};var Le=Object.prototype.hasOwnProperty;e.hasProperty=y,e.getProperty=function(e,t){return Le.call(e,t)?e[t]:void 0},e.getOwnKeys=function(e){var t=[];for(var n in e)Le.call(e,n)&&t.push(n);return t},e.arrayFrom=h,e.convertToArray=function(e,t){for(var n=[],r=e.next(),a=r.value,i=r.done;!i;o=e.next(),a=o.value,i=o.done,o)n.push(t(a));return n;var o},e.forEachEntry=function(e,t){for(var n=e.entries(),r=n.next(),a=r.value,i=r.done;!i;c=n.next(),a=c.value,i=c.done,c){var o=a[0],s=t(a[1],o);if(s)return s}return;var c},e.forEachKey=function(e,t){for(var n=e.keys(),r=n.next(),a=r.value,i=r.done;!i;s=n.next(),a=s.value,i=s.done,s){var o=t(a);if(o)return o}return;var s},e.copyEntries=v,e.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,a=t;r<a.length;r++){var i=a[r];for(var o in i)y(i,o)&&(e[o]=i[o])}return e},e.equalOwnProperties=b,e.arrayToMap=function(e,t,r){for(var a=n(),i=0,o=e;i<o.length;i++){var s=o[i];a.set(t(s),r?r(s):s)}return a},e.cloneMap=function(e){var t=n();return v(e,t),t},e.clone=function(e){var t={};for(var n in e)Le.call(e,n)&&(t[n]=e[n]);return t},e.extend=function(e,t){var n={};for(var r in t)Le.call(t,r)&&(n[r]=t[r]);for(var r in e)Le.call(e,r)&&(n[r]=e[r]);return n},e.createMultiMap=function(){var e=n();return e.add=k,e.remove=x,e},e.isArray=C,e.tryCast=function(e,t){return void 0!==e&&t(e)?e:void 0},e.cast=function(e,t){if(void 0!==e&&t(e))return e;qe.fail(""Invalid cast. The supplied value did not pass the test '""+qe.getFunctionName(t)+""'."")},e.noop=function(){},e.notImplemented=function(){throw new Error(""Not implemented"")},e.memoize=function(e){var t;return function(){return e&&(t=e(),e=void 0),t}},e.chain=function(e,t,n,r,a){if(a){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return function(e){return D.apply(void 0,s(i,function(t){return t(e)}))}}return r?function(a){return D(e(a),t(a),n(a),r(a))}:n?function(r){return D(e(r),t(r),n(r))}:t?function(n){return D(e(n),t(n))}:e?function(t){return D(e(t))}:function(e){return function(e){return e}}},e.compose=D,e.formatStringFromArgs=S,e.localizedDiagnosticMessages=void 0,e.getLocaleSpecificMessage=T,e.createFileDiagnostic=function(e,t,n,r){var a=t+n;qe.assert(t>=0,""start must be non-negative, is ""+t),qe.assert(n>=0,""length must be non-negative, is ""+n),e&&(qe.assert(t<=e.text.length,""start must be within the bounds of the file. ""+t+"" > ""+e.text.length),qe.assert(a<=e.text.length,""end must be the bounds of the file. ""+a+"" > ""+e.text.length));var i=T(r);return arguments.length>4&&(i=S(i,arguments,4)),{file:e,start:t,length:n,messageText:i,category:r.category,code:r.code}},e.formatMessage=function(e,t){var n=T(t);return arguments.length>2&&(n=S(n,arguments,2)),n},e.createCompilerDiagnostic=function(e){var t=T(e);return arguments.length>1&&(t=S(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code}},e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,t){var n=T(t);return arguments.length>2&&(n=S(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e}},e.concatenateDiagnosticMessageChains=function(e,t){for(var n=e;n.next;)n=n.next;return n.next=t,e},e.compareValues=E,e.compareStrings=N,e.compareStringsCaseInsensitive=A,e.compareDiagnostics=P,e.sortAndDeduplicateDiagnostics=function(e){return O(e.sort(P))},e.deduplicateSortedDiagnostics=O,e.normalizeSlashes=I,e.getRootLength=R,e.directorySeparator=""/"";var Be=47;e.normalizePath=L,e.pathEndsWithDirectorySeparator=B,e.getDirectoryPath=J,e.isUrl=z,e.isExternalModuleNameRelative=function(e){return/^\.\.?($|[\\/])/.test(e)},e.getEmitScriptTarget=K,e.getEmitModuleKind=j,e.getEmitModuleResolutionKind=function(t){var n=t.moduleResolution;return void 0===n&&(n=j(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),n},e.hasZeroOrOneAsteriskCharacter=V,e.isRootedDiskPath=U,e.convertToRelativePath=function(e,t,n){return U(e)?Y(t,e,t,n,!1):e},e.getNormalizedPathComponents=W,e.getNormalizedAbsolutePath=H,e.getNormalizedPathFromPathComponents=G,e.getRelativePathToDirectoryOrUrl=Y,e.getBaseFileName=Z,e.combinePaths=$,e.removeTrailingDirectorySeparator=ee,e.ensureTrailingDirectorySeparator=function(t){return t.charAt(t.length-1)!==e.directorySeparator?t+e.directorySeparator:t},e.comparePaths=function(e,t,n,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;e=ee(e),t=ee(t);for(var a=W(e,n),i=W(t,n),o=Math.min(a.length,i.length),s=0;s<o;s++){var c=N(a[s],i[s],r);if(0!==c)return c}return E(a.length,i.length)},e.containsPath=te,e.startsWith=ne,e.removePrefix=function(e,t){return ne(e,t)?e.substr(t.length):e},e.endsWith=re,e.hasExtension=ae,e.fileExtensionIs=ie,e.fileExtensionIsOneOf=oe;var Je=/[^\w\s\/]/g,ze=[42,63],Ke=""([^./]|(\\.(?!min\\.js$))?)*"",je=""[^/]*"";e.getRegularExpressionForWildcard=se,e.isImplicitGlob=ue,e.getFileMatcherPatterns=fe,e.matchFiles=function(e,t,n,r,i,o,s){function u(e,n){var r=s(e),i=r.files,o=r.directories;i=i.slice().sort(g),o=o.slice().sort(g);for(var c=0,_=i;c<_.length;c++)!function(r){var i=$(e,r),o=$(n,r);if(t&&!oe(i,t))return""continue"";if(f&&f.test(o))return""continue"";if(d){var s=a(d,function(e){return e.test(o)});-1!==s&&m[s].push(i)}else m[0].push(i)}(h=_[c]);for(var l=0,y=o;l<y.length;l++){var h=y[l],v=$(e,h),b=$(n,h);p&&!p.test(b)||f&&f.test(b)||u(v,b)}}for(var _=fe(e=L(e),n,r,i,o=L(o)),l=i?"""":""i"",d=_.includeFilePatterns&&_.includeFilePatterns.map(function(e){return new RegExp(e,l)}),p=_.includeDirectoryPattern&&new RegExp(_.includeDirectoryPattern,l),f=_.excludePattern&&new RegExp(_.excludePattern,l),m=d?d.map(function(){return[]}):[[]],g=i?N:A,y=0,h=_.basePaths;y<h.length;y++){var v=h[y];u(v,$(o,v))}return c(m)},e.ensureScriptKind=function(e,t){return t||ye(e)||3},e.getScriptKindFromFileName=ye,e.supportedTypeScriptExtensions=["".ts"","".tsx"","".d.ts""],e.supportedTypescriptExtensionsForExtractExtension=["".d.ts"","".ts"","".tsx""],e.supportedJavascriptExtensions=["".js"","".jsx""];var Ve=e.supportedTypeScriptExtensions.concat(e.supportedJavascriptExtensions);e.getSupportedExtensions=he,e.hasJavaScriptFileExtension=function(t){return r(e.supportedJavascriptExtensions,function(e){return ie(t,e)})},e.hasTypeScriptFileExtension=function(t){return r(e.supportedTypeScriptExtensions,function(e){return ie(t,e)})},e.isSupportedSourceFileName=function(e,t,n){if(!e)return!1;for(var r=0,a=he(t,n);r<a.length;r++)if(ie(e,a[r]))return!0;return!1};!function(e){e[e.TypeScriptFiles=0]=""TypeScriptFiles"",e[e.DeclarationAndJavaScriptFiles=2]=""DeclarationAndJavaScriptFiles"",e[e.Highest=0]=""Highest"",e[e.Lowest=2]=""Lowest""}(e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=function(e,t){for(var n=t.length-1;n>=0;n--)if(ie(e,t[n]))return ve(n,t);return 0},e.adjustExtensionPriority=ve,e.getNextLowestExtensionPriority=function(e,t){return e<2?2:t.length};var Ue=["".d.ts"","".ts"","".js"","".tsx"","".jsx""];e.removeFileExtension=be,e.tryRemoveExtension=ke,e.removeExtension=xe,e.changeExtension=function(e,t){return be(e)+t},e.objectAllocator={getNodeConstructor:function(){return Te},getTokenConstructor:function(){return Te},getIdentifierConstructor:function(){return Te},getSourceFileConstructor:function(){return Te},getSymbolConstructor:function(){return Ce},getTypeConstructor:function(){return De},getSignatureConstructor:function(){return Se},getSourceMapSourceConstructor:function(){return Ee}};!function(e){e[e.None=0]=""None"",e[e.Normal=1]=""Normal"",e[e.Aggressive=2]=""Aggressive"",e[e.VeryAggressive=3]=""VeryAggressive""}(e.AssertionLevel||(e.AssertionLevel={}));var qe;!function(e){function t(e,r,a,i){e||(a&&(r+=""\r\nVerbose Debug Information: ""+a()),n(r?""False expression: ""+r:""False expression."",i||t))}function n(e,t){var r=new Error(e?""Debug Failure. "":""Debug Failure."");throw Error.captureStackTrace&&Error.captureStackTrace(r,t||n),r}e.currentAssertionLevel=0,e.isDebugging=!1,e.shouldAssert=function(t){return e.currentAssertionLevel>=t},e.assert=t,e.fail=n,e.getFunctionName=function(e){if(""function""!=typeof e)return"""";if(e.hasOwnProperty(""name""))return e.name;var t=Function.prototype.toString.call(e),n=/^function\s+([\w\$]+)\s*\(/.exec(t);return n?n[1]:""""}}(qe=e.Debug||(e.Debug={})),e.orderedRemoveItem=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return Ne(e,n),!0;return!1},e.orderedRemoveItemAt=Ne,e.unorderedRemoveItemAt=Ae,e.unorderedRemoveItem=we,e.createGetCanonicalFileName=function(e){return e?function(e){return e}:function(e){return e.toLowerCase()}},e.matchPatternOrExact=function(e,t){for(var n=[],r=0,a=e;r<a.length;r++){var i=a[r],o=Ie(i);if(o)n.push(o);else if(i===t)return i}return Fe(n,function(e){return e},t)},e.patternText=function(e){return e.prefix+""*""+e.suffix},e.matchedText=function(e,t){return qe.assert(Oe(e,t)),t.substr(e.prefix.length,t.length-e.suffix.length)},e.findBestPatternMatch=Fe,e.tryParsePattern=Ie,e.positionIsSynthesized=function(e){return!(e>=0)},e.extensionIsTypeScript=function(t){return t<=e.Extension.LastTypeScriptExtension},e.extensionFromPath=function(e){var t=Re(e);if(void 0!==t)return t;qe.fail(""File ""+e+"" has unknown extension."")},e.tryGetExtensionFromPath=Re,e.isCheckJsEnabledForFile=function(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}}(ts||(ts={}));var ts;!function(e){function t(){if(""undefined""!=typeof process){var e=process.version;if(e){var t=e.indexOf(""."");if(-1!==t)return parseInt(e.substring(1,t))}}}e.getNodeMajorVersion=t,e.sys=function(){function n(t,r){var a=e.getDirectoryPath(t),i=t!==a&&!r.directoryExists(a);i&&n(a,r),!i&&r.directoryExists(t)||r.createDirectory(t)}var r;if(""undefined""!=typeof ChakraHost?r=function(){var t=ChakraHost.realpath&&function(e){return ChakraHost.realpath(e)};return{newLine:ChakraHost.newLine||""\r\n"",args:ChakraHost.args,useCaseSensitiveFileNames:!!ChakraHost.useCaseSensitiveFileNames,write:ChakraHost.echo,readFile:function(e,t){return ChakraHost.readFile(e)},writeFile:function(e,t,n){n&&(t=""\ufeff""+t),ChakraHost.writeFile(e,t)},resolvePath:ChakraHost.resolvePath,fileExists:ChakraHost.fileExists,directoryExists:ChakraHost.directoryExists,createDirectory:ChakraHost.createDirectory,getExecutingFilePath:function(){return ChakraHost.executingFile},getCurrentDirectory:function(){return ChakraHost.currentDirectory},getDirectories:ChakraHost.getDirectories,getEnvironmentVariable:ChakraHost.getEnvironmentVariable||function(){return""""},readDirectory:function(t,n,r,a){var i=e.getFileMatcherPatterns(t,r,a,!!ChakraHost.useCaseSensitiveFileNames,ChakraHost.currentDirectory);return ChakraHost.readDirectory(t,n,i.basePaths,i.excludePattern,i.includeFilePattern,i.includeDirectoryPattern)},exit:ChakraHost.quit,realpath:t}}():""undefined""!=typeof process&&process.nextTick&&!process.browser&&""undefined""!=typeof require&&(r=function(){function n(t){try{for(var n=[],r=[],a=0,i=s.readdirSync(t||""."").sort();a<i.length;a++){var o=i[a];if("".""!==o&&""..""!==o){var c=e.combinePaths(t,o),u=void 0;try{u=s.statSync(c)}catch(e){continue}u.isFile()?n.push(o):u.isDirectory()&&r.push(o)}}return{files:n,directories:r}}catch(e){return{files:[],directories:[]}}}function r(e,t){try{var n=s.statSync(e);switch(t){case 0:return n.isFile();case 1:return n.isDirectory()}}catch(e){return!1}}function a(e){return r(e,0)}function i(e){return r(e,1)}var o,s=require(""fs""),c=require(""path""),u=require(""os""),_=require(""crypto""),l=process.env.TSC_NONPOLLING_WATCHER,d=function(){function t(t){var n=e.getDirectoryPath(t),r=o.get(n);r&&(r.referenceCount-=1,r.referenceCount<=0&&(r.close(),o.delete(n)))}function n(e){var t=o.get(e);t?t.referenceCount+=1:((t=s.watch(e,{persistent:!0},function(t,n){return i(t,n,e)})).referenceCount=1,o.set(e,t))}function r(e,t){c.add(e,t)}function a(e,t){c.remove(e,t)}function i(t,n,r){var a=""string""!=typeof n?void 0:e.getNormalizedAbsolutePath(n,r);if(""change""===t||""rename""===t){var i=c.get(a);if(i)for(var o=0,s=i;o<s.length;o++)(0,s[o])(a)}}var o=e.createMap(),c=e.createMultiMap();return{addFile:function(t,a){return r(t,a),n(e.getDirectoryPath(t)),{fileName:t,callback:a}},removeFile:function(e){a(e.fileName,e.callback),t(e.fileName)}}}(),p=t()>=4,f=u.platform(),m=!(""win32""===f||""win64""===f||a(__filename.toUpperCase())&&a(__filename.toLowerCase()));!function(e){e[e.File=0]=""File"",e[e.Directory=1]=""Directory""}(o||(o={}));var g={close:e.noop},y={args:process.argv.slice(2),newLine:u.EOL,useCaseSensitiveFileNames:m,write:function(e){process.stdout.write(e)},readFile:function(e,t){if(a(e)){var n=s.readFileSync(e),r=n.length;if(r>=2&&254===n[0]&&255===n[1]){r&=-2;for(var i=0;i<r;i+=2){var o=n[i];n[i]=n[i+1],n[i+1]=o}return n.toString(""utf16le"",2)}return r>=2&&255===n[0]&&254===n[1]?n.toString(""utf16le"",2):r>=3&&239===n[0]&&187===n[1]&&191===n[2]?n.toString(""utf8"",3):n.toString(""utf8"")}},writeFile:function(e,t,n){n&&(t=""\ufeff""+t);var r;try{r=s.openSync(e,""w""),s.writeSync(r,t,void 0,""utf8"")}finally{void 0!==r&&s.closeSync(r)}},watchFile:function(e,t,n){function r(n,r){+n.mtime<=+r.mtime||t(e)}if(l){var a=d.addFile(e,t);return{close:function(){return d.removeFile(a)}}}return s.watchFile(e,{persistent:!0,interval:n||250},r),{close:function(){return s.unwatchFile(e,r)}}},watchDirectory:function(t,n,r){var a;return i(t)?(a=!p||""win32""!==process.platform&&""darwin""!==process.platform?{persistent:!0}:{persistent:!0,recursive:!!r},s.watch(t,a,function(r,a){""rename""===r&&n(a?e.normalizePath(e.combinePaths(t,a)):a)})):g},resolvePath:function(e){return c.resolve(e)},fileExists:a,directoryExists:i,createDirectory:function(e){y.directoryExists(e)||s.mkdirSync(e)},getExecutingFilePath:function(){return __filename},getCurrentDirectory:function(){return process.cwd()},getDirectories:function(t){return e.filter(s.readdirSync(t),function(n){return r(e.combinePaths(t,n),1)})},getEnvironmentVariable:function(e){return process.env[e]||""""},readDirectory:function(t,r,a,i){return e.matchFiles(t,r,a,i,m,process.cwd(),n)},getModifiedTime:function(e){try{return s.statSync(e).mtime}catch(e){return}},createHash:function(e){var t=_.createHash(""md5"");return t.update(e),t.digest(""hex"")},getMemoryUsage:function(){return global.gc&&global.gc(),process.memoryUsage().heapUsed},getFileSize:function(e){try{var t=s.statSync(e);if(t.isFile())return t.size}catch(e){}return 0},exit:function(e){process.exit(e)},realpath:function(e){return s.realpathSync(e)},debugMode:e.some(process.execArgv,function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)}),tryEnableSourceMapsForHost:function(){try{require(""source-map-support"").install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout};return y}()),r){var a=r.writeFile;r.writeFile=function(t,i,o){var s=e.getDirectoryPath(e.normalizeSlashes(t));s&&!r.directoryExists(s)&&n(s,r),a.call(r,t,i,o)}}return r}(),e.sys&&e.sys.getEnvironmentVariable&&(e.Debug.currentAssertionLevel=/^development$/i.test(e.sys.getEnvironmentVariable(""NODE_ENV""))?1:0),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(ts||(ts={}));var ts;!function(e){e.Diagnostics={Unterminated_string_literal:{code:1002,category:e.DiagnosticCategory.Error,key:""Unterminated_string_literal_1002"",message:""Unterminated string literal.""},Identifier_expected:{code:1003,category:e.DiagnosticCategory.Error,key:""Identifier_expected_1003"",message:""Identifier expected.""},_0_expected:{code:1005,category:e.DiagnosticCategory.Error,key:""_0_expected_1005"",message:""'{0}' expected.""},A_file_cannot_have_a_reference_to_itself:{code:1006,category:e.DiagnosticCategory.Error,key:""A_file_cannot_have_a_reference_to_itself_1006"",message:""A file cannot have a reference to itself.""},Trailing_comma_not_allowed:{code:1009,category:e.DiagnosticCategory.Error,key:""Trailing_comma_not_allowed_1009"",message:""Trailing comma not allowed.""},Asterisk_Slash_expected:{code:1010,category:e.DiagnosticCategory.Error,key:""Asterisk_Slash_expected_1010"",message:""'*/' expected.""},Unexpected_token:{code:1012,category:e.DiagnosticCategory.Error,key:""Unexpected_token_1012"",message:""Unexpected token.""},A_rest_parameter_must_be_last_in_a_parameter_list:{code:1014,category:e.DiagnosticCategory.Error,key:""A_rest_parameter_must_be_last_in_a_parameter_list_1014"",message:""A rest parameter must be last in a parameter list.""},Parameter_cannot_have_question_mark_and_initializer:{code:1015,category:e.DiagnosticCategory.Error,key:""Parameter_cannot_have_question_mark_and_initializer_1015"",message:""Parameter cannot have question mark and initializer.""},A_required_parameter_cannot_follow_an_optional_parameter:{code:1016,category:e.DiagnosticCategory.Error,key:""A_required_parameter_cannot_follow_an_optional_parameter_1016"",message:""A required parameter cannot follow an optional parameter.""},An_index_signature_cannot_have_a_rest_parameter:{code:1017,category:e.DiagnosticCategory.Error,key:""An_index_signature_cannot_have_a_rest_parameter_1017"",message:""An index signature cannot have a rest parameter.""},An_index_signature_parameter_cannot_have_an_accessibility_modifier:{code:1018,category:e.DiagnosticCategory.Error,key:""An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018"",message:""An index signature parameter cannot have an accessibility modifier.""},An_index_signature_parameter_cannot_have_a_question_mark:{code:1019,category:e.DiagnosticCategory.Error,key:""An_index_signature_parameter_cannot_have_a_question_mark_1019"",message:""An index signature parameter cannot have a question mark.""},An_index_signature_parameter_cannot_have_an_initializer:{code:1020,category:e.DiagnosticCategory.Error,key:""An_index_signature_parameter_cannot_have_an_initializer_1020"",message:""An index signature parameter cannot have an initializer.""},An_index_signature_must_have_a_type_annotation:{code:1021,category:e.DiagnosticCategory.Error,key:""An_index_signature_must_have_a_type_annotation_1021"",message:""An index signature must have a type annotation.""},An_index_signature_parameter_must_have_a_type_annotation:{code:1022,category:e.DiagnosticCategory.Error,key:""An_index_signature_parameter_must_have_a_type_annotation_1022"",message:""An index signature parameter must have a type annotation.""},An_index_signature_parameter_type_must_be_string_or_number:{code:1023,category:e.DiagnosticCategory.Error,key:""An_index_signature_parameter_type_must_be_string_or_number_1023"",message:""An index signature parameter type must be 'string' or 'number'.""},readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:{code:1024,category:e.DiagnosticCategory.Error,key:""readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024"",message:""'readonly' modifier can only appear on a property declaration or index signature.""},Accessibility_modifier_already_seen:{code:1028,category:e.DiagnosticCategory.Error,key:""Accessibility_modifier_already_seen_1028"",message:""Accessibility modifier already seen.""},_0_modifier_must_precede_1_modifier:{code:1029,category:e.DiagnosticCategory.Error,key:""_0_modifier_must_precede_1_modifier_1029"",message:""'{0}' modifier must precede '{1}' modifier.""},_0_modifier_already_seen:{code:1030,category:e.DiagnosticCategory.Error,key:""_0_modifier_already_seen_1030"",message:""'{0}' modifier already seen.""},_0_modifier_cannot_appear_on_a_class_element:{code:1031,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_class_element_1031"",message:""'{0}' modifier cannot appear on a class element.""},super_must_be_followed_by_an_argument_list_or_member_access:{code:1034,category:e.DiagnosticCategory.Error,key:""super_must_be_followed_by_an_argument_list_or_member_access_1034"",message:""'super' must be followed by an argument list or member access.""},Only_ambient_modules_can_use_quoted_names:{code:1035,category:e.DiagnosticCategory.Error,key:""Only_ambient_modules_can_use_quoted_names_1035"",message:""Only ambient modules can use quoted names.""},Statements_are_not_allowed_in_ambient_contexts:{code:1036,category:e.DiagnosticCategory.Error,key:""Statements_are_not_allowed_in_ambient_contexts_1036"",message:""Statements are not allowed in ambient contexts.""},A_declare_modifier_cannot_be_used_in_an_already_ambient_context:{code:1038,category:e.DiagnosticCategory.Error,key:""A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038"",message:""A 'declare' modifier cannot be used in an already ambient context.""},Initializers_are_not_allowed_in_ambient_contexts:{code:1039,category:e.DiagnosticCategory.Error,key:""Initializers_are_not_allowed_in_ambient_contexts_1039"",message:""Initializers are not allowed in ambient contexts.""},_0_modifier_cannot_be_used_in_an_ambient_context:{code:1040,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_be_used_in_an_ambient_context_1040"",message:""'{0}' modifier cannot be used in an ambient context.""},_0_modifier_cannot_be_used_with_a_class_declaration:{code:1041,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_be_used_with_a_class_declaration_1041"",message:""'{0}' modifier cannot be used with a class declaration.""},_0_modifier_cannot_be_used_here:{code:1042,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_be_used_here_1042"",message:""'{0}' modifier cannot be used here.""},_0_modifier_cannot_appear_on_a_data_property:{code:1043,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_data_property_1043"",message:""'{0}' modifier cannot appear on a data property.""},_0_modifier_cannot_appear_on_a_module_or_namespace_element:{code:1044,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044"",message:""'{0}' modifier cannot appear on a module or namespace element.""},A_0_modifier_cannot_be_used_with_an_interface_declaration:{code:1045,category:e.DiagnosticCategory.Error,key:""A_0_modifier_cannot_be_used_with_an_interface_declaration_1045"",message:""A '{0}' modifier cannot be used with an interface declaration.""},A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file:{code:1046,category:e.DiagnosticCategory.Error,key:""A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file_1046"",message:""A 'declare' modifier is required for a top level declaration in a .d.ts file.""},A_rest_parameter_cannot_be_optional:{code:1047,category:e.DiagnosticCategory.Error,key:""A_rest_parameter_cannot_be_optional_1047"",message:""A rest parameter cannot be optional.""},A_rest_parameter_cannot_have_an_initializer:{code:1048,category:e.DiagnosticCategory.Error,key:""A_rest_parameter_cannot_have_an_initializer_1048"",message:""A rest parameter cannot have an initializer.""},A_set_accessor_must_have_exactly_one_parameter:{code:1049,category:e.DiagnosticCategory.Error,key:""A_set_accessor_must_have_exactly_one_parameter_1049"",message:""A 'set' accessor must have exactly one parameter.""},A_set_accessor_cannot_have_an_optional_parameter:{code:1051,category:e.DiagnosticCategory.Error,key:""A_set_accessor_cannot_have_an_optional_parameter_1051"",message:""A 'set' accessor cannot have an optional parameter.""},A_set_accessor_parameter_cannot_have_an_initializer:{code:1052,category:e.DiagnosticCategory.Error,key:""A_set_accessor_parameter_cannot_have_an_initializer_1052"",message:""A 'set' accessor parameter cannot have an initializer.""},A_set_accessor_cannot_have_rest_parameter:{code:1053,category:e.DiagnosticCategory.Error,key:""A_set_accessor_cannot_have_rest_parameter_1053"",message:""A 'set' accessor cannot have rest parameter.""},A_get_accessor_cannot_have_parameters:{code:1054,category:e.DiagnosticCategory.Error,key:""A_get_accessor_cannot_have_parameters_1054"",message:""A 'get' accessor cannot have parameters.""},Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:{code:1055,category:e.DiagnosticCategory.Error,key:""Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055"",message:""Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.""},Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:{code:1056,category:e.DiagnosticCategory.Error,key:""Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056"",message:""Accessors are only available when targeting ECMAScript 5 and higher.""},An_async_function_or_method_must_have_a_valid_awaitable_return_type:{code:1057,category:e.DiagnosticCategory.Error,key:""An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057"",message:""An async function or method must have a valid awaitable return type.""},The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1058,category:e.DiagnosticCategory.Error,key:""The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058"",message:""The return type of an async function must either be a valid promise or must not contain a callable 'then' member.""},A_promise_must_have_a_then_method:{code:1059,category:e.DiagnosticCategory.Error,key:""A_promise_must_have_a_then_method_1059"",message:""A promise must have a 'then' method.""},The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:{code:1060,category:e.DiagnosticCategory.Error,key:""The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060"",message:""The first parameter of the 'then' method of a promise must be a callback.""},Enum_member_must_have_initializer:{code:1061,category:e.DiagnosticCategory.Error,key:""Enum_member_must_have_initializer_1061"",message:""Enum member must have initializer.""},Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:{code:1062,category:e.DiagnosticCategory.Error,key:""Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062"",message:""Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method.""},An_export_assignment_cannot_be_used_in_a_namespace:{code:1063,category:e.DiagnosticCategory.Error,key:""An_export_assignment_cannot_be_used_in_a_namespace_1063"",message:""An export assignment cannot be used in a namespace.""},The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:{code:1064,category:e.DiagnosticCategory.Error,key:""The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064"",message:""The return type of an async function or method must be the global Promise<T> type.""},In_ambient_enum_declarations_member_initializer_must_be_constant_expression:{code:1066,category:e.DiagnosticCategory.Error,key:""In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066"",message:""In ambient enum declarations member initializer must be constant expression.""},Unexpected_token_A_constructor_method_accessor_or_property_was_expected:{code:1068,category:e.DiagnosticCategory.Error,key:""Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068"",message:""Unexpected token. A constructor, method, accessor, or property was expected.""},_0_modifier_cannot_appear_on_a_type_member:{code:1070,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_type_member_1070"",message:""'{0}' modifier cannot appear on a type member.""},_0_modifier_cannot_appear_on_an_index_signature:{code:1071,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_an_index_signature_1071"",message:""'{0}' modifier cannot appear on an index signature.""},A_0_modifier_cannot_be_used_with_an_import_declaration:{code:1079,category:e.DiagnosticCategory.Error,key:""A_0_modifier_cannot_be_used_with_an_import_declaration_1079"",message:""A '{0}' modifier cannot be used with an import declaration.""},Invalid_reference_directive_syntax:{code:1084,category:e.DiagnosticCategory.Error,key:""Invalid_reference_directive_syntax_1084"",message:""Invalid 'reference' directive syntax.""},Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:{code:1085,category:e.DiagnosticCategory.Error,key:""Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085"",message:""Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.""},An_accessor_cannot_be_declared_in_an_ambient_context:{code:1086,category:e.DiagnosticCategory.Error,key:""An_accessor_cannot_be_declared_in_an_ambient_context_1086"",message:""An accessor cannot be declared in an ambient context.""},_0_modifier_cannot_appear_on_a_constructor_declaration:{code:1089,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_constructor_declaration_1089"",message:""'{0}' modifier cannot appear on a constructor declaration.""},_0_modifier_cannot_appear_on_a_parameter:{code:1090,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_appear_on_a_parameter_1090"",message:""'{0}' modifier cannot appear on a parameter.""},Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:{code:1091,category:e.DiagnosticCategory.Error,key:""Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091"",message:""Only a single variable declaration is allowed in a 'for...in' statement.""},Type_parameters_cannot_appear_on_a_constructor_declaration:{code:1092,category:e.DiagnosticCategory.Error,key:""Type_parameters_cannot_appear_on_a_constructor_declaration_1092"",message:""Type parameters cannot appear on a constructor declaration.""},Type_annotation_cannot_appear_on_a_constructor_declaration:{code:1093,category:e.DiagnosticCategory.Error,key:""Type_annotation_cannot_appear_on_a_constructor_declaration_1093"",message:""Type annotation cannot appear on a constructor declaration.""},An_accessor_cannot_have_type_parameters:{code:1094,category:e.DiagnosticCategory.Error,key:""An_accessor_cannot_have_type_parameters_1094"",message:""An accessor cannot have type parameters.""},A_set_accessor_cannot_have_a_return_type_annotation:{code:1095,category:e.DiagnosticCategory.Error,key:""A_set_accessor_cannot_have_a_return_type_annotation_1095"",message:""A 'set' accessor cannot have a return type annotation.""},An_index_signature_must_have_exactly_one_parameter:{code:1096,category:e.DiagnosticCategory.Error,key:""An_index_signature_must_have_exactly_one_parameter_1096"",message:""An index signature must have exactly one parameter.""},_0_list_cannot_be_empty:{code:1097,category:e.DiagnosticCategory.Error,key:""_0_list_cannot_be_empty_1097"",message:""'{0}' list cannot be empty.""},Type_parameter_list_cannot_be_empty:{code:1098,category:e.DiagnosticCategory.Error,key:""Type_parameter_list_cannot_be_empty_1098"",message:""Type parameter list cannot be empty.""},Type_argument_list_cannot_be_empty:{code:1099,category:e.DiagnosticCategory.Error,key:""Type_argument_list_cannot_be_empty_1099"",message:""Type argument list cannot be empty.""},Invalid_use_of_0_in_strict_mode:{code:1100,category:e.DiagnosticCategory.Error,key:""Invalid_use_of_0_in_strict_mode_1100"",message:""Invalid use of '{0}' in strict mode.""},with_statements_are_not_allowed_in_strict_mode:{code:1101,category:e.DiagnosticCategory.Error,key:""with_statements_are_not_allowed_in_strict_mode_1101"",message:""'with' statements are not allowed in strict mode.""},delete_cannot_be_called_on_an_identifier_in_strict_mode:{code:1102,category:e.DiagnosticCategory.Error,key:""delete_cannot_be_called_on_an_identifier_in_strict_mode_1102"",message:""'delete' cannot be called on an identifier in strict mode.""},A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:{code:1103,category:e.DiagnosticCategory.Error,key:""A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103"",message:""A 'for-await-of' statement is only allowed within an async function or async generator.""},A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:{code:1104,category:e.DiagnosticCategory.Error,key:""A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104"",message:""A 'continue' statement can only be used within an enclosing iteration statement.""},A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:{code:1105,category:e.DiagnosticCategory.Error,key:""A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105"",message:""A 'break' statement can only be used within an enclosing iteration or switch statement.""},Jump_target_cannot_cross_function_boundary:{code:1107,category:e.DiagnosticCategory.Error,key:""Jump_target_cannot_cross_function_boundary_1107"",message:""Jump target cannot cross function boundary.""},A_return_statement_can_only_be_used_within_a_function_body:{code:1108,category:e.DiagnosticCategory.Error,key:""A_return_statement_can_only_be_used_within_a_function_body_1108"",message:""A 'return' statement can only be used within a function body.""},Expression_expected:{code:1109,category:e.DiagnosticCategory.Error,key:""Expression_expected_1109"",message:""Expression expected.""},Type_expected:{code:1110,category:e.DiagnosticCategory.Error,key:""Type_expected_1110"",message:""Type expected.""},A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:{code:1113,category:e.DiagnosticCategory.Error,key:""A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113"",message:""A 'default' clause cannot appear more than once in a 'switch' statement.""},Duplicate_label_0:{code:1114,category:e.DiagnosticCategory.Error,key:""Duplicate_label_0_1114"",message:""Duplicate label '{0}'.""},A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:{code:1115,category:e.DiagnosticCategory.Error,key:""A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115"",message:""A 'continue' statement can only jump to a label of an enclosing iteration statement.""},A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:{code:1116,category:e.DiagnosticCategory.Error,key:""A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116"",message:""A 'break' statement can only jump to a label of an enclosing statement.""},An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:{code:1117,category:e.DiagnosticCategory.Error,key:""An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117"",message:""An object literal cannot have multiple properties with the same name in strict mode.""},An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:{code:1118,category:e.DiagnosticCategory.Error,key:""An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118"",message:""An object literal cannot have multiple get/set accessors with the same name.""},An_object_literal_cannot_have_property_and_accessor_with_the_same_name:{code:1119,category:e.DiagnosticCategory.Error,key:""An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119"",message:""An object literal cannot have property and accessor with the same name.""},An_export_assignment_cannot_have_modifiers:{code:1120,category:e.DiagnosticCategory.Error,key:""An_export_assignment_cannot_have_modifiers_1120"",message:""An export assignment cannot have modifiers.""},Octal_literals_are_not_allowed_in_strict_mode:{code:1121,category:e.DiagnosticCategory.Error,key:""Octal_literals_are_not_allowed_in_strict_mode_1121"",message:""Octal literals are not allowed in strict mode.""},A_tuple_type_element_list_cannot_be_empty:{code:1122,category:e.DiagnosticCategory.Error,key:""A_tuple_type_element_list_cannot_be_empty_1122"",message:""A tuple type element list cannot be empty.""},Variable_declaration_list_cannot_be_empty:{code:1123,category:e.DiagnosticCategory.Error,key:""Variable_declaration_list_cannot_be_empty_1123"",message:""Variable declaration list cannot be empty.""},Digit_expected:{code:1124,category:e.DiagnosticCategory.Error,key:""Digit_expected_1124"",message:""Digit expected.""},Hexadecimal_digit_expected:{code:1125,category:e.DiagnosticCategory.Error,key:""Hexadecimal_digit_expected_1125"",message:""Hexadecimal digit expected.""},Unexpected_end_of_text:{code:1126,category:e.DiagnosticCategory.Error,key:""Unexpected_end_of_text_1126"",message:""Unexpected end of text.""},Invalid_character:{code:1127,category:e.DiagnosticCategory.Error,key:""Invalid_character_1127"",message:""Invalid character.""},Declaration_or_statement_expected:{code:1128,category:e.DiagnosticCategory.Error,key:""Declaration_or_statement_expected_1128"",message:""Declaration or statement expected.""},Statement_expected:{code:1129,category:e.DiagnosticCategory.Error,key:""Statement_expected_1129"",message:""Statement expected.""},case_or_default_expected:{code:1130,category:e.DiagnosticCategory.Error,key:""case_or_default_expected_1130"",message:""'case' or 'default' expected.""},Property_or_signature_expected:{code:1131,category:e.DiagnosticCategory.Error,key:""Property_or_signature_expected_1131"",message:""Property or signature expected.""},Enum_member_expected:{code:1132,category:e.DiagnosticCategory.Error,key:""Enum_member_expected_1132"",message:""Enum member expected.""},Variable_declaration_expected:{code:1134,category:e.DiagnosticCategory.Error,key:""Variable_declaration_expected_1134"",message:""Variable declaration expected.""},Argument_expression_expected:{code:1135,category:e.DiagnosticCategory.Error,key:""Argument_expression_expected_1135"",message:""Argument expression expected.""},Property_assignment_expected:{code:1136,category:e.DiagnosticCategory.Error,key:""Property_assignment_expected_1136"",message:""Property assignment expected.""},Expression_or_comma_expected:{code:1137,category:e.DiagnosticCategory.Error,key:""Expression_or_comma_expected_1137"",message:""Expression or comma expected.""},Parameter_declaration_expected:{code:1138,category:e.DiagnosticCategory.Error,key:""Parameter_declaration_expected_1138"",message:""Parameter declaration expected.""},Type_parameter_declaration_expected:{code:1139,category:e.DiagnosticCategory.Error,key:""Type_parameter_declaration_expected_1139"",message:""Type parameter declaration expected.""},Type_argument_expected:{code:1140,category:e.DiagnosticCategory.Error,key:""Type_argument_expected_1140"",message:""Type argument expected.""},String_literal_expected:{code:1141,category:e.DiagnosticCategory.Error,key:""String_literal_expected_1141"",message:""String literal expected.""},Line_break_not_permitted_here:{code:1142,category:e.DiagnosticCategory.Error,key:""Line_break_not_permitted_here_1142"",message:""Line break not permitted here.""},or_expected:{code:1144,category:e.DiagnosticCategory.Error,key:""or_expected_1144"",message:""'{' or ';' expected.""},Declaration_expected:{code:1146,category:e.DiagnosticCategory.Error,key:""Declaration_expected_1146"",message:""Declaration expected.""},Import_declarations_in_a_namespace_cannot_reference_a_module:{code:1147,category:e.DiagnosticCategory.Error,key:""Import_declarations_in_a_namespace_cannot_reference_a_module_1147"",message:""Import declarations in a namespace cannot reference a module.""},Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:{code:1148,category:e.DiagnosticCategory.Error,key:""Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148"",message:""Cannot use imports, exports, or module augmentations when '--module' is 'none'.""},File_name_0_differs_from_already_included_file_name_1_only_in_casing:{code:1149,category:e.DiagnosticCategory.Error,key:""File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149"",message:""File name '{0}' differs from already included file name '{1}' only in casing.""},new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:{code:1150,category:e.DiagnosticCategory.Error,key:""new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150"",message:""'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.""},const_declarations_must_be_initialized:{code:1155,category:e.DiagnosticCategory.Error,key:""const_declarations_must_be_initialized_1155"",message:""'const' declarations must be initialized.""},const_declarations_can_only_be_declared_inside_a_block:{code:1156,category:e.DiagnosticCategory.Error,key:""const_declarations_can_only_be_declared_inside_a_block_1156"",message:""'const' declarations can only be declared inside a block.""},let_declarations_can_only_be_declared_inside_a_block:{code:1157,category:e.DiagnosticCategory.Error,key:""let_declarations_can_only_be_declared_inside_a_block_1157"",message:""'let' declarations can only be declared inside a block.""},Unterminated_template_literal:{code:1160,category:e.DiagnosticCategory.Error,key:""Unterminated_template_literal_1160"",message:""Unterminated template literal.""},Unterminated_regular_expression_literal:{code:1161,category:e.DiagnosticCategory.Error,key:""Unterminated_regular_expression_literal_1161"",message:""Unterminated regular expression literal.""},An_object_member_cannot_be_declared_optional:{code:1162,category:e.DiagnosticCategory.Error,key:""An_object_member_cannot_be_declared_optional_1162"",message:""An object member cannot be declared optional.""},A_yield_expression_is_only_allowed_in_a_generator_body:{code:1163,category:e.DiagnosticCategory.Error,key:""A_yield_expression_is_only_allowed_in_a_generator_body_1163"",message:""A 'yield' expression is only allowed in a generator body.""},Computed_property_names_are_not_allowed_in_enums:{code:1164,category:e.DiagnosticCategory.Error,key:""Computed_property_names_are_not_allowed_in_enums_1164"",message:""Computed property names are not allowed in enums.""},A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol:{code:1165,category:e.DiagnosticCategory.Error,key:""A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165"",message:""A computed property name in an ambient context must directly refer to a built-in symbol.""},A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol:{code:1166,category:e.DiagnosticCategory.Error,key:""A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166"",message:""A computed property name in a class property declaration must directly refer to a built-in symbol.""},A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol:{code:1168,category:e.DiagnosticCategory.Error,key:""A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168"",message:""A computed property name in a method overload must directly refer to a built-in symbol.""},A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol:{code:1169,category:e.DiagnosticCategory.Error,key:""A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169"",message:""A computed property name in an interface must directly refer to a built-in symbol.""},A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol:{code:1170,category:e.DiagnosticCategory.Error,key:""A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170"",message:""A computed property name in a type literal must directly refer to a built-in symbol.""},A_comma_expression_is_not_allowed_in_a_computed_property_name:{code:1171,category:e.DiagnosticCategory.Error,key:""A_comma_expression_is_not_allowed_in_a_computed_property_name_1171"",message:""A comma expression is not allowed in a computed property name.""},extends_clause_already_seen:{code:1172,category:e.DiagnosticCategory.Error,key:""extends_clause_already_seen_1172"",message:""'extends' clause already seen.""},extends_clause_must_precede_implements_clause:{code:1173,category:e.DiagnosticCategory.Error,key:""extends_clause_must_precede_implements_clause_1173"",message:""'extends' clause must precede 'implements' clause.""},Classes_can_only_extend_a_single_class:{code:1174,category:e.DiagnosticCategory.Error,key:""Classes_can_only_extend_a_single_class_1174"",message:""Classes can only extend a single class.""},implements_clause_already_seen:{code:1175,category:e.DiagnosticCategory.Error,key:""implements_clause_already_seen_1175"",message:""'implements' clause already seen.""},Interface_declaration_cannot_have_implements_clause:{code:1176,category:e.DiagnosticCategory.Error,key:""Interface_declaration_cannot_have_implements_clause_1176"",message:""Interface declaration cannot have 'implements' clause.""},Binary_digit_expected:{code:1177,category:e.DiagnosticCategory.Error,key:""Binary_digit_expected_1177"",message:""Binary digit expected.""},Octal_digit_expected:{code:1178,category:e.DiagnosticCategory.Error,key:""Octal_digit_expected_1178"",message:""Octal digit expected.""},Unexpected_token_expected:{code:1179,category:e.DiagnosticCategory.Error,key:""Unexpected_token_expected_1179"",message:""Unexpected token. '{' expected.""},Property_destructuring_pattern_expected:{code:1180,category:e.DiagnosticCategory.Error,key:""Property_destructuring_pattern_expected_1180"",message:""Property destructuring pattern expected.""},Array_element_destructuring_pattern_expected:{code:1181,category:e.DiagnosticCategory.Error,key:""Array_element_destructuring_pattern_expected_1181"",message:""Array element destructuring pattern expected.""},A_destructuring_declaration_must_have_an_initializer:{code:1182,category:e.DiagnosticCategory.Error,key:""A_destructuring_declaration_must_have_an_initializer_1182"",message:""A destructuring declaration must have an initializer.""},An_implementation_cannot_be_declared_in_ambient_contexts:{code:1183,category:e.DiagnosticCategory.Error,key:""An_implementation_cannot_be_declared_in_ambient_contexts_1183"",message:""An implementation cannot be declared in ambient contexts.""},Modifiers_cannot_appear_here:{code:1184,category:e.DiagnosticCategory.Error,key:""Modifiers_cannot_appear_here_1184"",message:""Modifiers cannot appear here.""},Merge_conflict_marker_encountered:{code:1185,category:e.DiagnosticCategory.Error,key:""Merge_conflict_marker_encountered_1185"",message:""Merge conflict marker encountered.""},A_rest_element_cannot_have_an_initializer:{code:1186,category:e.DiagnosticCategory.Error,key:""A_rest_element_cannot_have_an_initializer_1186"",message:""A rest element cannot have an initializer.""},A_parameter_property_may_not_be_declared_using_a_binding_pattern:{code:1187,category:e.DiagnosticCategory.Error,key:""A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187"",message:""A parameter property may not be declared using a binding pattern.""},Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:{code:1188,category:e.DiagnosticCategory.Error,key:""Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188"",message:""Only a single variable declaration is allowed in a 'for...of' statement.""},The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:{code:1189,category:e.DiagnosticCategory.Error,key:""The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189"",message:""The variable declaration of a 'for...in' statement cannot have an initializer.""},The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:{code:1190,category:e.DiagnosticCategory.Error,key:""The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190"",message:""The variable declaration of a 'for...of' statement cannot have an initializer.""},An_import_declaration_cannot_have_modifiers:{code:1191,category:e.DiagnosticCategory.Error,key:""An_import_declaration_cannot_have_modifiers_1191"",message:""An import declaration cannot have modifiers.""},Module_0_has_no_default_export:{code:1192,category:e.DiagnosticCategory.Error,key:""Module_0_has_no_default_export_1192"",message:""Module '{0}' has no default export.""},An_export_declaration_cannot_have_modifiers:{code:1193,category:e.DiagnosticCategory.Error,key:""An_export_declaration_cannot_have_modifiers_1193"",message:""An export declaration cannot have modifiers.""},Export_declarations_are_not_permitted_in_a_namespace:{code:1194,category:e.DiagnosticCategory.Error,key:""Export_declarations_are_not_permitted_in_a_namespace_1194"",message:""Export declarations are not permitted in a namespace.""},Catch_clause_variable_cannot_have_a_type_annotation:{code:1196,category:e.DiagnosticCategory.Error,key:""Catch_clause_variable_cannot_have_a_type_annotation_1196"",message:""Catch clause variable cannot have a type annotation.""},Catch_clause_variable_cannot_have_an_initializer:{code:1197,category:e.DiagnosticCategory.Error,key:""Catch_clause_variable_cannot_have_an_initializer_1197"",message:""Catch clause variable cannot have an initializer.""},An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:{code:1198,category:e.DiagnosticCategory.Error,key:""An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198"",message:""An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.""},Unterminated_Unicode_escape_sequence:{code:1199,category:e.DiagnosticCategory.Error,key:""Unterminated_Unicode_escape_sequence_1199"",message:""Unterminated Unicode escape sequence.""},Line_terminator_not_permitted_before_arrow:{code:1200,category:e.DiagnosticCategory.Error,key:""Line_terminator_not_permitted_before_arrow_1200"",message:""Line terminator not permitted before arrow.""},Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:{code:1202,category:e.DiagnosticCategory.Error,key:""Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asteri_1202"",message:""Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from \""mod\""', 'import {a} from \""mod\""', 'import d from \""mod\""', or another module format instead.""},Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_default_or_another_module_format_instead:{code:1203,category:e.DiagnosticCategory.Error,key:""Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_defaul_1203"",message:""Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead.""},Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:{code:1205,category:e.DiagnosticCategory.Error,key:""Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205"",message:""Cannot re-export a type when the '--isolatedModules' flag is provided.""},Decorators_are_not_valid_here:{code:1206,category:e.DiagnosticCategory.Error,key:""Decorators_are_not_valid_here_1206"",message:""Decorators are not valid here.""},Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:{code:1207,category:e.DiagnosticCategory.Error,key:""Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207"",message:""Decorators cannot be applied to multiple get/set accessors of the same name.""},Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:{code:1208,category:e.DiagnosticCategory.Error,key:""Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208"",message:""Cannot compile namespaces when the '--isolatedModules' flag is provided.""},Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:{code:1209,category:e.DiagnosticCategory.Error,key:""Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209"",message:""Ambient const enums are not allowed when the '--isolatedModules' flag is provided.""},Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:{code:1210,category:e.DiagnosticCategory.Error,key:""Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210"",message:""Invalid use of '{0}'. Class definitions are automatically in strict mode.""},A_class_declaration_without_the_default_modifier_must_have_a_name:{code:1211,category:e.DiagnosticCategory.Error,key:""A_class_declaration_without_the_default_modifier_must_have_a_name_1211"",message:""A class declaration without the 'default' modifier must have a name.""},Identifier_expected_0_is_a_reserved_word_in_strict_mode:{code:1212,category:e.DiagnosticCategory.Error,key:""Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212"",message:""Identifier expected. '{0}' is a reserved word in strict mode.""},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:{code:1213,category:e.DiagnosticCategory.Error,key:""Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213"",message:""Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.""},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:{code:1214,category:e.DiagnosticCategory.Error,key:""Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214"",message:""Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.""},Invalid_use_of_0_Modules_are_automatically_in_strict_mode:{code:1215,category:e.DiagnosticCategory.Error,key:""Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215"",message:""Invalid use of '{0}'. Modules are automatically in strict mode.""},Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:{code:1216,category:e.DiagnosticCategory.Error,key:""Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216"",message:""Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules.""},Export_assignment_is_not_supported_when_module_flag_is_system:{code:1218,category:e.DiagnosticCategory.Error,key:""Export_assignment_is_not_supported_when_module_flag_is_system_1218"",message:""Export assignment is not supported when '--module' flag is 'system'.""},Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning:{code:1219,category:e.DiagnosticCategory.Error,key:""Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219"",message:""Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.""},Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:{code:1220,category:e.DiagnosticCategory.Error,key:""Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220"",message:""Generators are only available when targeting ECMAScript 2015 or higher.""},Generators_are_not_allowed_in_an_ambient_context:{code:1221,category:e.DiagnosticCategory.Error,key:""Generators_are_not_allowed_in_an_ambient_context_1221"",message:""Generators are not allowed in an ambient context.""},An_overload_signature_cannot_be_declared_as_a_generator:{code:1222,category:e.DiagnosticCategory.Error,key:""An_overload_signature_cannot_be_declared_as_a_generator_1222"",message:""An overload signature cannot be declared as a generator.""},_0_tag_already_specified:{code:1223,category:e.DiagnosticCategory.Error,key:""_0_tag_already_specified_1223"",message:""'{0}' tag already specified.""},Signature_0_must_have_a_type_predicate:{code:1224,category:e.DiagnosticCategory.Error,key:""Signature_0_must_have_a_type_predicate_1224"",message:""Signature '{0}' must have a type predicate.""},Cannot_find_parameter_0:{code:1225,category:e.DiagnosticCategory.Error,key:""Cannot_find_parameter_0_1225"",message:""Cannot find parameter '{0}'.""},Type_predicate_0_is_not_assignable_to_1:{code:1226,category:e.DiagnosticCategory.Error,key:""Type_predicate_0_is_not_assignable_to_1_1226"",message:""Type predicate '{0}' is not assignable to '{1}'.""},Parameter_0_is_not_in_the_same_position_as_parameter_1:{code:1227,category:e.DiagnosticCategory.Error,key:""Parameter_0_is_not_in_the_same_position_as_parameter_1_1227"",message:""Parameter '{0}' is not in the same position as parameter '{1}'.""},A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:{code:1228,category:e.DiagnosticCategory.Error,key:""A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228"",message:""A type predicate is only allowed in return type position for functions and methods.""},A_type_predicate_cannot_reference_a_rest_parameter:{code:1229,category:e.DiagnosticCategory.Error,key:""A_type_predicate_cannot_reference_a_rest_parameter_1229"",message:""A type predicate cannot reference a rest parameter.""},A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:{code:1230,category:e.DiagnosticCategory.Error,key:""A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230"",message:""A type predicate cannot reference element '{0}' in a binding pattern.""},An_export_assignment_can_only_be_used_in_a_module:{code:1231,category:e.DiagnosticCategory.Error,key:""An_export_assignment_can_only_be_used_in_a_module_1231"",message:""An export assignment can only be used in a module.""},An_import_declaration_can_only_be_used_in_a_namespace_or_module:{code:1232,category:e.DiagnosticCategory.Error,key:""An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232"",message:""An import declaration can only be used in a namespace or module.""},An_export_declaration_can_only_be_used_in_a_module:{code:1233,category:e.DiagnosticCategory.Error,key:""An_export_declaration_can_only_be_used_in_a_module_1233"",message:""An export declaration can only be used in a module.""},An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:{code:1234,category:e.DiagnosticCategory.Error,key:""An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234"",message:""An ambient module declaration is only allowed at the top level in a file.""},A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:{code:1235,category:e.DiagnosticCategory.Error,key:""A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235"",message:""A namespace declaration is only allowed in a namespace or module.""},The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:{code:1236,category:e.DiagnosticCategory.Error,key:""The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236"",message:""The return type of a property decorator function must be either 'void' or 'any'.""},The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:{code:1237,category:e.DiagnosticCategory.Error,key:""The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237"",message:""The return type of a parameter decorator function must be either 'void' or 'any'.""},Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:{code:1238,category:e.DiagnosticCategory.Error,key:""Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238"",message:""Unable to resolve signature of class decorator when called as an expression.""},Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:{code:1239,category:e.DiagnosticCategory.Error,key:""Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239"",message:""Unable to resolve signature of parameter decorator when called as an expression.""},Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:{code:1240,category:e.DiagnosticCategory.Error,key:""Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240"",message:""Unable to resolve signature of property decorator when called as an expression.""},Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:{code:1241,category:e.DiagnosticCategory.Error,key:""Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241"",message:""Unable to resolve signature of method decorator when called as an expression.""},abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:{code:1242,category:e.DiagnosticCategory.Error,key:""abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242"",message:""'abstract' modifier can only appear on a class, method, or property declaration.""},_0_modifier_cannot_be_used_with_1_modifier:{code:1243,category:e.DiagnosticCategory.Error,key:""_0_modifier_cannot_be_used_with_1_modifier_1243"",message:""'{0}' modifier cannot be used with '{1}' modifier.""},Abstract_methods_can_only_appear_within_an_abstract_class:{code:1244,category:e.DiagnosticCategory.Error,key:""Abstract_methods_can_only_appear_within_an_abstract_class_1244"",message:""Abstract methods can only appear within an abstract class.""},Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:{code:1245,category:e.DiagnosticCategory.Error,key:""Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245"",message:""Method '{0}' cannot have an implementation because it is marked abstract.""},An_interface_property_cannot_have_an_initializer:{code:1246,category:e.DiagnosticCategory.Error,key:""An_interface_property_cannot_have_an_initializer_1246"",message:""An interface property cannot have an initializer.""},A_type_literal_property_cannot_have_an_initializer:{code:1247,category:e.DiagnosticCategory.Error,key:""A_type_literal_property_cannot_have_an_initializer_1247"",message:""A type literal property cannot have an initializer.""},A_class_member_cannot_have_the_0_keyword:{code:1248,category:e.DiagnosticCategory.Error,key:""A_class_member_cannot_have_the_0_keyword_1248"",message:""A class member cannot have the '{0}' keyword.""},A_decorator_can_only_decorate_a_method_implementation_not_an_overload:{code:1249,category:e.DiagnosticCategory.Error,key:""A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249"",message:""A decorator can only decorate a method implementation, not an overload.""},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:{code:1250,category:e.DiagnosticCategory.Error,key:""Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250"",message:""Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.""},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:{code:1251,category:e.DiagnosticCategory.Error,key:""Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251"",message:""Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.""},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:{code:1252,category:e.DiagnosticCategory.Error,key:""Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252"",message:""Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.""},_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:{code:1253,category:e.DiagnosticCategory.Error,key:""_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253"",message:""'{0}' tag cannot be used independently as a top level JSDoc tag.""},A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal:{code:1254,category:e.DiagnosticCategory.Error,key:""A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254"",message:""A 'const' initializer in an ambient context must be a string or numeric literal.""},with_statements_are_not_allowed_in_an_async_function_block:{code:1300,category:e.DiagnosticCategory.Error,key:""with_statements_are_not_allowed_in_an_async_function_block_1300"",message:""'with' statements are not allowed in an async function block.""},await_expression_is_only_allowed_within_an_async_function:{code:1308,category:e.DiagnosticCategory.Error,key:""await_expression_is_only_allowed_within_an_async_function_1308"",message:""'await' expression is only allowed within an async function.""},can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:{code:1312,category:e.DiagnosticCategory.Error,key:""can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312"",message:""'=' can only be used in an object literal property inside a destructuring assignment.""},The_body_of_an_if_statement_cannot_be_the_empty_statement:{code:1313,category:e.DiagnosticCategory.Error,key:""The_body_of_an_if_statement_cannot_be_the_empty_statement_1313"",message:""The body of an 'if' statement cannot be the empty statement.""},Global_module_exports_may_only_appear_in_module_files:{code:1314,category:e.DiagnosticCategory.Error,key:""Global_module_exports_may_only_appear_in_module_files_1314"",message:""Global module exports may only appear in module files.""},Global_module_exports_may_only_appear_in_declaration_files:{code:1315,category:e.DiagnosticCategory.Error,key:""Global_module_exports_may_only_appear_in_declaration_files_1315"",message:""Global module exports may only appear in declaration files.""},Global_module_exports_may_only_appear_at_top_level:{code:1316,category:e.DiagnosticCategory.Error,key:""Global_module_exports_may_only_appear_at_top_level_1316"",message:""Global module exports may only appear at top level.""},A_parameter_property_cannot_be_declared_using_a_rest_parameter:{code:1317,category:e.DiagnosticCategory.Error,key:""A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317"",message:""A parameter property cannot be declared using a rest parameter.""},An_abstract_accessor_cannot_have_an_implementation:{code:1318,category:e.DiagnosticCategory.Error,key:""An_abstract_accessor_cannot_have_an_implementation_1318"",message:""An abstract accessor cannot have an implementation.""},A_default_export_can_only_be_used_in_an_ECMAScript_style_module:{code:1319,category:e.DiagnosticCategory.Error,key:""A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319"",message:""A default export can only be used in an ECMAScript-style module.""},Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1320,category:e.DiagnosticCategory.Error,key:""Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320"",message:""Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.""},Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1321,category:e.DiagnosticCategory.Error,key:""Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321"",message:""Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member.""},Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1322,category:e.DiagnosticCategory.Error,key:""Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322"",message:""Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member.""},Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules:{code:1323,category:e.DiagnosticCategory.Error,key:""Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules_1323"",message:""Dynamic import cannot be used when targeting ECMAScript 2015 modules.""},Dynamic_import_must_have_one_specifier_as_an_argument:{code:1324,category:e.DiagnosticCategory.Error,key:""Dynamic_import_must_have_one_specifier_as_an_argument_1324"",message:""Dynamic import must have one specifier as an argument.""},Specifier_of_dynamic_import_cannot_be_spread_element:{code:1325,category:e.DiagnosticCategory.Error,key:""Specifier_of_dynamic_import_cannot_be_spread_element_1325"",message:""Specifier of dynamic import cannot be spread element.""},Dynamic_import_cannot_have_type_arguments:{code:1326,category:e.DiagnosticCategory.Error,key:""Dynamic_import_cannot_have_type_arguments_1326"",message:""Dynamic import cannot have type arguments""},Duplicate_identifier_0:{code:2300,category:e.DiagnosticCategory.Error,key:""Duplicate_identifier_0_2300"",message:""Duplicate identifier '{0}'.""},Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:{code:2301,category:e.DiagnosticCategory.Error,key:""Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301"",message:""Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.""},Static_members_cannot_reference_class_type_parameters:{code:2302,category:e.DiagnosticCategory.Error,key:""Static_members_cannot_reference_class_type_parameters_2302"",message:""Static members cannot reference class type parameters.""},Circular_definition_of_import_alias_0:{code:2303,category:e.DiagnosticCategory.Error,key:""Circular_definition_of_import_alias_0_2303"",message:""Circular definition of import alias '{0}'.""},Cannot_find_name_0:{code:2304,category:e.DiagnosticCategory.Error,key:""Cannot_find_name_0_2304"",message:""Cannot find name '{0}'.""},Module_0_has_no_exported_member_1:{code:2305,category:e.DiagnosticCategory.Error,key:""Module_0_has_no_exported_member_1_2305"",message:""Module '{0}' has no exported member '{1}'.""},File_0_is_not_a_module:{code:2306,category:e.DiagnosticCategory.Error,key:""File_0_is_not_a_module_2306"",message:""File '{0}' is not a module.""},Cannot_find_module_0:{code:2307,category:e.DiagnosticCategory.Error,key:""Cannot_find_module_0_2307"",message:""Cannot find module '{0}'.""},Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:{code:2308,category:e.DiagnosticCategory.Error,key:""Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308"",message:""Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.""},An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:{code:2309,category:e.DiagnosticCategory.Error,key:""An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309"",message:""An export assignment cannot be used in a module with other exported elements.""},Type_0_recursively_references_itself_as_a_base_type:{code:2310,category:e.DiagnosticCategory.Error,key:""Type_0_recursively_references_itself_as_a_base_type_2310"",message:""Type '{0}' recursively references itself as a base type.""},A_class_may_only_extend_another_class:{code:2311,category:e.DiagnosticCategory.Error,key:""A_class_may_only_extend_another_class_2311"",message:""A class may only extend another class.""},An_interface_may_only_extend_a_class_or_another_interface:{code:2312,category:e.DiagnosticCategory.Error,key:""An_interface_may_only_extend_a_class_or_another_interface_2312"",message:""An interface may only extend a class or another interface.""},Type_parameter_0_has_a_circular_constraint:{code:2313,category:e.DiagnosticCategory.Error,key:""Type_parameter_0_has_a_circular_constraint_2313"",message:""Type parameter '{0}' has a circular constraint.""},Generic_type_0_requires_1_type_argument_s:{code:2314,category:e.DiagnosticCategory.Error,key:""Generic_type_0_requires_1_type_argument_s_2314"",message:""Generic type '{0}' requires {1} type argument(s).""},Type_0_is_not_generic:{code:2315,category:e.DiagnosticCategory.Error,key:""Type_0_is_not_generic_2315"",message:""Type '{0}' is not generic.""},Global_type_0_must_be_a_class_or_interface_type:{code:2316,category:e.DiagnosticCategory.Error,key:""Global_type_0_must_be_a_class_or_interface_type_2316"",message:""Global type '{0}' must be a class or interface type.""},Global_type_0_must_have_1_type_parameter_s:{code:2317,category:e.DiagnosticCategory.Error,key:""Global_type_0_must_have_1_type_parameter_s_2317"",message:""Global type '{0}' must have {1} type parameter(s).""},Cannot_find_global_type_0:{code:2318,category:e.DiagnosticCategory.Error,key:""Cannot_find_global_type_0_2318"",message:""Cannot find global type '{0}'.""},Named_property_0_of_types_1_and_2_are_not_identical:{code:2319,category:e.DiagnosticCategory.Error,key:""Named_property_0_of_types_1_and_2_are_not_identical_2319"",message:""Named property '{0}' of types '{1}' and '{2}' are not identical.""},Interface_0_cannot_simultaneously_extend_types_1_and_2:{code:2320,category:e.DiagnosticCategory.Error,key:""Interface_0_cannot_simultaneously_extend_types_1_and_2_2320"",message:""Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.""},Excessive_stack_depth_comparing_types_0_and_1:{code:2321,category:e.DiagnosticCategory.Error,key:""Excessive_stack_depth_comparing_types_0_and_1_2321"",message:""Excessive stack depth comparing types '{0}' and '{1}'.""},Type_0_is_not_assignable_to_type_1:{code:2322,category:e.DiagnosticCategory.Error,key:""Type_0_is_not_assignable_to_type_1_2322"",message:""Type '{0}' is not assignable to type '{1}'.""},Cannot_redeclare_exported_variable_0:{code:2323,category:e.DiagnosticCategory.Error,key:""Cannot_redeclare_exported_variable_0_2323"",message:""Cannot redeclare exported variable '{0}'.""},Property_0_is_missing_in_type_1:{code:2324,category:e.DiagnosticCategory.Error,key:""Property_0_is_missing_in_type_1_2324"",message:""Property '{0}' is missing in type '{1}'.""},Property_0_is_private_in_type_1_but_not_in_type_2:{code:2325,category:e.DiagnosticCategory.Error,key:""Property_0_is_private_in_type_1_but_not_in_type_2_2325"",message:""Property '{0}' is private in type '{1}' but not in type '{2}'.""},Types_of_property_0_are_incompatible:{code:2326,category:e.DiagnosticCategory.Error,key:""Types_of_property_0_are_incompatible_2326"",message:""Types of property '{0}' are incompatible.""},Property_0_is_optional_in_type_1_but_required_in_type_2:{code:2327,category:e.DiagnosticCategory.Error,key:""Property_0_is_optional_in_type_1_but_required_in_type_2_2327"",message:""Property '{0}' is optional in type '{1}' but required in type '{2}'.""},Types_of_parameters_0_and_1_are_incompatible:{code:2328,category:e.DiagnosticCategory.Error,key:""Types_of_parameters_0_and_1_are_incompatible_2328"",message:""Types of parameters '{0}' and '{1}' are incompatible.""},Index_signature_is_missing_in_type_0:{code:2329,category:e.DiagnosticCategory.Error,key:""Index_signature_is_missing_in_type_0_2329"",message:""Index signature is missing in type '{0}'.""},Index_signatures_are_incompatible:{code:2330,category:e.DiagnosticCategory.Error,key:""Index_signatures_are_incompatible_2330"",message:""Index signatures are incompatible.""},this_cannot_be_referenced_in_a_module_or_namespace_body:{code:2331,category:e.DiagnosticCategory.Error,key:""this_cannot_be_referenced_in_a_module_or_namespace_body_2331"",message:""'this' cannot be referenced in a module or namespace body.""},this_cannot_be_referenced_in_current_location:{code:2332,category:e.DiagnosticCategory.Error,key:""this_cannot_be_referenced_in_current_location_2332"",message:""'this' cannot be referenced in current location.""},this_cannot_be_referenced_in_constructor_arguments:{code:2333,category:e.DiagnosticCategory.Error,key:""this_cannot_be_referenced_in_constructor_arguments_2333"",message:""'this' cannot be referenced in constructor arguments.""},this_cannot_be_referenced_in_a_static_property_initializer:{code:2334,category:e.DiagnosticCategory.Error,key:""this_cannot_be_referenced_in_a_static_property_initializer_2334"",message:""'this' cannot be referenced in a static property initializer.""},super_can_only_be_referenced_in_a_derived_class:{code:2335,category:e.DiagnosticCategory.Error,key:""super_can_only_be_referenced_in_a_derived_class_2335"",message:""'super' can only be referenced in a derived class.""},super_cannot_be_referenced_in_constructor_arguments:{code:2336,category:e.DiagnosticCategory.Error,key:""super_cannot_be_referenced_in_constructor_arguments_2336"",message:""'super' cannot be referenced in constructor arguments.""},Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:{code:2337,category:e.DiagnosticCategory.Error,key:""Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337"",message:""Super calls are not permitted outside constructors or in nested functions inside constructors.""},super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:{code:2338,category:e.DiagnosticCategory.Error,key:""super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338"",message:""'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.""},Property_0_does_not_exist_on_type_1:{code:2339,category:e.DiagnosticCategory.Error,key:""Property_0_does_not_exist_on_type_1_2339"",message:""Property '{0}' does not exist on type '{1}'.""},Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:{code:2340,category:e.DiagnosticCategory.Error,key:""Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340"",message:""Only public and protected methods of the base class are accessible via the 'super' keyword.""},Property_0_is_private_and_only_accessible_within_class_1:{code:2341,category:e.DiagnosticCategory.Error,key:""Property_0_is_private_and_only_accessible_within_class_1_2341"",message:""Property '{0}' is private and only accessible within class '{1}'.""},An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:{code:2342,category:e.DiagnosticCategory.Error,key:""An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342"",message:""An index expression argument must be of type 'string', 'number', 'symbol', or 'any'.""},This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:{code:2343,category:e.DiagnosticCategory.Error,key:""This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343"",message:""This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'.""},Type_0_does_not_satisfy_the_constraint_1:{code:2344,category:e.DiagnosticCategory.Error,key:""Type_0_does_not_satisfy_the_constraint_1_2344"",message:""Type '{0}' does not satisfy the constraint '{1}'.""},Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:{code:2345,category:e.DiagnosticCategory.Error,key:""Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345"",message:""Argument of type '{0}' is not assignable to parameter of type '{1}'.""},Call_target_does_not_contain_any_signatures:{code:2346,category:e.DiagnosticCategory.Error,key:""Call_target_does_not_contain_any_signatures_2346"",message:""Call target does not contain any signatures.""},Untyped_function_calls_may_not_accept_type_arguments:{code:2347,category:e.DiagnosticCategory.Error,key:""Untyped_function_calls_may_not_accept_type_arguments_2347"",message:""Untyped function calls may not accept type arguments.""},Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:{code:2348,category:e.DiagnosticCategory.Error,key:""Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348"",message:""Value of type '{0}' is not callable. Did you mean to include 'new'?""},Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:{code:2349,category:e.DiagnosticCategory.Error,key:""Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349"",message:""Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures.""},Only_a_void_function_can_be_called_with_the_new_keyword:{code:2350,category:e.DiagnosticCategory.Error,key:""Only_a_void_function_can_be_called_with_the_new_keyword_2350"",message:""Only a void function can be called with the 'new' keyword.""},Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:{code:2351,category:e.DiagnosticCategory.Error,key:""Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351"",message:""Cannot use 'new' with an expression whose type lacks a call or construct signature.""},Type_0_cannot_be_converted_to_type_1:{code:2352,category:e.DiagnosticCategory.Error,key:""Type_0_cannot_be_converted_to_type_1_2352"",message:""Type '{0}' cannot be converted to type '{1}'.""},Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:{code:2353,category:e.DiagnosticCategory.Error,key:""Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353"",message:""Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.""},This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:{code:2354,category:e.DiagnosticCategory.Error,key:""This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354"",message:""This syntax requires an imported helper but module '{0}' cannot be found.""},A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:{code:2355,category:e.DiagnosticCategory.Error,key:""A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355"",message:""A function whose declared type is neither 'void' nor 'any' must return a value.""},An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type:{code:2356,category:e.DiagnosticCategory.Error,key:""An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356"",message:""An arithmetic operand must be of type 'any', 'number' or an enum type.""},The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:{code:2357,category:e.DiagnosticCategory.Error,key:""The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357"",message:""The operand of an increment or decrement operator must be a variable or a property access.""},The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2358,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358"",message:""The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.""},The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:{code:2359,category:e.DiagnosticCategory.Error,key:""The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359"",message:""The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.""},The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:{code:2360,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360"",message:""The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.""},The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2361,category:e.DiagnosticCategory.Error,key:""The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361"",message:""The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.""},The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2362,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362"",message:""The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.""},The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2363,category:e.DiagnosticCategory.Error,key:""The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363"",message:""The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.""},The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:{code:2364,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364"",message:""The left-hand side of an assignment expression must be a variable or a property access.""},Operator_0_cannot_be_applied_to_types_1_and_2:{code:2365,category:e.DiagnosticCategory.Error,key:""Operator_0_cannot_be_applied_to_types_1_and_2_2365"",message:""Operator '{0}' cannot be applied to types '{1}' and '{2}'.""},Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:{code:2366,category:e.DiagnosticCategory.Error,key:""Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366"",message:""Function lacks ending return statement and return type does not include 'undefined'.""},Type_parameter_name_cannot_be_0:{code:2368,category:e.DiagnosticCategory.Error,key:""Type_parameter_name_cannot_be_0_2368"",message:""Type parameter name cannot be '{0}'.""},A_parameter_property_is_only_allowed_in_a_constructor_implementation:{code:2369,category:e.DiagnosticCategory.Error,key:""A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369"",message:""A parameter property is only allowed in a constructor implementation.""},A_rest_parameter_must_be_of_an_array_type:{code:2370,category:e.DiagnosticCategory.Error,key:""A_rest_parameter_must_be_of_an_array_type_2370"",message:""A rest parameter must be of an array type.""},A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:{code:2371,category:e.DiagnosticCategory.Error,key:""A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371"",message:""A parameter initializer is only allowed in a function or constructor implementation.""},Parameter_0_cannot_be_referenced_in_its_initializer:{code:2372,category:e.DiagnosticCategory.Error,key:""Parameter_0_cannot_be_referenced_in_its_initializer_2372"",message:""Parameter '{0}' cannot be referenced in its initializer.""},Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:{code:2373,category:e.DiagnosticCategory.Error,key:""Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373"",message:""Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it.""},Duplicate_string_index_signature:{code:2374,category:e.DiagnosticCategory.Error,key:""Duplicate_string_index_signature_2374"",message:""Duplicate string index signature.""},Duplicate_number_index_signature:{code:2375,category:e.DiagnosticCategory.Error,key:""Duplicate_number_index_signature_2375"",message:""Duplicate number index signature.""},A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:{code:2376,category:e.DiagnosticCategory.Error,key:""A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376"",message:""A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.""},Constructors_for_derived_classes_must_contain_a_super_call:{code:2377,category:e.DiagnosticCategory.Error,key:""Constructors_for_derived_classes_must_contain_a_super_call_2377"",message:""Constructors for derived classes must contain a 'super' call.""},A_get_accessor_must_return_a_value:{code:2378,category:e.DiagnosticCategory.Error,key:""A_get_accessor_must_return_a_value_2378"",message:""A 'get' accessor must return a value.""},Getter_and_setter_accessors_do_not_agree_in_visibility:{code:2379,category:e.DiagnosticCategory.Error,key:""Getter_and_setter_accessors_do_not_agree_in_visibility_2379"",message:""Getter and setter accessors do not agree in visibility.""},get_and_set_accessor_must_have_the_same_type:{code:2380,category:e.DiagnosticCategory.Error,key:""get_and_set_accessor_must_have_the_same_type_2380"",message:""'get' and 'set' accessor must have the same type.""},A_signature_with_an_implementation_cannot_use_a_string_literal_type:{code:2381,category:e.DiagnosticCategory.Error,key:""A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381"",message:""A signature with an implementation cannot use a string literal type.""},Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:{code:2382,category:e.DiagnosticCategory.Error,key:""Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382"",message:""Specialized overload signature is not assignable to any non-specialized signature.""},Overload_signatures_must_all_be_exported_or_non_exported:{code:2383,category:e.DiagnosticCategory.Error,key:""Overload_signatures_must_all_be_exported_or_non_exported_2383"",message:""Overload signatures must all be exported or non-exported.""},Overload_signatures_must_all_be_ambient_or_non_ambient:{code:2384,category:e.DiagnosticCategory.Error,key:""Overload_signatures_must_all_be_ambient_or_non_ambient_2384"",message:""Overload signatures must all be ambient or non-ambient.""},Overload_signatures_must_all_be_public_private_or_protected:{code:2385,category:e.DiagnosticCategory.Error,key:""Overload_signatures_must_all_be_public_private_or_protected_2385"",message:""Overload signatures must all be public, private or protected.""},Overload_signatures_must_all_be_optional_or_required:{code:2386,category:e.DiagnosticCategory.Error,key:""Overload_signatures_must_all_be_optional_or_required_2386"",message:""Overload signatures must all be optional or required.""},Function_overload_must_be_static:{code:2387,category:e.DiagnosticCategory.Error,key:""Function_overload_must_be_static_2387"",message:""Function overload must be static.""},Function_overload_must_not_be_static:{code:2388,category:e.DiagnosticCategory.Error,key:""Function_overload_must_not_be_static_2388"",message:""Function overload must not be static.""},Function_implementation_name_must_be_0:{code:2389,category:e.DiagnosticCategory.Error,key:""Function_implementation_name_must_be_0_2389"",message:""Function implementation name must be '{0}'.""},Constructor_implementation_is_missing:{code:2390,category:e.DiagnosticCategory.Error,key:""Constructor_implementation_is_missing_2390"",message:""Constructor implementation is missing.""},Function_implementation_is_missing_or_not_immediately_following_the_declaration:{code:2391,category:e.DiagnosticCategory.Error,key:""Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391"",message:""Function implementation is missing or not immediately following the declaration.""},Multiple_constructor_implementations_are_not_allowed:{code:2392,category:e.DiagnosticCategory.Error,key:""Multiple_constructor_implementations_are_not_allowed_2392"",message:""Multiple constructor implementations are not allowed.""},Duplicate_function_implementation:{code:2393,category:e.DiagnosticCategory.Error,key:""Duplicate_function_implementation_2393"",message:""Duplicate function implementation.""},Overload_signature_is_not_compatible_with_function_implementation:{code:2394,category:e.DiagnosticCategory.Error,key:""Overload_signature_is_not_compatible_with_function_implementation_2394"",message:""Overload signature is not compatible with function implementation.""},Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:{code:2395,category:e.DiagnosticCategory.Error,key:""Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395"",message:""Individual declarations in merged declaration '{0}' must be all exported or all local.""},Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:{code:2396,category:e.DiagnosticCategory.Error,key:""Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396"",message:""Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.""},Declaration_name_conflicts_with_built_in_global_identifier_0:{code:2397,category:e.DiagnosticCategory.Error,key:""Declaration_name_conflicts_with_built_in_global_identifier_0_2397"",message:""Declaration name conflicts with built-in global identifier '{0}'.""},Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:{code:2399,category:e.DiagnosticCategory.Error,key:""Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399"",message:""Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.""},Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:{code:2400,category:e.DiagnosticCategory.Error,key:""Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400"",message:""Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.""},Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:{code:2401,category:e.DiagnosticCategory.Error,key:""Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401"",message:""Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.""},Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:{code:2402,category:e.DiagnosticCategory.Error,key:""Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402"",message:""Expression resolves to '_super' that compiler uses to capture base class reference.""},Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:{code:2403,category:e.DiagnosticCategory.Error,key:""Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403"",message:""Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.""},The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:{code:2404,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404"",message:""The left-hand side of a 'for...in' statement cannot use a type annotation.""},The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:{code:2405,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405"",message:""The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.""},The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:{code:2406,category:e.DiagnosticCategory.Error,key:""The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406"",message:""The left-hand side of a 'for...in' statement must be a variable or a property access.""},The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2407,category:e.DiagnosticCategory.Error,key:""The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_2407"",message:""The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.""},Setters_cannot_return_a_value:{code:2408,category:e.DiagnosticCategory.Error,key:""Setters_cannot_return_a_value_2408"",message:""Setters cannot return a value.""},Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:{code:2409,category:e.DiagnosticCategory.Error,key:""Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409"",message:""Return type of constructor signature must be assignable to the instance type of the class.""},The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:{code:2410,category:e.DiagnosticCategory.Error,key:""The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410"",message:""The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.""},Property_0_of_type_1_is_not_assignable_to_string_index_type_2:{code:2411,category:e.DiagnosticCategory.Error,key:""Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411"",message:""Property '{0}' of type '{1}' is not assignable to string index type '{2}'.""},Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:{code:2412,category:e.DiagnosticCategory.Error,key:""Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412"",message:""Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'.""},Numeric_index_type_0_is_not_assignable_to_string_index_type_1:{code:2413,category:e.DiagnosticCategory.Error,key:""Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413"",message:""Numeric index type '{0}' is not assignable to string index type '{1}'.""},Class_name_cannot_be_0:{code:2414,category:e.DiagnosticCategory.Error,key:""Class_name_cannot_be_0_2414"",message:""Class name cannot be '{0}'.""},Class_0_incorrectly_extends_base_class_1:{code:2415,category:e.DiagnosticCategory.Error,key:""Class_0_incorrectly_extends_base_class_1_2415"",message:""Class '{0}' incorrectly extends base class '{1}'.""},Class_static_side_0_incorrectly_extends_base_class_static_side_1:{code:2417,category:e.DiagnosticCategory.Error,key:""Class_static_side_0_in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment