Sie sind auf Seite 1von 196

/* :asset_packager_compatibility, 'config/asset_packages.

yml' @ 1478902339 */
/* public/javascripts/console-polyfill.js @ 1478902339 */
!function(t){"use strict";for(var e,n,i={},r=function(){},o="memory".split(","),
s="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,i
nfo,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(",");e=o.
pop();)t[e]=t[e]||i;for(;n=s.pop();)t[n]=t[n]||r}(window.console=window.console|
|{});
/* public/javascripts/document_url.js @ 1478902339 */
window.Scribd||(Scribd={}),Scribd.DocumentUrl={urlByDocId:function(t,e){e||(e={}
);var n="production"==e.env?"scribd.com":window.location.hostname,i="production"
==e.env?80:window.location.port,r="production"==e.env?"https:":window.location.p
rotocol,o="/doc/";e.prefix&&(o=e.prefix);var s=o+t;return e.relative_path||(i=i&
&80!=i&&443!=i?":"+i:"",s=r+"//"+n+i+s),e.slug&&(s+="/"+e.slug),e.secret_passwor
d&&e.secret_password.length>0&&(s+="?secret_password="+e.secret_password),s}};
/* public/javascripts/geoip.js @ 1478902339 */
window.Scribd||(Scribd={}),Scribd.geoModule=function(){function t(){for(var t;t=
f.shift();)t(d,h)}function e(e){if("now"===e){if(l)return d}else f.push(e),l&&t(
)}function n(){p<_.length&&_[p](i)}function i(e,i){e&&2==e.length?(l=!0,h=i,d=e,
t()):(p+=1,n())}function r(t){t(window.Scribd._geo_ssi_value,!0)}function o(t){v
ar e;if("localStorage"in window)try{if(e=window.localStorage.getItem(m),e&&(e=JS
ON.parse(e),now=Date.now(),e.date<=now&&e.date>now-b))return t(e.geo_cc,!1)}catc
h(n){}t()}function s(t){if(void 0===window.jQuery)return t();var e=window.jQuery
.post("/ssi/geoip_cc",{dataType:"text"});e.always(function(){if(200==e.status){v
ar n=e.responseText.match(g);n?t(n[1],!0):t()}else t()})}function a(t){if(window
.Prototype){new Ajax.Request("/ssi/geoip_cc",{method:"post",onSuccess:function(e
){var n=e.responseText.match(g);n?t(n[1],!0):t()},onFailure:function(){t()}})}el
se t()}function c(t){var e="_geoip_"+Math.floor(Math.random()*(-1>>>1)).toString
(16);window[e]=function(e){try{delete window.randId}catch(n){window.randId=void
0}t(e)};var n=function(){var t=document.createElement("script");t.type="text/jav
ascript",t.src="//www.scribd.com/ssi/geoip_script?callback="+e,document.body.app
endChild(t)};document.body?n():document.addEventListener?document.addEventListen
er("DOMContentLoaded",n,!1):document.attachEvent?document.attachEvent("onreadyst
atechange",n):t()}function u(t,e){if(e===!0&&"localStorage"in window)try{var n=(
Date.now(),JSON.stringify({geo_cc:t,date:Date.now()}));window.localStorage.setIt
em(m,n)}catch(i){}}var l,d,h,_=[r,o,s,a,c],p=0,f=[u],g=/^([A-Z]{2})\s*$/,m="_geo
_cc_cache",b=432e6;return n(),e}();
/* public/javascripts/jquery-1.11.1.js @ 1478902339 */
/*!
* jQuery JavaScript Library v1.11.1
* 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: 2014-05-01T17:42Z
*/
!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.e
xports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery req
uires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?w
indow:this,function(t,e){function n(t){var e=t.length,n=re.type(t);return"functi

on"===n||re.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==ty
peof e&&e>0&&e-1 in t}function i(t,e,n){if(re.isFunction(e))return re.grep(t,fun
ction(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return re.grep(t,function(t
){return t===e!==n});if("string"==typeof e){if(he.test(e))return re.filter(e,t,n
);e=re.filter(e,t)}return re.grep(t,function(t){return re.inArray(t,e)>=0!==n})}
function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=
ye[t]={};return re.each(t.match(ve)||[],function(t,n){e[n]=!0}),e}function s(){p
e.addEventListener?(pe.removeEventListener("DOMContentLoaded",a,!1),t.removeEven
tListener("load",a,!1)):(pe.detachEvent("onreadystatechange",a),t.detachEvent("o
nload",a))}function a(){(pe.addEventListener||"load"===event.type||"complete"===
pe.readyState)&&(s(),re.ready())}function c(t,e,n){if(void 0===n&&1===t.nodeType
){var i="data-"+e.replace(Ee,"-$1").toLowerCase();if(n=t.getAttribute(i),"string
"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Se.
test(n)?re.parseJSON(n):n}catch(r){}re.data(t,e,n)}else n=void 0}return n}functi
on u(t){var e;for(e in t)if(("data"!==e||!re.isEmptyObject(t[e]))&&"toJSON"!==e)
return!1;return!0}function l(t,e,n,i){if(re.acceptData(t)){var r,o,s=re.expando,
a=t.nodeType,c=a?re.cache:t,u=a?t[s]:t[s]&&s;if(u&&c[u]&&(i||c[u].data)||void 0!
==n||"string"!=typeof e)return u||(u=a?t[s]=X.pop()||re.guid++:s),c[u]||(c[u]=a?
{}:{toJSON:re.noop}),("object"==typeof e||"function"==typeof e)&&(i?c[u]=re.exte
nd(c[u],e):c[u].data=re.extend(c[u].data,e)),o=c[u],i||(o.data||(o.data={}),o=o.
data),void 0!==n&&(o[re.camelCase(e)]=n),"string"==typeof e?(r=o[e],null==r&&(r=
o[re.camelCase(e)])):r=o,r}}function d(t,e,n){if(re.acceptData(t)){var i,r,o=t.n
odeType,s=o?re.cache:t,a=o?t[re.expando]:re.expando;if(s[a]){if(e&&(i=n?s[a]:s[a
].data)){re.isArray(e)?e=e.concat(re.map(e,re.camelCase)):e in i?e=[e]:(e=re.cam
elCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u
(i):!re.isEmptyObject(i))return}(n||(delete s[a].data,u(s[a])))&&(o?re.cleanData
([t],!0):ne.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function h(){ret
urn!0}function _(){return!1}function p(){try{return pe.activeElement}catch(t){}}
function f(t){var e=Ie.split("|"),n=t.createDocumentFragment();if(n.createElemen
t)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,r=0,o
=typeof t.getElementsByTagName!==xe?t.getElementsByTagName(e||"*"):typeof t.quer
ySelectorAll!==xe?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNode
s||t;null!=(i=n[r]);r++)!e||re.nodeName(i,e)?o.push(i):re.merge(o,g(i,e));return
void 0===e||e&&re.nodeName(t,e)?re.merge([t],o):o}function m(t){Oe.test(t.type)
&&(t.defaultChecked=t.checked)}function b(t,e){return re.nodeName(t,"table")&&re
.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0
]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return
t.type=(null!==re.find.attr(t,"type"))+"/"+t.type,t}function y(t){var e=Ve.exec(
t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){for(var
n,i=0;null!=(n=t[i]);i++)re._data(n,"globalEval",!e||re._data(e[i],"globalEval"
))}function k(t,e){if(1===e.nodeType&&re.hasData(t)){var n,i,r,o=re._data(t),s=r
e._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a
[n].length;r>i;i++)re.event.add(e,n,a[n][i])}s.data&&(s.data=re.extend({},s.data
))}}function x(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!
ne.noCloneEvent&&e[re.expando]){r=re._data(e);for(i in r.events)re.removeEvent(e
,i,r.handle);e.removeAttribute(re.expando)}"script"===n&&e.text!==t.text?(v(e).t
ext=t.text,y(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ne.html5C
lone&&t.innerHTML&&!re.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n
&&Oe.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.va
lue=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("inpu
t"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function S(e,n){var i,
r=re(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getD
efaultComputedStyle(r[0]))?i.display:re.css(r[0],"display");return r.detach(),o}
function E(t){var e=pe,n=Ze[t];return n||(n=S(t,e),"none"!==n&&n||(Ke=(Ke||re("<
iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(
Ke[0].contentWindow||Ke[0].contentDocument).document,e.write(),e.close(),n=S(t,e
),Ke.detach()),Ze[t]=n),n}function C(t,e){return{get:function(){var n=t();if(nul
l!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function
T(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=
_n.length;r--;)if(e=_n[r]+n,e in t)return e;return i}function A(t,e){for(var n,i

,r,o=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(o[s]=re._data(i,"olddisplay"),n=
i.style.display,e?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&
Ae(i)&&(o[s]=re._data(i,"olddisplay",E(i.nodeName)))):(r=Ae(i),(n&&"none"!==n||!
r)&&re._data(i,"olddisplay",r?n:re.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.
style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[
s]||"":"none"));return t}function N(t,e,n){var i=un.exec(e);return i?Math.max(0,
i[1]-(n||0))+(i[2]||"px"):e}function O(t,e,n,i,r){for(var o=n===(i?"border":"con
tent")?4:"width"===e?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=re.css(t,n+Te[o],!0,r)),
i?("content"===n&&(s-=re.css(t,"padding"+Te[o],!0,r)),"margin"!==n&&(s-=re.css(t
,"border"+Te[o]+"Width",!0,r))):(s+=re.css(t,"padding"+Te[o],!0,r),"padding"!==n
&&(s+=re.css(t,"border"+Te[o]+"Width",!0,r)));return s}function $(t,e,n){var i=!
0,r="width"===e?t.offsetWidth:t.offsetHeight,o=tn(t),s=ne.boxSizing&&"border-box
"===re.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=en(t,e,o),(0>r||null==r)&&
(r=t.style[e]),rn.test(r))return r;i=s&&(ne.boxSizingReliable()||r===t.style[e])
,r=parseFloat(r)||0}return r+O(t,e,n||(s?"border":"content"),i,o)+"px"}function
j(t,e,n,i,r){return new j.prototype.init(t,e,n,i,r)}function M(){return setTimeo
ut(function(){pn=void 0}),pn=re.now()}function P(t,e){var n,i={height:t},r=0;for
(e=e?1:0;4>r;r+=2-e)n=Te[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=
i.width=t),i}function L(t,e,n){for(var i,r=(yn[e]||[]).concat(yn["*"]),o=0,s=r.l
ength;s>o;o++)if(i=r[o].call(n,e,t))return i}function I(t,e,n){var i,r,o,s,a,c,u
,l,d=this,h={},_=t.style,p=t.nodeType&&Ae(t),f=re._data(t,"fxshow");n.queue||(a=
re._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fi
re=function(){a.unqueued||c()}),a.unqueued++,d.always(function(){d.always(functi
on(){a.unqueued--,re.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&(
"height"in e||"width"in e)&&(n.overflow=[_.overflow,_.overflowX,_.overflowY],u=r
e.css(t,"display"),l="none"===u?re._data(t,"olddisplay")||E(t.nodeName):u,"inlin
e"===l&&"none"===re.css(t,"float")&&(ne.inlineBlockNeedsLayout&&"inline"!==E(t.n
odeName)?_.zoom=1:_.display="inline-block")),n.overflow&&(_.overflow="hidden",ne
.shrinkWrapBlocks()||d.always(function(){_.overflow=n.overflow[0],_.overflowX=n.
overflow[1],_.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],gn.exec(r)){if(del
ete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!f||void 0===f[
i])continue;p=!0}h[i]=f&&f[i]||re.style(t,i)}else u=void 0;if(re.isEmptyObject(h
))"inline"===("none"===u?E(t.nodeName):u)&&(_.display=u);else{f?"hidden"in f&&(p
=f.hidden):f=re._data(t,"fxshow",{}),o&&(f.hidden=!p),p?re(t).show():d.done(func
tion(){re(t).hide()}),d.done(function(){var e;re._removeData(t,"fxshow");for(e i
n h)re.style(t,e,h[e])});for(i in h)s=L(p?f[i]:0,i,d),i in f||(f[i]=s.start,p&&(
s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function D(t,e){var n,i,r
,o,s;for(n in t)if(i=re.camelCase(n),r=e[i],o=t[n],re.isArray(o)&&(r=o[1],o=t[n]
=o[0]),n!==i&&(t[i]=o,delete t[n]),s=re.cssHooks[i],s&&"expand"in s){o=s.expand(
o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function F(t,e,
n){var i,r,o=0,s=vn.length,a=re.Deferred().always(function(){delete c.elem}),c=f
unction(){if(r)return!1;for(var e=pn||M(),n=Math.max(0,u.startTime+u.duration-e)
,i=n/u.duration||0,o=1-i,s=0,c=u.tweens.length;c>s;s++)u.tweens[s].run(o);return
a.notifyWith(t,[u,o,n]),1>o&&c?n:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t
,props:re.extend({},e),opts:re.extend(!0,{specialEasing:{}},n),originalPropertie
s:e,originalOptions:n,startTime:pn||M(),duration:n.duration,tweens:[],createTwee
n:function(e,n){var i=re.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easi
ng);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if
(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?a.resolveWith(t,[u,e
]):a.rejectWith(t,[u,e]),this}}),l=u.props;for(D(l,u.opts.specialEasing);s>o;o++
)if(i=vn[o].call(u,t,l,u.opts))return i;return re.map(l,L,u),re.isFunction(u.opt
s.start)&&u.opts.start.call(t,u),re.fx.timer(re.extend(c,{elem:t,anim:u,queue:u.
opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail
(u.opts.fail).always(u.opts.always)}function z(t){return function(e,n){"string"!
=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(ve)||[];if(re.isFunctio
n(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift
(n)):(t[i]=t[i]||[]).push(n)}}function R(t,e,n,i){function r(a){var c;return o[a
]=!0,re.each(t[a]||[],function(t,a){var u=a(e,n,i);return"string"!=typeof u||s||
o[u]?s?!(c=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),c}var o={},s=t===qn;retu
rn r(e.dataTypes[0])||!o["*"]&&r("*")}function B(t,e){var n,i,r=re.ajaxSettings.

flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&


&re.extend(!0,t,n),t}function H(t,e,n){for(var i,r,o,s,a=t.contents,c=t.dataType
s;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("ContentType"));if(r)for(s in a)if(a[s]&&a[s].test(r)){c.unshift(s);break}if(c[0]in n)o=
c[0];else{for(s in n){if(!c[0]||t.converters[s+" "+c[0]]){o=s;break}i||(i=s)}o=o
||i}return o?(o!==c[0]&&c.unshift(o),n[o]):void 0}function U(t,e,n,i){var r,o,s,
a,c,u={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)u[s.toLowerCase()]=
t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o
]]=e),!c&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=l.shift())if("*"
===o)o=c;else if("*"!==c&&c!==o){if(s=u[c+" "+o]||u["* "+o],!s)for(r in u)if(a=r
.split(" "),a[1]===o&&(s=u[c+" "+a[0]]||u["* "+a[0]])){s===!0?s=u[r]:u[r]!==!0&&
(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e
)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+c+" to "+o
}}}return{state:"success",data:e}}function q(t,e,n,i){var r;if(re.isArray(e))re.
each(e,function(e,r){n||Xn.test(t)?i(t,r):q(t+"["+("object"==typeof r?e:"")+"]",
r,n,i)});else if(n||"object"!==re.type(e))i(t,e);else for(r in e)q(t+"["+r+"]",e
[r],n,i)}function W(){try{return new t.XMLHttpRequest}catch(e){}}function Y(){tr
y{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function V(t){retur
n re.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var X=[],G=X.
slice,J=X.concat,Q=X.push,K=X.indexOf,Z={},te=Z.toString,ee=Z.hasOwnProperty,ne=
{},ie="1.11.1",re=function(t,e){return new re.fn.init(t,e)},oe=/^[\s\uFEFF\xA0]+
|[\s\uFEFF\xA0]+$/g,se=/^-ms-/,ae=/-([\da-z])/gi,ce=function(t,e){return e.toUpp
erCase()};re.fn=re.prototype={jquery:ie,constructor:re,selector:"",length:0,toAr
ray:function(){return G.call(this)},get:function(t){return null!=t?0>t?this[t+th
is.length]:this[t]:G.call(this)},pushStack:function(t){var e=re.merge(this.const
ructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e
){return re.each(this,t,e)},map:function(t){return this.pushStack(re.map(this,fu
nction(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(G.ap
ply(this,arguments))},first:function(){return this.eq(0)},last:function(){return
this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushSt
ack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constru
ctor(null)},push:Q,sort:X.sort,splice:X.splice},re.extend=re.fn.extend=function(
){var t,e,n,i,r,o,s=arguments[0]||{},a=1,c=arguments.length,u=!1;for("boolean"==
typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||re.isFunction(s)||(s=
{}),a===c&&(s=this,a--);c>a;a++)if(null!=(r=arguments[a]))for(i in r)t=s[i],n=r[
i],s!==n&&(u&&n&&(re.isPlainObject(n)||(e=re.isArray(n)))?(e?(e=!1,o=t&&re.isArr
ay(t)?t:[]):o=t&&re.isPlainObject(t)?t:{},s[i]=re.extend(u,o,n)):void 0!==n&&(s[
i]=n));return s},re.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""
),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:
function(t){return"function"===re.type(t)},isArray:Array.isArray||function(t){re
turn"array"===re.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNu
meric:function(t){return!re.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:functi
on(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t|
|"object"!==re.type(t)||t.nodeType||re.isWindow(t))return!1;try{if(t.constructor
&&!ee.call(t,"constructor")&&!ee.call(t.constructor.prototype,"isPrototypeOf"))r
eturn!1}catch(n){return!1}if(ne.ownLast)for(e in t)return ee.call(t,e);for(e in
t);return void 0===e||ee.call(t,e)},type:function(t){return null==t?t+"":"object
"==typeof t||"function"==typeof t?Z[te.call(t)]||"object":typeof t},globalEval:f
unction(e){e&&re.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},came
lCase:function(t){return t.replace(se,"ms-").replace(ae,ce)},nodeName:function(t
,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function
(t,e,i){var r,o=0,s=t.length,a=n(t);if(i){if(a)for(;s>o&&(r=e.apply(t[o],i),r!==
!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(a)for(;s>o&&(
r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===
!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(oe,"")},mak
eArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?re.merge(i,"strin
g"==typeof t?[t]:t):Q.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(K)ret
urn K.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&
e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.leng
th;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length

=r,t},grep:function(t,e,n){for(var i,r=[],o=0,s=t.length,a=!n;s>o;o++)i=!e(t[o],
o),i!==a&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,s=t.length,a=n(t)
,c=[];if(a)for(;s>o;o++)r=e(t[o],o,i),null!=r&&c.push(r);else for(o in t)r=e(t[o
],o,i),null!=r&&c.push(r);return J.apply([],c)},guid:1,proxy:function(t,e){var n
,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),re.isFunction(t)?(n=G.call(argum
ents,2),i=function(){return t.apply(e||this,n.concat(G.call(arguments)))},i.guid
=t.guid=t.guid||re.guid++,i):void 0},now:function(){return+new Date},support:ne}
),re.each("Boolean Number String Function Array Date RegExp Object Error".split(
" "),function(t,e){Z["[object "+e+"]"]=e.toLowerCase()});var ue=/*!
* Sizzle CSS Selector Engine v1.10.19
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-04-18
*/
function(t){function e(t,e,n,i){var r,o,s,a,c,u,d,_,p,f;if((e?e.ownerDocument||e
:R)!==j&&$(e),e=e||j,n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=e.nodeTyp
e)&&9!==a)return[];if(P&&!i){if(r=be.exec(t))if(s=r[1]){if(9===a){if(o=e.getElem
entById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.o
wnerDocument&&(o=e.ownerDocument.getElementById(s))&&F(e,o)&&o.id===s)return n.p
ush(o),n}else{if(r[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((s=r[3])&
&w.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElemen
tsByClassName(s)),n}if(w.qsa&&(!L||!L.test(t))){if(_=d=z,p=e,f=9===a&&t,1===a&&"
object"!==e.nodeName.toLowerCase()){for(u=E(t),(d=e.getAttribute("id"))?_=d.repl
ace(ye,"\\$&"):e.setAttribute("id",_),_="[id='"+_+"'] ",c=u.length;c--;)u[c]=_+h
(u[c]);p=ve.test(t)&&l(e.parentNode)||e,f=u.join(",")}if(f)try{return Z.apply(n,
p.querySelectorAll(f)),n}catch(g){}finally{d||e.removeAttribute("id")}}}return T
(t.replace(ce,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>k.c
acheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){retur
n t[z]=!0,t}function r(t){var e=j.createElement("div");try{return!!t(e)}catch(n)
{return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t
,e){for(var n=t.split("|"),i=t.length;i--;)k.attrHandle[n[i]]=e}function s(t,e){
var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||X)-(~t.sourceIn
dex||X);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1
}function a(t){return function(e){var n=e.nodeName.toLowerCase();return"input"==
=n&&e.type===t}}function c(t){return function(e){var n=e.nodeName.toLowerCase();
return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e
){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o
[s]]&&(n[r]=!(i[r]=n[r]))})})}function l(t){return t&&typeof t.getElementsByTagN
ame!==V&&t}function d(){}function h(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[
e].value;return i}function _(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=H++;retu
rn e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:fu
nction(e,n,s){var a,c,u=[B,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s
))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(c=e[z]||(e[z]={}),(a=c[i])
&&a[0]===B&&a[1]===o)return u[2]=a[2];if(c[i]=u,u[2]=t(e,n,s))return!0}}}functio
n p(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i)
)return!1;return!0}:t[0]}function f(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[
r],i);return i}function g(t,e,n,i,r){for(var o,s=[],a=0,c=t.length,u=null!=e;c>a
;a++)(o=t[a])&&(!n||n(o,i,r))&&(s.push(o),u&&e.push(a));return s}function m(t,e,
n,r,o,s){return r&&!r[z]&&(r=m(r)),o&&!o[z]&&(o=m(o,s)),i(function(i,s,a,c){var
u,l,d,h=[],_=[],p=s.length,m=i||f(e||"*",a.nodeType?[a]:a,[]),b=!t||!i&&e?m:g(m,
h,t,a,c),v=n?o||(i?t:p||r)?[]:s:b;if(n&&n(b,v,a,c),r)for(u=g(v,_),r(u,[],a,c),l=
u.length;l--;)(d=u[l])&&(v[_[l]]=!(b[_[l]]=d));if(i){if(o||t){if(o){for(u=[],l=v
.length;l--;)(d=v[l])&&u.push(b[l]=d);o(null,v=[],u,c)}for(l=v.length;l--;)(d=v[
l])&&(u=o?ee.call(i,d):h[l])>-1&&(i[u]=!(s[u]=d))}}else v=g(v===s?v.splice(p,v.l
ength):v),o?o(null,s,v,c):Z.apply(s,v)})}function b(t){for(var e,n,i,r=t.length,
o=k.relative[t[0].type],s=o||k.relative[" "],a=o?1:0,c=_(function(t){return t===

e},s,!0),u=_(function(t){return ee.call(e,t)>-1},s,!0),l=[function(t,n,i){return
!o&&(i||n!==A)||((e=n).nodeType?c(t,n,i):u(t,n,i))}];r>a;a++)if(n=k.relative[t[a
].type])l=[_(p(l),n)];else{if(n=k.filter[t[a].type].apply(null,t[a].matches),n[z
]){for(i=++a;r>i&&!k.relative[t[i].type];i++);return m(a>1&&p(l),a>1&&h(t.slice(
0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ce,"$1"),n,i>a&&b(t.sli
ce(a,i)),r>i&&b(t=t.slice(i)),r>i&&h(t))}l.push(n)}return p(l)}function v(t,n){v
ar r=n.length>0,o=t.length>0,s=function(i,s,a,c,u){var l,d,h,_=0,p="0",f=i&&[],m
=[],b=A,v=i||o&&k.find.TAG("*",u),y=B+=null==b?1:Math.random()||.1,w=v.length;fo
r(u&&(A=s!==j&&s);p!==w&&null!=(l=v[p]);p++){if(o&&l){for(d=0;h=t[d++];)if(h(l,s
,a)){c.push(l);break}u&&(B=y)}r&&((l=!h&&l)&&_--,i&&f.push(l))}if(_+=p,r&&p!==_)
{for(d=0;h=n[d++];)h(f,m,s,a);if(i){if(_>0)for(;p--;)f[p]||m[p]||(m[p]=Q.call(c)
);m=g(m)}Z.apply(c,m),u&&!i&&m.length>0&&_+n.length>1&&e.uniqueSort(c)}return u&
&(B=y,A=b),f};return r?i(s):s}var y,w,k,x,S,E,C,T,A,N,O,$,j,M,P,L,I,D,F,z="sizzl
e"+-new Date,R=t.document,B=0,H=0,U=n(),q=n(),W=n(),Y=function(t,e){return t===e
&&(O=!0),0},V="undefined",X=1<<31,G={}.hasOwnProperty,J=[],Q=J.pop,K=J.push,Z=J.
push,te=J.slice,ee=J.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(t
his[e]===t)return e;return-1},ne="checked|selected|async|autofocus|autoplay|cont
rols|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie
="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=re.replace("w","
w#"),se="\\["+ie+"*("+re+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*
)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+ie+"*\\]",ae=":("+re+")(?:\\((('((?:\
\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+se+")*)|
.*)\\)|)",ce=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ue=new
RegExp("^"+ie+"*,"+ie+"*"),le=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),de=ne
w RegExp("="+ie+"*([^\\]'\"]*?)"+ie+"*\\]","g"),he=new RegExp(ae),_e=new RegExp(
"^"+oe+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG
:new RegExp("^("+re.replace("w","w*")+")"),ATTR:new RegExp("^"+se),PSEUDO:new Re
gExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(
?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\
\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*
[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|
)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{
]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ye=/'|\\/g,w
e=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),ke=function(t,e,n){va
r i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromC
harCode(i>>10|55296,1023&i|56320)};try{Z.apply(J=te.call(R.childNodes),R.childNo
des),J[R.childNodes.length].nodeType}catch(xe){Z={apply:J.length?function(t,e){K
.apply(t,te.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.len
gth=n-1}}}w=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).doc
umentElement;return e?"HTML"!==e.nodeName:!1},$=e.setDocument=function(t){var e,
n=t?t.ownerDocument||t:R,i=n.defaultView;return n!==j&&9===n.nodeType&&n.documen
tElement?(j=n,M=n.documentElement,P=!S(n),i&&i!==i.top&&(i.addEventListener?i.ad
dEventListener("unload",function(){$()},!1):i.attachEvent&&i.attachEvent("onunlo
ad",function(){$()})),w.attributes=r(function(t){return t.className="i",!t.getAt
tribute("className")}),w.getElementsByTagName=r(function(t){return t.appendChild
(n.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClass
Name=me.test(n.getElementsByClassName)&&r(function(t){return t.innerHTML="<div c
lass='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElem
entsByClassName("i").length}),w.getById=r(function(t){return M.appendChild(t).id
=z,!n.getElementsByName||!n.getElementsByName(z).length}),w.getById?(k.find.ID=f
unction(t,e){if(typeof e.getElementById!==V&&P){var n=e.getElementById(t);return
n&&n.parentNode?[n]:[]}},k.filter.ID=function(t){var e=t.replace(we,ke);return
function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=fun
ction(t){var e=t.replace(we,ke);return function(t){var n=typeof t.getAttributeNo
de!==V&&t.getAttributeNode("id");return n&&n.value===e}}),k.find.TAG=w.getElemen
tsByTagName?function(t,e){return typeof e.getElementsByTagName!==V?e.getElements
ByTagName(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if
("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},k.find.CLA
SS=w.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassNam
e!==V&&P?e.getElementsByClassName(t):void 0},I=[],L=[],(w.qsa=me.test(n.querySel

ectorAll))&&(r(function(t){t.innerHTML="<select msallowclip=''><option selected=


''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&L.push("[
*^$]="+ie+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+
ie+"*(?:value|"+ne+")"),t.querySelectorAll(":checked").length||L.push(":checked"
)}),r(function(t){var e=n.createElement("input");e.setAttribute("type","hidden")
,t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length
&&L.push("name"+ie+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||L.push(
":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(w.matchesS
elector=me.test(D=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oM
atchesSelector||M.msMatchesSelector))&&r(function(t){w.disconnectedMatch=D.call(
t,"div"),D.call(t,"[s!='']:x"),I.push("!=",ae)}),L=L.length&&new RegExp(L.join("
|")),I=I.length&&new RegExp(I.join("|")),e=me.test(M.compareDocumentPosition),F=
e||me.test(M.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=
e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t
.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)
for(;e=e.parentNode;)if(e===t)return!0;return!1},Y=e?function(t,e){if(t===e)retu
rn O=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i
:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1
&i||!w.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===R
&&F(R,t)?-1:e===n||e.ownerDocument===R&&F(R,e)?1:N?ee.call(N,t)-ee.call(N,e):0:4
&i?-1:1)}:function(t,e){if(t===e)return O=!0,0;var i,r=0,o=t.parentNode,a=e.pare
ntNode,c=[t],u=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:N?ee.call(N,t)-ee.
call(N,e):0;if(o===a)return s(t,e);for(i=t;i=i.parentNode;)c.unshift(i);for(i=e;
i=i.parentNode;)u.unshift(i);for(;c[r]===u[r];)r++;return r?s(c[r],u[r]):c[r]===
R?-1:u[r]===R?1:0},n):j},e.matches=function(t,n){return e(t,null,null,n)},e.matc
hesSelector=function(t,n){if((t.ownerDocument||t)!==j&&$(t),n=n.replace(de,"='$1
']"),!(!w.matchesSelector||!P||I&&I.test(n)||L&&L.test(n)))try{var i=D.call(t,n)
;if(i||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(
r){}return e(n,j,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocu
ment||t)!==j&&$(t),F(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==j&&$(t);v
ar n=k.attrHandle[e.toLowerCase()],i=n&&G.call(k.attrHandle,e.toLowerCase())?n(t
,e,!P):void 0;return void 0!==i?i:w.attributes||!P?t.getAttribute(e):(i=t.getAtt
ributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("S
yntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],
i=0,r=0;if(O=!w.detectDuplicates,N=!w.sortStable&&t.slice(0),t.sort(Y),O){for(;e
=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return N=null,t},x=e
.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){
if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.
nextSibling)n+=x(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)
n+=x(e);return n},k=e.selectors={cacheLength:50,createPseudo:i,match:pe,attrHand
le:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"
+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR
:function(t){return t[1]=t[1].replace(we,ke),t[3]=(t[3]||t[4]||t[5]||"").replace
(we,ke),"~="===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,n=!t[6]&&t[2];return pe.CHILD.
test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&he.test(n)&&(e=E(n,!0))&&(e=n.index
Of(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0
,3))}},filter:{TAG:function(t){var e=t.replace(we,ke).toLowerCase();return"*"===
t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()==
=e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+ie+")"+t+"("
+ie+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.class
Name||typeof t.getAttribute!==V&&t.getAttribute("class")||"")})},ATTR:function(t
,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:n?(o+="","="=
==n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o+" ").indexOf(i)>-1:"|="===n
?o===i||o.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var o="
nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?f
unction(t){return!!t.parentNode}:function(e,n,c){var u,l,d,h,_,p,f=o!==s?"nextSi

bling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),b=!c&&!a;i
f(g){if(o){for(;f;){for(d=e;d=d[f];)if(a?d.nodeName.toLowerCase()===m:1===d.node
Type)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.
lastChild],s&&b){for(l=g[z]||(g[z]={}),u=l[t]||[],_=u[0]===B&&u[1],h=u[0]===B&&u
[2],d=_&&g.childNodes[_];d=++_&&d&&d[f]||(h=_=0)||p.pop();)if(1===d.nodeType&&++
h&&d===e){l[t]=[B,_,h];break}}else if(b&&(u=(e[z]||(e[z]={}))[t])&&u[0]===B)h=u[
1];else for(;(d=++_&&d&&d[f]||(h=_=0)||p.pop())&&((a?d.nodeName.toLowerCase()!==
m:1!==d.nodeType)||!++h||(b&&((d[z]||(d[z]={}))[t]=[B,h]),d!==e)););return h-=r,
h===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var r,o=k.pseudos[t]||k.setFilter
s[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[z]?o(n):o.length>
1?(r=[t,t,"",n],k.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for
(var i,r=o(t,n),s=r.length;s--;)i=ee.call(t,r[s]),t[i]=!(e[i]=r[s])}):function(t
){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=C(t.replace(c
e,"$1"));return r[z]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a
--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),!n.
pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains
:i(function(t){return function(e){return(e.textContent||e.innerText||x(e)).index
Of(t)>-1}}),lang:i(function(t){return _e.test(t||"")||e.error("unsupported lang:
"+t),t=t.replace(we,ke).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getA
ttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0==
=n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:fun
ction(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:fun
ction(t){return t===M},focus:function(t){return t===j.activeElement&&(!j.hasFocu
s||j.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.
disabled===!1},disabled:function(t){return t.disabled===!0},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,
t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nod
eType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:
function(t){return ge.test(t.nodeName)},input:function(t){return fe.test(t.nodeN
ame)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"butt
on"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.to
LowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLo
werCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq
:u(function(t,e,n){return[0>n?n+e:n]}),even:u(function(t,e){for(var n=0;e>n;n+=2
)t.push(n);return t}),odd:u(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return
t}),lt:u(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:u(f
unction(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},k.pseudos.nth=k
.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudo
s[y]=a(y);for(y in{submit:!0,reset:!0})k.pseudos[y]=c(y);return d.prototype=k.fi
lters=k.pseudos,k.setFilters=new d,E=e.tokenize=function(t,n){var i,r,o,s,a,c,u,
l=q[t+" "];if(l)return n?0:l.slice(0);for(a=t,c=[],u=k.preFilter;a;){(!i||(r=ue.
exec(a)))&&(r&&(a=a.slice(r[0].length)||a),c.push(o=[])),i=!1,(r=le.exec(a))&&(i
=r.shift(),o.push({value:i,type:r[0].replace(ce," ")}),a=a.slice(i.length));for(
s in k.filter)!(r=pe[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value
:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.err
or(t):q(t,c).slice(0)},C=e.compile=function(t,e){var n,i=[],r=[],o=W[t+" "];if(!
o){for(e||(e=E(t)),n=e.length;n--;)o=b(e[n]),o[z]?i.push(o):r.push(o);o=W(t,v(r,
i)),o.selector=t}return o},T=e.select=function(t,e,n,i){var r,o,s,a,c,u="functio
n"==typeof t&&t,d=!i&&E(t=u.selector||t);if(n=n||[],1===d.length){if(o=d[0]=d[0]
.slice(0),o.length>2&&"ID"===(s=o[0]).type&&w.getById&&9===e.nodeType&&P&&k.rela
tive[o[1].type]){if(e=(k.find.ID(s.matches[0].replace(we,ke),e)||[])[0],!e)retur
n n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=pe.needsContext.
test(t)?0:o.length;r--&&(s=o[r],!k.relative[a=s.type]);)if((c=k.find[a])&&(i=c(s
.matches[0].replace(we,ke),ve.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice
(r,1),t=i.length&&h(o),!t)return Z.apply(n,i),n;break}}return(u||C(t,d))(i,e,!P,
n,ve.test(t)&&l(e.parentNode)||e),n},w.sortStable=z.split("").sort(Y).join("")==
=z,w.detectDuplicates=!!O,$(),w.sortDetached=r(function(t){return 1&t.compareDoc
umentPosition(j.createElement("div"))}),r(function(t){return t.innerHTML="<a hre
f='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width

",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)


}),w.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAtt
ribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function
(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(f
unction(t){return null==t.getAttribute("disabled")})||o(ne,function(t,e,n){var i
;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specifie
d?i.value:null}),e}(t);re.find=ue,re.expr=ue.selectors,re.expr[":"]=re.expr.pseu
dos,re.unique=ue.uniqueSort,re.text=ue.getText,re.isXMLDoc=ue.isXML,re.contains=
ue.contains;var le=re.expr.match.needsContext,de=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,he
=/^.[^:#\[\.,]*$/;re.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")
"),1===e.length&&1===i.nodeType?re.find.matchesSelector(i,t)?[i]:[]:re.find.matc
hes(t,re.grep(e,function(t){return 1===t.nodeType}))},re.fn.extend({find:functio
n(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(re
(t).filter(function(){for(e=0;r>e;e++)if(re.contains(i[e],this))return!0}));for(
e=0;r>e;e++)re.find(t,i[e],n);return n=this.pushStack(r>1?re.unique(n):n),n.sele
ctor=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushS
tack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))}
,is:function(t){return!!i(this,"string"==typeof t&&le.test(t)?re(t):t||[],!1).le
ngth}});var _e,pe=t.document,fe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ge=re.fn.i
nit=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.
charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:fe.exec(t),!n||
!n[1]&&e)return!e||e.jquery?(e||_e).find(t):this.constructor(e).find(t);if(n[1])
{if(e=e instanceof re?e[0]:e,re.merge(this,re.parseHTML(n[1],e&&e.nodeType?e.own
erDocument||e:pe,!0)),de.test(n[1])&&re.isPlainObject(e))for(n in e)re.isFunctio
n(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=pe.getElementById(n[
2]),i&&i.parentNode){if(i.id!==n[2])return _e.find(t);this.length=1,this[0]=i}re
turn this.context=pe,this.selector=t,this}return t.nodeType?(this.context=this[0
]=t,this.length=1,this):re.isFunction(t)?"undefined"!=typeof _e.ready?_e.ready(t
):t(re):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),
re.makeArray(t,this))};ge.prototype=re.fn,_e=re(pe);var me=/^(?:parents|prev(?:U
ntil|All))/,be={children:!0,contents:!0,next:!0,prev:!0};re.extend({dir:function
(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!re(
r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(
var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),re.fn.ex
tend({has:function(t){var e,n=re(t,this),i=n.length;return this.filter(function(
){for(e=0;i>e;e++)if(re.contains(this,n[e]))return!0})},closest:function(t,e){fo
r(var n,i=0,r=this.length,o=[],s=le.test(t)||"string"!=typeof t?re(t,e||this.con
text):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.ind
ex(n)>-1:1===n.nodeType&&re.find.matchesSelector(n,t))){o.push(n);break}return t
his.pushStack(o.length>1?re.unique(o):o)},index:function(t){return t?"string"==t
ypeof t?re.inArray(this[0],re(t)):re.inArray(t.jquery?t[0]:t,this):this[0]&&this
[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.p
ushStack(re.unique(re.merge(this.get(),re(t,e))))},addBack:function(t){return th
is.add(null==t?this.prevObject:this.prevObject.filter(t))}}),re.each({parent:fun
ction(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t
){return re.dir(t,"parentNode")},parentsUntil:function(t,e,n){return re.dir(t,"p
arentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){retu
rn r(t,"previousSibling")},nextAll:function(t){return re.dir(t,"nextSibling")},p
revAll:function(t){return re.dir(t,"previousSibling")},nextUntil:function(t,e,n)
{return re.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return re.dir(t,"pr
eviousSibling",n)},siblings:function(t){return re.sibling((t.parentNode||{}).fir
stChild,t)},children:function(t){return re.sibling(t.firstChild)},contents:funct
ion(t){return re.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.documen
t:re.merge([],t.childNodes)}},function(t,e){re.fn[t]=function(n,i){var r=re.map(
this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=re.filter
(i,r)),this.length>1&&(be[t]||(r=re.unique(r)),me.test(t)&&(r=r.reverse())),this
.pushStack(r)}});var ve=/\S+/g,ye={};re.Callbacks=function(t){t="string"==typeof
t?ye[t]||o(t):re.extend({},t);var e,n,i,r,s,a,c=[],u=!t.once&&[],l=function(o){
for(n=t.memory&&o,i=!0,s=a||0,a=0,r=c.length,e=!0;c&&r>s;s++)if(c[s].apply(o[0],
o[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,c&&(u?u.length&&l(u.shift()):n?c=[]:d

.disable())},d={add:function(){if(c){var i=c.length;!function o(e){re.each(e,fun


ction(e,n){var i=re.type(n);"function"===i?t.unique&&d.has(n)||c.push(n):n&&n.le
ngth&&"string"!==i&&o(n)})}(arguments),e?r=c.length:n&&(a=i,l(n))}return this},r
emove:function(){return c&&re.each(arguments,function(t,n){for(var i;(i=re.inArr
ay(n,c,i))>-1;)c.splice(i,1),e&&(r>=i&&r--,s>=i&&s--)}),this},has:function(t){re
turn t?re.inArray(t,c)>-1:!(!c||!c.length)},empty:function(){return c=[],r=0,thi
s},disable:function(){return c=u=n=void 0,this},disabled:function(){return!c},lo
ck:function(){return u=void 0,n||d.disable(),this},locked:function(){return!u},f
ireWith:function(t,n){return!c||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.pu
sh(n):l(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:
function(){return!!i}};return d},re.extend({Deferred:function(t){var e=[["resolv
e","done",re.Callbacks("once memory"),"resolved"],["reject","fail",re.Callbacks(
"once memory"),"rejected"],["notify","progress",re.Callbacks("memory")]],n="pend
ing",i={state:function(){return n},always:function(){return r.done(arguments).fa
il(arguments),this},then:function(){var t=arguments;return re.Deferred(function(
n){re.each(e,function(e,o){var s=re.isFunction(t[e])&&t[e];r[o[1]](function(){va
r t=s&&s.apply(this,arguments);t&&re.isFunction(t.promise)?t.promise().done(n.re
solve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():thi
s,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?re
.extend(t,i):i}},r={};return i.pipe=i.then,re.each(e,function(t,o){var s=o[2],a=
o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[
0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"Wi
th"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,
o=G.call(arguments),s=o.length,a=1!==s||t&&re.isFunction(t.promise)?s:0,c=1===a?
t:re.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.le
ngth>1?G.call(arguments):r,i===e?c.notifyWith(n,i):--a||c.resolveWith(n,i)}};if(
s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>r;r++)o[r]&&re.isFunction
(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(c.reject).progress(u(r,n,e)):-a;return a||c.resolveWith(i,o),c.promise()}});var we;re.fn.ready=function(t){re
turn re.ready.promise().done(t),this},re.extend({isReady:!1,readyWait:1,holdRead
y:function(t){t?re.readyWait++:re.ready(!0)},ready:function(t){if(t===!0?!--re.r
eadyWait:!re.isReady){if(!pe.body)return setTimeout(re.ready);re.isReady=!0,t!==
!0&&--re.readyWait>0||(we.resolveWith(pe,[re]),re.fn.triggerHandler&&(re(pe).tri
ggerHandler("ready"),re(pe).off("ready")))}}}),re.ready.promise=function(e){if(!
we)if(we=re.Deferred(),"complete"===pe.readyState)setTimeout(re.ready);else if(p
e.addEventListener)pe.addEventListener("DOMContentLoaded",a,!1),t.addEventListen
er("load",a,!1);else{pe.attachEvent("onreadystatechange",a),t.attachEvent("onloa
d",a);var n=!1;try{n=null==t.frameElement&&pe.documentElement}catch(i){}n&&n.doS
croll&&!function r(){if(!re.isReady){try{n.doScroll("left")}catch(t){return setT
imeout(r,50)}s(),re.ready()}}()}return we.promise(e)};var ke,xe="undefined";for(
ke in re(ne))break;ne.ownLast="0"!==ke,ne.inlineBlockNeedsLayout=!1,re(function(
){var t,e,n,i;n=pe.getElementsByTagName("body")[0],n&&n.style&&(e=pe.createEleme
nt("div"),i=pe.createElement("div"),i.style.cssText="position:absolute;border:0;
width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.st
yle.zoom!==xe&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;wi
dth:1px;zoom:1",ne.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1
)),n.removeChild(i))}),function(){var t=pe.createElement("div");if(null==ne.dele
teExpando){ne.deleteExpando=!0;try{delete t.test}catch(e){ne.deleteExpando=!1}}t
=null}(),re.acceptData=function(t){var e=re.noData[(t.nodeName+" ").toLowerCase(
)],n=+t.nodeType||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getAttribute("classid")
===e};var Se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ee=/([A-Z])/g;re.extend({cache:{},n
oData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-4445535
40000"},hasData:function(t){return t=t.nodeType?re.cache[t[re.expando]]:t[re.exp
ando],!!t&&!u(t)},data:function(t,e,n){return l(t,e,n)},removeData:function(t,e)
{return d(t,e)},_data:function(t,e,n){return l(t,e,n,!0)},_removeData:function(t
,e){return d(t,e,!0)}}),re.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o
&&o.attributes;if(void 0===t){if(this.length&&(r=re.data(o),1===o.nodeType&&!re.
_data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("d
ata-")&&(i=re.camelCase(i.slice(5)),c(o,i,r[i])));re._data(o,"parsedAttrs",!0)}r
eturn r}return"object"==typeof t?this.each(function(){re.data(this,t)}):argument

s.length>1?this.each(function(){re.data(this,t,e)}):o?c(o,t,re.data(o,t)):void 0
},removeData:function(t){return this.each(function(){re.removeData(this,t)})}}),
re.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=re._data(
t,e),n&&(!i||re.isArray(n)?i=re._data(t,e,re.makeArray(n)):i.push(n)),i||[]):voi
d 0},dequeue:function(t,e){e=e||"fx";var n=re.queue(t,e),i=n.length,r=n.shift(),
o=re._queueHooks(t,e),s=function(){re.dequeue(t,e)};"inprogress"===r&&(r=n.shift
(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o
&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return re._data
(t,n)||re._data(t,n,{empty:re.Callbacks("once memory").add(function(){re._remove
Data(t,e+"queue"),re._removeData(t,n)})})}}),re.fn.extend({queue:function(t,e){v
ar n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?re.queue(th
is[0],t):void 0===e?this:this.each(function(){var n=re.queue(this,t,e);re._queue
Hooks(this,t),"fx"===t&&"inprogress"!==n[0]&&re.dequeue(this,t)})},dequeue:funct
ion(t){return this.each(function(){re.dequeue(this,t)})},clearQueue:function(t){
return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=re.Deferred(),o
=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof
t&&(e=t,t=void 0),t=t||"fx";s--;)n=re._data(o[s],t+"queueHooks"),n&&n.empty&&(i
++,n.empty.add(a));return a(),r.promise(e)}});var Ce=/[+-]?(?:\d*\.|)\d+(?:[eE][
+-]?\d+|)/.source,Te=["Top","Right","Bottom","Left"],Ae=function(t,e){return t=e
||t,"none"===re.css(t,"display")||!re.contains(t.ownerDocument,t)},Ne=re.access=
function(t,e,n,i,r,o,s){var a=0,c=t.length,u=null==n;if("object"===re.type(n)){r
=!0;for(a in n)re.access(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,re.isFunct
ion(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(r
e(t),n)})),e))for(;c>a;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e
.call(t):c?e(t[0],n):o},Oe=/^(?:checkbox|radio)$/i;!function(){var t=pe.createEl
ement("input"),e=pe.createElement("div"),n=pe.createDocumentFragment();if(e.inne
rHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ne.le
adingWhitespace=3===e.firstChild.nodeType,ne.tbody=!e.getElementsByTagName("tbod
y").length,ne.htmlSerialize=!!e.getElementsByTagName("link").length,ne.html5Clon
e="<:nav></:nav>"!==pe.createElement("nav").cloneNode(!0).outerHTML,t.type="chec
kbox",t.checked=!0,n.appendChild(t),ne.appendChecked=t.checked,e.innerHTML="<tex
tarea>x</textarea>",ne.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n
.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",n
e.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ne.noCloneEvent=!0,
e.attachEvent&&(e.attachEvent("onclick",function(){ne.noCloneEvent=!1}),e.cloneN
ode(!0).click()),null==ne.deleteExpando){ne.deleteExpando=!0;try{delete e.test}c
atch(i){ne.deleteExpando=!1}}}(),function(){var e,n,i=pe.createElement("div");fo
r(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(ne[e+"Bubbles"]=n in t)||(i.set
Attribute(n,"t"),ne[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var $e=
/^(?:input|select|textarea)$/i,je=/^key/,Me=/^(?:mouse|pointer|contextmenu)|clic
k/,Pe=/^(?:focusinfocus|focusoutblur)$/,Le=/^([^.]*)(?:\.(.+)|)$/;re.event={glob
al:{},add:function(t,e,n,i,r){var o,s,a,c,u,l,d,h,_,p,f,g=re._data(t);if(g){for(
n.handler&&(c=n,n=c.handler,r=c.selector),n.guid||(n.guid=re.guid++),(s=g.events
)||(s=g.events={}),(l=g.handle)||(l=g.handle=function(t){return typeof re===xe||
t&&re.event.triggered===t.type?void 0:re.event.dispatch.apply(l.elem,arguments)}
,l.elem=t),e=(e||"").match(ve)||[""],a=e.length;a--;)o=Le.exec(e[a])||[],_=f=o[1
],p=(o[2]||"").split(".").sort(),_&&(u=re.event.special[_]||{},_=(r?u.delegateTy
pe:u.bindType)||_,u=re.event.special[_]||{},d=re.extend({type:_,origType:f,data:
i,handler:n,guid:n.guid,selector:r,needsContext:r&&re.expr.match.needsContext.te
st(r),namespace:p.join(".")},c),(h=s[_])||(h=s[_]=[],h.delegateCount=0,u.setup&&
u.setup.call(t,i,p,l)!==!1||(t.addEventListener?t.addEventListener(_,l,!1):t.att
achEvent&&t.attachEvent("on"+_,l))),u.add&&(u.add.call(t,d),d.handler.guid||(d.h
andler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),re.event.global
[_]=!0);t=null}},remove:function(t,e,n,i,r){var o,s,a,c,u,l,d,h,_,p,f,g=re.hasDa
ta(t)&&re._data(t);if(g&&(l=g.events)){for(e=(e||"").match(ve)||[""],u=e.length;
u--;)if(a=Le.exec(e[u])||[],_=f=a[1],p=(a[2]||"").split(".").sort(),_){for(d=re.
event.special[_]||{},_=(i?d.delegateType:d.bindType)||_,h=l[_]||[],a=a[2]&&new R
egExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=o=h.length;o--;)s=h[o],!r&&
f!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&
("**"!==i||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,d.remove&&

d.remove.call(t,s));c&&!h.length&&(d.teardown&&d.teardown.call(t,p,g.handle)!==!
1||re.removeEvent(t,_,g.handle),delete l[_])}else for(_ in l)re.event.remove(t,_
+e[u],n,i,!0);re.isEmptyObject(l)&&(delete g.handle,re._removeData(t,"events"))}
},trigger:function(e,n,i,r){var o,s,a,c,u,l,d,h=[i||pe],_=ee.call(e,"type")?e.ty
pe:e,p=ee.call(e,"namespace")?e.namespace.split("."):[];if(a=l=i=i||pe,3!==i.nod
eType&&8!==i.nodeType&&!Pe.test(_+re.event.triggered)&&(_.indexOf(".")>=0&&(p=_.
split("."),_=p.shift(),p.sort()),s=_.indexOf(":")<0&&"on"+_,e=e[re.expando]?e:ne
w re.Event(_,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.
namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)")
:null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:re.makeArray(n,[e]),u
=re.event.special[_]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.no
Bubble&&!re.isWindow(i)){for(c=u.delegateType||_,Pe.test(c+_)||(a=a.parentNode);
a;a=a.parentNode)h.push(a),l=a;
l===(i.ownerDocument||pe)&&h.push(l.defaultView||l.parentWindow||t)}for(d=0;(a=h
[d++])&&!e.isPropagationStopped();)e.type=d>1?c:u.bindType||_,o=(re._data(a,"eve
nts")||{})[e.type]&&re._data(a,"handle"),o&&o.apply(a,n),o=s&&a[s],o&&o.apply&&r
e.acceptData(a)&&(e.result=o.apply(a,n),e.result===!1&&e.preventDefault());if(e.
type=_,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(h.pop(),n)===
!1)&&re.acceptData(i)&&s&&i[_]&&!re.isWindow(i)){l=i[s],l&&(i[s]=null),re.event.
triggered=_;try{i[_]()}catch(f){}re.event.triggered=void 0,l&&(i[s]=l)}return e.
result}},dispatch:function(t){t=re.event.fix(t);var e,n,i,r,o,s=[],a=G.call(argu
ments),c=(re._data(this,"events")||{})[t.type]||[],u=re.event.special[t.type]||{
};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!
1){for(s=re.event.handlers.call(this,t,c),e=0;(r=s[e++])&&!t.isPropagationStoppe
d();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagati
onStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i
,t.data=i.data,n=((re.event.special[i.origType]||{}).handle||i.handler).apply(r.
elem,a),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()))
;return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function
(t,e){var n,i,r,o,s=[],a=e.delegateCount,c=t.target;if(a&&c.nodeType&&(!t.button
||"click"!==t.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(c.disa
bled!==!0||"click"!==t.type)){for(r=[],o=0;a>o;o++)i=e[o],n=i.selector+" ",void
0===r[n]&&(r[n]=i.needsContext?re(n,this).index(c)>=0:re.find(n,this,null,[c]).l
ength),r[n]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return a<e.length&&
s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[re.expando])retu
rn t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Me.tes
t(r)?this.mouseHooks:je.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.
props):this.props,t=new re.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.ta
rget||(t.target=o.srcElement||pe),3===t.target.nodeType&&(t.target=t.target.pare
ntNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):t},props:"altKey bubbles ca
ncelable 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 cli
entY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split("
"),filter:function(t,e){var n,i,r,o=e.button,s=e.fromElement;return null==t.page
X&&null!=e.clientX&&(i=t.target.ownerDocument||pe,r=i.documentElement,n=i.body,t
.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.cl
ientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientT
op||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toE
lement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{
noBubble:!0},focus:{trigger:function(){if(this!==p()&&this.focus)try{return this
.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return
this===p()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{t
rigger:function(){return re.nodeName(this,"input")&&"checkbox"===this.type&&this
.click?(this.click(),!1):void 0},_default:function(t){return re.nodeName(t.targe
t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEve
nt&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=r
e.extend(new re.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?re.event.tri
gger(r,null,e):re.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefa

ult()}},re.removeEvent=pe.removeEventListener?function(t,e,n){t.removeEventListe
ner&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&
(typeof t[i]===xe&&(t[i]=null),t.detachEvent(i,n))},re.Event=function(t,e){retur
n this instanceof re.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,thi
s.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnVa
lue===!1?h:_):this.type=t,e&&re.extend(this,e),this.timeStamp=t&&t.timeStamp||re
.now(),void(this[re.expando]=!0)):new re.Event(t,e)},re.Event.prototype={isDefau
ltPrevented:_,isPropagationStopped:_,isImmediatePropagationStopped:_,preventDefa
ult:function(){var t=this.originalEvent;this.isDefaultPrevented=h,t&&(t.preventD
efault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=th
is.originalEvent;this.isPropagationStopped=h,t&&(t.stopPropagation&&t.stopPropag
ation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.origi
nalEvent;this.isImmediatePropagationStopped=h,t&&t.stopImmediatePropagation&&t.s
topImmediatePropagation(),this.stopPropagation()}},re.each({mouseenter:"mouseove
r",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},f
unction(t,e){re.event.special[t]={delegateType:e,bindType:e,handle:function(t){v
ar n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!re.contains(i,r))
&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),ne.submit
Bubbles||(re.event.special.submit={setup:function(){return re.nodeName(this,"for
m")?!1:void re.event.add(this,"click._submit keypress._submit",function(t){var e
=t.target,n=re.nodeName(e,"input")||re.nodeName(e,"button")?e.form:void 0;n&&!re
._data(n,"submitBubbles")&&(re.event.add(n,"submit._submit",function(t){t._submi
t_bubble=!0}),re._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._sub
mit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&re.event.sim
ulate("submit",this.parentNode,t,!0))},teardown:function(){return re.nodeName(th
is,"form")?!1:void re.event.remove(this,"._submit")}}),ne.changeBubbles||(re.eve
nt.special.change={setup:function(){return $e.test(this.nodeName)?(("checkbox"==
=this.type||"radio"===this.type)&&(re.event.add(this,"propertychange._change",fu
nction(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),re
.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(t
his._just_changed=!1),re.event.simulate("change",this,t,!0)})),!1):void re.event
.add(this,"beforeactivate._change",function(t){var e=t.target;$e.test(e.nodeName
)&&!re._data(e,"changeBubbles")&&(re.event.add(e,"change._change",function(t){!t
his.parentNode||t.isSimulated||t.isTrigger||re.event.simulate("change",this.pare
ntNode,t,!0)}),re._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.tar
get;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==
e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){ret
urn re.event.remove(this,"._change"),!$e.test(this.nodeName)}}),ne.focusinBubble
s||re.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){re.
event.simulate(e,t.target,re.event.fix(t),!0)};re.event.special[e]={setup:functi
on(){var i=this.ownerDocument||this,r=re._data(i,e);r||i.addEventListener(t,n,!0
),re._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=r
e._data(i,e)-1;r?re._data(i,e,r):(i.removeEventListener(t,n,!0),re._removeData(i
,e))}}}),re.fn.extend({on:function(t,e,n,i,r){var o,s;if("object"==typeof t){"st
ring"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],r);return this}
if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0)
:(i=n,n=e,e=void 0)),i===!1)i=_;else if(!i)return this;return 1===r&&(s=i,i=func
tion(t){return re().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=re.gu
id++)),this.each(function(){re.event.add(this,t,i,n,e)})},one:function(t,e,n,i){
return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t
.handleObj)return i=t.handleObj,re(t.delegateTarget).off(i.namespace?i.origType+
"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for
(r in t)this.off(r,e,t[r]);return this}return(e===!1||"function"==typeof e)&&(n=
e,e=void 0),n===!1&&(n=_),this.each(function(){re.event.remove(this,t,n,e)})},tr
igger:function(t,e){return this.each(function(){re.event.trigger(t,e,this)})},tr
iggerHandler:function(t,e){var n=this[0];return n?re.event.trigger(t,e,n,!0):voi
d 0}});var Ie="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcapt
ion|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|t
ime|video",De=/ jQuery\d+="(?:null|\d+)"/g,Fe=new RegExp("<(?:"+Ie+")[\\s/>]","i
"),ze=/^\s+/,Re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>

]*)\/>/gi,Be=/<([\w:]+)/,He=/<tbody/i,Ue=/<|&#?\w+;/,qe=/<(?:script|style|link)/
i,We=/checked\s*(?:[^=]|=\s*.checked.)/i,Ye=/^$|\/(?:java|ecma)script/i,Ve=/^tru
e\/(.*)/,Xe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ge={option:[1,"<select mu
ltiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"
<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"]
,tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgr
oup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"]
,_default:ne.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Je=f(pe),Qe=Je.appen
dChild(pe.createElement("div"));Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgr
oup=Ge.caption=Ge.thead,Ge.th=Ge.td,re.extend({clone:function(t,e,n){var i,r,o,s
,a,c=re.contains(t.ownerDocument,t);if(ne.html5Clone||re.isXMLDoc(t)||!Fe.test("
<"+t.nodeName+">")?o=t.cloneNode(!0):(Qe.innerHTML=t.outerHTML,Qe.removeChild(o=
Qe.firstChild)),!(ne.noCloneEvent&&ne.noCloneChecked||1!==t.nodeType&&11!==t.nod
eType||re.isXMLDoc(t)))for(i=g(o),a=g(t),s=0;null!=(r=a[s]);++s)i[s]&&x(r,i[s]);
if(e)if(n)for(a=a||g(t),i=i||g(o),s=0;null!=(r=a[s]);s++)k(r,i[s]);else k(t,o);r
eturn i=g(o,"script"),i.length>0&&w(i,!c&&g(t,"script")),i=a=r=null,o},buildFrag
ment:function(t,e,n,i){for(var r,o,s,a,c,u,l,d=t.length,h=f(e),_=[],p=0;d>p;p++)
if(o=t[p],o||0===o)if("object"===re.type(o))re.merge(_,o.nodeType?[o]:o);else if
(Ue.test(o)){for(a=a||h.appendChild(e.createElement("div")),c=(Be.exec(o)||["","
"])[1].toLowerCase(),l=Ge[c]||Ge._default,a.innerHTML=l[1]+o.replace(Re,"<$1></$
2>")+l[2],r=l[0];r--;)a=a.lastChild;if(!ne.leadingWhitespace&&ze.test(o)&&_.push
(e.createTextNode(ze.exec(o)[0])),!ne.tbody)for(o="table"!==c||He.test(o)?"<tabl
e>"!==l[1]||He.test(o)?0:a:a.firstChild,r=o&&o.childNodes.length;r--;)re.nodeNam
e(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(re.merg
e(_,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h
.lastChild}else _.push(e.createTextNode(o));for(a&&h.removeChild(a),ne.appendChe
cked||re.grep(g(_,"input"),m),p=0;o=_[p++];)if((!i||-1===re.inArray(o,i))&&(s=re
.contains(o.ownerDocument,o),a=g(h.appendChild(o),"script"),s&&w(a),n))for(r=0;o
=a[r++];)Ye.test(o.type||"")&&n.push(o);return a=null,h},cleanData:function(t,e)
{for(var n,i,r,o,s=0,a=re.expando,c=re.cache,u=ne.deleteExpando,l=re.event.speci
al;null!=(n=t[s]);s++)if((e||re.acceptData(n))&&(r=n[a],o=r&&c[r])){if(o.events)
for(i in o.events)l[i]?re.event.remove(n,i):re.removeEvent(n,i,o.handle);c[r]&&(
delete c[r],u?delete n[a]:typeof n.removeAttribute!==xe?n.removeAttribute(a):n[a
]=null,X.push(r))}}}),re.fn.extend({text:function(t){return Ne(this,function(t){
return void 0===t?re.text(this):this.empty().append((this[0]&&this[0].ownerDocum
ent||pe).createTextNode(t))},null,t,arguments.length)},append:function(){return
this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9=
==this.nodeType){var e=b(this,t);e.appendChild(t)}})},prepend:function(){return
this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9=
==this.nodeType){var e=b(this,t);e.insertBefore(t,e.firstChild)}})},before:funct
ion(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNod
e.insertBefore(t,this)})},after:function(){return this.domManip(arguments,functi
on(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remov
e:function(t,e){for(var n,i=t?re.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1
!==n.nodeType||re.cleanData(g(n)),n.parentNode&&(e&&re.contains(n.ownerDocument,
n)&&w(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){
for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&re.cleanData(g(t,!1));t
.firstChild;)t.removeChild(t.firstChild);t.options&&re.nodeName(t,"select")&&(t.
options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null=
=e?t:e,this.map(function(){return re.clone(this,t,e)})},html:function(t){return
Ne(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1==
=e.nodeType?e.innerHTML.replace(De,""):void 0;if(!("string"!=typeof t||qe.test(t
)||!ne.htmlSerialize&&Fe.test(t)||!ne.leadingWhitespace&&ze.test(t)||Ge[(Be.exec
(t)||["",""])[1].toLowerCase()])){t=t.replace(Re,"<$1></$2>");try{for(;i>n;n++)e
=this[n]||{},1===e.nodeType&&(re.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(r){
}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){va
r t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,re
.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:t
his.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e
){t=J.apply([],t);var n,i,r,o,s,a,c=0,u=this.length,l=this,d=u-1,h=t[0],_=re.isF

unction(h);if(_||u>1&&"string"==typeof h&&!ne.checkClone&&We.test(h))return this


.each(function(n){var i=l.eq(n);_&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e
)});if(u&&(a=re.buildFragment(t,this[0].ownerDocument,!1,this),n=a.firstChild,1=
==a.childNodes.length&&(a=n),n)){for(o=re.map(g(a,"script"),v),r=o.length;u>c;c+
+)i=a,c!==d&&(i=re.clone(i,!0,!0),r&&re.merge(o,g(i,"script"))),e.call(this[c],i
,c);if(r)for(s=o[o.length-1].ownerDocument,re.map(o,y),c=0;r>c;c++)i=o[c],Ye.tes
t(i.type||"")&&!re._data(i,"globalEval")&&re.contains(s,i)&&(i.src?re._evalUrl&&
re._evalUrl(i.src):re.globalEval((i.text||i.textContent||i.innerHTML||"").replac
e(Xe,"")));a=n=null}return this}}),re.each({appendTo:"append",prependTo:"prepend
",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t
,e){re.fn[t]=function(t){for(var n,i=0,r=[],o=re(t),s=o.length-1;s>=i;i++)n=i===
s?this:this.clone(!0),re(o[i])[e](n),Q.apply(r,n.get());return this.pushStack(r)
}});var Ke,Ze={};!function(){var t;ne.shrinkWrapBlocks=function(){if(null!=t)ret
urn t;t=!1;var e,n,i;return n=pe.getElementsByTagName("body")[0],n&&n.style?(e=p
e.createElement("div"),i=pe.createElement("div"),i.style.cssText="position:absol
ute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e
),typeof e.style.zoom!==xe&&(e.style.cssText="-webkit-box-sizing:content-box;-mo
z-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;
padding:1px;width:1px;zoom:1",e.appendChild(pe.createElement("div")).style.width
="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}();var tn,en,nn=/^margin
/,rn=new RegExp("^("+Ce+")(?!px)[a-z%]+$","i"),on=/^(top|right|bottom|left)$/;t.
getComputedStyle?(tn=function(t){return t.ownerDocument.defaultView.getComputedS
tyle(t,null)},en=function(t,e,n){var i,r,o,s,a=t.style;return n=n||tn(t),s=n?n.g
etPropertyValue(e)||n[e]:void 0,n&&(""!==s||re.contains(t.ownerDocument,t)||(s=r
e.style(t,e)),rn.test(s)&&nn.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.min
Width=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void
0===s?s:s+""}):pe.documentElement.currentStyle&&(tn=function(t){return t.current
Style},en=function(t,e,n){var i,r,o,s,a=t.style;return n=n||tn(t),s=n?n[e]:void
0,null==s&&a&&a[e]&&(s=a[e]),rn.test(s)&&!on.test(e)&&(i=a.left,r=t.runtimeStyle
,o=r&&r.left,o&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.p
ixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"}),function(){fun
ction e(){var e,n,i,r;n=pe.getElementsByTagName("body")[0],n&&n.style&&(e=pe.cre
ateElement("div"),i=pe.createElement("div"),i.style.cssText="position:absolute;b
order:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.s
tyle.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizin
g:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px
;position:absolute",o=s=!1,c=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyl
e(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,r
=e.appendChild(pe.createElement("div")),r.style.cssText=e.style.cssText="-webkit
-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;displ
ay:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.st
yle.width="1px",c=!parseFloat((t.getComputedStyle(r,null)||{}).marginRight)),e.i
nnerHTML="<table><tr><td></td><td>t</td></tr></table>",r=e.getElementsByTagName(
"td"),r[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===r[0].o
ffsetHeight,a&&(r[0].style.display="",r[1].style.display="none",a=0===r[0].offse
tHeight),n.removeChild(i))}var n,i,r,o,s,a,c;n=pe.createElement("div"),n.innerHT
ML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",r=n.getE
lementsByTagName("a")[0],i=r&&r.style,i&&(i.cssText="float:left;opacity:.5",ne.o
pacity="0.5"===i.opacity,ne.cssFloat=!!i.cssFloat,n.style.backgroundClip="conten
t-box",n.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle="content-box"=
==n.style.backgroundClip,ne.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""=
==i.WebkitBoxSizing,re.extend(ne,{reliableHiddenOffsets:function(){return null==
a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:func
tion(){return null==o&&e(),o},reliableMarginRight:function(){return null==c&&e()
,c}}))}(),re.swap=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.st
yle[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=s[o];return r};var sn=/alph
a\([^)]*\)/i,an=/opacity\s*=\s*([^)]*)/,cn=/^(none|table(?!-c[ea]).+)/,un=new Re
gExp("^("+Ce+")(.*)$","i"),ln=new RegExp("^([+-])=("+Ce+")","i"),dn={position:"a
bsolute",visibility:"hidden",display:"block"},hn={letterSpacing:"0",fontWeight:"
400"},_n=["Webkit","O","Moz","ms"];re.extend({cssHooks:{opacity:{get:function(t,

e){if(e){var n=en(t,"opacity");return""===n?"1":n}}}},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":ne.cssFloat?"
cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.node
Type&&t.style){var r,o,s,a=re.camelCase(e),c=t.style;if(e=re.cssProps[a]||(re.cs
sProps[a]=T(c,a)),s=re.cssHooks[e]||re.cssHooks[a],void 0===n)return s&&"get"in
s&&void 0!==(r=s.get(t,!1,i))?r:c[e];if(o=typeof n,"string"===o&&(r=ln.exec(n))&
&(n=(r[1]+1)*r[2]+parseFloat(re.css(t,e)),o="number"),null!=n&&n===n&&("number"!
==o||re.cssNumber[a]||(n+="px"),ne.clearCloneStyle||""!==n||0!==e.indexOf("backg
round")||(c[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,i)))))try{c[e]=n
}catch(u){}}},css:function(t,e,n,i){var r,o,s,a=re.camelCase(e);return e=re.cssP
rops[a]||(re.cssProps[a]=T(t.style,a)),s=re.cssHooks[e]||re.cssHooks[a],s&&"get"
in s&&(o=s.get(t,!0,n)),void 0===o&&(o=en(t,e,i)),"normal"===o&&e in hn&&(o=hn[e
]),""===n||n?(r=parseFloat(o),n===!0||re.isNumeric(r)?r||0:o):o}}),re.each(["hei
ght","width"],function(t,e){re.cssHooks[e]={get:function(t,n,i){return n?cn.test
(re.css(t,"display"))&&0===t.offsetWidth?re.swap(t,dn,function(){return $(t,e,i)
}):$(t,e,i):void 0},set:function(t,n,i){var r=i&&tn(t);return N(t,n,i?O(t,e,i,ne
.boxSizing&&"border-box"===re.css(t,"boxSizing",!1,r),r):0)}}}),ne.opacity||(re.
cssHooks.opacity={get:function(t,e){return an.test((e&&t.currentStyle?t.currentS
tyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:func
tion(t,e){var n=t.style,i=t.currentStyle,r=re.isNumeric(e)?"alpha(opacity="+100*
e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===re.trim(o.rep
lace(sn,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filt
er)||(n.filter=sn.test(o)?o.replace(sn,r):o+" "+r)}}),re.cssHooks.marginRight=C(
ne.reliableMarginRight,function(t,e){return e?re.swap(t,{display:"inline-block"}
,en,[t,"marginRight"]):void 0}),re.each({margin:"",padding:"",border:"Width"},fu
nction(t,e){re.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==ty
peof n?n.split(" "):[n];4>i;i++)r[t+Te[i]+e]=o[i]||o[i-2]||o[0];return r}},nn.te
st(t)||(re.cssHooks[t+e].set=N)}),re.fn.extend({css:function(t,e){return Ne(this
,function(t,e,n){var i,r,o={},s=0;if(re.isArray(e)){for(i=tn(t),r=e.length;r>s;s
++)o[e[s]]=re.css(t,e[s],!1,i);return o}return void 0!==n?re.style(t,e,n):re.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():th
is.hide():this.each(function(){Ae(this)?re(this).show():re(this).hide()})}}),re.
Tween=j,j.prototype={constructor:j,init:function(t,e,n,i,r,o){this.elem=t,this.p
rop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.
end=i,this.unit=o||(re.cssNumber[n]?"":"px")},cur:function(){var t=j.propHooks[t
his.prop];return t&&t.get?t.get(this):j.propHooks._default.get(this)},run:functi
on(t){var e,n=j.propHooks[this.prop];return this.pos=e=this.options.duration?re.
easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.
now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call
(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),th
is}},j.prototype.init.prototype=j.prototype,j.propHooks={_default:{get:function(
t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(
e=re.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){re
.fx.step[t.prop]?re.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[re.cssP
rops[t.prop]]||re.cssHooks[t.prop])?re.style(t.elem,t.prop,t.now+t.unit):t.elem[
t.prop]=t.now}}},j.propHooks.scrollTop=j.propHooks.scrollLeft={set:function(t){t
.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},re.easing={linear:fu
nction(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},re.fx=j.p
rototype.init,re.fx.step={};var pn,fn,gn=/^(?:toggle|show|hide)$/,mn=new RegExp(
"^(?:([+-])=|)("+Ce+")([a-z%]*)$","i"),bn=/queueHooks$/,vn=[I],yn={"*":[function
(t,e){var n=this.createTween(t,e),i=n.cur(),r=mn.exec(e),o=r&&r[3]||(re.cssNumbe
r[t]?"":"px"),s=(re.cssNumber[t]||"px"!==o&&+i)&&mn.exec(re.css(n.elem,t)),a=1,c
=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+i||1;do a=a||".5",s/=a,re.style(n.elem,
t,s+o);while(a!==(a=n.cur()/i)&&1!==a&&--c)}return r&&(s=n.start=+s||+i||0,n.uni
t=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};re.Animation=re.extend(F,{tweener:fun
ction(t,e){re.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.lengt
h;r>i;i++)n=t[i],yn[n]=yn[n]||[],yn[n].unshift(e)},prefilter:function(t,e){e?vn.
unshift(t):vn.push(t)}}),re.speed=function(t,e,n){var i=t&&"object"==typeof t?re

.extend({},t):{complete:n||!n&&e||re.isFunction(t)&&t,duration:t,easing:n&&e||e&
&!re.isFunction(e)&&e};return i.duration=re.fx.off?0:"number"==typeof i.duration
?i.duration:i.duration in re.fx.speeds?re.fx.speeds[i.duration]:re.fx.speeds._de
fault,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=
function(){re.isFunction(i.old)&&i.old.call(this),i.queue&&re.dequeue(this,i.que
ue)},i},re.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ae).css("opaci
ty",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=
re.isEmptyObject(t),o=re.speed(e,n,i),s=function(){var e=F(this,re.extend({},t),
o);(r||re._data(this,"finish"))&&e.stop(!0)};return s.finish=s,r||o.queue===!1?t
his.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=
t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!
1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks
",o=re.timers,s=re._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r
]&&s[r].stop&&bn.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&
&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&re.dequeue(this
,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,
n=re._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=re.timers,s=i?i.length:0;f
or(n.finish=!0,re.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e-;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;
s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),re.each([
"toggle","show","hide"],function(t,e){var n=re.fn[e];re.fn[e]=function(t,i,r){re
turn null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(P(e,!0),t
,i,r)}}),re.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),
fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},
function(t,e){re.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),re.timers
=[],re.fx.tick=function(){var t,e=re.timers,n=0;for(pn=re.now();n<e.length;n++)t
=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||re.fx.stop(),pn=void 0},re.fx.tim
er=function(t){re.timers.push(t),t()?re.fx.start():re.timers.pop()},re.fx.interv
al=13,re.fx.start=function(){fn||(fn=setInterval(re.fx.tick,re.fx.interval))},re
.fx.stop=function(){clearInterval(fn),fn=null},re.fx.speeds={slow:600,fast:200,_
default:400},re.fn.delay=function(t,e){return t=re.fx?re.fx.speeds[t]||t:t,e=e||
"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTim
eout(i)}})},function(){var t,e,n,i,r;e=pe.createElement("div"),e.setAttribute("c
lassName","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input typ
e='checkbox'/>",i=e.getElementsByTagName("a")[0],n=pe.createElement("select"),r=
n.appendChild(pe.createElement("option")),t=e.getElementsByTagName("input")[0],i
.style.cssText="top:1px",ne.getSetAttribute="t"!==e.className,ne.style=/top/.tes
t(i.getAttribute("style")),ne.hrefNormalized="/a"===i.getAttribute("href"),ne.ch
eckOn=!!t.value,ne.optSelected=r.selected,ne.enctype=!!pe.createElement("form").
enctype,n.disabled=!0,ne.optDisabled=!r.disabled,t=pe.createElement("input"),t.s
etAttribute("value",""),ne.input=""===t.getAttribute("value"),t.value="t",t.setA
ttribute("type","radio"),ne.radioValue="t"===t.value}();var wn=/\r/g;re.fn.exten
d({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=re.isFuncti
on(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,re(this)
.val()):t,null==r?r="":"number"==typeof r?r+="":re.isArray(r)&&(r=re.map(r,funct
ion(t){return null==t?"":t+""})),e=re.valHooks[this.type]||re.valHooks[this.node
Name.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r)
)});if(r)return e=re.valHooks[r.type]||re.valHooks[r.nodeName.toLowerCase()],e&&
"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.repla
ce(wn,""):null==n?"":n)}}}),re.extend({valHooks:{option:{get:function(t){var e=r
e.find.attr(t,"value");return null!=e?e:re.trim(re.text(t))}},select:{get:functi
on(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,s=o
?null:[],a=o?r+1:i.length,c=0>r?a:o?r:0;a>c;c++)if(n=i[c],!(!n.selected&&c!==r||
(ne.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disa
bled&&re.nodeName(n.parentNode,"optgroup"))){if(e=re(n).val(),o)return e;s.push(
e)}return s},set:function(t,e){for(var n,i,r=t.options,o=re.makeArray(e),s=r.len
gth;s--;)if(i=r[s],re.inArray(re.valHooks.option.get(i),o)>=0)try{i.selected=n=!
0}catch(a){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}
}),re.each(["radio","checkbox"],function(){re.valHooks[this]={set:function(t,e){
return re.isArray(e)?t.checked=re.inArray(re(t).val(),e)>=0:void 0}},ne.checkOn|

|(re.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t
.value})});var kn,xn,Sn=re.expr.attrHandle,En=/^(?:checked|selected)$/i,Cn=ne.ge
tSetAttribute,Tn=ne.input;re.fn.extend({attr:function(t,e){return Ne(this,re.att
r,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){re
.removeAttr(this,t)})}}),re.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if
(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===xe?re.prop(t,e,n):(1===o&
&re.isXMLDoc(t)||(e=e.toLowerCase(),i=re.attrHooks[e]||(re.expr.match.bool.test(
e)?xn:kn)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=re.find.attr(t,e)
,null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttr
ibute(e,n+""),n):void re.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,
o=e&&e.match(ve);if(o&&1===t.nodeType)for(;n=o[r++];)i=re.propFix[n]||n,re.expr.
match.bool.test(n)?Tn&&Cn||!En.test(n)?t[i]=!1:t[re.camelCase("default-"+n)]=t[i
]=!1:re.attr(t,n,""),t.removeAttribute(Cn?n:i)},attrHooks:{type:{set:function(t,
e){if(!ne.radioValue&&"radio"===e&&re.nodeName(t,"input")){var n=t.value;return
t.setAttribute("type",e),n&&(t.value=n),e}}}}}),xn={set:function(t,e,n){return e
===!1?re.removeAttr(t,n):Tn&&Cn||!En.test(n)?t.setAttribute(!Cn&&re.propFix[n]||
n,n):t[re.camelCase("default-"+n)]=t[n]=!0,n}},re.each(re.expr.match.bool.source
.match(/\w+/g),function(t,e){var n=Sn[e]||re.find.attr;Sn[e]=Tn&&Cn||!En.test(e)
?function(t,e,i){var r,o;return i||(o=Sn[e],Sn[e]=r,r=null!=n(t,e,i)?e.toLowerCa
se():null,Sn[e]=o),r}:function(t,e,n){return n?void 0:t[re.camelCase("default-"+
e)]?e.toLowerCase():null}}),Tn&&Cn||(re.attrHooks.value={set:function(t,e,n){ret
urn re.nodeName(t,"input")?void(t.defaultValue=e):kn&&kn.set(t,e,n)}}),Cn||(kn={
set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t
.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute
(n)?e:void 0}},Sn.id=Sn.name=Sn.coords=function(t,e,n){var i;return n?void 0:(i=
t.getAttributeNode(e))&&""!==i.value?i.value:null},re.valHooks.button={get:funct
ion(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:k
n.set},re.attrHooks.contenteditable={set:function(t,e,n){kn.set(t,""===e?!1:e,n)
}},re.each(["width","height"],function(t,e){re.attrHooks[e]={set:function(t,n){r
eturn""===n?(t.setAttribute(e,"auto"),n):void 0}}})),ne.style||(re.attrHooks.sty
le={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.s
tyle.cssText=e+""}});var An=/^(?:input|select|textarea|button|object)$/i,Nn=/^(?
:a|area)$/i;re.fn.extend({prop:function(t,e){return Ne(this,re.prop,t,e,argument
s.length>1)},removeProp:function(t){return t=re.propFix[t]||t,this.each(function
(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),re.extend({propFix:{"for":"
htmlFor","class":"className"},prop:function(t,e,n){var i,r,o,s=t.nodeType;if(t&&
3!==s&&8!==s&&2!==s)return o=1!==s||!re.isXMLDoc(t),o&&(e=re.propFix[e]||e,r=re.
propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"ge
t"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e
=re.find.attr(t,"tabindex");return e?parseInt(e,10):An.test(t.nodeName)||Nn.test
(t.nodeName)&&t.href?0:-1}}}}),ne.hrefNormalized||re.each(["href","src"],functio
n(t,e){re.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ne.optSel
ected||(re.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.s
electedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),re.each(["tabInde
x","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMa
p","frameBorder","contentEditable"],function(){re.propFix[this.toLowerCase()]=th
is}),ne.enctype||(re.propFix.enctype="encoding");var On=/[\t\r\n\f]/g;re.fn.exte
nd({addClass:function(t){var e,n,i,r,o,s,a=0,c=this.length,u="string"==typeof t&
&t;if(re.isFunction(t))return this.each(function(e){re(this).addClass(t.call(thi
s,e,this.className))});if(u)for(e=(t||"").match(ve)||[];c>a;a++)if(n=this[a],i=1
===n.nodeType&&(n.className?(" "+n.className+" ").replace(On," "):" ")){for(o=0;
r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=re.trim(i),n.className!==s&&(n.cl
assName=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0,c=this.lengt
h,u=0===arguments.length||"string"==typeof t&&t;if(re.isFunction(t))return this.
each(function(e){re(this).removeClass(t.call(this,e,this.className))});if(u)for(
e=(t||"").match(ve)||[];c>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "
+n.className+" ").replace(On," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+"
")>=0;)i=i.replace(" "+r+" "," ");s=t?re.trim(i):"",n.className!==s&&(n.classNam
e=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==type
of e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(re.isFunctio

n(t)?function(n){re(this).toggleClass(t.call(this,n,this.className,e),e)}:functi
on(){if("string"===n)for(var e,i=0,r=re(this),o=t.match(ve)||[];e=o[i++];)r.hasC
lass(e)?r.removeClass(e):r.addClass(e);else(n===xe||"boolean"===n)&&(this.classN
ame&&re._data(this,"__className__",this.className),this.className=this.className
||t===!1?"":re._data(this,"__className__")||"")
})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===th
is[n].nodeType&&(" "+this[n].className+" ").replace(On," ").indexOf(e)>=0)return
!0;return!1}}),re.each("blur focus focusin focusout load resize scroll unload cl
ick dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleav
e change select submit keydown keypress keyup error contextmenu".split(" "),func
tion(t,e){re.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):t
his.trigger(e)}}),re.fn.extend({hover:function(t,e){return this.mouseenter(t).mo
useleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function
(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n
,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):thi
s.off(e,t||"**",n)}});var $n=re.now(),jn=/\?/,Mn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n
]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)
(?:[eE][+-]?\d+|)/g;re.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JS
ON.parse(e+"");var n,i=null,r=re.trim(e+"");return r&&!re.trim(r.replace(Mn,func
tion(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("retur
n "+r)():re.error("Invalid JSON: "+e)},re.parseXML=function(e){var n,i;if(!e||"s
tring"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromStrin
g(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.load
XML(e))}catch(r){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("
parsererror").length||re.error("Invalid XML: "+e),n};var Pn,Ln,In=/#.*$/,Dn=/([?
&])_=[^&]*/,Fn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,zn=/^(?:about|app|app-storage|.+extension|file|res|widget):$/,Rn=/^(?:GET|HEAD)$/,Bn=/^\/\//,Hn=/^([\w.+-]+:)(?:
\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Un={},qn={},Wn="*/".concat("*");try{
Ln=location.href}catch(Yn){Ln=pe.createElement("a"),Ln.href="",Ln=Ln.href}Pn=Hn.
exec(Ln.toLowerCase())||[],re.extend({active:0,lastModified:{},etag:{},ajaxSetti
ngs:{url:Ln,type:"GET",isLocal:zn.test(Pn[1]),global:!0,processData:!0,async:!0,
contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wn,t
ext:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"applicat
ion/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},respons
eFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{
"* text":String,"text html":!0,"text json":re.parseJSON,"text xml":re.parseXML},
flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?B(B(t,re.ajaxS
ettings),e):B(re.ajaxSettings,t)},ajaxPrefilter:z(Un),ajaxTransport:z(qn),ajax:f
unction(t,e){function n(t,e,n,i){var r,l,m,b,y,k=e;2!==v&&(v=2,a&&clearTimeout(a
),u=void 0,s=i||"",w.readyState=t>0?4:0,r=t>=200&&300>t||304===t,n&&(b=H(d,w,n))
,b=U(d,b,w,r),r?(d.ifModified&&(y=w.getResponseHeader("Last-Modified"),y&&(re.la
stModified[o]=y),y=w.getResponseHeader("etag"),y&&(re.etag[o]=y)),204===t||"HEAD
"===d.type?k="nocontent":304===t?k="notmodified":(k=b.state,l=b.data,m=b.error,r
=!m)):(m=k,(t||!k)&&(k="error",0>t&&(t=0))),w.status=t,w.statusText=(e||k)+"",r?
p.resolveWith(h,[l,k,w]):p.rejectWith(h,[w,k,m]),w.statusCode(g),g=void 0,c&&_.t
rigger(r?"ajaxSuccess":"ajaxError",[w,d,r?l:m]),f.fireWith(h,[w,k]),c&&(_.trigge
r("ajaxComplete",[w,d]),--re.active||re.event.trigger("ajaxStop")))}"object"==ty
peof t&&(e=t,t=void 0),e=e||{};var i,r,o,s,a,c,u,l,d=re.ajaxSetup({},e),h=d.cont
ext||d,_=d.context&&(h.nodeType||h.jquery)?re(h):re.event,p=re.Deferred(),f=re.C
allbacks("once memory"),g=d.statusCode||{},m={},b={},v=0,y="canceled",w={readySt
ate:0,getResponseHeader:function(t){var e;if(2===v){if(!l)for(l={};e=Fn.exec(s);
)l[e[1].toLowerCase()]=e[2];e=l[t.toLowerCase()]}return null==e?null:e},getAllRe
sponseHeaders:function(){return 2===v?s:null},setRequestHeader:function(t,e){var
n=t.toLowerCase();return v||(t=b[n]=b[n]||t,m[t]=e),this},overrideMimeType:func
tion(t){return v||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>v)
for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:functi
on(t){var e=t||y;return u&&u.abort(e),n(0,e),this}};if(p.promise(w).complete=f.a
dd,w.success=w.done,w.error=w.fail,d.url=((t||d.url||Ln)+"").replace(In,"").repl
ace(Bn,Pn[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=re.trim
(d.dataType||"*").toLowerCase().match(ve)||[""],null==d.crossDomain&&(i=Hn.exec(

d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===Pn[1]&&i[2]===Pn[2]&&(i[3]||("ht
tp:"===i[1]?"80":"443"))===(Pn[3]||("http:"===Pn[1]?"80":"443")))),d.data&&d.pro
cessData&&"string"!=typeof d.data&&(d.data=re.param(d.data,d.traditional)),R(Un,
d,e,w),2===v)return w;c=d.global,c&&0===re.active++&&re.event.trigger("ajaxStart
"),d.type=d.type.toUpperCase(),d.hasContent=!Rn.test(d.type),o=d.url,d.hasConten
t||(d.data&&(o=d.url+=(jn.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(
d.url=Dn.test(o)?o.replace(Dn,"$1_="+$n++):o+(jn.test(o)?"&":"?")+"_="+$n++)),d.
ifModified&&(re.lastModified[o]&&w.setRequestHeader("If-Modified-Since",re.lastM
odified[o]),re.etag[o]&&w.setRequestHeader("If-None-Match",re.etag[o])),(d.data&
&d.hasContent&&d.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-T
ype",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.data
Types[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Wn+"; q=0.01":"")
:d.accepts["*"]);for(r in d.headers)w.setRequestHeader(r,d.headers[r]);if(d.befo
reSend&&(d.beforeSend.call(h,w,d)===!1||2===v))return w.abort();y="abort";for(r
in{success:1,error:1,complete:1})w[r](d[r]);if(u=R(qn,d,e,w)){w.readyState=1,c&&
_.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(a=setTimeout(function(){w.abo
rt("timeout")},d.timeout));try{v=1,u.send(m,n)}catch(k){if(!(2>v))throw k;n(-1,k
)}}else n(-1,"No Transport");return w},getJSON:function(t,e,n){return re.get(t,e
,n,"json")},getScript:function(t,e){return re.get(t,void 0,e,"script")}}),re.eac
h(["get","post"],function(t,e){re[e]=function(t,n,i,r){return re.isFunction(n)&&
(r=r||i,i=n,n=void 0),re.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),re.
each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"
],function(t,e){re.fn[e]=function(t){return this.on(e,t)}}),re._evalUrl=function
(t){return re.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throw
s":!0})},re.fn.extend({wrapAll:function(t){if(re.isFunction(t))return this.each(
function(e){re(this).wrapAll(t.call(this,e))});if(this[0]){var e=re(t,this[0].ow
nerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(f
unction(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild
;return t}).append(this)}return this},wrapInner:function(t){return this.each(re.
isFunction(t)?function(e){re(this).wrapInner(t.call(this,e))}:function(){var e=r
e(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var
e=re.isFunction(t);return this.each(function(n){re(this).wrapAll(e?t.call(this,
n):t)})},unwrap:function(){return this.parent().each(function(){re.nodeName(this
,"body")||re(this).replaceWith(this.childNodes)}).end()}}),re.expr.filters.hidde
n=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ne.reliableHiddenOffs
ets()&&"none"===(t.style&&t.style.display||re.css(t,"display"))},re.expr.filters
.visible=function(t){return!re.expr.filters.hidden(t)};var Vn=/%20/g,Xn=/\[\]$/,
Gn=/\r?\n/g,Jn=/^(?:submit|button|image|reset|file)$/i,Qn=/^(?:input|select|text
area|keygen)/i;re.param=function(t,e){var n,i=[],r=function(t,e){e=re.isFunction
(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)
};if(void 0===e&&(e=re.ajaxSettings&&re.ajaxSettings.traditional),re.isArray(t)|
|t.jquery&&!re.isPlainObject(t))re.each(t,function(){r(this.name,this.value)});e
lse for(n in t)q(n,t[n],e,r);return i.join("&").replace(Vn,"+")},re.fn.extend({s
erialize:function(){return re.param(this.serializeArray())},serializeArray:funct
ion(){return this.map(function(){var t=re.prop(this,"elements");return t?re.make
Array(t):this}).filter(function(){var t=this.type;return this.name&&!re(this).is
(":disabled")&&Qn.test(this.nodeName)&&!Jn.test(t)&&(this.checked||!Oe.test(t))}
).map(function(t,e){var n=re(this).val();return null==n?null:re.isArray(n)?re.ma
p(n,function(t){return{name:e.name,value:t.replace(Gn,"\r\n")}}):{name:e.name,va
lue:n.replace(Gn,"\r\n")}}).get()}}),re.ajaxSettings.xhr=void 0!==t.ActiveXObjec
t?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(t
his.type)&&W()||Y()}:W;var Kn=0,Zn={},ti=re.ajaxSettings.xhr();t.ActiveXObject&&
re(t).on("unload",function(){for(var t in Zn)Zn[t](void 0,!0)}),ne.cors=!!ti&&"w
ithCredentials"in ti,ti=ne.ajax=!!ti,ti&&re.ajaxTransport(function(t){if(!t.cros
sDomain||ne.cors){var e;return{send:function(n,i){var r,o=t.xhr(),s=++Kn;if(o.op
en(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)
o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeTyp
e),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"
);for(r in n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t
.data||null),e=function(n,r){var a,c,u;if(e&&(r||4===o.readyState))if(delete Zn[

s],e=void 0,o.onreadystatechange=re.noop,r)4!==o.readyState&&o.abort();else{u={}
,a=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{c=o.sta
tusText}catch(l){c=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?20
0:404}u&&i(a,c,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout
(e):o.onreadystatechange=Zn[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),re.a
jaxSetup({accepts:{script:"text/javascript, application/javascript, application/
ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},c
onverters:{"text script":function(t){return re.globalEval(t),t}}}),re.ajaxPrefil
ter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="
GET",t.global=!1)}),re.ajaxTransport("script",function(t){if(t.crossDomain){var
e,n=pe.head||re("head")[0]||pe.documentElement;return{send:function(i,r){e=pe.cr
eateElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.
src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded
|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode
&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.fi
rstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ei=[],ni=/(=)\?(?=&|
$)|\?\?/;re.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ei.pop()|
|re.expando+"_"+$n++;return this[t]=!0,t}}),re.ajaxPrefilter("json jsonp",functi
on(e,n,i){var r,o,s,a=e.jsonp!==!1&&(ni.test(e.url)?"url":"string"==typeof e.dat
a&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(e.
data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=re.isFuncti
on(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ni,"$1
"+r):e.jsonp!==!1&&(e.url+=(jn.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters[
"script json"]=function(){return s||re.error(r+" was not called"),s[0]},e.dataTy
pes[0]="json",o=t[r],t[r]=function(){s=arguments},i.always(function(){t[r]=o,e[r
]&&(e.jsonpCallback=n.jsonpCallback,ei.push(r)),s&&re.isFunction(o)&&o(s[0]),s=o
=void 0}),"script"):void 0}),re.parseHTML=function(t,e,n){if(!t||"string"!=typeo
f t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||pe;var i=de.exec(t),r=!n&&[
];return i?[e.createElement(i[1])]:(i=re.buildFragment([t],e,r),r&&r.length&&re(
r).remove(),re.merge([],i.childNodes))};var ii=re.fn.load;re.fn.load=function(t,
e,n){if("string"!=typeof t&&ii)return ii.apply(this,arguments);var i,r,o,s=this,
a=t.indexOf(" ");return a>=0&&(i=re.trim(t.slice(a,t.length)),t=t.slice(0,a)),re
.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&re.a
jax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i
?re("<div>").append(re.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.ea
ch(n,r||[t.responseText,e,t])}),this},re.expr.filters.animated=function(t){retur
n re.grep(re.timers,function(e){return t===e.elem}).length};var ri=t.document.do
cumentElement;re.offset={setOffset:function(t,e,n){var i,r,o,s,a,c,u,l=re.css(t,
"position"),d=re(t),h={};"static"===l&&(t.style.position="relative"),a=d.offset(
),o=re.css(t,"top"),c=re.css(t,"left"),u=("absolute"===l||"fixed"===l)&&re.inArr
ay("auto",[o,c])>-1,u?(i=d.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=pa
rseFloat(c)||0),re.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.
top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):d.cs
s(h)}},re.fn.extend({offset:function(t){if(arguments.length)return void 0===t?th
is:this.each(function(e){re.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0
},r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,re.contains(e,r
)?(typeof r.getBoundingClientRect!==xe&&(i=r.getBoundingClientRect()),n=V(o),{to
p:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset
||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n
={top:0,left:0},i=this[0];return"fixed"===re.css(i,"position")?e=i.getBoundingCl
ientRect():(t=this.offsetParent(),e=this.offset(),re.nodeName(t[0],"html")||(n=t
.offset()),n.top+=re.css(t[0],"borderTopWidth",!0),n.left+=re.css(t[0],"borderLe
ftWidth",!0)),{top:e.top-n.top-re.css(i,"marginTop",!0),left:e.left-n.left-re.cs
s(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(v
ar t=this.offsetParent||ri;t&&!re.nodeName(t,"html")&&"static"===re.css(t,"posit
ion");)t=t.offsetParent;return t||ri})}}),re.each({scrollLeft:"pageXOffset",scro
llTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);re.fn[t]=function(i){return
Ne(this,function(t,i,r){var o=V(t);return void 0===r?o?e in o?o[e]:o.document.d
ocumentElement[i]:t[i]:void(o?o.scrollTo(n?re(o).scrollLeft():r,n?r:re(o).scroll
Top()):t[i]=r)},t,i,arguments.length,null)}}),re.each(["top","left"],function(t,

e){re.cssHooks[e]=C(ne.pixelPosition,function(t,n){return n?(n=en(t,e),rn.test(n
)?re(t).position()[e]+"px":n):void 0})}),re.each({Height:"height",Width:"width"}
,function(t,e){re.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){
re.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(i=
==!0||r===!0?"margin":"border");return Ne(this,function(e,n,i){var r;return re.i
sWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentEl
ement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t]
,r["client"+t])):void 0===i?re.css(e,n,s):re.style(e,n,i,s)},e,o?i:void 0,o,null
)}})}),re.fn.size=function(){return this.length},re.fn.andSelf=re.fn.addBack,"fu
nction"==typeof define&&define.amd&&define("jquery",[],function(){return re});va
r oi=t.jQuery,si=t.$;return re.noConflict=function(e){return t.$===re&&(t.$=si),
e&&t.jQuery===re&&(t.jQuery=oi),re},typeof e===xe&&(t.jQuery=t.$=re),re});
/* public/javascripts/jquery-migrate-1.2.1.min.js @ 1478902339 */
void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t,e,n){function i(
n){var i=e.console;o[n]||(o[n]=!0,t.migrateWarnings.push(n),i&&i.warn&&!t.migrat
eMute&&(i.warn("JQMIGRATE: "+n),t.migrateTrace&&i.trace&&i.trace()))}function r(
e,r,o,s){if(Object.defineProperty)try{return Object.defineProperty(e,r,{configur
able:!0,enumerable:!0,get:function(){return i(s),o},set:function(t){i(s),o=t}}),
n}catch(a){}t._definePropertyBroken=!0,e[r]=o}var o={};t.migrateWarnings=[],!t.m
igrateMute&&e.console&&e.console.log&&e.console.log("JQMIGRATE: Logging is activ
e"),t.migrateTrace===n&&(t.migrateTrace=!0),t.migrateReset=function(){o={},t.mig
rateWarnings.length=0},"BackCompat"===document.compatMode&&i("jQuery is not comp
atible with Quirks Mode");var s=t("<input/>",{size:1}).attr("size")&&t.attrFn,a=
t.attr,c=t.attrHooks.value&&t.attrHooks.value.get||function(){return null},u=t.a
ttrHooks.value&&t.attrHooks.value.set||function(){return n},l=/^(?:input|button)
$/i,d=/^[238]$/,h=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|
hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,_=/^(?:checked|s
elected)$/i;r(t,"attrFn",s||{},"jQuery.attrFn is deprecated"),t.attr=function(e,
r,o,c){var u=r.toLowerCase(),p=e&&e.nodeType;return c&&(4>a.length&&i("jQuery.fn
.attr( props, pass ) is deprecated"),e&&!d.test(p)&&(s?r in s:t.isFunction(t.fn[
r])))?t(e)[r](o):("type"===r&&o!==n&&l.test(e.nodeName)&&e.parentNode&&i("Can't
change the 'type' of an input or button in IE 6/7/8"),!t.attrHooks[u]&&h.test(u)
&&(t.attrHooks[u]={get:function(e,i){var r,o=t.prop(e,i);return o===!0||"boolean
"!=typeof o&&(r=e.getAttributeNode(i))&&r.nodeValue!==!1?i.toLowerCase():n},set:
function(e,n,i){var r;return n===!1?t.removeAttr(e,i):(r=t.propFix[i]||i,r in e&
&(e[r]=!0),e.setAttribute(i,i.toLowerCase())),i}},_.test(u)&&i("jQuery.fn.attr('
"+u+"') may use property instead of attribute")),a.call(t,e,r,o))},t.attrHooks.v
alue={get:function(t,e){var n=(t.nodeName||"").toLowerCase();return"button"===n?
c.apply(this,arguments):("input"!==n&&"option"!==n&&i("jQuery.fn.attr('value') n
o longer gets properties"),e in t?t.value:null)},set:function(t,e){var r=(t.node
Name||"").toLowerCase();return"button"===r?u.apply(this,arguments):("input"!==r&
&"option"!==r&&i("jQuery.fn.attr('value', val) no longer sets properties"),t.val
ue=e,n)}};var p,f,g=t.fn.init,m=t.parseJSON,b=/^([^<]*)(<[\w\W]+>)([^>]*)$/;t.fn
.init=function(e,n,r){var o;return e&&"string"==typeof e&&!t.isPlainObject(n)&&(
o=b.exec(t.trim(e)))&&o[0]&&("<"!==e.charAt(0)&&i("$(html) HTML strings must sta
rt with '<' character"),o[3]&&i("$(html) HTML text after last tag is ignored"),"
#"===o[0].charAt(0)&&(i("HTML string cannot start with a '#' character"),t.error
("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),t.pars
eHTML)?g.call(this,t.parseHTML(o[2],n,!0),n,r):g.apply(this,arguments)},t.fn.ini
t.prototype=t.fn,t.parseJSON=function(t){return t||null===t?m.apply(this,argumen
ts):(i("jQuery.parseJSON requires a valid JSON string"),null)},t.uaMatch=functio
n(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w
.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.e
xec(t)||0>t.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];r
eturn{browser:e[1]||"",version:e[2]||"0"}},t.browser||(p=t.uaMatch(navigator.use
rAgent),f={},p.browser&&(f[p.browser]=!0,f.version=p.version),f.chrome?f.webkit=
!0:f.webkit&&(f.safari=!0),t.browser=f),r(t,"browser",t.browser,"jQuery.browser
is deprecated"),t.sub=function(){function e(t,n){return new e.fn.init(t,n)}t.ext

end(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.su
b=this.sub,e.fn.init=function(i,r){return r&&r instanceof t&&!(r instanceof e)&&
(r=e(r)),t.fn.init.call(this,i,r,n)},e.fn.init.prototype=e.fn;var n=e(document);
return i("jQuery.sub() is deprecated"),e},t.ajaxSetup({converters:{"text json":t
.parseJSON}});var v=t.fn.data;t.fn.data=function(e){var r,o,s=this[0];return!s||
"events"!==e||1!==arguments.length||(r=t.data(s,e),o=t._data(s,e),r!==n&&r!==o||
o===n)?v.apply(this,arguments):(i("Use of jQuery.fn.data('events') is deprecated
"),o)};var y=/\/(java|ecma)script/i,w=t.fn.andSelf||t.fn.addBack;t.fn.andSelf=fu
nction(){return i("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply
(this,arguments)},t.clean||(t.clean=function(e,r,o,s){r=r||document,r=!r.nodeTyp
e&&r[0]||r,r=r.ownerDocument||r,i("jQuery.clean() is deprecated");var a,c,u,l,d=
[];if(t.merge(d,t.buildFragment(e,r).childNodes),o)for(u=function(t){return!t.ty
pe||y.test(t.type)?s?s.push(t.parentNode?t.parentNode.removeChild(t):t):o.append
Child(t):n},a=0;null!=(c=d[a]);a++)t.nodeName(c,"script")&&u(c)||(o.appendChild(
c),c.getElementsByTagName!==n&&(l=t.grep(t.merge([],c.getElementsByTagName("scri
pt")),u),d.splice.apply(d,[a+1,0].concat(l)),a+=l.length));return d});var k=t.ev
ent.add,x=t.event.remove,S=t.event.trigger,E=t.fn.toggle,C=t.fn.live,T=t.fn.die,
A="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",N=RegExp("\\b
(?:"+A+")\\b"),O=/(?:^|\s)hover(\.\S+|)\b/,$=function(e){return"string"!=typeof
e||t.event.special.hover?e:(O.test(e)&&i("'hover' pseudo-event is deprecated, us
e 'mouseenter mouseleave'"),e&&e.replace(O,"mouseenter$1 mouseleave$1"))};t.even
t.props&&"attrChange"!==t.event.props[0]&&t.event.props.unshift("attrChange","at
trName","relatedNode","srcElement"),t.event.dispatch&&r(t.event,"handle",t.event
.dispatch,"jQuery.event.handle is undocumented and deprecated"),t.event.add=func
tion(t,e,n,r,o){t!==document&&N.test(e)&&i("AJAX events should be attached to do
cument: "+e),k.call(this,t,$(e||""),n,r,o)},t.event.remove=function(t,e,n,i,r){x
.call(this,t,$(e)||"",n,i,r)},t.fn.error=function(){var t=Array.prototype.slice.
call(arguments,0);return i("jQuery.fn.error() is deprecated"),t.splice(0,0,"erro
r"),arguments.length?this.bind.apply(this,t):(this.triggerHandler.apply(this,t),
this)},t.fn.toggle=function(e,n){if(!t.isFunction(e)||!t.isFunction(n))return E.
apply(this,arguments);i("jQuery.fn.toggle(handler, handler...) is deprecated");v
ar r=arguments,o=e.guid||t.guid++,s=0,a=function(n){var i=(t._data(this,"lastTog
gle"+e.guid)||0)%s;return t._data(this,"lastToggle"+e.guid,i+1),n.preventDefault
(),r[i].apply(this,arguments)||!1};for(a.guid=o;r.length>s;)r[s++].guid=o;return
this.click(a)},t.fn.live=function(e,n,r){return i("jQuery.fn.live() is deprecat
ed"),C?C.apply(this,arguments):(t(this.context).on(e,this.selector,n,r),this)},t
.fn.die=function(e,n){return i("jQuery.fn.die() is deprecated"),T?T.apply(this,a
rguments):(t(this.context).off(e,this.selector||"**",n),this)},t.event.trigger=f
unction(t,e,n,r){return n||N.test(t)||i("Global events are undocumented and depr
ecated"),S.call(this,t,e,n||document,r)},t.each(A.split("|"),function(e,n){t.eve
nt.special[n]={setup:function(){var e=this;return e!==document&&(t.event.add(doc
ument,n+"."+t.guid,function(){t.event.trigger(n,null,e,!0)}),t._data(this,n,t.gu
id++)),!1},teardown:function(){return this!==document&&t.event.remove(document,n
+"."+t._data(this,n)),!1}}})}(jQuery,window);
/* public/javascripts/jquery.bbq.js @ 1478902339 */
/*!
* jQuery BBQ: Back Button & Query Library - v1.3pre - 8/26/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Copyright (c) 2010 "Cowboy" Ben Alman,
!function(t){"$:nomunge";function e(t){return"string"==typeof t}function n(t){va
r e=w.call(arguments,1);return function(){return t.apply(this,e.concat(w.call(ar
guments)))}}function i(t){return t.replace(m,"$2")}function r(t){return t.replac
e(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function o(n,i,r,o,s){var a,l,h,_,p;return

o!==c?(h=r.match(n?m:/^([^#?]*)\??([^#]*)(#?.*)/),p=h[3]||"",2===s&&e(o)?l=o.rep
lace(n?g:j,""):(_=d(h[2]),o=e(o)?d[n?A:T](o):o,l=2===s?o:1===s?t.extend({},o,_):
t.extend({},_,o),l=u(l),n&&(l=l.replace(b,k))),a=h[1]+(n?y:l||!h[1]?"?":"")+l+p)
:a=i(r!==c?r:location.href),a}function s(t,n,i){return n===c||"boolean"==typeof
n?(i=n,n=x[t?A:T]()):n=e(n)?n.replace(t?g:j,""):n,d(n,i)}function a(n,i,r,o){ret
urn e(r)||"object"==typeof r||(o=r,r=i,i=c),this.each(function(){var e=t(this),s
=i||f()[(this.nodeName||"").toLowerCase()]||"",a=s&&e.attr(s)||"";e.attr(s,x[n](
a,r,o))})}var c,u,l,d,h,_,p,f,g,m,b,v,y,w=Array.prototype.slice,k=decodeURICompo
nent,x=t.param,S=t.bbq=t.bbq||{},E=t.event.special,C="hashchange",T="querystring
",A="fragment",N="elemUrlAttr",O="href",$="src",j=/^.*\?|#.*$/g,M={};x[T]=n(o,0,
r),x[A]=l=n(o,1,i),x.sorted=u=function(e,n){var i=[],r={};return t.each(x(e,n).s
plit("&"),function(t,e){var n=e.replace(/(?:%5B|=).*$/,""),o=r[n];o||(o=r[n]=[],
i.push(n)),o.push(e)}),t.map(i.sort(),function(t){return r[t]}).join("&")},l.noE
scape=function(e){e=e||"";var n=t.map(e.split(""),encodeURIComponent);b=new RegE
xp(n.join("|"),"g")},l.noEscape(",/"),l.ajaxCrawlable=function(t){return t!==c&&
(t?(g=/^.*(?:#!|#)/,m=/^([^#]*)(?:#!|#)?(.*)$/,y="#!"):(g=/^.*#/,m=/^([^#]*)#?(.
*)$/,y="#"),v=!!t),v},l.ajaxCrawlable(0),t.deparam=d=function(e,n){var i={},r={"
true":!0,"false":!1,"null":null};return t.each(e.replace(/\+/g," ").split("&"),f
unction(e,o){var s,a=o.split("="),u=k(a[0]),l=i,d=0,h=u.split("]["),_=h.length-1
;if(/\[/.test(h[0])&&/\]$/.test(h[_])?(h[_]=h[_].replace(/\]$/,""),h=h.shift().s
plit("[").concat(h),_=h.length-1):_=0,2===a.length)if(s=k(a[1]),n&&(s=s&&!isNaN(
s)?+s:"undefined"===s?c:r[s]!==c?r[s]:s),_)for(;_>=d;d++)u=""===h[d]?l.length:h[
d],l=l[u]=_>d?l[u]||(h[d+1]&&isNaN(h[d+1])?{}:[]):s;else t.isArray(i[u])?i[u].pu
sh(s):i[u]=i[u]!==c?[i[u],s]:s;else u&&(i[u]=n?c:"")}),i},d[T]=n(s,0),d[A]=h=n(s
,1),t[N]||(t[N]=function(e){return t.extend(M,e)})({a:O,base:O,iframe:$,img:$,in
put:$,form:"action",link:O,script:$}),f=t[N],t.fn[T]=n(a,T),t.fn[A]=n(a,A),S.pus
hState=_=function(t,n){e(t)&&/^#/.test(t)&&n===c&&(n=2);var i=t!==c,r=l(location
.href,i?t:{},i?n:2);location.href=r},S.getState=p=function(t,e){return t===c||"b
oolean"==typeof t?h(t):h(e)[t]},S.removeState=function(e){var n={};e!==c&&(n=p()
,t.each(t.isArray(e)?e:arguments,function(t,e){delete n[e]})),_(n,2)},E[C]=t.ext
end(E[C],{add:function(e){function n(t){var e=t[A]=l();t.getState=function(t,n){
return t===c||"boolean"==typeof t?d(e,t):d(e,n)[t]},i.apply(this,arguments)}var
i;return t.isFunction(e)?(i=e,n):(i=e.handler,void(e.handler=n))}})}(jQuery,this
),/*!
* jQuery hashchange event - v1.3 - 7/21/2010
* http://benalman.com/projects/jquery-hashchange-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Copyright (c) 2010 "Cowboy" Ben Alman,
function(t,e,n){"$:nomunge";function i(t){return t=t||location.href,"#"+t.replac
e(/^[^#]*#?(.*)$/,"$1")}var r,o="hashchange",s=document,a=t.event.special,c=s.do
cumentMode,u="on"+o in e&&(c===n||c>7);t.fn[o]=function(t){return t?this.bind(o,
t):this.trigger(o)},t.fn[o].delay=50,a[o]=t.extend(a[o],{setup:function(){return
u?!1:void t(r.start)},teardown:function(){return u?!1:void t(r.stop)}}),r=funct
ion(){function r(){var n=i(),s=_(l);n!==l?(h(l=n,s),t(e).trigger(o)):s!==l&&(loc
ation.href=location.href.replace(/#.*/,"")+s),a=setTimeout(r,t.fn[o].delay)}var
a,c={},l=i(),d=function(t){return t},h=d,_=d;return c.start=function(){a||r()},c
.stop=function(){a&&clearTimeout(a),a=n},navigator.userAgent.indexOf("MSIE")>0&&
!u&&function(){var e,n;c.start=function(){e||(n=t.fn[o].src,n=n&&n+i(),e=t('<ifr
ame tabindex="-1" title="empty"/>').hide().one("load",function(){n||h(i()),r()})
.attr("src",n||"javascript:0").insertAfter("body")[0].contentWindow,s.onproperty
change=function(){try{"title"===event.propertyName&&(e.document.title=s.title)}c
atch(t){}})},c.stop=d,_=function(){return i(e.location.href)},h=function(n,i){va
r r=e.document,a=t.fn[o].domain;n!==i&&(r.title=s.title,r.open(),a&&r.write('<sc
ript>document.domain="'+a+'"</script>'),r.close(),e.location.hash=n)}}(),c}()}(j
Query,this);

/* public/javascripts/rat.js @ 1478902339 */
var RAT_API_VERSION="2",ratInit=function(){function t(t,e){return Math.floor(Mat
h.random()*(e-t+1))+t}function e(e,n){var i=document.getElementsByTagName("head"
)[0],r=document.createElement("script"),o="jsonp"+t(0,1e6);window[o]=function(t)
{n(t[0]),window[o]=void 0};var s=e.replace(/(.*\?.*)(\?)/,"$1"+o);return r.src=s
,r.async=!0,r.defer="defer",i.appendChild(r),r}function n(){return(new Date).get
Time()/1e3}function i(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var i=t
[n];void 0===i&&(i=null),i=c.encode(JSON.stringify(i)),e.push(n+"="+encodeURICom
ponent(i))}return e.join("&")}function r(t,e,n){t.addEventListener?t.addEventLis
tener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,n)}function o(t,e,n){t.removeE
ventListener?t.removeEventListener(e,n,!1):t.detachEvent&&t.detachEvent("on"+e,n
)}function s(t,e){this.hosts=t,this.es=[],this.vs=[],this.ts=[],this.otherData=e
,this._flushTimeoutId=null,this.lastPing=null,this.numPings=0,this.dhost=this._r
andHost()+RAT_API_VERSION+"/"}function a(t,e){function n(n,i){e&&(n=e+"."+n),t.l
ogEvent(n,i)}return n.logEvent=n,n.parent=t,n.root=function(){return t.root()},n
.disable=function(){t.disable()},n.disabled=function(){return t.disabled()},n.s=
function(t){return a(n,t)},n.o=function(t,e,i,s,a){function c(){l||(l=!0)}functi
on u(r){r||(r=window.event),n.logEvent(i instanceof Function?i.call(this,r):i),o
(t,e,u),s-=1,(-1==s||s>0)&&setTimeout(function(){c()},a)}if(s=s||-1,a=a||1e3,!n.
disabled()){var l=!1;l=!0;r(t,e,u)}},n}Array.prototype.map||(Array.prototype.map
=function(t,e){var n,i,r;if(null==this)throw new TypeError(" this is null or not
defined");var o=Object(this),s=o.length>>>0;if("function"!=typeof t)throw new T
ypeError(t+" is not a function");for(e&&(n=e),i=new Array(s),r=0;s>r;){var a,c;r
in o&&(a=o[r],c=t.call(n,a,r,o),i[r]=c),r++}return i});var c={_keyStr:"ABCDEFGH
IJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(t){va
r e,n,i,r,o,s,a,u="",l=0;for(t=c._utf8_encode(t);l<t.length;)e=t.charCodeAt(l++)
,n=t.charCodeAt(l++),i=t.charCodeAt(l++),r=e>>2,o=(3&e)<<4|n>>4,s=(15&n)<<2|i>>6
,a=63&i,isNaN(n)?s=a=64:isNaN(i)&&(a=64),u=u+this._keyStr.charAt(r)+this._keyStr
.charAt(o)+this._keyStr.charAt(s)+this._keyStr.charAt(a);return u},_utf8_encode:
function(t){t=t.replace(/\r\n/g,"\n");for(var e="",n=0;n<t.length;n++){var i=t.c
harCodeAt(n);128>i?e+=String.fromCharCode(i):i>127&&2048>i?(e+=String.fromCharCo
de(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224
),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e
}};return s.prototype.start=function(){function t(){s._unloaded||(s._unloaded=!0
,e.lps&&(e.lps.parentElement.removeChild(e.lps),delete e.lps,e.lps=null),e.logEv
ent("dom.window.beforeunload"),e.flushEvents(!0))}var e=this;s._unloaded=!1,this
._getVid(),r(window,"load",function(){e.docLoaded=!0}),this.unloadf=t,r(window,"
beforeunload",t),r(window,"unload",t)},s.prototype._getVid=function(t,r,o,s){if(
!this.disabled()){var a=s||this.dhost+"getvid.jsonp?callback=?&"+i({l:location.h
ref,r:document.referrer||document.referer||null,ea:this.otherData,ubtc:this._get
UBTC()}),c=this;o=o||0,r=(r||9)-1,e(a,function(e){if("success"!=e.status)return
void(r>o?setTimeout(function(){c._getVid(t,r,o+1,a)},1e3*Math.pow(2,o)):c.disabl
e());if(c.vid=e.vid,c.lastFlushed=n(),c._setupPing(),c.logTimeoutLen=e.logTimeou
tLen,c._onGetVid){for(var i=0;i<c._onGetVid.length;i++)c._onGetVid[i](c.vid);del
ete c._onGetVid}t&&t(c.vid)})}},s.prototype._setupPing=function(){function t(){e
.lastPing=n(),e.numPings+=1,e._pingSetup=!1,e._startFlushTimeout(),o(document,"m
ousemove",t),setTimeout(function(){e._setupPing()},1e3)}if(!this.disabled()&&!th
is._pingSetup){this._pingSetup=!0;var e=this;r(document,"mousemove",t)}},s.proto
type._resetBuffers=function(){this.es=[],this.ts=[],this.vs=[],this.lastFlushed=
this.lastPing,this.lastPing=null,this.numPings=0,this._clearFlushTimeout()},s.pr
ototype._getUBTC=function(){return this._ubtc=null!=$.parseQuery?this._ubtc||$.p
arseQuery(document.cookie.replace(/; */g,"&")).scribd_ubtc:this._ubtc||document.
cookie.replace(/; */g,"&").parseQuery().scribd_ubtc,this._ubtc},s.prototype.flus
hEvents=function(e,r){var o=this;if(!this.disabled()){if(!this.vid)return void t
his.withVid(function(){o.flushEvents()});"function"==typeof Scribd.log&&(title=t
his.es.join(" | "),Scribd.log("$rat.parent.es: "+title),Scribd.log("$rat.parent.
vs: "+this.vs.map(function(t){return JSON.stringify(t)}).join(" | ")));var s=i({
es:this.es,ts:this.ts,vs:this.vs,n:n(),lp:this.lastPing,np:this.numPings,ubtc:th
is._getUBTC()});this._resetBuffers();var o=this;if(e){var a=new Image;a.src=this

.dhost+this.vid+"/de.png?rand="+t(0,1e5)+"&"+s,document.body.appendChild(a)}else
this._flushRawEvents(this.dhost+this.vid+"/de.jsonp?callback=?&"+s,r)}},s.proto
type._flushRawEvents=function(t,n,i,r){if(!this.disabled()){var o=this;r=r||0,i=
(i||9)-1,e(t,function(e){"success"==e.status?n&&n():i>r?setTimeout(function(){o.
_flushRawEvents(t,n,i,r+1)},1e3*Math.pow(2,r)):o.disable()})}},s.prototype.logEv
ent=function(t,e){if(("undefined"!=typeof Scribd&&null!==Scribd?Scribd.logging_e
nabled:void 0)&&(console.log("%crats:","background-image: -webkit-gradient( line
ar, left top, right top, color-stop(0.0, #ED9C33), color-stop(1.0, #ED337C)); co
lor:transparent; font-weight: bold; -webkit-background-clip: text; font-size: 15
0%;",t,e),$(document.body).trigger("scribd:rats_event",[t,e])),!this.disabled())
{var i=n();this.lastPing=i,e=e||null,this.es.push(t),this.vs.push(e),this.ts.pus
h(i),this._startFlushTimeout()}},s.prototype.l=s.prototype.logEvent,s.prototype.
_startFlushTimeout=function(){if(!this.disabled()){if(this.es.length>=10){var t=
this;return void this.flushEvents(!1,function(){t._setupPing()})}if(null===this.
_flushTimeoutId&&this.logTimeoutLen){var t=this;this._flushTimeoutId=window.setT
imeout(function(){t.flushEvents(!1,function(){t._setupPing()})},this._getTimeout
Len())}}},s.prototype._getTimeoutLen=function(){return this.logTimeoutLen-1e3*(n
()-this.lastFlushed)},s.prototype._clearFlushTimeout=function(){null!==this._flu
shTimeoutId&&(window.clearTimeout(this._flushTimeoutId),this._flushTimeoutId=nul
l)},s.prototype._randHost=function(e){return e=e||"",this.hosts[t(0,this.hosts.l
ength-1)]+e},s.prototype.disable=function(){this._disabled=!0,this.unloadf&&(o(w
indow,"beforeunload",this.unloadf),o(window,"unload",this.unloadf))},s.prototype
.disabled=function(){return this._disabled},s.prototype.root=function(){return t
his},s.prototype.withVid=function(t){return this.vid?t(this.vid):void(this._onGe
tVid=this._onGetVid||[]).push(t)},function(t,e,n){var i=new s(t,e);return n?i.di
sable():i.start(),a(i)}}();
/* public/javascripts/json2.js @ 1478902339 */
var JSON;JSON||(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t
:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replac
e(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t
.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,i
,r,o,s,a=gap,c=e[t];switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(
c=c.toJSON(t)),"function"==typeof rep&&(c=rep.call(e,t,c)),typeof c){case"string
":return quote(c);case"number":return isFinite(c)?String(c):"null";case"boolean"
:case"null":return String(c);case"object":if(!c)return"null";if(gap+=indent,s=[]
,"[object Array]"===Object.prototype.toString.apply(c)){for(o=c.length,n=0;o>n;n
+=1)s[n]=str(n,c)||"null";return r=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+
gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,r}if(rep&&"object"==typeof rep)for(o=r
ep.length,n=0;o>n;n+=1)"string"==typeof rep[n]&&(i=rep[n],r=str(i,c),r&&s.push(q
uote(i)+(gap?": ":":")+r));else for(i in c)Object.prototype.hasOwnProperty.call(
c,i)&&(r=str(i,c),r&&s.push(quote(i)+(gap?": ":":")+r));return r=0===s.length?"{
}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,r}}"func
tion"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return is
Finite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(t
his.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(th
is.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Bo
olean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\
u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff
0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u1
7b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta
={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},
rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var i;if(
gap="",indent="","number"==typeof n)for(i=0;n>i;i+=1)indent+=" ";else"string"==t
ypeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"numb
er"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),
"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(
t,e){var n,i,r=t[e];if(r&&"object"==typeof r)for(n in r)Object.prototype.hasOwnP
roperty.call(r,n)&&(i=walk(r,n),void 0!==i?r[n]=i:delete r[n]);return reviver.ca

ll(t,e,r)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.re
place(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)
})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")
.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]")
.replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typ
eof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
/* public/javascripts/underscore.js @ 1478902339 */
(function(){var t=this,e=t._,n={},i=Array.prototype,r=Object.prototype,o=Functio
n.prototype,s=i.push,a=i.slice,c=i.concat,u=r.toString,l=r.hasOwnProperty,d=i.fo
rEach,h=i.map,_=i.reduce,p=i.reduceRight,f=i.filter,g=i.every,m=i.some,b=i.index
Of,v=i.lastIndexOf,y=Array.isArray,w=Object.keys,k=o.bind,x=function(t){return t
instanceof x?t:this instanceof x?void(this._wrapped=t):new x(t)};"undefined"!=t
ypeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.expor
ts=x),exports._=x):t._=x,x.VERSION="1.4.4";var S=x.each=x.forEach=function(t,e,i
){if(null!=t)if(d&&t.forEach===d)t.forEach(e,i);else if(t.length===+t.length){fo
r(var r=0,o=t.length;o>r;r++)if(e.call(i,t[r],r,t)===n)return}else for(var s in
t)if(x.has(t,s)&&e.call(i,t[s],s,t)===n)return};x.map=x.collect=function(t,e,n){
var i=[];return null==t?i:h&&t.map===h?t.map(e,n):(S(t,function(t,r,o){i[i.lengt
h]=e.call(n,t,r,o)}),i)};var E="Reduce of empty array with no initial value";x.r
educe=x.foldl=x.inject=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t
=[]),_&&t.reduce===_)return i&&(e=x.bind(e,i)),r?t.reduce(e,n):t.reduce(e);if(S(
t,function(t,o,s){r?n=e.call(i,n,t,o,s):(n=t,r=!0)}),!r)throw new TypeError(E);r
eturn n},x.reduceRight=x.foldr=function(t,e,n,i){var r=arguments.length>2;if(nul
l==t&&(t=[]),p&&t.reduceRight===p)return i&&(e=x.bind(e,i)),r?t.reduceRight(e,n)
:t.reduceRight(e);var o=t.length;if(o!==+o){var s=x.keys(t);o=s.length}if(S(t,fu
nction(a,c,u){c=s?s[--o]:--o,r?n=e.call(i,n,t[c],c,u):(n=t[c],r=!0)}),!r)throw n
ew TypeError(E);return n},x.find=x.detect=function(t,e,n){var i;return C(t,funct
ion(t,r,o){return e.call(n,t,r,o)?(i=t,!0):void 0}),i},x.filter=x.select=functio
n(t,e,n){var i=[];return null==t?i:f&&t.filter===f?t.filter(e,n):(S(t,function(t
,r,o){e.call(n,t,r,o)&&(i[i.length]=t)}),i)},x.reject=function(t,e,n){return x.f
ilter(t,function(t,i,r){return!e.call(n,t,i,r)},n)},x.every=x.all=function(t,e,i
){e||(e=x.identity);var r=!0;return null==t?r:g&&t.every===g?t.every(e,i):(S(t,f
unction(t,o,s){return(r=r&&e.call(i,t,o,s))?void 0:n}),!!r)};var C=x.some=x.any=
function(t,e,i){e||(e=x.identity);var r=!1;return null==t?r:m&&t.some===m?t.some
(e,i):(S(t,function(t,o,s){return r||(r=e.call(i,t,o,s))?n:void 0}),!!r)};x.cont
ains=x.include=function(t,e){return null==t?!1:b&&t.indexOf===b?-1!=t.indexOf(e)
:C(t,function(t){return t===e})},x.invoke=function(t,e){var n=a.call(arguments,2
),i=x.isFunction(e);return x.map(t,function(t){return(i?e:t[e]).apply(t,n)})},x.
pluck=function(t,e){return x.map(t,function(t){return t[e]})},x.where=function(t
,e,n){return x.isEmpty(e)?n?null:[]:x[n?"find":"filter"](t,function(t){for(var n
in e)if(e[n]!==t[n])return!1;return!0})},x.findWhere=function(t,e){return x.whe
re(t,e,!0)},x.max=function(t,e,n){if(!e&&x.isArray(t)&&t[0]===+t[0]&&t.length<65
535)return Math.max.apply(Math,t);if(!e&&x.isEmpty(t))return-1/0;var i={computed
:-1/0,value:-1/0};return S(t,function(t,r,o){var s=e?e.call(n,t,r,o):t;s>=i.comp
uted&&(i={value:t,computed:s})}),i.value},x.min=function(t,e,n){if(!e&&x.isArray
(t)&&t[0]===+t[0]&&t.length<65535)return Math.min.apply(Math,t);if(!e&&x.isEmpty
(t))return 1/0;var i={computed:1/0,value:1/0};return S(t,function(t,r,o){var s=e
?e.call(n,t,r,o):t;s<i.computed&&(i={value:t,computed:s})}),i.value},x.shuffle=f
unction(t){var e,n=0,i=[];return S(t,function(t){e=x.random(n++),i[n-1]=i[e],i[e
]=t}),i};var T=function(t){return x.isFunction(t)?t:function(e){return e[t]}};x.
sortBy=function(t,e,n){var i=T(e);return x.pluck(x.map(t,function(t,e,r){return{
value:t,index:e,criteria:i.call(n,t,e,r)}}).sort(function(t,e){var n=t.criteria,
i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}r
eturn t.index<e.index?-1:1}),"value")};var A=function(t,e,n,i){var r={},o=T(e||x
.identity);return S(t,function(e,s){var a=o.call(n,e,s,t);i(r,a,e)}),r};x.groupB
y=function(t,e,n){return A(t,e,n,function(t,e,n){(x.has(t,e)?t[e]:t[e]=[]).push(
n)})},x.countBy=function(t,e,n){return A(t,e,n,function(t,e){x.has(t,e)||(t[e]=0
),t[e]++})},x.sortedIndex=function(t,e,n,i){n=null==n?x.identity:T(n);for(var r=

n.call(i,e),o=0,s=t.length;s>o;){var a=o+s>>>1;n.call(i,t[a])<r?o=a+1:s=a}return
o},x.toArray=function(t){return t?x.isArray(t)?a.call(t):t.length===+t.length?x
.map(t,x.identity):x.values(t):[]},x.size=function(t){return null==t?0:t.length=
==+t.length?t.length:x.keys(t).length},x.first=x.head=x.take=function(t,e,n){ret
urn null==t?void 0:null==e||n?t[0]:a.call(t,0,e)},x.initial=function(t,e,n){retu
rn a.call(t,0,t.length-(null==e||n?1:e))},x.last=function(t,e,n){return null==t?
void 0:null==e||n?t[t.length-1]:a.call(t,Math.max(t.length-e,0))},x.rest=x.tail=
x.drop=function(t,e,n){return a.call(t,null==e||n?1:e)},x.compact=function(t){re
turn x.filter(t,x.identity)};var N=function(t,e,n){return S(t,function(t){x.isAr
ray(t)?e?s.apply(n,t):N(t,e,n):n.push(t)}),n};x.flatten=function(t,e){return N(t
,e,[])},x.without=function(t){return x.difference(t,a.call(arguments,1))},x.uniq
=x.unique=function(t,e,n,i){x.isFunction(e)&&(i=n,n=e,e=!1);var r=n?x.map(t,n,i)
:t,o=[],s=[];return S(r,function(n,i){(e?i&&s[s.length-1]===n:x.contains(s,n))||
(s.push(n),o.push(t[i]))}),o},x.union=function(){return x.uniq(c.apply(i,argumen
ts))},x.intersection=function(t){var e=a.call(arguments,1);return x.filter(x.uni
q(t),function(t){return x.every(e,function(e){return x.indexOf(e,t)>=0})})},x.di
fference=function(t){var e=c.apply(i,a.call(arguments,1));return x.filter(t,func
tion(t){return!x.contains(e,t)})},x.zip=function(){for(var t=a.call(arguments),e
=x.max(x.pluck(t,"length")),n=new Array(e),i=0;e>i;i++)n[i]=x.pluck(t,""+i);retu
rn n},x.object=function(t,e){if(null==t)return{};for(var n={},i=0,r=t.length;r>i
;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},x.indexOf=function(t,e,n){if(nu
ll==t)return-1;var i=0,r=t.length;if(n){if("number"!=typeof n)return i=x.sortedI
ndex(t,e),t[i]===e?i:-1;i=0>n?Math.max(0,r+n):n}if(b&&t.indexOf===b)return t.ind
exOf(e,n);for(;r>i;i++)if(t[i]===e)return i;return-1},x.lastIndexOf=function(t,e
,n){if(null==t)return-1;var i=null!=n;if(v&&t.lastIndexOf===v)return i?t.lastInd
exOf(e,n):t.lastIndexOf(e);for(var r=i?n:t.length;r--;)if(t[r]===e)return r;retu
rn-1},x.range=function(t,e,n){arguments.length<=1&&(e=t||0,t=0),n=arguments[2]||
1;for(var i=Math.max(Math.ceil((e-t)/n),0),r=0,o=new Array(i);i>r;)o[r++]=t,t+=n
;return o},x.bind=function(t,e){if(t.bind===k&&k)return k.apply(t,a.call(argumen
ts,1));var n=a.call(arguments,2);return function(){return t.apply(e,n.concat(a.c
all(arguments)))}},x.partial=function(t){var e=a.call(arguments,1);return functi
on(){return t.apply(this,e.concat(a.call(arguments)))}},x.bindAll=function(t){va
r e=a.call(arguments,1);return 0===e.length&&(e=x.functions(t)),S(e,function(e){
t[e]=x.bind(t[e],t)}),t},x.memoize=function(t,e){var n={};return e||(e=x.identit
y),function(){var i=e.apply(this,arguments);return x.has(n,i)?n[i]:n[i]=t.apply(
this,arguments)}},x.delay=function(t,e){var n=a.call(arguments,2);return setTime
out(function(){return t.apply(null,n)},e)},x.defer=function(t){return x.delay.ap
ply(x,[t,1].concat(a.call(arguments,1)))},x.throttle=function(t,e,n){var i,r,o,s
=null,a=0;n||(n={});var c=function(){a=new Date,s=null,o=t.apply(i,r)};return fu
nction(){var u=new Date;a||n.leading!==!1||(a=u);var l=e-(u-a);return i=this,r=a
rguments,0>=l?(clearTimeout(s),s=null,a=u,o=t.apply(i,r)):s||n.trailing===!1||(s
=setTimeout(c,l)),o}},x.debounce=function(t,e,n){var i,r;return function(){var o
=this,s=arguments,a=function(){i=null,n||(r=t.apply(o,s))},c=n&&!i;return clearT
imeout(i),i=setTimeout(a,e),c&&(r=t.apply(o,s)),r}},x.once=function(t){var e,n=!
1;return function(){return n?e:(n=!0,e=t.apply(this,arguments),t=null,e)}},x.wra
p=function(t,e){return function(){var n=[t];return s.apply(n,arguments),e.apply(
this,n)}},x.compose=function(){var t=arguments;return function(){for(var e=argum
ents,n=t.length-1;n>=0;n--)e=[t[n].apply(this,e)];return e[0]}},x.after=function
(t,e){return 0>=t?e():function(){return--t<1?e.apply(this,arguments):void 0}},x.
keys=w||function(t){if(t!==Object(t))throw new TypeError("Invalid object");var e
=[];for(var n in t)x.has(t,n)&&(e[e.length]=n);return e},x.values=function(t){va
r e=[];for(var n in t)x.has(t,n)&&e.push(t[n]);return e},x.pairs=function(t){var
e=[];for(var n in t)x.has(t,n)&&e.push([n,t[n]]);return e},x.invert=function(t)
{var e={};for(var n in t)x.has(t,n)&&(e[t[n]]=n);return e},x.functions=x.methods
=function(t){var e=[];for(var n in t)x.isFunction(t[n])&&e.push(n);return e.sort
()},x.extend=function(t){return S(a.call(arguments,1),function(e){if(e)for(var n
in e)t[n]=e[n]}),t},x.pick=function(t){var e={},n=c.apply(i,a.call(arguments,1)
);return S(n,function(n){n in t&&(e[n]=t[n])}),e},x.omit=function(t){var e={},n=
c.apply(i,a.call(arguments,1));for(var r in t)x.contains(n,r)||(e[r]=t[r]);retur
n e},x.defaults=function(t){return S(a.call(arguments,1),function(e){if(e)for(va

r n in e)null==t[n]&&(t[n]=e[n])}),t},x.clone=function(t){return x.isObject(t)?x
.isArray(t)?t.slice():x.extend({},t):t},x.tap=function(t,e){return e(t),t};var O
=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t=
==e;t instanceof x&&(t=t._wrapped),e instanceof x&&(e=e._wrapped);var r=u.call(t
);if(r!=u.call(e))return!1;switch(r){case"[object String]":return t==String(e);c
ase"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":
case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.sou
rce&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if
("object"!=typeof t||"object"!=typeof e)return!1;for(var o=n.length;o--;)if(n[o]
==t)return i[o]==e;n.push(t),i.push(e);var s=0,a=!0;if("[object Array]"==r){if(s
=t.length,a=s==e.length)for(;s--&&(a=O(t[s],e[s],n,i)););}else{var c=t.construct
or,l=e.constructor;if(c!==l&&!(x.isFunction(c)&&c instanceof c&&x.isFunction(l)&
&l instanceof l))return!1;for(var d in t)if(x.has(t,d)&&(s++,!(a=x.has(e,d)&&O(t
[d],e[d],n,i))))break;if(a){for(d in e)if(x.has(e,d)&&!s--)break;a=!s}}return n.
pop(),i.pop(),a};x.isEqual=function(t,e){return O(t,e,[],[])},x.isEmpty=function
(t){if(null==t)return!0;if(x.isArray(t)||x.isString(t))return 0===t.length;for(v
ar e in t)if(x.has(t,e))return!1;return!0},x.isElement=function(t){return!(!t||1
!==t.nodeType)},x.isArray=y||function(t){return"[object Array]"==u.call(t)},x.is
Object=function(t){return t===Object(t)},S(["Arguments","Function","String","Num
ber","Date","RegExp"],function(t){x["is"+t]=function(e){return u.call(e)=="[obje
ct "+t+"]"}}),x.isArguments(arguments)||(x.isArguments=function(t){return!(!t||!
x.has(t,"callee"))}),"function"!=typeof/./&&(x.isFunction=function(t){return"fun
ction"==typeof t}),x.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(
t))},x.isNaN=function(t){return x.isNumber(t)&&t!=+t},x.isBoolean=function(t){re
turn t===!0||t===!1||"[object Boolean]"==u.call(t)},x.isNull=function(t){return
null===t},x.isUndefined=function(t){return void 0===t},x.has=function(t,e){retur
n l.call(t,e)},x.noConflict=function(){return t._=e,this},x.identity=function(t)
{return t},x.times=function(t,e,n){for(var i=Array(t),r=0;t>r;r++)i[r]=e.call(n,
r);return i},x.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.
random()*(e-t+1))};var $={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"
,"'":"&#x27;","/":"&#x2F;"}};$.unescape=x.invert($.escape);var j={escape:new Reg
Exp("["+x.keys($.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys($.unes
cape).join("|")+")","g")};x.each(["escape","unescape"],function(t){x[t]=function
(e){return null==e?"":(""+e).replace(j[t],function(e){return $[t][e]})}}),x.resu
lt=function(t,e){if(null==t)return null;var n=t[e];return x.isFunction(n)?n.call
(t):n},x.mixin=function(t){S(x.functions(t),function(e){var n=x[e]=t[e];x.protot
ype[e]=function(){var t=[this._wrapped];return s.apply(t,arguments),D.call(this,
n.apply(x,t))}})};var M=0;x.uniqueId=function(t){var e=++M+"";return t?t+e:e},x.
templateSettings={escape:/\{\{(?![&])(.+?)\}\}/g,interpolate:/\{\{&(.+?)\}\}/g,e
valuate:/\{\[(?![&])(.+?)\]\}/g};var P=/(.)^/,L={"'":"'","\\":"\\","\r":"r","\n"
:"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},I=/\\|'|\r|\n|\t|\u2028|\u2029/
g;x.template=function(t,e,n){var i;n=x.defaults({},n,x.templateSettings);var r=n
ew RegExp([(n.escape||P).source,(n.interpolate||P).source,(n.evaluate||P).source
].join("|")+"|$","g"),o=0,s="__p+='";t.replace(r,function(e,n,i,r,a){return s+=t
.slice(o,a).replace(I,function(t){return"\\"+L[t]}),n&&(s+="'+\n((__t=("+n+"))==
null?'':_.escape(__t))+\n'"),i&&(s+="'+\n((__t=("+i+"))==null?'':__t)+\n'"),r&&(
s+="';\n"+r+"\n__p+='"),o=a+e.length,e}),s+="';\n",n.variable||(s="with(obj||{})
{\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=_
_j.call(arguments,'');};\n"+s+"return __p;\n";try{i=new Function(n.variable||"ob
j","_",s)}catch(a){throw a.source=s,a}if(e)return i(e,x);var c=function(t){retur
n i.call(this,t,x)};return c.source="function("+(n.variable||"obj")+"){\n"+s+"}"
,c},x.chain=function(t){return x(t).chain()};var D=function(t){return this._chai
n?x(t).chain():t};x.mixin(x),S(["pop","push","reverse","shift","sort","splice","
unshift"],function(t){var e=i[t];x.prototype[t]=function(){var n=this._wrapped;r
eturn e.apply(n,arguments),"shift"!=t&&"splice"!=t||0!==n.length||delete n[0],D.
call(this,n)}}),S(["concat","join","slice"],function(t){var e=i[t];x.prototype[t
]=function(){return D.call(this,e.apply(this._wrapped,arguments))}}),x.extend(x.
prototype,{chain:function(){return this._chain=!0,this},value:function(){return
this._wrapped}})}).call(this);

/* public/javascripts/underscore.string.js @ 1478902339 */
!function(t,e){"use strict";var n=e.prototype.trim,i=e.prototype.trimRight,r=e.p
rototype.trimLeft,o=function(t){return 1*t||0},s=function(t,e){if(1>e)return"";f
or(var n="";e>0;)1&e&&(n+=t),e>>=1,t+=t;return n},a=[].slice,c=function(t){retur
n null==t?"\\s":t.source?t.source:"["+_.escapeRegExp(t)+"]"},u={lt:"<",gt:">",qu
ot:'"',apos:"'",amp:"&"},l={};for(var d in u)l[u[d]]=d;// Copyright (c) Alexandr
u Marasteanu <alexaholic [at) gmail (dot] com>
var h=function(){function t(t){return Object.prototype.toString.call(t).slice(8,
-1).toLowerCase()}var n=s,i=function(){return i.cache.hasOwnProperty(arguments[0
])||(i.cache[arguments[0]]=i.parse(arguments[0])),i.format.call(null,i.cache[arg
uments[0]],arguments)};return i.format=function(i,r){var o,s,a,c,u,l,d,_=1,p=i.l
ength,f="",g=[];for(s=0;p>s;s++)if(f=t(i[s]),"string"===f)g.push(i[s]);else if("
array"===f){if(c=i[s],c[2])for(o=r[_],a=0;a<c[2].length;a++){if(!o.hasOwnPropert
y(c[2][a]))throw new Error(h('[_.sprintf] property "%s" does not exist',c[2][a])
);o=o[c[2][a]]}else o=c[1]?r[c[1]]:r[_++];if(/[^s]/.test(c[8])&&"number"!=t(o))t
hrow new Error(h("[_.sprintf] expecting number but found %s",t(o)));switch(c[8])
{case"b":o=o.toString(2);break;case"c":o=e.fromCharCode(o);break;case"d":o=parse
Int(o,10);break;case"e":o=c[7]?o.toExponential(c[7]):o.toExponential();break;cas
e"f":o=c[7]?parseFloat(o).toFixed(c[7]):parseFloat(o);break;case"o":o=o.toString
(8);break;case"s":o=(o=e(o))&&c[7]?o.substring(0,c[7]):o;break;case"u":o=Math.ab
s(o);break;case"x":o=o.toString(16);break;case"X":o=o.toString(16).toUpperCase()
}o=/[def]/.test(c[8])&&c[3]&&o>=0?"+"+o:o,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):"
",d=c[6]-e(o).length,u=c[6]?n(l,d):"",g.push(c[5]?o+u:u+o)}return g.join("")},i.
cache={},i.parse=function(t){for(var e=t,n=[],i=[],r=0;e;){if(null!==(n=/^[^\x25
]+/.exec(e)))i.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(e)))i.push("%");else
{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.
(\d+))?([b-fosuxX])/.exec(e)))throw new Error("[_.sprintf] huh?");if(n[2]){r|=1;
var o=[],s=n[2],a=[];if(null===(a=/^([a-z_][a-z_\d]*)/i.exec(s)))throw new Error
("[_.sprintf] huh?");for(o.push(a[1]);""!==(s=s.substring(a[0].length));)if(null
!==(a=/^\.([a-z_][a-z_\d]*)/i.exec(s)))o.push(a[1]);else{if(null===(a=/^\[(\d+)\
]/.exec(s)))throw new Error("[_.sprintf] huh?");o.push(a[1])}n[2]=o}else r|=2;if
(3===r)throw new Error("[_.sprintf] mixing positional and named placeholders is
not (yet) supported");i.push(n)}e=e.substring(n[0].length)}return i},i}(),_={VER
SION:"2.2.0rc",isBlank:function(t){return null==t&&(t=""),/^\s*$/.test(t)},strip
Tags:function(t){return null==t?"":e(t).replace(/<\/?[^>]+>/g,"")},capitalize:fu
nction(t){return t=null==t?"":e(t),t.charAt(0).toUpperCase()+t.slice(1)},chop:fu
nction(t,n){return null==t?[]:(t=e(t),n=~~n,n>0?t.match(new RegExp(".{1,"+n+"}",
"g")):[t])},clean:function(t){return _.strip(t).replace(/\s+/g," ")},count:funct
ion(t,n){return null==t||null==n?0:e(t).split(n).length-1},chars:function(t){ret
urn null==t?[]:e(t).split("")},swapCase:function(t){return null==t?"":e(t).repla
ce(/\S/g,function(t){return t===t.toUpperCase()?t.toLowerCase():t.toUpperCase()}
)},escapeHTML:function(t){return null==t?"":e(t).replace(/[&<>"']/g,function(t){
return"&"+l[t]+";"})},unescapeHTML:function(t){return null==t?"":e(t).replace(/\
&([^;]+);/g,function(t,n){var i;return n in u?u[n]:(i=n.match(/^#x([\da-fA-F]+)$
/))?e.fromCharCode(parseInt(i[1],16)):(i=n.match(/^#(\d+)$/))?e.fromCharCode(~~i
[1]):t})},escapeRegExp:function(t){return null==t?"":e(t).replace(/([.*+?^=!:${}
()|[\]\/\\])/g,"\\$1")},splice:function(t,e,n,i){var r=_.chars(t);return r.splic
e(~~e,~~n,i),r.join("")},insert:function(t,e,n){return _.splice(t,e,0,n)},includ
e:function(t,n){return""===n?!0:null==t?!1:-1!==e(t).indexOf(n)},join:function()
{var t=a.call(arguments),e=t.shift();return null==e&&(e=""),t.join(e)},lines:fun
ction(t){return null==t?[]:e(t).split("\n")},reverse:function(t){return _.chars(
t).reverse().join("")},startsWith:function(t,n){return""===n?!0:null==t||null==n
?!1:(t=e(t),n=e(n),t.length>=n.length&&t.slice(0,n.length)===n)},endsWith:functi
on(t,n){return""===n?!0:null==t||null==n?!1:(t=e(t),n=e(n),t.length>=n.length&&t
.slice(t.length-n.length)===n)},succ:function(t){return null==t?"":(t=e(t),t.sli
ce(0,-1)+e.fromCharCode(t.charCodeAt(t.length-1)+1))},titleize:function(t){retur
n null==t?"":e(t).replace(/(?:^|\s)\S/g,function(t){return t.toUpperCase()})},ca
melize:function(t){return _.trim(t).replace(/[-_\s]+(.)?/g,function(t,e){return
e.toUpperCase()})},underscored:function(t){return _.trim(t).replace(/([a-z\d])([

A-Z]+)/g,"$1_$2").replace(/[-\s]+/g,"_").toLowerCase()},dasherize:function(t){re
turn _.trim(t).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()},
classify:function(t){return _.titleize(e(t).replace(/_/g," ")).replace(/\s/g,"")
},humanize:function(t){return _.capitalize(_.underscored(t).replace(/_id$/,"").r
eplace(/_/g," "))},trim:function(t,i){return null==t?"":!i&&n?n.call(t):(i=c(i),
e(t).replace(new RegExp("^"+i+"+|"+i+"+$","g"),""))},ltrim:function(t,n){return
null==t?"":!n&&r?r.call(t):(n=c(n),e(t).replace(new RegExp("^"+n+"+"),""))},rtri
m:function(t,n){return null==t?"":!n&&i?i.call(t):(n=c(n),e(t).replace(new RegEx
p(n+"+$"),""))},truncate:function(t,n,i){return null==t?"":(t=e(t),i=i||"...",n=
~~n,t.length>n?t.slice(0,n)+i:t)},prune:function(t,n,i){if(null==t)return"";if(t
=e(t),n=~~n,i=null!=i?e(i):"...",t.length<=n)return t;var r=function(t){return t
.toUpperCase()!==t.toLowerCase()?"A":" "},o=t.slice(0,n+1).replace(/.(?=\W*\w*$)
/g,r);return o=o.slice(o.length-2).match(/\w\w/)?o.replace(/\s*\S+$/,""):_.rtrim
(o.slice(0,o.length-1)),(o+i).length>t.length?t:t.slice(0,o.length)+i},words:fun
ction(t,e){return _.isBlank(t)?[]:_.trim(t,e).split(e||/\s+/)},pad:function(t,n,
i,r){t=null==t?"":e(t),n=~~n;var o=0;switch(i?i.length>1&&(i=i.charAt(0)):i=" ",
r){case"right":return o=n-t.length,t+s(i,o);case"both":return o=n-t.length,s(i,M
ath.ceil(o/2))+t+s(i,Math.floor(o/2));default:return o=n-t.length,s(i,o)+t}},lpa
d:function(t,e,n){return _.pad(t,e,n)},rpad:function(t,e,n){return _.pad(t,e,n,"
right")},lrpad:function(t,e,n){return _.pad(t,e,n,"both")},sprintf:h,vsprintf:fu
nction(t,e){return e.unshift(t),h.apply(null,e)},toNumber:function(t,n){if(null=
=t||""==t)return 0;t=e(t);var i=o(o(t).toFixed(~~n));return 0!==i||t.match(/^0+$
/)?i:Number.NaN},numberFormat:function(t,e,n,i){if(isNaN(t)||null==t)return"";t=
t.toFixed(~~e),i=i||",";var r=t.split("."),o=r[0],s=r[1]?(n||".")+r[1]:"";return
o.replace(/(\d)(?=(?:\d{3})+$)/g,"$1"+i)+s},strRight:function(t,n){if(null==t)r
eturn"";t=e(t),n=null!=n?e(n):n;var i=n?t.indexOf(n):-1;return~i?t.slice(i+n.len
gth,t.length):t},strRightBack:function(t,n){if(null==t)return"";t=e(t),n=null!=n
?e(n):n;var i=n?t.lastIndexOf(n):-1;return~i?t.slice(i+n.length,t.length):t},str
Left:function(t,n){if(null==t)return"";t=e(t),n=null!=n?e(n):n;var i=n?t.indexOf
(n):-1;return~i?t.slice(0,i):t},strLeftBack:function(t,e){if(null==t)return"";t+
="",e=null!=e?""+e:e;var n=t.lastIndexOf(e);return~n?t.slice(0,n):t},toSentence:
function(t,e,n,i){e=e||", ",n=n||" and ";var r=t.slice(),o=r.pop();return t.leng
th>2&&i&&(n=_.rtrim(e)+n),r.length?r.join(e)+n+o:o},toSentenceSerial:function(){
var t=a.call(arguments);return t[3]=!0,_.toSentence.apply(_,t)},slugify:function
(t){if(null==t)return"";var n="\u0105\xe0\xe1\xe4\xe2\xe3\xe5\xe6\u0107\u0119\xe
8\xe9\xeb\xea\xec\xed\xef\xee\u0142\u0144\xf2\xf3\xf6\xf4\xf5\xf8\xf9\xfa\xfc\xf
b\xf1\xe7\u017c\u017a",i="aaaaaaaaceeeeeiiiilnoooooouuuunczz",r=new RegExp(c(n),
"g");return t=e(t).toLowerCase().replace(r,function(t){var e=n.indexOf(t);return
i.charAt(e)||"-"}),_.dasherize(t.replace(/[^\w\s-]/g,""))},surround:function(t,
e){return[e,t,e].join("")},quote:function(t){return _.surround(t,'"')},exports:f
unction(){var t={};for(var e in this)this.hasOwnProperty(e)&&!e.match(/^(?:inclu
de|contains|reverse)$/)&&(t[e]=this[e]);return t},repeat:function(t,n,i){if(null
==t)return"";if(n=~~n,null==i)return s(e(t),n);for(var r=[];n>0;r[--n]=t);return
r.join(i)},levenshtein:function(t,n){if(null==t&&null==n)return 0;if(null==t)re
turn e(n).length;if(null==n)return e(t).length;t=e(t),n=e(n);for(var i,r,o=[],s=
0;s<=n.length;s++)for(var a=0;a<=t.length;a++)r=s&&a?t.charAt(a-1)===n.charAt(s1)?i:Math.min(o[a],o[a-1],i)+1:s+a,i=o[a],o[a]=r;return o.pop()}};_.strip=_.trim
,_.lstrip=_.ltrim,_.rstrip=_.rtrim,_.center=_.lrpad,_.rjust=_.lpad,_.ljust=_.rpa
d,_.contains=_.include,_.q=_.quote,"undefined"!=typeof exports?("undefined"!=typ
eof module&&module.exports&&(module.exports=_),exports._s=_):"function"==typeof
define&&define.amd?define("underscore.string",[],function(){return _}):(t._=t._|
|{},t._.string=t._.str=_)}(this,String);
/* public/javascripts/underscore.string.patches.js @ 1478902339 */
_.mixin({each_slice:function(t,e,n,i){if(0!==e)for(var r=0,o=t.length;o>r;r+=e)n
.call(i,t.slice(r,r+e),r,t)}}),_.mixin(_.string.exports());
/* public/javascripts/shared/i18n.js @ 1478902339 */

var I18n=I18n||{};I18n.defaultLocale=I18n.defaultLocale||"en_US",I18n.fallbacks=
!0,I18n.defaultSeparator=".",I18n.locale=I18n.locale||null,I18n.PLACEHOLDER=/(?:
\{\{|%\{)(.*?)(?:\}\}?)/gm,I18n.isValidNode=function(t,e,n){return null!==t[e]&&
t[e]!==n},I18n.lookup=function(t,e){var n,e=e||{},i=t,r=this.prepareOptions(I18n
.translations),o=r[e.locale||I18n.currentLocale()],e=this.prepareOptions(e);if(o
||!e.redo){if(!o)return e.locale=I18n.defaultLocale,e.redo=!0,I18n.lookup(t,e);f
or("object"==typeof t&&(t=t.join(this.defaultSeparator)),e.scope&&(t=e.scope.toS
tring()+this.defaultSeparator+t),t=t.split(this.defaultSeparator);t.length>0;)if
(n=t.shift(),o=o[n],!o){I18n.fallbacks&&!e.fallback&&(o=I18n.lookup(i,this.prepa
reOptions({locale:I18n.defaultLocale,fallback:!0},e)));break}return!o&&this.isVa
lidNode(e,"defaultValue")&&(o=e.defaultValue),o}},I18n.prepareOptions=function()
{for(var t,e={},n=arguments.length,i=0;n>i;i++)if(t=arguments[i])for(var r in t)
this.isValidNode(e,r)||(e[r]=t[r]);return e},I18n.interpolate=function(t,e){e=th
is.prepareOptions(e);var n,i,r,o=t.match(this.PLACEHOLDER);if(!o)return t;for(va
r s=0;n=o[s];s++)r=n.replace(this.PLACEHOLDER,"$1"),i=e[r],this.isValidNode(e,r)
||(i="[missing "+n+" value]"),regex=new RegExp(n.replace(/\{/gm,"\\{").replace(/
\}/gm,"\\}")),t=t.replace(regex,i);return t},I18n.translate=function(t,e){e=this
.prepareOptions(e);var n=this.lookup(t,e);try{return"object"==typeof n?"number"=
=typeof e.count?this.pluralize(e.count,t,e):n:this.interpolate(n,e)}catch(i){ret
urn this.missingTranslation(t)}},I18n.localize=function(t,e){switch(t){case"curr
ency":return this.toCurrency(e);case"number":return t=this.lookup("number.format
"),this.toNumber(e,t);case"percentage":return this.toPercentage(e);default:retur
n t.match(/^(date|time)/)?this.toTime(t,e):e.toString()}},I18n.parseDate=functio
n(t){var e,n;if("object"==typeof t)return t;if(e=t.toString().match(/(\d{4})-(\d
{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2}))?(Z|\+0000)?/)){for(var i=1;6>=i;i++)
e[i]=parseInt(e[i],10)||0;e[2]-=1,n=e[7]?new Date(Date.UTC(e[1],e[2],e[3],e[4],e
[5],e[6])):new Date(e[1],e[2],e[3],e[4],e[5],e[6])}else"number"==typeof t?(n=new
Date,n.setTime(t)):t.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/)?(n=new Date,n.setTime
(Date.parse(t))):(n=new Date,n.setTime(Date.parse(t)));return n},I18n.toTime=fun
ction(t,e){var n=this.parseDate(e),i=this.lookup(t);return n.toString().match(/i
nvalid/i)?n.toString():i?this.strftime(n,i):n.toString()},I18n.strftime=function
(t,e){var n=this.lookup("date");if(!n)return t.toString();n.meridian=n.meridian|
|["AM","PM"];var i=t.getDay(),r=t.getDate(),o=t.getFullYear(),s=t.getMonth()+1,a
=t.getHours(),c=a,u=a>11?1:0,l=t.getSeconds(),d=t.getMinutes(),h=t.getTimezoneOf
fset(),_=Math.floor(Math.abs(h/60)),p=Math.abs(h)-60*_,f=(h>0?"-":"+")+(_.toStri
ng().length<2?"0"+_:_)+(p.toString().length<2?"0"+p:p);c>12?c-=12:0===c&&(c=12);
var g=function(t){var e="0"+t.toString();return e.substr(e.length-2)},m=e;return
m=m.replace("%a",n.abbr_day_names[i]),m=m.replace("%A",n.day_names[i]),m=m.repl
ace("%b",n.abbr_month_names[s]),m=m.replace("%B",n.month_names[s]),m=m.replace("
%d",g(r)),m=m.replace("%e",r),m=m.replace("%-d",r),m=m.replace("%H",g(a)),m=m.re
place("%-H",a),m=m.replace("%I",g(c)),m=m.replace("%-I",c),m=m.replace("%m",g(s)
),m=m.replace("%-m",s),m=m.replace("%M",g(d)),m=m.replace("%-M",d),m=m.replace("
%p",n.meridian[u]),m=m.replace("%S",g(l)),m=m.replace("%-S",l),m=m.replace("%w",
i),m=m.replace("%y",g(o)),m=m.replace("%-y",g(o).replace(/^0+/,"")),m=m.replace(
"%Y",o),m=m.replace("%z",f)},I18n.toNumber=function(t,e){e=this.prepareOptions(e
,this.lookup("number.format"),{precision:3,separator:".",delimiter:",",strip_ins
ignificant_zeros:!1});var n,i,r=0>t,o=Math.abs(t).toFixed(e.precision).toString(
),s=o.split("."),a=[];for(t=s[0],n=s[1];t.length>0;)a.unshift(t.substr(Math.max(
0,t.length-3),3)),t=t.substr(0,t.length-3);if(i=a.join(e.delimiter),e.precision>
0&&(i+=e.separator+s[1]),r&&(i="-"+i),e.strip_insignificant_zeros){var c={separa
tor:new RegExp(e.separator.replace(/\./,"\\.")+"$"),zeros:/0+$/};i=i.replace(c.z
eros,"").replace(c.separator,"")}return i},I18n.toCurrency=function(t,e){return
e=this.prepareOptions(e,this.lookup("number.currency.format"),this.lookup("numbe
r.format"),{unit:"$",precision:2,format:"%u%n",delimiter:",",separator:"."}),t=t
his.toNumber(t,e),t=e.format.replace("%u",e.unit).replace("%n",t)},I18n.toHumanS
ize=function(t,e){for(var n,i,r=1024,o=t,s=0;o>=r&&4>s;)o/=r,s+=1;return 0===s?(
n=this.t("number.human.storage_units.units.byte",{count:o}),i=0):(n=this.t("numb
er.human.storage_units.units."+[null,"kb","mb","gb","tb"][s]),i=o-Math.floor(o)=
==0?0:1),e=this.prepareOptions(e,{precision:i,format:"%n%u",delimiter:""}),t=thi
s.toNumber(o,e),t=e.format.replace("%u",n).replace("%n",t)},I18n.toPercentage=fu

nction(t,e){return e=this.prepareOptions(e,this.lookup("number.percentage.format
"),this.lookup("number.format"),{precision:3,separator:".",delimiter:""}),t=this
.toNumber(t,e),t+"%"},I18n.pluralize=function(t,e,n){var i;try{i=this.lookup(e,n
)}catch(r){}if(!i)return this.missingTranslation(e);var o;switch(n=this.prepareO
ptions(n),n.count=t.toString(),Math.abs(t)){case 0:o=this.isValidNode(i,"zero")?
i.zero:this.isValidNode(i,"none")?i.none:this.isValidNode(i,"other")?i.other:thi
s.missingTranslation(e,"zero");break;case 1:o=this.isValidNode(i,"one")?i.one:th
is.missingTranslation(e,"one");break;default:o=this.isValidNode(i,"other")?i.oth
er:this.missingTranslation(e,"other")}return this.interpolate(o,n)},I18n.missing
Translation=function(){for(var t='[missing "'+this.currentLocale(),e=arguments.l
ength,n=0;e>n;n++)t+="."+arguments[n];return t+='" translation]'},I18n.currentLo
cale=function(){return I18n.locale||I18n.defaultLocale},I18n.t=I18n.translate,I1
8n.l=I18n.localize,I18n.p=I18n.pluralize;
/* public/javascripts/backbone/backbone.js @ 1478902339 */
(function(){var t,e=this,n=e.Backbone,i=Array.prototype.slice,r=Array.prototype.
splice;t="undefined"!=typeof exports?exports:e.Backbone={},t.VERSION="0.9.2";var
o=e._;o||"undefined"==typeof require||(o=require("underscore"));var s=e.jQuery|
|e.Zepto||e.ender;t.setDomLibrary=function(t){s=t},t.noConflict=function(){retur
n e.Backbone=n,this},t.emulateHTTP=!1,t.emulateJSON=!1;var a=/\s+/,c=t.Events={o
n:function(t,e,n){var i,r,o,s,c;if(!e)return this;for(t=t.split(a),i=this._callb
acks||(this._callbacks={});r=t.shift();)c=i[r],o=c?c.tail:{},o.next=s={},o.conte
xt=n,o.callback=e,i[r]={tail:s,next:c?c.next:o};return this},off:function(t,e,n)
{var i,r,s,c,u,l;if(r=this._callbacks){if(!(t||e||n))return delete this._callbac
ks,this;for(t=t?t.split(a):o.keys(r);i=t.shift();)if(s=r[i],delete r[i],s&&(e||n
))for(c=s.tail;(s=s.next)!==c;)u=s.callback,l=s.context,(e&&u!==e||n&&l!==n)&&th
is.on(i,u,l);return this}},trigger:function(t){var e,n,r,o,s,c,u;if(!(r=this._ca
llbacks))return this;for(c=r.all,t=t.split(a),u=i.call(arguments,1);e=t.shift();
){if(n=r[e])for(o=n.tail;(n=n.next)!==o;)n.callback.apply(n.context||this,u);if(
n=c)for(o=n.tail,s=[e].concat(u);(n=n.next)!==o;)n.callback.apply(n.context||thi
s,s)}return this}};c.bind=c.on,c.unbind=c.off;var u=t.Model=function(t,e){var n;
t||(t={}),e&&e.parse&&(t=this.parse(t)),(n=C(this,"defaults"))&&(t=o.extend({},n
,t)),e&&e.collection&&(this.collection=e.collection),this.attributes={},this._es
capedAttributes={},this.cid=o.uniqueId("c"),this.changed={},this._silent={},this
._pending={},this.set(t,{silent:!0}),this.changed={},this._silent={},this._pendi
ng={},this._previousAttributes=o.clone(this.attributes),this.initialize.apply(th
is,arguments)};o.extend(u.prototype,c,{changed:null,_silent:null,_pending:null,i
dAttribute:"id",initialize:function(){},toJSON:function(){return o.clone(this.at
tributes)},get:function(t){return this.attributes[t]},escape:function(t){var e;i
f(e=this._escapedAttributes[t])return e;var n=this.get(t);return this._escapedAt
tributes[t]=o.escape(null==n?"":""+n)},has:function(t){return null!=this.get(t)}
,set:function(t,e,n){var i,r,s;if(o.isObject(t)||null==t?(i=t,n=e):(i={},i[t]=e)
,n||(n={}),!i)return this;if(i instanceof u&&(i=i.attributes),n.unset)for(r in i
)i[r]=void 0;if(!this._validate(i,n))return!1;this.idAttribute in i&&(this.id=i[
this.idAttribute]);var a=n.changes={},c=this.attributes,l=this._escapedAttribute
s,d=this._previousAttributes||{};for(r in i)s=i[r],(!o.isEqual(c[r],s)||n.unset&
&o.has(c,r))&&(delete l[r],(n.silent?this._silent:a)[r]=!0),n.unset?delete c[r]:
c[r]=s,o.isEqual(d[r],s)&&o.has(c,r)==o.has(d,r)?(delete this.changed[r],delete
this._pending[r]):(this.changed[r]=s,n.silent||(this._pending[r]=!0));return n.s
ilent||this.change(n),this},unset:function(t,e){return(e||(e={})).unset=!0,this.
set(t,null,e)},clear:function(t){return(t||(t={})).unset=!0,this.set(o.clone(thi
s.attributes),t)},fetch:function(e){e=e?o.clone(e):{};var n=this,i=e.success;ret
urn e.success=function(t,r,o){return n.set(n.parse(t,o),e)?void(i&&i(n,t)):!1},e
.error=t.wrapError(e.error,n,e),(this.sync||t.sync).call(this,"read",this,e)},sa
ve:function(e,n,i){var r,s;if(o.isObject(e)||null==e?(r=e,i=n):(r={},r[e]=n),i=i
?o.clone(i):{},i.wait){if(!this._validate(r,i))return!1;s=o.clone(this.attribute
s)}var a=o.extend({},i,{silent:!0});if(r&&!this.set(r,i.wait?a:i))return!1;var c
=this,u=i.success;i.success=function(t,e,n){var s=c.parse(t,n);return i.wait&&(d
elete i.wait,s=o.extend(r||{},s)),c.set(s,i)?void(u?u(c,t):c.trigger("sync",c,t,

i)):!1},i.error=t.wrapError(i.error,c,i);var l=this.isNew()?"create":"update",d=
(this.sync||t.sync).call(this,l,this,i);return i.wait&&this.set(s,a),d},destroy:
function(e){e=e?o.clone(e):{};var n=this,i=e.success,r=function(){n.trigger("des
troy",n,n.collection,e)};if(this.isNew())return r(),!1;e.success=function(t){e.w
ait&&r(),i?i(n,t):n.trigger("sync",n,t,e)},e.error=t.wrapError(e.error,n,e);var
s=(this.sync||t.sync).call(this,"delete",this,e);return e.wait||r(),s},url:funct
ion(){var t=C(this,"urlRoot")||C(this.collection,"url")||T();return this.isNew()
?t:t+("/"==t.charAt(t.length-1)?"":"/")+encodeURIComponent(this.id)},parse:funct
ion(t){return t},clone:function(){return new this.constructor(this.attributes)},
isNew:function(){return null==this.id},change:function(t){t||(t={});var e=this._
changing;this._changing=!0;for(var n in this._silent)this._pending[n]=!0;var i=o
.extend({},t.changes,this._silent);this._silent={};for(var n in i)this.trigger("
change:"+n,this,this.get(n),t);if(e)return this;for(;!o.isEmpty(this._pending);)
{this._pending={},this.trigger("change",this,t);for(var n in this.changed)this._
pending[n]||this._silent[n]||delete this.changed[n];this._previousAttributes=o.c
lone(this.attributes)}return this._changing=!1,this},hasChanged:function(t){retu
rn arguments.length?o.has(this.changed,t):!o.isEmpty(this.changed)},changedAttri
butes:function(t){if(!t)return this.hasChanged()?o.clone(this.changed):!1;var e,
n=!1,i=this._previousAttributes;for(var r in t)o.isEqual(i[r],e=t[r])||((n||(n={
}))[r]=e);return n},previous:function(t){return arguments.length&&this._previous
Attributes?this._previousAttributes[t]:null},previousAttributes:function(){retur
n o.clone(this._previousAttributes)},isValid:function(){return!this.validate(thi
s.attributes)},_validate:function(t,e){if(e.silent||!this.validate)return!0;t=o.
extend({},this.attributes,t);var n=this.validate(t,e);return n?(e&&e.error?e.err
or(this,n,e):this.trigger("error",this,n,e),!1):!0}});var l=t.Collection=functio
n(t,e){e||(e={}),e.model&&(this.model=e.model),e.comparator&&(this.comparator=e.
comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,
{silent:!0,parse:e.parse})};o.extend(l.prototype,c,{model:u,initialize:function(
){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},add:fun
ction(t,e){var n,i,s,a,c,u,l={},d={},h=[];for(e||(e={}),t=o.isArray(t)?t.slice()
:[t],n=0,s=t.length;s>n;n++){if(!(a=t[n]=this._prepareModel(t[n],e)))throw new E
rror("Can't add an invalid model to a collection");c=a.cid,u=a.id,l[c]||this._by
Cid[c]||null!=u&&(d[u]||this._byId[u])?h.push(n):l[c]=d[u]=a}for(n=h.length;n--;
)t.splice(h[n],1);for(n=0,s=t.length;s>n;n++)(a=t[n]).on("all",this._onModelEven
t,this),this._byCid[a.cid]=a,null!=a.id&&(this._byId[a.id]=a);if(this.length+=s,
i=null!=e.at?e.at:this.models.length,r.apply(this.models,[i,0].concat(t)),this.c
omparator&&this.sort({silent:!0}),e.silent)return this;for(n=0,s=this.models.len
gth;s>n;n++)l[(a=this.models[n]).cid]&&(e.index=n,a.trigger("add",a,this,e));ret
urn this},remove:function(t,e){var n,i,r,s;for(e||(e={}),t=o.isArray(t)?t.slice(
):[t],n=0,i=t.length;i>n;n++)s=this.getByCid(t[n])||this.get(t[n]),s&&(delete th
is._byId[s.id],delete this._byCid[s.cid],r=this.indexOf(s),this.models.splice(r,
1),this.length--,e.silent||(e.index=r,s.trigger("remove",s,this,e)),this._remove
Reference(s));return this},push:function(t,e){return t=this._prepareModel(t,e),t
his.add(t,e),t},pop:function(t){var e=this.at(this.length-1);return this.remove(
e,t),e},unshift:function(t,e){return t=this._prepareModel(t,e),this.add(t,o.exte
nd({at:0},e)),t},shift:function(t){var e=this.at(0);return this.remove(e,t),e},g
et:function(t){return null==t?void 0:this._byId[null!=t.id?t.id:t]},getByCid:fun
ction(t){return t&&this._byCid[t.cid||t]},at:function(t){return this.models[t]},
where:function(t){return o.isEmpty(t)?[]:this.filter(function(e){for(var n in t)
if(t[n]!==e.get(n))return!1;return!0})},sort:function(t){if(t||(t={}),!this.comp
arator)throw new Error("Cannot sort a set without a comparator");var e=o.bind(th
is.comparator,this);return 1==this.comparator.length?this.models=this.sortBy(e):
this.models.sort(e),t.silent||this.trigger("reset",this,t),this},pluck:function(
t){return o.map(this.models,function(e){return e.get(t)})},reset:function(t,e){t
||(t=[]),e||(e={});for(var n=0,i=this.models.length;i>n;n++)this._removeReferenc
e(this.models[n]);return this._reset(),this.add(t,o.extend({silent:!0},e)),e.sil
ent||this.trigger("reset",this,e),this},fetch:function(e){e=e?o.clone(e):{},void
0===e.parse&&(e.parse=!0);var n=this,i=e.success;return e.success=function(t,r,
o){n[e.add?"add":"reset"](n.parse(t,o),e),i&&i(n,t)},e.error=t.wrapError(e.error
,n,e),(this.sync||t.sync).call(this,"read",this,e)},create:function(t,e){var n=t

his;if(e=e?o.clone(e):{},t=this._prepareModel(t,e),!t)return!1;e.wait||n.add(t,e
);var i=e.success;return e.success=function(r,o){e.wait&&n.add(r,e),i?i(r,o):r.t
rigger("sync",t,o,e)},t.save(null,e),t},parse:function(t){return t},chain:functi
on(){return o(this.models).chain()},_reset:function(){this.length=0,this.models=
[],this._byId={},this._byCid={}},_prepareModel:function(t,e){if(e||(e={}),t inst
anceof u)t.collection||(t.collection=this);else{var n=t;e.collection=this,t=new
this.model(n,e),t._validate(t.attributes,e)||(t=!1)}return t},_removeReference:f
unction(t){this==t.collection&&delete t.collection,t.off("all",this._onModelEven
t,this)},_onModelEvent:function(t,e,n,i){("add"!=t&&"remove"!=t||n==this)&&("des
troy"==t&&this.remove(e,i),e&&t==="change:"+e.idAttribute&&(delete this._byId[e.
previous(e.idAttribute)],this._byId[e.id]=e),this.trigger.apply(this,arguments))
}});var d=["forEach","each","map","reduce","reduceRight","find","detect","filter
","select","reject","every","all","some","any","include","contains","invoke","ma
x","min","sortBy","sortedIndex","toArray","size","first","initial","rest","last"
,"without","indexOf","shuffle","lastIndexOf","isEmpty","groupBy"];o.each(d,funct
ion(t){l.prototype[t]=function(){return o[t].apply(o,[this.models].concat(o.toAr
ray(arguments)))}});var h=t.Router=function(t){t||(t={}),t.routes&&(this.routes=
t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},p=/:\w+/g,_=
/\*\w+/g,f=/[-[\]{}()+?.,\\^$|#\s]/g;o.extend(h.prototype,c,{initialize:function
(){},route:function(e,n,i){return t.history||(t.history=new g),o.isRegExp(e)||(e
=this._routeToRegExp(e)),i||(i=this[n]),t.history.route(e,o.bind(function(r){var
o=this._extractParameters(e,r);i&&i.apply(this,o),this.trigger.apply(this,["rou
te:"+n].concat(o)),t.history.trigger("route",this,n,o)},this)),this},navigate:fu
nction(e,n){t.history.navigate(e,n)},_bindRoutes:function(){if(this.routes){var
t=[];for(var e in this.routes)t.unshift([e,this.routes[e]]);for(var n=0,i=t.leng
th;i>n;n++)this.route(t[n][0],t[n][1],this[t[n][1]])}},_routeToRegExp:function(t
){return t=t.replace(f,"\\$&").replace(p,"([^/]+)").replace(_,"(.*?)"),new RegEx
p("^"+t+"$")},_extractParameters:function(t,e){return t.exec(e).slice(1)}});var
g=t.History=function(){this.handlers=[],o.bindAll(this,"checkUrl")},m=/^[#\/]/,b
=/msie [\w.]+/;g.started=!1,o.extend(g.prototype,c,{interval:50,getHash:function
(t){var e=t?t.location:window.location,n=e.href.match(/#(.*)$/);return n?n[1]:""
},getFragment:function(t,e){if(null==t)if(this._hasPushState||e){t=window.locati
on.pathname;var n=window.location.search;n&&(t+=n)}else t=this.getHash();return
t.indexOf(this.options.root)||(t=t.substr(this.options.root.length)),t.replace(m
,"")},start:function(t){if(g.started)throw new Error("Backbone.history has alrea
dy been started");g.started=!0,this.options=o.extend({},{root:"/"},this.options,
t),this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!thi
s.options.pushState,this._hasPushState=!!(this.options.pushState&&window.history
&&window.history.pushState);var e=this.getFragment(),n=document.documentMode,i=b
.exec(navigator.userAgent.toLowerCase())&&(!n||7>=n);i&&(this.iframe=s('<iframe
src="javascript:0" tabindex="-1" />').hide().appendTo("body")[0].contentWindow,t
his.navigate(e)),this._hasPushState?s(window).bind("popstate",this.checkUrl):thi
s._wantsHashChange&&"onhashchange"in window&&!i?s(window).bind("hashchange",this
.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.check
Url,this.interval)),this.fragment=e;var r=window.location,a=r.pathname==this.opt
ions.root;return this._wantsHashChange&&this._wantsPushState&&!this._hasPushStat
e&&!a?(this.fragment=this.getFragment(null,!0),window.location.replace(this.opti
ons.root+"#"+this.fragment),!0):(this._wantsPushState&&this._hasPushState&&a&&r.
hash&&(this.fragment=this.getHash().replace(m,""),window.history.replaceState({}
,document.title,r.protocol+"//"+r.host+this.options.root+this.fragment)),this.op
tions.silent?void 0:this.loadUrl())},stop:function(){s(window).unbind("popstate"
,this.checkUrl).unbind("hashchange",this.checkUrl),clearInterval(this._checkUrlI
nterval),g.started=!1},route:function(t,e){this.handlers.unshift({route:t,callba
ck:e})},checkUrl:function(){var t=this.getFragment();return t==this.fragment&&th
is.iframe&&(t=this.getFragment(this.getHash(this.iframe))),t==this.fragment?!1:(
this.iframe&&this.navigate(t),void(this.loadUrl()||this.loadUrl(this.getHash()))
)},loadUrl:function(t){var e=this.fragment=this.getFragment(t),n=o.any(this.hand
lers,function(t){return t.route.test(e)?(t.callback(e),!0):void 0});return n},na
vigate:function(t,e){if(!g.started)return!1;e&&e!==!0||(e={trigger:e});var n=(t|
|"").replace(m,"");this.fragment!=n&&(this._hasPushState?(0!=n.indexOf(this.opti

ons.root)&&(n=this.options.root+n),this.fragment=n,window.history[e.replace?"rep
laceState":"pushState"]({},document.title,n)):this._wantsHashChange?(this.fragme
nt=n,this._updateHash(window.location,n,e.replace),this.iframe&&n!=this.getFragm
ent(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),
this._updateHash(this.iframe.location,n,e.replace))):window.location.assign(this
.options.root+t),e.trigger&&this.loadUrl(t))},_updateHash:function(t,e,n){n?t.re
place(t.toString().replace(/(javascript:|#).*$/,"")+"#"+e):t.hash=e}});var v=t.V
iew=function(t){this.cid=o.uniqueId("view"),this._configure(t||{}),this._ensureE
lement(),this.initialize.apply(this,arguments),this.delegateEvents()},y=/^(\S+)\
s*(.*)$/,w=["model","collection","el","id","attributes","className","tagName"];o
.extend(v.prototype,c,{tagName:"div",$:function(t){return this.$el.find(t)},init
ialize:function(){},render:function(){return this},remove:function(){return this
.$el.remove(),this},make:function(t,e,n){var i=document.createElement(t);return
e&&s(i).attr(e),n&&s(i).html(n),i},setElement:function(t,e){return this.$el&&thi
s.undelegateEvents(),this.$el=t instanceof s?t:s(t),this.el=this.$el[0],e!==!1&&
this.delegateEvents(),this},delegateEvents:function(t){if(t||(t=C(this,"events")
)){this.undelegateEvents();for(var e in t){var n=t[e];if(o.isFunction(n)||(n=thi
s[t[e]]),!n)throw new Error('Method "'+t[e]+'" does not exist');var i=e.match(y)
,r=i[1],s=i[2];n=o.bind(n,this),r+=".delegateEvents"+this.cid,""===s?this.$el.bi
nd(r,n):this.$el.delegate(s,r,n)}}},undelegateEvents:function(){this.$el.unbind(
".delegateEvents"+this.cid)},_configure:function(t){this.options&&(t=o.extend({}
,this.options,t));for(var e=0,n=w.length;n>e;e++){var i=w[e];t[i]&&(this[i]=t[i]
)}this.options=t},_ensureElement:function(){if(this.el)this.setElement(this.el,!
1);else{var t=C(this,"attributes")||{};this.id&&(t.id=this.id),this.className&&(
t["class"]=this.className),this.setElement(this.make(this.tagName,t),!1)}}});var
k=function(t,e){var n=E(this,t,e);return n.extend=this.extend,n};u.extend=l.ext
end=h.extend=v.extend=k;var x={create:"POST",update:"PUT","delete":"DELETE",read
:"GET"};t.sync=function(e,n,i){var r=x[e];i||(i={});var a={type:r,dataType:"json
"};return i.url||(a.url=C(n,"url")||T()),i.data||!n||"create"!=e&&"update"!=e||(
a.contentType="application/json",a.data=JSON.stringify(n.toJSON())),t.emulateJSO
N&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.dat
a}:{}),t.emulateHTTP&&("PUT"===r||"DELETE"===r)&&(t.emulateJSON&&(a.data._method
=r),a.type="POST",a.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Ove
rride",r)}),"GET"===a.type||t.emulateJSON||(a.processData=!1),s.ajax(o.extend(a,
i))},t.wrapError=function(t,e,n){return function(i,r){r=i===e?r:i,t?t(e,r,n):e.t
rigger("error",e,r,n)}};var S=function(){},E=function(t,e,n){var i;return i=e&&e
.hasOwnProperty("constructor")?e.constructor:function(){t.apply(this,arguments)}
,o.extend(i,t),S.prototype=t.prototype,i.prototype=new S,e&&o.extend(i.prototype
,e),n&&o.extend(i,n),i.prototype.constructor=i,i.__super__=t.prototype,i},C=func
tion(t,e){return t&&t[e]?o.isFunction(t[e])?t[e]():t[e]:null},T=function(){throw
new Error('A "url" property or function must be specified')}}).call(this);
/* public/javascripts/rails.js @ 1478902339 */
!function(t,e){var n=function(){var e=t._data(document,"events");return e&&e.cli
ck&&t.grep(e.click,function(t){return"rails"===t.namespace}).length};n()&&t.erro
r("jquery-ujs has already been loaded!");var i;t.rails=i={linkClickSelector:"a[d
ata-confirm], a[data-method], a[data-remote], a[data-disable-with]",inputChangeS
elector:"select[data-remote], input[data-remote], textarea[data-remote]",formSub
mitSelector:"form",formInputClickSelector:"form input[type=submit], form input[t
ype=image], form button[type=submit], form button:not([type])",disableSelector:"
input[data-disable-with], button[data-disable-with], textarea[data-disable-with]
",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:d
isabled, textarea[data-disable-with]:disabled",requiredInputSelector:"input[name
][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputS
elector:"input:file",linkDisableSelector:"a[data-disable-with]",CSRFProtection:f
unction(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHea
der("X-CSRF-Token",n)},fire:function(e,n,i){var r=t.Event(n);return e.trigger(r,
i),r.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return
t.ajax(e)},href:function(t){return t.attr("href")},handleRemote:function(n){var

r,o,s,a,c,u,l,d;if(i.fire(n,"ajax:before")){if(a=n.data("cross-domain"),c=a===e
?null:a,u=n.data("with-credentials")||null,l=n.data("type")||t.ajaxSettings&&t.a
jaxSettings.dataType,n.is("form")){r=n.attr("method"),o=n.attr("action"),s=n.ser
ializeArray();var h=n.data("ujs:submit-button");h&&(s.push(h),n.data("ujs:submit
-button",null))}else n.is(i.inputChangeSelector)?(r=n.data("method"),o=n.data("u
rl"),s=n.serialize(),n.data("params")&&(s=s+"&"+n.data("params"))):(r=n.data("me
thod"),o=i.href(n),s=n.data("params")||null);d={type:r||"GET",data:s,dataType:l,
beforeSend:function(t,r){return r.dataType===e&&t.setRequestHeader("accept","*/*
;q=0.5, "+r.accepts.script),i.fire(n,"ajax:beforeSend",[t,r])},success:function(
t,e,i){n.trigger("ajax:success",[t,e,i])},complete:function(t,e){n.trigger("ajax
:complete",[t,e])},error:function(t,e,i){n.trigger("ajax:error",[t,e,i])},xhrFie
lds:{withCredentials:u},crossDomain:c},o&&(d.url=o);var p=i.ajax(d);return n.tri
gger("ajax:send",p),p}return!1},handleMethod:function(n){var r=i.href(n),o=n.dat
a("method"),s=n.attr("target"),a=t("meta[name=csrf-token]").attr("content"),c=t(
"meta[name=csrf-param]").attr("content"),u=t('<form method="post" action="'+r+'"
></form>'),l='<input name="_method" value="'+o+'" type="hidden" />';c!==e&&a!==e
&&(l+='<input name="'+c+'" value="'+a+'" type="hidden" />'),s&&u.attr("target",s
),u.hide().append(l).appendTo("body"),u.submit()},disableFormElements:function(e
){e.find(i.disableSelector).each(function(){var e=t(this),n=e.is("button")?"html
":"val";e.data("ujs:enable-with",e[n]()),e[n](e.data("disable-with")),e.prop("di
sabled",!0)})},enableFormElements:function(e){e.find(i.enableSelector).each(func
tion(){var e=t(this),n=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[
n](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(t){v
ar e,n=t.data("confirm"),r=!1;return n?(i.fire(t,"confirm")&&(r=i.confirm(n),e=i
.fire(t,"confirm:complete",[r])),r&&e):!0},blankInputs:function(e,n,i){var r,o,s
=t(),a=n||"input,textarea",c=e.find(a);return c.each(function(){if(r=t(this),o=r
.is(":checkbox,:radio")?r.is(":checked"):r.val(),!o==!i){if(r.is(":radio")&&c.fi
lter('input:radio:checked[name="'+r.attr("name")+'"]').length)return!0;s=s.add(r
)}}),s.length?s:!1},nonBlankInputs:function(t,e){return i.blankInputs(t,e,!0)},s
topEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.
stopImmediatePropagation(),!1},callFormSubmitBindings:function(n,i){var r=n.data
("events"),o=!0;return r!==e&&r.submit!==e&&t.each(r.submit,function(t,e){return
"function"==typeof e.handler?o=e.handler(i):void 0}),o},disableElement:function(
t){t.data("ujs:enable-with",t.html()),t.html(t.data("disable-with")),t.bind("cli
ck.railsDisable",function(t){return i.stopEverything(t)})},enableElement:functio
n(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.data("u
js:enable-with",!1)),t.unbind("click.railsDisable")}},i.fire(t(document),"rails:
attachBindings")&&(t(document).delegate(i.linkDisableSelector,"ajax:complete",fu
nction(){i.enableElement(t(this))}),t(document).delegate(i.linkClickSelector,"cl
ick.rails",function(n){var r=t(this),o=r.data("method"),s=r.data("params");if(!i
.allowAction(r))return i.stopEverything(n);if(r.is(i.linkDisableSelector)&&i.dis
ableElement(r),r.data("remote")!==e){if(!(!n.metaKey&&!n.ctrlKey||o&&"GET"!==o||
s))return!0;var a=i.handleRemote(r);return a===!1?i.enableElement(r):a.error(fun
ction(){i.enableElement(r)}),!1}return r.data("method")?(i.handleMethod(r),!1):v
oid 0}),t(document).delegate(i.inputChangeSelector,"change.rails",function(e){va
r n=t(this);return i.allowAction(n)?(i.handleRemote(n),!1):i.stopEverything(e)})
,t(document).delegate(i.formSubmitSelector,"submit.rails",function(n){var r=t(th
is),o=r.data("remote")!==e,s=i.blankInputs(r,i.requiredInputSelector),a=i.nonBla
nkInputs(r,i.fileInputSelector);if(!i.allowAction(r))return i.stopEverything(n);
if(s&&r.attr("novalidate")==e&&i.fire(r,"ajax:aborted:required",[s]))return i.st
opEverything(n);if(o){if(a){setTimeout(function(){i.disableFormElements(r)},13);
var c=i.fire(r,"ajax:aborted:file",[a]);return c||setTimeout(function(){i.enable
FormElements(r)},13),c}return!t.support.submitBubbles&&t().jquery<"1.7"&&i.callF
ormSubmitBindings(r,n)===!1?i.stopEverything(n):(i.handleRemote(r),!1)}setTimeou
t(function(){i.disableFormElements(r)},13)}),t(document).delegate(i.formInputCli
ckSelector,"click.rails",function(e){var n=t(this);if(!i.allowAction(n))return i
.stopEverything(e);var r=n.attr("name"),o=r?{name:r,value:n.val()}:null;n.closes
t("form").data("ujs:submit-button",o)}),t(document).delegate(i.formSubmitSelecto
r,"ajax:beforeSend.rails",function(e){this==e.target&&i.disableFormElements(t(th
is))}),t(document).delegate(i.formSubmitSelector,"ajax:complete.rails",function(

e){this==e.target&&i.enableFormElements(t(this))}),t(function(){csrf_token=t("me
ta[name=csrf-token]").attr("content"),csrf_param=t("meta[name=csrf-param]").attr
("content"),t('form input[name="'+csrf_param+'"]').val(csrf_token)}))}(jQuery);
/* public/javascripts/modernizr.custom.12353.js @ 1478902339 */
window.Modernizr=function(t,e,n){function i(t){b.cssText=t}function r(t,e){retur
n typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(t,e){for(va
r i in t){var r=t[i];if(!o(r,"-")&&b[r]!==n)return"pfx"==e?r:!0}return!1}functio
n a(t,e,i){for(var o in t){var s=e[t[o]];if(s!==n)return i===!1?t[o]:r(s,"functi
on")?s.bind(i||e):s}return!1}function c(t,e,n){var i=t.charAt(0).toUpperCase()+t
.slice(1),o=(t+" "+w.join(i+" ")+i).split(" ");return r(e,"string")||r(e,"undefi
ned")?s(o,e):(o=(t+" "+k.join(i+" ")+i).split(" "),a(o,e,n))}var u,l,d,h="2.8.2"
,p={},_=!0,f=e.documentElement,g="modernizr",m=e.createElement(g),b=m.style,v=({
}.toString," -webkit- -moz- -o- -ms- ".split(" ")),y="Webkit Moz O ms",w=y.split
(" "),k=y.toLowerCase().split(" "),x={},S=[],E=S.slice,C=function(t,n,i,r){var o
,s,a,c,u=e.createElement("div"),l=e.body,d=l||e.createElement("body");if(parseIn
t(i,10))for(;i--;)a=e.createElement("div"),a.id=r?r[i]:g+(i+1),u.appendChild(a);
return o=["&#173;",'<style id="s',g,'">',t,"</style>"].join(""),u.id=g,(l?u:d).i
nnerHTML+=o,d.appendChild(u),l||(d.style.background="",d.style.overflow="hidden"
,c=f.style.overflow,f.style.overflow="hidden",f.appendChild(d)),s=n(u,t),l?u.par
entNode.removeChild(u):(d.parentNode.removeChild(d),f.style.overflow=c),!!s},T={
}.hasOwnProperty;d=r(T,"undefined")||r(T.call,"undefined")?function(t,e){return
e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return T.call(t
,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if
("function"!=typeof e)throw new TypeError;var n=E.call(arguments,1),i=function()
{if(this instanceof i){var r=function(){};r.prototype=e.prototype;var o=new r,s=
e.apply(o,n.concat(E.call(arguments)));return Object(s)===s?s:o}return e.apply(t
,n.concat(E.call(arguments)))};return i}),x.textshadow=function(){return""===e.c
reateElement("div").style.textShadow},x.csstransforms=function(){return!!c("tran
sform")},x.csstransforms3d=function(){var t=!!c("perspective");return t&&"webkit
Perspective"in f.style&&C("@media (transform-3d),(-webkit-transform-3d){#moderni
zr{left:9px;position:absolute;height:3px;}}",function(e){t=9===e.offsetLeft&&3==
=e.offsetHeight}),t};for(var A in x)d(x,A)&&(l=A.toLowerCase(),p[l]=x[A](),S.pus
h((p[l]?"":"no-")+l));return p.addTest=function(t,e){if("object"==typeof t)for(v
ar i in t)d(t,i)&&p.addTest(i,t[i]);else{if(t=t.toLowerCase(),p[t]!==n)return p;
e="function"==typeof e?e():e,"undefined"!=typeof _&&_&&(f.className+=" "+(e?"":"
no-")+t),p[t]=e}return p},i(""),m=u=null,function(t,e){function n(t,e){var n=t.c
reateElement("p"),i=t.getElementsByTagName("head")[0]||t.documentElement;return
n.innerHTML="x<style>"+e+"</style>",i.insertBefore(n.lastChild,i.firstChild)}fun
ction i(){var t=b.elements;return"string"==typeof t?t.split(" "):t}function r(t)
{var e=m[t[f]];return e||(e={},g++,t[f]=g,m[g]=e),e}function o(t,n,i){if(n||(n=e
),l)return n.createElement(t);i||(i=r(n));var o;return o=i.cache[t]?i.cache[t].c
loneNode():_.test(t)?(i.cache[t]=i.createElem(t)).cloneNode():i.createElem(t),!o
.canHaveChildren||p.test(t)||o.tagUrn?o:i.frag.appendChild(o)}function s(t,n){if
(t||(t=e),l)return t.createDocumentFragment();n=n||r(t);for(var o=n.frag.cloneNo
de(),s=0,a=i(),c=a.length;c>s;s++)o.createElement(a[s]);return o}function a(t,e)
{e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocument
Fragment,e.frag=e.createFrag()),t.createElement=function(n){return b.shivMethods
?o(n,t,e):e.createElem(n)},t.createDocumentFragment=Function("h,f","return funct
ion(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace
(/[\w\-]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'
")'})+");return n}")(b,e.frag)}function c(t){t||(t=e);var i=r(t);return b.shivCS
S&&!u&&!i.hasCSS&&(i.hasCSS=!!n(t,"article,aside,dialog,figcaption,figure,footer
,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}te
mplate{display:none}")),l||a(t,i),t}var u,l,d="3.7.0",h=t.html5||{},p=/^<|^(?:bu
tton|map|select|textarea|object|iframe|option|optgroup)$/i,_=/^(?:a|b|code|div|f
ieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|
tr|ul)$/i,f="_html5shiv",g=0,m={};!function(){try{var t=e.createElement("a");t.i
nnerHTML="<xyz></xyz>",u="hidden"in t,l=1==t.childNodes.length||function(){e.cre

ateElement("a");var t=e.createDocumentFragment();return"undefined"==typeof t.clo


neNode||"undefined"==typeof t.createDocumentFragment||"undefined"==typeof t.crea
teElement}()}catch(n){u=!0,l=!0}}();var b={elements:h.elements||"abbr article as
ide audio bdi canvas data datalist details dialog figcaption figure footer heade
r hgroup main mark meter nav output progress section summary template time video
",version:d,shivCSS:h.shivCSS!==!1,supportsUnknownElements:l,shivMethods:h.shivM
ethods!==!1,type:"default",shivDocument:c,createElement:o,createDocumentFragment
:s};t.html5=b,c(e)}(this,e),p._version=h,p._prefixes=v,p._domPrefixes=k,p._cssom
Prefixes=w,p.testProp=function(t){return s([t])},p.testAllProps=c,p.testStyles=C
,p.prefixed=function(t,e,n){return e?c(t,e,n):c(t,"pfx")},f.className=f.classNam
e.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(_?" js "+S.join(" "):""),p}(this,this.doc
ument),function(t,e,n){function i(t){return"[object Function]"==g.call(t)}functi
on r(t){return"string"==typeof t}function o(){}function s(t){return!t||"loaded"=
=t||"complete"==t||"uninitialized"==t}function a(){var t=m.shift();b=1,t?t.t?_(f
unction(){("c"==t.t?h.injectCss:h.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),a()):b
=0}function c(t,n,i,r,o,c,u){function l(e){if(!p&&s(d.readyState)&&(v.r=p=1,!b&&
a(),d.onload=d.onreadystatechange=null,e)){"img"!=t&&_(function(){w.removeChild(
d)},50);for(var i in C[n])C[n].hasOwnProperty(i)&&C[n][i].onload()}}var u=u||h.e
rrorTimeout,d=e.createElement(t),p=0,g=0,v={t:i,s:n,e:o,a:c,x:u};1===C[n]&&(g=1,
C[n]=[]),"object"==t?d.data=n:(d.src=n,d.type=t),d.width=d.height="0",d.onerror=
d.onload=d.onreadystatechange=function(){l.call(this,g)},m.splice(r,0,v),"img"!=
t&&(g||2===C[n]?(w.insertBefore(d,y?null:f),_(l,u)):C[n].push(d))}function u(t,e
,n,i,o){return b=0,e=e||"j",r(t)?c("c"==e?x:k,t,e,this.i++,n,i,o):(m.splice(this
.i++,0,t),1==m.length&&a()),this}function l(){var t=h;return t.loader={load:u,i:
0},t}var d,h,p=e.documentElement,_=t.setTimeout,f=e.getElementsByTagName("script
")[0],g={}.toString,m=[],b=0,v="MozAppearance"in p.style,y=v&&!!e.createRange().
compareNode,w=y?p:f.parentNode,p=t.opera&&"[object Opera]"==g.call(t.opera),p=!!
e.attachEvent&&!p,k=v?"object":p?"script":"img",x=p?"script":k,S=Array.isArray||
function(t){return"[object Array]"==g.call(t)},E=[],C={},T={timeout:function(t,e
){return e.length&&(t.timeout=e[0]),t}};h=function(t){function e(t){var e,n,i,t=
t.split("!"),r=E.length,o=t.pop(),s=t.length,o={url:o,origUrl:o,prefixes:t};for(
n=0;s>n;n++)i=t[n].split("="),(e=T[i.shift()])&&(o=e(o,i));for(n=0;r>n;n++)o=E[n
](o);return o}function s(t,r,o,s,a){var c=e(t),u=c.autoCallback;c.url.split(".")
.pop().split("?").shift(),c.bypass||(r&&(r=i(r)?r:r[t]||r[s]||r[t.split("/").pop
().split("?")[0]]),c.instead?c.instead(t,r,o,s,a):(C[c.url]?c.noexec=!0:C[c.url]
=1,o.load(c.url,c.forceCSS||!c.forceJS&&"css"==c.url.split(".").pop().split("?")
.shift()?"c":n,c.noexec,c.attrs,c.timeout),(i(r)||i(u))&&o.load(function(){l(),r
&&r(c.origUrl,a,s),u&&u(c.origUrl,a,s),C[c.url]=2})))}function a(t,e){function n
(t,n){if(t){if(r(t))n||(d=function(){var t=[].slice.call(arguments);h.apply(this
,t),p()}),s(t,d,e,0,u);else if(Object(t)===t)for(c in a=function(){var e,n=0;for
(e in t)t.hasOwnProperty(e)&&n++;return n}(),t)t.hasOwnProperty(c)&&(!n&&!--a&&(
i(d)?d=function(){var t=[].slice.call(arguments);h.apply(this,t),p()}:d[c]=funct
ion(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),p()}}
(h[c])),s(t[c],d,e,c,u))}else!n&&p()}var a,c,u=!!t.test,l=t.load||t.both,d=t.cal
lback||o,h=d,p=t.complete||o;n(u?t.yep:t.nope,!!l),l&&n(l)}var c,u,d=this.yepnop
e.loader;if(r(t))s(t,0,d,0);else if(S(t))for(c=0;c<t.length;c++)u=t[c],r(u)?s(u,
0,d,0):S(u)?h(u):Object(u)===u&&a(u,d);else Object(t)===t&&a(t,d)},h.addPrefix=f
unction(t,e){T[t]=e},h.addFilter=function(t){E.push(t)},h.errorTimeout=1e4,null=
=e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("D
OMContentLoaded",d=function(){e.removeEventListener("DOMContentLoaded",d,0),e.re
adyState="complete"},0)),t.yepnope=l(),t.yepnope.executeStack=a,t.yepnope.inject
Js=function(t,n,i,r,c,u){var l,d,p=e.createElement("script"),r=r||h.errorTimeout
;p.src=t;for(d in i)p.setAttribute(d,i[d]);n=u?a:n||o,p.onreadystatechange=p.onl
oad=function(){!l&&s(p.readyState)&&(l=1,n(),p.onload=p.onreadystatechange=null)
},_(function(){l||(l=1,n(1))},r),c?p.onload():f.parentNode.insertBefore(p,f)},t.
yepnope.injectCss=function(t,n,i,r,s,c){var u,r=e.createElement("link"),n=c?a:n|
|o;r.href=t,r.rel="stylesheet",r.type="text/css";for(u in i)r.setAttribute(u,i[u
]);s||(f.parentNode.insertBefore(r,f),_(n,0))}}(this,document),Modernizr.load=fu
nction(){yepnope.apply(window,[].slice.call(arguments,0))};

/* public/javascripts/jquery.parsequery.js @ 1478902339 */
/**
* Copyright (c) 2010 Conrad Irwin <conrad@rapportive.com> MIT license.
* Based loosely on original: Copyright (c) 2008 mkmanning MIT license.
*
* Parses CGI query strings into javascript objects.
*
* See the README for details.
**/
!function(t){t.parseQuery=function(e){var n={query:window.location.search||""},i
={};return"string"==typeof e&&(e={query:e}),t.extend(n,t.parseQuery,e),n.query=n
.query.replace(/^\?/,""),n.query.length>0&&t.each(n.query.split(n.separator),fun
ction(t,e){var r=e.split("="),o=n.decode(r.shift(),null).toString(),s=n.decode(r
.length?r.join("="):null,o);(n.array_keys.test?n.array_keys.test(o):n.array_keys
(o))?(i[o]=i[o]||[],i[o].push(s)):i[o]=s}),i},t.parseQuery.decode=t.parseQuery.d
efault_decode=function(t){return decodeURIComponent((t||"").replace(/\+/g," "))}
,t.parseQuery.array_keys=function(){return!1},t.parseQuery.separator="&"}(window
.jQuery||window.Zepto);
/* public/javascripts/jquery.dotdotdot.js @ 1478902339 */
/*
*
jQuery dotdotdot 1.5.6
*
*
Copyright (c) 2013 Fred Heusschen
*
www.frebsite.nl
*
*
Plugin website:
*
dotdotdot.frebsite.nl
*
*
Dual licensed under the MIT and GPL licenses.
*
http://en.wikipedia.org/wiki/MIT_License
*
http://en.wikipedia.org/wiki/GNU_General_Public_License
*/
!function(t){function e(t,e,n){var i=t.children(),o=!1;t.empty();for(var s=0,a=i
.length;a>s;s++){var c=i.eq(s);if(t.append(c),n&&t.append(n),r(t,e)){c.remove(),
o=!0;break}n&&n.remove()}return o}function n(e,o,s,a,c){var u=e.contents(),l=!1;
e.empty();for(var d="table, thead, tbody, tfoot, tr, col, colgroup, object, embe
d, param, ol, ul, dl, select, optgroup, option, textarea, script, style",h=0,p=u
.length;p>h&&!l;h++){var _=u[h],f=t(_);"undefined"!=typeof _&&(e.append(f),c&&e[
e.is(d)?"after":"append"](c),3==_.nodeType?r(s,a)&&(l=i(f,o,s,a,c)):l=n(f,o,s,a,
c),l||c&&c.remove())}return l}function i(t,e,n,s,u){var l=!1,d=t[0];if("undefine
d"==typeof d)return!1;for(var h="letter"==s.wrap?"":" ",p=c(d).split(h),_=-1,f=1,g=0,m=p.length-1;m>=g;){var b=Math.floor((g+m)/2);if(b==f)break;f=b,a(d,p.slic
e(0,f+1).join(h)+s.ellipsis),r(n,s)?m=f:(_=f,g=f)}if(-1==_||1==p.length&&0==p[0]
.length){var v=t.parent();t.remove();var y=u?u.length:0;if(v.contents().size()>y
){var w=v.contents().eq(-1-y);l=i(w,e,n,s,u)}else{var d=v.prev().contents().eq(1)[0];if("undefined"!=typeof d){var k=o(c(d),s);a(d,k),v.remove(),l=!0}}}else{va
r k=o(p.slice(0,_+1).join(h),s);l=!0,a(d,k)}return l}function r(t,e){return t.in
nerHeight()>e.maxHeight}function o(e,n){for(;t.inArray(e.slice(-1),n.lastCharact
er.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),n.lastCharacter.noEl
lipsis)<0&&(e+=n.ellipsis),e}function s(t){return{width:t.innerWidth(),height:t.
innerHeight()}}function a(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue
=e:t.textContent&&(t.textContent=e)}function c(t){return t.innerText?t.innerText
:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function u(e,n){return"u
ndefined"==typeof e?!1:e?"string"==typeof e?(e=t(e,n),e.length?e:!1):"object"==t
ypeof e?"undefined"==typeof e.jquery?!1:e:!1:!1}function l(t){for(var e=t.innerH
eight(),n=["paddingTop","paddingBottom"],i=0,r=n.length;r>i;i++){var o=parseInt(
t.css(n[i]),10);isNaN(o)&&(o=0),e-=o}return e}function d(t,e){return t?(e="strin

g"==typeof e?"dotdotdot: "+e:["dotdotdot:",e],"undefined"!=typeof window.console


&&"undefined"!=typeof window.console.log&&window.console.log(e),!1):!1}if(!t.fn.
dotdotdot){t.fn.dotdotdot=function(i){if(0==this.length)return d(!0,'No element
found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function
(){t(this).dotdotdot(i)});var o=this;o.data("dotdotdot")&&o.trigger("destroy.dot
"),o.bind_events=function(){return o.bind("update.dot",function(i,s){i.preventDe
fault(),i.stopPropagation(),c.maxHeight="number"==typeof c.height?c.height:l(o),
c.maxHeight+=c.tolerance,"undefined"!=typeof s&&(("string"==typeof s||s instance
of HTMLElement)&&(s=t("<div />").append(s).contents()),s instanceof t&&(a=s)),g=
o.wrapInner('<div class="dotdotdot" />').children(),g.empty().append(a.clone(!0)
).css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var u=!1,d=
!1;return p.afterElement&&(u=p.afterElement.clone(!0),p.afterElement.remove()),r
(g,c)&&(d="children"==c.wrap?e(g,c,u):n(g,o,g,c,u)),g.replaceWith(g.contents()),
g=null,t.isFunction(c.callback)&&c.callback.call(o[0],d,a),p.isTruncated=d,d}).b
ind("isTruncated.dot",function(t,e){return t.preventDefault(),t.stopPropagation(
),"function"==typeof e&&e.call(o[0],p.isTruncated),p.isTruncated}).bind("origina
lContent.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"funct
ion"==typeof e&&e.call(o[0],a),a}).bind("destroy.dot",function(t){t.preventDefau
lt(),t.stopPropagation(),o.unwatch().unbind_events().empty().append(a).data("dot
dotdot",!1)}),o},o.unbind_events=function(){return o.unbind(".dot"),o},o.watch=f
unction(){if(o.unwatch(),"window"==c.watch){var e=t(window),n=e.width(),i=e.heig
ht();e.bind("resize.dot"+p.dotId,function(){n==e.width()&&i==e.height()&&c.windo
wResizeFix||(n=e.width(),i=e.height(),f&&clearInterval(f),f=setTimeout(function(
){o.trigger("update.dot")},10))})}else _=s(o),f=setInterval(function(){var t=s(o
);(_.width!=t.width||_.height!=t.height)&&(o.trigger("update.dot"),_=s(o))},100)
;return o},o.unwatch=function(){return t(window).unbind("resize.dot"+p.dotId),f&
&clearInterval(f),o};var a=o.contents(),c=t.extend(!0,{},t.fn.dotdotdot.defaults
,i),p={},_={},f=null,g=null;return p.afterElement=u(c.after,o),p.isTruncated=!1,
p.dotId=h++,o.data("dotdotdot",!0).bind_events().trigger("update.dot"),c.watch&&
o.watch(),o},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",lastCharacter:
{remove:[" ",",",";",".","!","?"],noEllipsis:[]},tolerance:0,callback:null,after
:null,height:null,watch:!1,windowResizeFix:!0,debug:!1};var h=1,p=t.fn.html;t.fn
.html=function(t){return"undefined"!=typeof t?this.data("dotdotdot")&&"function"
!=typeof t?this.trigger("update",[t]):p.call(this,t):p.call(this)};var _=t.fn.te
xt;t.fn.text=function(e){if("undefined"!=typeof e){if(this.data("dotdotdot")){va
r n=t("<div />");return n.text(e),e=n.html(),n.remove(),this.trigger("update",[e
])}return _.call(this,e)}return _.call(this)}}}(jQuery);
/* public/javascripts/jquery.inview.js @ 1478902339 */
!function(t){function e(){var e,n,i={height:u.innerHeight,width:u.innerWidth};re
turn i.height||(e=c.compatMode,(e||!t.support.boxModel)&&(n="CSS1Compat"===e?l:c
.body,i={height:n.clientHeight,width:n.clientWidth})),i}function n(){return{top:
u.pageYOffset||l.scrollTop||c.body.scrollTop,left:u.pageXOffset||l.scrollLeft||c
.body.scrollLeft}}function i(){var i,s=t(),c=0;if(t.each(a,function(t,e){var n=e
.data.selector,i=e.$element;s=s.add(n?i.find(n):i)}),i=s.length)for(r=r||e(),o=o
||n();i>c;c++)if(t.contains(l,s[c])){var u,d,h,p=t(s[c]),_={height:p.height(),wi
dth:p.width()},f=p.offset(),g=p.data("inview");if(!o||!r)return;f.top+_.height>o
.top&&f.top<o.top+r.height&&f.left+_.width>o.left&&f.left<o.left+r.width?(u=o.le
ft>f.left?"right":o.left+r.width<f.left+_.width?"left":"both",d=o.top>f.top?"bot
tom":o.top+r.height<f.top+_.height?"top":"both",h=u+"-"+d,g&&g===h||p.data("invi
ew",h).trigger("inview",[!0,u,d])):g&&p.data("inview",!1).trigger("inview",[!1])
}}var r,o,s,a={},c=document,u=window,l=c.documentElement,d=t.expando;t.event.spe
cial.inview={add:function(e){a[e.guid+"-"+this[d]]={data:e,$element:t(this)},s||
t.isEmptyObject(a)||(s=setInterval(i,250))},remove:function(e){try{delete a[e.gu
id+"-"+this[d]]}catch(n){}t.isEmptyObject(a)&&(clearInterval(s),s=null)},run:fun
ction(){i()}},t(u).bind("scroll resize",function(){r=o=null}),!l.addEventListene
r&&l.attachEvent&&l.attachEvent("onfocusin",function(){o=null})}(jQuery);

/* public/javascripts/jquery.sticky-kit.js @ 1478902339 */
(function(){var t,e;t=this.jQuery||window.jQuery,e=t(window),t.fn.stick_in_paren
t=function(n){var i,r,o,s,a,c,u,l,d,h,p,_;for(null==n&&(n={}),_=n.sticky_class,c
=n.inner_scrolling,p=n.recalc_every,h=n.parent,d=n.offset_top,l=n.spacer,o=n.bot
toming,null==d&&(d=0),null==h&&(h=void 0),null==c&&(c=!0),null==_&&(_="is_stuck"
),i=t(document),null==o&&(o=!0),s=function(n,r,s,a,u,f,g,m){var b,v,y,w,k,x,S,E,
C,T,A,N;if(!n.data("sticky_kit")){if(n.data("sticky_kit",!0),k=i.height(),S=n.pa
rent(),null!=h&&(S=S.closest(h)),!S.length)throw"failed to find stick parent";if
(y=!1,b=!1,A=null!=l?l&&n.closest(l):t("<div />"),A&&A.css("position",n.css("pos
ition")),E=function(){var t,e,o;if(!m)return k=i.height(),t=parseInt(S.css("bord
er-top-width"),10),e=parseInt(S.css("padding-top"),10),r=parseInt(S.css("padding
-bottom"),10),s=S.offset().top+t+e,a=S.height(),y&&(y=!1,b=!1,null==l&&(n.insert
After(A),A.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(
_),o=!0),u=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-d,f=n.outerHeigh
t(!0),g=n.css("float"),A&&A.css({width:n.outerWidth(!0),height:f,display:n.css("
display"),"vertical-align":n.css("vertical-align"),"float":g}),o?N():void 0},E()
,f!==a)return w=void 0,x=d,T=p,N=function(){var t,h,v,C,N,O;if(!m)return v=!1,nu
ll!=T&&(T-=1,0>=T&&(T=p,E(),v=!0)),v||i.height()===k||(E(),v=!0),C=e.scrollTop()
,null!=w&&(h=C-w),w=C,y?(o&&(N=C+f+x>a+s,b&&!N&&(b=!1,n.css({position:"fixed",bo
ttom:"",top:x}).trigger("sticky_kit:unbottom"))),u>C&&(y=!1,x=d,null==l&&(("left
"===g||"right"===g)&&n.insertAfter(A),A.detach()),t={position:"",width:"",top:""
},n.css(t).removeClass(_).trigger("sticky_kit:unstick")),c&&(O=e.height(),f+d>O&
&(b||(x-=h,x=Math.max(O-f,x),x=Math.min(d,x),y&&n.css({top:x+"px"}))))):C>u&&(y=
!0,t={position:"fixed",top:x},t.width="border-box"===n.css("box-sizing")?n.outer
Width()+"px":n.width()+"px",n.css(t).addClass(_),null==l&&(n.after(A),("left"===
g||"right"===g)&&A.append(n)),n.trigger("sticky_kit:stick")),y&&o&&(null==N&&(N=
C+f+x>a+s),!b&&N)?(b=!0,"static"===S.css("position")&&S.css({position:"relative"
}),n.css({position:"absolute",bottom:r,top:"auto"}).trigger("sticky_kit:bottom")
):void 0},C=function(){return E(),N()},v=function(){return m=!0,e.off("touchmove
",N),e.off("scroll",N),e.off("resize",C),t(document.body).off("sticky_kit:recalc
",C),n.off("sticky_kit:detach",v),n.removeData("sticky_kit"),n.css({position:"",
bottom:"",top:"",width:""}),S.position("position",""),y?(null==l&&(("left"===g||
"right"===g)&&n.insertAfter(A),A.remove()),n.removeClass(_)):void 0},e.on("touch
move",N),e.on("scroll",N),e.on("resize",C),t(document.body).on("sticky_kit:recal
c",C),n.on("sticky_kit:detach",v),setTimeout(N,0)}},a=0,u=this.length;u>a;a++)r=
this[a],s(t(r));return this}}).call(this);
/* public/javascripts/seedrandom.js @ 1478902339 */
/**
seedrandom.js
=============
Seeded random number generator for Javascript.
version 2.3.10
Author: David Bau
Date: 2014 Sep 20
Can be used as a plain script, a node.js module or an AMD module.
Script tag usage
---------------<script src=//cdnjs.cloudflare.com/ajax/libs/seedrandom/2.3.10/seedrandom.min.js
>
</script>
// Sets Math.random to a PRNG initialized using the given explicit seed.

Math.seedrandom('hello.');
console.log(Math.random());
console.log(Math.random());

// Always 0.9282578795792454
// Always 0.3752569768646784

// Sets Math.random to an ARC4-based PRNG that is autoseeded using the


// current time, dom state, and other accumulated local entropy.
// The generated seed string is returned.
Math.seedrandom();
console.log(Math.random());
// Reasonably unpredictable.
// Seeds using the given explicit seed mixed with accumulated entropy.
Math.seedrandom('added entropy.', { entropy: true });
console.log(Math.random());
// As unpredictable as added entropy.
// Use "new" to create a local prng without altering Math.random.
var myrng = new Math.seedrandom('hello.');
console.log(myrng());
// Always 0.9282578795792454
Node.js usage
------------npm install seedrandom
// Local PRNG: does not affect Math.random.
var seedrandom = require('seedrandom');
var rng = seedrandom('hello.');
console.log(rng());
// Always 0.9282578795792454
// Autoseeded ARC4-based PRNG.
rng = seedrandom();
console.log(rng());

// Reasonably unpredictable.

// Global PRNG: set Math.random.


seedrandom('hello.', { global: true });
console.log(Math.random());
// Always 0.9282578795792454
// Mixing accumulated entropy.
rng = seedrandom('added entropy.', { entropy: true });
console.log(rng());
// As unpredictable as added entropy.
Require.js usage
---------------Similar to node.js usage:
bower install seedrandom
require(['seedrandom'], function(seedrandom) {
var rng = seedrandom('hello.');
console.log(rng());
// Always 0.9282578795792454
});
Network seeding
--------------<script src=//cdnjs.cloudflare.com/ajax/libs/seedrandom/2.3.10/seedrandom.min.js
>

</script>
<!-- Seeds using urandom bits from a server. -->
<script src=//jsonlib.appspot.com/urandom?callback=Math.seedrandom">
</script>
<!-- Seeds mixing in random.org bits -->
<script>
(function(x, u, s){
try {
// Make a synchronous request to random.org.
x.open('GET', u, false);
x.send();
s = unescape(x.response.trim().replace(/^|\s/g, '%'));
} finally {
// Seed with the response, or autoseed on failure.
Math.seedrandom(s, !!s);
}
})(new XMLHttpRequest, 'https://www.random.org/integers/' +
'?num=256&min=0&max=255&col=1&base=16&format=plain&rnd=new');
</script>
Reseeding using user input
-------------------------var seed = Math.seedrandom();
document.write(Math.random());

// Use prng with an automatic seed.


// Pretty much unpredictable x.

var rng = new Math.seedrandom(seed); // A new prng with the same seed.
document.write(rng());
// Repeat the 'unpredictable' x.
function reseed(event, count) {
// Define a custom entropy collector.
var t = [];
function w(e) {
t.push([e.pageX, e.pageY, +new Date]);
if (t.length &lt; count) { return; }
document.removeEventListener(event, w);
Math.seedrandom(t, { entropy: true });
}
document.addEventListener(event, w);
}
reseed('mousemove', 100);
// Reseed after 100 mouse moves.
The "pass" option can be used to get both the prng and the seed.
The following returns both an autoseeded prng and the seed as an object,
without mutating Math.random:
var obj = Math.seedrandom(null, { pass: function(prng, seed) {
return { random: prng, seed: seed };
}});
Version notes
------------The random number sequence is the same as version 1.0 for string seeds.
* Version 2.0 changed the sequence for non-string seeds.
* Version 2.1 speeds seeding and uses window.crypto to autoseed if present.
* Version 2.2 alters non-crypto autoseeding to sweep up entropy from plugins.
* Version 2.3 adds support for "new", module loading, and a null seed arg.

*
*
*
*

Version
Version
Version
Version

2.3.1 adds a build environment, module packaging, and tests.


2.3.4 fixes bugs on IE8, and switches to MIT license.
2.3.6 adds a readable options object argument.
2.3.10 adds support for node.js crypto (contributed by ctd1500).

The standard ARC4 key scheduler cycles short keys, which means that
seedrandom('ab') is equivalent to seedrandom('abab') and 'ababab'.
Therefore it is a good idea to add a terminator to avoid trivial
equivalences on short string seeds, e.g., Math.seedrandom(str + '\0').
Starting with version 2.0, a terminator is added automatically for
non-string seeds, so seeding with the number 111 is the same as seeding
with '111\0'.
When seedrandom() is called with zero args or a null seed, it uses a
seed drawn from the browser crypto object if present. If there is no
crypto support, seedrandom() uses the current time, the native rng,
and a walk of several DOM objects to collect a few bits of entropy.
Each time the one- or two-argument forms of seedrandom are called,
entropy from the passed seed is accumulated in a pool to help generate
future seeds for the zero- and two-argument forms of seedrandom.
On speed - This javascript implementation of Math.random() is several
times slower than the built-in Math.random() because it is not native
code, but that is typically fast enough. Some details (timings on
Chrome 25 on a 2010 vintage macbook):
*
*
*
*

seeded Math.random()
seedrandom('explicit.')
seedrandom('explicit.', true)
seedrandom() with crypto

avg
avg
avg
avg

less
less
less
less

than
than
than
than

0.0002 milliseconds per call


0.2 milliseconds per call
0.2 milliseconds per call
0.2 milliseconds per call

Autoseeding without crypto is somewhat slower, about 20-30 milliseconds on


a 2012 windows 7 1.5ghz i5 laptop, as seen on Firefox 19, IE 10, and Opera.
Seeded rng calls themselves are fast across these browsers, with slowest
numbers on Opera at about 0.0005 ms per seeded Math.random().
LICENSE (MIT)
------------Copyright 2014 David Bau.
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.


*/
!function(t,e,n,i,r,o,s,a,c){function u(t){var e,n=t.length,r=this,o=0,s=r.i=r.j
=0,a=r.S=[];for(n||(t=[n++]);i>o;)a[o]=o++;for(o=0;i>o;o++)a[o]=a[s=b&s+t[o%n]+(
e=a[o])],a[s]=e;(r.g=function(t){for(var e,n=0,o=r.i,s=r.j,a=r.S;t--;)e=a[o=b&o+
1],n=n*i+a[b&(a[o]=a[s=b&s+e])+(a[s]=e)];return r.i=o,r.j=s,n})(i)}function l(t,
e){var n,i=[],r=typeof t;if(e&&"object"==r)for(n in t)try{i.push(l(t[n],e-1))}ca
tch(o){}return i.length?i:"string"==r?t:t+"\x00"}function d(t,e){for(var n,i=t+"
",r=0;r<i.length;)e[b&r]=b&(n^=19*e[b&r])+i.charCodeAt(r++);return p(e)}function
h(n){try{return _?p(_.randomBytes(i)):(t.crypto.getRandomValues(n=new Uint8Arra
y(i)),p(n))}catch(r){return[+new Date,t,(n=t.navigator)&&n.plugins,t.screen,p(e)
]}}function p(t){return String.fromCharCode.apply(0,t)}var _,f=n.pow(i,r),g=n.po
w(2,o),m=2*g,b=i-1,v=n["seed"+c]=function(t,o,s){var a=[];o=1==o?{entropy:!0}:o|
|{};var _=d(l(o.entropy?[t,p(e)]:null==t?h():t,3),a),b=new u(a);return d(p(b.S),
e),(o.pass||s||function(t,e,i){return i?(n[c]=t,e):t})(function(){for(var t=b.g(
r),e=f,n=0;g>t;)t=(t+n)*i,e*=i,n=b.g(1);for(;t>=m;)t/=2,e/=2,n>>>=1;return(t+n)/
e},_,"global"in o?o.global:this==n)};if(d(n[c](),e),s&&s.exports){s.exports=v;tr
y{_=require("crypto")}catch(y){}}else a&&a.amd&&a(function(){return v})}(this,[]
,Math,256,6,52,"object"==typeof module&&module,"function"==typeof define&&define
,"random");
/* public/javascripts/intro.js @ 1478902339 */
/**
* Intro.js v0.8.0
* https://github.com/usablica/intro.js
* MIT licensed
*
* Copyright (C) 2013 usabli.ca - A weekend project by Afshin Mehrabani (@afshin
meh)
* Modified by conanbatt - https://github.com/conanbatt/intro.js
*/
!function(t,e){"object"==typeof exports?e(exports):"function"==typeof define&&de
fine.amd?define(["exports"],e):e(t)}(this,function(t){function e(t){this._target
Element=t,this._options={firstNextLabel:"Learn more",nextLabel:"Next",prevLabel:
"&larr; Back",skipLabel:"No Thanks",doneLabel:"Finish Tour",tooltipPosition:"bot
tom",tooltipClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!0,keybo
ardNavigation:!0,showButtons:!0,showBullets:!0,scrollToElement:!0,custom_element
:"",introName:"",cssClasses:"",positioningOffset:0}}function n(t){var e=[],n=thi
s;if(this._options.steps)for(var r=[],c=0,l=this._options.steps.length;l>c;c++){
var d=i(this._options.steps[c]);if(d.step=e.length+1,"string"==typeof d.element&
&(d.element=document.querySelector(d.element)),"undefined"==typeof d.element||nu
ll==d.element){var h=document.querySelector(".introjsFloatingElement");null==h&&
(h=document.createElement("div"),h.className="introjsFloatingElement",document.b
ody.appendChild(h)),d.element=h,d.position="floating"}null!=d.element&&e.push(d)
}else{var r=t.querySelectorAll("*[data-intro]");if(r.length<1)return!1;for(var c
=0,p=r.length;p>c;c++){var f=r[c],g=parseInt(f.getAttribute("data-step"),10);g>0
&&(e[g-1]={element:f,intro:f.getAttribute("data-intro"),step:parseInt(f.getAttri
bute("data-step"),10),tooltipClass:f.getAttribute("data-tooltipClass"),position:
f.getAttribute("data-position")||this._options.tooltipPosition})}for(var m=0,c=0
,p=r.length;p>c;c++){var f=r[c];if(null==f.getAttribute("data-step")){for(;;){if
("undefined"==typeof e[m])break;m++}e[m]={element:f,intro:f.getAttribute("data-i
ntro"),step:m+1,tooltipClass:f.getAttribute("data-tooltipClass"),position:f.getA
ttribute("data-position")||this._options.tooltipPosition}}}}for(var b=[],v=0;v<e
.length;v++)e[v]&&b.push(e[v]);if(e=b,e.sort(function(t,e){return t.step-e.step}
),n._introItems=e,_.call(n,t)){o.call(n);{t.querySelector(".introjs-skipbutton")
,t.querySelector(".introjs-nextbutton")}n._onKeyDown=function(e){27===e.keyCode&
&1==n._options.exitOnEsc?(a.call(n,t),void 0!=n._introExitCallback&&n._introExit
Callback.call(n)):37===e.keyCode?s.call(n):(39===e.keyCode||13===e.keyCode)&&(o.

call(n),e.preventDefault?e.preventDefault():e.returnValue=!1)},n._onResize=funct
ion(){u.call(n,document.querySelector(".introjs-helperLayer"))},window.addEventL
istener?(this._options.keyboardNavigation&&window.addEventListener("keydown",n._
onKeyDown,!0),window.addEventListener("resize",n._onResize,!0)):document.attachE
vent&&(this._options.keyboardNavigation&&document.attachEvent("onkeydown",n._onK
eyDown),document.attachEvent("onresize",n._onResize))}return!1}function i(t){if(
null==t||"object"!=typeof t||"undefined"!=typeof t.nodeType)return t;var e={};fo
r(var n in t)e[n]=i(t[n]);return e}function r(t){this._currentStep=t-2,"undefine
d"!=typeof this._introItems&&o.call(this)}function o(){if(this._direction="forwa
rd","undefined"==typeof this._currentStep?this._currentStep=0:++this._currentSte
p,this._introItems.length<=this._currentStep)return Scribd.track_event(this._opt
ions.introName,"complete",this._currentStep),"function"==typeof this._introCompl
eteCallback&&this._introCompleteCallback.call(this),void a.call(this,this._targe
tElement);var t=this._introItems[this._currentStep];"undefined"!=typeof this._in
troBeforeChangeCallback&&this._introBeforeChangeCallback.call(this,t.element),Sc
ribd.track_event(this._options.introName,"view",this._currentStep),l.call(this,t
)}function s(){if(this._direction="backward",0===this._currentStep)return!1;var
t=this._introItems[--this._currentStep];"undefined"!=typeof this._introBeforeCha
ngeCallback&&this._introBeforeChangeCallback.call(this,t.element),l.call(this,t)
}function a(t){Scribd.track_event(this._options.introName,"exit",this._currentSt
ep);var e=t.querySelector(".introjs-overlay");if(null!=e){e.style.opacity=0,setT
imeout(function(){e.parentNode&&e.parentNode.removeChild(e)},500);var n=t.queryS
elector(".introjs-helperLayer");n&&n.parentNode.removeChild(n);var i=t.querySele
ctor(".introjs-blockerLayer");i&&i.parentNode.removeChild(i);var r=document.quer
ySelector(".introjsFloatingElement");r&&r.parentNode.removeChild(r);var o=docume
nt.querySelector(".introjs-showElement");o&&(o.className=o.className.replace(/in
trojs-[a-zA-Z]+/g,"").replace(/^\s+|\s+$/g,""));var s=document.querySelectorAll(
".introjs-fixParent");if(s&&s.length>0)for(var a=s.length-1;a>=0;a--)s[a].classN
ame=s[a].className.replace(/introjs-fixParent/g,"").replace(/^\s+|\s+$/g,"");win
dow.removeEventListener?window.removeEventListener("keydown",this._onKeyDown,!0)
:document.detachEvent&&document.detachEvent("onkeydown",this._onKeyDown),this._c
urrentStep=void 0}}function c(t,e,n,i){if(e.style.top=null,e.style.right=null,e.
style.bottom=null,e.style.left=null,e.style.marginLeft=null,e.style.marginTop=nu
ll,n.style.display="inherit","undefined"!=typeof i&&null!=i&&(i.style.top=null,i
.style.left=null),this._introItems[this._currentStep]){var r="",o=this._introIte
ms[this._currentStep];r="string"==typeof o.tooltipClass?o.tooltipClass:this._opt
ions.tooltipClass,e.className=("introjs-tooltip "+r).replace(/^\s+|\s+$/g,"");va
r r=this._options.tooltipClass,s=this._introItems[this._currentStep].position;sw
itch(s){case"top":e.style.left="15px",e.style.top="-"+(f(e).height+10+this._opti
ons.positioningOffset)+"px",n.className="introjs-arrow bottom";break;case"right"
:e.style.left=f(t).width+20+(this._options.positioningOffset-10)+"px",n.classNam
e="introjs-arrow left",f(e).top<0&&(e.style.top=Math.abs(f(e).top)+5+"px");break
;case"left":1==this._options.showStepNumbers&&(e.style.top="15px"),e.style.right
=f(t).width+20+(this._options.positioningOffset-10)+"px",n.className="introjs-ar
row right",f(e).top<0&&(e.style.top=Math.abs(f(e).top)+5+"px");break;case"floati
ng":n.style.display="none";var a=f(e);e.style.left="50%",e.style.top="50%",e.sty
le.marginLeft="-"+a.width/2+"px",e.style.marginTop="-"+a.height/2+"px","undefine
d"!=typeof i&&null!=i&&(i.style.left="-"+(a.width/2+18)+"px",i.style.top="-"+(a.
height/2+18)+"px");break;case"bottom":default:e.style.bottom="-"+(f(e).height+10
+this._options.positioningOffset)+"px",n.className="introjs-arrow top"}}}functio
n u(t){if(t){if(!this._introItems[this._currentStep])return;var e=this._introIte
ms[this._currentStep],n=f(e.element),i=10;"floating"==e.position&&(i=0);var r=-2
;if(n.width+i==0&&(r=0),t.setAttribute("style","width: "+(n.width+i+r)+"px; heig
ht:"+(n.height+i)+"px; top:"+(n.top-5)+"px;left: "+(n.left-5)+"px;"),1!=t.previo
usSibling.className.indexOf("introjs-blockerLayer")){var o=t.previousSibling;o.c
lassName=this._introItems[this._currentStep].block_interaction?"introjs-blockerL
ayer enable "+this._options.cssClasses:"introjs-blockerLayer "+this._options.css
Classes,o.setAttribute("style","width: "+(n.width+i+r)+"px; height:"+(n.height+i
)+"px; top:"+(n.top-5)+"px;left: "+(n.left-5)+"px;")}}}function l(t){"undefined"
!=typeof this._introChangeCallback&&this._introChangeCallback.call(this,t.elemen

t);{var e=this,n=document.querySelector(".introjs-helperLayer");f(t.element)}if(
null!=n){var i=n.querySelector(".introjs-helperNumberLayer"),r=n.querySelector("
.introjs-tooltiptext"),l=n.querySelector(".introjs-arrow"),_=n.querySelector(".i
ntrojs-scribd-image"),g=n.querySelector(".introjs-scribd-title div"),m=n.querySe
lector(".introjs-tooltip"),b=n.querySelector(".introjs-skipbutton"),v=n.querySel
ector(".introjs-prevbutton"),y=n.querySelector(".introjs-close"),w=n.querySelect
or(".introjs-nextbutton");if(m.style.opacity=0,null!=i){var k=this._introItems[t
.step-2>=0?t.step-2:0];(null!=k&&"forward"==this._direction&&"floating"==k.posit
ion||"backward"==this._direction&&"floating"==t.position)&&(i.style.opacity=0)}u
.call(e,n);var x=document.querySelectorAll(".introjs-fixParent");if(x&&x.length>
0)for(var S=x.length-1;S>=0;S--)x[S].className=x[S].className.replace(/introjs-f
ixParent/g,"").replace(/^\s+|\s+$/g,"");var E=document.querySelector(".introjs-s
howElement");E.className=E.className.replace(/introjs-[a-zA-Z]+/g,"").replace(/^
\s+|\s+$/g,""),e._lastShowElementTimer&&clearTimeout(e._lastShowElementTimer),e.
_lastShowElementTimer=setTimeout(function(){null!=i&&(i.innerHTML=t.step),r.inne
rHTML=t.intro,c.call(e,t.element,m,l,i),n.querySelector(".introjs-bullets li > a
.active").className="",n.querySelector('.introjs-bullets li > a[data-stepnumber=
"'+t.step+'"]').className="active",m.style.opacity=1,n.style.opacity=1,t.image_p
ath&&_?(_.src=t.image_path,_.style.display="inherit"):_.style.display="none",g.i
nnerHTML=t.title||this._options.feature_title},650)}else{var C=document.createEl
ement("div"),T=document.createElement("div"),A=document.createElement("div"),N=d
ocument.createElement("img"),O=document.createElement("div"),j=document.createEl
ement("div"),$=document.createElement("div"),M=document.createElement("div"),P=d
ocument.createElement("div");C.className="introjs-helperLayer "+this._options.cs
sClasses,T.className="introjs-blockerLayer",this._targetElement.appendChild(T),t
his._targetElement.appendChild(C),u.call(e,C),O.className="introjs-arrow",$.clas
sName="introjs-tooltiptext",$.innerHTML=t.intro,this._options.feature_title&&(A.
className="introjs-scribd-title",pre_title=document.createElement("div"),pre_tit
le.className="pre_title",pre_title.innerHTML="Featuring",feature_title=document.
createElement("div"),feature_title.innerHTML=t.title||this._options.feature_titl
e,y=document.createElement("span"),y.className="introjs-close icon-close",A.appe
ndChild(feature_title),A.appendChild(y)),t.image_path&&(N.className="introjs-scr
ibd-image",N.src=t.image_path),P.className="introjs-bullets";var I=document.crea
teElement("ul");this._options.showBullets===!1&&(I.style.display="none");for(var
S=0,L=this._introItems.length;L>S;S++){var D=document.createElement("li"),F=doc
ument.createElement("a");F.onclick=function(){e.goToStep(this.getAttribute("data
-stepnumber"))},0===S&&(F.className="active"),F.href="javascript:void(0);",F.inn
erHTML="&nbsp;",F.setAttribute("data-stepnumber",this._introItems[S].step),D.app
endChild(F),I.appendChild(D)}if(P.appendChild(I),M.className="introjs-tooltipbut
tons",this._options.showButtons===!1&&(M.style.display="none"),j.className="intr
ojs-tooltip",1==this._options.showStepNumbers){var z=document.createElement("spa
n");z.className="introjs-helperNumberLayer",z.innerHTML=t.step,C.appendChild(z)}
j.appendChild(O),C.appendChild(j);var w=document.createElement("a");w.onclick=fu
nction(){e._introItems.length-1!=e._currentStep&&o.call(e)},w.href="javascript:v
oid(0);",w.innerHTML=this._options.nextLabel;var v=document.createElement("a");v
.onclick=function(){0!=e._currentStep&&s.call(e)},v.href="javascript:void(0);",v
.innerHTML=this._options.prevLabel;var b=document.createElement("a");b.className
="introjs-button introjs-skipbutton",b.href="javascript:void(0);",b.innerHTML=th
is._options.skipLabel,b.onclick=function(){e._introItems.length-1==e._currentSte
p&&"function"==typeof e._introCompleteCallback&&(e._introCompleteCallback.call(e
),Scribd.track_event(e._options.introName,"complete",e._currentStep)),e._introIt
ems.length-1!=e._currentStep&&"function"==typeof e._introExitCallback&&e._introE
xitCallback.call(e),a.call(e,e._targetElement)},y.onclick=function(){a.call(e,e.
_targetElement),void 0!=e._introExitCallback&&e._introExitCallback.call(e)},this
._introItems.length>1&&(M.appendChild(v),M.appendChild(w)),M.appendChild(b),j.ap
pendChild(A),j.appendChild(N),j.appendChild($),j.appendChild(M),j.appendChild(P)
,c.call(e,t.element,j,O,z)}var R=this;setTimeout(function(){0==R._currentStep&&R
._introItems.length>1?(b.className="introjs-button introjs-skipbutton",v.classNa
me="introjs-button introjs-prevbutton introjs-disabled",w.className="introjs-but
ton introjs-nextbutton flat_btn",w.innerHTML=R._options.firstNextLabel,b.innerHT

ML=R._options.skipLabel):R._introItems.length-1==R._currentStep||1==R._introItem
s.length?(b.innerHTML=R._options.doneLabel,-1!=R._options.cssClasses.indexOf("pl
ain_style")?(b.className="introjs-button introjs-skipbutton",w.className="introj
s-button introjs-nextbutton introjs-disabled"):(b.className="introjs-button intr
ojs-skipbutton flat_btn",w.className="introjs-button introjs-nextbutton introjsdisabled flat_btn"),v.className="introjs-button introjs-prevbutton",w.innerHTML=
R._options.nextLabel):(b.className="introjs-button introjs-skipbutton hidden",v.
className="introjs-button introjs-prevbutton",w.className="introjs-button introj
s-nextbutton flat_btn",b.innerHTML=R._options.skipLabel,w.innerHTML=R._options.n
extLabel)},100),w.focus(),t.element.className+=" introjs-showElement";var B=d(t.
element,"position");"absolute"!==B&&"relative"!==B&&(t.element.className+=" intr
ojs-relativePosition");for(var H=t.element.parentNode;null!=H&&"body"!==H.tagNam
e.toLowerCase();){var q=d(H,"z-index"),U=parseFloat(d(H,"opacity"));(/[0-9]+/.te
st(q)||1>U)&&(H.className+=" introjs-fixParent"),H=H.parentNode}if(!p(t.element)
&&this._options.scrollToElement===!0){var W=t.element.getBoundingClientRect(),Y=
h().height,V=W.bottom-(W.bottom-W.top),G=W.bottom-Y;0>V||t.element.clientHeight>
Y?window.scrollBy(0,V-30):window.scrollBy(0,G+100)}"undefined"!=typeof this._int
roAfterChangeCallback&&this._introAfterChangeCallback.call(this,t.element)}funct
ion d(t,e){var n="";return t.currentStyle?n=t.currentStyle[e]:document.defaultVi
ew&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedSt
yle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function h()
{if(void 0!=window.innerWidth)return{width:window.innerWidth,height:window.inner
Height};var t=document.documentElement;return{width:t.clientWidth,height:t.clien
tHeight}}function p(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=
0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}function _(t){var
e=document.createElement("div"),n="",i=this;if(e.className="introjs-overlay","b
ody"===t.tagName.toLowerCase())n+="top: 0;bottom: 0; left: 0;right: 0;position:
fixed;",e.setAttribute("style",n);else{var r=f(t);r&&(n+="width: "+r.width+"px;
height:"+r.height+"px; top:"+r.top+"px;left: "+r.left+"px;",e.setAttribute("styl
e",n))}return t.appendChild(e),e.onclick=function(){1==i._options.exitOnOverlayC
lick&&(a.call(i,t),void 0!=i._introExitCallback&&i._introExitCallback.call(i))},
setTimeout(function(){n+="opacity: .8;",e.setAttribute("style",n)},10),!0}functi
on f(t){var e={};if(e.width=t.offsetWidth,e.height=t.offsetHeight,window.jQuery)
$el=$(t),e.top=$el.offset().top,e.left=$el.offset().left;else{for(var n=0,i=0;t&
&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)n+=t.offsetLeft,i+=t.offsetTop,t=t.o
ffsetParent;e.top=i,e.left=n}return e}function g(t,e){var n={};for(var i in t)n[
i]=t[i];for(var i in e)n[i]=e[i];return n}var m="0.8.0",b=function(t){if("object
"==typeof t)return new e(t);if("string"==typeof t){var n=document.querySelector(
t);if(n)return new e(n);throw new Error("There is no element with given selector
.")}return new e(document.body)};return b.version=m,b.fn=e.prototype={clone:func
tion(){return new e(this)},setOption:function(t,e){return this._options[t]=e,thi
s},setOptions:function(t){return this._options=g(this._options,t),this},start:fu
nction(){return this.already_shown_by_cookie()?void 0:(n.call(this,this._targetE
lement),this)},already_shown_by_cookie:function(){return this._options.introName
?(cookie_match=document.cookie.match("feature_intro=[^;]*("+this._options.introN
ame+")[^;]*;"),cookie_match&&cookie_match[1]?(console.log("Already shown"),!0):!
1):(console.log("No introName provided"),!1)},goToStep:function(t){return r.call
(this,t),this},nextStep:function(){return o.call(this),this},previousStep:functi
on(){return s.call(this),this},exit:function(){a.call(this,this._targetElement)}
,refresh:function(){return u.call(this,document.querySelector(".introjs-helperLa
yer")),this},onbeforechange:function(t){if("function"!=typeof t)throw new Error(
"Provided callback for onbeforechange was not a function");return this._introBef
oreChangeCallback=t,this},onchange:function(t){if("function"!=typeof t)throw new
Error("Provided callback for onchange was not a function.");return this._introC
hangeCallback=t,this},onafterchange:function(t){if("function"!=typeof t)throw ne
w Error("Provided callback for onafterchange was not a function");return this._i
ntroAfterChangeCallback=t,this},oncomplete:function(t){if("function"!=typeof t)t
hrow new Error("Provided callback for oncomplete was not a function.");return th
is._introCompleteCallback=t,this},onexit:function(t){if("function"!=typeof t)thr
ow new Error("Provided callback for onexit was not a function.");return this._in

troExitCallback=t,this}},t.introJs=b,b});
/* public/javascripts/moment.js @ 1478902339 */
(function(t){function e(t,e){return function(n){return c(t.call(this,n),e)}}func
tion n(t,e){return function(n){return this.lang().ordinal(t.call(this,n),e)}}fun
ction i(){}function r(t){y(t),s(this,t)}function o(t){var e=_(t),n=e.year||0,i=e
.month||0,r=e.week||0,o=e.day||0,s=e.hour||0,a=e.minute||0,c=e.second||0,u=e.mil
lisecond||0;this._milliseconds=+u+1e3*c+6e4*a+36e5*s,this._days=+o+7*r,this._mon
ths=+i+12*n,this._data={},this._bubble()}function s(t,e){for(var n in e)e.hasOwn
Property(n)&&(t[n]=e[n]);return e.hasOwnProperty("toString")&&(t.toString=e.toSt
ring),e.hasOwnProperty("valueOf")&&(t.valueOf=e.valueOf),t}function a(t){return
0>t?Math.ceil(t):Math.floor(t)}function c(t,e,n){for(var i=Math.abs(t)+"",r=t>=0
;i.length<e;)i="0"+i;return(r?n?"+":"":"-")+i}function u(t,e,n,i){var r,o,s=e._m
illiseconds,a=e._days,c=e._months;s&&t._d.setTime(+t._d+s*n),(a||c)&&(r=t.minute
(),o=t.hour()),a&&t.date(t.date()+a*n),c&&t.month(t.month()+c*n),s&&!i&&ne.updat
eOffset(t),(a||c)&&(t.minute(r),t.hour(o))}function l(t){return"[object Array]"=
==Object.prototype.toString.call(t)}function d(t){return"[object Date]"===Object
.prototype.toString.call(t)||t instanceof Date}function h(t,e,n){var i,r=Math.mi
n(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;r>i;i++)(n&&t[i]!
==e[i]||!n&&g(t[i])!==g(e[i]))&&s++;return s+o}function p(t){if(t){var e=t.toLow
erCase().replace(/(.)s$/,"$1");t=He[t]||Ue[e]||e}return t}function _(t){var e,n,
i={};for(n in t)t.hasOwnProperty(n)&&(e=p(n),e&&(i[e]=t[n]));return i}function f
(e){var n,i;if(0===e.indexOf("week"))n=7,i="day";else{if(0!==e.indexOf("month"))
return;n=12,i="month"}ne[e]=function(r,o){var s,a,c=ne.fn._lang[e],u=[];if("numb
er"==typeof r&&(o=r,r=t),a=function(t){var e=ne().utc().set(i,t);return c.call(n
e.fn._lang,e,r||"")},null!=o)return a(o);for(s=0;n>s;s++)u.push(a(s));return u}}
function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math
.ceil(e)),n}function m(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}func
tion b(t){return v(t)?366:365}function v(t){return t%4===0&&t%100!==0||t%400===0
}function y(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ce]<0||t._a[ce]>11?ce:t.
_a[ue]<1||t._a[ue]>m(t._a[ae],t._a[ce])?ue:t._a[le]<0||t._a[le]>23?le:t._a[de]<0
||t._a[de]>59?de:t._a[he]<0||t._a[he]>59?he:t._a[pe]<0||t._a[pe]>999?pe:-1,t._pf
._overflowDayOfYear&&(ae>e||e>ue)&&(e=ue),t._pf.overflow=e)}function w(t){t._pf=
{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!
1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function k(t){re
turn null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t.
_pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.u
serInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t
._pf.unusedTokens.length)),t._isValid}function x(t){return t?t.toLowerCase().rep
lace("_","-"):t}function S(t,e){return e._isUTC?ne(t).zone(e._offset||0):ne(t).l
ocal()}function E(t,e){return e.abbr=t,_e[t]||(_e[t]=new i),_e[t].set(e),_e[t]}f
unction C(t){delete _e[t]}function T(t){var e,n,i,r,o=0,s=function(t){if(!_e[t]&
&fe)try{require("./lang/"+t)}catch(e){}return _e[t]};if(!t)return ne.fn._lang;if
(!l(t)){if(n=s(t))return n;t=[t]}for(;o<t.length;){for(r=x(t[o]).split("-"),e=r.
length,i=x(t[o+1]),i=i?i.split("-"):null;e>0;){if(n=s(r.slice(0,e).join("-")))re
turn n;if(i&&i.length>=e&&h(r,i,!0)>=e-1)break;e--}o++}return ne.fn._lang}functi
on A(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}
function N(t){var e,n,i=t.match(ve);for(e=0,n=i.length;n>e;e++)i[e]=Ve[i[e]]?Ve[
i[e]]:A(i[e]);return function(r){var o="";for(e=0;n>e;e++)o+=i[e]instanceof Func
tion?i[e].call(r,t):i[e];return o}}function O(t,e){return t.isValid()?(e=j(e,t.l
ang()),qe[e]||(qe[e]=N(e)),qe[e](t)):t.lang().invalidDate()}function j(t,e){func
tion n(t){return e.longDateFormat(t)||t}var i=5;for(ye.lastIndex=0;i>=0&&ye.test
(t);)t=t.replace(ye,n),ye.lastIndex=0,i-=1;return t}function $(t,e){var n,i=e._s
trict;switch(t){case"DDDD":return $e;case"YYYY":case"GGGG":case"gggg":return i?M
e:xe;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?Pe:Se;case"S":if(
i)return Oe;case"SS":if(i)return je;case"SSS":case"DDD":return i?$e:ke;case"MMM"
:case"MMMM":case"dd":case"ddd":case"dddd":return Ce;case"a":case"A":return T(e._
l)._meridiemParse;case"X":return Ne;case"Z":case"ZZ":return Te;case"T":return Ae
;case"SSSS":return Ee;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case

"hh":case"mm":case"ss":case"ww":case"WW":return i?je:we;case"M":case"D":case"d":
case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return i?Oe:we;d
efault:return n=new RegExp(R(z(t.replace("\\","")),"i"))}}function M(t){t=t||"";
var e=t.match(Te)||[],n=e[e.length-1]||[],i=(n+"").match(ze)||["-",0,0],r=+(60*i
[1])+g(i[2]);return"+"===i[0]?-r:r}function P(t,e,n){var i,r=n._a;switch(t){case
"M":case"MM":null!=e&&(r[ce]=g(e)-1);break;case"MMM":case"MMMM":i=T(n._l).months
Parse(e),null!=i?r[ce]=i:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(r
[ue]=g(e));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=g(e));break;case"YY
":r[ae]=g(e)+(g(e)>68?1900:2e3);break;case"YYYY":case"YYYYY":case"YYYYYY":r[ae]=
g(e);break;case"a":case"A":n._isPm=T(n._l).isPM(e);break;case"H":case"HH":case"h
":case"hh":r[le]=g(e);break;case"m":case"mm":r[de]=g(e);break;case"s":case"ss":r
[he]=g(e);break;case"S":case"SS":case"SSS":case"SSSS":r[pe]=g(1e3*("0."+e));brea
k;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n
._tzm=M(e);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":ca
se"dddd":case"e":case"E":t=t.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG"
:case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=e)}}function L(t){var e,n
,i,r,o,s,a,c,u,l,d=[];if(!t._d){for(i=D(t),t._w&&null==t._a[ue]&&null==t._a[ce]&
&(o=function(e){var n=parseInt(e,10);return e?e.length<3?n>68?1900+n:2e3+n:n:nul
l==t._a[ae]?ne().weekYear():t._a[ae]},s=t._w,null!=s.GG||null!=s.W||null!=s.E?a=
J(o(s.GG),s.W||1,s.E,4,1):(c=T(t._l),u=null!=s.d?Y(s.d,c):null!=s.e?parseInt(s.e
,10)+c._week.dow:0,l=parseInt(s.w,10)||1,null!=s.d&&u<c._week.dow&&l++,a=J(o(s.g
g),l,u,c._week.doy,c._week.dow)),t._a[ae]=a.year,t._dayOfYear=a.dayOfYear),t._da
yOfYear&&(r=null==t._a[ae]?i[ae]:t._a[ae],t._dayOfYear>b(r)&&(t._pf._overflowDay
OfYear=!0),n=W(r,0,t._dayOfYear),t._a[ce]=n.getUTCMonth(),t._a[ue]=n.getUTCDate(
)),e=0;3>e&&null==t._a[e];++e)t._a[e]=d[e]=i[e];for(;7>e;e++)t._a[e]=d[e]=null==
t._a[e]?2===e?1:0:t._a[e];d[le]+=g((t._tzm||0)/60),d[de]+=g((t._tzm||0)%60),t._d
=(t._useUTC?W:q).apply(null,d)}}function I(t){var e;t._d||(e=_(t._i),t._a=[e.yea
r,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],L(t))}function D(t){var
e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:
[e.getFullYear(),e.getMonth(),e.getDate()]}function F(t){t._a=[],t._pf.empty=!0;
var e,n,i,r,o,s=T(t._l),a=""+t._i,c=a.length,u=0;for(i=j(t._f,s).match(ve)||[],e
=0;e<i.length;e++)r=i[e],n=(a.match($(r,t))||[])[0],n&&(o=a.substr(0,a.indexOf(n
)),o.length>0&&t._pf.unusedInput.push(o),a=a.slice(a.indexOf(n)+n.length),u+=n.l
ength),Ve[r]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(r),P(r,n,t)):t._strict&&!
n&&t._pf.unusedTokens.push(r);t._pf.charsLeftOver=c-u,a.length>0&&t._pf.unusedIn
put.push(a),t._isPm&&t._a[le]<12&&(t._a[le]+=12),t._isPm===!1&&12===t._a[le]&&(t
._a[le]=0),L(t),y(t)}function z(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\
]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})}function R(t){return t.replace
(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B(t){var e,n,i,r,o;if(0===t._f.length
)return t._pf.invalidFormat=!0,void(t._d=new Date(0/0));for(r=0;r<t._f.length;r+
+)o=0,e=s({},t),w(e),e._f=t._f[r],F(e),k(e)&&(o+=e._pf.charsLeftOver,o+=10*e._pf
.unusedTokens.length,e._pf.score=o,(null==i||i>o)&&(i=o,n=e));s(t,n||e)}function
H(t){var e,n=t._i,i=Le.exec(n);if(i){for(t._pf.iso=!0,e=4;e>0;e--)if(i[e]){t._f
=De[e-1]+(i[6]||" ");break}for(e=0;4>e;e++)if(Fe[e][1].exec(n)){t._f+=Fe[e][0];b
reak}n.match(Te)&&(t._f+="Z"),F(t)}else t._d=new Date(n)}function U(e){var n=e._
i,i=ge.exec(n);n===t?e._d=new Date:i?e._d=new Date(+i[1]):"string"==typeof n?H(e
):l(n)?(e._a=n.slice(0),L(e)):d(n)?e._d=new Date(+n):"object"==typeof n?I(e):e._
d=new Date(n)}function q(t,e,n,i,r,o,s){var a=new Date(t,e,n,i,r,o,s);return 197
0>t&&a.setFullYear(t),a}function W(t){var e=new Date(Date.UTC.apply(null,argumen
ts));return 1970>t&&e.setUTCFullYear(t),e}function Y(t,e){if("string"==typeof t)
if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parse
Int(t,10);return t}function V(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}fun
ction G(t,e,n){var i=se(Math.abs(t)/1e3),r=se(i/60),o=se(r/60),s=se(o/24),a=se(s
/365),c=45>i&&["s",i]||1===r&&["m"]||45>r&&["mm",r]||1===o&&["h"]||22>o&&["hh",o
]||1===s&&["d"]||25>=s&&["dd",s]||45>=s&&["M"]||345>s&&["MM",se(s/30)]||1===a&&[
"y"]||["yy",a];return c[2]=e,c[3]=t>0,c[4]=n,V.apply({},c)}function X(t,e,n){var
i,r=n-e,o=n-t.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=ne(t).add("d",o),{week:M
ath.ceil(i.dayOfYear()/7),year:i.year()}}function J(t,e,n,i,r){var o,s,a=new Dat
e(c(t,6,!0)+"-01-01").getUTCDay();return n=null!=n?n:r,o=r-a+(a>i?7:0),s=7*(e-1)
+(n-r)+o+1,{year:s>0?t:t-1,dayOfYear:s>0?s:b(t-1)+s}}function Q(t){var e=t._i,n=

t._f;return"undefined"==typeof t._pf&&w(t),null===e?ne.invalid({nullInput:!0}):(
"string"==typeof e&&(t._i=e=T().preparse(e)),ne.isMoment(e)?(t=s({},e),t._d=new
Date(+e._d)):n?l(n)?B(t):F(t):U(t),new r(t))}function K(t,e){ne.fn[t]=ne.fn[t+"s
"]=function(t){var n=this._isUTC?"UTC":"";return null!=t?(this._d["set"+n+e](t),
ne.updateOffset(this),this):this._d["get"+n+e]()}}function Z(t){ne.duration.fn[t
]=function(){return this._data[t]}}function te(t,e){ne.duration.fn["as"+t]=funct
ion(){return+this/e}}function ee(t){var e=!1,n=ne;"undefined"==typeof ender&&(t?
(oe.moment=function(){return!e&&console&&console.warn&&(e=!0,console.warn("Acces
sing Moment through the global scope is deprecated, and will be removed in an up
coming release.")),n.apply(null,arguments)},s(oe.moment,n)):oe.moment=ne)}for(va
r ne,ie,re="2.5.0",oe=this,se=Math.round,ae=0,ce=1,ue=2,le=3,de=4,he=5,pe=6,_e={
},fe="undefined"!=typeof module&&module.exports&&"undefined"!=typeof require,ge=
/^\/?Date\((\-?\d+)/i,me=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,
be=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)
?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,ve=/(\[[^\[]*\])|(\\)?(Mo|MM?
M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|G
G(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,ye=/(\[[^\[]*\])|(\\)?(LT
|LL?L?L?|l{1,4})/g,we=/\d\d?/,ke=/\d{1,3}/,xe=/\d{1,4}/,Se=/[+\-]?\d{1,6}/,Ee=/\
d+/,Ce=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u060
0-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Te=/Z|[\+\-]\d\d:?\d\d/gi,Ae=/T/i,Ne=/
[\+\-]?\d+(\.\d{1,3})?/,Oe=/\d/,je=/\d\d/,$e=/\d{3}/,Me=/\d{4}/,Pe=/[+\-]?\d{6}/
,Le=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d
\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ie="YYYY-MM-DDTHH:mm:ssZ",De=[
"YYYY-MM-DD","GGGG-[W]WW","GGGG-[W]WW-E","YYYY-DDD"],Fe=[["HH:mm:ss.SSSS",/(T| )
\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d
:\d\d/],["HH",/(T| )\d\d/]],ze=/([\+\-]|\d\d)/gi,Re="Date|Hours|Minutes|Seconds|
Milliseconds".split("|"),Be={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,D
ays:864e5,Months:2592e6,Years:31536e6},He={ms:"millisecond",s:"second",m:"minute
",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",y:"year",DDD:"dayOfYe
ar",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},Ue={dayofyear:"da
yOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekye
ar:"isoWeekYear"},qe={},We="DDD w W M D d".split(" "),Ye="M D H h m s w W".split
(" "),Ve={M:function(){return this.month()+1},MMM:function(t){return this.lang()
.monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:func
tion(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){
return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:fu
nction(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this
.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return t
his.isoWeek()},YY:function(){return c(this.year()%100,2)},YYYY:function(){return
c(this.year(),4)},YYYYY:function(){return c(this.year(),5)},YYYYYY:function(){v
ar t=this.year(),e=t>=0?"+":"-";return e+c(Math.abs(t),6)},gg:function(){return
c(this.weekYear()%100,2)},gggg:function(){return this.weekYear()},ggggg:function
(){return c(this.weekYear(),5)},GG:function(){return c(this.isoWeekYear()%100,2)
},GGGG:function(){return this.isoWeekYear()},GGGGG:function(){return c(this.isoW
eekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWe
ekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0
)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:f
unction(){return this.hours()},h:function(){return this.hours()%12||12},m:functi
on(){return this.minutes()},s:function(){return this.seconds()},S:function(){ret
urn g(this.milliseconds()/100)},SS:function(){return c(g(this.milliseconds()/10)
,2)},SSS:function(){return c(this.milliseconds(),3)},SSSS:function(){return c(th
is.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e=
"-"),e+c(g(t/60),2)+":"+c(g(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";ret
urn 0>t&&(t=-t,e="-"),e+c(g(t/60),2)+c(g(t)%60,2)},z:function(){return this.zone
Abbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q
:function(){return this.quarter()}},Ge=["months","monthsShort","weekdays","weekd
aysShort","weekdaysMin"];We.length;)ie=We.pop(),Ve[ie+"o"]=n(Ve[ie],ie);for(;Ye.
length;)ie=Ye.pop(),Ve[ie+ie]=e(Ve[ie],2);for(Ve.DDDD=e(Ve.DDD,3),s(i.prototype,
{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["
_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_Oc

tober_November_December".split("_"),months:function(t){return this._months[t.mon
th()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_")
,monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:functi
on(t){var e,n,i;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(th
is._monthsParse[e]||(n=ne.utc([2e3,e]),i="^"+this.months(n,"")+"|^"+this.monthsS
hort(n,""),this._monthsParse[e]=new RegExp(i.replace(".",""),"i")),this._monthsP
arse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Fr
iday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_
weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t)
{return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split(
"_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:fu
nction(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e+
+)if(this._weekdaysParse[e]||(n=ne([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^
"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=ne
w RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longD
ateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL
:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t
];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toU
pperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._lon
gDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)
},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM
":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nex
tWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",
sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==t
ypeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few secon
ds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days
",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e
,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replac
e(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past
"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){retur
n this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},po
stformat:function(t){return t},week:function(t){return X(t,this._week.dow,this._
week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:func
tion(){return this._invalidDate}}),ne=function(e,n,i,r){return"boolean"==typeof
i&&(r=i,i=t),Q({_i:e,_f:n,_l:i,_strict:r,_isUTC:!1})},ne.utc=function(e,n,i,r){v
ar o;return"boolean"==typeof i&&(r=i,i=t),o=Q({_useUTC:!0,_isUTC:!0,_l:i,_i:e,_f
:n,_strict:r}).utc()},ne.unix=function(t){return ne(1e3*t)},ne.duration=function
(t,e){var n,i,r,s=t,a=null;return ne.isDuration(t)?s={ms:t._milliseconds,d:t._da
ys,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(a=me.exec(t
))?(n="-"===a[1]?-1:1,s={y:0,d:g(a[ue])*n,h:g(a[le])*n,m:g(a[de])*n,s:g(a[he])*n
,ms:g(a[pe])*n}):(a=be.exec(t))&&(n="-"===a[1]?-1:1,r=function(t){var e=t&&parse
Float(t.replace(",","."));return(isNaN(e)?0:e)*n},s={y:r(a[2]),M:r(a[3]),d:r(a[4
]),h:r(a[5]),m:r(a[6]),s:r(a[7]),w:r(a[8])}),i=new o(s),ne.isDuration(t)&&t.hasO
wnProperty("_lang")&&(i._lang=t._lang),i},ne.version=re,ne.defaultFormat=Ie,ne.u
pdateOffset=function(){},ne.lang=function(t,e){var n;return t?(e?E(x(t),e):null=
==e?(C(t),t="en"):_e[t]||T(t),n=ne.duration.fn._lang=ne.fn._lang=T(t),n._abbr):n
e.fn._lang._abbr},ne.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t
._lang._abbr),T(t)},ne.isMoment=function(t){return t instanceof r},ne.isDuration
=function(t){return t instanceof o},ie=Ge.length-1;ie>=0;--ie)f(Ge[ie]);for(ne.n
ormalizeUnits=function(t){return p(t)},ne.invalid=function(t){var e=ne.utc(0/0);
return null!=t?s(e._pf,t):e._pf.userInvalidated=!0,e},ne.parseZone=function(t){r
eturn ne(t).parseZone()},s(ne.fn=r.prototype,{clone:function(){return ne(this)},
valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return
Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format
("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new
Date(+this):this._d},toISOString:function(){var t=ne(this).utc();return 0<t.year
()&&t.year()<=9999?O(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):O(t,"YYYYYY-MM-DD[T]HH:mm
:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t
.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return k(
this)},isDSTShifted:function(){return this._a?this.isValid()&&h(this._a,(this._i

sUTC?ne.utc(this._a):ne(this._a)).toArray())>0:!1},parsingFlags:function(){retur
n s({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){
return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},f
ormat:function(t){var e=O(this,t||ne.defaultFormat);return this.lang().postforma
t(e)},add:function(t,e){var n;return n="string"==typeof t?ne.duration(+e,t):ne.d
uration(t,e),u(this,n,1),this},subtract:function(t,e){var n;return n="string"==t
ypeof t?ne.duration(+e,t):ne.duration(t,e),u(this,n,-1),this},diff:function(t,e,
n){var i,r,o=S(t,this),s=6e4*(this.zone()-o.zone());return e=p(e),"year"===e||"m
onth"===e?(i=432e5*(this.daysInMonth()+o.daysInMonth()),r=12*(this.year()-o.year
())+(this.month()-o.month()),r+=(this-ne(this).startOf("month")-(o-ne(o).startOf
("month")))/i,r-=6e4*(this.zone()-ne(this).startOf("month").zone()-(o.zone()-ne(
o).startOf("month").zone()))/i,"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1
e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-s)/864e5:"week"===e?(i-s)/6
048e5:i),n?r:a(r)},from:function(t,e){return ne.duration(this.diff(t)).lang(this
.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(ne(),t)},calen
dar:function(){var t=S(ne(),this).startOf("day"),e=this.diff(t,"days",!0),n=-6>e
?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextW
eek":"sameElse";return this.format(this.lang().calendar(n,this))},isLeapYear:fun
ction(){return v(this.year())},isDST:function(){return this.zone()<this.clone().
month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e
=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Y(t,this.lan
g()),this.add({d:t-e})):e},month:function(t){var e,n=this._isUTC?"UTC":"";return
null!=t?"string"==typeof t&&(t=this.lang().monthsParse(t),"number"!=typeof t)?t
his:(e=this.date(),this.date(1),this._d["set"+n+"Month"](t),this.date(Math.min(e
,this.daysInMonth())),ne.updateOffset(this),this):this._d["get"+n+"Month"]()},st
artOf:function(t){switch(t=p(t)){case"year":this.month(0);case"month":this.date(
1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);c
ase"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?t
his.weekday(0):"isoWeek"===t&&this.isoWeekday(1),this},endOf:function(t){return
t=p(t),this.startOf(t).add("isoWeek"===t?"week":t,1).subtract("ms",1)},isAfter:f
unction(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startO
f(e)>+ne(t).startOf(e)},isBefore:function(t,e){return e="undefined"!=typeof e?e:
"millisecond",+this.clone().startOf(e)<+ne(t).startOf(e)},isSame:function(t,e){r
eturn e=e||"ms",+this.clone().startOf(e)===+S(t,this).startOf(e)},min:function(t
){return t=ne.apply(null,arguments),this>t?this:t},max:function(t){return t=ne.a
pply(null,arguments),t>this?this:t},zone:function(t){var e=this._offset||0;retur
n null==t?this._isUTC?e:this._d.getTimezoneOffset():("string"==typeof t&&(t=M(t)
),Math.abs(t)<16&&(t=60*t),this._offset=t,this._isUTC=!0,e!==t&&u(this,ne.durati
on(e-t,"m"),1,!0),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneNa
me:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:func
tion(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone
(this._i),this},hasAlignedHourOffset:function(t){return t=t?ne(t).zone():0,(this
.zone()-t)%60===0},daysInMonth:function(){return m(this.year(),this.month())},da
yOfYear:function(t){var e=se((ne(this).startOf("day")-ne(this).startOf("year"))/
864e5)+1;return null==t?e:this.add("d",t-e)},quarter:function(){return Math.ceil
((this.month()+1)/3)},weekYear:function(t){var e=X(this,this.lang()._week.dow,th
is.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:functi
on(t){var e=X(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t
){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:f
unction(t){var e=X(this,1,4).week;return null==t?e:this.add("d",7*(t-e))},weekda
y:function(t){var e=(this.day()+7-this.lang()._week.dow)%7;return null==t?e:this
.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this
.day()%7?t:t-7)},get:function(t){return t=p(t),this[t]()},set:function(t,e){retu
rn t=p(t),"function"==typeof this[t]&&this[t](e),this},lang:function(e){return e
===t?this._lang:(this._lang=T(e),this)}}),ie=0;ie<Re.length;ie++)K(Re[ie].toLowe
rCase().replace(/s$/,""),Re[ie]);K("year","FullYear"),ne.fn.days=ne.fn.day,ne.fn
.months=ne.fn.month,ne.fn.weeks=ne.fn.week,ne.fn.isoWeeks=ne.fn.isoWeek,ne.fn.to
JSON=ne.fn.toISOString,s(ne.duration.fn=o.prototype,{_bubble:function(){var t,e,
n,i,r=this._milliseconds,o=this._days,s=this._months,c=this._data;c.milliseconds
=r%1e3,t=a(r/1e3),c.seconds=t%60,e=a(t/60),c.minutes=e%60,n=a(e/60),c.hours=n%24

,o+=a(n/24),c.days=o%30,s+=a(o/30),c.months=s%12,i=a(s/12),c.years=i},weeks:func
tion(){return a(this.days()/7)},valueOf:function(){return this._milliseconds+864
e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)},humanize:functi
on(t){var e=+this,n=G(e,!t,this.lang());return t&&(n=this.lang().pastFuture(e,n)
),this.lang().postformat(n)},add:function(t,e){var n=ne.duration(t,e);return thi
s._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,thi
s._bubble(),this},subtract:function(t,e){var n=ne.duration(t,e);return this._mil
liseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bub
ble(),this},get:function(t){return t=p(t),this[t.toLowerCase()+"s"]()},as:functi
on(t){return t=p(t),this["as"+t.charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:
ne.fn.lang,toIsoString:function(){var t=Math.abs(this.years()),e=Math.abs(this.m
onths()),n=Math.abs(this.days()),i=Math.abs(this.hours()),r=Math.abs(this.minute
s()),o=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?
(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||r||o?
"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}});for(ie in Be)Be.hasOwnPr
operty(ie)&&(te(ie,Be[ie]),Z(ie.toLowerCase()));te("Weeks",6048e5),ne.duration.f
n.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()}
,ne.lang("en",{ordinal:function(t){var e=t%10,n=1===g(t%100/10)?"th":1===e?"st":
2===e?"nd":3===e?"rd":"th";return t+n}}),fe?(module.exports=ne,ee(!0)):"function
"==typeof define&&define.amd?define("moment",function(e,n,i){return i.config&&i.
config()&&i.config().noGlobal!==!0&&ee(i.config().noGlobal===t),ne}):ee()}).call
(this);
/* public/javascripts/jquery.velocity.js @ 1478902339 */
!function(t){function e(t){var e=t.length,i=n.type(t);return"function"===i||n.is
Window(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e
-1 in t}if(!t.jQuery){var n=function(t,e){return new n.fn.init(t,e)};n.isWindow=
function(t){return null!=t&&t==t.window},n.type=function(t){return null==t?t+"":
"object"==typeof t||"function"==typeof t?r[s.call(t)]||"object":typeof t},n.isAr
ray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=functi
on(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{
if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isP
rototypeOf"))return!1}catch(i){return!1}for(e in t);return void 0===e||o.call(t,
e)},n.each=function(t,n,i){var r,o=0,s=t.length,a=e(t);if(i){if(a)for(;s>o&&(r=n
.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=n.apply(t[o],i),r===!1)break}el
se if(a)for(;s>o&&(r=n.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=n.cal
l(t[o],o,t[o]),r===!1)break;return t},n.data=function(t,e,r){if(void 0===r){var
o=t[n.expando],s=o&&i[o];if(void 0===e)return s;if(s&&e in s)return s[e]}else if
(void 0!==e){var o=t[n.expando]||(t[n.expando]=++n.uuid);return i[o]=i[o]||{},i[
o][e]=r,r}},n.removeData=function(t,e){var r=t[n.expando],o=r&&i[r];o&&n.each(e,
function(t,e){delete o[e]})},n.extend=function(){var t,e,i,r,o,s,a=arguments[0]|
|{},c=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[c]||{}
,c++),"object"!=typeof a&&"function"!==n.type(a)&&(a={}),c===u&&(a=this,c--);u>c
;c++)if(null!=(o=arguments[c]))for(r in o)t=a[r],i=o[r],a!==i&&(l&&i&&(n.isPlain
Object(i)||(e=n.isArray(i)))?(e?(e=!1,s=t&&n.isArray(t)?t:[]):s=t&&n.isPlainObje
ct(t)?t:{},a[r]=n.extend(l,s,i)):void 0!==i&&(a[r]=i));return a},n.queue=functio
n(t,i,r){function o(t,n){var i=n||[];return null!=t&&(e(Object(t))?!function(t,e
){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e
[i];)t[r++]=e[i++];return t.length=r,t}(i,"string"==typeof t?[t]:t):[].push.call
(i,t)),i}if(t){i=(i||"fx")+"queue";var s=n.data(t,i);return r?(!s||n.isArray(r)?
s=n.data(t,i,o(r)):s.push(r),s):s||[]}},n.dequeue=function(t,e){n.each(t.nodeTyp
e?[t]:t,function(t,i){e=e||"fx";var r=n.queue(i,e),o=r.shift();"inprogress"===o&
&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(i,function(){n.deque
ue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,
this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoun
dingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(
t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pag
eXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function()
{function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLo

werCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=
this[0],t=t.apply(e),i=this.offset(),r=/^(?:body|html)$/i.test(t.nodeName)?{top:
0,left:0}:n(t).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=p
arseFloat(e.style.marginLeft)||0,t.style&&(r.top+=parseFloat(t.style.borderTopWi
dth)||0,r.left+=parseFloat(t.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.
left-r.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(v
ar r={},o=r.hasOwnProperty,s=r.toString,a="Boolean Number String Function Array
Date RegExp Object Error".split(" "),c=0;c<a.length;c++)r["[object "+a[c]+"]"]=a
[c].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),fu
nction(t){"object"==typeof module&&"object"==typeof module.exports?module.export
s=t():"function"==typeof define&&define.amd?define(t):t()}(function(){return fun
ction(t,e,n,i){/* Array compacting. Copyright Lo-Dash. MIT License: https://gith
ub.com/lodash/lodash/blob/master/LICENSE.txt */
function r(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}r
eturn i}function o(t){return f.isWrapped(t)?t=[].slice.call(t):f.isNode(t)&&(t=[
t]),t}function s(t){var e=h.data(t,"velocity");return null===e?i:e}function a(t)
{return function(e){return Math.round(e*t)*(1/t)}}/* Bezier curve function gener
ator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_
License */
function c(t,n,i,r){function o(t,e){return 1-3*e+3*t}function s(t,e){return 3*e6*t}function a(t){return 3*t}function c(t,e,n){return((o(e,n)*t+s(e,n))*t+a(e))*
t}function u(t,e,n){return 3*o(e,n)*t*t+2*s(e,n)*t+a(e)}function l(e,n){for(var
r=0;f>r;++r){var o=u(n,t,i);if(0===o)return n;var s=c(n,t,i)-e;n-=s/o}return n}f
unction d(){for(var e=0;v>e;++e)x[e]=c(e*y,t,i)}function h(e,n,r){var o,s,a=0;do
s=n+(r-n)/2,o=c(s,t,i)-e,o>0?r=s:n=s;while(Math.abs(o)>m&&++a<b);return s}funct
ion p(e){for(var n=0,r=1,o=v-1;r!=o&&x[r]<=e;++r)n+=y;--r;var s=(e-x[r])/(x[r+1]
-x[r]),a=n+s*y,c=u(a,t,i);return c>=g?l(e,a):0==c?a:h(e,n,n+y)}function _(){S=!0
,(t!=n||i!=r)&&d()}var f=4,g=.001,m=1e-7,b=10,v=11,y=1/(v-1),w="Float32Array"in
e;if(4!==arguments.length)return!1;for(var k=0;4>k;++k)if("number"!=typeof argum
ents[k]||isNaN(arguments[k])||!isFinite(arguments[k]))return!1;t=Math.min(t,1),i
=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var x=w?new Float32Array(v):new A
rray(v),S=!1,E=function(e){return S||_(),t===n&&i===r?e:0===e?0:1===e?1:c(p(e),n
,r)};E.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var C="generateB
ezier("+[t,n,i,r]+")";return E.toString=function(){return C},E}function u(t,e){v
ar n=t;return f.isString(t)?v.Easings[t]||(n=!1):n=f.isArray(t)&&1===t.length?a.
apply(null,t):f.isArray(t)&&2===t.length?y.apply(null,t.concat([e])):f.isArray(t
)&&4===t.length?c.apply(null,t):!1,n===!1&&(n=v.Easings[v.defaults.easing]?v.def
aults.easing:b),n}function l(t){if(t)for(var e=(new Date).getTime(),n=0,r=v.Stat
e.calls.length;r>n;n++)if(v.State.calls[n]){var o=v.State.calls[n],a=o[0],c=o[2]
,u=o[3],p=!!u;u||(u=v.State.calls[n][3]=e-16);for(var _=Math.min((e-u)/c.duratio
n,1),g=0,m=a.length;m>g;g++){var b=a[g],y=b.element;if(s(y)){var k=!1;if(c.displ
ay!==i&&null!==c.display&&"none"!==c.display){if("flex"===c.display){var S=["-we
bkit-box","-moz-box","-ms-flexbox","-webkit-flex"];h.each(S,function(t,e){w.setP
ropertyValue(y,"display",e)})}w.setPropertyValue(y,"display",c.display)}c.visibi
lity!==i&&"hidden"!==c.visibility&&w.setPropertyValue(y,"visibility",c.visibilit
y);for(var E in b)if("element"!==E){var C,T=b[E],A=f.isString(T.easing)?v.Easing
s[T.easing]:T.easing;if(1===_)C=T.endValue;else if(C=T.startValue+(T.endValue-T.
startValue)*A(_),!p&&C===T.currentValue)continue;if(T.currentValue=C,w.Hooks.reg
istered[E]){var N=w.Hooks.getRoot(E),O=s(y).rootPropertyValueCache[N];O&&(T.root
PropertyValue=O)}var j=w.setPropertyValue(y,E,T.currentValue+(0===parseFloat(C)?
"":T.unitType),T.rootPropertyValue,T.scrollData);w.Hooks.registered[E]&&(s(y).ro
otPropertyValueCache[N]=w.Normalizations.registered[N]?w.Normalizations.register
ed[N]("extract",null,j[1]):j[1]),"transform"===j[0]&&(k=!0)}c.mobileHA&&s(y).tra
nsformCache.translate3d===i&&(s(y).transformCache.translate3d="(0px, 0px, 0px)",
k=!0),k&&w.flushTransformCache(y)}}c.display!==i&&"none"!==c.display&&(v.State.c
alls[n][2].display=!1),c.visibility!==i&&"hidden"!==c.visibility&&(v.State.calls
[n][2].visibility=!1),c.progress&&c.progress.call(o[1],o[1],_,Math.max(0,u+c.dur
ation-e),u),1===_&&d(n)}v.State.isTicking&&x(l)}function d(t,e){if(!v.State.call
s[t])return!1;for(var n=v.State.calls[t][0],r=v.State.calls[t][1],o=v.State.call
s[t][2],a=v.State.calls[t][4],c=!1,u=0,l=n.length;l>u;u++){var d=n[u].element;if

(e||o.loop||("none"===o.display&&w.setPropertyValue(d,"display",o.display),"hidd
en"===o.visibility&&w.setPropertyValue(d,"visibility",o.visibility)),o.loop!==!0
&&(h.queue(d)[1]===i||!/\.velocityQueueEntryFlag/i.test(h.queue(d)[1]))&&s(d)){s
(d).isAnimating=!1,s(d).rootPropertyValueCache={};var p=!1;h.each(w.Lists.transf
orms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=s(d).transformCache[e];s(d).tr
ansformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete s(d).tran
sformCache[e])}),o.mobileHA&&(p=!0,delete s(d).transformCache.translate3d),p&&w.
flushTransformCache(d),w.Values.removeClass(d,"velocity-animating")}if(!e&&o.com
plete&&!o.loop&&u===l-1)try{o.complete.call(r,r)}catch(_){setTimeout(function(){
throw _},1)}a&&o.loop!==!0&&a(r),o.loop!==!0||e||(h.each(s(d).tweensContainer,fu
nction(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.sta
rtValue=360)}),v(d,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&h.dequeue(d
,o.queue)}v.State.calls[t]=!1;for(var f=0,g=v.State.calls.length;g>f;f++)if(v.St
ate.calls[f]!==!1){c=!0;break}c===!1&&(v.State.isTicking=!1,delete v.State.calls
,v.State.calls=[])}var h,p=function(){if(n.documentMode)return n.documentMode;fo
r(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="<!--[if IE "+t+"
]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null
,t}return i}(),_=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozR
equestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max
(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),f={isString:function(t){
return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Arra
y]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object F
unction]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.no
deType},/* Copyright Martin Bohm. MIT License: https://gist.github.com/Tomalak/8
18a78a226a0738eaade */
isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|Node
List|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.l
ength||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&
(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement
&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;r
eturn!0}},g=!1;if(t.fn&&t.fn.jquery?(h=t,g=!0):h=e.Velocity.Utilities,8>=p&&!g)t
hrow new Error("Velocity: IE8 and below require jQuery to be loaded before Veloc
ity.");if(7>=p)return void(jQuery.fn.velocity=jQuery.fn.animate);var m=400,b="sw
ing",v={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Oper
a Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent
),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chro
me,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement(
"div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollProperty
Top:null,isTicking:!1,calls:[]},CSS:{},Utilities:h,Redirects:{},Easings:{},Promi
se:e.Promise,defaults:{queue:"",duration:m,easing:b,begin:i,complete:i,progress:
i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:func
tion(t){h.data(t,"velocity",{isSVG:f.isSVG(t),isAnimating:!1,computedStyle:null,
tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mo
ck:!1,version:{major:1,minor:1,patch:0},debug:!1};e.pageYOffset!==i?(v.State.scr
ollAnchor=e,v.State.scrollPropertyLeft="pageXOffset",v.State.scrollPropertyTop="
pageYOffset"):(v.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body
,v.State.scrollPropertyLeft="scrollLeft",v.State.scrollPropertyTop="scrollTop");
/* Runge-Kutta spring physics function generator. Adapted from Framer.js, copyri
ght Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */
var y=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,
n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};ret
urn{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.
5*i,o),a=e(n,i,s),c=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),u=1/6*(r.dv+2*(o.dv+s.dv)+a.dv
);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function i(t,e,r){var o,s,a,c={x:-1,v:
0,tension:null,friction:null},u=[0],l=0,d=1e-4,h=.016;for(t=parseFloat(t)||500,e
=parseFloat(e)||20,r=r||null,c.tension=t,c.friction=e,o=null!==r,o?(l=i(t,e),s=l
/r*h):s=h;;)if(a=n(a||c,s),u.push(1+a.x),l+=16,!(Math.abs(a.x)>d&&Math.abs(a.v)>
d))break;return o?function(t){return u[t*(u.length-1)|0]}:l}}();v.Easings={linea
r:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring
:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[

.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[
.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]]
,["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOu
tQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",
[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,
.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,
1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["ease
OutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05
,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInC
irc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785
,.135,.15,.86]]],function(t,e){v.Easings[e[0]]=c.apply(null,e[1])});var w=v.CSS=
{RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedVal
ueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\
))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","col
or","backgroundColor","borderColor","borderTopColor","borderRightColor","borderB
ottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","tran
slateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["tran
sformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{
textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spr
ead","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],b
ackgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspe
ctiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<w
.Lists.colors.length;t++){var e="color"===w.Lists.colors[t]?"0 0 0 1":"255 255 2
55 1";w.Hooks.templates[w.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;
if(p)for(n in w.Hooks.templates){i=w.Hooks.templates[n],r=i[0].split(" ");var o=
i[1].match(w.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift
()),w.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in w.Hooks.templates){
i=w.Hooks.templates[n],r=i[0].split(" ");for(var t in r){var s=n+r[t],a=t;w.Hook
s.registered[s]=[n,a]}}},getRoot:function(t){var e=w.Hooks.registered[t];return
e?e[0]:t},cleanRootPropertyValue:function(t,e){return w.RegEx.valueUnwrap.test(e
)&&(e=e.match(w.RegEx.valueUnwrap)[1]),w.Values.isCSSNullValue(e)&&(e=w.Hooks.te
mplates[t][1]),e},extractValue:function(t,e){var n=w.Hooks.registered[t];if(n){v
ar i=n[0],r=n[1];return e=w.Hooks.cleanRootPropertyValue(i,e),e.toString().match
(w.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=w.Hooks.regi
stered[t];if(i){var r,o,s=i[0],a=i[1];return n=w.Hooks.cleanRootPropertyValue(s,
n),r=n.toString().match(w.RegEx.valueSplit),r[a]=e,o=r.join(" ")}return n}},Norm
alizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";c
ase"extract":var i;return w.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.
toString().match(w.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case
"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return"
-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString
().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return pars
eFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=p)switch(t){case"
name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)
\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?
"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name"
:return"opacity";case"extract":return n;case"inject":return n}}},register:functi
on(){9>=p||v.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase
.concat(w.Lists.transforms3D));for(var t=0;t<w.Lists.transformsBase.length;t++)!
function(){var e=w.Lists.transformsBase[t];w.Normalizations.registered[e]=functi
on(t,n,r){switch(t){case"name":return"transform";case"extract":return s(n)===i||
s(n).transformCache[e]===i?/^scale/i.test(e)?1:0:s(n).transformCache[e].replace(
/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate"
:o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":v.State.isAn
droid&&s(n).transformCache[e]===i&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"ske
w":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||
(s(n).transformCache[e]="("+r+")"),s(n).transformCache[e]}}}();for(var t=0;t<w.L
ists.colors.length;t++)!function(){var e=w.Lists.colors[t];w.Normalizations.regi
stered[e]=function(t,n,r){switch(t){case"name":return e;case"extract":var o;if(w
.RegEx.wrappedValueAlreadyExtracted.test(r))o=r;else{var s,a={black:"rgb(0, 0, 0

)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"r


gb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?s=a[r]!==i?a[r]:a
.black:w.RegEx.isHex.test(r)?s="rgb("+w.Values.hexToRgb(r).join(" ")+")":/^rgba?
\(/i.test(r)||(s=a.black),o=(s||r).toString().match(w.RegEx.valueUnwrap)[1].repl
ace(/,(\s+)?/g," ")}return 8>=p||3!==o.split(" ").length||(o+=" 1"),o;case"injec
t":return 8>=p?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):
3===r.split(" ").length&&(r+=" 1"),(8>=p?"rgb":"rgba")+"("+r.replace(/\s+/g,",")
.replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.re
place(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){
var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||v.State.isAndroid&&
!v.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefi
xCheck:function(t){if(v.State.prefixMatches[t])return[v.State.prefixMatches[t],!
0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var r;if(r=0==
=n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),f.isString(v.Stat
e.prefixElement.style[r]))return v.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}
},Values:{/* Hex to RGB conversion. Copyright Tim Down: http://stackoverflow.com
/questions/5623838/rgb-to-hex-and-hex-to-rgb */
hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2
})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+
n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:
[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\
(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.t
est(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fon
tWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:f
unction(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt
|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|scr
ipt|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$
/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":"block"},addClass:function(
t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},
removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.classN
ame.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi
")," ")}},getPropertyValue:function(t,n,r,o){function a(t,n){function r(){u&&w.s
etPropertyValue(t,"display","none")}var c=0;if(8>=p)c=h.css(t,n);else{var u=!1;i
f(/^(width|height)$/.test(n)&&0===w.getPropertyValue(t,"display")&&(u=!0,w.setPr
opertyValue(t,"display",w.Values.getDisplayType(t))),!o){if("height"===n&&"borde
r-box"!==w.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var l=t.off
setHeight-(parseFloat(w.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(w.
getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(w.getPropertyValue(t,"p
addingTop"))||0)-(parseFloat(w.getPropertyValue(t,"paddingBottom"))||0);return r
(),l}if("width"===n&&"border-box"!==w.getPropertyValue(t,"boxSizing").toString()
.toLowerCase()){var d=t.offsetWidth-(parseFloat(w.getPropertyValue(t,"borderLeft
Width"))||0)-(parseFloat(w.getPropertyValue(t,"borderRightWidth"))||0)-(parseFlo
at(w.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(w.getPropertyValue(t,"pa
ddingRight"))||0);return r(),d}}var _;_=s(t)===i?e.getComputedStyle(t,null):s(t)
.computedStyle?s(t).computedStyle:s(t).computedStyle=e.getComputedStyle(t,null),
(p||v.State.isFirefox)&&"borderColor"===n&&(n="borderTopColor"),c=9===p&&"filter
"===n?_.getPropertyValue(n):_[n],(""===c||null===c)&&(c=t.style[n]),r()}if("auto
"===c&&/^(top|right|bottom|left)$/i.test(n)){var f=a(t,"position");("fixed"===f|
|"absolute"===f&&/top|left/i.test(n))&&(c=h(t).position()[n]+"px")}return c}var
c;if(w.Hooks.registered[n]){var u=n,l=w.Hooks.getRoot(u);r===i&&(r=w.getProperty
Value(t,w.Names.prefixCheck(l)[0])),w.Normalizations.registered[l]&&(r=w.Normali
zations.registered[l]("extract",t,r)),c=w.Hooks.extractValue(u,r)}else if(w.Norm
alizations.registered[n]){var d,_;d=w.Normalizations.registered[n]("name",t),"tr
ansform"!==d&&(_=a(t,w.Names.prefixCheck(d)[0]),w.Values.isCSSNullValue(_)&&w.Ho
oks.templates[n]&&(_=w.Hooks.templates[n][1])),c=w.Normalizations.registered[n](
"extract",t,_)}return/^[\d-]/.test(c)||(c=s(t)&&s(t).isSVG&&w.Names.SVGAttribute
(n)?/^(height|width)$/i.test(n)?t.getBBox()[n]:t.getAttribute(n):a(t,w.Names.pre
fixCheck(n)[0])),w.Values.isCSSNullValue(c)&&(c=0),v.debug>=2&&console.log("Get
"+n+": "+c),c},setPropertyValue:function(t,n,i,r,o){var a=n;if("scroll"===n)o.co
ntainer?o.container["scroll"+o.direction]=i:"Left"===o.direction?e.scrollTo(i,o.

alternateValue):e.scrollTo(o.alternateValue,i);else if(w.Normalizations.register
ed[n]&&"transform"===w.Normalizations.registered[n]("name",t))w.Normalizations.r
egistered[n]("inject",t,i),a="transform",i=s(t).transformCache[n];else{if(w.Hook
s.registered[n]){var c=n,u=w.Hooks.getRoot(n);r=r||w.getPropertyValue(t,u),i=w.H
ooks.injectValue(c,i,r),n=u}if(w.Normalizations.registered[n]&&(i=w.Normalizatio
ns.registered[n]("inject",t,i),n=w.Normalizations.registered[n]("name",t)),a=w.N
ames.prefixCheck(n)[0],8>=p)try{t.style[a]=i}catch(l){v.debug&&console.log("Brow
ser does not support ["+i+"] for ["+a+"]")}else s(t)&&s(t).isSVG&&w.Names.SVGAtt
ribute(n)?t.setAttribute(n,i):t.style[a]=i;v.debug>=2&&console.log("Set "+n+" ("
+a+"): "+i)}return[a,i]},flushTransformCache:function(t){function e(e){return pa
rseFloat(w.getPropertyValue(t,e))}var n="";if((p||v.State.isAndroid&&!v.State.is
Chrome)&&s(t).isSVG){var i={translate:[e("translateX"),e("translateY")],skewX:[e
("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("s
caleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};h.each(s(t).transformCache,funct
ion(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/
i.test(t)&&(t="rotate"),i[t]&&(n+=t+"("+i[t].join(" ")+") ",delete i[t])})}else{
var r,o;h.each(s(t).transformCache,function(e){return r=s(t).transformCache[e],"
transformPerspective"===e?(o=r,!0):(9===p&&"rotateZ"===e&&(e="rotate"),void(n+=e
+r+" "))}),o&&(n="perspective"+o+" "+n)}w.setPropertyValue(t,"transform",n)}};w.
Hooks.register(),w.Normalizations.register(),v.hook=function(t,e,n){var r=i;retu
rn t=o(t),h.each(t,function(t,o){if(s(o)===i&&v.init(o),n===i)r===i&&(r=v.CSS.ge
tPropertyValue(o,e));else{var a=v.CSS.setPropertyValue(o,e,n);"transform"===a[0]
&&v.CSS.flushTransformCache(o),r=a}}),r};var k=function(){function t(){return c?
A.promise||null:p}function a(){function t(){function t(t,e){var n=i,r=i,o=i;retu
rn f.isArray(t)?(n=t[0],!f.isArray(t[1])&&/^[\d-]/.test(t[1])||f.isFunction(t[1]
)||w.RegEx.isHex.test(t[1])?o=t[1]:(f.isString(t[1])&&!w.RegEx.isHex.test(t[1])|
|f.isArray(t[1]))&&(r=e?t[1]:u(t[1],c.duration),t[2]!==i&&(o=t[2]))):n=t,e||(r=r
||c.easing),f.isFunction(n)&&(n=n.call(a,E,S)),f.isFunction(o)&&(o=o.call(a,E,S)
),[n||0,r,o]}function p(t,e){var n,i;return i=(e||"0").toString().toLowerCase().
replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=w.Values.getUnitType(t)),[i
,n]}function _(){var t={myParent:a.parentNode||n.body,position:w.getPropertyValu
e(a,"position"),fontSize:w.getPropertyValue(a,"fontSize")},i=t.position===L.last
Position&&t.myParent===L.lastParent,r=t.fontSize===L.lastFontSize;L.lastParent=t
.myParent,L.lastPosition=t.position,L.lastFontSize=t.fontSize;var o=100,c={};if(
r&&i)c.emToPx=L.lastEmToPx,c.percentToPxWidth=L.lastPercentToPxWidth,c.percentTo
PxHeight=L.lastPercentToPxHeight;else{var u=s(a).isSVG?n.createElementNS("http:/
/www.w3.org/2000/svg","rect"):n.createElement("div");v.init(u),t.myParent.append
Child(u),h.each(["overflow","overflowX","overflowY"],function(t,e){v.CSS.setProp
ertyValue(u,e,"hidden")}),v.CSS.setPropertyValue(u,"position",t.position),v.CSS.
setPropertyValue(u,"fontSize",t.fontSize),v.CSS.setPropertyValue(u,"boxSizing","
content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","hei
ght"],function(t,e){v.CSS.setPropertyValue(u,e,o+"%")}),v.CSS.setPropertyValue(u
,"paddingLeft",o+"em"),c.percentToPxWidth=L.lastPercentToPxWidth=(parseFloat(w.g
etPropertyValue(u,"width",null,!0))||1)/o,c.percentToPxHeight=L.lastPercentToPxH
eight=(parseFloat(w.getPropertyValue(u,"height",null,!0))||1)/o,c.emToPx=L.lastE
mToPx=(parseFloat(w.getPropertyValue(u,"paddingLeft"))||1)/o,t.myParent.removeCh
ild(u)}return null===L.remToPx&&(L.remToPx=parseFloat(w.getPropertyValue(n.body,
"fontSize"))||16),null===L.vwToPx&&(L.vwToPx=parseFloat(e.innerWidth)/100,L.vhTo
Px=parseFloat(e.innerHeight)/100),c.remToPx=L.remToPx,c.vwToPx=L.vwToPx,c.vhToPx
=L.vhToPx,v.debug>=1&&console.log("Unit ratios: "+JSON.stringify(c),a),c}if(c.be
gin&&0===E)try{c.begin.call(g,g)}catch(m){setTimeout(function(){throw m},1)}if("
scroll"===N){var k,x,C,T=/^x$/i.test(c.axis)?"Left":"Top",O=parseFloat(c.offset)
||0;c.container?f.isWrapped(c.container)||f.isNode(c.container)?(c.container=c.c
ontainer[0]||c.container,k=c.container["scroll"+T],C=k+h(a).position()[T.toLower
Case()]+O):c.container=null:(k=v.State.scrollAnchor[v.State["scrollProperty"+T]]
,x=v.State.scrollAnchor[v.State["scrollProperty"+("Left"===T?"Top":"Left")]],C=h
(a).offset()[T.toLowerCase()]+O),d={scroll:{rootPropertyValue:!1,startValue:k,cu
rrentValue:k,endValue:C,unitType:"",easing:c.easing,scrollData:{container:c.cont
ainer,direction:T,alternateValue:x}},element:a},v.debug&&console.log("tweensCont
ainer (scroll): ",d.scroll,a)}else if("reverse"===N){if(!s(a).tweensContainer)re

turn void h.dequeue(a,c.queue);"none"===s(a).opts.display&&(s(a).opts.display="a


uto"),"hidden"===s(a).opts.visibility&&(s(a).opts.visibility="visible"),s(a).opt
s.loop=!1,s(a).opts.begin=null,s(a).opts.complete=null,y.easing||delete c.easing
,y.duration||delete c.duration,c=h.extend({},s(a).opts,c);var j=h.extend(!0,{},s
(a).tweensContainer);for(var $ in j)if("element"!==$){var M=j[$].startValue;j[$]
.startValue=j[$].currentValue=j[$].endValue,j[$].endValue=M,f.isEmptyObject(y)||
(j[$].easing=c.easing),v.debug&&console.log("reverse tweensContainer ("+$+"): "+
JSON.stringify(j[$]),a)}d=j}else if("start"===N){var j;s(a).tweensContainer&&s(a
).isAnimating===!0&&(j=s(a).tweensContainer),h.each(b,function(e,n){if(RegExp("^
"+w.Lists.colors.join("$|^")+"$").test(e)){var r=t(n,!0),o=r[0],s=r[1],a=r[2];if
(w.RegEx.isHex.test(o)){for(var c=["Red","Green","Blue"],u=w.Values.hexToRgb(o),
l=a?w.Values.hexToRgb(a):i,d=0;d<c.length;d++){var h=[u[d]];s&&h.push(s),l!==i&&
h.push(l[d]),b[e+c[d]]=h}delete b[e]}}});for(var P in b){var D=t(b[P]),F=D[0],z=
D[1],R=D[2];P=w.Names.camelCase(P);var B=w.Hooks.getRoot(P),H=!1;if(s(a).isSVG||
w.Names.prefixCheck(B)[1]!==!1||w.Normalizations.registered[B]!==i){(c.display!=
=i&&null!==c.display&&"none"!==c.display||c.visibility!==i&&"hidden"!==c.visibil
ity)&&/opacity|filter/.test(P)&&!R&&0!==F&&(R=0),c._cacheValues&&j&&j[P]?(R===i&
&(R=j[P].endValue+j[P].unitType),H=s(a).rootPropertyValueCache[B]):w.Hooks.regis
tered[P]?R===i?(H=w.getPropertyValue(a,B),R=w.getPropertyValue(a,P,H)):H=w.Hooks
.templates[B][1]:R===i&&(R=w.getPropertyValue(a,P));var q,U,W,Y=!1;if(q=p(P,R),R
=q[0],W=q[1],q=p(P,F),F=q[0].replace(/^([+-\/*])=/,function(t,e){return Y=e,""})
,U=q[1],R=parseFloat(R)||0,F=parseFloat(F)||0,"%"===U&&(/^(fontSize|lineHeight)$
/.test(P)?(F/=100,U="em"):/^scale/.test(P)?(F/=100,U=""):/(Red|Green|Blue)$/i.te
st(P)&&(F=F/100*255,U="")),/[\/*]/.test(Y))U=W;else if(W!==U&&0!==R)if(0===F)U=W
;else{o=o||_();var V=/margin|padding|left|right|width|text|word|letter/i.test(P)
||/X$/.test(P)||"x"===P?"x":"y";switch(W){case"%":R*="x"===V?o.percentToPxWidth:
o.percentToPxHeight;break;case"px":break;default:R*=o[W+"ToPx"]}switch(U){case"%
":R*=1/("x"===V?o.percentToPxWidth:o.percentToPxHeight);break;case"px":break;def
ault:R*=1/o[U+"ToPx"]}}switch(Y){case"+":F=R+F;break;case"-":F=R-F;break;case"*"
:F=R*F;break;case"/":F=R/F}d[P]={rootPropertyValue:H,startValue:R,currentValue:R
,endValue:F,unitType:U,easing:z},v.debug&&console.log("tweensContainer ("+P+"):
"+JSON.stringify(d[P]),a)}else v.debug&&console.log("Skipping ["+B+"] due to a l
ack of browser support.")}d.element=a}d.element&&(w.Values.addClass(a,"velocityanimating"),I.push(d),""===c.queue&&(s(a).tweensContainer=d,s(a).opts=c),s(a).is
Animating=!0,E===S-1?(v.State.calls.length>1e4&&(v.State.calls=r(v.State.calls))
,v.State.calls.push([I,g,c,null,A.resolver]),v.State.isTicking===!1&&(v.State.is
Ticking=!0,l())):E++)}var o,a=this,c=h.extend({},v.defaults,y),d={};switch(s(a)=
==i&&v.init(a),parseFloat(c.delay)&&c.queue!==!1&&h.queue(a,c.queue,function(t){
v.velocityQueueEntryFlag=!0,s(a).delayTimer={setTimeout:setTimeout(t,parseFloat(
c.delay)),next:t}}),c.duration.toString().toLowerCase()){case"fast":c.duration=2
00;break;case"normal":c.duration=m;break;case"slow":c.duration=600;break;default
:c.duration=parseFloat(c.duration)||1}v.mock!==!1&&(v.mock===!0?c.duration=c.del
ay=1:(c.duration*=parseFloat(v.mock)||1,c.delay*=parseFloat(v.mock)||1)),c.easin
g=u(c.easing,c.duration),c.begin&&!f.isFunction(c.begin)&&(c.begin=null),c.progr
ess&&!f.isFunction(c.progress)&&(c.progress=null),c.complete&&!f.isFunction(c.co
mplete)&&(c.complete=null),c.display!==i&&null!==c.display&&(c.display=c.display
.toString().toLowerCase(),"auto"===c.display&&(c.display=v.CSS.Values.getDisplay
Type(a))),c.visibility!==i&&null!==c.visibility&&(c.visibility=c.visibility.toSt
ring().toLowerCase()),c.mobileHA=c.mobileHA&&v.State.isMobile&&!v.State.isGinger
bread,c.queue===!1?c.delay?setTimeout(t,c.delay):t():h.queue(a,c.queue,function(
e,n){return n===!0?(A.promise&&A.resolver(g),!0):(v.velocityQueueEntryFlag=!0,vo
id t(e))}),""!==c.queue&&"fx"!==c.queue||"inprogress"===h.queue(a)[0]||h.dequeue
(a)}var c,p,_,g,b,y,x=arguments[0]&&(h.isPlainObject(arguments[0].properties)&&!
arguments[0].properties.names||f.isString(arguments[0].properties));if(f.isWrapp
ed(this)?(c=!1,_=0,g=this,p=this):(c=!0,_=1,g=x?arguments[0].elements:arguments[
0]),g=o(g)){x?(b=arguments[0].properties,y=arguments[0].options):(b=arguments[_]
,y=arguments[_+1]);var S=g.length,E=0;if("stop"!==b&&!h.isPlainObject(y)){var C=
_+1;y={};for(var T=C;T<arguments.length;T++)f.isArray(arguments[T])||!/^(fast|no
rmal|slow)$/i.test(arguments[T])&&!/^\d/.test(arguments[T])?f.isString(arguments
[T])||f.isArray(arguments[T])?y.easing=arguments[T]:f.isFunction(arguments[T])&&

(y.complete=arguments[T]):y.duration=arguments[T]}var A={promise:null,resolver:n
ull,rejecter:null};c&&v.Promise&&(A.promise=new v.Promise(function(t,e){A.resolv
er=t,A.rejecter=e}));var N;switch(b){case"scroll":N="scroll";break;case"reverse"
:N="reverse";break;case"stop":h.each(g,function(t,e){s(e)&&s(e).delayTimer&&(cle
arTimeout(s(e).delayTimer.setTimeout),s(e).delayTimer.next&&s(e).delayTimer.next
(),delete s(e).delayTimer)});var O=[];return h.each(v.State.calls,function(t,e){
e&&h.each(e[1],function(n,r){var o=f.isString(y)?y:"";return y!==i&&e[2].queue!=
=o?!0:void h.each(g,function(e,n){n===r&&(y!==i&&(h.each(h.queue(n,o),function(t
,e){f.isFunction(e)&&e(null,!0)}),h.queue(n,o,[])),s(n)&&""===o&&h.each(s(n).twe
ensContainer,function(t,e){e.endValue=e.currentValue}),O.push(t))})})}),h.each(O
,function(t,e){d(e,!0)}),A.promise&&A.resolver(g),t();default:if(!h.isPlainObjec
t(b)||f.isEmptyObject(b)){if(f.isString(b)&&v.Redirects[b]){var j=h.extend({},y)
,$=j.duration,M=j.delay||0;return j.backwards===!0&&(g=h.extend(!0,[],g).reverse
()),h.each(g,function(t,e){parseFloat(j.stagger)?j.delay=M+parseFloat(j.stagger)
*t:f.isFunction(j.stagger)&&(j.delay=M+j.stagger.call(e,t,S)),j.drag&&(j.duratio
n=parseFloat($)||(/^(callout|transition)/.test(b)?1e3:m),j.duration=Math.max(j.d
uration*(j.backwards?1-t/S:(t+1)/S),.75*j.duration,200)),v.Redirects[b].call(e,e
,j||{},t,S,g,A.promise?A:i)}),t()}var P="Velocity: First argument ("+b+") was no
t a property map, a known action, or a registered redirect. Aborting.";return A.
promise?A.rejecter(new Error(P)):console.log(P),t()}N="start"}var L={lastParent:
null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentTo
PxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},I=[];h.each(
g,function(t,e){f.isNode(e)&&a.call(e)});var D,j=h.extend({},v.defaults,y);if(j.
loop=parseInt(j.loop),D=2*j.loop-1,j.loop)for(var F=0;D>F;F++){var z={delay:j.de
lay,progress:j.progress};F===D-1&&(z.display=j.display,z.visibility=j.visibility
,z.complete=j.complete),k(g,"reverse",z)}return t()}};v=h.extend(k,v),v.animate=
k;var x=e.requestAnimationFrame||_;return v.State.isMobile||n.hidden===i||n.addE
ventListener("visibilitychange",function(){n.hidden?(x=function(t){return setTim
eout(function(){t(!0)},16)},l()):x=e.requestAnimationFrame||_}),t.Velocity=v,t!=
=e&&(t.fn.velocity=k,t.fn.velocity.defaults=v.defaults),h.each(["Down","Up"],fun
ction(t,e){v.Redirects["slide"+e]=function(t,n,r,o,s,a){var c=h.extend({},n),u=c
.begin,l=c.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",padd
ingBottom:""},p={};c.display===i&&(c.display="Down"===e?"inline"===v.CSS.Values.
getDisplayType(t)?"inline-block":"block":"none"),c.begin=function(){u&&u.call(s,
s);for(var n in d){p[n]=t.style[n];var i=v.CSS.getPropertyValue(t,n);d[n]="Down"
===e?[i,0]:[0,i]}p.overflow=t.style.overflow,t.style.overflow="hidden"},c.comple
te=function(){for(var e in p)t.style[e]=p[e];l&&l.call(s,s),a&&a.resolver(s)},v(
t,d,c)}}),h.each(["In","Out"],function(t,e){v.Redirects["fade"+e]=function(t,n,r
,o,s,a){var c=h.extend({},n),u={opacity:"In"===e?1:0},l=c.complete;c.complete=r!
==o-1?c.begin=null:function(){l&&l.call(s,s),a&&a.resolver(s)},c.display===i&&(c
.display="In"===e?"auto":"none"),v(this,u,c)}}),v}(window.jQuery||window.Zepto||
window,window,document)});
/* public/javascripts/velocity.ui.js @ 1478902339 */
/* VelocityJS.org UI Pack (5.0.0). (C) 2014 Julian Shapiro. MIT @license: en.wik
ipedia.org/wiki/MIT_License. Portions copyright Daniel Eden, Christian Pucci. */
!function(t){"function"==typeof require&&"object"==typeof exports?module.exports
=t():"function"==typeof define&&define.amd?define(["velocity"],t):t()}(function(
){return function(t,e,n,i){function r(t,e){var n=[];return t&&e?(s.each([t,e],fu
nction(t,e){var i=[];s.each(e,function(t,e){for(;e.toString().length<5;)e="0"+e;
i.push(e)}),n.push(i.join(""))}),parseFloat(n[0])>parseFloat(n[1])):!1}if(!t.Vel
ocity||!t.Velocity.Utilities)return void(e.console&&console.log("Velocity UI Pac
k: Velocity must be loaded first. Aborting."));var o=t.Velocity,s=o.Utilities,a=
o.version,c={major:1,minor:1,patch:0};if(r(c,a)){var u="Velocity UI Pack: You ne
ed to update Velocity (jquery.velocity.js) to a newer version. Visit http://gith
ub.com/julianshapiro/velocity.";throw alert(u),new Error(u)}o.RegisterEffect=o.R
egisterUI=function(t,e){function n(t,e,n,i){var r,a=0;s.each(t.nodeType?[t]:t,fu
nction(t,e){i&&(n+=t*i),r=e.parentNode,s.each(["height","paddingTop","paddingBot
tom","marginTop","marginBottom"],function(t,n){a+=parseFloat(o.CSS.getPropertyVa

lue(e,n))})}),o.animate(r,{height:("In"===e?"+":"-")+"="+a},{queue:!1,easing:"ea
se-in-out",duration:n*("In"===e?.6:1)})}return o.Redirects[t]=function(r,a,c,u,l
,d){function h(){a.display!==i&&"none"!==a.display||!/Out$/.test(t)||s.each(l.no
deType?[l]:l,function(t,e){o.CSS.setPropertyValue(e,"display","none")}),a.comple
te&&a.complete.call(l,l),d&&d.resolver(l||r)}var p=c===u-1;e.defaultDuration="fu
nction"==typeof e.defaultDuration?e.defaultDuration.call(l,l):parseFloat(e.defau
ltDuration);for(var _=0;_<e.calls.length;_++){var f=e.calls[_],g=f[0],m=a.durati
on||e.defaultDuration||1e3,b=f[1],v=f[2]||{},y={};if(y.duration=m*(b||1),y.queue
=a.queue||"",y.easing=v.easing||"ease",y.delay=parseFloat(v.delay)||0,y._cacheVa
lues=v._cacheValues||!0,0===_){if(y.delay+=parseFloat(a.delay)||0,0===c&&(y.begi
n=function(){a.begin&&a.begin.call(l,l);var e=t.match(/(In|Out)$/);e&&"In"===e[0
]&&g.opacity!==i&&s.each(l.nodeType?[l]:l,function(t,e){o.CSS.setPropertyValue(e
,"opacity",0)}),a.animateParentHeight&&e&&n(l,e[0],m+y.delay,a.stagger)}),null!=
=a.display)if(a.display!==i&&"none"!==a.display)y.display=a.display;else if(/In$
/.test(t)){var w=o.CSS.Values.getDisplayType(r);y.display="inline"===w?"inline-b
lock":w}a.visibility&&"hidden"!==a.visibility&&(y.visibility=a.visibility)}_===e
.calls.length-1&&(y.complete=function(){if(e.reset){for(var t in e.reset){var n=
e.reset[t];o.CSS.Hooks.registered[t]!==i||"string"!=typeof n&&"number"!=typeof n
||(e.reset[t]=[e.reset[t],e.reset[t]])}var s={duration:0,queue:!1};p&&(s.complet
e=h),o.animate(r,e.reset,s)}else p&&h()},"hidden"===a.visibility&&(y.visibility=
a.visibility)),o.animate(r,g,y)}},o},o.RegisterEffect.packagedEffects={"callout.
bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125]
,[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration
:800,calls:[[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.12
5],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:11},.125],[{trans
lateX:-11},.125],[{translateX:0},.125]]},"callout.flash":{defaultDuration:1100,c
alls:[[{opacity:[0,"easeInOutQuad",1]},.25],[{opacity:[1,"easeInOutQuad"]},.25],
[{opacity:[0,"easeInOutQuad"]},.25],[{opacity:[1,"easeInOutQuad"]},.25]]},"callo
ut.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5],[{scaleX:1,sc
aleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15},.2],[{ro
tateZ:-10},.2],[{rotateZ:5},.2],[{rotateZ:-5},.2],[{rotateZ:0},.2]]},"callout.ta
da":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1
.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",
.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scal
eX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[
{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0
,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transfo
rmPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"tran
sition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspectiv
e:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.
flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,8
00],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{de
faultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:
25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defa
ultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY
:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:
{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls
:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10},.5],[{opacity:0,r
otateY:90},.5]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounce
YIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,40
0],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.2
5]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration
:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15},.5],[{o
pacity:0,rotateX:90},.5]],reset:{transformPerspective:0,rotateX:0}},"transition.
swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","5
0%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-7
00],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"tran
sition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["
50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,
translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,sc

aleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity
:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0
],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlO
ut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOrigin
X:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,
{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{d
efaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transfo
rmOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transiti
on.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%
","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],re
set:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opa
city:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:
[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuratio
n:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["5
0%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"trans
ition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],sca
leY:[1.05,.3]},.4],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},
.5]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95
},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scal
eY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:
800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{tr
anslateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration
:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.
8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[
[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-1
0},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,cal
ls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],rese
t:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacit
y:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],
[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{t
ranslateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{tra
nslateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,
0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{tran
slateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{transl
ateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translat
eX:0}},"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],transl
ateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:
[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transitio
n.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],tr
anslateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[
0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn
":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]
},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],transla
teX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{default
Duration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transiti
on.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,tra
nslateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:85
0,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpB
igOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]
],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[
[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut"
:{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset
:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opaci
ty:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defau
ltDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{tran
slateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1
,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDur
ation:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX
:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],tr
ansformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","10

0%"],rotateX:[0,-180]}]]},"transition.perspectiveUpOut":{defaultDuration:850,cal
ls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transf
ormOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transfo
rmOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn
":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],tra
nsformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPe
rspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspect
iveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[80
0,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{trans
formPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"tra
nsition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transform
Perspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"5
0%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1
],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],r
otateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOri
ginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,call
s:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%
"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,trans
formOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{def
aultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transform
OriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPe
rspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}};for(var l
in o.RegisterEffect.packagedEffects)o.RegisterEffect(l,o.RegisterEffect.package
dEffects[l]);o.RunSequence=function(t){var e=s.extend(!0,[],t);e.length>1&&(s.ea
ch(e.reverse(),function(t,n){var i=e[t+1];if(i){var r=n.options&&n.options.seque
nceQueue===!1?"begin":"complete",a=i.options&&i.options[r],c={};c[r]=function(){
var t=i.elements.nodeType?[i.elements]:i.elements;a&&a.call(t,t),o(n)},i.options
=s.extend({},i.options,c)}}),e.reverse()),o(e[0])}}(window.jQuery||window.Zepto|
|window,window,document)});
/* public/javascripts/react-with-addons-0.14.6.js @ 1478902339 */
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.expo
rts=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e=
"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!
=typeof self?self:this,e.React=t()}}(function(){return function t(e,n,i){functio
n r(s,a){if(!n[s]){if(!e[s]){var c="function"==typeof require&&require;if(!a&&c)
return c(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'")
;throw u.code="MODULE_NOT_FOUND",u}var l=n[s]={exports:{}};e[s][0].call(l.export
s,function(t){var n=e[s][1][t];return r(n?n:t)},l,l.exports,t,e,n,i)}return n[s]
.exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]
);return r}({1:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactWithAddons
*/
"use strict";var n=t(22),i=t(26),r=t(37),o=t(29),s=t(64),a=t(94),c=t(96),u=t(118
),l=t(140),d=t(143),h=t(173),p=!1;i.addons={CSSTransitionGroup:o,LinkedStateMixi
n:n,PureRenderMixin:r,TransitionGroup:a,batchedUpdates:function(){return h(p,"Re
act.addons.batchedUpdates is deprecated. Use ReactDOM.unstable_batchedUpdates in
stead."),p=!0,c.batchedUpdates.apply(this,arguments)},cloneWithProps:u,createFra
gment:s.create,shallowCompare:l,update:d},i.addons.Perf=t(55),i.addons.TestUtils
=t(91),e.exports=i},{118:118,140:140,143:143,173:173,22:22,26:26,29:29,37:37,55:
55,64:64,91:91,94:94,96:96}],2:[function(t,e){/**

* Copyright 2013-2015, Facebook, Inc.


* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule AutoFocusUtils
* @typechecks static-only
*/
"use strict";var n=t(72),i=t(122),r=t(155),o={componentDidMount:function(){this.
props.autoFocus&&r(i(this))}},s={Mixin:o,focusDOMComponent:function(){r(n.getNod
e(this._rootNodeID))}};e.exports=s},{122:122,155:155,72:72}],3:[function(t,e){/*
*
* Copyright 2013-2015 Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule BeforeInputEventPlugin
* @typechecks static-only
*/
"use strict";function n(){var t=window.opera;return"object"==typeof t&&"function
"==typeof t.version&&parseInt(t.version(),10)<=12}function i(t){return(t.ctrlKey
||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function r(t){switch(t){case T.to
pCompositionStart:return A.compositionStart;case T.topCompositionEnd:return A.co
mpositionEnd;case T.topCompositionUpdate:return A.compositionUpdate}}function o(
t,e){return t===T.topKeyDown&&e.keyCode===y}function s(t,e){switch(t){case T.top
KeyUp:return-1!==v.indexOf(e.keyCode);case T.topKeyDown:return e.keyCode!==y;cas
e T.topKeyPress:case T.topMouseDown:case T.topBlur:return!0;default:return!1}}fu
nction a(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}func
tion c(t,e,n,i,c){var u,l;if(w?u=r(t):O?s(t,i)&&(u=A.compositionEnd):o(t,i)&&(u=
A.compositionStart),!u)return null;S&&(O||u!==A.compositionStart?u===A.compositi
onEnd&&O&&(l=O.getData()):O=f.getPooled(e));var d=m.getPooled(u,n,i,c);if(l)d.da
ta=l;else{var h=a(i);null!==h&&(d.data=h)}return p.accumulateTwoPhaseDispatches(
d),d}function u(t,e){switch(t){case T.topCompositionEnd:return a(e);case T.topKe
yPress:var n=e.which;return n!==C?null:(N=!0,E);case T.topTextInput:var i=e.data
;return i===E&&N?null:i;default:return null}}function l(t,e){if(O){if(t===T.topC
ompositionEnd||s(t,e)){var n=O.getData();return f.release(O),O=null,n}return nul
l}switch(t){case T.topPaste:return null;case T.topKeyPress:return e.which&&!i(e)
?String.fromCharCode(e.which):null;case T.topCompositionEnd:return S?null:e.data
;default:return null}}function d(t,e,n,i,r){var o;if(o=x?u(t,i):l(t,i),!o)return
null;var s=g.getPooled(A.beforeInput,n,i,r);return s.data=o,p.accumulateTwoPhas
eDispatches(s),s}var h=t(15),p=t(19),_=t(147),f=t(20),m=t(103),g=t(107),b=t(166)
,v=[9,13,27,32],y=229,w=_.canUseDOM&&"CompositionEvent"in window,k=null;_.canUse
DOM&&"documentMode"in document&&(k=document.documentMode);var x=_.canUseDOM&&"Te
xtEvent"in window&&!k&&!n(),S=_.canUseDOM&&(!w||k&&k>8&&11>=k),C=32,E=String.fro
mCharCode(C),T=h.topLevelTypes,A={beforeInput:{phasedRegistrationNames:{bubbled:
b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[T
.topCompositionEnd,T.topKeyPress,T.topTextInput,T.topPaste]},compositionEnd:{pha
sedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositi
onEndCapture:null})},dependencies:[T.topBlur,T.topCompositionEnd,T.topKeyDown,T.
topKeyPress,T.topKeyUp,T.topMouseDown]},compositionStart:{phasedRegistrationName
s:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:nu
ll})},dependencies:[T.topBlur,T.topCompositionStart,T.topKeyDown,T.topKeyPress,T
.topKeyUp,T.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b
({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},depe
ndencies:[T.topBlur,T.topCompositionUpdate,T.topKeyDown,T.topKeyPress,T.topKeyUp

,T.topMouseDown]}},N=!1,O=null,M={eventTypes:A,extractEvents:function(t,e,n,i,r)
{return[c(t,e,n,i,r),d(t,e,n,i,r)]}};e.exports=M},{103:103,107:107,147:147,15:15
,166:166,19:19,20:20}],4:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSProperty
*/
"use strict";function n(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}v
ar i={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,c
olumnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,
flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphan
s:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,stroke
Dashoffset:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Objec
t.keys(i).forEach(function(t){r.forEach(function(e){i[n(e,t)]=i[t]})});var o={ba
ckground:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgrou
ndPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{b
ackgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle
:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,bord
erBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftCo
lor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0
},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontSt
yle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},out
line:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:i,sh
orthandPropertyExpansions:o};e.exports=s},{}],5:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSPropertyOperations
* @typechecks static-only
*/
"use strict";var n=t(4),i=t(147),r=t(78),o=t(149),s=t(119),a=t(160),c=t(168),u=t
(173),l=c(function(t){return a(t)}),d=!1,h="cssFloat";if(i.canUseDOM){var p=docu
ment.createElement("div").style;try{p.font=""}catch(_){d=!0}void 0===document.do
cumentElement.style.cssFloat&&(h="styleFloat")}var f=/^(?:webkit|moz|o)[A-Z]/,m=
/;\s*$/,g={},b={},v=function(t){g.hasOwnProperty(t)&&g[t]||(g[t]=!0,u(!1,"Unsupp
orted style property %s. Did you mean %s?",t,o(t)))},y=function(t){g.hasOwnPrope
rty(t)&&g[t]||(g[t]=!0,u(!1,"Unsupported vendor-prefixed style property %s. Did
you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},w=function(t,e){b.hasOwn
Property(e)&&b[e]||(b[e]=!0,u(!1,'Style property values shouldn\'t contain a sem
icolon. Try "%s: %s" instead.',t,e.replace(m,"")))},k=function(t,e){t.indexOf("")>-1?v(t):f.test(t)?y(t):m.test(e)&&w(t,e)},x={createMarkupForStyles:function(t
){var e="";for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];k(n,i),null!=i&&(e+
=l(n)+":",e+=s(n,i)+";")}return e||null},setValueForStyles:function(t,e){var i=t
.style;for(var r in e)if(e.hasOwnProperty(r)){k(r,e[r]);var o=s(r,e[r]);if("floa
t"===r&&(r=h),o)i[r]=o;else{var a=d&&n.shorthandPropertyExpansions[r];if(a)for(v
ar c in a)i[c]="";else i[r]=""}}}};r.measureMethods(x,"CSSPropertyOperations",{s
etValueForStyles:"setValueForStyles"}),e.exports=x},{119:119,147:147,149:149,160
:160,168:168,173:173,4:4,78:78}],6:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*

* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CallbackQueue
*/
"use strict";function n(){this._callbacks=null,this._contexts=null}var i=t(25),r
=t(24),o=t(161);r(n.prototype,{enqueue:function(t,e){this._callbacks=this._callb
acks||[],this._contexts=this._contexts||[],this._callbacks.push(t),this._context
s.push(e)},notifyAll:function(){var t=this._callbacks,e=this._contexts;if(t){t.l
ength!==e.length?o(!1,"Mismatched list of contexts in callback queue"):void 0,th
is._callbacks=null,this._contexts=null;for(var n=0;n<t.length;n++)t[n].call(e[n]
);t.length=0,e.length=0}},reset:function(){this._callbacks=null,this._contexts=n
ull},destructor:function(){this.reset()}}),i.addPoolingTo(n),e.exports=n},{161:1
61,24:24,25:25}],7:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ChangeEventPlugin
*/
"use strict";function n(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"sel
ect"===e||"input"===e&&"file"===t.type}function i(t){var e=k.getPooled(A.change,
O,t,x(t));v.accumulateTwoPhaseDispatches(e),w.batchedUpdates(r,e)}function r(t){
b.enqueueEvents(t),b.processEventQueue(!1)}function o(t,e){N=t,O=e,N.attachEvent
("onchange",i)}function s(){N&&(N.detachEvent("onchange",i),N=null,O=null)}funct
ion a(t,e,n){return t===T.topChange?n:void 0}function c(t,e,n){t===T.topFocus?(s
(),o(e,n)):t===T.topBlur&&s()}function u(t,e){N=t,O=e,M=t.value,P=Object.getOwnP
ropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(N,"valu
e",j),N.attachEvent("onpropertychange",d)}function l(){N&&(delete N.value,N.deta
chEvent("onpropertychange",d),N=null,O=null,M=null,P=null)}function d(t){if("val
ue"===t.propertyName){var e=t.srcElement.value;e!==M&&(M=e,i(t))}}function h(t,e
,n){return t===T.topInput?n:void 0}function p(t,e,n){t===T.topFocus?(l(),u(e,n))
:t===T.topBlur&&l()}function _(t){return t!==T.topSelectionChange&&t!==T.topKeyU
p&&t!==T.topKeyDown||!N||N.value===M?void 0:(M=N.value,O)}function f(t){return t
.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t
.type)}function m(t,e,n){return t===T.topClick?n:void 0}var g=t(15),b=t(16),v=t(
19),y=t(147),w=t(96),k=t(105),x=t(128),S=t(133),C=t(134),E=t(166),T=g.topLevelTy
pes,A={change:{phasedRegistrationNames:{bubbled:E({onChange:null}),captured:E({o
nChangeCapture:null})},dependencies:[T.topBlur,T.topChange,T.topClick,T.topFocus
,T.topInput,T.topKeyDown,T.topKeyUp,T.topSelectionChange]}},N=null,O=null,M=null
,P=null,D=!1;y.canUseDOM&&(D=S("change")&&(!("documentMode"in document)||documen
t.documentMode>8));var I=!1;y.canUseDOM&&(I=S("input")&&(!("documentMode"in docu
ment)||document.documentMode>9));var j={get:function(){return P.get.call(this)},
set:function(t){M=""+t,P.set.call(this,t)}},L={eventTypes:A,extractEvents:functi
on(t,e,i,r,o){var s,u;if(n(e)?D?s=a:u=c:C(e)?I?s=h:(s=_,u=p):f(e)&&(s=m),s){var
l=s(t,e,i);if(l){var d=k.getPooled(A.change,l,r,o);return d.type="change",v.accu
mulateTwoPhaseDispatches(d),d}}u&&u(t,e,i)}};e.exports=L},{105:105,128:128,133:1
33,134:134,147:147,15:15,16:16,166:166,19:19,96:96}],8:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ClientReactRootIndex

* @typechecks
*/
"use strict";var n=0,i={createReactRootIndex:function(){return n++}};e.exports=i
},{}],9:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMChildrenOperations
* @typechecks static-only
*/
"use strict";function n(t,e,n){var i=n>=t.childNodes.length?null:t.childNodes.it
em(n);t.insertBefore(e,i)}var i=t(12),r=t(74),o=t(78),s=t(138),a=t(139),c=t(161)
,u={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTe
xtContent:a,processUpdates:function(t,e){for(var o,u=null,l=null,d=0;d<t.length;
d++)if(o=t[d],o.type===r.MOVE_EXISTING||o.type===r.REMOVE_NODE){var h=o.fromInde
x,p=o.parentNode.childNodes[h],_=o.parentID;p?void 0:c(!1,"processUpdates(): Una
ble to find child %s of element. This probably means the DOM was unexpectedly mu
tated (e.g., by the browser), usually due to forgetting a <tbody> when using tab
les, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg
> parent. Try inspecting the child nodes of the element with React ID `%s`.",h,_
),u=u||{},u[_]=u[_]||[],u[_][h]=p,l=l||[],l.push(p)}var f;if(f=e.length&&"string
"==typeof e[0]?i.dangerouslyRenderMarkup(e):e,l)for(var m=0;m<l.length;m++)l[m].
parentNode.removeChild(l[m]);for(var g=0;g<t.length;g++)switch(o=t[g],o.type){ca
se r.INSERT_MARKUP:n(o.parentNode,f[o.markupIndex],o.toIndex);break;case r.MOVE_
EXISTING:n(o.parentNode,u[o.parentID][o.fromIndex],o.toIndex);break;case r.SET_M
ARKUP:s(o.parentNode,o.content);break;case r.TEXT_CONTENT:a(o.parentNode,o.conte
nt);break;case r.REMOVE_NODE:}}};o.measureMethods(u,"DOMChildrenOperations",{upd
ateTextContent:"updateTextContent"}),e.exports=u},{12:12,138:138,139:139,161:161
,74:74,78:78}],10:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMProperty
* @typechecks static-only
*/
"use strict";function n(t,e){return(t&e)===e}var i=t(161),r={MUST_USE_ATTRIBUTE:
1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:1
6,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropert
yConfig:function(t){var e=r,o=t.Properties||{},a=t.DOMAttributeNamespaces||{},c=
t.DOMAttributeNames||{},u=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.is
CustomAttribute&&s._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var
d in o){s.properties.hasOwnProperty(d)?i(!1,"injectDOMPropertyConfig(...): You'
re trying to inject DOM property '%s' which has already been injected. You may b
e accidentally injecting the same DOM property config twice, or you may be injec
ting two configs that have conflicting property names.",d):void 0;var h=d.toLowe
rCase(),p=o[d],_={attributeName:h,attributeNamespace:null,propertyName:d,mutatio
nMethod:null,mustUseAttribute:n(p,e.MUST_USE_ATTRIBUTE),mustUseProperty:n(p,e.MU
ST_USE_PROPERTY),hasSideEffects:n(p,e.HAS_SIDE_EFFECTS),hasBooleanValue:n(p,e.HA
S_BOOLEAN_VALUE),hasNumericValue:n(p,e.HAS_NUMERIC_VALUE),hasPositiveNumericValu
e:n(p,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:n(p,e.HAS_OVERLOAD
ED_BOOLEAN_VALUE)};if(_.mustUseAttribute&&_.mustUseProperty?i(!1,"DOMProperty: C
annot require using both attribute and property: %s",d):void 0,!_.mustUsePropert

y&&_.hasSideEffects?i(!1,"DOMProperty: Properties that have side effects must us


e property: %s",d):void 0,_.hasBooleanValue+_.hasNumericValue+_.hasOverloadedBoo
leanValue<=1?void 0:i(!1,"DOMProperty: Value can be one of boolean, overloaded b
oolean, or numeric value, but not a combination: %s",d),s.getPossibleStandardNam
e[h]=d,c.hasOwnProperty(d)){var f=c[d];_.attributeName=f,s.getPossibleStandardNa
me[f]=d}a.hasOwnProperty(d)&&(_.attributeNamespace=a[d]),u.hasOwnProperty(d)&&(_
.propertyName=u[d]),l.hasOwnProperty(d)&&(_.mutationMethod=l[d]),s.properties[d]
=_}}},o={},s={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandard
Name:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0
;e<s._isCustomAttributeFunctions.length;e++){var n=s._isCustomAttributeFunctions
[e];if(n(t))return!0}return!1},getDefaultValueForProperty:function(t,e){var n,i=
o[t];return i||(o[t]=i={}),e in i||(n=document.createElement(t),i[e]=n[e]),i[e]}
,injection:r};e.exports=s},{161:161}],11:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DOMPropertyOperations
* @typechecks static-only
*/
"use strict";function n(t){return l.hasOwnProperty(t)?!0:u.hasOwnProperty(t)?!1:
c.test(t)?(l[t]=!0,!0):(u[t]=!0,a(!1,"Invalid attribute name: `%s`",t),!1)}funct
ion i(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t
.hasPositiveNumericValue&&1>e||t.hasOverloadedBooleanValue&&e===!1}var r=t(10),o
=t(78),s=t(136),a=t(173),c=/^[a-zA-Z_][\w\.\-]*$/,u={},l={},d={children:!0,dange
rouslySetInnerHTML:!0,key:!0,ref:!0},h={},p=function(t){if(!(d.hasOwnProperty(t)
&&d[t]||h.hasOwnProperty(t)&&h[t])){h[t]=!0;var e=t.toLowerCase(),n=r.isCustomAt
tribute(e)?e:r.getPossibleStandardName.hasOwnProperty(e)?r.getPossibleStandardNa
me[e]:null;a(null==n,"Unknown DOM property %s. Did you mean %s?",t,n)}},_={creat
eMarkupForID:function(t){return r.ID_ATTRIBUTE_NAME+"="+s(t)},setAttributeForID:
function(t,e){t.setAttribute(r.ID_ATTRIBUTE_NAME,e)},createMarkupForProperty:fun
ction(t,e){var n=r.properties.hasOwnProperty(t)?r.properties[t]:null;if(n){if(i(
n,e))return"";var o=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBoo
leanValue&&e===!0?o+'=""':o+"="+s(e)}return r.isCustomAttribute(t)?null==e?"":t+
"="+s(e):(p(t),null)},createMarkupForCustomAttribute:function(t,e){return n(t)&&
null!=e?t+"="+s(e):""},setValueForProperty:function(t,e,n){var o=r.properties.ha
sOwnProperty(e)?r.properties[e]:null;if(o){var s=o.mutationMethod;if(s)s(t,n);el
se if(i(o,n))this.deleteValueForProperty(t,e);else if(o.mustUseAttribute){var a=
o.attributeName,c=o.attributeNamespace;c?t.setAttributeNS(c,a,""+n):o.hasBoolean
Value||o.hasOverloadedBooleanValue&&n===!0?t.setAttribute(a,""):t.setAttribute(a
,""+n)}else{var u=o.propertyName;o.hasSideEffects&&""+t[u]==""+n||(t[u]=n)}}else
r.isCustomAttribute(e)?_.setValueForAttribute(t,e,n):p(e)},setValueForAttribute
:function(t,e,i){n(e)&&(null==i?t.removeAttribute(e):t.setAttribute(e,""+i))},de
leteValueForProperty:function(t,e){var n=r.properties.hasOwnProperty(e)?r.proper
ties[e]:null;if(n){var i=n.mutationMethod;if(i)i(t,void 0);else if(n.mustUseAttr
ibute)t.removeAttribute(n.attributeName);else{var o=n.propertyName,s=r.getDefaul
tValueForProperty(t.nodeName,o);n.hasSideEffects&&""+t[o]===s||(t[o]=s)}}else r.
isCustomAttribute(e)?t.removeAttribute(e):p(e)}};o.measureMethods(_,"DOMProperty
Operations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"set
ValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),e.exports=_
},{10:10,136:136,173:173,78:78}],12:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.

*
* @providesModule Danger
* @typechecks static-only
*/
"use strict";function n(t){return t.substring(1,t.indexOf(" "))}var i=t(147),r=t
(152),o=t(153),s=t(157),a=t(161),c=/^(<[^ \/>]+)/,u="data-danger-index",l={dange
rouslyRenderMarkup:function(t){i.canUseDOM?void 0:a(!1,"dangerouslyRenderMarkup(
...): Cannot render markup in a worker thread. Make sure `window` and `document`
are available globally before requiring React when unit testing or use ReactDOM
Server.renderToString for server rendering.");for(var e,l={},d=0;d<t.length;d++)
t[d]?void 0:a(!1,"dangerouslyRenderMarkup(...): Missing markup."),e=n(t[d]),e=s(
e)?e:"*",l[e]=l[e]||[],l[e][d]=t[d];var h=[],p=0;for(e in l)if(l.hasOwnProperty(
e)){var _,f=l[e];for(_ in f)if(f.hasOwnProperty(_)){var m=f[_];f[_]=m.replace(c,
"$1 "+u+'="'+_+'" ')}for(var g=r(f.join(""),o),b=0;b<g.length;++b){var v=g[b];v.
hasAttribute&&v.hasAttribute(u)?(_=+v.getAttribute(u),v.removeAttribute(u),h.has
OwnProperty(_)?a(!1,"Danger: Assigning to an already-occupied result index."):vo
id 0,h[_]=v,p+=1):console.error("Danger: Discarding unexpected node:",v)}}return
p!==h.length?a(!1,"Danger: Did not assign to every index of resultList."):void
0,h.length!==t.length?a(!1,"Danger: Expected markup to render %s nodes, but rend
ered %s.",t.length,h.length):void 0,h},dangerouslyReplaceNodeWithMarkup:function
(t,e){i.canUseDOM?void 0:a(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot ren
der markup in a worker thread. Make sure `window` and `document` are available g
lobally before requiring React when unit testing or use ReactDOMServer.renderToS
tring() for server rendering."),e?void 0:a(!1,"dangerouslyReplaceNodeWithMarkup(
...): Missing markup."),"html"===t.tagName.toLowerCase()?a(!1,"dangerouslyReplac
eNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because
browser quirks make this unreliable and/or slow. If you want to render to the ro
ot you must use server rendering. See ReactDOMServer.renderToString()."):void 0;
var n;n="string"==typeof e?r(e,o)[0]:e,t.parentNode.replaceChild(n,t)}};e.export
s=l},{147:147,152:152,153:153,157:157,161:161}],13:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule DefaultEventPluginOrder
*/
"use strict";var n=t(166),i=[n({ResponderEventPlugin:null}),n({SimpleEventPlugin
:null}),n({TapEventPlugin:null}),n({EnterLeaveEventPlugin:null}),n({ChangeEventP
lugin:null}),n({SelectEventPlugin:null}),n({BeforeInputEventPlugin:null})];e.exp
orts=i},{166:166}],14:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EnterLeaveEventPlugin
* @typechecks static-only
*/
"use strict";var n=t(15),i=t(19),r=t(109),o=t(72),s=t(166),a=n.topLevelTypes,c=o
.getFirstReactDOM,u={mouseEnter:{registrationName:s({onMouseEnter:null}),depende
ncies:[a.topMouseOut,a.topMouseOver]},mouseLeave:{registrationName:s({onMouseLea
ve:null}),dependencies:[a.topMouseOut,a.topMouseOver]}},l=[null,null],d={eventTy
pes:u,extractEvents:function(t,e,n,s,d){if(t===a.topMouseOver&&(s.relatedTarget|
|s.fromElement))return null;if(t!==a.topMouseOut&&t!==a.topMouseOver)return null
;var h;if(e.window===e)h=e;else{var p=e.ownerDocument;h=p?p.defaultView||p.paren

tWindow:window}var _,f,m="",g="";if(t===a.topMouseOut?(_=e,m=n,f=c(s.relatedTarg
et||s.toElement),f?g=o.getID(f):f=h,f=f||h):(_=h,f=e,g=n),_===f)return null;var
b=r.getPooled(u.mouseLeave,m,s,d);b.type="mouseleave",b.target=_,b.relatedTarget
=f;var v=r.getPooled(u.mouseEnter,g,s,d);return v.type="mouseenter",v.target=f,v
.relatedTarget=_,i.accumulateEnterLeaveDispatches(b,v,m,g),l[0]=b,l[1]=v,l}};e.e
xports=d},{109:109,15:15,166:166,19:19,72:72}],15:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventConstants
*/
"use strict";var n=t(165),i=n({bubbled:null,captured:null}),r=n({topAbort:null,t
opBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,
topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topCon
textMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragE
nd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,to
pDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted
:null,topEnded:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,to
pKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:n
ull,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMo
useOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying
:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked
:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,top
Suspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEn
d:null,topTouchMove:null,topTouchStart:null,topVolumeChange:null,topWaiting:null
,topWheel:null}),o={topLevelTypes:r,PropagationPhases:i};e.exports=o},{165:165}]
,16:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginHub
*/
"use strict";function n(){var t=f&&f.traverseTwoPhase&&f.traverseEnterLeave;u(t,
"InstanceHandle not injected before use!")}var i=t(17),r=t(18),o=t(61),s=t(115),
a=t(124),c=t(161),u=t(173),l={},d=null,h=function(t,e){t&&(r.executeDispatchesIn
Order(t,e),t.isPersistent()||t.constructor.release(t))},p=function(t){return h(t
,!0)},_=function(t){return h(t,!1)},f=null,m={injection:{injectMount:r.injection
.injectMount,injectInstanceHandle:function(t){f=t,n()},getInstanceHandle:functio
n(){return n(),f},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPlu
ginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispa
tchConfigs,registrationNameModules:i.registrationNameModules,putListener:functio
n(t,e,n){"function"!=typeof n?c(!1,"Expected %s listener to be a function, inste
ad got type %s",e,typeof n):void 0;var r=l[e]||(l[e]={});r[t]=n;var o=i.registra
tionNameModules[e];o&&o.didPutListener&&o.didPutListener(t,e,n)},getListener:fun
ction(t,e){var n=l[e];return n&&n[t]},deleteListener:function(t,e){var n=i.regis
trationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=l
[e];r&&delete r[t]},deleteAllListeners:function(t){for(var e in l)if(l[e][t]){va
r n=i.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t
,e),delete l[e][t]}},extractEvents:function(t,e,n,r,o){for(var a,c=i.plugins,u=0
;u<c.length;u++){var l=c[u];if(l){var d=l.extractEvents(t,e,n,r,o);d&&(a=s(a,d))
}}return a},enqueueEvents:function(t){t&&(d=s(d,t))},processEventQueue:function(
t){var e=d;d=null,t?a(e,p):a(e,_),d?c(!1,"processEventQueue(): Additional events

were enqueued while processing an event queue. Support for this has not yet bee
n implemented."):void 0,o.rethrowCaughtError()},__purge:function(){l={}},__getLi
stenerBank:function(){return l}};e.exports=m},{115:115,124:124,161:161,17:17,173
:173,18:18,61:61}],17:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginRegistry
* @typechecks static-only
*/
"use strict";function n(){if(s)for(var t in a){var e=a[t],n=s.indexOf(t);if(n>-1
?void 0:o(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist
in the plugin ordering, `%s`.",t),!c.plugins[n]){e.extractEvents?void 0:o(!1,"E
ventPluginRegistry: Event plugins must implement an `extractEvents` method, but
`%s` does not.",t),c.plugins[n]=e;var r=e.eventTypes;for(var u in r)i(r[u],e,u)?
void 0:o(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`."
,u,t)}}}function i(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)?o(!1,"Eve
ntPluginHub: More than one plugin attempted to publish the same event name, `%s`
.",n):void 0,c.eventNameDispatchConfigs[n]=t;var i=t.phasedRegistrationNames;if(
i){for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];r(a,e,n)}return!0}return t.
registrationName?(r(t.registrationName,e,n),!0):!1}function r(t,e,n){c.registrat
ionNameModules[t]?o(!1,"EventPluginHub: More than one plugin attempted to publis
h the same registration name, `%s`.",t):void 0,c.registrationNameModules[t]=e,c.
registrationNameDependencies[t]=e.eventTypes[n].dependencies}var o=t(161),s=null
,a={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},regis
trationNameDependencies:{},injectEventPluginOrder:function(t){s?o(!1,"EventPlugi
nRegistry: Cannot inject event plugin ordering more than once. You are likely tr
ying to load more than one copy of React."):void 0,s=Array.prototype.slice.call(
t),n()},injectEventPluginsByName:function(t){var e=!1;for(var i in t)if(t.hasOwn
Property(i)){var r=t[i];a.hasOwnProperty(i)&&a[i]===r||(a[i]?o(!1,"EventPluginRe
gistry: Cannot inject two different event plugins using the same name, `%s`.",i)
:void 0,a[i]=r,e=!0)}e&&n()},getPluginModuleForEvent:function(t){var e=t.dispatc
hConfig;if(e.registrationName)return c.registrationNameModules[e.registrationNam
e]||null;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.has
OwnProperty(n)){var i=c.registrationNameModules[e.phasedRegistrationNames[n]];if
(i)return i}return null},_resetEventPlugins:function(){s=null;for(var t in a)a.h
asOwnProperty(t)&&delete a[t];c.plugins.length=0;var e=c.eventNameDispatchConfig
s;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var i=c.registrationNameModule
s;for(var r in i)i.hasOwnProperty(r)&&delete i[r]}};e.exports=c},{161:161}],18:[
function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPluginUtils
*/
"use strict";function n(t){return t===g.topMouseUp||t===g.topTouchEnd||t===g.top
TouchCancel}function i(t){return t===g.topMouseMove||t===g.topTouchMove}function
r(t){return t===g.topMouseDown||t===g.topTouchStart}function o(t,e,n,i){var r=t
.type||"unknown-event";t.currentTarget=m.Mount.getNode(i),e?p.invokeGuardedCallb
ackWithCatch(r,n,t,i):p.invokeGuardedCallback(r,n,t,i),t.currentTarget=null}func
tion s(t,e){var n=t._dispatchListeners,i=t._dispatchIDs;if(d(t),Array.isArray(n)
)for(var r=0;r<n.length&&!t.isPropagationStopped();r++)o(t,e,n[r],i[r]);else n&&

o(t,e,n,i);t._dispatchListeners=null,t._dispatchIDs=null}function a(t){var e=t._


dispatchListeners,n=t._dispatchIDs;if(d(t),Array.isArray(e)){for(var i=0;i<e.len
gth&&!t.isPropagationStopped();i++)if(e[i](t,n[i]))return n[i]}else if(e&&e(t,n)
)return n;return null}function c(t){var e=a(t);return t._dispatchIDs=null,t._dis
patchListeners=null,e}function u(t){d(t);var e=t._dispatchListeners,n=t._dispatc
hIDs;Array.isArray(e)?_(!1,"executeDirectDispatch(...): Invalid `event`."):void
0;var i=e?e(t,n):null;return t._dispatchListeners=null,t._dispatchIDs=null,i}fun
ction l(t){return!!t._dispatchListeners}var d,h=t(15),p=t(61),_=t(161),f=t(173),
m={Mount:null,injectMount:function(t){m.Mount=t,f(t&&t.getNode&&t.getID,"EventPl
uginUtils.injection.injectMount(...): Injected Mount module is missing getNode o
r getID.")}},g=h.topLevelTypes;d=function(t){var e=t._dispatchListeners,n=t._dis
patchIDs,i=Array.isArray(e),r=Array.isArray(n),o=r?n.length:n?1:0,s=i?e.length:e
?1:0;f(r===i&&o===s,"EventPluginUtils: Invalid `event`.")};var b={isEndish:n,isM
oveish:i,isStartish:r,executeDirectDispatch:u,executeDispatchesInOrder:s,execute
DispatchesInOrderStopAtTrue:c,hasDispatches:l,getNode:function(t){return m.Mount
.getNode(t)},getID:function(t){return m.Mount.getID(t)},injection:m};e.exports=b
},{15:15,161:161,173:173,61:61}],19:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule EventPropagators
*/
"use strict";function n(t,e,n){var i=e.dispatchConfig.phasedRegistrationNames[n]
;return b(t,i)}function i(t,e,i){_(t,"Dispatching id must not be null");var r=e?
g.bubbled:g.captured,o=n(t,i,r);o&&(i._dispatchListeners=f(i._dispatchListeners,
o),i._dispatchIDs=f(i._dispatchIDs,t))}function r(t){t&&t.dispatchConfig.phasedR
egistrationNames&&p.injection.getInstanceHandle().traverseTwoPhase(t.dispatchMar
ker,i,t)}function o(t){t&&t.dispatchConfig.phasedRegistrationNames&&p.injection.
getInstanceHandle().traverseTwoPhaseSkipTarget(t.dispatchMarker,i,t)}function s(
t,e,n){if(n&&n.dispatchConfig.registrationName){var i=n.dispatchConfig.registrat
ionName,r=b(t,i);r&&(n._dispatchListeners=f(n._dispatchListeners,r),n._dispatchI
Ds=f(n._dispatchIDs,t))}}function a(t){t&&t.dispatchConfig.registrationName&&s(t
.dispatchMarker,null,t)}function c(t){m(t,r)}function u(t){m(t,o)}function l(t,e
,n,i){p.injection.getInstanceHandle().traverseEnterLeave(n,i,s,t,e)}function d(t
){m(t,a)}var h=t(15),p=t(16),_=t(173),f=t(115),m=t(124),g=h.PropagationPhases,b=
p.getListener,v={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkip
Target:u,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:l};e.export
s=v},{115:115,124:124,15:15,16:16,173:173}],20:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule FallbackCompositionState
* @typechecks static-only
*/
"use strict";function n(t){this._root=t,this._startText=this.getText(),this._fal
lbackText=null}var i=t(25),r=t(24),o=t(131);r(n.prototype,{destructor:function()
{this._root=null,this._startText=null,this._fallbackText=null},getText:function(
){return"value"in this._root?this._root.value:this._root[o()]},getData:function(
){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,i=n.
length,r=this.getText(),o=r.length;for(t=0;i>t&&n[t]===r[t];t++);var s=i-t;for(e
=1;s>=e&&n[i-e]===r[o-e];e++);var a=e>1?1-e:void 0;return this._fallbackText=r.s
lice(t,a),this._fallbackText}}),i.addPoolingTo(n),e.exports=n},{131:131,24:24,25

:25}],21:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule HTMLDOMPropertyConfig
*/
"use strict";var n,i=t(10),r=t(147),o=i.injection.MUST_USE_ATTRIBUTE,s=i.injecti
on.MUST_USE_PROPERTY,a=i.injection.HAS_BOOLEAN_VALUE,c=i.injection.HAS_SIDE_EFFE
CTS,u=i.injection.HAS_NUMERIC_VALUE,l=i.injection.HAS_POSITIVE_NUMERIC_VALUE,d=i
.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(r.canUseDOM){var h=document.implement
ation;n=h&&h.hasFeature&&h.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicS
tructure","1.1")}var p={isCustomAttribute:RegExp.prototype.test.bind(/^(data|ari
a)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:nu
ll,action:null,allowFullScreen:o|a,allowTransparency:o,alt:null,async:a,autoComp
lete:null,autoPlay:a,capture:o|a,cellPadding:null,cellSpacing:null,charSet:o,cha
llenge:o,checked:s|a,classID:o,className:n?o:s,cols:o|l,colSpan:null,content:nul
l,contentEditable:null,contextMenu:o,controls:s|a,coords:null,crossOrigin:null,d
ata:null,dateTime:o,"default":a,defer:a,dir:null,disabled:o|a,download:d,draggab
le:null,encType:null,form:o,formAction:o,formEncType:o,formMethod:o,formNoValida
te:a,formTarget:o,frameBorder:o,headers:null,height:o,hidden:o|a,high:null,href:
null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,inputMode:o,integr
ity:null,is:o,keyParams:o,keyType:o,kind:null,label:null,lang:null,list:o,loop:s
|a,low:null,manifest:o,marginHeight:null,marginWidth:null,max:null,maxLength:o,m
edia:o,mediaGroup:null,method:null,min:null,minLength:o,multiple:s|a,muted:s|a,n
ame:null,nonce:o,noValidate:a,open:a,optimum:null,pattern:null,placeholder:null,
poster:null,preload:null,radioGroup:null,readOnly:s|a,rel:null,required:a,revers
ed:a,role:o,rows:o|l,rowSpan:null,sandbox:null,scope:null,scoped:a,scrolling:nul
l,seamless:o|a,selected:s|a,shape:null,size:o|l,sizes:o,span:l,spellCheck:null,s
rc:null,srcDoc:s,srcLang:null,srcSet:o,start:u,step:null,style:null,summary:null
,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|c,width:o,wm
ode:o,wrap:null,about:o,datatype:o,inlist:o,prefix:o,property:o,resource:o,"type
of":o,vocab:o,autoCapitalize:o,autoCorrect:o,autoSave:null,color:null,itemProp:o
,itemScope:o|a,itemType:o,itemID:o,itemRef:o,results:null,security:o,unselectabl
e:o},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor
:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",aut
oFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hr
efLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc
",srcSet:"srcset"}};e.exports=p},{10:10,147:147}],22:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule LinkedStateMixin
* @typechecks static-only
*/
"use strict";var n=t(70),i=t(90),r={linkState:function(t){return new n(this.stat
e[t],i.createStateKeySetter(this,t))}};e.exports=r},{70:70,90:90}],23:[function(
t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant

* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule LinkedValueUtils
* @typechecks static-only
*/
"use strict";function n(t){null!=t.checkedLink&&null!=t.valueLink?c(!1,"Cannot p
rovide a checkedLink and a valueLink. If you want to use checkedLink, you probab
ly don't want to use valueLink and vice versa."):void 0}function i(t){n(t),null!
=t.value||null!=t.onChange?c(!1,"Cannot provide a valueLink and a value or onCha
nge event. If you want to use value or onChange, you probably don't want to use
valueLink."):void 0}function r(t){n(t),null!=t.checked||null!=t.onChange?c(!1,"C
annot provide a checkedLink and a checked property or onChange event. If you wan
t to use checked or onChange, you probably don't want to use checkedLink"):void
0}function o(t){if(t){var e=t.getName();if(e)return" Check the render method of
`"+e+"`."}return""}var s=t(82),a=t(81),c=t(161),u=t(173),l={button:!0,checkbox:!
0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},d={value:function(t,e){return!
t[e]||l[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided
a `value` prop to a form field without an `onChange` handler. This will render
a read-only field. If the field should be mutable use `defaultValue`. Otherwise,
set either `onChange` or `readOnly`.")},checked:function(t,e){return!t[e]||t.on
Change||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to
a form field without an `onChange` handler. This will render a read-only field.
If the field should be mutable use `defaultChecked`. Otherwise, set either `onCh
ange` or `readOnly`.")},onChange:s.func},h={},p={checkPropTypes:function(t,e,n){
for(var i in d){if(d.hasOwnProperty(i))var r=d[i](e,i,t,a.prop);if(r instanceof
Error&&!(r.message in h)){h[r.message]=!0;var s=o(n);u(!1,"Failed form propType:
%s%s",r.message,s)}}},getValue:function(t){return t.valueLink?(i(t),t.valueLink
.value):t.value},getChecked:function(t){return t.checkedLink?(r(t),t.checkedLink
.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(i(t),t.valu
eLink.requestChange(e.target.value)):t.checkedLink?(r(t),t.checkedLink.requestCh
ange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};e.exports=
p},{161:161,173:173,81:81,82:82}],24:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Object.assign
*/
"use strict";function n(t){if(null==t)throw new TypeError("Object.assign target
cannot be null or undefined");for(var e=Object(t),n=Object.prototype.hasOwnPrope
rty,i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r){var o=Object(r);f
or(var s in o)n.call(o,s)&&(e[s]=o[s])}}return e}e.exports=n},{}],25:[function(t
,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule PooledClass
*/
"use strict";var n=t(161),i=function(t){var e=this;if(e.instancePool.length){var
n=e.instancePool.pop();return e.call(n,t),n}return new e(t)},r=function(t,e){va
r n=this;if(n.instancePool.length){var i=n.instancePool.pop();return n.call(i,t,
e),i}return new n(t,e)},o=function(t,e,n){var i=this;if(i.instancePool.length){v
ar r=i.instancePool.pop();return i.call(r,t,e,n),r}return new i(t,e,n)},s=functi

on(t,e,n,i){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();retu


rn r.call(o,t,e,n,i),o}return new r(t,e,n,i)},a=function(t,e,n,i,r){var o=this;i
f(o.instancePool.length){var s=o.instancePool.pop();return o.call(s,t,e,n,i,r),s
}return new o(t,e,n,i,r)},c=function(t){var e=this;t instanceof e?void 0:n(!1,"T
rying to release an instance into a pool of a different type."),t.destructor(),e
.instancePool.length<e.poolSize&&e.instancePool.push(t)},u=10,l=i,d=function(t,e
){var n=t;return n.instancePool=[],n.getPooled=e||l,n.poolSize||(n.poolSize=u),n
.release=c,n},h={addPoolingTo:d,oneArgumentPooler:i,twoArgumentPooler:r,threeArg
umentPooler:o,fourArgumentPooler:s,fiveArgumentPooler:a};e.exports=h},{161:161}]
,26:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule React
*/
"use strict";var n=t(40),i=t(50),r=t(69),o=t(24),s=t(120),a={};o(a,r),o(a,{findD
OMNode:s("findDOMNode","ReactDOM","react-dom",n,n.findDOMNode),render:s("render"
,"ReactDOM","react-dom",n,n.render),unmountComponentAtNode:s("unmountComponentAt
Node","ReactDOM","react-dom",n,n.unmountComponentAtNode),renderToString:s("rende
rToString","ReactDOMServer","react-dom/server",i,i.renderToString),renderToStati
cMarkup:s("renderToStaticMarkup","ReactDOMServer","react-dom/server",i,i.renderT
oStaticMarkup)}),a.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=n,a.__SECRET_DOM
_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i,e.exports=a},{120:120,24:24,40:40,50:5
0,69:69}],27:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactBrowserComponentMixin
*/
"use strict";var n=t(68),i=t(122),r=t(173),o="_getDOMNodeDidWarn",s={getDOMNode:
function(){return r(this.constructor[o],"%s.getDOMNode(...) is deprecated. Pleas
e use ReactDOM.findDOMNode(instance) instead.",n.get(this).getName()||this.tagNa
me||"Unknown"),this.constructor[o]=!0,i(this)}};e.exports=s},{122:122,173:173,68
:68}],28:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactBrowserEventEmitter
* @typechecks static-only
*/
"use strict";function n(t){return Object.prototype.hasOwnProperty.call(t,f)||(t[
f]=p++,d[t[f]]={}),d[t[f]]}var i=t(15),r=t(16),o=t(17),s=t(62),a=t(78),c=t(114),
u=t(24),l=t(133),d={},h=!1,p=0,_={topAbort:"abort",topBlur:"blur",topCanPlay:"ca
nplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",to
pCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompo
sitionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",top
Cut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragE
nter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dr

agover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchang
e",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"erro
r",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress"
,topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",
topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMo
useOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste"
,topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",top
RateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seekin
g",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend
",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcance
l",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",to
pVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},f="_reactLis
tenersID"+String(Math.random()).slice(2),m=u({},s,{ReactEventListener:null,injec
tion:{injectReactEventListener:function(t){t.setHandleTopLevel(m.handleTopLevel)
,m.ReactEventListener=t}},setEnabled:function(t){m.ReactEventListener&&m.ReactEv
entListener.setEnabled(t)},isEnabled:function(){return!(!m.ReactEventListener||!
m.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var r=e,s=n(r),a=o
.registrationNameDependencies[t],c=i.topLevelTypes,u=0;u<a.length;u++){var d=a[u
];s.hasOwnProperty(d)&&s[d]||(d===c.topWheel?l("wheel")?m.ReactEventListener.tra
pBubbledEvent(c.topWheel,"wheel",r):l("mousewheel")?m.ReactEventListener.trapBub
bledEvent(c.topWheel,"mousewheel",r):m.ReactEventListener.trapBubbledEvent(c.top
Wheel,"DOMMouseScroll",r):d===c.topScroll?l("scroll",!0)?m.ReactEventListener.tr
apCapturedEvent(c.topScroll,"scroll",r):m.ReactEventListener.trapBubbledEvent(c.
topScroll,"scroll",m.ReactEventListener.WINDOW_HANDLE):d===c.topFocus||d===c.top
Blur?(l("focus",!0)?(m.ReactEventListener.trapCapturedEvent(c.topFocus,"focus",r
),m.ReactEventListener.trapCapturedEvent(c.topBlur,"blur",r)):l("focusin")&&(m.R
eactEventListener.trapBubbledEvent(c.topFocus,"focusin",r),m.ReactEventListener.
trapBubbledEvent(c.topBlur,"focusout",r)),s[c.topBlur]=!0,s[c.topFocus]=!0):_.ha
sOwnProperty(d)&&m.ReactEventListener.trapBubbledEvent(d,_[d],r),s[d]=!0)}},trap
BubbledEvent:function(t,e,n){return m.ReactEventListener.trapBubbledEvent(t,e,n)
},trapCapturedEvent:function(t,e,n){return m.ReactEventListener.trapCapturedEven
t(t,e,n)},ensureScrollValueMonitoring:function(){if(!h){var t=c.refreshScrollVal
ues;m.ReactEventListener.monitorScrollValue(t),h=!0}},eventNameDispatchConfigs:r
.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putL
istener:r.putListener,getListener:r.getListener,deleteListener:r.deleteListener,
deleteAllListeners:r.deleteAllListeners});a.measureMethods(m,"ReactBrowserEventE
mitter",{putListener:"putListener",deleteListener:"deleteListener"}),e.exports=m
},{114:114,133:133,15:15,16:16,17:17,24:24,62:62,78:78}],29:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
* @providesModule ReactCSSTransitionGroup
*/
"use strict";function n(t){var e="transition"+t+"Timeout",n="transition"+t;retur
n function(t){if(t[n]){if(null==t[e])return new Error(e+" wasn't supplied to Rea
ctCSSTransitionGroup: this can cause unreliable animations and won't be supporte
d in a future version of React. See https://fb.me/react-animation-transition-gro
up-timeout for more information.");if("number"!=typeof t[e])return new Error(e+"
must be a number (in milliseconds)")}}}var i=t(26),r=t(24),o=t(94),s=t(30),a=i.
createClass({displayName:"ReactCSSTransitionGroup",propTypes:{transitionName:s.p
ropTypes.name,transitionAppear:i.PropTypes.bool,transitionEnter:i.PropTypes.bool
,transitionLeave:i.PropTypes.bool,transitionAppearTimeout:n("Appear"),transition
EnterTimeout:n("Enter"),transitionLeaveTimeout:n("Leave")},getDefaultProps:funct
ion(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}},_wrapCh
ild:function(t){return i.createElement(s,{name:this.props.transitionName,appear:

this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.tr
ansitionLeave,appearTimeout:this.props.transitionAppearTimeout,enterTimeout:this
.props.transitionEnterTimeout,leaveTimeout:this.props.transitionLeaveTimeout},t)
},render:function(){return i.createElement(o,r({},this.props,{childFactory:this.
_wrapChild}))}});e.exports=a},{24:24,26:26,30:30,94:94}],30:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks
* @providesModule ReactCSSTransitionGroupChild
*/
"use strict";var n=t(26),i=t(40),r=t(145),o=t(93),s=t(135),a=17,c=n.createClass(
{displayName:"ReactCSSTransitionGroupChild",propTypes:{name:n.PropTypes.oneOfTyp
e([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,leave:n.PropTy
pes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.stri
ng,enterActive:n.PropTypes.string,leave:n.PropTypes.string,leaveActive:n.PropTyp
es.string,appear:n.PropTypes.string,appearActive:n.PropTypes.string})]).isRequir
ed,appear:n.PropTypes.bool,enter:n.PropTypes.bool,leave:n.PropTypes.bool,appearT
imeout:n.PropTypes.number,enterTimeout:n.PropTypes.number,leaveTimeout:n.PropTyp
es.number},transition:function(t,e,n){var s=i.findDOMNode(this);if(!s)return voi
d(e&&e());var a=this.props.name[t]||this.props.name+"-"+t,c=this.props.name[t+"A
ctive"]||a+"-active",u=null,l=function(t){t&&t.target!==s||(clearTimeout(u),r.re
moveClass(s,a),r.removeClass(s,c),o.removeEndEventListener(s,l),e&&e())};r.addCl
ass(s,a),this.queueClass(c),n?(u=setTimeout(l,n),this.transitionTimeouts.push(u)
):o.addEndEventListener(s,l)},queueClass:function(t){this.classNameQueue.push(t)
,this.timeout||(this.timeout=setTimeout(this.flushClassNameQueue,a))},flushClass
NameQueue:function(){this.isMounted()&&this.classNameQueue.forEach(r.addClass.bi
nd(r,i.findDOMNode(this))),this.classNameQueue.length=0,this.timeout=null},compo
nentWillMount:function(){this.classNameQueue=[],this.transitionTimeouts=[]},comp
onentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout),this.transi
tionTimeouts.forEach(function(t){clearTimeout(t)})},componentWillAppear:function
(t){this.props.appear?this.transition("appear",t,this.props.appearTimeout):t()},
componentWillEnter:function(t){this.props.enter?this.transition("enter",t,this.p
rops.enterTimeout):t()},componentWillLeave:function(t){this.props.leave?this.tra
nsition("leave",t,this.props.leaveTimeout):t()},render:function(){return s(this.
props.children)}});e.exports=c},{135:135,145:145,26:26,40:40,93:93}],31:[functio
n(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactChildReconciler
* @typechecks static-only
*/
"use strict";function n(t,e,n){var i=void 0===t[n];a(i,"flattenChildren(...): En
countered two children with the same key, `%s`. Child keys must be unique; when
two children share a key, only the first child will be used.",n),null!=e&&i&&(t[
n]=r(e,null))}var i=t(84),r=t(132),o=t(141),s=t(142),a=t(173),c={instantiateChil
dren:function(t){if(null==t)return null;var e={};return s(t,n,e),e},updateChildr
en:function(t,e,n,s){if(!e&&!t)return null;var a;for(a in e)if(e.hasOwnProperty(
a)){var c=t&&t[a],u=c&&c._currentElement,l=e[a];if(null!=c&&o(u,l))i.receiveComp
onent(c,l,n,s),e[a]=c;else{c&&i.unmountComponent(c,a);var d=r(l,null);e[a]=d}}fo
r(a in t)!t.hasOwnProperty(a)||e&&e.hasOwnProperty(a)||i.unmountComponent(t[a]);

return e},unmountChildren:function(t){for(var e in t)if(t.hasOwnProperty(e)){var


n=t[e];i.unmountComponent(n)}}};e.exports=c},{132:132,141:141,142:142,173:173,8
4:84}],32:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactChildren
*/
"use strict";function n(t){return(""+t).replace(v,"//")}function i(t,e){this.fun
c=t,this.context=e,this.count=0}function r(t,e){var n=t.func,i=t.context;n.call(
i,e,t.count++)}function o(t,e,n){if(null==t)return t;var o=i.getPooled(e,n);m(t,
r,o),i.release(o)}function s(t,e,n,i){this.result=t,this.keyPrefix=e,this.func=n
,this.context=i,this.count=0}function a(t,e,i){var r=t.result,o=t.keyPrefix,s=t.
func,a=t.context,u=s.call(a,e,t.count++);Array.isArray(u)?c(u,r,i,f.thatReturnsA
rgument):null!=u&&(_.isValidElement(u)&&(u=_.cloneAndReplaceKey(u,o+(u!==e?n(u.k
ey||"")+"/":"")+i)),r.push(u))}function c(t,e,i,r,o){var c="";null!=i&&(c=n(i)+"
/");var u=s.getPooled(e,c,r,o);m(t,a,u),s.release(u)}function u(t,e,n){if(null==
t)return t;var i=[];return c(t,i,null,e,n),i}function l(){return null}function d
(t){return m(t,l,null)}function h(t){var e=[];return c(t,e,null,f.thatReturnsArg
ument),e}var p=t(25),_=t(57),f=t(153),m=t(142),g=p.twoArgumentPooler,b=p.fourArg
umentPooler,v=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.
context=null,this.count=0},p.addPoolingTo(i,g),s.prototype.destructor=function()
{this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.coun
t=0},p.addPoolingTo(s,b);var y={forEach:o,map:u,mapIntoWithKeyPrefixInternal:c,c
ount:d,toArray:h};e.exports=y},{142:142,153:153,25:25,57:57}],33:[function(t,e){
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactClass
*/
"use strict";function n(){E||(E=!0,k(!1,"setProps(...) and replaceProps(...) are
deprecated. Instead, call render again at the top level."))}function i(t,e,n){f
or(var i in e)e.hasOwnProperty(i)&&k("function"==typeof e[i],"%s: %s type `%s` i
s invalid; it must be a function, usually from React.PropTypes.",t.displayName||
"ReactClass",f[n],i)}function r(t,e){var n=T.hasOwnProperty(e)?T[e]:null;N.hasOw
nProperty(e)&&(n!==S.OVERRIDE_BASE?v(!1,"ReactClassInterface: You are attempting
to override `%s` from your class specification. Ensure that your method names d
o not overlap with React methods.",e):void 0),t.hasOwnProperty(e)&&(n!==S.DEFINE
_MANY&&n!==S.DEFINE_MANY_MERGED?v(!1,"ReactClassInterface: You are attempting to
define `%s` on your component more than once. This conflict may be due to a mix
in.",e):void 0)}function o(t,e){if(e){"function"==typeof e?v(!1,"ReactClass: You
're attempting to use a component class as a mixin. Instead, just use a regular
object."):void 0,p.isValidElement(e)?v(!1,"ReactClass: You're attempting to use
a component as a mixin. Instead, just use a regular object."):void 0;var n=t.pro
totype;e.hasOwnProperty(x)&&A.mixins(t,e.mixins);for(var i in e)if(e.hasOwnPrope
rty(i)&&i!==x){var o=e[i];if(r(n,i),A.hasOwnProperty(i))A[i](t,o);else{var s=T.h
asOwnProperty(i),a=n.hasOwnProperty(i),l="function"==typeof o,d=l&&!s&&!a&&e.aut
obind!==!1;if(d)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBin
dMap[i]=o,n[i]=o;else if(a){var h=T[i];!s||h!==S.DEFINE_MANY_MERGED&&h!==S.DEFIN
E_MANY?v(!1,"ReactClass: Unexpected spec policy %s for key %s when mixing in com
ponent specs.",h,i):void 0,h===S.DEFINE_MANY_MERGED?n[i]=c(n[i],o):h===S.DEFINE_

MANY&&(n[i]=u(n[i],o))}else n[i]=o,"function"==typeof o&&e.displayName&&(n[i].di


splayName=e.displayName+"_"+i)}}}}function s(t,e){if(e)for(var n in e){var i=e[n
];if(e.hasOwnProperty(n)){var r=n in A;r?v(!1,'ReactClass: You are attempting to
define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Defi
ne it as an instance property instead; it will still be accessible on the constr
uctor.',n):void 0;var o=n in t;o?v(!1,"ReactClass: You are attempting to define
`%s` on your component more than once. This conflict may be due to a mixin.",n):
void 0,t[n]=i}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?voi
d 0:v(!1,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n
in e)e.hasOwnProperty(n)&&(void 0!==t[n]?v(!1,"mergeIntoWithNoDuplicateKeys(): T
ried to merge two objects with the same key: `%s`. This conflict may be due to a
mixin; in particular, this may be caused by two getInitialState() or getDefault
Props() methods returning objects with clashing keys.",n):void 0,t[n]=e[n]);retu
rn t}function c(t,e){return function(){var n=t.apply(this,arguments),i=e.apply(t
his,arguments);if(null==n)return i;if(null==i)return n;var r={};return a(r,n),a(
r,i),r}}function u(t,e){return function(){t.apply(this,arguments),e.apply(this,a
rguments)}}function l(t,e){var n=e.bind(t);n.__reactBoundContext=t,n.__reactBoun
dMethod=e,n.__reactBoundArguments=null;var i=t.constructor.displayName,r=n.bind;
return n.bind=function(o){for(var s=arguments.length,a=Array(s>1?s-1:0),c=1;s>c;
c++)a[c-1]=arguments[c];if(o!==t&&null!==o)k(!1,"bind(): React component methods
may only be bound to the component instance. See %s",i);else if(!a.length)retur
n k(!1,"bind(): You are binding a component method to the component. React does
this for you automatically in a high-performance way, so you can safely remove t
his call. See %s",i),n;var u=r.apply(n,arguments);return u.__reactBoundContext=t
,u.__reactBoundMethod=e,u.__reactBoundArguments=a,u},n}function d(t){for(var e i
n t.__reactAutoBindMap)if(t.__reactAutoBindMap.hasOwnProperty(e)){var n=t.__reac
tAutoBindMap[e];t[e]=l(t,n)}}var h=t(34),p=t(57),_=t(81),f=t(80),m=t(76),g=t(24)
,b=t(154),v=t(161),y=t(165),w=t(166),k=t(173),x=w({mixins:null}),S=y({DEFINE_ONC
E:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),C=[],E=!1,T
={mixins:S.DEFINE_MANY,statics:S.DEFINE_MANY,propTypes:S.DEFINE_MANY,contextType
s:S.DEFINE_MANY,childContextTypes:S.DEFINE_MANY,getDefaultProps:S.DEFINE_MANY_ME
RGED,getInitialState:S.DEFINE_MANY_MERGED,getChildContext:S.DEFINE_MANY_MERGED,r
ender:S.DEFINE_ONCE,componentWillMount:S.DEFINE_MANY,componentDidMount:S.DEFINE_
MANY,componentWillReceiveProps:S.DEFINE_MANY,shouldComponentUpdate:S.DEFINE_ONCE
,componentWillUpdate:S.DEFINE_MANY,componentDidUpdate:S.DEFINE_MANY,componentWil
lUnmount:S.DEFINE_MANY,updateComponent:S.OVERRIDE_BASE},A={displayName:function(
t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e
[n])},childContextTypes:function(t,e){i(t,e,_.childContext),t.childContextTypes=
g({},t.childContextTypes,e)},contextTypes:function(t,e){i(t,e,_.context),t.conte
xtTypes=g({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps=
t.getDefaultProps?c(t.getDefaultProps,e):e},propTypes:function(t,e){i(t,e,_.prop
),t.propTypes=g({},t.propTypes,e)},statics:function(t,e){s(t,e)},autobind:functi
on(){}},N={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e
&&this.updater.enqueueCallback(this,e)},isMounted:function(){return this.updater
.isMounted(this)},setProps:function(t,e){n(),this.updater.enqueueSetProps(this,t
),e&&this.updater.enqueueCallback(this,e)},replaceProps:function(t,e){n(),this.u
pdater.enqueueReplaceProps(this,t),e&&this.updater.enqueueCallback(this,e)}},O=f
unction(){};g(O.prototype,h.prototype,N);var M={createClass:function(t){var e=fu
nction(t,n,i){k(this instanceof e,"Something is calling a React component direct
ly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.
__reactAutoBindMap&&d(this),this.props=t,this.context=n,this.refs=b,this.updater
=i||m,this.state=null;var r=this.getInitialState?this.getInitialState():null;"un
defined"==typeof r&&this.getInitialState._isMockFunction&&(r=null),"object"!=typ
eof r||Array.isArray(r)?v(!1,"%s.getInitialState(): must return an object or nul
l",e.displayName||"ReactCompositeComponent"):void 0,this.state=r};e.prototype=ne
w O,e.prototype.constructor=e,C.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps
&&(e.defaultProps=e.getDefaultProps()),e.getDefaultProps&&(e.getDefaultProps.isR
eactClassApproved={}),e.prototype.getInitialState&&(e.prototype.getInitialState.
isReactClassApproved={}),e.prototype.render?void 0:v(!1,"createClass(...): Class
specification must implement a `render` method."),k(!e.prototype.componentShoul

dUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComp


onentUpdate()? The name is phrased as a question because the function is expecte
d to return a value.",t.displayName||"A component"),k(!e.prototype.componentWill
RecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean c
omponentWillReceiveProps()?",t.displayName||"A component");for(var n in T)e.prot
otype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){C.p
ush(t)}}};e.exports=M},{154:154,161:161,165:165,166:166,173:173,24:24,34:34,57:5
7,76:76,80:80,81:81}],34:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponent
*/
"use strict";function n(t,e,n){this.props=t,this.context=e,this.refs=o,this.upda
ter=n||i}var i=t(76),r=t(117),o=t(154),s=t(161),a=t(173);n.prototype.isReactComp
onent={},n.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=type
of t&&null!=t?s(!1,"setState(...): takes an object of state variables to update
or a function which returns an object of state variables."):void 0,a(null!=t,"se
tState(...): You passed an undefined or null state object; instead, use forceUpd
ate()."),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(th
is,e)},n.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this)
,t&&this.updater.enqueueCallback(this,t)};var c={getDOMNode:["getDOMNode","Use R
eactDOM.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make
sure to clean up subscriptions and pending requests in componentWillUnmount to p
revent memory leaks."],replaceProps:["replaceProps","Instead, call render again
at the top level."],replaceState:["replaceState","Refactor your code to use setS
tate instead (see https://github.com/facebook/react/issues/3236)."],setProps:["s
etProps","Instead, call render again at the top level."]},u=function(t,e){r&&Obj
ect.defineProperty(n.prototype,t,{get:function(){return void a(!1,"%s(...) is de
precated in plain JavaScript React classes. %s",e[0],e[1])}})};for(var l in c)c.
hasOwnProperty(l)&&u(l,c[l]);e.exports=n},{117:117,154:154,161:161,173:173,76:76
}],35:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponentBrowserEnvironment
*/
"use strict";var n=t(45),i=t(72),r={processChildrenUpdates:n.dangerouslyProcessC
hildrenUpdates,replaceNodeWithMarkupByID:n.dangerouslyReplaceNodeWithMarkupByID,
unmountIDFromEnvironment:function(t){i.purgeID(t)}};e.exports=r},{45:45,72:72}],
36:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponentEnvironment
*/
"use strict";var n=t(161),i=!1,r={unmountIDFromEnvironment:null,replaceNodeWithM
arkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function

(t){i?n(!1,"ReactCompositeComponent: injectEnvironment() can only be called once


."):void 0,r.unmountIDFromEnvironment=t.unmountIDFromEnvironment,r.replaceNodeWi
thMarkupByID=t.replaceNodeWithMarkupByID,r.processChildrenUpdates=t.processChild
renUpdates,i=!0}}};e.exports=r},{161:161}],37:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactComponentWithPureRenderMixin
*/
"use strict";var n=t(140),i={shouldComponentUpdate:function(t,e){return n(this,t
,e)}};e.exports=i},{140:140}],38:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCompositeComponent
*/
"use strict";function n(t){var e=t._currentElement._owner||null;if(e){var n=e.ge
tName();if(n)return" Check the render method of `"+n+"`."}return""}function i(){
}var r=t(36),o=t(39),s=t(57),a=t(68),c=t(78),u=t(81),l=t(80),d=t(84),h=t(95),p=t
(24),_=t(154),f=t(161),m=t(141),g=t(173);i.prototype.render=function(){var t=a.g
et(this)._currentElement.type;return t(this.props,this.context,this.updater)};va
r b=1,v={construct:function(t){this._currentElement=t,this._rootNodeID=null,this
._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pen
dingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,thi
s._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallb
acks=null},mountComponent:function(t,e,n){this._context=n,this._mountOrder=b++,t
his._rootNodeID=t;var r,c,u=this._processProps(this._currentElement.props),l=thi
s._processContext(n),p=this._currentElement.type,m="prototype"in p;if(m){o.curre
nt=this;try{r=new p(u,l,h)}finally{o.current=null}}(!m||null===r||r===!1||s.isVa
lidElement(r))&&(c=r,r=new i(p)),null==r.render?g(!1,"%s(...): No `render` metho
d found on the returned component instance: you may have forgotten to define `re
nder`, returned null/false from a stateless component, or tried to render an ele
ment whose type is a function that isn't a React component.",p.displayName||p.na
me||"Component"):g(p.prototype&&p.prototype.isReactComponent||!m||!(r instanceof
p),"%s(...): React component classes must extend React.Component.",p.displayNam
e||p.name||"Component"),r.props=u,r.context=l,r.refs=_,r.updater=h,this._instanc
e=r,a.set(r,this),g(!r.getInitialState||r.getInitialState.isReactClassApproved,"
getInitialState was defined on %s, a plain JavaScript class. This is only suppor
ted for classes created using React.createClass. Did you mean to define a state
property instead?",this.getName()||"a component"),g(!r.getDefaultProps||r.getDef
aultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaS
cript class. This is only supported for classes created using React.createClass.
Use a static property to define defaultProps instead.",this.getName()||"a compo
nent"),g(!r.propTypes,"propTypes was defined as an instance property on %s. Use
a static property to define propTypes instead.",this.getName()||"a component"),g
(!r.contextTypes,"contextTypes was defined as an instance property on %s. Use a
static property to define contextTypes instead.",this.getName()||"a component"),
g("function"!=typeof r.componentShouldUpdate,"%s has a method called componentSh
ouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a que
stion because the function is expected to return a value.",this.getName()||"A co
mponent"),g("function"!=typeof r.componentDidUnmount,"%s has a method called com
ponentDidUnmount(). But there is no such lifecycle method. Did you mean componen

tWillUnmount()?",this.getName()||"A component"),g("function"!=typeof r.component


WillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you me
an componentWillReceiveProps()?",this.getName()||"A component");var v=r.state;vo
id 0===v&&(r.state=v=null),"object"!=typeof v||Array.isArray(v)?f(!1,"%s.state:
must be set to an object or null",this.getName()||"ReactCompositeComponent"):voi
d 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForce
Update=!1,r.componentWillMount&&(r.componentWillMount(),this._pendingStateQueue&
&(r.state=this._processPendingState(r.props,r.context))),void 0===c&&(c=this._re
nderValidatedComponent()),this._renderedComponent=this._instantiateReactComponen
t(c);var y=d.mountComponent(this._renderedComponent,t,e,this._processChildContex
t(n));return r.componentDidMount&&e.getReactMountReady().enqueue(r.componentDidM
ount,r),y},unmountComponent:function(){var t=this._instance;t.componentWillUnmou
nt&&t.componentWillUnmount(),d.unmountComponent(this._renderedComponent),this._r
enderedComponent=null,this._instance=null,this._pendingStateQueue=null,this._pen
dingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this
._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWra
pper=null,a.remove(t)},_maskContext:function(t){var e=null,n=this._currentElemen
t.type,i=n.contextTypes;if(!i)return _;e={};for(var r in i)e[r]=t[r];return e},_
processContext:function(t){var e=this._maskContext(t),n=this._currentElement.typ
e;return n.contextTypes&&this._checkPropTypes(n.contextTypes,e,u.context),e},_pr
ocessChildContext:function(t){var e=this._currentElement.type,n=this._instance,i
=n.getChildContext&&n.getChildContext();if(i){"object"!=typeof e.childContextTyp
es?f(!1,"%s.getChildContext(): childContextTypes must be defined in order to use
getChildContext().",this.getName()||"ReactCompositeComponent"):void 0,this._che
ckPropTypes(e.childContextTypes,i,u.childContext);for(var r in i)r in e.childCon
textTypes?void 0:f(!1,'%s.getChildContext(): key "%s" is not defined in childCon
textTypes.',this.getName()||"ReactCompositeComponent",r);return p({},t,i)}return
t},_processProps:function(t){var e=this._currentElement.type;return e.propTypes
&&this._checkPropTypes(e.propTypes,t,u.prop),t},_checkPropTypes:function(t,e,i){
var r=this.getName();for(var o in t)if(t.hasOwnProperty(o)){var s;try{"function"
!=typeof t[o]?f(!1,"%s: %s type `%s` is invalid; it must be a function, usually
from React.PropTypes.",r||"React class",l[i],o):void 0,s=t[o](e,o,r,i)}catch(a){
s=a}if(s instanceof Error){var c=n(this);i===u.prop?g(!1,"Failed Composite propT
ype: %s%s",s.message,c):g(!1,"Failed Context Types: %s%s",s.message,c)}}},receiv
eComponent:function(t,e,n){var i=this._currentElement,r=this._context;this._pend
ingElement=null,this.updateComponent(e,i,t,r,n)},performUpdateIfNecessary:functi
on(t){null!=this._pendingElement&&d.receiveComponent(this,this._pendingElement||
this._currentElement,t,this._context),(null!==this._pendingStateQueue||this._pen
dingForceUpdate)&&this.updateComponent(t,this._currentElement,this._currentEleme
nt,this._context,this._context)},updateComponent:function(t,e,n,i,r){var o,s=thi
s._instance,a=this._context===r?s.context:this._processContext(r);e===n?o=n.prop
s:(o=this._processProps(n.props),s.componentWillReceiveProps&&s.componentWillRec
eiveProps(o,a));var c=this._processPendingState(o,a),u=this._pendingForceUpdate|
|!s.shouldComponentUpdate||s.shouldComponentUpdate(o,c,a);g("undefined"!=typeof
u,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Ma
ke sure to return true or false.",this.getName()||"ReactCompositeComponent"),u?(
this._pendingForceUpdate=!1,this._performComponentUpdate(n,o,c,a,t,r)):(this._cu
rrentElement=n,this._context=r,s.props=o,s.state=c,s.context=a)},_processPending
State:function(t,e){var n=this._instance,i=this._pendingStateQueue,r=this._pendi
ngReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!i)r
eturn n.state;if(r&&1===i.length)return i[0];for(var o=p({},r?i[0]:n.state),s=r?
1:0;s<i.length;s++){var a=i[s];p(o,"function"==typeof a?a.call(n,o,t,e):a)}retur
n o},_performComponentUpdate:function(t,e,n,i,r,o){var s,a,c,u=this._instance,l=
Boolean(u.componentDidUpdate);l&&(s=u.props,a=u.state,c=u.context),u.componentWi
llUpdate&&u.componentWillUpdate(e,n,i),this._currentElement=t,this._context=o,u.
props=e,u.state=n,u.context=i,this._updateRenderedComponent(r,o),l&&r.getReactMo
untReady().enqueue(u.componentDidUpdate.bind(u,s,a,c),u)},_updateRenderedCompone
nt:function(t,e){var n=this._renderedComponent,i=n._currentElement,r=this._rende
rValidatedComponent();if(m(i,r))d.receiveComponent(n,r,t,this._processChildConte
xt(e));else{var o=this._rootNodeID,s=n._rootNodeID;d.unmountComponent(n),this._r

enderedComponent=this._instantiateReactComponent(r);var a=d.mountComponent(this.
_renderedComponent,o,t,this._processChildContext(e));this._replaceNodeWithMarkup
ByID(s,a)}},_replaceNodeWithMarkupByID:function(t,e){r.replaceNodeWithMarkupByID
(t,e)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._ins
tance,e=t.render();return"undefined"==typeof e&&t.render._isMockFunction&&(e=nul
l),e},_renderValidatedComponent:function(){var t;o.current=this;try{t=this._rend
erValidatedComponentWithoutOwnerOrContext()}finally{o.current=null}return null==
=t||t===!1||s.isValidElement(t)?void 0:f(!1,"%s.render(): A valid ReactComponent
must be returned. You may have returned undefined, an array or some other inval
id object.",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e
){var n=this.getPublicInstance();null==n?f(!1,"Stateless function components can
not have refs."):void 0;var i=e.getPublicInstance(),r=e&&e.getName?e.getName():"
a component";g(null!=i,'Stateless function components cannot be given refs (See
ref "%s" in %s created by %s). Attempts to access this ref will fail.',t,r,this.
getName());var o=n.refs===_?n.refs={}:n.refs;o[t]=i},detachRef:function(t){var e
=this.getPublicInstance().refs;delete e[t]},getName:function(){var t=this._curre
ntElement.type,e=this._instance&&this._instance.constructor;return t.displayName
||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=
this._instance;return t instanceof i?null:t},_instantiateReactComponent:null};c.
measureMethods(v,"ReactCompositeComponent",{mountComponent:"mountComponent",upda
teComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedCompone
nt"});var y={Mixin:v};e.exports=y},{141:141,154:154,161:161,173:173,24:24,36:36,
39:39,57:57,68:68,78:78,80:80,81:81,84:84,95:95}],39:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactCurrentOwner
*/
"use strict";var n={current:null};e.exports=n},{}],40:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOM
*/
"use strict";var n=t(39),i=t(51),r=t(54),o=t(67),s=t(72),a=t(78),c=t(84),u=t(96)
,l=t(97),d=t(122),h=t(137),p=t(173);r.inject();var _=a.measure("React","render",
s.render),f={findDOMNode:d,render:_,unmountComponentAtNode:s.unmountComponentAtN
ode,version:l,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeInt
oContainer:h};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==ty
peof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.injec
t({CurrentOwner:n,InstanceHandles:o,Mount:s,Reconciler:c,TextComponent:i});var m
=t(147);if(m.canUseDOM&&window.top===window.self){"undefined"==typeof __REACT_DE
VTOOLS_GLOBAL_HOOK__&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.
userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)&&console.d
ebug("Download the React DevTools for a better development experience: https://f
b.me/react-devtools");var g=document.documentMode&&document.documentMode<8;p(!g,
'Internet Explorer is running in compatibility mode; please add the following ta
g to your HTML to prevent this from happening: <meta http-equiv="X-UA-Compatible
" content="IE=edge" />');for(var b=[Array.isArray,Array.prototype.every,Array.pr
ototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.pr
ototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.cre
ate,Object.freeze],v=0;v<b.length;v++)if(!b[v]){console.error("One or more ES5 s

him/shams expected by React are not available: https://fb.me/react-warning-polyf


ills");break}}e.exports=f},{122:122,137:137,147:147,173:173,39:39,51:51,54:54,67
:67,72:72,78:78,84:84,96:96,97:97}],41:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMButton
*/
"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,on
MouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMou
seMoveCapture:!0,onMouseUpCapture:!0},i={getNativeProps:function(t,e){if(!e.disa
bled)return e;var i={};for(var r in e)e.hasOwnProperty(r)&&!n[r]&&(i[r]=e[r]);re
turn i}};e.exports=i},{}],42:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMComponent
* @typechecks static-only
*/
"use strict";function n(t){if(t){var e=t._currentElement._owner||null;if(e){var
n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}fun
ction i(){var t=this._reactInternalComponent;return V(!1,"ReactDOMComponent: Do
not access .getDOMNode() of a DOM node; instead, use the node directly.%s",n(t))
,this}function r(){var t=this._reactInternalComponent;return V(!1,"ReactDOMCompo
nent: Do not access .isMounted() of a DOM node.%s",n(t)),!!t}function o(){var t=
this._reactInternalComponent;V(!1,"ReactDOMComponent: Do not access .setState(),
.replaceState(), or .forceUpdate() of a DOM node. This is a no-op.%s",n(t))}fun
ction s(t,e){var i=this._reactInternalComponent;V(!1,"ReactDOMComponent: Do not
access .setProps() of a DOM node. Instead, call ReactDOM.render again at the top
level.%s",n(i)),i&&(L.enqueueSetPropsInternal(i,t),e&&L.enqueueCallbackInternal
(i,e))}function a(t,e){var i=this._reactInternalComponent;V(!1,"ReactDOMComponen
t: Do not access .replaceProps() of a DOM node. Instead, call ReactDOM.render ag
ain at the top level.%s",n(i)),i&&(L.enqueueReplacePropsInternal(i,t),e&&L.enque
ueCallbackInternal(i,e))}function c(t){if("object"==typeof t){if(Array.isArray(t
))return"["+t.map(c).join(", ")+"]";var e=[];for(var n in t)if(Object.prototype.
hasOwnProperty.call(t,n)){var i=/^[a-z$_][\w$_]*$/i.test(n)?n:JSON.stringify(n);
e.push(i+": "+c(t[n]))}return"{"+e.join(", ")+"}"}return"string"==typeof t?JSON.
stringify(t):"function"==typeof t?"[function object]":String(t)}function u(t,e,n
){if(null!=t&&null!=e&&!W(t,e)){var i,r=n._tag,o=n._currentElement._owner;o&&(i=
o.getName());var s=i+"|"+r;ne.hasOwnProperty(s)||(ne[s]=!0,V(!1,"`%s` was passed
a style object that has previously been mutated. Mutating `style` is deprecated
. Consider cloning it beforehand. Check the `render` %s. Previous style: %s. Mut
ated style: %s.",r,o?"of `"+i+"`":"using <"+r+">",c(t),c(e)))}}function l(t,e){e
&&(se[t._tag]&&V(null==e.children&&null==e.dangerouslySetInnerHTML,"%s is a void
element tag and must not have `children` or use `props.dangerouslySetInnerHTML`
.%s",t._tag,t._currentElement._owner?" Check the render method of "+t._currentEl
ement._owner.getName()+".":""),null!=e.dangerouslySetInnerHTML&&(null!=e.childre
n?z(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):voi
d 0,"object"==typeof e.dangerouslySetInnerHTML&&te in e.dangerouslySetInnerHTML?
void 0:z(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`
. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more
information.")),V(null==e.innerHTML,"Directly setting property `innerHTML` is n

ot permitted. For more information, lookup documentation on `dangerouslySetInner


HTML`."),V(!e.contentEditable||null==e.children,"A component is `contentEditable
` and contains `children` managed by React. It is now your responsibility to gua
rantee that none of those nodes are unexpectedly modified or duplicated. This is
probably not intentional."),null!=e.style&&"object"!=typeof e.style?z(!1,"The `
style` prop expects a mapping from style properties to values, not a string. For
example, style={{marginRight: spacing + 'em'}} when using JSX.%s",n(t)):void 0)
}function d(t,e,n,i){V("onScroll"!==e||B("scroll",!0),"This browser doesn't supp
ort the `onScroll` event");var r=D.findReactContainerForID(t);if(r){var o=r.node
Type===ee?r.ownerDocument:r;G(e,o)}i.getReactMountReady().enqueue(h,{id:t,regist
rationName:e,listener:n})}function h(){var t=this;E.putListener(t.id,t.registrat
ionName,t.listener)}function p(){var t=this;t._rootNodeID?void 0:z(!1,"Must be m
ounted to trap events");var e=D.getNode(t._rootNodeID);switch(e?void 0:z(!1,"tra
pBubbledEvent(...): Requires node to be rendered."),t._tag){case"iframe":t._wrap
perState.listeners=[E.trapBubbledEvent(C.topLevelTypes.topLoad,"load",e)];break;
case"video":case"audio":t._wrapperState.listeners=[];for(var n in ie)ie.hasOwnPr
operty(n)&&t._wrapperState.listeners.push(E.trapBubbledEvent(C.topLevelTypes[n],
ie[n],e));break;case"img":t._wrapperState.listeners=[E.trapBubbledEvent(C.topLev
elTypes.topError,"error",e),E.trapBubbledEvent(C.topLevelTypes.topLoad,"load",e)
];break;case"form":t._wrapperState.listeners=[E.trapBubbledEvent(C.topLevelTypes
.topReset,"reset",e),E.trapBubbledEvent(C.topLevelTypes.topSubmit,"submit",e)]}}
function _(){N.mountReadyWrapper(this)}function f(){M.postUpdateWrapper(this)}fu
nction m(t){ue.call(ce,t)||(ae.test(t)?void 0:z(!1,"Invalid tag: %s",t),ce[t]=!0
)}function g(t,e){t=$({},t);var n=t[Y.ancestorInfoContextKey];return t[Y.ancesto
rInfoContextKey]=Y.updatedAncestorInfo(n,e._tag,e),t}function b(t,e){return t.in
dexOf("-")>=0||null!=e.is}function v(t){m(t),this._tag=t.toLowerCase(),this._ren
deredChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._r
ootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWith
LegacyProperties=null,this._unprocessedContextDev=null,this._processedContextDev
=null}var y,w=t(2),k=t(5),x=t(10),S=t(11),C=t(15),E=t(28),T=t(35),A=t(41),N=t(46
),O=t(47),M=t(48),P=t(52),D=t(72),I=t(73),j=t(78),L=t(95),$=t(24),R=t(117),F=t(1
21),z=t(161),B=t(133),H=t(166),U=t(138),q=t(139),W=t(171),Y=t(144),V=t(173),X=E.
deleteListener,G=E.listenTo,J=E.registrationNameModules,Q={string:!0,number:!0},
K=H({children:null}),Z=H({style:null}),te=H({__html:null}),ee=1;y={props:{enumer
able:!1,get:function(){var t=this._reactInternalComponent;return V(!1,"ReactDOMC
omponent: Do not access .props of a DOM node; instead, recreate the props as `re
nder` did originally or read the DOM properties/attributes directly from this no
de (e.g., this.refs.box.className).%s",n(t)),t._currentElement.props}}};var ne={
},ie={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",t
opDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",
topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"
loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlay
ing:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeke
d",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:
"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},re={area:!0,ba
se:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,para
m:!0,source:!0,track:!0,wbr:!0},oe={listing:!0,pre:!0,textarea:!0},se=$({menuite
m:!0},re),ae=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ce={},ue={}.hasOwnProperty;v.displayN
ame="ReactDOMComponent",v.Mixin={construct:function(t){this._currentElement=t},m
ountComponent:function(t,e,n){this._rootNodeID=t;var i=this._currentElement.prop
s;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":th
is._wrapperState={listeners:null},e.getReactMountReady().enqueue(p,this);break;c
ase"button":i=A.getNativeProps(this,i,n);break;case"input":N.mountWrapper(this,i
,n),i=N.getNativeProps(this,i,n);break;case"option":O.mountWrapper(this,i,n),i=O
.getNativeProps(this,i,n);break;case"select":M.mountWrapper(this,i,n),i=M.getNat
iveProps(this,i,n),n=M.processChildContext(this,i,n);break;case"textarea":P.moun
tWrapper(this,i,n),i=P.getNativeProps(this,i,n)}l(this,i),n[Y.ancestorInfoContex
tKey]&&Y(this._tag,this,n[Y.ancestorInfoContextKey]),this._unprocessedContextDev
=n,this._processedContextDev=g(n,this),n=this._processedContextDev;var r;if(e.us
eCreateElement){var o=n[D.ownerDocumentContextKey],s=o.createElement(this._curre

ntElement.type);S.setAttributeForID(s,this._rootNodeID),D.getID(s),this._updateD
OMProperties({},i,e,s),this._createInitialChildren(e,i,n,s),r=s}else{var a=this.
_createOpenTagMarkupAndPutListeners(e,i),c=this._createContentMarkup(e,i,n);r=!c
&&re[this._tag]?a+"/>":a+">"+c+"</"+this._currentElement.type+">"}switch(this._t
ag){case"input":e.getReactMountReady().enqueue(_,this);case"button":case"select"
:case"textarea":i.autoFocus&&e.getReactMountReady().enqueue(w.focusDOMComponent,
this)}return r},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this
._currentElement.type;for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(null!
=r)if(J.hasOwnProperty(i))r&&d(this._rootNodeID,i,r,t);else{i===Z&&(r&&(this._pr
eviousStyle=r,r=this._previousStyleCopy=$({},e.style)),r=k.createMarkupForStyles
(r));var o=null;null!=this._tag&&b(this._tag,e)?i!==K&&(o=S.createMarkupForCusto
mAttribute(i,r)):o=S.createMarkupForProperty(i,r),o&&(n+=" "+o)}}if(t.renderToSt
aticMarkup)return n;var s=S.createMarkupForID(this._rootNodeID);return n+" "+s},
_createContentMarkup:function(t,e,n){var i="",r=e.dangerouslySetInnerHTML;if(nul
l!=r)null!=r.__html&&(i=r.__html);else{var o=Q[typeof e.children]?e.children:nul
l,s=null!=o?null:e.children;if(null!=o)i=F(o);else if(null!=s){var a=this.mountC
hildren(s,t,n);i=a.join("")}}return oe[this._tag]&&"\n"===i.charAt(0)?"\n"+i:i},
_createInitialChildren:function(t,e,n,i){var r=e.dangerouslySetInnerHTML;if(null
!=r)null!=r.__html&&U(i,r.__html);else{var o=Q[typeof e.children]?e.children:nul
l,s=null!=o?null:e.children;if(null!=o)q(i,o);else if(null!=s)for(var a=this.mou
ntChildren(s,t,n),c=0;c<a.length;c++)i.appendChild(a[c])}},receiveComponent:func
tion(t,e,n){var i=this._currentElement;this._currentElement=t,this.updateCompone
nt(e,i,t,n)},updateComponent:function(t,e,n,i){var r=e.props,o=this._currentElem
ent.props;switch(this._tag){case"button":r=A.getNativeProps(this,r),o=A.getNativ
eProps(this,o);break;case"input":N.updateWrapper(this),r=N.getNativeProps(this,r
),o=N.getNativeProps(this,o);break;case"option":r=O.getNativeProps(this,r),o=O.g
etNativeProps(this,o);break;case"select":r=M.getNativeProps(this,r),o=M.getNativ
eProps(this,o);break;case"textarea":P.updateWrapper(this),r=P.getNativeProps(thi
s,r),o=P.getNativeProps(this,o)}this._unprocessedContextDev!==i&&(this._unproces
sedContextDev=i,this._processedContextDev=g(i,this)),i=this._processedContextDev
,l(this,o),this._updateDOMProperties(r,o,t,null),this._updateDOMChildren(r,o,t,i
),!R&&this._nodeWithLegacyProperties&&(this._nodeWithLegacyProperties.props=o),"
select"===this._tag&&t.getReactMountReady().enqueue(f,this)},_updateDOMPropertie
s:function(t,e,n,i){var r,o,s;for(r in t)if(!e.hasOwnProperty(r)&&t.hasOwnProper
ty(r))if(r===Z){var a=this._previousStyleCopy;for(o in a)a.hasOwnProperty(o)&&(s
=s||{},s[o]="");this._previousStyleCopy=null}else J.hasOwnProperty(r)?t[r]&&X(th
is._rootNodeID,r):(x.properties[r]||x.isCustomAttribute(r))&&(i||(i=D.getNode(th
is._rootNodeID)),S.deleteValueForProperty(i,r));for(r in e){var c=e[r],l=r===Z?t
his._previousStyleCopy:t[r];if(e.hasOwnProperty(r)&&c!==l)if(r===Z)if(c?(u(this.
_previousStyleCopy,this._previousStyle,this),this._previousStyle=c,c=this._previ
ousStyleCopy=$({},c)):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProper
ty(o)||c&&c.hasOwnProperty(o)||(s=s||{},s[o]="");for(o in c)c.hasOwnProperty(o)&
&l[o]!==c[o]&&(s=s||{},s[o]=c[o])}else s=c;else J.hasOwnProperty(r)?c?d(this._ro
otNodeID,r,c,n):l&&X(this._rootNodeID,r):b(this._tag,e)?(i||(i=D.getNode(this._r
ootNodeID)),r===K&&(c=null),S.setValueForAttribute(i,r,c)):(x.properties[r]||x.i
sCustomAttribute(r))&&(i||(i=D.getNode(this._rootNodeID)),null!=c?S.setValueForP
roperty(i,r,c):S.deleteValueForProperty(i,r))}s&&(i||(i=D.getNode(this._rootNode
ID)),k.setValueForStyles(i,s))},_updateDOMChildren:function(t,e,n,i){var r=Q[typ
eof t.children]?t.children:null,o=Q[typeof e.children]?e.children:null,s=t.dange
rouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,a=e.dangerouslySetInnerHTML
&&e.dangerouslySetInnerHTML.__html,c=null!=r?null:t.children,u=null!=o?null:e.ch
ildren,l=null!=r||null!=s,d=null!=o||null!=a;null!=c&&null==u?this.updateChildre
n(null,n,i):l&&!d&&this.updateTextContent(""),null!=o?r!==o&&this.updateTextCont
ent(""+o):null!=a?s!==a&&this.updateMarkup(""+a):null!=u&&this.updateChildren(u,
n,i)},unmountComponent:function(){switch(this._tag){case"iframe":case"img":case"
form":case"video":case"audio":var t=this._wrapperState.listeners;if(t)for(var e=
0;e<t.length;e++)t[e].remove();break;case"input":N.unmountWrapper(this);break;ca
se"html":case"head":case"body":z(!1,"s> tried to unmount. Because of cross-brows
er quirks it is impossible to unmount some top-level components (eg <html>, <hea
d>, and <body>) reliably and efficiently. To fix this, have a single top-level c

omponent that never unmounts render these elements.",this._tag)}if(this.unmountC


hildren(),E.deleteAllListeners(this._rootNodeID),T.unmountIDFromEnvironment(this
._rootNodeID),this._rootNodeID=null,this._wrapperState=null,this._nodeWithLegacy
Properties){var n=this._nodeWithLegacyProperties;n._reactInternalComponent=null,
this._nodeWithLegacyProperties=null}},getPublicInstance:function(){if(!this._nod
eWithLegacyProperties){var t=D.getNode(this._rootNodeID);t._reactInternalCompone
nt=this,t.getDOMNode=i,t.isMounted=r,t.setState=o,t.replaceState=o,t.forceUpdate
=o,t.setProps=s,t.replaceProps=a,R?Object.defineProperties(t,y):t.props=this._cu
rrentElement.props,this._nodeWithLegacyProperties=t}return this._nodeWithLegacyP
roperties}},j.measureMethods(v,"ReactDOMComponent",{mountComponent:"mountCompone
nt",updateComponent:"updateComponent"}),$(v.prototype,v.Mixin,I.Mixin),e.exports
=v},{10:10,11:11,117:117,121:121,133:133,138:138,139:139,144:144,15:15,161:161,1
66:166,171:171,173:173,2:2,24:24,28:28,35:35,41:41,46:46,47:47,48:48,5:5,52:52,7
2:72,73:73,78:78,95:95}],43:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMFactories
* @typechecks static-only
*/
"use strict";function n(t){return i.createFactory(t)}var i=(t(57),t(58)),r=t(167
),o=r({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"
aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:
"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"captio
n",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"d
atalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div"
,dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaptio
n",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h
5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i
:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen"
,label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"m
ark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscrip
t:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:
"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"
q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"sectio
n",select:"select",small:"small",source:"source",span:"span",strong:"strong",sty
le:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:
"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"
title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",c
ircle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"im
age",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern
:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient"
,rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},n);e.exports=o},{1
67:167,57:57,58:58}],44:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMFeatureFlags
*/
"use strict";var n={useCreateElement:!1};e.exports=n},{}],45:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.

*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMIDOperations
* @typechecks static-only
*/
"use strict";var n=t(9),i=t(11),r=t(72),o=t(78),s=t(161),a={dangerouslySetInnerH
TML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style
:"`style` must be set using `updateStylesByID()`."},c={updatePropertyByID:functi
on(t,e,n){var o=r.getNode(t);a.hasOwnProperty(e)?s(!1,"updatePropertyByID(...):
%s",a[e]):void 0,null!=n?i.setValueForProperty(o,e,n):i.deleteValueForProperty(o
,e)},dangerouslyReplaceNodeWithMarkupByID:function(t,e){var i=r.getNode(t);n.dan
gerouslyReplaceNodeWithMarkup(i,e)},dangerouslyProcessChildrenUpdates:function(t
,e){for(var i=0;i<t.length;i++)t[i].parentNode=r.getNode(t[i].parentID);n.proces
sUpdates(t,e)}};o.measureMethods(c,"ReactDOMIDOperations",{dangerouslyReplaceNod
eWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildre
nUpdates:"dangerouslyProcessChildrenUpdates"}),e.exports=c},{11:11,161:161,72:72
,78:78,9:9}],46:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMInput
*/
"use strict";function n(){this._rootNodeID&&d.updateWrapper(this)}function i(t){
var e=this._currentElement.props,i=o.executeOnChange(e,t);a.asap(n,this);var r=e
.name;if("radio"===e.type&&null!=r){for(var c=s.getNode(this._rootNodeID),d=c;d.
parentNode;)d=d.parentNode;for(var h=d.querySelectorAll("input[name="+JSON.strin
gify(""+r)+'][type="radio"]'),p=0;p<h.length;p++){var _=h[p];if(_!==c&&_.form===
c.form){var f=s.getID(_);f?void 0:u(!1,"ReactDOMInput: Mixing React and non-Reac
t radio inputs with the same `name` is not supported.");var m=l[f];m?void 0:u(!1
,"ReactDOMInput: Unknown radio button ID %s.",f),a.asap(n,m)}}}return i}var r=t(
45),o=t(23),s=t(72),a=t(96),c=t(24),u=t(161),l={},d={getNativeProps:function(t,e
){var n=o.getValue(e),i=o.getChecked(e),r=c({},e,{defaultChecked:void 0,defaultV
alue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=i?i:t._wr
apperState.initialChecked,onChange:t._wrapperState.onChange});return r},mountWra
pper:function(t,e){o.checkPropTypes("input",e,t._currentElement._owner);var n=e.
defaultValue;t._wrapperState={initialChecked:e.defaultChecked||!1,initialValue:n
ull!=n?n:null,onChange:i.bind(t)}},mountReadyWrapper:function(t){l[t._rootNodeID
]=t},unmountWrapper:function(t){delete l[t._rootNodeID]},updateWrapper:function(
t){var e=t._currentElement.props,n=e.checked;null!=n&&r.updatePropertyByID(t._ro
otNodeID,"checked",n||!1);var i=o.getValue(e);null!=i&&r.updatePropertyByID(t._r
ootNodeID,"value",""+i)}};e.exports=d},{161:161,23:23,24:24,45:45,72:72,96:96}],
47:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMOption
*/
"use strict";var n=t(32),i=t(48),r=t(24),o=t(173),s=i.valueContextKey,a={mountWr
apper:function(t,e,n){o(null==e.selected,"Use the `defaultValue` or `value` prop

s on <select> instead of setting `selected` on <option>.");var i=n[s],r=null;if(


null!=i)if(r=!1,Array.isArray(i)){for(var a=0;a<i.length;a++)if(""+i[a]==""+e.va
lue){r=!0;break}}else r=""+i==""+e.value;t._wrapperState={selected:r}},getNative
Props:function(t,e){var i=r({selected:void 0,children:void 0},e);null!=t._wrappe
rState.selected&&(i.selected=t._wrapperState.selected);var s="";return n.forEach
(e.children,function(t){null!=t&&("string"==typeof t||"number"==typeof t?s+=t:o(
!1,"Only strings and numbers are supported as <option> children."))}),i.children
=s,i}};e.exports=a},{173:173,24:24,32:32,48:48}],48:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelect
*/
"use strict";function n(){if(this._rootNodeID&&this._wrapperState.pendingUpdate)
{this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=a.getVal
ue(t);null!=e&&o(this,Boolean(t.multiple),e)}}function i(t){if(t){var e=t.getNam
e();if(e)return" Check the render method of `"+e+"`."}return""}function r(t,e){v
ar n=t._currentElement._owner;a.checkPropTypes("select",e,n);for(var r=0;r<p.len
gth;r++){var o=p[r];null!=e[o]&&(e.multiple?d(Array.isArray(e[o]),"The `%s` prop
supplied to <select> must be an array if `multiple` is true.%s",o,i(n)):d(!Arra
y.isArray(e[o]),"The `%s` prop supplied to <select> must be a scalar value if `m
ultiple` is false.%s",o,i(n)))}}function o(t,e,n){var i,r,o=c.getNode(t._rootNod
eID).options;if(e){for(i={},r=0;r<n.length;r++)i[""+n[r]]=!0;for(r=0;r<o.length;
r++){var s=i.hasOwnProperty(o[r].value);o[r].selected!==s&&(o[r].selected=s)}}el
se{for(i=""+n,r=0;r<o.length;r++)if(o[r].value===i)return void(o[r].selected=!0)
;o.length&&(o[0].selected=!0)}}function s(t){var e=this._currentElement.props,i=
a.executeOnChange(e,t);return this._wrapperState.pendingUpdate=!0,u.asap(n,this)
,i}var a=t(23),c=t(72),u=t(96),l=t(24),d=t(173),h="__ReactDOMSelect_value$"+Math
.random().toString(36).slice(2),p=["value","defaultValue"],_={valueContextKey:h,
getNativeProps:function(t,e){return l({},e,{onChange:t._wrapperState.onChange,va
lue:void 0})},mountWrapper:function(t,e){r(t,e);var n=a.getValue(e);t._wrapperSt
ate={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,onChange:s.bind(t),w
asMultiple:Boolean(e.multiple)}},processChildContext:function(t,e,n){var i=l({},
n);return i[h]=t._wrapperState.initialValue,i},postUpdateWrapper:function(t){var
e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperS
tate.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var i=a.getValu
e(e);null!=i?(t._wrapperState.pendingUpdate=!1,o(t,Boolean(e.multiple),i)):n!==B
oolean(e.multiple)&&(null!=e.defaultValue?o(t,Boolean(e.multiple),e.defaultValue
):o(t,Boolean(e.multiple),e.multiple?[]:""))}};e.exports=_},{173:173,23:23,24:24
,72:72,96:96}],49:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMSelection
*/
"use strict";function n(t,e,n,i){return t===n&&e===i}function i(t){var e=documen
t.selection,n=e.createRange(),i=n.text.length,r=n.duplicate();r.moveToElementTex
t(t),r.setEndPoint("EndToStart",n);var o=r.text.length,s=o+i;return{start:o,end:
s}}function r(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.r
angeCount)return null;var i=e.anchorNode,r=e.anchorOffset,o=e.focusNode,s=e.focu
sOffset,a=e.getRangeAt(0);try{a.startContainer.nodeType,a.endContainer.nodeType}
catch(c){return null}var u=n(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffs

et),l=u?0:a.toString().length,d=a.cloneRange();d.selectNodeContents(t),d.setEnd(
a.startContainer,a.startOffset);var h=n(d.startContainer,d.startOffset,d.endCont
ainer,d.endOffset),p=h?0:d.toString().length,_=p+l,f=document.createRange();f.se
tStart(i,r),f.setEnd(o,s);var m=f.collapsed;return{start:m?_:p,end:m?p:_}}functi
on o(t,e){var n,i,r=document.selection.createRange().duplicate();"undefined"==ty
peof e.end?(n=e.start,i=n):e.start>e.end?(n=e.end,i=e.start):(n=e.start,i=e.end)
,r.moveToElementText(t),r.moveStart("character",n),r.setEndPoint("EndToStart",r)
,r.moveEnd("character",i-n),r.select()}function s(t,e){if(window.getSelection){v
ar n=window.getSelection(),i=t[u()].length,r=Math.min(e.start,i),o="undefined"==
typeof e.end?r:Math.min(e.end,i);if(!n.extend&&r>o){var s=o;o=r,r=s}var a=c(t,r)
,l=c(t,o);if(a&&l){var d=document.createRange();d.setStart(a.node,a.offset),n.re
moveAllRanges(),r>o?(n.addRange(d),n.extend(l.node,l.offset)):(d.setEnd(l.node,l
.offset),n.addRange(d))}}}var a=t(147),c=t(130),u=t(131),l=a.canUseDOM&&"selecti
on"in document&&!("getSelection"in window),d={getOffsets:l?i:r,setOffsets:l?o:s}
;e.exports=d},{130:130,131:131,147:147}],50:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMServer
*/
"use strict";var n=t(54),i=t(88),r=t(97);n.inject();var o={renderToString:i.rend
erToString,renderToStaticMarkup:i.renderToStaticMarkup,version:r};e.exports=o},{
54:54,88:88,97:97}],51:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMTextComponent
* @typechecks static-only
*/
"use strict";var n=t(9),i=t(11),r=t(35),o=t(72),s=t(24),a=t(121),c=t(139),u=t(14
4),l=function(){};s(l.prototype,{construct:function(t){this._currentElement=t,th
is._stringText=""+t,this._rootNodeID=null,this._mountIndex=0},mountComponent:fun
ction(t,e,n){if(n[u.ancestorInfoContextKey]&&u("span",null,n[u.ancestorInfoConte
xtKey]),this._rootNodeID=t,e.useCreateElement){var r=n[o.ownerDocumentContextKey
],s=r.createElement("span");return i.setAttributeForID(s,t),o.getID(s),c(s,this.
_stringText),s}var l=a(this._stringText);return e.renderToStaticMarkup?l:"<span
"+i.createMarkupForID(t)+">"+l+"</span>"},receiveComponent:function(t){if(t!==th
is._currentElement){this._currentElement=t;var e=""+t;if(e!==this._stringText){t
his._stringText=e;var i=o.getNode(this._rootNodeID);n.updateTextContent(i,e)}}},
unmountComponent:function(){r.unmountIDFromEnvironment(this._rootNodeID)}}),e.ex
ports=l},{11:11,121:121,139:139,144:144,24:24,35:35,72:72,9:9}],52:[function(t,e
){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDOMTextarea
*/
"use strict";function n(){this._rootNodeID&&l.updateWrapper(this)}function i(t){

var e=this._currentElement.props,i=r.executeOnChange(e,t);return s.asap(n,this),


i}var r=t(23),o=t(45),s=t(96),a=t(24),c=t(161),u=t(173),l={getNativeProps:functi
on(t,e){null!=e.dangerouslySetInnerHTML?c(!1,"`dangerouslySetInnerHTML` does not
make sense on <textarea>."):void 0;var n=a({},e,{defaultValue:void 0,value:void
0,children:t._wrapperState.initialValue,onChange:t._wrapperState.onChange});ret
urn n},mountWrapper:function(t,e){r.checkPropTypes("textarea",e,t._currentElemen
t._owner);var n=e.defaultValue,o=e.children;null!=o&&(u(!1,"Use the `defaultValu
e` or `value` props instead of setting children on <textarea>."),null!=n?c(!1,"I
f you supply `defaultValue` on a <textarea>, do not pass children."):void 0,Arra
y.isArray(o)&&(o.length<=1?void 0:c(!1,"<textarea> can only have at most one chi
ld."),o=o[0]),n=""+o),null==n&&(n="");var s=r.getValue(e);t._wrapperState={initi
alValue:""+(null!=s?s:n),onChange:i.bind(t)}},updateWrapper:function(t){var e=t.
_currentElement.props,n=r.getValue(e);null!=n&&o.updatePropertyByID(t._rootNodeI
D,"value",""+n)}};e.exports=l},{161:161,173:173,23:23,24:24,45:45,96:96}],53:[fu
nction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultBatchingStrategy
*/
"use strict";function n(){this.reinitializeTransaction()}var i=t(96),r=t(113),o=
t(24),s=t(153),a={initialize:s,close:function(){d.isBatchingUpdates=!1}},c={init
ialize:s,close:i.flushBatchedUpdates.bind(i)},u=[c,a];o(n.prototype,r.Mixin,{get
TransactionWrappers:function(){return u}});var l=new n,d={isBatchingUpdates:!1,b
atchedUpdates:function(t,e,n,i,r,o){var s=d.isBatchingUpdates;d.isBatchingUpdate
s=!0,s?t(e,n,i,r,o):l.perform(t,null,e,n,i,r,o)}};e.exports=d},{113:113,153:153,
24:24,96:96}],54:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultInjection
*/
"use strict";function n(){if(!S){S=!0,m.EventEmitter.injectReactEventListener(f)
,m.EventPluginHub.injectEventPluginOrder(s),m.EventPluginHub.injectInstanceHandl
e(g),m.EventPluginHub.injectMount(b),m.EventPluginHub.injectEventPluginsByName({
SimpleEventPlugin:k,EnterLeaveEventPlugin:a,ChangeEventPlugin:r,SelectEventPlugi
n:y,BeforeInputEventPlugin:i}),m.NativeComponent.injectGenericComponentClass(p),
m.NativeComponent.injectTextComponentClass(_),m.Class.injectMixin(l),m.DOMProper
ty.injectDOMPropertyConfig(u),m.DOMProperty.injectDOMPropertyConfig(x),m.EmptyCo
mponent.injectEmptyComponent("noscript"),m.Updates.injectReconcileTransaction(v)
,m.Updates.injectBatchingStrategy(h),m.RootIndex.injectCreateReactRootIndex(c.ca
nUseDOM?o.createReactRootIndex:w.createReactRootIndex),m.Component.injectEnviron
ment(d);var e=c.canUseDOM&&window.location.href||"";if(/[?&]react_perf\b/.test(e
)){var n=t(55);n.start()}}}var i=t(3),r=t(7),o=t(8),s=t(13),a=t(14),c=t(147),u=t
(21),l=t(27),d=t(35),h=t(53),p=t(42),_=t(51),f=t(63),m=t(65),g=t(67),b=t(72),v=t
(83),y=t(99),w=t(100),k=t(101),x=t(98),S=!1;e.exports={inject:n}},{100:100,101:1
01,13:13,14:14,147:147,21:21,27:27,3:3,35:35,42:42,51:51,53:53,55:55,63:63,65:65
,67:67,7:7,72:72,8:8,83:83,98:98,99:99}],55:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactDefaultPerf
* @typechecks static-only
*/
"use strict";function n(t){return Math.floor(100*t)/100}function i(t,e,n){t[e]=(
t[e]||0)+n}var r=t(10),o=t(56),s=t(72),a=t(78),c=t(170),u={_allMeasurements:[],_
mountStack:[0],_injected:!1,start:function(){u._injected||a.injection.injectMeas
ure(u.measure),u._allMeasurements.length=0,a.enableMeasure=!0},stop:function(){a
.enableMeasure=!1},getLastMeasurements:function(){return u._allMeasurements},pri
ntExclusive:function(t){t=t||u._allMeasurements;var e=o.getExclusiveSummary(t);c
onsole.table(e.map(function(t){return{"Component class name":t.componentName,"To
tal inclusive time (ms)":n(t.inclusive),"Exclusive mount time (ms)":n(t.exclusiv
e),"Exclusive render time (ms)":n(t.render),"Mount time per instance (ms)":n(t.e
xclusive/t.count),"Render time per instance (ms)":n(t.render/t.count),Instances:
t.count}}))},printInclusive:function(t){t=t||u._allMeasurements;var e=o.getInclu
siveSummary(t);console.table(e.map(function(t){return{"Owner > component":t.comp
onentName,"Inclusive time (ms)":n(t.time),Instances:t.count}})),console.log("Tot
al time:",o.getTotalTime(t).toFixed(2)+" ms")},getMeasurementsSummaryMap:functio
n(t){var e=o.getInclusiveSummary(t,!0);return e.map(function(t){return{"Owner >
component":t.componentName,"Wasted time (ms)":t.time,Instances:t.count}})},print
Wasted:function(t){t=t||u._allMeasurements,console.table(u.getMeasurementsSummar
yMap(t)),console.log("Total time:",o.getTotalTime(t).toFixed(2)+" ms")},printDOM
:function(t){t=t||u._allMeasurements;var e=o.getDOMSummary(t);console.table(e.ma
p(function(t){var e={};return e[r.ID_ATTRIBUTE_NAME]=t.id,e.type=t.type,e.args=J
SON.stringify(t.args),e})),console.log("Total time:",o.getTotalTime(t).toFixed(2
)+" ms")},_recordWrite:function(t,e,n,i){var r=u._allMeasurements[u._allMeasurem
ents.length-1].writes;r[t]=r[t]||[],r[t].push({type:e,time:n,args:i})},measure:f
unction(t,e,n){return function(){for(var r=arguments.length,o=Array(r),a=0;r>a;a
++)o[a]=arguments[a];var l,d,h;if("_renderNewRootComponent"===e||"flushBatchedUp
dates"===e)return u._allMeasurements.push({exclusive:{},inclusive:{},render:{},c
ounts:{},writes:{},displayNames:{},totalTime:0,created:{}}),h=c(),d=n.apply(this
,o),u._allMeasurements[u._allMeasurements.length-1].totalTime=c()-h,d;if("_mount
ImageIntoNode"===e||"ReactBrowserEventEmitter"===t||"ReactDOMIDOperations"===t||
"CSSPropertyOperations"===t||"DOMChildrenOperations"===t||"DOMPropertyOperations
"===t){if(h=c(),d=n.apply(this,o),l=c()-h,"_mountImageIntoNode"===e){var p=s.get
ID(o[1]);u._recordWrite(p,e,l,o[0])}else if("dangerouslyProcessChildrenUpdates"=
==e)o[0].forEach(function(t){var e={};null!==t.fromIndex&&(e.fromIndex=t.fromInd
ex),null!==t.toIndex&&(e.toIndex=t.toIndex),null!==t.textContent&&(e.textContent
=t.textContent),null!==t.markupIndex&&(e.markup=o[1][t.markupIndex]),u._recordWr
ite(t.parentID,t.type,l,e)});else{var _=o[0];"object"==typeof _&&(_=s.getID(o[0]
)),u._recordWrite(_,e,l,Array.prototype.slice.call(o,1))}return d}if("ReactCompo
siteComponent"!==t||"mountComponent"!==e&&"updateComponent"!==e&&"_renderValidat
edComponent"!==e)return n.apply(this,o);if(this._currentElement.type===s.TopLeve
lWrapper)return n.apply(this,o);var f="mountComponent"===e?o[0]:this._rootNodeID
,m="_renderValidatedComponent"===e,g="mountComponent"===e,b=u._mountStack,v=u._a
llMeasurements[u._allMeasurements.length-1];if(m?i(v.counts,f,1):g&&(v.created[f
]=!0,b.push(0)),h=c(),d=n.apply(this,o),l=c()-h,m)i(v.render,f,l);else if(g){var
y=b.pop();b[b.length-1]+=l,i(v.exclusive,f,l-y),i(v.inclusive,f,l)}else i(v.inc
lusive,f,l);return v.displayNames[f]={current:this.getName(),owner:this._current
Element._owner?this._currentElement._owner.getName():"<root>"},d}}};e.exports=u}
,{10:10,170:170,56:56,72:72,78:78}],56:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*

* @providesModule ReactDefaultPerfAnalysis
*/
"use strict";function n(t){for(var e=0,n=0;n<t.length;n++){var i=t[n];e+=i.total
Time}return e}function i(t){var e=[];return t.forEach(function(t){Object.keys(t.
writes).forEach(function(n){t.writes[n].forEach(function(t){e.push({id:n,type:u[
t.type]||t.type,args:t.args})})})}),e}function r(t){for(var e,n={},i=0;i<t.lengt
h;i++){var r=t[i],o=a({},r.exclusive,r.inclusive);for(var s in o)e=r.displayName
s[s].current,n[e]=n[e]||{componentName:e,inclusive:0,exclusive:0,render:0,count:
0},r.render[s]&&(n[e].render+=r.render[s]),r.exclusive[s]&&(n[e].exclusive+=r.ex
clusive[s]),r.inclusive[s]&&(n[e].inclusive+=r.inclusive[s]),r.counts[s]&&(n[e].
count+=r.counts[s])}var u=[];for(e in n)n[e].exclusive>=c&&u.push(n[e]);return u
.sort(function(t,e){return e.exclusive-t.exclusive}),u}function o(t,e){for(var n
,i={},r=0;r<t.length;r++){var o,u=t[r],l=a({},u.exclusive,u.inclusive);e&&(o=s(u
));for(var d in l)if(!e||o[d]){var h=u.displayNames[d];n=h.owner+" > "+h.current
,i[n]=i[n]||{componentName:n,time:0,count:0},u.inclusive[d]&&(i[n].time+=u.inclu
sive[d]),u.counts[d]&&(i[n].count+=u.counts[d])}}var p=[];for(n in i)i[n].time>=
c&&p.push(i[n]);return p.sort(function(t,e){return e.time-t.time}),p}function s(
t){var e={},n=Object.keys(t.writes),i=a({},t.exclusive,t.inclusive);for(var r in
i){for(var o=!1,s=0;s<n.length;s++)if(0===n[s].indexOf(r)){o=!0;break}t.created
[r]&&(o=!0),!o&&t.counts[r]>0&&(e[r]=!0)}return e}var a=t(24),c=1.2,u={_mountIma
geIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",RE
MOVE_NODE:"remove",SET_MARKUP:"set innerHTML",TEXT_CONTENT:"set textContent",set
ValueForProperty:"update attribute",setValueForAttribute:"update attribute",dele
teValueForProperty:"remove attribute",setValueForStyles:"update styles",replaceN
odeWithMarkup:"replace",updateTextContent:"set textContent"},l={getExclusiveSumm
ary:r,getInclusiveSummary:o,getDOMSummary:i,getTotalTime:n};e.exports=l},{24:24}
],57:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactElement
*/
"use strict";var n=t(39),i=t(24),r=t(117),o="function"==typeof Symbol&&Symbol["f
or"]&&Symbol["for"]("react.element")||60103,s={key:!0,ref:!0,__self:!0,__source:
!0},a=function(t,e,n,i,s,a,c){var u={$$typeof:o,type:t,key:e,ref:n,props:c,_owne
r:a};return u._store={},r?(Object.defineProperty(u._store,"validated",{configura
ble:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{con
figurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(u,"_sourc
e",{configurable:!1,enumerable:!1,writable:!1,value:s})):(u._store.validated=!1,
u._self=i,u._source=s),Object.freeze(u.props),Object.freeze(u),u};a.createElemen
t=function(t,e,i){var r,o={},c=null,u=null,l=null,d=null;if(null!=e){u=void 0===
e.ref?null:e.ref,c=void 0===e.key?null:""+e.key,l=void 0===e.__self?null:e.__sel
f,d=void 0===e.__source?null:e.__source;for(r in e)e.hasOwnProperty(r)&&!s.hasOw
nProperty(r)&&(o[r]=e[r])}var h=arguments.length-2;if(1===h)o.children=i;else if
(h>1){for(var p=Array(h),_=0;h>_;_++)p[_]=arguments[_+2];o.children=p}if(t&&t.de
faultProps){var f=t.defaultProps;for(r in f)"undefined"==typeof o[r]&&(o[r]=f[r]
)}return a(t,c,u,l,d,n.current,o)},a.createFactory=function(t){var e=a.createEle
ment.bind(null,t);return e.type=t,e},a.cloneAndReplaceKey=function(t,e){var n=a(
t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},a.cloneAndReplacePr
ops=function(t,e){var n=a(t.type,t.key,t.ref,t._self,t._source,t._owner,e);retur
n n._store.validated=t._store.validated,n},a.cloneElement=function(t,e,r){var o,
c=i({},t.props),u=t.key,l=t.ref,d=t._self,h=t._source,p=t._owner;if(null!=e){voi
d 0!==e.ref&&(l=e.ref,p=n.current),void 0!==e.key&&(u=""+e.key);for(o in e)e.has
OwnProperty(o)&&!s.hasOwnProperty(o)&&(c[o]=e[o])}var _=arguments.length-2;if(1=
==_)c.children=r;else if(_>1){for(var f=Array(_),m=0;_>m;m++)f[m]=arguments[m+2]
;c.children=f}return a(t.type,u,l,d,h,p,c)},a.isValidElement=function(t){return"

object"==typeof t&&null!==t&&t.$$typeof===o},e.exports=a},{117:117,24:24,39:39}]
,58:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactElementValidator
*/
"use strict";function n(){if(d.current){var t=d.current.getName();if(t)return" C
heck the render method of `"+t+"`."}return""}function i(t,e){if(t._store&&!t._st
ore.validated&&null==t.key){t._store.validated=!0;var n=r("uniqueKey",t,e);null!
==n&&f(!1,'Each child in an array or iterator should have a unique "key" prop.%s
%s%s',n.parentOrOwner||"",n.childOwner||"",n.url||"")}}function r(t,e,i){var r=n
();if(!r){var o="string"==typeof i?i:i.displayName||i.name;o&&(r=" Check the top
-level render call using <"+o+">.")}var s=m[t]||(m[t]={});if(s[r])return null;s[
r]=!0;var a={parentOrOwner:r,url:" See https://fb.me/react-warning-keys for more
information.",childOwner:null};return e&&e._owner&&e._owner!==d.current&&(a.chi
ldOwner=" It was passed a child from "+e._owner.getName()+"."),a}function o(t,e)
{if("object"==typeof t)if(Array.isArray(t))for(var n=0;n<t.length;n++){var r=t[n
];c.isValidElement(r)&&i(r,e)}else if(c.isValidElement(t))t._store&&(t._store.va
lidated=!0);else if(t){var o=p(t);if(o&&o!==t.entries)for(var s,a=o.call(t);!(s=
a.next()).done;)c.isValidElement(s.value)&&i(s.value,e)}}function s(t,e,i,r){for
(var o in e)if(e.hasOwnProperty(o)){var s;try{"function"!=typeof e[o]?_(!1,"%s:
%s type `%s` is invalid; it must be a function, usually from React.PropTypes.",t
||"React class",l[r],o):void 0,s=e[o](i,o,t,r)}catch(a){s=a}if(f(!s||s instanceo
f Error,"%s: type specification of %s `%s` is invalid; the type checker function
must return `null` or an `Error` but returned a %s. You may have forgotten to p
ass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneO
f, oneOfType, and shape all require an argument).",t||"React class",l[r],o,typeo
f s),s instanceof Error&&!(s.message in g)){g[s.message]=!0;var c=n();f(!1,"Fail
ed propType: %s%s",s.message,c)}}}function a(t){var e=t.type;if("function"==type
of e){var n=e.displayName||e.name;e.propTypes&&s(n,e.propTypes,t.props,u.prop),"
function"==typeof e.getDefaultProps&&f(e.getDefaultProps.isReactClassApproved,"g
etDefaultProps is only used on classic React.createClass definitions. Use a stat
ic property named `defaultProps` instead.")}}var c=t(57),u=t(81),l=t(80),d=t(39)
,h=t(117),p=t(129),_=t(161),f=t(173),m={},g={},b={createElement:function(t){var
e="string"==typeof t||"function"==typeof t;f(e,"React.createElement: type should
not be null, undefined, boolean, or number. It should be a string (for DOM elem
ents) or a ReactClass (for composite components).%s",n());var i=c.createElement.
apply(this,arguments);if(null==i)return i;if(e)for(var r=2;r<arguments.length;r+
+)o(arguments[r],t);return a(i),i},createFactory:function(t){var e=b.createEleme
nt.bind(null,t);return e.type=t,h&&Object.defineProperty(e,"type",{enumerable:!1
,get:function(){return f(!1,"Factory.type is deprecated. Access the class direct
ly before passing it to createFactory."),Object.defineProperty(this,"type",{valu
e:t}),t}}),e},cloneElement:function(){for(var t=c.cloneElement.apply(this,argume
nts),e=2;e<arguments.length;e++)o(arguments[e],t.type);return a(t),t}};e.exports
=b},{117:117,129:129,161:161,173:173,39:39,57:57,80:80,81:81}],59:[function(t,e)
{/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEmptyComponent
*/

"use strict";var n,i=t(57),r=t(60),o=t(84),s=t(24),a={injectEmptyComponent:funct


ion(t){n=i.createElement(t)}},c=function(t){this._currentElement=null,this._root
NodeID=null,this._renderedComponent=t(n)};s(c.prototype,{construct:function(){},
mountComponent:function(t,e,n){return r.registerNullComponentID(t),this._rootNod
eID=t,o.mountComponent(this._renderedComponent,t,e,n)},receiveComponent:function
(){},unmountComponent:function(){o.unmountComponent(this._renderedComponent),r.d
eregisterNullComponentID(this._rootNodeID),this._rootNodeID=null,this._renderedC
omponent=null}}),c.injection=a,e.exports=c},{24:24,57:57,60:60,84:84}],60:[funct
ion(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEmptyComponentRegistry
*/
"use strict";function n(t){return!!o[t]}function i(t){o[t]=!0}function r(t){dele
te o[t]}var o={},s={isNullComponentID:n,registerNullComponentID:i,deregisterNull
ComponentID:r};e.exports=s},{}],61:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactErrorUtils
* @typechecks
*/
"use strict";function n(t,e,n,r){try{return e(n,r)}catch(o){return void(null===i
&&(i=o))}}var i=null,r={invokeGuardedCallback:n,invokeGuardedCallbackWithCatch:n
,rethrowCaughtError:function(){if(i){var t=i;throw i=null,t}}};if("undefined"!=t
ypeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof docum
ent&&"function"==typeof document.createEvent){var o=document.createElement("reac
t");r.invokeGuardedCallback=function(t,e,n,i){var r=e.bind(null,n,i),s="react-"+
t;o.addEventListener(s,r,!1);var a=document.createEvent("Event");a.initEvent(s,!
1,!1),o.dispatchEvent(a),o.removeEventListener(s,r,!1)}}e.exports=r},{}],62:[fun
ction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEventEmitterMixin
*/
"use strict";function n(t){i.enqueueEvents(t),i.processEventQueue(!1)}var i=t(16
),r={handleTopLevel:function(t,e,r,o,s){var a=i.extractEvents(t,e,r,o,s);n(a)}};
e.exports=r},{16:16}],63:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactEventListener

* @typechecks static-only
*/
"use strict";function n(t){var e=d.getID(t),n=l.getReactRootIDFromNodeID(e),i=d.
findReactContainerForID(n),r=d.getFirstReactDOM(i);return r}function i(t,e){this
.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function r(t){o(t)}function
o(t){for(var e=d.getFirstReactDOM(_(t.nativeEvent))||window,i=e;i;)t.ancestors.
push(i),i=n(i);for(var r=0;r<t.ancestors.length;r++){e=t.ancestors[r];var o=d.ge
tID(e)||"";m._handleTopLevel(t.topLevelType,e,o,t.nativeEvent,_(t.nativeEvent))}
}function s(t){var e=f(window);t(e)}var a=t(146),c=t(147),u=t(25),l=t(67),d=t(72
),h=t(96),p=t(24),_=t(128),f=t(158);p(i.prototype,{destructor:function(){this.to
pLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),u.addPoolingTo(
i,u.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.c
anUseDOM?window:null,setHandleTopLevel:function(t){m._handleTopLevel=t},setEnabl
ed:function(t){m._enabled=!!t},isEnabled:function(){return m._enabled},trapBubbl
edEvent:function(t,e,n){var i=n;return i?a.listen(i,e,m.dispatchEvent.bind(null,
t)):null},trapCapturedEvent:function(t,e,n){var i=n;return i?a.capture(i,e,m.dis
patchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=s.bind(null,
t);a.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(m._enabled){var n
=i.getPooled(t,e);try{h.batchedUpdates(r,n)}finally{i.release(n)}}}};e.exports=m
},{128:128,146:146,147:147,158:158,24:24,25:25,67:67,72:72,96:96}],64:[function(
t,e){/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactFragment
*/
"use strict";var n=t(32),i=t(57),r=t(153),o=t(161),s=t(173),a=/^\d+$/,c=!1,u={cr
eate:function(t){if("object"!=typeof t||!t||Array.isArray(t))return s(!1,"React.
addons.createFragment only accepts a single object. Got: %s",t),t;if(i.isValidEl
ement(t))return s(!1,"React.addons.createFragment does not accept a ReactElement
without a wrapper object."),t;1===t.nodeType?o(!1,"React.addons.createFragment(
...): Encountered an invalid child; DOM elements are not valid children of React
components."):void 0;var e=[];for(var u in t)!c&&a.test(u)&&(s(!1,"React.addons
.createFragment(...): Child objects should have non-numeric keys so ordering is
preserved."),c=!0),n.mapIntoWithKeyPrefixInternal(t[u],e,u,r.thatReturnsArgument
);return e}};e.exports=u},{153:153,161:161,173:173,32:32,57:57}],65:[function(t,
e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInjection
*/
"use strict";var n=t(10),i=t(16),r=t(36),o=t(33),s=t(59),a=t(28),c=t(75),u=t(78)
,l=t(86),d=t(96),h={Component:r.injection,Class:o.injection,DOMProperty:n.inject
ion,EmptyComponent:s.injection,EventPluginHub:i.injection,EventEmitter:a.injecti
on,NativeComponent:c.injection,Perf:u.injection,RootIndex:l.injection,Updates:d.
injection};e.exports=h},{10:10,16:16,28:28,33:33,36:36,59:59,75:75,78:78,86:86,9
6:96}],66:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInputSelection
*/
"use strict";function n(t){return r(document.documentElement,t)}var i=t(49),r=t(
150),o=t(155),s=t(156),a={hasSelectionCapabilities:function(t){var e=t&&t.nodeNa
me&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"
===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=s();
return{focusedElem:t,selectionRange:a.hasSelectionCapabilities(t)?a.getSelection
(t):null}},restoreSelection:function(t){var e=s(),i=t.focusedElem,r=t.selectionR
ange;e!==i&&n(i)&&(a.hasSelectionCapabilities(i)&&a.setSelection(i,r),o(i))},get
Selection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,en
d:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.t
oLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={
start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.va
lue.length)})}else e=i.getOffsets(t);return e||{start:0,end:0}},setSelection:fun
ction(t,e){var n=e.start,r=e.end;if("undefined"==typeof r&&(r=n),"selectionStart
"in t)t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length);else if(docum
ent.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var o=t.createTex
tRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.
select()}else i.setOffsets(t,e)}};e.exports=a},{150:150,155:155,156:156,49:49}],
67:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInstanceHandles
* @typechecks static-only
*/
"use strict";function n(t){return h+t.toString(36)}function i(t,e){return t.char
At(e)===h||e===t.length}function r(t){return""===t||t.charAt(0)===h&&t.charAt(t.
length-1)!==h}function o(t,e){return 0===e.indexOf(t)&&i(e,t.length)}function s(
t){return t?t.substr(0,t.lastIndexOf(h)):""}function a(t,e){if(r(t)&&r(e)?void 0
:d(!1,"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",t,e),o(t,
e)?void 0:d(!1,"getNextDescendantID(...): React has made an invalid assumption a
bout the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",t,e),t===e)ret
urn t;var n,s=t.length+p;for(n=s;n<e.length&&!i(e,n);n++);return e.substr(0,n)}f
unction c(t,e){var n=Math.min(t.length,e.length);if(0===n)return"";for(var o=0,s
=0;n>=s;s++)if(i(t,s)&&i(e,s))o=s;else if(t.charAt(s)!==e.charAt(s))break;var a=
t.substr(0,o);return r(a)?void 0:d(!1,"getFirstCommonAncestorID(%s, %s): Expecte
d a valid React DOM ID: %s",t,e,a),a}function u(t,e,n,i,r,c){t=t||"",e=e||"",t==
=e?d(!1,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.
",t):void 0;var u=o(e,t);u||o(t,e)?void 0:d(!1,"traverseParentPath(%s, %s, ...):
Cannot traverse from two IDs that do not have a parent path.",t,e);for(var l=0,
h=u?s:a,p=t;;p=h(p,e)){var f;if(r&&p===t||c&&p===e||(f=n(p,u,i)),f===!1||p===e)b
reak;l++<_?void 0:d(!1,"traverseParentPath(%s, %s, ...): Detected an infinite lo
op while traversing the React DOM ID tree. This may be due to malformed IDs: %s"
,t,e,p)}}var l=t(86),d=t(161),h=".",p=h.length,_=1e4,f={createReactRootID:functi
on(){return n(l.createReactRootIndex())},createReactID:function(t,e){return t+e}
,getReactRootIDFromNodeID:function(t){if(t&&t.charAt(0)===h&&t.length>1){var e=t
.indexOf(h,1);return e>-1?t.substr(0,e):t}return null},traverseEnterLeave:functi
on(t,e,n,i,r){var o=c(t,e);o!==t&&u(t,o,n,i,!1,!0),o!==e&&u(o,e,n,r,!0,!1)},trav
erseTwoPhase:function(t,e,n){t&&(u("",t,e,n,!0,!1),u(t,"",e,n,!1,!0))},traverseT
woPhaseSkipTarget:function(t,e,n){t&&(u("",t,e,n,!0,!0),u(t,"",e,n,!0,!0))},trav
erseAncestors:function(t,e,n){u("",t,e,n,!0,!1)},getFirstCommonAncestorID:c,_get
NextDescendantID:a,isAncestorIDOf:o,SEPARATOR:h};e.exports=f},{161:161,86:86}],6

8:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactInstanceMap
*/
"use strict";var n={remove:function(t){t._reactInternalInstance=void 0},get:func
tion(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reac
tInternalInstance},set:function(t,e){t._reactInternalInstance=e}};e.exports=n},{
}],69:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactIsomorphic
*/
"use strict";var n=t(32),i=t(34),r=t(33),o=t(43),s=t(57),a=t(58),c=t(82),u=t(97)
,l=t(24),d=t(135),h=s.createElement,p=s.createFactory,_=s.cloneElement;h=a.creat
eElement,p=a.createFactory,_=a.cloneElement;var f={Children:{map:n.map,forEach:n
.forEach,count:n.count,toArray:n.toArray,only:d},Component:i,createElement:h,clo
neElement:_,isValidElement:s.isValidElement,PropTypes:c,createClass:r.createClas
s,createFactory:p,createMixin:function(t){return t},DOM:o,version:u,__spread:l};
e.exports=f},{135:135,24:24,32:32,33:33,34:34,43:43,57:57,58:58,82:82,97:97}],70
:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactLink
* @typechecks static-only
*/
"use strict";function n(t,e){this.value=t,this.requestChange=e}function i(t){var
e={value:"undefined"==typeof t?r.PropTypes.any.isRequired:t.isRequired,requestC
hange:r.PropTypes.func.isRequired};return r.PropTypes.shape(e)}var r=t(26);n.Pro
pTypes={link:i},e.exports=n},{26:26}],71:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMarkupChecksum
*/
"use strict";var n=t(116),i=/\/?>/,r={CHECKSUM_ATTR_NAME:"data-react-checksum",a
ddChecksumToMarkup:function(t){var e=n(t);return t.replace(i," "+r.CHECKSUM_ATTR
_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var i=e.getAttribute(r.CHECKSU
M_ATTR_NAME);i=i&&parseInt(i,10);var o=n(t);return o===i}};e.exports=r},{116:116
}],72:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.

* All rights reserved.


*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMount
*/
"use strict";function n(t,e){for(var n=Math.min(t.length,e.length),i=0;n>i;i++)i
f(t.charAt(i)!==e.charAt(i))return i;return t.length===e.length?-1:n}function i(
t){return t?t.nodeType===q?t.documentElement:t.firstChild:null}function r(t){var
e=i(t);return e&&Z.getID(e)}function o(t){var e=s(t);if(e)if(H.hasOwnProperty(e
)){var n=H[e];n!==t&&(l(n,e)?L(!1,"ReactMount: Two valid but unequal nodes with
the same `%s`: %s",B,e):void 0,H[e]=t)}else H[e]=t;return e}function s(t){return
t&&t.getAttribute&&t.getAttribute(B)||""}function a(t,e){var n=s(t);n!==e&&dele
te H[n],t.setAttribute(B,e),H[e]=t}function c(t){return H.hasOwnProperty(t)&&l(H
[t],t)||(H[t]=Z.findReactNodeByID(t)),H[t]}function u(t){var e=E.get(t)._rootNod
eID;return S.isNullComponentID(e)?null:(H.hasOwnProperty(e)&&l(H[e],e)||(H[e]=Z.
findReactNodeByID(e)),H[e])}function l(t,e){if(t){s(t)!==e?L(!1,"ReactMount: Une
xpected modification of `%s`",B):void 0;var n=Z.findReactContainerForID(e);if(n&
&I(n,t))return!0}return!1}function d(t){delete H[t]}function h(t){var e=H[t];ret
urn e&&l(e,t)?void(Q=e):!1}function p(t){Q=null,C.traverseAncestors(t,h);var e=Q
;return Q=null,e}function _(t,e,n,i,r,o){k.useCreateElement&&(o=P({},o),o[Y]=n.n
odeType===q?n:n.ownerDocument),o===D&&(o={});var s=n.nodeName.toLowerCase();o[F.
ancestorInfoContextKey]=F.updatedAncestorInfo(null,s,null);var a=N.mountComponen
t(t,e,i,o);t._renderedComponent._topLevelWrapper=t,Z._mountImageIntoNode(a,n,r,i
)}function f(t,e,n,i,r){var o=M.ReactReconcileTransaction.getPooled(i);o.perform
(_,null,t,e,n,o,i,r),M.ReactReconcileTransaction.release(o)}function m(t,e){for(
N.unmountComponent(t),e.nodeType===q&&(e=e.documentElement);e.lastChild;)e.remov
eChild(e.lastChild)}function g(t){var e=r(t);return e?e!==C.getReactRootIDFromNo
deID(e):!1}function b(t){for(;t&&t.parentNode!==t;t=t.parentNode)if(1===t.nodeTy
pe){var e=s(t);if(e){var n,i=C.getReactRootIDFromNodeID(e),r=t;do if(n=s(r),r=r.
parentNode,null==r)return null;while(n!==i);if(r===X[i])return t}}return null}va
r v=t(10),y=t(28),w=t(39),k=t(44),x=t(57),S=t(60),C=t(67),E=t(68),T=t(71),A=t(78
),N=t(84),O=t(95),M=t(96),P=t(24),D=t(154),I=t(150),j=t(132),L=t(161),$=t(138),R
=t(141),F=t(144),z=t(173),B=v.ID_ATTRIBUTE_NAME,H={},U=1,q=9,W=11,Y="__ReactMoun
t_ownerDocument$"+Math.random().toString(36).slice(2),V={},X={},G={},J=[],Q=null
,K=function(){};K.prototype.isReactComponent={},K.displayName="TopLevelWrapper",
K.prototype.render=function(){return this.props};var Z={TopLevelWrapper:K,_insta
ncesByReactRootID:V,scrollMonitor:function(t,e){e()},_updateRootComponent:functi
on(t,e,n,o){return Z.scrollMonitor(n,function(){O.enqueueElementInternal(t,e),o&
&O.enqueueCallbackInternal(t,o)}),G[r(n)]=i(n),t},_registerComponent:function(t,
e){!e||e.nodeType!==U&&e.nodeType!==q&&e.nodeType!==W?L(!1,"_registerComponent(.
..): Target container is not a DOM element."):void 0,y.ensureScrollValueMonitori
ng();var n=Z.registerContainer(e);return V[n]=t,n},_renderNewRootComponent:funct
ion(t,e,n,r){z(null==w.current,"_renderNewRootComponent(): Render methods should
be a pure function of props and state; triggering nested component updates from
render is not allowed. If necessary, trigger nested updates in componentDidUpda
te. Check the render method of %s.",w.current&&w.current.getName()||"ReactCompos
iteComponent");var o=j(t,null),s=Z._registerComponent(o,e);return M.batchedUpdat
es(f,o,s,e,n,r),G[s]=i(e),o},renderSubtreeIntoContainer:function(t,e,n,i){return
null==t||null==t._reactInternalInstance?L(!1,"parentComponent must be a valid R
eact Component"):void 0,Z._renderSubtreeIntoContainer(t,e,n,i)},_renderSubtreeIn
toContainer:function(t,e,n,o){x.isValidElement(e)?void 0:L(!1,"ReactDOM.render()
: Invalid component element.%s","string"==typeof e?" Instead of passing an eleme
nt string, make sure to instantiate it by passing it to React.createElement.":"f
unction"==typeof e?" Instead of passing a component class, make sure to instanti
ate it by passing it to React.createElement.":null!=e&&void 0!==e.props?" This m
ay be caused by unintentionally loading two independent copies of React.":""),z(
!n||!n.tagName||"BODY"!==n.tagName.toUpperCase(),"render(): Rendering components

directly into document.body is discouraged, since its children are often manipu
lated by third-party scripts and browser extensions. This may lead to subtle rec
onciliation issues. Try rendering into a container element created for your app.
");var a=new x(K,null,null,null,null,null,e),c=V[r(n)];if(c){var u=c._currentEle
ment,l=u.props;if(R(l,e)){var d=c._renderedComponent.getPublicInstance(),h=o&&fu
nction(){o.call(d)};return Z._updateRootComponent(c,a,n,h),d}Z.unmountComponentA
tNode(n)}var p=i(n),_=p&&!!s(p),f=g(n);if(z(!f,"render(...): Replacing React-ren
dered children with a new root component. If you intended to update the children
of this node, you should instead have the existing children update their state
and render the new components instead of calling ReactDOM.render."),!_||p.nextSi
bling)for(var m=p;m;){if(s(m)){z(!1,"render(): Target node has markup rendered b
y React, but there are unrelated nodes as well. This is most commonly caused by
white-space inserted around server-rendered markup.");break}m=m.nextSibling}var
b=_&&!c&&!f,v=Z._renderNewRootComponent(a,n,b,null!=t?t._reactInternalInstance._
processChildContext(t._reactInternalInstance._context):D)._renderedComponent.get
PublicInstance();return o&&o.call(v),v},render:function(t,e,n){return Z._renderS
ubtreeIntoContainer(null,t,e,n)},registerContainer:function(t){var e=r(t);return
e&&(e=C.getReactRootIDFromNodeID(e)),e||(e=C.createReactRootID()),X[e]=t,e},unm
ountComponentAtNode:function(t){z(null==w.current,"unmountComponentAtNode(): Ren
der methods should be a pure function of props and state; triggering nested comp
onent updates from render is not allowed. If necessary, trigger nested updates i
n componentDidUpdate. Check the render method of %s.",w.current&&w.current.getNa
me()||"ReactCompositeComponent"),!t||t.nodeType!==U&&t.nodeType!==q&&t.nodeType!
==W?L(!1,"unmountComponentAtNode(...): Target container is not a DOM element."):
void 0;var e=r(t),n=V[e];if(!n){var i=g(t),o=s(t),a=o&&o===C.getReactRootIDFromN
odeID(o);return z(!i,"unmountComponentAtNode(): The node you're attempting to un
mount was rendered by React and is not a top-level container. %s",a?"You may hav
e accidentally passed in a React root node instead of its container.":"Instead,
have the parent component update its state and rerender in order to remove this
component."),!1}return M.batchedUpdates(m,n,t),delete V[e],delete X[e],delete G[
e],!0},findReactContainerForID:function(t){var e=C.getReactRootIDFromNodeID(t),n
=X[e],i=G[e];if(i&&i.parentNode!==n){z(s(i)===e,"ReactMount: Root element ID dif
fered from reactRootID.");var r=n.firstChild;r&&e===s(r)?G[e]=r:z(!1,"ReactMount
: Root element has been removed from its original container. New container: %s",
i.parentNode)}return n},findReactNodeByID:function(t){var e=Z.findReactContainer
ForID(t);return Z.findComponentRoot(e,t)},getFirstReactDOM:function(t){return b(
t)},findComponentRoot:function(t,e){var n=J,i=0,r=p(e)||t;for(z(null!=r,"React c
an't find the root component node for data-reactid value `%s`. If you're seeing
this message, it probably means that you've loaded two copies of React on the pa
ge. At this time, only a single copy of React can be loaded at a time.",e),n[0]=
r.firstChild,n.length=1;i<n.length;){for(var o,s=n[i++];s;){var a=Z.getID(s);a?e
===a?o=s:C.isAncestorIDOf(a,e)&&(n.length=i=0,n.push(s.firstChild)):n.push(s.fir
stChild),s=s.nextSibling}if(o)return n.length=0,o}n.length=0,L(!1,"findComponent
Root(..., %s): Unable to find element. This probably means the DOM was unexpecte
dly mutated (e.g., by the browser), usually due to forgetting a <tbody> when usi
ng tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in a
n <svg> parent. Try inspecting the child nodes of the element with React ID `%s`
.",e,Z.getID(t))},_mountImageIntoNode:function(t,e,r,o){if(!e||e.nodeType!==U&&e
.nodeType!==q&&e.nodeType!==W?L(!1,"mountComponentIntoNode(...): Target containe
r is not valid."):void 0,r){var s=i(e);if(T.canReuseMarkup(t,s))return;var a=s.g
etAttribute(T.CHECKSUM_ATTR_NAME);s.removeAttribute(T.CHECKSUM_ATTR_NAME);var c=
s.outerHTML;s.setAttribute(T.CHECKSUM_ATTR_NAME,a);var u,l=t;e.nodeType===U?(u=d
ocument.createElement("div"),u.innerHTML=t,l=u.innerHTML):(u=document.createElem
ent("iframe"),document.body.appendChild(u),u.contentDocument.write(t),l=u.conten
tDocument.documentElement.outerHTML,document.body.removeChild(u));var d=n(l,c),h
=" (client) "+l.substring(d-20,d+20)+"\n (server) "+c.substring(d-20,d+20);e.nod
eType===q?L(!1,"You're trying to render a component to the document using server
rendering but the checksum was invalid. This usually means you rendered a diffe
rent component type or props on the client from the one on the server, or your r
ender() methods are impure. React cannot handle this case due to cross-browser q

uirks by rendering at the document root. You should look for environment depende
nt code in your components and ensure the props are the same client and server s
ide:\n%s",h):void 0,z(!1,"React attempted to reuse markup in a container but the
checksum was invalid. This generally means that you are using server rendering
and the markup generated on the server was not what the client was expecting. Re
act injected new markup to compensate which works but you have lost many of the
benefits of server rendering. Instead, figure out why the markup being generated
is different on the client or server:\n%s",h)}if(e.nodeType===q?L(!1,"You're tr
ying to render a component to the document but you didn't use server rendering.
We can't do this without using server rendering due to cross-browser quirks. See
ReactDOMServer.renderToString() for server rendering."):void 0,o.useCreateEleme
nt){for(;e.lastChild;)e.removeChild(e.lastChild);e.appendChild(t)}else $(e,t)},o
wnerDocumentContextKey:Y,getReactRootID:r,getID:o,setID:a,getNode:c,getNodeFromI
nstance:u,isValid:l,purgeID:d};A.measureMethods(Z,"ReactMount",{_renderNewRootCo
mponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.
exports=Z},{10:10,132:132,138:138,141:141,144:144,150:150,154:154,161:161,173:17
3,24:24,28:28,39:39,44:44,57:57,60:60,67:67,68:68,71:71,78:78,84:84,95:95,96:96}
],73:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMultiChild
* @typechecks static-only
*/
"use strict";function n(t,e,n){m.push({parentID:t,parentNode:null,type:l.INSERT_
MARKUP,markupIndex:g.push(e)-1,content:null,fromIndex:null,toIndex:n})}function
i(t,e,n){m.push({parentID:t,parentNode:null,type:l.MOVE_EXISTING,markupIndex:nul
l,content:null,fromIndex:e,toIndex:n})}function r(t,e){m.push({parentID:t,parent
Node:null,type:l.REMOVE_NODE,markupIndex:null,content:null,fromIndex:e,toIndex:n
ull})}function o(t,e){m.push({parentID:t,parentNode:null,type:l.SET_MARKUP,marku
pIndex:null,content:e,fromIndex:null,toIndex:null})}function s(t,e){m.push({pare
ntID:t,parentNode:null,type:l.TEXT_CONTENT,markupIndex:null,content:e,fromIndex:
null,toIndex:null})}function a(){m.length&&(u.processChildrenUpdates(m,g),c())}f
unction c(){m.length=0,g.length=0}var u=t(36),l=t(74),d=t(39),h=t(84),p=t(31),_=
t(123),f=0,m=[],g=[],b={Mixin:{_reconcilerInstantiateChildren:function(t,e,n){if
(this._currentElement)try{return d.current=this._currentElement._owner,p.instant
iateChildren(t,e,n)}finally{d.current=null}return p.instantiateChildren(t,e,n)},
_reconcilerUpdateChildren:function(t,e,n,i){var r;if(this._currentElement){try{d
.current=this._currentElement._owner,r=_(e)}finally{d.current=null}return p.upda
teChildren(t,r,n,i)}return r=_(e),p.updateChildren(t,r,n,i)},mountChildren:funct
ion(t,e,n){var i=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildr
en=i;var r=[],o=0;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s],c=this._root
NodeID+s,u=h.mountComponent(a,c,e,n);a._mountIndex=o++,r.push(u)}return r},updat
eTextContent:function(t){f++;var e=!0;try{var n=this._renderedChildren;p.unmount
Children(n);for(var i in n)n.hasOwnProperty(i)&&this._unmountChild(n[i]);this.se
tTextContent(t),e=!1}finally{f--,f||(e?c():a())}},updateMarkup:function(t){f++;v
ar e=!0;try{var n=this._renderedChildren;p.unmountChildren(n);for(var i in n)n.h
asOwnProperty(i)&&this._unmountChildByName(n[i],i);this.setMarkup(t),e=!1}finall
y{f--,f||(e?c():a())}},updateChildren:function(t,e,n){f++;var i=!0;try{this._upd
ateChildren(t,e,n),i=!1}finally{f--,f||(i?c():a())}},_updateChildren:function(t,
e,n){var i=this._renderedChildren,r=this._reconcilerUpdateChildren(i,t,e,n);if(t
his._renderedChildren=r,r||i){var o,s=0,a=0;for(o in r)if(r.hasOwnProperty(o)){v
ar c=i&&i[o],u=r[o];c===u?(this.moveChild(c,a,s),s=Math.max(c._mountIndex,s),c._
mountIndex=a):(c&&(s=Math.max(c._mountIndex,s),this._unmountChild(c)),this._moun
tChildByNameAtIndex(u,o,a,e,n)),a++}for(o in i)!i.hasOwnProperty(o)||r&&r.hasOwn
Property(o)||this._unmountChild(i[o])}},unmountChildren:function(){var t=this._r

enderedChildren;p.unmountChildren(t),this._renderedChildren=null},moveChild:func
tion(t,e,n){t._mountIndex<n&&i(this._rootNodeID,t._mountIndex,e)},createChild:fu
nction(t,e){n(this._rootNodeID,e,t._mountIndex)},removeChild:function(t){r(this.
_rootNodeID,t._mountIndex)},setTextContent:function(t){s(this._rootNodeID,t)},se
tMarkup:function(t){o(this._rootNodeID,t)},_mountChildByNameAtIndex:function(t,e
,n,i,r){var o=this._rootNodeID+e,s=h.mountComponent(t,o,i,r);t._mountIndex=n,thi
s.createChild(t,s)},_unmountChild:function(t){this.removeChild(t),t._mountIndex=
null}}};e.exports=b},{123:123,31:31,36:36,39:39,74:74,84:84}],74:[function(t,e){
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactMultiChildUpdateTypes
*/
"use strict";var n=t(165),i=n({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE
:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=i},{165:165}],75:[function(t
,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactNativeComponent
*/
"use strict";function n(t){if("function"==typeof t.type)return t.type;var e=t.ty
pe,n=l[e];return null==n&&(l[e]=n=c(e)),n}function i(t){return u?void 0:a(!1,"Th
ere is no registered component for the tag %s",t.type),new u(t.type,t.props)}fun
ction r(t){return new d(t)}function o(t){return t instanceof d}var s=t(24),a=t(1
61),c=null,u=null,l={},d=null,h={injectGenericComponentClass:function(t){u=t},in
jectTextComponentClass:function(t){d=t},injectComponentClasses:function(t){s(l,t
)}},p={getComponentClassForElement:n,createInternalComponent:i,createInstanceFor
Text:r,isTextComponent:o,injection:h};e.exports=p},{161:161,24:24}],76:[function
(t,e){/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactNoopUpdateQueue
*/
"use strict";function n(t,e){i(!1,"%s(...): Can only update a mounted or mountin
g component. This usually means you called %s() on an unmounted component. This
is a no-op. Please check the code for the %s component.",e,e,t.constructor&&t.co
nstructor.displayName||"")}var i=t(173),r={isMounted:function(){return!1},enqueu
eCallback:function(){},enqueueForceUpdate:function(t){n(t,"forceUpdate")},enqueu
eReplaceState:function(t){n(t,"replaceState")},enqueueSetState:function(t){n(t,"
setState")},enqueueSetProps:function(t){n(t,"setProps")},enqueueReplaceProps:fun
ction(t){n(t,"replaceProps")}};e.exports=r},{173:173}],77:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactOwner
*/
"use strict";var n=t(161),i={isValidOwner:function(t){return!(!t||"function"!=ty
peof t.attachRef||"function"!=typeof t.detachRef)},addComponentAsRefTo:function(
t,e,r){i.isValidOwner(r)?void 0:n(!1,"addComponentAsRefTo(...): Only a ReactOwne
r can have refs. You might be adding a ref to a component that was not created i
nside a component's `render` method, or you have multiple copies of React loaded
(details: https://fb.me/react-refs-must-have-owner)."),r.attachRef(e,t)},remove
ComponentAsRefFrom:function(t,e,r){i.isValidOwner(r)?void 0:n(!1,"removeComponen
tAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to
a component that was not created inside a component's `render` method, or you h
ave multiple copies of React loaded (details: https://fb.me/react-refs-must-have
-owner)."),r.getPublicInstance().refs[e]===t.getPublicInstance()&&r.detachRef(e)
}};e.exports=i},{161:161}],78:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPerf
* @typechecks static-only
*/
"use strict";function n(t,e,n){return n}var i={enableMeasure:!1,storedMeasure:n,
measureMethods:function(t,e,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=i.measu
re(e,n[r],t[r]))},measure:function(t,e,n){var r=null,o=function(){return i.enabl
eMeasure?(r||(r=i.storedMeasure(t,e,n)),r.apply(this,arguments)):n.apply(this,ar
guments)};return o.displayName=t+"_"+e,o},injection:{injectMeasure:function(t){i
.storedMeasure=t}}};e.exports=i},{}],79:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTransferer
*/
"use strict";function n(t){return function(e,n,i){e[n]=e.hasOwnProperty(n)?t(e[n
],i):i}}function i(t,e){for(var n in e)if(e.hasOwnProperty(n)){var i=c[n];i&&c.h
asOwnProperty(n)?i(t,n,e[n]):t.hasOwnProperty(n)||(t[n]=e[n])}return t}var r=t(2
4),o=t(153),s=t(164),a=n(function(t,e){return r({},e,t)}),c={children:o,classNam
e:n(s),style:a},u={mergeProps:function(t,e){return i(r({},t),e)}};e.exports=u},{
153:153,164:164,24:24}],80:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypeLocationNames
*/
"use strict";var n={};n={prop:"prop",context:"context",childContext:"child conte
xt"},e.exports=n},{}],81:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.

* All rights reserved.


*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypeLocations
*/
"use strict";var n=t(165),i=n({prop:null,context:null,childContext:null});e.expo
rts=i},{165:165}],82:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactPropTypes
*/
"use strict";function n(t){function e(e,n,i,r,o,s){if(r=r||w,s=s||i,null==n[i]){
var a=b[o];return e?new Error("Required "+a+" `"+s+"` was not specified in "+("`
"+r+"`.")):null}return t(n,i,r,o,s)}var n=e.bind(null,!1);return n.isRequired=e.
bind(null,!0),n}function i(t){function e(e,n,i,r,o){var s=e[n],a=_(s);if(a!==t){
var c=b[r],u=f(s);return new Error("Invalid "+c+" `"+o+"` of type "+("`"+u+"` su
pplied to `"+i+"`, expected ")+("`"+t+"`."))}return null}return n(e)}function r(
){return n(v.thatReturns(null))}function o(t){function e(e,n,i,r,o){var s=e[n];i
f(!Array.isArray(s)){var a=b[r],c=_(s);return new Error("Invalid "+a+" `"+o+"` o
f type "+("`"+c+"` supplied to `"+i+"`, expected an array."))}for(var u=0;u<s.le
ngth;u++){var l=t(s,u,i,r,o+"["+u+"]");if(l instanceof Error)return l}return nul
l}return n(e)}function s(){function t(t,e,n,i,r){if(!g.isValidElement(t[e])){var
o=b[i];return new Error("Invalid "+o+" `"+r+"` supplied to "+("`"+n+"`, expecte
d a single ReactElement."))}return null}return n(t)}function a(t){function e(e,n
,i,r,o){if(!(e[n]instanceof t)){var s=b[r],a=t.name||w,c=m(e[n]);return new Erro
r("Invalid "+s+" `"+o+"` of type "+("`"+c+"` supplied to `"+i+"`, expected ")+("
instance of `"+a+"`."))}return null}return n(e)}function c(t){function e(e,n,i,r
,o){for(var s=e[n],a=0;a<t.length;a++)if(s===t[a])return null;var c=b[r],u=JSON.
stringify(t);return new Error("Invalid "+c+" `"+o+"` of value `"+s+"` "+("suppli
ed to `"+i+"`, expected one of "+u+"."))}return n(Array.isArray(t)?e:function(){
return new Error("Invalid argument supplied to oneOf, expected an instance of ar
ray.")})}function u(t){function e(e,n,i,r,o){var s=e[n],a=_(s);if("object"!==a){
var c=b[r];return new Error("Invalid "+c+" `"+o+"` of type "+("`"+a+"` supplied
to `"+i+"`, expected an object."))}for(var u in s)if(s.hasOwnProperty(u)){var l=
t(s,u,i,r,o+"."+u);if(l instanceof Error)return l}return null}return n(e)}functi
on l(t){function e(e,n,i,r,o){for(var s=0;s<t.length;s++){var a=t[s];if(null==a(
e,n,i,r,o))return null}var c=b[r];return new Error("Invalid "+c+" `"+o+"` suppli
ed to "+("`"+i+"`."))}return n(Array.isArray(t)?e:function(){return new Error("I
nvalid argument supplied to oneOfType, expected an instance of array.")})}functi
on d(){function t(t,e,n,i,r){if(!p(t[e])){var o=b[i];return new Error("Invalid "
+o+" `"+r+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}retur
n n(t)}function h(t){function e(e,n,i,r,o){var s=e[n],a=_(s);if("object"!==a){va
r c=b[r];return new Error("Invalid "+c+" `"+o+"` of type `"+a+"` "+("supplied to
`"+i+"`, expected `object`."))}for(var u in t){var l=t[u];if(l){var d=l(s,u,i,r
,o+"."+u);if(d)return d}}return null}return n(e)}function p(t){switch(typeof t){
case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"o
bject":if(Array.isArray(t))return t.every(p);if(null===t||g.isValidElement(t))re
turn!0;var e=y(t);if(!e)return!1;var n,i=e.call(t);if(e!==t.entries){for(;!(n=i.
next()).done;)if(!p(n.value))return!1}else for(;!(n=i.next()).done;){var r=n.val
ue;if(r&&!p(r[1]))return!1}return!0;default:return!1}}function _(t){var e=typeof
t;return Array.isArray(t)?"array":t instanceof RegExp?"object":e}function f(t){
var e=_(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof Re

gExp)return"regexp"}return e}function m(t){return t.constructor&&t.constructor.n


ame?t.constructor.name:"<<anonymous>>"}var g=t(57),b=t(80),v=t(153),y=t(129),w="
<<anonymous>>",k={array:i("array"),bool:i("boolean"),func:i("function"),number:i
("number"),object:i("object"),string:i("string"),any:r(),arrayOf:o,element:s(),i
nstanceOf:a,node:d(),objectOf:u,oneOf:c,oneOfType:l,shape:h};e.exports=k},{129:1
29,153:153,57:57,80:80}],83:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactReconcileTransaction
* @typechecks static-only
*/
"use strict";function n(t){this.reinitializeTransaction(),this.renderToStaticMar
kup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=!t&&s.useCre
ateElement}var i=t(6),r=t(25),o=t(28),s=t(44),a=t(66),c=t(113),u=t(24),l={initia
lize:a.getSelectionInformation,close:a.restoreSelection},d={initialize:function(
){var t=o.isEnabled();return o.setEnabled(!1),t},close:function(t){o.setEnabled(
t)}},h={initialize:function(){this.reactMountReady.reset()},close:function(){thi
s.reactMountReady.notifyAll()}},p=[l,d,h],_={getTransactionWrappers:function(){r
eturn p},getReactMountReady:function(){return this.reactMountReady},destructor:f
unction(){i.release(this.reactMountReady),this.reactMountReady=null}};u(n.protot
ype,c.Mixin,_),r.addPoolingTo(n),e.exports=n},{113:113,24:24,25:25,28:28,44:44,6
:6,66:66}],84:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactReconciler
*/
"use strict";function n(){i.attachRefs(this,this._currentElement)}var i=t(85),r=
{mountComponent:function(t,e,i,r){var o=t.mountComponent(e,i,r);return t._curren
tElement&&null!=t._currentElement.ref&&i.getReactMountReady().enqueue(n,t),o},un
mountComponent:function(t){i.detachRefs(t,t._currentElement),t.unmountComponent(
)},receiveComponent:function(t,e,r,o){var s=t._currentElement;if(e!==s||o!==t._c
ontext){var a=i.shouldUpdateRefs(s,e);a&&i.detachRefs(t,s),t.receiveComponent(e,
r,o),a&&t._currentElement&&null!=t._currentElement.ref&&r.getReactMountReady().e
nqueue(n,t)}},performUpdateIfNecessary:function(t,e){t.performUpdateIfNecessary(
e)}};e.exports=r},{85:85}],85:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactRef
*/
"use strict";function n(t,e,n){"function"==typeof t?t(e.getPublicInstance()):r.a
ddComponentAsRefTo(e,t,n)}function i(t,e,n){"function"==typeof t?t(null):r.remov
eComponentAsRefFrom(e,t,n)}var r=t(77),o={};o.attachRefs=function(t,e){if(null!=
=e&&e!==!1){var i=e.ref;null!=i&&n(i,t,e._owner)}},o.shouldUpdateRefs=function(t
,e){var n=null===t||t===!1,i=null===e||e===!1;return n||i||e._owner!==t._owner||
e.ref!==t.ref},o.detachRefs=function(t,e){if(null!==e&&e!==!1){var n=e.ref;null!

=n&&i(n,t,e._owner)}},e.exports=o},{77:77}],86:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactRootIndex
* @typechecks
*/
"use strict";var n={injectCreateReactRootIndex:function(t){i.createReactRootInde
x=t}},i={createReactRootIndex:null,injection:n};e.exports=i},{}],87:[function(t,
e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactServerBatchingStrategy
* @typechecks
*/
"use strict";var n={isBatchingUpdates:!1,batchedUpdates:function(){}};e.exports=
n},{}],88:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks static-only
* @providesModule ReactServerRendering
*/
"use strict";function n(t){o.isValidElement(t)?void 0:p(!1,"renderToString(): Yo
u must pass a valid ReactElement.");var e;try{l.injection.injectBatchingStrategy
(c);var n=s.createReactRootID();return e=u.getPooled(!1),e.perform(function(){va
r i=h(t,null),r=i.mountComponent(n,e,d);return a.addChecksumToMarkup(r)},null)}f
inally{u.release(e),l.injection.injectBatchingStrategy(r)}}function i(t){o.isVal
idElement(t)?void 0:p(!1,"renderToStaticMarkup(): You must pass a valid ReactEle
ment.");var e;try{l.injection.injectBatchingStrategy(c);var n=s.createReactRootI
D();return e=u.getPooled(!0),e.perform(function(){var i=h(t,null);return i.mount
Component(n,e,d)},null)}finally{u.release(e),l.injection.injectBatchingStrategy(
r)}}var r=t(53),o=t(57),s=t(67),a=t(71),c=t(87),u=t(89),l=t(96),d=t(154),h=t(132
),p=t(161);e.exports={renderToString:n,renderToStaticMarkup:i}},{132:132,154:154
,161:161,53:53,57:57,67:67,71:71,87:87,89:89,96:96}],89:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactServerRenderingTransaction
* @typechecks
*/
"use strict";function n(t){this.reinitializeTransaction(),this.renderToStaticMar
kup=t,this.reactMountReady=r.getPooled(null),this.useCreateElement=!1}var i=t(25

),r=t(6),o=t(113),s=t(24),a=t(153),c={initialize:function(){this.reactMountReady
.reset()},close:a},u=[c],l={getTransactionWrappers:function(){return u},getReact
MountReady:function(){return this.reactMountReady},destructor:function(){r.relea
se(this.reactMountReady),this.reactMountReady=null}};s(n.prototype,o.Mixin,l),i.
addPoolingTo(n),e.exports=n},{113:113,153:153,24:24,25:25,6:6}],90:[function(t,e
){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactStateSetters
*/
"use strict";function n(t,e){var n={};return function(i){n[e]=i,t.setState(n)}}v
ar i={createStateSetter:function(t,e){return function(n,i,r,o,s,a){var c=e.call(
t,n,i,r,o,s,a);c&&t.setState(c)}},createStateKeySetter:function(t,e){var i=t.__k
eySetters||(t.__keySetters={});return i[e]||(i[e]=n(t,e))}};i.Mixin={createState
Setter:function(t){return i.createStateSetter(this,t)},createStateKeySetter:func
tion(t){return i.createStateKeySetter(this,t)}},e.exports=i},{}],91:[function(t,
e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactTestUtils
*/
"use strict";function n(){}function i(t,e){if(!t||!t.getPublicInstance)return[];
var n=t.getPublicInstance(),r=e(n)?[n]:[],o=t._currentElement;if(C.isDOMComponen
t(n)){var s,a=t._renderedChildren;for(s in a)a.hasOwnProperty(s)&&(r=r.concat(i(
a[s],e)))}else h.isValidElement(o)&&"function"==typeof o.type&&(r=r.concat(i(t._
renderedComponent,e)));return r}function r(t){return function(e,i){var r;C.isDOM
Component(e)?r=k(e):e.tagName&&(r=e);var o=p.eventNameDispatchConfigs[t],s=new n
;s.target=r;var a=new v(o,g.getID(r),s,r);y(a,i),o.phasedRegistrationNames?u.acc
umulateTwoPhaseDispatches(a):u.accumulateDirectDispatches(a),b.batchedUpdates(fu
nction(){c.enqueueEvents(a),c.processEventQueue(!0)})}}function o(){C.Simulate={
};var t;for(t in p.eventNameDispatchConfigs)C.Simulate[t]=r(t)}function s(t){ret
urn function(e,i){var r=new n(t);y(r,i),C.isDOMComponent(e)?C.simulateNativeEven
tOnDOMComponent(t,e,r):e.tagName&&C.simulateNativeEventOnNode(t,e,r)}}var a=t(15
),c=t(16),u=t(19),l=t(26),d=t(40),h=t(57),p=t(28),_=t(38),f=t(67),m=t(68),g=t(72
),b=t(96),v=t(105),y=t(24),w=t(154),k=t(122),x=t(161),S=a.topLevelTypes,C={rende
rIntoDocument:function(t){var e=document.createElement("div");return d.render(t,
e)},isElement:function(t){return h.isValidElement(t)},isElementOfType:function(t
,e){return h.isValidElement(t)&&t.type===e},isDOMComponent:function(t){return!(!
t||1!==t.nodeType||!t.tagName)},isDOMComponentElement:function(t){return!!(t&&h.
isValidElement(t)&&t.tagName)},isCompositeComponent:function(t){return C.isDOMCo
mponent(t)?!1:null!=t&&"function"==typeof t.render&&"function"==typeof t.setStat
e},isCompositeComponentWithType:function(t,e){if(!C.isCompositeComponent(t))retu
rn!1;var n=m.get(t),i=n._currentElement.type;return i===e},isCompositeComponentE
lement:function(t){if(!h.isValidElement(t))return!1;var e=t.type.prototype;retur
n"function"==typeof e.render&&"function"==typeof e.setState},isCompositeComponen
tElementWithType:function(t,e){var n=m.get(t),i=n._currentElement.type;return!(!
C.isCompositeComponentElement(t)||i!==e)},getRenderedChildOfCompositeComponent:f
unction(t){if(!C.isCompositeComponent(t))return null;var e=m.get(t);return e._re
nderedComponent.getPublicInstance()},findAllInRenderedTree:function(t,e){return
t?(C.isCompositeComponent(t)?void 0:x(!1,"findAllInRenderedTree(...): instance m

ust be a composite component"),i(m.get(t),e)):[]},scryRenderedDOMComponentsWithC


lass:function(t,e){return Array.isArray(e)||(e=e.split(/\s+/)),C.findAllInRender
edTree(t,function(t){if(C.isDOMComponent(t)){var n=t.className;"string"!=typeof
n&&(n=t.getAttribute("class")||"");var i=n.split(/\s+/);return e.every(function(
t){return-1!==i.indexOf(t)})}return!1})},findRenderedDOMComponentWithClass:funct
ion(t,e){var n=C.scryRenderedDOMComponentsWithClass(t,e);if(1!==n.length)throw n
ew Error("Did not find exactly one match (found: "+n.length+") for class:"+e);re
turn n[0]},scryRenderedDOMComponentsWithTag:function(t,e){return C.findAllInRend
eredTree(t,function(t){return C.isDOMComponent(t)&&t.tagName.toUpperCase()===e.t
oUpperCase()})},findRenderedDOMComponentWithTag:function(t,e){var n=C.scryRender
edDOMComponentsWithTag(t,e);if(1!==n.length)throw new Error("Did not find exactl
y one match for tag:"+e);return n[0]},scryRenderedComponentsWithType:function(t,
e){return C.findAllInRenderedTree(t,function(t){return C.isCompositeComponentWit
hType(t,e)})},findRenderedComponentWithType:function(t,e){var n=C.scryRenderedCo
mponentsWithType(t,e);if(1!==n.length)throw new Error("Did not find exactly one
match for componentType:"+e+" (found "+n.length+")");return n[0]},mockComponent:
function(t,e){return e=e||t.mockTagName||"div",t.prototype.render.mockImplementa
tion(function(){return l.createElement(e,null,this.props.children)}),this},simul
ateNativeEventOnNode:function(t,e,n){n.target=e,p.ReactEventListener.dispatchEve
nt(t,n)},simulateNativeEventOnDOMComponent:function(t,e,n){C.simulateNativeEvent
OnNode(t,k(e),n)},nativeTouchData:function(t,e){return{touches:[{pageX:t,pageY:e
}]}},createRenderer:function(){return new E},Simulate:null,SimulateNative:{}},E=
function(){this._instance=null};E.prototype.getRenderOutput=function(){return th
is._instance&&this._instance._renderedComponent&&this._instance._renderedCompone
nt._renderedOutput||null};var T=function(t){this._renderedOutput=t,this._current
Element=t};T.prototype={mountComponent:function(){},receiveComponent:function(t)
{this._renderedOutput=t,this._currentElement=t},unmountComponent:function(){},ge
tPublicInstance:function(){return null}};var A=function(){};y(A.prototype,_.Mixi
n,{_instantiateReactComponent:function(t){return new T(t)},_replaceNodeWithMarku
pByID:function(){},_renderValidatedComponent:_.Mixin._renderValidatedComponentWi
thoutOwnerOrContext}),E.prototype.render=function(t,e){h.isValidElement(t)?void
0:x(!1,"ReactShallowRenderer render(): Invalid component element.%s","function"=
=typeof t?" Instead of passing a component class, make sure to instantiate it by
passing it to React.createElement.":""),"string"==typeof t.type?x(!1,"ReactShal
lowRenderer render(): Shallow rendering works only with custom components, not p
rimitives (%s). Instead of calling `.render(el)` and inspecting the rendered out
put, look at `el.props` directly instead.",t.type):void 0,e||(e=w);var n=b.React
ReconcileTransaction.getPooled(!1);this._render(t,n,e),b.ReactReconcileTransacti
on.release(n)},E.prototype.unmount=function(){this._instance&&this._instance.unm
ountComponent()},E.prototype._render=function(t,e,n){if(this._instance)this._ins
tance.receiveComponent(t,e,n);else{var i=f.createReactRootID(),r=new A(t.type);r
.construct(t),r.mountComponent(i,e,n),this._instance=r}};var N=c.injection.injec
tEventPluginOrder;c.injection.injectEventPluginOrder=function(){N.apply(this,arg
uments),o()};var O=c.injection.injectEventPluginsByName;c.injection.injectEventP
luginsByName=function(){O.apply(this,arguments),o()},o(),Object.keys(S).forEach(
function(t){var e=0===t.indexOf("top")?t.charAt(3).toLowerCase()+t.substr(4):t;C
.SimulateNative[e]=s(t)}),e.exports=C},{105:105,122:122,15:15,154:154,16:16,161:
161,19:19,24:24,26:26,28:28,38:38,40:40,57:57,67:67,68:68,72:72,96:96}],92:[func
tion(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks static-only
* @providesModule ReactTransitionChildMapping
*/
"use strict";var n=t(123),i={getChildMapping:function(t){return t?n(t):t},mergeC

hildMappings:function(t,e){function n(n){return e.hasOwnProperty(n)?e[n]:t[n]}t=


t||{},e=e||{};var i={},r=[];for(var o in t)e.hasOwnProperty(o)?r.length&&(i[o]=r
,r=[]):r.push(o);var s,a={};for(var c in e){if(i.hasOwnProperty(c))for(s=0;s<i[c
].length;s++){var u=i[c][s];a[i[c][s]]=n(u)}a[c]=n(c)}for(s=0;s<r.length;s++)a[r
[s]]=n(r[s]);return a}};e.exports=i},{123:123}],93:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactTransitionEvents
*/
"use strict";function n(){var t=document.createElement("div"),e=t.style;"Animati
onEvent"in window||delete s.animationend.animation,"TransitionEvent"in window||d
elete s.transitionend.transition;for(var n in s){var i=s[n];for(var r in i)if(r
in e){a.push(i[r]);break}}}function i(t,e,n){t.addEventListener(e,n,!1)}function
r(t,e,n){t.removeEventListener(e,n,!1)}var o=t(147),s={transitionend:{transitio
n:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTrans
itionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animation
end:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:
"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},a=[]
;o.canUseDOM&&n();var c={addEndEventListener:function(t,e){return 0===a.length?v
oid window.setTimeout(e,0):void a.forEach(function(n){i(t,n,e)})},removeEndEvent
Listener:function(t,e){0!==a.length&&a.forEach(function(n){r(t,n,e)})}};e.export
s=c},{147:147}],94:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactTransitionGroup
*/
"use strict";var n=t(26),i=t(92),r=t(24),o=t(153),s=n.createClass({displayName:"
ReactTransitionGroup",propTypes:{component:n.PropTypes.any,childFactory:n.PropTy
pes.func},getDefaultProps:function(){return{component:"span",childFactory:o.that
ReturnsArgument}},getInitialState:function(){return{children:i.getChildMapping(t
his.props.children)}},componentWillMount:function(){this.currentlyTransitioningK
eys={},this.keysToEnter=[],this.keysToLeave=[]},componentDidMount:function(){var
t=this.state.children;for(var e in t)t[e]&&this.performAppear(e)},componentWill
ReceiveProps:function(t){var e=i.getChildMapping(t.children),n=this.state.childr
en;this.setState({children:i.mergeChildMappings(n,e)});var r;for(r in e){var o=n
&&n.hasOwnProperty(r);!e[r]||o||this.currentlyTransitioningKeys[r]||this.keysToE
nter.push(r)}for(r in n){var s=e&&e.hasOwnProperty(r);!n[r]||s||this.currentlyTr
ansitioningKeys[r]||this.keysToLeave.push(r)}},componentDidUpdate:function(){var
t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var e=this.
keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)},performAppear:func
tion(t){this.currentlyTransitioningKeys[t]=!0;var e=this.refs[t];e.componentWill
Appear?e.componentWillAppear(this._handleDoneAppearing.bind(this,t)):this._handl
eDoneAppearing(t)},_handleDoneAppearing:function(t){var e=this.refs[t];e.compone
ntDidAppear&&e.componentDidAppear(),delete this.currentlyTransitioningKeys[t];va
r n=i.getChildMapping(this.props.children);n&&n.hasOwnProperty(t)||this.performL
eave(t)},performEnter:function(t){this.currentlyTransitioningKeys[t]=!0;var e=th
is.refs[t];e.componentWillEnter?e.componentWillEnter(this._handleDoneEntering.bi
nd(this,t)):this._handleDoneEntering(t)},_handleDoneEntering:function(t){var e=t
his.refs[t];e.componentDidEnter&&e.componentDidEnter(),delete this.currentlyTran
sitioningKeys[t];var n=i.getChildMapping(this.props.children);n&&n.hasOwnPropert

y(t)||this.performLeave(t)},performLeave:function(t){this.currentlyTransitioning
Keys[t]=!0;var e=this.refs[t];e.componentWillLeave?e.componentWillLeave(this._ha
ndleDoneLeaving.bind(this,t)):this._handleDoneLeaving(t)},_handleDoneLeaving:fun
ction(t){var e=this.refs[t];e.componentDidLeave&&e.componentDidLeave(),delete th
is.currentlyTransitioningKeys[t];var n=i.getChildMapping(this.props.children);n&
&n.hasOwnProperty(t)?this.performEnter(t):this.setState(function(e){var n=r({},e
.children);return delete n[t],{children:n}})},render:function(){var t=[];for(var
e in this.state.children){var i=this.state.children[e];i&&t.push(n.cloneElement
(this.props.childFactory(i),{ref:e,key:e}))}return n.createElement(this.props.co
mponent,this.props,t)}});e.exports=s},{153:153,24:24,26:26,92:92}],95:[function(
t,e){/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactUpdateQueue
*/
"use strict";function n(t){a.enqueueUpdate(t)}function i(t,e){var n=s.get(t);ret
urn n?(l(null==r.current,"%s(...): Cannot update during an existing state transi
tion (such as within `render`). Render methods should be a pure function of prop
s and state.",e),n):(l(!e,"%s(...): Can only update a mounted or mounting compon
ent. This usually means you called %s() on an unmounted component. This is a noop. Please check the code for the %s component.",e,e,t.constructor.displayName),
null)}var r=t(39),o=t(57),s=t(68),a=t(96),c=t(24),u=t(161),l=t(173),d={isMounted
:function(t){var e=r.current;null!==e&&(l(e._warnedAboutRefsInRender,"%s is acce
ssing isMounted inside its render() function. render() should be a pure function
of props and state. It should never access something that requires stale data f
rom the previous render, such as refs. Move this logic to componentDidMount and
componentDidUpdate instead.",e.getName()||"A component"),e._warnedAboutRefsInRen
der=!0);var n=s.get(t);return n?!!n._renderedComponent:!1},enqueueCallback:funct
ion(t,e){"function"!=typeof e?u(!1,"enqueueCallback(...): You called `setProps`,
`replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback th
at isn't callable."):void 0;var r=i(t);return r?(r._pendingCallbacks?r._pendingC
allbacks.push(e):r._pendingCallbacks=[e],void n(r)):null},enqueueCallbackInterna
l:function(t,e){"function"!=typeof e?u(!1,"enqueueCallback(...): You called `set
Props`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a call
back that isn't callable."):void 0,t._pendingCallbacks?t._pendingCallbacks.push(
e):t._pendingCallbacks=[e],n(t)},enqueueForceUpdate:function(t){var e=i(t,"force
Update");e&&(e._pendingForceUpdate=!0,n(e))},enqueueReplaceState:function(t,e){v
ar r=i(t,"replaceState");r&&(r._pendingStateQueue=[e],r._pendingReplaceState=!0,
n(r))},enqueueSetState:function(t,e){var r=i(t,"setState");if(r){var o=r._pendin
gStateQueue||(r._pendingStateQueue=[]);o.push(e),n(r)}},enqueueSetProps:function
(t,e){var n=i(t,"setProps");n&&d.enqueueSetPropsInternal(n,e)},enqueueSetPropsIn
ternal:function(t,e){var i=t._topLevelWrapper;i?void 0:u(!1,"setProps(...): You
called `setProps` on a component with a parent. This is an anti-pattern since pr
ops will get reactively updated when rendered. Instead, change the owner's `rend
er` method to pass the correct value as props to the component where it is creat
ed.");var r=i._pendingElement||i._currentElement,s=r.props,a=c({},s.props,e);i._
pendingElement=o.cloneAndReplaceProps(r,o.cloneAndReplaceProps(s,a)),n(i)},enque
ueReplaceProps:function(t,e){var n=i(t,"replaceProps");n&&d.enqueueReplacePropsI
nternal(n,e)},enqueueReplacePropsInternal:function(t,e){var i=t._topLevelWrapper
;i?void 0:u(!1,"replaceProps(...): You called `replaceProps` on a component with
a parent. This is an anti-pattern since props will get reactively updated when
rendered. Instead, change the owner's `render` method to pass the correct value
as props to the component where it is created.");var r=i._pendingElement||i._cur
rentElement,s=r.props;i._pendingElement=o.cloneAndReplaceProps(r,o.cloneAndRepla
ceProps(s,e)),n(i)},enqueueElementInternal:function(t,e){t._pendingElement=e,n(t

)}};e.exports=d},{161:161,173:173,24:24,39:39,57:57,68:68,96:96}],96:[function(t
,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactUpdates
*/
"use strict";function n(){C.ReactReconcileTransaction&&v?void 0:f(!1,"ReactUpdat
es: must inject a reconcile transaction class and batching strategy")}function i
(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQ
ueue=u.getPooled(),this.reconcileTransaction=C.ReactReconcileTransaction.getPool
ed(!1)}function r(t,e,i,r,o,s){n(),v.batchedUpdates(t,e,i,r,o,s)}function o(t,e)
{return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;
e!==m.length?f(!1,"Expected flush transaction's stored dirty-components length (
%s) to match dirty-components array length (%s).",e,m.length):void 0,m.sort(o);f
or(var n=0;e>n;n++){var i=m[n],r=i._pendingCallbacks;if(i._pendingCallbacks=null
,h.performUpdateIfNecessary(i,t.reconcileTransaction),r)for(var s=0;s<r.length;s
++)t.callbackQueue.enqueue(r[s],i.getPublicInstance())}}function a(t){return n()
,v.isBatchingUpdates?void m.push(t):void v.batchedUpdates(a,t)}function c(t,e){v
.isBatchingUpdates?void 0:f(!1,"ReactUpdates.asap: Can't enqueue an asap callbac
k in a context whereupdates are not being batched."),g.enqueue(t,e),b=!0}var u=t
(6),l=t(25),d=t(78),h=t(84),p=t(113),_=t(24),f=t(161),m=[],g=u.getPooled(),b=!1,
v=null,y={initialize:function(){this.dirtyComponentsLength=m.length},close:funct
ion(){this.dirtyComponentsLength!==m.length?(m.splice(0,this.dirtyComponentsLeng
th),x()):m.length=0}},w={initialize:function(){this.callbackQueue.reset()},close
:function(){this.callbackQueue.notifyAll()}},k=[y,w];_(i.prototype,p.Mixin,{getT
ransactionWrappers:function(){return k},destructor:function(){this.dirtyComponen
tsLength=null,u.release(this.callbackQueue),this.callbackQueue=null,C.ReactRecon
cileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=nul
l},perform:function(t,e,n){return p.Mixin.perform.call(this,this.reconcileTransa
ction.perform,this.reconcileTransaction,t,e,n)}}),l.addPoolingTo(i);var x=functi
on(){for(;m.length||b;){if(m.length){var t=i.getPooled();t.perform(s,null,t),i.r
elease(t)}if(b){b=!1;var e=g;g=u.getPooled(),e.notifyAll(),u.release(e)}}};x=d.m
easure("ReactUpdates","flushBatchedUpdates",x);var S={injectReconcileTransaction
:function(t){t?void 0:f(!1,"ReactUpdates: must provide a reconcile transaction c
lass"),C.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t?void
0:f(!1,"ReactUpdates: must provide a batching strategy"),"function"!=typeof t.ba
tchedUpdates?f(!1,"ReactUpdates: must provide a batchedUpdates() function"):void
0,"boolean"!=typeof t.isBatchingUpdates?f(!1,"ReactUpdates: must provide an isB
atchingUpdates boolean attribute"):void 0,v=t}},C={ReactReconcileTransaction:nul
l,batchedUpdates:r,enqueueUpdate:a,flushBatchedUpdates:x,injection:S,asap:c};e.e
xports=C},{113:113,161:161,24:24,25:25,6:6,78:78,84:84}],97:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactVersion
*/
"use strict";e.exports="0.14.6"},{}],98:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SVGDOMPropertyConfig
*/
"use strict";var n=t(10),i=n.injection.MUST_USE_ATTRIBUTE,r={xlink:"http://www.w
3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={Properties:{cli
pPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:
i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i
,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspect
Ratio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDa
sharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i
,version:i,viewBox:i,x1:i,x2:i,x:i,xlinkActuate:i,xlinkArcrole:i,xlinkHref:i,xli
nkRole:i,xlinkShow:i,xlinkTitle:i,xlinkType:i,xmlBase:i,xmlLang:i,xmlSpace:i,y1:
i,y2:i,y:i},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xl
inkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType
:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{clipPath
:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"fontsize",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",marker
End:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternConten
tUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"pr
eserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacit
y:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-lineca
p",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-an
chor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole
",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitl
e:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xml
Space:"xml:space"}};e.exports=o},{10:10}],99:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SelectEventPlugin
*/
"use strict";function n(t){if("selectionStart"in t&&a.hasSelectionCapabilities(t
))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var
e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffs
et,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n
=document.selection.createRange();return{parentElement:n.parentElement(),text:n.
text,top:n.boundingTop,left:n.boundingLeft}}}function i(t,e){if(v||null==m||m!==
u())return null;var i=n(m);if(!b||!h(b,i)){b=i;var r=c.getPooled(f.select,g,t,e)
;return r.type="select",r.target=m,o.accumulateTwoPhaseDispatches(r),r}return nu
ll}var r=t(15),o=t(19),s=t(147),a=t(66),c=t(105),u=t(156),l=t(134),d=t(166),h=t(
171),p=r.topLevelTypes,_=s.canUseDOM&&"documentMode"in document&&document.docume
ntMode<=11,f={select:{phasedRegistrationNames:{bubbled:d({onSelect:null}),captur
ed:d({onSelectCapture:null})},dependencies:[p.topBlur,p.topContextMenu,p.topFocu
s,p.topKeyDown,p.topMouseDown,p.topMouseUp,p.topSelectionChange]}},m=null,g=null
,b=null,v=!1,y=!1,w=d({onSelect:null}),k={eventTypes:f,extractEvents:function(t,
e,n,r,o){if(!y)return null;switch(t){case p.topFocus:(l(e)||"true"===e.contentEd
itable)&&(m=e,g=n,b=null);break;case p.topBlur:m=null,g=null,b=null;break;case p
.topMouseDown:v=!0;break;case p.topContextMenu:case p.topMouseUp:return v=!1,i(r
,o);case p.topSelectionChange:if(_)break;case p.topKeyDown:case p.topKeyUp:retur
n i(r,o)}return null},didPutListener:function(t,e){e===w&&(y=!0)}};e.exports=k},
{105:105,134:134,147:147,15:15,156:156,166:166,171:171,19:19,66:66}],100:[functi
on(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.

*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ServerReactRootIndex
* @typechecks
*/
"use strict";var n=Math.pow(2,53),i={createReactRootIndex:function(){return Math
.ceil(Math.random()*n)}};e.exports=i},{}],101:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SimpleEventPlugin
*/
"use strict";var n=t(15),i=t(146),r=t(19),o=t(72),s=t(102),a=t(105),c=t(106),u=t
(108),l=t(109),d=t(104),h=t(110),p=t(111),_=t(112),f=t(153),m=t(125),g=t(161),b=
t(166),v=n.topLevelTypes,y={abort:{phasedRegistrationNames:{bubbled:b({onAbort:!
0}),captured:b({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:b({
onBlur:!0}),captured:b({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{b
ubbled:b({onCanPlay:!0}),captured:b({onCanPlayCapture:!0})}},canPlayThrough:{pha
sedRegistrationNames:{bubbled:b({onCanPlayThrough:!0}),captured:b({onCanPlayThro
ughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:b({onClick:!0}),captur
ed:b({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:b({onC
ontextMenu:!0}),captured:b({onContextMenuCapture:!0})}},copy:{phasedRegistration
Names:{bubbled:b({onCopy:!0}),captured:b({onCopyCapture:!0})}},cut:{phasedRegist
rationNames:{bubbled:b({onCut:!0}),captured:b({onCutCapture:!0})}},doubleClick:{
phasedRegistrationNames:{bubbled:b({onDoubleClick:!0}),captured:b({onDoubleClick
Capture:!0})}},drag:{phasedRegistrationNames:{bubbled:b({onDrag:!0}),captured:b(
{onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:b({onDragEnd:!0}
),captured:b({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubble
d:b({onDragEnter:!0}),captured:b({onDragEnterCapture:!0})}},dragExit:{phasedRegi
strationNames:{bubbled:b({onDragExit:!0}),captured:b({onDragExitCapture:!0})}},d
ragLeave:{phasedRegistrationNames:{bubbled:b({onDragLeave:!0}),captured:b({onDra
gLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:b({onDragOver:!0
}),captured:b({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubb
led:b({onDragStart:!0}),captured:b({onDragStartCapture:!0})}},drop:{phasedRegist
rationNames:{bubbled:b({onDrop:!0}),captured:b({onDropCapture:!0})}},durationCha
nge:{phasedRegistrationNames:{bubbled:b({onDurationChange:!0}),captured:b({onDur
ationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:b({onEmptied
:!0}),captured:b({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bu
bbled:b({onEncrypted:!0}),captured:b({onEncryptedCapture:!0})}},ended:{phasedReg
istrationNames:{bubbled:b({onEnded:!0}),captured:b({onEndedCapture:!0})}},error:
{phasedRegistrationNames:{bubbled:b({onError:!0}),captured:b({onErrorCapture:!0}
)}},focus:{phasedRegistrationNames:{bubbled:b({onFocus:!0}),captured:b({onFocusC
apture:!0})}},input:{phasedRegistrationNames:{bubbled:b({onInput:!0}),captured:b
({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:b({onKeyDown:!
0}),captured:b({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbl
ed:b({onKeyPress:!0}),captured:b({onKeyPressCapture:!0})}},keyUp:{phasedRegistra
tionNames:{bubbled:b({onKeyUp:!0}),captured:b({onKeyUpCapture:!0})}},load:{phase
dRegistrationNames:{bubbled:b({onLoad:!0}),captured:b({onLoadCapture:!0})}},load
edData:{phasedRegistrationNames:{bubbled:b({onLoadedData:!0}),captured:b({onLoad
edDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:b({onLoade
dMetadata:!0}),captured:b({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegis
trationNames:{bubbled:b({onLoadStart:!0}),captured:b({onLoadStartCapture:!0})}},
mouseDown:{phasedRegistrationNames:{bubbled:b({onMouseDown:!0}),captured:b({onMo

useDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:b({onMouseMove
:!0}),captured:b({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{b
ubbled:b({onMouseOut:!0}),captured:b({onMouseOutCapture:!0})}},mouseOver:{phased
RegistrationNames:{bubbled:b({onMouseOver:!0}),captured:b({onMouseOverCapture:!0
})}},mouseUp:{phasedRegistrationNames:{bubbled:b({onMouseUp:!0}),captured:b({onM
ouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:b({onPaste:!0}),cap
tured:b({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:b({onPaus
e:!0}),captured:b({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:
b({onPlay:!0}),captured:b({onPlayCapture:!0})}},playing:{phasedRegistrationNames
:{bubbled:b({onPlaying:!0}),captured:b({onPlayingCapture:!0})}},progress:{phased
RegistrationNames:{bubbled:b({onProgress:!0}),captured:b({onProgressCapture:!0})
}},rateChange:{phasedRegistrationNames:{bubbled:b({onRateChange:!0}),captured:b(
{onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:b({onReset:!
0}),captured:b({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:b
({onScroll:!0}),captured:b({onScrollCapture:!0})}},seeked:{phasedRegistrationNam
es:{bubbled:b({onSeeked:!0}),captured:b({onSeekedCapture:!0})}},seeking:{phasedR
egistrationNames:{bubbled:b({onSeeking:!0}),captured:b({onSeekingCapture:!0})}},
stalled:{phasedRegistrationNames:{bubbled:b({onStalled:!0}),captured:b({onStalle
dCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:b({onSubmit:!0}),captur
ed:b({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:b({onSusp
end:!0}),captured:b({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames
:{bubbled:b({onTimeUpdate:!0}),captured:b({onTimeUpdateCapture:!0})}},touchCance
l:{phasedRegistrationNames:{bubbled:b({onTouchCancel:!0}),captured:b({onTouchCan
celCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:b({onTouchEnd:!0}),
captured:b({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled
:b({onTouchMove:!0}),captured:b({onTouchMoveCapture:!0})}},touchStart:{phasedReg
istrationNames:{bubbled:b({onTouchStart:!0}),captured:b({onTouchStartCapture:!0}
)}},volumeChange:{phasedRegistrationNames:{bubbled:b({onVolumeChange:!0}),captur
ed:b({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:b({
onWaiting:!0}),captured:b({onWaitingCapture:!0})}},wheel:{phasedRegistrationName
s:{bubbled:b({onWheel:!0}),captured:b({onWheelCapture:!0})}}},w={topAbort:y.abor
t,topBlur:y.blur,topCanPlay:y.canPlay,topCanPlayThrough:y.canPlayThrough,topClic
k:y.click,topContextMenu:y.contextMenu,topCopy:y.copy,topCut:y.cut,topDoubleClic
k:y.doubleClick,topDrag:y.drag,topDragEnd:y.dragEnd,topDragEnter:y.dragEnter,top
DragExit:y.dragExit,topDragLeave:y.dragLeave,topDragOver:y.dragOver,topDragStart
:y.dragStart,topDrop:y.drop,topDurationChange:y.durationChange,topEmptied:y.empt
ied,topEncrypted:y.encrypted,topEnded:y.ended,topError:y.error,topFocus:y.focus,
topInput:y.input,topKeyDown:y.keyDown,topKeyPress:y.keyPress,topKeyUp:y.keyUp,to
pLoad:y.load,topLoadedData:y.loadedData,topLoadedMetadata:y.loadedMetadata,topLo
adStart:y.loadStart,topMouseDown:y.mouseDown,topMouseMove:y.mouseMove,topMouseOu
t:y.mouseOut,topMouseOver:y.mouseOver,topMouseUp:y.mouseUp,topPaste:y.paste,topP
ause:y.pause,topPlay:y.play,topPlaying:y.playing,topProgress:y.progress,topRateC
hange:y.rateChange,topReset:y.reset,topScroll:y.scroll,topSeeked:y.seeked,topSee
king:y.seeking,topStalled:y.stalled,topSubmit:y.submit,topSuspend:y.suspend,topT
imeUpdate:y.timeUpdate,topTouchCancel:y.touchCancel,topTouchEnd:y.touchEnd,topTo
uchMove:y.touchMove,topTouchStart:y.touchStart,topVolumeChange:y.volumeChange,to
pWaiting:y.waiting,topWheel:y.wheel};for(var k in w)w[k].dependencies=[k];var x=
b({onClick:null}),S={},C={eventTypes:y,extractEvents:function(t,e,n,i,o){var f=w
[t];if(!f)return null;var b;switch(t){case v.topAbort:case v.topCanPlay:case v.t
opCanPlayThrough:case v.topDurationChange:case v.topEmptied:case v.topEncrypted:
case v.topEnded:case v.topError:case v.topInput:case v.topLoad:case v.topLoadedD
ata:case v.topLoadedMetadata:case v.topLoadStart:case v.topPause:case v.topPlay:
case v.topPlaying:case v.topProgress:case v.topRateChange:case v.topReset:case v
.topSeeked:case v.topSeeking:case v.topStalled:case v.topSubmit:case v.topSuspen
d:case v.topTimeUpdate:case v.topVolumeChange:case v.topWaiting:b=a;break;case v
.topKeyPress:if(0===m(i))return null;case v.topKeyDown:case v.topKeyUp:b=u;break
;case v.topBlur:case v.topFocus:b=c;break;case v.topClick:if(2===i.button)return
null;case v.topContextMenu:case v.topDoubleClick:case v.topMouseDown:case v.top
MouseMove:case v.topMouseOut:case v.topMouseOver:case v.topMouseUp:b=l;break;cas
e v.topDrag:case v.topDragEnd:case v.topDragEnter:case v.topDragExit:case v.topD

ragLeave:case v.topDragOver:case v.topDragStart:case v.topDrop:b=d;break;case v.


topTouchCancel:case v.topTouchEnd:case v.topTouchMove:case v.topTouchStart:b=h;b
reak;case v.topScroll:b=p;break;case v.topWheel:b=_;break;case v.topCopy:case v.
topCut:case v.topPaste:b=s}b?void 0:g(!1,"SimpleEventPlugin: Unhandled event typ
e, `%s`.",t);var y=b.getPooled(f,n,i,o);return r.accumulateTwoPhaseDispatches(y)
,y},didPutListener:function(t,e){if(e===x){var n=o.getNode(t);S[t]||(S[t]=i.list
en(n,"click",f))}},willDeleteListener:function(t,e){e===x&&(S[t].remove(),delete
S[t])}};e.exports=C},{102:102,104:104,105:105,106:106,108:108,109:109,110:110,1
11:111,112:112,125:125,146:146,15:15,153:153,161:161,166:166,19:19,72:72}],102:[
function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticClipboardEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(105),r={clipboardD
ata:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}
;i.augmentClass(n,r),e.exports=n},{105:105}],103:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticCompositionEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(105),r={data:null}
;i.augmentClass(n,r),e.exports=n},{105:105}],104:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticDragEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(109),r={dataTransf
er:null};i.augmentClass(n,r),e.exports=n},{109:109}],105:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,i){this.dispatchConfig=t,this.dispatchMarker=e,thi
s.nativeEvent=n,this.target=i,this.currentTarget=i;var r=this.constructor.Interf
ace;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s];this[s]=a?a(n):n[s]}var c=

null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;this.isDefaultPre
vented=c?o.thatReturnsTrue:o.thatReturnsFalse,this.isPropagationStopped=o.thatRe
turnsFalse}var i=t(25),r=t(24),o=t(153),s=t(173),a={type:null,currentTarget:o.th
atReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t)
{return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};r(n.proto
type,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;
s(t,"This synthetic event is reused for performance reasons. If you're seeing th
is, you're calling `preventDefault` on a released/nullified synthetic event. Thi
s is a no-op. See https://fb.me/react-event-pooling for more information."),t&&(
t.preventDefault?t.preventDefault():t.returnValue=!1,this.isDefaultPrevented=o.t
hatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;s(t,"This syn
thetic event is reused for performance reasons. If you're seeing this, you're ca
lling `stopPropagation` on a released/nullified synthetic event. This is a no-op
. See https://fb.me/react-event-pooling for more information."),t&&(t.stopPropag
ation?t.stopPropagation():t.cancelBubble=!0,this.isPropagationStopped=o.thatRetu
rnsTrue)},persist:function(){this.isPersistent=o.thatReturnsTrue},isPersistent:o
.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var
e in t)this[e]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nati
veEvent=null}}),n.Interface=a,n.augmentClass=function(t,e){var n=this,o=Object.c
reate(n.prototype);r(o,t.prototype),t.prototype=o,t.prototype.constructor=t,t.In
terface=r({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fou
rArgumentPooler)},i.addPoolingTo(n,i.fourArgumentPooler),e.exports=n},{153:153,1
73:173,24:24,25:25}],106:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticFocusEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(111),r={relatedTar
get:null};i.augmentClass(n,r),e.exports=n},{111:111}],107:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticInputEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(105),r={data:null}
;i.augmentClass(n,r),e.exports=n},{105:105}],108:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticKeyboardEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(111),r=t(125),o=t(
126),s=t(127),a={key:o,location:null,ctrlKey:null,shiftKey:null,altKey:null,meta
Key:null,repeat:null,locale:null,getModifierState:s,charCode:function(t){return"

keypress"===t.type?r(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"
===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?r(t):"keydown
"===t.type||"keyup"===t.type?t.keyCode:0}};i.augmentClass(n,a),e.exports=n},{111
:111,125:125,126:126,127:127}],109:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticMouseEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(111),r=t(114),o=t(
127),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKe
y:null,altKey:null,metaKey:null,getModifierState:o,button:function(t){var e=t.bu
tton;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(
t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromEleme
nt)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+r.currentScrollLeft},
pageY:function(t){return"pageY"in t?t.pageY:t.clientY+r.currentScrollTop}};i.aug
mentClass(n,s),e.exports=n},{111:111,114:114,127:127}],110:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticTouchEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(111),r=t(127),o={t
ouches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrl
Key:null,shiftKey:null,getModifierState:r};i.augmentClass(n,o),e.exports=n},{111
:111,127:127}],111:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticUIEvent
* @typechecks static-only
*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(105),r=t(128),o={v
iew:function(t){if(t.view)return t.view;var e=r(t);if(null!=e&&e.window===e)retu
rn e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail
:function(t){return t.detail||0}};i.augmentClass(n,o),e.exports=n},{105:105,128:
128}],112:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule SyntheticWheelEvent
* @typechecks static-only

*/
"use strict";function n(t,e,n,r){i.call(this,t,e,n,r)}var i=t(109),r={deltaX:fun
ction(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:
function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelD
elta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};i.augmentClass(n,r),e.exp
orts=n},{109:109}],113:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule Transaction
*/
"use strict";var n=t(161),i={reinitializeTransaction:function(){this.transaction
Wrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData
.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,
getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransac
tion},perform:function(t,e,i,r,o,s,a,c){this.isInTransaction()?n(!1,"Transaction
.perform(...): Cannot initialize a transaction when there is already an outstand
ing transaction."):void 0;var u,l;try{this._isInTransaction=!0,u=!0,this.initial
izeAll(0),l=t.call(e,i,r,o,s,a,c),u=!1}finally{try{if(u)try{this.closeAll(0)}cat
ch(d){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initial
izeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var i=
e[n];try{this.wrapperInitData[n]=r.OBSERVED_ERROR,this.wrapperInitData[n]=i.init
ialize?i.initialize.call(this):null}finally{if(this.wrapperInitData[n]===r.OBSER
VED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(t){this.is
InTransaction()?void 0:n(!1,"Transaction.closeAll(): Cannot close transaction wh
en none are open.");for(var e=this.transactionWrappers,i=t;i<e.length;i++){var o
,s=e[i],a=this.wrapperInitData[i];try{o=!0,a!==r.OBSERVED_ERROR&&s.close&&s.clos
e.call(this,a),o=!1}finally{if(o)try{this.closeAll(i+1)}catch(c){}}}this.wrapper
InitData.length=0}},r={Mixin:i,OBSERVED_ERROR:{}};e.exports=r},{161:161}],114:[f
unction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ViewportMetrics
*/
"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:f
unction(t){n.currentScrollLeft=t.x,n.currentScrollTop=t.y}};e.exports=n},{}],115
:[function(t,e){/**
* Copyright 2014-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule accumulateInto
*/
"use strict";function n(t,e){if(null==e?i(!1,"accumulateInto(...): Accumulated i
tems must not be null or undefined."):void 0,null==t)return e;var n=Array.isArra
y(t),r=Array.isArray(e);return n&&r?(t.push.apply(t,e),t):n?(t.push(e),t):r?[t].
concat(e):[t,e]}var i=t(161);e.exports=n},{161:161}],116:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.

* All rights reserved.


*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule adler32
*/
"use strict";function n(t){for(var e=1,n=0,r=0,o=t.length,s=-4&o;s>r;){for(;r<Ma
th.min(r+4096,s);r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charC
odeAt(r+2))+(e+=t.charCodeAt(r+3));e%=i,n%=i}for(;o>r;r++)n+=e+=t.charCodeAt(r);
return e%=i,n%=i,e|n<<16}var i=65521;e.exports=n},{}],117:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule canDefineProperty
*/
"use strict";var n=!1;try{Object.defineProperty({},"x",{get:function(){}}),n=!0}
catch(i){}e.exports=n},{}],118:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @typechecks static-only
* @providesModule cloneWithProps
*/
"use strict";function n(t,e){s(c,"cloneWithProps(...) is deprecated. Please use
React.cloneElement instead."),c=!0,s(!t.ref,"You are calling cloneWithProps() on
a child with a ref. This is dangerous because you're creating a new child which
will not be added as a ref to its parent.");var n=r.mergeProps(e,t.props);retur
n!n.hasOwnProperty(a)&&t.props.hasOwnProperty(a)&&(n.children=t.props.children),
i.createElement(t.type,n)}var i=t(57),r=t(79),o=t(166),s=t(173),a=o({children:nu
ll}),c=!1;e.exports=n},{166:166,173:173,57:57,79:79}],119:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule dangerousStyleValue
* @typechecks static-only
*/
"use strict";function n(t,e){var n=null==e||"boolean"==typeof e||""===e;if(n)ret
urn"";var i=isNaN(e);return i||0===e||r.hasOwnProperty(t)&&r[t]?""+e:("string"==
typeof e&&(e=e.trim()),e+"px")}var i=t(4),r=i.isUnitlessNumber;e.exports=n},{4:4
}],120:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.

*
* @providesModule deprecated
*/
"use strict";function n(t,e,n,o,s){var a=!1,c=function(){return r(a,"React.%s is
deprecated. Please use %s.%s from require('%s') instead.",t,e,t,n),a=!0,s.apply
(o,arguments)};return i(c,s)}var i=t(24),r=t(173);e.exports=n},{173:173,24:24}],
121:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule escapeTextContentForBrowser
*/
"use strict";function n(t){return r[t]}function i(t){return(""+t).replace(o,n)}v
ar r={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o=/[&><"']/g;
e.exports=i},{}],122:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule findDOMNode
* @typechecks static-only
*/
"use strict";function n(t){var e=i.current;return null!==e&&(a(e._warnedAboutRef
sInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render
() should be a pure function of props and state. It should never access somethin
g that requires stale data from the previous render, such as refs. Move this log
ic to componentDidMount and componentDidUpdate instead.",e.getName()||"A compone
nt"),e._warnedAboutRefsInRender=!0),null==t?null:1===t.nodeType?t:r.has(t)?o.get
NodeFromInstance(t):(null!=t.render&&"function"==typeof t.render?s(!1,"findDOMNo
de was called on an unmounted component."):void 0,void s(!1,"Element appears to
be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(t)))}var i=t(39),r
=t(68),o=t(72),s=t(161),a=t(173);e.exports=n},{161:161,173:173,39:39,68:68,72:72
}],123:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule flattenChildren
*/
"use strict";function n(t,e,n){var i=t,r=void 0===i[n];o(r,"flattenChildren(...)
: Encountered two children with the same key, `%s`. Child keys must be unique; w
hen two children share a key, only the first child will be used.",n),r&&null!=e&
&(i[n]=e)}function i(t){if(null==t)return t;var e={};return r(t,n,e),e}var r=t(1
42),o=t(173);e.exports=i},{142:142,173:173}],124:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.

*
* @providesModule forEachAccumulated
*/
"use strict";var n=function(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t
)};e.exports=n},{}],125:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventCharCode
* @typechecks static-only
*/
"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,
0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}e.exports=n},{}],126:[function(t,e)
{/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventKey
* @typechecks static-only
*/
"use strict";function n(t){if(t.key){var e=r[t.key]||t.key;if("Unidentified"!==e
)return e}if("keypress"===t.type){var n=i(t);return 13===n?"Enter":String.fromCh
arCode(n)}return"keydown"===t.type||"keyup"===t.type?o[t.keyCode]||"Unidentified
":""}var i=t(125),r={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Rig
ht:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"
ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o={8:"Backspace
",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"
CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Ar
rowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112
:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",12
1:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports
=n},{125:125}],127:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getEventModifierState
* @typechecks static-only
*/
"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)retu
rn n.getModifierState(t);var i=r[t];return i?!!n[i]:!1}function i(){return n}var
r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=i}
,{}],128:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.

*
* @providesModule getEventTarget
* @typechecks static-only
*/
"use strict";function n(t){var e=t.target||t.srcElement||window;return 3===e.nod
eType?e.parentNode:e}e.exports=n},{}],129:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getIteratorFn
* @typechecks static-only
*/
"use strict";function n(t){var e=t&&(i&&t[i]||t[r]);return"function"==typeof e?e
:void 0}var i="function"==typeof Symbol&&Symbol.iterator,r="@@iterator";e.export
s=n},{}],130:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getNodeForCharacterOffset
*/
"use strict";function n(t){for(;t&&t.firstChild;)t=t.firstChild;return t}functio
n i(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function r
(t,e){for(var r=n(t),o=0,s=0;r;){if(3===r.nodeType){if(s=o+r.textContent.length,
e>=o&&s>=e)return{node:r,offset:e-o};o=s}r=n(i(r))}}e.exports=r},{}],131:[functi
on(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getTextContentAccessor
*/
"use strict";function n(){return!r&&i.canUseDOM&&(r="textContent"in document.doc
umentElement?"textContent":"innerText"),r}var i=t(147),r=null;e.exports=n},{147:
147}],132:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule instantiateReactComponent
* @typechecks static-only
*/
"use strict";function n(t){if(t){var e=t.getName();if(e)return" Check the render
method of `"+e+"`."}return""}function i(t){return"function"==typeof t&&"undefin
ed"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"functio
n"==typeof t.prototype.receiveComponent}function r(t){var e;if(null===t||t===!1)
e=new s(r);else if("object"==typeof t){var o=t;!o||"function"!=typeof o.type&&"s

tring"!=typeof o.type?u(!1,"Element type is invalid: expected a string (for buil


t-in components) or a class/function (for composite components) but got: %s.%s",
null==o.type?o.type:typeof o.type,n(o._owner)):void 0,e="string"==typeof o.type?
a.createInternalComponent(o):i(o.type)?new o.type(o):new d}else"string"==typeof
t||"number"==typeof t?e=a.createInstanceForText(t):u(!1,"Encountered invalid Rea
ct node of type %s",typeof t);return l("function"==typeof e.construct&&"function
"==typeof e.mountComponent&&"function"==typeof e.receiveComponent&&"function"==t
ypeof e.unmountComponent,"Only React Components can be mounted."),e.construct(t)
,e._mountIndex=0,e._mountImage=null,e._isOwnerNecessary=!1,e._warnedAboutRefsInR
ender=!1,Object.preventExtensions&&Object.preventExtensions(e),e}var o=t(38),s=t
(59),a=t(75),c=t(24),u=t(161),l=t(173),d=function(){};c(d.prototype,o.Mixin,{_in
stantiateReactComponent:r}),e.exports=r},{161:161,173:173,24:24,38:38,59:59,75:7
5}],133:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isEventSupported
*/
"use strict";function n(t,e){if(!r.canUseDOM||e&&!("addEventListener"in document
))return!1;var n="on"+t,o=n in document;if(!o){var s=document.createElement("div
");s.setAttribute(n,"return;"),o="function"==typeof s[n]}return!o&&i&&"wheel"===
t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var i,r=t(147)
;r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&do
cument.implementation.hasFeature("","")!==!0),e.exports=n},{147:147}],134:[funct
ion(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isTextInputElement
*/
"use strict";function n(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return
e&&("input"===e&&i[t.type]||"textarea"===e)}var i={color:!0,date:!0,datetime:!0,
"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,t
el:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},{}],135:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule onlyChild
*/
"use strict";function n(t){return i.isValidElement(t)?void 0:r(!1,"onlyChild mus
t be passed a children with exactly one child."),t}var i=t(57),r=t(161);e.export
s=n},{161:161,57:57}],136:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.

*
* @providesModule quoteAttributeValueForBrowser
*/
"use strict";function n(t){return'"'+i(t)+'"'}var i=t(121);e.exports=n},{121:121
}],137:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule renderSubtreeIntoContainer
*/
"use strict";var n=t(72);e.exports=n.renderSubtreeIntoContainer},{72:72}],138:[f
unction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setInnerHTML
*/
"use strict";var n=t(147),i=/^[ \r\n\t\f]/,r=/<(!--|link|noscript|meta|script|st
yle)[ \r\n\t\f\/>]/,o=function(t,e){t.innerHTML=e};if("undefined"!=typeof MSApp&
&MSApp.execUnsafeLocalFunction&&(o=function(t,e){MSApp.execUnsafeLocalFunction(f
unction(){t.innerHTML=e})}),n.canUseDOM){var s=document.createElement("div");s.i
nnerHTML=" ",""===s.innerHTML&&(o=function(t,e){if(t.parentNode&&t.parentNode.re
placeChild(t,t),i.test(e)||"<"===e[0]&&r.test(e)){t.innerHTML=String.fromCharCod
e(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,
1)}else t.innerHTML=e})}e.exports=o},{147:147}],139:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule setTextContent
*/
"use strict";var n=t(147),i=t(121),r=t(138),o=function(t,e){t.textContent=e};n.c
anUseDOM&&("textContent"in document.documentElement||(o=function(t,e){r(t,i(e))}
)),e.exports=o},{121:121,138:138,147:147}],140:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shallowCompare
*/
"use strict";function n(t,e,n){return!i(t.props,e)||!i(t.state,n)}var i=t(171);e
.exports=n},{171:171}],141:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shouldUpdateReactComponent
* @typechecks static-only
*/
"use strict";function n(t,e){var n=null===t||t===!1,i=null===e||e===!1;if(n||i)r
eturn n===i;var r=typeof t,o=typeof e;return"string"===r||"number"===r?"string"=
==o||"number"===o:"object"===o&&t.type===e.type&&t.key===e.key}e.exports=n},{}],
142:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule traverseAllChildren
*/
"use strict";function n(t){return m[t]}function i(t,e){return t&&null!=t.key?o(t
.key):e.toString(36)}function r(t){return(""+t).replace(g,n)}function o(t){retur
n"$"+r(t)}function s(t,e,n,r){var a=typeof t;if(("undefined"===a||"boolean"===a)
&&(t=null),null===t||"string"===a||"number"===a||u.isValidElement(t))return n(r,
t,""===e?_+i(t,0):e),1;var l,m,g=0,v=""===e?_:e+f;if(Array.isArray(t))for(var y=
0;y<t.length;y++)l=t[y],m=v+i(l,y),g+=s(l,m,n,r);else{var w=d(t);if(w){var k,x=w
.call(t);if(w!==t.entries)for(var S=0;!(k=x.next()).done;)l=k.value,m=v+i(l,S++)
,g+=s(l,m,n,r);else for(p(b,"Using Maps as children is not yet fully supported.
It is an experimental feature that might be removed. Convert it to a sequence /
iterable of keyed ReactElements instead."),b=!0;!(k=x.next()).done;){var C=k.val
ue;C&&(l=C[1],m=v+o(C[0])+f+i(l,0),g+=s(l,m,n,r))}}else if("object"===a){var E="
";if(E=" If you meant to render a collection of children, use an array instead o
r wrap the object using createFragment(object) from the React add-ons.",t._isRea
ctElement&&(E=" It looks like you're using an element created by a different ver
sion of React. Make sure to use only one copy of React."),c.current){var T=c.cur
rent.getName();T&&(E+=" Check the render method of `"+T+"`.")}var A=String(t);h(
!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===A
?"object with keys {"+Object.keys(t).join(", ")+"}":A,E)}}return g}function a(t,
e,n){return null==t?0:s(t,"",e,n)}var c=t(39),u=t(57),l=t(67),d=t(129),h=t(161),
p=t(173),_=l.SEPARATOR,f=":",m={"=":"=0",".":"=1",":":"=2"},g=/[=.:]/g,b=!1;e.ex
ports=a},{129:129,161:161,173:173,39:39,57:57,67:67}],143:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule update
*/
"use strict";function n(t){return Array.isArray(t)?t.concat():t&&"object"==typeo
f t?o(new t.constructor,t):t}function i(t,e,n){Array.isArray(t)?void 0:a(!1,"upd
ate(): expected target of %s to be an array; got %s.",n,t);var i=e[n];Array.isAr
ray(i)?void 0:a(!1,"update(): expected spec of %s to be an array; got %s. Did yo
u forget to wrap your parameter in an array?",n,i)}function r(t,e){if("object"!=
typeof e?a(!1,"update(): You provided a key path to update() that did not contai
n one of %s. Did you forget to include {%s: ...}?",f.join(", "),h):void 0,c.call
(e,h))return 1!==Object.keys(e).length?a(!1,"Cannot have more than one key in an
object with %s",h):void 0,e[h];var s=n(t);if(c.call(e,p)){var g=e[p];g&&"object
"==typeof g?void 0:a(!1,"update(): %s expects a spec of type 'object'; got %s",p
,g),s&&"object"==typeof s?void 0:a(!1,"update(): %s expects a target of type 'ob

ject'; got %s",p,s),o(s,e[p])}c.call(e,u)&&(i(t,e,u),e[u].forEach(function(t){s.


push(t)})),c.call(e,l)&&(i(t,e,l),e[l].forEach(function(t){s.unshift(t)})),c.cal
l(e,d)&&(Array.isArray(t)?void 0:a(!1,"Expected %s target to be an array; got %s
",d,t),Array.isArray(e[d])?void 0:a(!1,"update(): expected spec of %s to be an a
rray of arrays; got %s. Did you forget to wrap your parameters in an array?",d,e
[d]),e[d].forEach(function(t){Array.isArray(t)?void 0:a(!1,"update(): expected s
pec of %s to be an array of arrays; got %s. Did you forget to wrap your paramete
rs in an array?",d,e[d]),s.splice.apply(s,t)})),c.call(e,_)&&("function"!=typeof
e[_]?a(!1,"update(): expected spec of %s to be a function; got %s.",_,e[_]):voi
d 0,s=e[_](s));for(var b in e)m.hasOwnProperty(b)&&m[b]||(s[b]=r(t[b],e[b]));ret
urn s}var o=t(24),s=t(166),a=t(161),c={}.hasOwnProperty,u=s({$push:null}),l=s({$
unshift:null}),d=s({$splice:null}),h=s({$set:null}),p=s({$merge:null}),_=s({$app
ly:null}),f=[u,l,d,h,p,_],m={};f.forEach(function(t){m[t]=!0}),e.exports=r},{161
:161,166:166,24:24}],144:[function(t,e){/**
* Copyright 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule validateDOMNesting
*/
"use strict";var n=t(24),i=t(153),r=t(173),o=i,s=["address","applet","area","art
icle","aside","base","basefont","bgsound","blockquote","body","br","button","cap
tion","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fi
eldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3",
"h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isin
dex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noem
bed","noframes","noscript","object","ol","p","param","plaintext","pre","script",
"section","select","source","style","summary","table","tbody","td","template","t
extarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],a=["applet"
,"caption","html","table","td","th","marquee","object","template","foreignObject
","desc","title"],c=a.concat(["button"]),u=["dd","dt","li","option","optgroup","
p","rp","rt"],l={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:n
ull,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlIte
mTagAutoclosing:null},d=function(t,e,i){var r=n({},t||l),o={tag:e,instance:i};re
turn-1!==a.indexOf(e)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInSc
ope=null),-1!==c.indexOf(e)&&(r.pTagInButtonScope=null),-1!==s.indexOf(e)&&"addr
ess"!==e&&"div"!==e&&"p"!==e&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclos
ing=null),r.parentTag=o,"form"===e&&(r.formTag=o),"a"===e&&(r.aTagInScope=o),"bu
tton"===e&&(r.buttonTagInScope=o),"nobr"===e&&(r.nobrTagInScope=o),"p"===e&&(r.p
TagInButtonScope=o),"li"===e&&(r.listItemTagAutoclosing=o),("dd"===e||"dt"===e)&
&(r.dlItemTagAutoclosing=o),r},h=function(t,e){switch(e){case"select":return"opt
ion"===t||"optgroup"===t||"#text"===t;case"optgroup":return"option"===t||"#text"
===t;case"option":return"#text"===t;case"tr":return"th"===t||"td"===t||"style"==
=t||"script"===t||"template"===t;case"tbody":case"thead":case"tfoot":return"tr"=
==t||"style"===t||"script"===t||"template"===t;case"colgroup":return"col"===t||"
template"===t;case"table":return"caption"===t||"colgroup"===t||"tbody"===t||"tfo
ot"===t||"thead"===t||"style"===t||"script"===t||"template"===t;case"head":retur
n"base"===t||"basefont"===t||"bgsound"===t||"link"===t||"meta"===t||"title"===t|
|"noscript"===t||"noframes"===t||"style"===t||"script"===t||"template"===t;case"
html":return"head"===t||"body"===t}switch(t){case"h1":case"h2":case"h3":case"h4"
:case"h5":case"h6":return"h1"!==e&&"h2"!==e&&"h3"!==e&&"h4"!==e&&"h5"!==e&&"h6"!
==e;case"rp":case"rt":return-1===u.indexOf(e);case"caption":case"col":case"colgr
oup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead
":case"tr":return null==e}return!0},p=function(t,e){switch(t){case"address":case
"article":case"aside":case"blockquote":case"center":case"details":case"dialog":c
ase"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"fo
oter":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p"

:case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"h
r":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e.pTag
InButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e
.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"but
ton":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.
nobrTagInScope}return null},_=function(t){if(!t)return[];var e=[];do e.push(t);w
hile(t=t._currentElement._owner);return e.reverse(),e},f={};o=function(t,e,n){n=
n||l;var i=n.parentTag,o=i&&i.tag,s=h(t,o)?null:i,a=s?null:p(t,n),c=s||a;if(c){v
ar u,d=c.tag,m=c.instance,g=e&&e._currentElement._owner,b=m&&m._currentElement._
owner,v=_(g),y=_(b),w=Math.min(v.length,y.length),k=-1;for(u=0;w>u&&v[u]===y[u];
u++)k=u;var x="(unknown)",S=v.slice(k+1).map(function(t){return t.getName()||x})
,C=y.slice(k+1).map(function(t){return t.getName()||x}),E=[].concat(-1!==k?v[k].
getName()||x:[],C,d,a?["..."]:[],S,t).join(" > "),T=!!s+"|"+t+"|"+d+"|"+E;if(f[T
])return;if(f[T]=!0,s){var A="";"table"===d&&"tr"===t&&(A+=" Add a <tbody> to yo
ur code to match the DOM tree generated by the browser."),r(!1,"validateDOMNesti
ng(...): <%s> cannot appear as a child of <%s>. See %s.%s",t,d,E,A)}else r(!1,"v
alidateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",t,d
,E)}},o.ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random(
).toString(36).slice(2),o.updatedAncestorInfo=d,o.isTagValidInContext=function(t
,e){e=e||l;var n=e.parentTag,i=n&&n.tag;return h(t,i)&&!p(t,e)},e.exports=o},{15
3:153,173:173,24:24}],145:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule CSSCore
* @typechecks
*/
"use strict";var n=t(161),i={addClass:function(t,e){return/\s/.test(e)?n(!1,'CSS
Core.addClass takes only a single class name. "%s" contains multiple classes.',e
):void 0,e&&(t.classList?t.classList.add(e):i.hasClass(t,e)||(t.className=t.clas
sName+" "+e)),t},removeClass:function(t,e){return/\s/.test(e)?n(!1,'CSSCore.remo
veClass takes only a single class name. "%s" contains multiple classes.',e):void
0,e&&(t.classList?t.classList.remove(e):i.hasClass(t,e)&&(t.className=t.classNa
me.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").rep
lace(/^\s*|\s*$/g,""))),t},conditionClass:function(t,e,n){return(n?i.addClass:i.
removeClass)(t,e)},hasClass:function(t,e){return/\s/.test(e)?n(!1,"CSS.hasClass
takes only a single class name."):void 0,t.classList?!!e&&t.classList.contains(e
):(" "+t.className+" ").indexOf(" "+e+" ")>-1}};e.exports=i},{161:161}],146:[fun
ction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @providesModule EventListener
* @typechecks
*/

"use strict";var n=t(153),i={listen:function(t,e,n){return t.addEventListener?(t


.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.
attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}
}):void 0},capture:function(t,e,i){return t.addEventListener?(t.addEventListener
(e,i,!0),{remove:function(){t.removeEventListener(e,i,!0)}}):(console.error("Att
empted to listen to events during the capture phase on a browser that does not s
upport the capture phase. Your application will not receive some events."),{remo
ve:n})},registerDefault:function(){}};e.exports=i},{153:153}],147:[function(t,e)
{/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ExecutionEnvironment
*/
"use strict";var n=!("undefined"==typeof window||!window.document||!window.docum
ent.createElement),i={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUs
eEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewpo
rt:n&&!!window.screen,isInWorker:!n};e.exports=i},{}],148:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule camelize
* @typechecks
*/
"use strict";function n(t){return t.replace(i,function(t,e){return e.toUpperCase
()})}var i=/-(.)/g;e.exports=n},{}],149:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule camelizeStyleName
* @typechecks
*/
"use strict";function n(t){return i(t.replace(r,"ms-"))}var i=t(148),r=/^-ms-/;e
.exports=n},{148:148}],150:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule containsNode
* @typechecks
*/
"use strict";function n(t,e){var n=!0;t:for(;n;){var r=t,o=e;if(n=!1,r&&o){if(r=
==o)return!0;if(i(r))return!1;if(i(o)){t=r,e=o.parentNode,n=!0;continue t}return
r.contains?r.contains(o):r.compareDocumentPosition?!!(16&r.compareDocumentPosit
ion(o)):!1}return!1}}var i=t(163);e.exports=n},{163:163}],151:[function(t,e){/**

* Copyright 2013-2015, Facebook, Inc.


* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule createArrayFromMixed
* @typechecks
*/
"use strict";function n(t){return!!t&&("object"==typeof t||"function"==typeof t)
&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArra
y(t)||"callee"in t||"item"in t)}function i(t){return n(t)?Array.isArray(t)?t.sli
ce():r(t):[t]}var r=t(172);e.exports=i},{172:172}],152:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule createNodesFromMarkup
* @typechecks
*/
"use strict";function n(t){var e=t.match(u);return e&&e[1].toLowerCase()}functio
n i(t,e){var i=c;c?void 0:a(!1,"createNodesFromMarkup dummy not initialized");va
r r=n(t),u=r&&s(r);if(u){i.innerHTML=u[1]+t+u[2];for(var l=u[0];l--;)i=i.lastChi
ld}else i.innerHTML=t;var d=i.getElementsByTagName("script");d.length&&(e?void 0
:a(!1,"createNodesFromMarkup(...): Unexpected <script> element rendered."),o(d).
forEach(e));for(var h=o(i.childNodes);i.lastChild;)i.removeChild(i.lastChild);re
turn h}var r=t(147),o=t(151),s=t(157),a=t(161),c=r.canUseDOM?document.createElem
ent("div"):null,u=/^\s*<(\w+)/;e.exports=i},{147:147,151:151,157:157,161:161}],1
53:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule emptyFunction
*/
"use strict";function n(t){return function(){return t}}function i(){}i.thatRetur
ns=n,i.thatReturnsFalse=n(!1),i.thatReturnsTrue=n(!0),i.thatReturnsNull=n(null),
i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){retu
rn t},e.exports=i},{}],154:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule emptyObject
*/
"use strict";var n={};Object.freeze(n),e.exports=n},{}],155:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule focusNode
*/
"use strict";function n(t){try{t.focus()}catch(e){}}e.exports=n},{}],156:[functi
on(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getActiveElement
* @typechecks
*/
"use strict";function n(){if("undefined"==typeof document)return null;try{return
document.activeElement||document.body}catch(t){return document.body}}e.exports=
n},{}],157:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getMarkupWrap
*/
"use strict";function n(t){return o?void 0:r(!1,"Markup wrapping node not initia
lized"),d.hasOwnProperty(t)||(t="*"),s.hasOwnProperty(t)||(o.innerHTML="*"===t?"
<link />":"<"+t+"></"+t+">",s[t]=!o.firstChild),s[t]?d[t]:null}var i=t(147),r=t(
161),o=i.canUseDOM?document.createElement("div"):null,s={},a=[1,'<select multipl
e="true">',"</select>"],c=[1,"<table>","</table>"],u=[3,"<table><tbody><tr>","</
tr></tbody></table>"],l=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],
d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></t
body><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],pa
ram:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgro
up:a,option:a,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:u,th:u},h=["circle
","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path",
"pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];h.
forEach(function(t){d[t]=l,s[t]=!0}),e.exports=n},{147:147,161:161}],158:[functi
on(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule getUnboundedScrollPosition
* @typechecks
*/
"use strict";function n(t){return t===window?{x:window.pageXOffset||document.doc
umentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop
}:{x:t.scrollLeft,y:t.scrollTop}}e.exports=n},{}],159:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the

* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule hyphenate
* @typechecks
*/
"use strict";function n(t){return t.replace(i,"-$1").toLowerCase()}var i=/([A-Z]
)/g;e.exports=n},{}],160:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule hyphenateStyleName
* @typechecks
*/
"use strict";function n(t){return i(t).replace(r,"-ms-")}var i=t(159),r=/^ms-/;e
.exports=n},{159:159}],161:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule invariant
*/
"use strict";function n(t,e,n,i,r,o,s,a){if(void 0===e)throw new Error("invarian
t requires an error message argument");if(!t){var c;if(void 0===e)c=new Error("M
inified exception occurred; use the non-minified dev environment for the full er
ror message and additional helpful warnings.");else{var u=[n,i,r,o,s,a],l=0;c=ne
w Error(e.replace(/%s/g,function(){return u[l++]})),c.name="Invariant Violation"
}throw c.framesToPop=1,c}}e.exports=n},{}],162:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isNode
* @typechecks
*/
"use strict";function n(t){return!(!t||!("function"==typeof Node?t instanceof No
de:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName)
)}e.exports=n},{}],163:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule isTextNode
* @typechecks
*/
"use strict";function n(t){return i(t)&&3==t.nodeType}var i=t(162);e.exports=n},
{162:162}],164:[function(t,e){/**

* Copyright 2013-2015, Facebook, Inc.


* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule joinClasses
* @typechecks static-only
*/
"use strict";function n(t){t||(t="");var e,n=arguments.length;if(n>1)for(var i=1
;n>i;i++)e=arguments[i],e&&(t=(t?t+" ":"")+e);return t}e.exports=n},{}],165:[fun
ction(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule keyMirror
* @typechecks static-only
*/
"use strict";var n=t(161),i=function(t){var e,i={};t instanceof Object&&!Array.i
sArray(t)?void 0:n(!1,"keyMirror(...): Argument must be an object.");for(e in t)
t.hasOwnProperty(e)&&(i[e]=e);return i};e.exports=i},{161:161}],166:[function(t,
e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule keyOf
*/
"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;
return null};e.exports=n},{}],167:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule mapObject
*/
"use strict";function n(t,e,n){if(!t)return null;var r={};for(var o in t)i.call(
t,o)&&(r[o]=e.call(n,t[o],o,t));return r}var i=Object.prototype.hasOwnProperty;e
.exports=n},{}],168:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule memoizeStringOnly
* @typechecks static-only
*/

"use strict";function n(t){var e={};return function(n){return e.hasOwnProperty(n


)||(e[n]=t.call(this,n)),e[n]}}e.exports=n},{}],169:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule performance
* @typechecks
*/
"use strict";var n,i=t(147);i.canUseDOM&&(n=window.performance||window.msPerform
ance||window.webkitPerformance),e.exports=n||{}},{147:147}],170:[function(t,e){/
**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule performanceNow
* @typechecks
*/
"use strict";var n,i=t(169);n=i.now?function(){return i.now()}:function(){return
Date.now()},e.exports=n},{169:169}],171:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule shallowEqual
* @typechecks
*
*/
"use strict";function n(t,e){if(t===e)return!0;if("object"!=typeof t||null===t||
"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n
.length!==r.length)return!1;for(var o=i.bind(e),s=0;s<n.length;s++)if(!o(n[s])||
t[n[s]]!==e[n[s]])return!1;return!0}var i=Object.prototype.hasOwnProperty;e.expo
rts=n},{}],172:[function(t,e){/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule toArray
* @typechecks
*/
"use strict";function n(t){var e=t.length;if(Array.isArray(t)||"object"!=typeof
t&&"function"!=typeof t?i(!1,"toArray: Array-like object expected"):void 0,"numb
er"!=typeof e?i(!1,"toArray: Object needs a length property"):void 0,0===e||e-1
in t?void 0:i(!1,"toArray: Object should have keys for indices"),t.hasOwnPropert
y)try{return Array.prototype.slice.call(t)}catch(n){}for(var r=Array(e),o=0;e>o;
o++)r[o]=t[o];return r}var i=t(161);e.exports=n},{161:161}],173:[function(t,e){/
**

* Copyright 2014-2015, Facebook, Inc.


* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule warning
*/
"use strict";var n=t(153),i=n;i=function(t,e){for(var n=arguments.length,i=Array
(n>2?n-2:0),r=2;n>r;r++)i[r-2]=arguments[r];if(void 0===e)throw new Error("`warn
ing(condition, format, ...args)` requires a warning message argument");if(0!==e.
indexOf("Failed Composite propType: ")&&!t){var o=0,s="Warning: "+e.replace(/%s/
g,function(){return i[o++]});"undefined"!=typeof console&&console.error(s);try{t
hrow new Error(s)}catch(a){}}},e.exports=i},{153:153}]},{},[1])(1)});
/* public/javascripts/react-dom-0.14.6.js @ 1478902339 */
/**
* ReactDOM v0.14.6
*
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.expo
rts=t(require("react"));else if("function"==typeof define&&define.amd)define(["r
eact"],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof glo
bal?global:"undefined"!=typeof self?self:this,e.ReactDOM=t(e.React)}}(function(t
){return t.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED});
/* public/javascripts/classnames.js @ 1478902339 */
/*!
Copyright (c) 2015 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function t(){for(var n="",i=0;i<arguments.length;i++){v
ar r=arguments[i];if(r){var o=typeof r;if("string"===o||"number"===o)n+=" "+r;el
se if(Array.isArray(r))n+=" "+t.apply(null,r);else if("object"===o)for(var s in
r)e.call(r,s)&&r[s]&&(n+=" "+s)}}return n.substr(1)}var e={}.hasOwnProperty;"und
efined"!=typeof module&&module.exports?module.exports=t:"function"==typeof defin
e&&"object"==typeof define.amd&&define.amd?define("classnames",function(){return
t}):window.classNames=t}();
/* public/javascripts/url-pattern.js @ 1478902339 */
/*
* license: MIT
* Copyright (C) 2015 by Maximilian Krger
* https://github.com/snd/url-pattern
*/
var slice=[].slice;!function(t,e){return"function"==typeof define&&null!=define.
amd?define([],e):"undefined"!=typeof exports&&null!==exports?module.exports=e():
t.UrlPattern=e()}(this,function(){var t,e,n,i,r,o,s,a,c,u,l,d,h,p,f;return c=fun

ction(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")},s=function(t,e){var
n,i,r;for(r=[],n=-1,i=t.length;++n<i;)r=r.concat(e(t[n]));return r},p=function(t
,e){var n,i,r;for(r="",n=-1,i=t.length;++n<i;)r+=e(t[n]);return r},h=function(t)
{return new RegExp(t.toString()+"|").exec("").length-1},l=function(t,e){var n,i,
r,o,s;for(o={},n=-1,r=t.length;++n<r;)i=t[n],s=e[n],null!=s&&(null!=o[i]?(Array.
isArray(o[i])||(o[i]=[o[i]]),o[i].push(s)):o[i]=s);return o},t={},t.Result=funct
ion(t,e){this.value=t,this.rest=e},t.Tagged=function(t,e){this.tag=t,this.value=
e},t.tag=function(e,n){return function(i){var r,o;return r=n(i),null!=r?(o=new t
.Tagged(e,r.value),new t.Result(o,r.rest)):void 0}},t.regex=function(e){return f
unction(n){var i,r;return i=e.exec(n),null!=i?(r=i[0],new t.Result(r,n.slice(r.l
ength))):void 0}},t.sequence=function(){var e;return e=1<=arguments.length?slice
.call(arguments,0):[],function(n){var i,r,o,s,a,c;for(i=-1,r=e.length,c=[],s=n;+
+i<r;){if(o=e[i],a=o(s),null==a)return;c.push(a.value),s=a.rest}return new t.Res
ult(c,s)}},t.pick=function(){var e,n;return e=arguments[0],n=2<=arguments.length
?slice.call(arguments,1):[],function(i){var r,o;return o=t.sequence.apply(t,n)(i
),null!=o?(r=o.value,o.value=r[e],o):void 0}},t.string=function(e){var n;return
n=e.length,function(i){return i.slice(0,n)===e?new t.Result(e,i.slice(n)):void 0
}},t.lazy=function(t){var e;return e=null,function(n){return null==e&&(e=t()),e(
n)}},t.baseMany=function(e,n,i,r,o){var s,a,c,u;for(c=o,u=i?"":[];;){if(null!=n&
&(s=n(c),null!=s))break;if(a=e(c),null==a)break;i?u+=a.value:u.push(a.value),c=a
.rest}return r&&0===u.length?void 0:new t.Result(u,c)},t.many1=function(e){retur
n function(n){return t.baseMany(e,null,!1,!0,n)}},t.concatMany1Till=function(e,n
){return function(i){return t.baseMany(e,n,!0,!0,i)}},t.firstChoice=function(){v
ar t;return t=1<=arguments.length?slice.call(arguments,0):[],function(e){var n,i
,r,o;for(n=-1,i=t.length;++n<i;)if(r=t[n],o=r(e),null!=o)return o}},d=function(e
){var n;return n={},n.wildcard=t.tag("wildcard",t.string(e.wildcardChar)),n.opti
onal=t.tag("optional",t.pick(1,t.string(e.optionalSegmentStartChar),t.lazy(funct
ion(){return n.pattern}),t.string(e.optionalSegmentEndChar))),n.name=t.regex(new
RegExp("^["+e.segmentNameCharset+"]+")),n.named=t.tag("named",t.pick(1,t.string
(e.segmentNameStartChar),t.lazy(function(){return n.name}))),n.escapedChar=t.pic
k(1,t.string(e.escapeChar),t.regex(/^./)),n["static"]=t.tag("static",t.concatMan
y1Till(t.firstChoice(t.lazy(function(){return n.escapedChar}),t.regex(/^./)),t.f
irstChoice(t.string(e.segmentNameStartChar),t.string(e.optionalSegmentStartChar)
,t.string(e.optionalSegmentEndChar),n.wildcard))),n.token=t.lazy(function(){retu
rn t.firstChoice(n.wildcard,n.optional,n.named,n["static"])}),n.pattern=t.many1(
t.lazy(function(){return n.token})),n},a={escapeChar:"\\",segmentNameStartChar:"
:",segmentValueCharset:"a-zA-Z0-9-_~ %",segmentNameCharset:"a-zA-Z0-9",optionalS
egmentStartChar:"(",optionalSegmentEndChar:")",wildcardChar:"*"},o=function(t,e)
{if(Array.isArray(t))return p(t,function(t){return o(t,e)});switch(t.tag){case"w
ildcard":return"(.*?)";case"named":return"(["+e+"]+)";case"static":return c(t.va
lue);case"optional":return"(?:"+o(t.value,e)+")?"}},r=function(t,e){return null=
=e&&(e=a.segmentValueCharset),"^"+o(t,e)+"$"},i=function(t){if(Array.isArray(t))
return s(t,i);switch(t.tag){case"wildcard":return["_"];case"named":return[t.valu
e];case"static":return[];case"optional":return i(t.value)}},u=function(t,e,n,i){
var r,o,s,a;if(null==i&&(i=!1),a=t[e],null!=a){if(r=n[e]||0,o=Array.isArray(a)?a
.length-1:0,!(r>o))return s=Array.isArray(a)?a[r]:a,i&&(n[e]=r+1),s;if(i)throw n
ew Error("too few values provided for key `"+e+"`")}else if(i)throw new Error("n
o values provided for key `"+e+"`")},n=function(t,e,i){var r,o;if(Array.isArray(
t)){for(r=-1,o=t.length;++r<o;)if(n(t[r],e,i))return!0;return!1}switch(t.tag){ca
se"wildcard":return null!=u(e,"_",i,!1);case"named":return null!=u(e,t.value,i,!
1);case"static":return!1;case"optional":return n(t.value,e,i)}},f=function(t,e,i
){if(Array.isArray(t))return p(t,function(t){return f(t,e,i)});switch(t.tag){cas
e"wildcard":return u(e,"_",i,!0);case"named":return u(e,t.value,i,!0);case"stati
c":return t.value;case"optional":return n(t.value,e,i)?f(t.value,e,i):""}},e=fun
ction(t,n){var o,s,c,u,l;if(t instanceof e)return this.isRegex=t.isRegex,this.re
gex=t.regex,this.ast=t.ast,void(this.names=t.names);if(this.isRegex=t instanceof
RegExp,"string"!=typeof t&&!this.isRegex)throw new TypeError("argument must be
a regex or a string");if(this.isRegex){if(this.regex=t,null!=n){if(!Array.isArra
y(n))throw new Error("if first argument is a regex the second argument may be an
array of group names but you provided something else");if(o=h(this.regex),n.len

gth!==o)throw new Error("regex contains "+o+" groups but array of group names co
ntains "+n.length);this.names=n}}else{if(""===t)throw new Error("argument must n
ot be the empty string");if(l=t.replace(/\s+/g,""),l!==t)throw new Error("argume
nt must not contain whitespace");if(s={escapeChar:(null!=n?n.escapeChar:void 0)|
|a.escapeChar,segmentNameStartChar:(null!=n?n.segmentNameStartChar:void 0)||a.se
gmentNameStartChar,segmentNameCharset:(null!=n?n.segmentNameCharset:void 0)||a.s
egmentNameCharset,segmentValueCharset:(null!=n?n.segmentValueCharset:void 0)||a.
segmentValueCharset,optionalSegmentStartChar:(null!=n?n.optionalSegmentStartChar
:void 0)||a.optionalSegmentStartChar,optionalSegmentEndChar:(null!=n?n.optionalS
egmentEndChar:void 0)||a.optionalSegmentEndChar,wildcardChar:(null!=n?n.wildcard
Char:void 0)||a.wildcardChar},u=d(s),c=u.pattern(t),null==c)throw new Error("cou
ldn't parse pattern");if(""!==c.rest)throw new Error("could only partially parse
pattern");this.ast=c.value,this.regex=new RegExp(r(this.ast,s.segmentValueChars
et)),this.names=i(this.ast)}},e.prototype.match=function(t){var e,n;return n=thi
s.regex.exec(t),null==n?null:(e=n.slice(1),this.names?l(this.names,e):e)},e.prot
otype.stringify=function(t){if(null==t&&(t={}),this.isRegex)throw new Error("can
't stringify patterns generated from a regex");if(t!==Object(t))throw new Error(
"argument must be an object or undefined");return f(this.ast,t,{})},e.escapeForR
egex=c,e.concatMap=s,e.stringConcatMap=p,e.regexGroupCount=h,e.keysAndValuesToOb
ject=l,e.P=t,e.newParser=d,e.defaultOptions=a,e.astNodeToRegexString=r,e.astNode
ToNames=i,e.getParam=u,e.astNodeContainsSegmentsForProvidedParams=n,e.stringify=
f,e});
/* :asset_packager_compatibility, 'config/asset_packages.yml' @ 1478902339 */
/* public/javascripts/cookiejar.jquery.coffee @ 1478902339 */
(function(){var t;t=function(){function t(t){var e,n;this.options=$.extend({expi
res:3600,path:"",domain:".scribd.com",secure:""},t),""!==this.options.expires&&(
n=+new Date,e=new Date(n+1e3*this.options.expires),this.options.expires="; expir
es="+e.toGMTString()),""!==this.options.path&&(this.options.path="; path="+escap
e(this.options.path)),""!==this.options.domain&&(this.options.domain="; domain="
+escape(this.options.domain)),this.options.secure=this.options.secure?"; secure"
:""}return t.prototype.append_string="__CJ_",t.prototype.put=function(t,e){var n
,i,r;switch(t=this.append_string+t,typeof e){case"undefined":case"function":case
"unknown":return!1;case"boolean":case"string":case"number":e=e.toString()}n=t+"
= "+escape(JSON.stringify(e));try{return document.cookie=n+this.options.expires+
this.options.path+this.options.domain+this.options.secure,!0}catch(r){return i=r
,!1}},t.prototype.remove=function(t){var e,n,i,r,o;o=+new Date,r="; expires="+ne
w Date(o-36e5).toGMTString();try{return e=t+"="+r+this.options.path+this.options
.domain+this.options.secure,document.cookie=e,!0}catch(i){return n=i,!1}},t.prot
otype.get=function(t){var e;return t=this.append_string+t,(e=document.cookie.mat
ch(t+"=(.*?)(;|$)"))?$.parseJSON(unescape(e[1])):void 0},t.prototype.get_keys=fu
nction(){var t,e,n,i,r,o;for(i=[],n=new RegExp("^"+this.append_string),o=documen
t.cookie.match(/[^=; ]+(?=\=)/g),t=0,r=o.length;r>t;t++)e=o[t],e.match(n)&&i.pus
h(e);return i},t.prototype.empty=function(){var t,e,n,i,r;for(i=this.get_keys(),
r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.remove(e));return r},t}(),window.
CookieJar=t}).call(this);
/* public/javascripts/shared/scribd.translations.coffee @ 1478902339 */
(function(){Scribd.TranslationsAggregator=function(){function t(){}return t._att
empts=0,t.ready=!1,t.ready_fn=null,t.aggregate=function(){var t,e,n,i,r,o;if(nul
l==window.Scribd.translations){if(!(Scribd.TranslationsAggregator.attempts>10))r
eturn Scribd.TranslationsAggregator.attempts++,setTimeout(function(){return Scri
bd.TranslationsAggregator.aggregate()},200);console.error("no translations found
")}for(o={},i=window.Scribd.translations,e=0,n=i.length;n>e;e++)r=i[e],o=$.exten
d(!0,o,r);return I18n.translations=o,Scribd.TranslationsAggregator.ready=!0,"fun
ction"==typeof(t=Scribd.translations).ready_fn&&t.ready_fn(),$(document.body).tr
igger("scribd:translations:ready")},t}(),Scribd.with_translations=function(t){re
turn Scribd.TranslationsAggregator.ready?"function"==typeof t?t():void 0:(Scribd

.translations.ready_fn=t,$(document.body).one("scribd:translations:ready",functi
on(){var t;return"function"==typeof(t=Scribd.translations).ready_fn?t.ready_fn()
:void 0}))}}).call(this);
/* public/javascripts/jquery_global/base.coffee @ 1478902339 */
(function(){var t,e,n,i,r,o,s=[].slice;_&&(_.templateSettings={escape:/\{\{(?![&
])(.+?)\}\}/g,interpolate:/\{\{&(.+?)\}\}/g,evaluate:/\{\[(?![&])(.+?)\]\}/g}),$
(function(){try{if(Scribd.ie)return $(document.body).addClass("ie ie"+Scribd.ie)
}catch(t){}});try{i=$.deparam(location.search.slice(1)),null!=i.noanimate&&(e=["
-webkit-transition","-moz-transition","-ms-transition","transition"],o=e.map(fun
ction(t){return t+": none !important"}),n="* { "+o.join("; ")+" }",r=document.cr
eateElement("style"),r.type="text/css",null!=r.styleSheet?r.styleSheet.cssText=n
:r.appendChild(document.createTextNode(n)),document.head.appendChild(r),$.fx.off
=!0,Scribd.noanimate=!0)}catch(a){}Scribd.jsblock=$.Deferred(),Scribd.initFBElem
ent=function(t){return window.FB?FB.XFBML.parse(t):setTimeout(function(){return
Scribd.initFBElement(t)},300)},Scribd.truncate=function(t,e){return null==e&&(e=
60),t.replace(new RegExp("^(.{"+(e-3)+"})[\\s\\S]*$"),function(t,e){return e.rep
lace(/\s+$/,"")+"..."})},Scribd.logging_enabled=!1||window.location.href.match(/
#.*log/i),Scribd.ensure_reload_on_back_button=function(){return-1!==window.locat
ion.hash.indexOf("rel")&&(window.location.hash=window.location.hash.replace("rel
",""),window.location.reload()),window.location.hash=window.location.hash+"rel"}
,Scribd.log=function(t,e,n){var i;return null==n&&(n="log"),Scribd.logging_enabl
ed&&(null!=(i=window.console)?i[n]:void 0)&&(console[n](t),e)?console[n](e):void
0},Scribd.log_perceived_page_load_time=function(t,e){var n,i,r,o,s;return null=
=e&&(e={}),s=e.time||+new Date,n=e.action||"Metrics",o="perceived_load_time:"+(S
cribd.named_current_user()?"logged_in":"logged_out"),r=e.prefix?e.prefix+":"+o:o
,window.performance&&window.performance.timing?(i=s-window.performance.timing.fe
tchStart,$(document.body).track({category:t,action:n,label:r,params:{elapsed_tim
e:i},interactive:!1})):void 0},Scribd.log_error=function(t,e){return Scribd.log(
t,e,"error")},Scribd.has_flash=function(){var t,e,n;try{if(n=new ActiveXObject("
ShockwaveFlash.ShockwaveFlash"))return!0}catch(e){if(t=e,void 0!==navigator.mime
Types["application/x-shockwave-flash"])return!0}return!1},Scribd.with_login=func
tion(t,e){return"function"==typeof t&&(e=t,t={}),Scribd.logged_in?"function"==ty
peof e?e():void 0:Scribd.SignIn.open($.extend({initial_view:"login"},t))},Scribd
.after_login=function(t,e){return"function"==typeof t&&(e=t,t={}),Scribd.with_lo
gin($.extend({next_url:$.Deferred().done(e)},t),e)},Scribd.parse_parameters=func
tion(t){var e,n,i,r,o,s,a,c,u;for(e=t.charAt(0),("#"===e||"?"===e)&&(t=t.substr(
1)),o={},a=t.split("&"),n=0,r=a.length;r>n;n++)s=a[n],""!==s&&(c=s.split("="),i=
c[0],u=c[1],o[decodeURIComponent(i).replace(/\+/g," ")]=null!=u?decodeURICompone
nt(u).replace(/\+/g," "):!0);return o},Scribd.add_url_parameter=function(t,e,n){
var i,r,o;return r=t.indexOf("#"),i="",r>=0&&(i=t.substr(r),t=t.substr(0,r)),o=n
ew RegExp("&?"+e+"=[^&]*","g"),t=t.replace(o,""),t+=t.indexOf("?")>=0?/[?]$/.tes
t(t)?e+"="+n:"&"+e+"="+n:"?"+e+"="+n,t+i},Scribd.add_url_parameters=function(t,e
){var n,i;for(n in e)i=e[n],t=Scribd.add_url_parameter(t,n,e[n]);return t},Scrib
d.with_local_storage=function(){var t;return t=function(){var t,e,n,i;i="test",n
=window.sessionStorage;try{return n.setItem(i,"1"),n.removeItem(i),!0}catch(e){r
eturn t=e,!1}},function(e){return t()?e(window.localStorage):void 0}}(),Scribd.w
ith_named_current_user=function(t){return"function"==typeof t?t(Scribd.named_cur
rent_user()):void 0},Scribd.set_named_current_user=function(t){return Scribd.cur
rent_user=t},Scribd.named_current_user=function(){return Scribd.current_user&&!S
cribd.current_user.anonymous?Scribd.current_user:void 0},Scribd.with_anonymous_c
urrent_user=function(t){var e;return(e=Scribd.anonymous_current_user())&&"functi
on"==typeof t?t(e):void 0},Scribd.anonymous_current_user=function(){return Scrib
d.current_user&&Scribd.current_user.anonymous?Scribd.current_user:void 0},Scribd
.named_current_user_sync=Scribd.named_current_user,Scribd.anonymous_current_user
_sync=Scribd.anonymous_current_user,Scribd.UrlFor={document:function(t){return"/
doc/"+t}},Scribd.CSRF={get_csrf_params:function(){return this.ensure_token_initi
alized(),this.csrf_params},get_csrf_name:function(){return this.ensure_token_ini
tialized(),this.param},get_csrf_value:function(){return this.ensure_token_initia

lized(),this.token},get_csrf_debug:function(){return this.debug_str},with_token:
function(t){return null==t&&(t={}),"string"===$.type(t)?t+"&"+$.param(this.get_c
srf_params()):$.extend(t,this.get_csrf_params())},ensure_token_initialized:funct
ion(){var t;return this.token_initialized?void 0:(this.debug_str="",this.param=$
("meta[name=csrf-param]").attr("content"),this.token=$("meta[name=csrf-token]").
attr("content"),this.token||(this.debug_str+="1"),this.token||(t={href:window.lo
cation.href},$.ajax({type:"POST",url:"https://www.scribd.com/csrf_token?"+$.para
m(t),async:!1,cache:!1,skip_csrf:!0,success:function(t){return function(e,n){ret
urn e.csrf_token?(t.token=e.csrf_token,t.debug_str+="3"):t.debug_str+="-2-"+enco
deURIComponent(JSON.stringify(e))+"-"+n+"-"+window.location.href+"-"}}(this),err
or:function(t){return function(e,n,i){return t.debug_str+="-4-"+e.status+"-"+enc
odeURIComponent(n)+"-"+encodeURIComponent(i)+"-"+window.location.href+"-"}}(this
)})),this.token||(this.debug_str+="5"),this.csrf_params={},null!=this.param&&nul
l!=this.token&&(this.csrf_params[this.param]=this.token),this.token_initialized=
!0)}},$.ajaxPrefilter(function(t,e,n){var i,r,o;return n.setRequestHeader("X-Tri
ed-CSRF","1"),o=!1,t.crossDomain&&t.url.match(/^https?:\/\/[^.]+.scribd.com\//)&
&(n.setRequestHeader("X-Requested-With","XMLHttpRequest"),t.xhrFields={withCrede
ntials:!0},o=!0),t.crossDomain&&!o||!t.type||"get"===t.type.toLowerCase()||e.ski
p_csrf?(r="",t.crossDomain&&(r+="1"),t.type||(r+="2"),t.type&&"get"===t.type.toL
owerCase()&&(r+="3"),e.skip_csrf&&(r+="4"),n.setRequestHeader("X-CSRF-Failed",r)
):(i=Scribd.CSRF.get_csrf_value(),i?n.setRequestHeader("X-CSRF-Token",i):(n.setR
equestHeader("X-CSRF-Failed","5"),n.setRequestHeader("X-CSRF-Debug",Scribd.CSRF.
get_csrf_debug())))}),Scribd.JSONCookie=function(){function t(t,e){var n;this.na
me=t,this.jar=e||new CookieJar({path:"/",expires:""}),n=this.jar.get(name)||{},"
string"==typeof n&&(n=$.parseJSON(n)),this.store=_.clone(n)}return t.prototype.s
et=function(t,e){return this.store[t]=e},t.prototype.unset=function(t){return de
lete this.store[t]},t.prototype.get=function(t){return this.store[t]},t.prototyp
e.save=function(){return this.jar.put(this.name,JSON.stringify(this.store))},t}(
),$.easing.ease_in_out_cubic=function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/
2*((e-=2)*e*e+2)+n},$.fn.tap=function(t){return t.call(this,this),this},$.fn.abs
olutize=function(){return this.each(function(){var t,e,n,i,r,o;return t=jQuery(t
his),"absolute"===t.css("position")?t:(i=t.position(),r=i.top,n=i.left,o=t[0].cl
ientWidth,e=t[0].clientHeight,t._originalLeft=n-parseFloat(t.css("left")||0),t._
originalTop=r-parseFloat(t.css("top")||0),t._originalWidth=t.css("width"),t._ori
ginalHeight=t.css("height"),t.css("position","absolute"),t.css("top",r+"px"),t.c
ss("left",n+"px"),t.css("width",o+"px"),t.css("height",e+"px"),t)})},$.fn.viewpo
rtOffset=function(){var t,e;return t=$(this).offset(),e=$.fn.viewportOffset.win,
t?{left:t.left-e.scrollLeft(),top:t.top-e.scrollTop()}:void 0},$.fn.viewportOffs
et.win=$(window),$.fn.has_expandable_text=function(t){return this.on("click",".t
runcated_more, .truncated_less",function(e){var n;return n=$(e.currentTarget).cl
osest(".truncated_text").find(".truncated_short").toggle().end().find(".truncate
d_long").toggle(),"function"==typeof t?t(n):void 0}),this},$.fn.event_promise=fu
nction(t){var e;return e=$.Deferred(),this.one(t,function(){return e.resolve()})
,e},$.easing.smoothstep=function(t){return t*t*t*(t*(6*t-15)+10)},$.fn.dispatch=
function(t,e,n){return"click"===t&&(t="click contextmenu"),this.on(t,function(i)
{var r,o,s,a,c,u;u=$(i.target);for(s in e)if(o=e[s],a=null,u.hasClass(s)||0!==(a
=u.closest("."+s)).length){if(r=a||u,r.hasClass("disabled"))return!1;if(r.data("
track")||r.data("track",s),r.track({action:t.split(" ")[0]}),r.trigger("scribd:t
rack_rats_ga"),"contextmenu"===i.type)return;if(c=null!=o?o.call(n,r,i):void 0,"
continue"!==c)return!1}return null}),this},$.fn.restrict_money=function(){var t,
e,n;return n=/\d/,t=/\./,e=/^\d*(\.\d{0,2})?/,this.keypress(function(e){var i,r,
o;if(e.keyCode>=32){if(i=String.fromCharCode(e.keyCode),o=$(this).val(),r=o.matc
h(t),"."===i){if(r)return!1}else if(!i.match(n))return!1;return!0}}),this.change
(function(){var t,n,i;return t=$(this),n=null!=(i=t.val().match(e))?i[0]:void 0,
t.val()!==n?t.val(n):void 0}),this},$.fn.restrict_numeric=function(t){return thi
s.on("keypress",function(e){var n,i;if(i=e.which,n=String.fromCharCode(i),!e.ctr
lKey&&!e.metaKey){switch(i){case 46:if(t.allow_period!==!1)return;break;case 9:c
ase 8:case 36:case 37:case 38:case 39:case 40:case 27:case 13:return}return n.ma
tch(/[0-9]/g)?void 0:!1}})},$.fn.flash=function(t,e){var n,i,r;return i=t||"#FFF
F9C",n=e||1500,this.data("original_bg")||this.data("original_bg",this.css("backg

round-color")),r=this.data("original_bg"),this.stop(!1,!0).css("backgroundColor"
,i).animate({backgroundColor:r},n)},$.fn.placeholder_text=function(t){var e,n,i,
r;for(n=function(e){var n;return e=$(e),n=t||e.data("default_text"),e.val()&&e.v
al()!==n?void 0:e.val(n).addClass("inactive")},i=0,r=this.length;r>i;i++)e=this[
i],n(e);return this.on("focus",function(){var n;return e=$(this),n=t||e.data("de
fault_text"),e.val()===n&&e.is(".inactive")&&e.val(""),e.removeClass("inactive")
,"function"==typeof on_focus?on_focus(e):void 0}),this.on("blur",function(){retu
rn e=$(this),e.val()?void 0:e.val(t||e.data("default_text")).addClass("inactive"
)}),this},$.fn.select_on_focus=function(){return this.on("focus",function(){retu
rn $(this).select(),this.onmouseup=function(t){return function(){return t.onmous
eup=null,!1}}(this),!1})},$.fn.input_character_countdown=function(t){var e,n;ret
urn e=$(this),n=e.prop("maxlength"),e.on("input propertychange",function(){retur
n function(e){var i;return i=$(e.target),"function"==typeof t?t({current_charact
er_count:i.val().length,max_character_count:n,remaining:n-i.val().length}):void
0}}(this))},$.fn.parallax_background=function(t,e,i){var r,o,s;return null==t&&(
t=390),null==e&&(e=150),null==i&&(i=!1),i&&("undefined"!=typeof Modernizr&&null!
==Modernizr?Modernizr.csstransforms:void 0)?(r=this,s=$(window),r.on_scroll&&s.o
ff(r.on_scroll),o=function(){return function(){var i,o,a;return a=s.scrollTop(),
o=Math.min(1,a/t),i=Math.floor(e*o),n={},n[Modernizr.prefixed("Transform")]="tra
nslate3d(0,"+i+"px, 0)",r.css(n)}}(this),r.on_scroll=o,o(),s.on("resize scroll",
o)):void 0},$.fn.parallax_folds=function(){},Scribd.vertically_center=function(t
){var e,n,i,r,o,s,a,c,u;for(a=t.find(".centered"),c=[],i=0,r=a.length;r>i;i++)e=
a[i],e=$(e),o=e.closest(".content_layer"),s=o.height(),n=e.outerHeight(),u=Math.
floor((s-n)/2),c.push(e.css("marginTop",u+"px"));return c},Scribd.fully_visible=
function(t){var e;return e=t.getBoundingClientRect(),e.top>=0&&e.left>=0&&e.bott
om<=$(window).height()&&e.right<=$(window).width()},$.fn.scrolled_into_viewport=
function(t){var e,n,i;return e=this,i=_.throttle(function(){return function(){re
turn n(e)}}(this)),e.data("scrolled_into_viewport_callback",i),n=function(e){var
n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(Scribd.fully_visible(n)?t
(n):void 0);return o},n(e),$(window).on("scroll",i)},window.jkstrp=function(t,e)
{return $(function(){var n,i,r;try{return t()}catch(i){throw n=i,r=""+navigator.
userAgent,$(document.body).track({category:"Error",action:e+" :: "+r,label:n.sta
ck||n.message}),n}})},Scribd.escape_regexp=function(t){return String(t).replace(
/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},Scribd.escape_html=function(t){return t.re
place(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},Scribd.strip_html
=function(t){var e;return e=document.createElement("div"),e.innerHTML=t,e.textCo
ntent||e.innerText},Scribd.get_referrer_and_keywords=function(t){var e,n,i,r;ret
urn null==t&&(t=document.referrer),r=t.split("/")[2]||"none",e=null,i=function()
{switch(r){case"www.google.com":case"www.bing.com":return"q";case"search.yahoo.c
om":return"p"}}(),(n=t.match(new RegExp("[^w]"+i+"=([^&]*)")))&&(e=n[1]),[r,e]},
Scribd.template=_.memoize(function(t){var e;return e=null,function(n){var i;if(n
ull==e){if(i=$("#tpl_"+t).html(),!i)throw"Failed to find template named #tpl_"+t
;e=_.template(i)}return e(n)}}),Scribd.Events="undefined"!=typeof Backbone&&null
!==Backbone?Backbone.Events:void 0,Scribd.Promise=t="undefined"!=typeof jQuery&&
null!==jQuery?jQuery.Deferred:void 0,Scribd.no_default=function(t){return functi
on(){var e,n;return e=1<=arguments.length?s.call(arguments,0):[],n=_.first(e),nu
ll!=n&&n.preventDefault(),t.apply(this,e)}},Scribd.load_image=function(e){var n,
i;return i=new t,n=new Image,n.onload=function(){return i.resolve(this)},n.onerr
or=function(){return i.reject(this)},n.src=e,i},Scribd.nway_test_pick_choice=fun
ction(t){var e,n,i,r,o,s;if(n=_.pairs(t),r=_.sortBy(n,function(t){return t[0]}),
!_.isEmpty(r)){for(s=_.reduce(r,function(t,e){var n;return n=e[1].weight,n+t},0)
,e=_.random(0,s-1),i=null;e>=0;)i=r.shift(),o=i[1].weight,e-=o;if(i)return{id:i[
0],name:i[1].name,weight:i[1].weight}}},Scribd.nway_test_force_group=function(t,
e,n){var i,r,o,s,a,c,u,l;if(null==n&&(n="nwt"),l="undefined"!=typeof Scribd&&nul
l!==Scribd&&null!=(c=Scribd.NwayTestsWithWeights)?c[t]:void 0,!l)return void con
sole.warn("trying to force test "+t+", but it doesn't exist");o=new CookieJar({p
ath:"/",expires:63072e3}),a=o.get(n),a||(a={}),u=l.choices;for(s in u)if(i=u[s],
i.name===e){if(r=parseInt(s,10),a["nw"+l.id]===r)return;return a["nw"+l.id]=r,o.
put(n,a),$rat("nway_assignments",{test:{id:l.id,name:t,choices:l.choices},choice
:{id:r,name:i.name,weight:i.weight}}),$rat.root().flushEvents(),void $(document.

body).track({category:"NwayAssignments",action:t,label:i.name,interactive:!1})}r
eturn console.warn("tried to force test "+t+", but couldn't find choice "+e)},Sc
ribd.nway_test_choice_value=function(t,e){var n,r,o,s,a,c,u;if(null==e&&(e="nwt"
),i=$.deparam(location.search.slice(1)),i.nway_test_name===t&&null!=i.nway_test_
value)return isNaN(i.nway_test_value)?i.nway_test_value:Number(i.nway_test_value
);if(u="undefined"!=typeof Scribd&&null!==Scribd&&null!=(c=Scribd.NwayTestsWithW
eights)?c[t]:void 0){if(o=new CookieJar({path:"/",expires:63072e3}),s=o.get(e),s
||(s={}),a=s["nw"+u.id]){if(r=u.choices[a],Scribd.jsblock.done(function(){return
function(){return $(document.body).track({category:"NwayRead",action:t,label:(n
ull!=r?r.name:void 0)||"unknown",interactive:!1})}}(this)),!r)return;return r.na
me}if(n=Scribd.nway_test_pick_choice(u.choices))return s["nw"+u.id]=parseInt(n.i
d),o.put(e,s),Scribd.jsblock.done(function(){return function(){return $rat("nway
_assignments",{test:{id:u.id,name:t,choices:u.choices},choice:n}),$rat.root().fl
ushEvents(),$(document.body).track({category:"NwayAssignments",action:t,label:n.
name})}}(this)),n.name}},Scribd.default_free_trial_days=function(){return 30},Sc
ribd.trial_cta=function(t,e){switch(null==t&&(t=Scribd.default_free_trial_days()
),null==e&&(e=I18n.t("helpers.trial.start_your_free_trial")),t){case 360:return
I18n.t("helpers.trial.start_your_free_year");case 60:return I18n.t("helpers.tria
l.start_your_free_two_months");case 30:return I18n.t("helpers.trial.start_your_f
ree_month");case 14:return I18n.t("helpers.trial.start_your_free_14_days");case
7:return I18n.t("helpers.trial.start_your_free_week");default:return e}},Scribd.
trial_duration_text=function(t){switch(null==t&&(t=Scribd.default_free_trial_day
s()),t){case 360:return I18n.t("helpers.trial.one_year");case 60:return I18n.t("
helpers.trial.two_months");case 30:return I18n.t("helpers.trial.one_month");case
14:return I18n.t("helpers.trial.two_weeks");case 7:return I18n.t("helpers.trial
.one_week");case 1:return I18n.t("helpers.trial.trial_days_day",{trial_days:t});
default:return I18n.t("helpers.trial.trial_days_days",{trial_days:t})}},Date.utc
Epoch=function(){return Math.floor(Date.utcNow()/1e3)},Date.utcNow=function(){va
r t;return t=new Date,t.getTime()+6e4*t.getTimezoneOffset()},window.Date.now||(w
indow.Date.now=function(){return(new Date).getTime()}),String.prototype.capitali
ze=function(){return this.charAt(0).toUpperCase()+this.slice(1)},Scribd.Set=func
tion(){function t(t,e){this.elements=t,this.eq_fn=e,this.elements=this.elements|
|[]}return t.prototype.push=function(t){return this.included(t)||this.elements.p
ush(t),this},t.prototype.count=function(){return this.elements.length},t.prototy
pe.included=function(t){return this.index(t)>-1},t.prototype.index=function(t){v
ar e,n,i,r,o;for(o=this.elements,n=i=0,r=o.length;r>i;n=++i)if(e=o[n],this.eq_fn
(t,e))return n;return-1},t.prototype.toggle=function(t){return this.included(t)?
this.elements.splice(this.index(t),1):this.push(t),this},t}()}).call(this);
/* public/javascripts/jquery_global/tracker.coffee @ 1478902339 */
(function(){var t,e={}.hasOwnProperty,n=[].slice;Scribd.Tracker=function(){funct
ion t(t){this.container=$(t),this.setup_events()}return t.prototype.create_ratho
le=function(){return this.rathole&&this.rathole.length?this.rathole:$(".rathole"
).length?this.rathole=$(".rathole"):($("body").append("<div class='rathole' styl
e='z-index:999999;position:fixed;bottom: 0; height:1px'></div>"),this.rathole=$(
".rathole"))},t.prototype.setup_events=function(){return Scribd.logging_enabled&
&(this.create_rathole(),$(document).on("scribd:rats_event",function(t){return fu
nction(n,i,r){var o,s,a,c;if(null==i&&(i=""),null==r&&(r={}),o=$.extend({},r),o.
label=i,null!=t.rathole){a=$("<span></span>");for(s in o)e.call(o,s)&&(c=o[s],a.
attr("data-"+s,c));return t.rathole.append(a)}return console.log("no rathole for
some raisin")}}(this))),this.container.on("scribd:track",function(t){return fun
ction(e,n){var i;return null==n&&(n={}),e.stopPropagation(),i=$(e.target),i.data
("scribd_tracked",!0),t.send(t.element_data(i,e,n))}}(this)),this.container.on("
scribd:track_rats_ga",function(t){return function(e){var n;return n=$(e.target),
t.send_rats.apply(t,t.element_rats(n,e))}}(this)),this.container.on("scribd:trac
k_rats",function(t){return function(e,n,i){var r;return null==n&&(n=""),null==i&
&(i={}),r=$(e.target),t.track_rats(r,n,i)}}(this)),this.container.on("ajax:send"
,"form[data-track]",function(t){return function(e){var n,i;return n=$(e.currentT
arget),i=t.element_data(n,e),i.action="submit",t.send(i)}}(this)),this.container

.on("click contextmenu","[data-track]",function(t){return function(e){var n,i,r;


if(!$(e.currentTarget).data("scribd_tracked")&&!$(e.currentTarget).is("form[data
-track]")&&(r=$(e.currentTarget),""!==r.data("track")&&t.send(t.element_data(r,e
)),t.send_rats.apply(t,t.element_rats(r,e)),!e.metaKey&&(n=$(e.target).closest("
a"),n.length&&n.attr("href")&&!n.data("remote")&&"contextmenu"!==e.type&&"_blank
"!==n.attr("target")&&(i=!1,n.trigger("scribd:should_skip_link_delay",[function(
){return i=!0},e]),!i))))return setTimeout(function(){return window.location=n.a
ttr("href")},100),e.stopPropagation()}}(this))},t.prototype.element_rats=functio
n(t,e){var i,r,o,s,a,c,u,l;return o=[t.data("track_rats_value")||{}].concat(n.ca
ll(function(){var e,n,i,r;for(i=t.parents("[data-track_rats_value]"),r=[],e=0,n=
i.length;n>e;e++)l=i[e],r.push($(l).data("track_rats_value")||{});return r}())),
o.reverse(),c=$.extend.apply($,[{}].concat(n.call(o))),a=t.closest("[data-track_
rats]").data("track_rats"),t.data("override_rats_name")&&(a=t.data("override_rat
s_name")),$.isEmptyObject(c)?[]:("contextmenu"===(null!=e?e.type:void 0)&&(c.eve
nt_name="contextmenu"),a||(u=this.element_data(t,e),r=u.category,i=u.action,s=u.
label,s&&""!==s||(s=t.closest("[data-track]").data("track")),a=""+r+(i?"_"+i:"")
+(s?"_"+s:"")),[a,c])},t.prototype.element_data=function(t,e,n){var i,r,o,s,a,c;
return null==n&&(n={}),i=$(t),a=this.namespace(i),s=a[0],o=a[1],r={action:n.acti
on||(null!=e?e.type:void 0),category:n.category||s,label:n.label||"",value:Scrib
d.named_current_user_sync()?1:0,interactive:null!=(c=n.interactive)?c:!0},"scrib
d:track"===r.action&&console.info("scribd_tracker: got event 'scribd:track', did
you forget to set a track_category or action?"),i.data("track")&&(r.label=i.dat
a("track")),null!=n.params&&(r.params=n.params),o.length&&r.label?r.label=o+":"+
r.label:o.length&&(r.label=o),i.data("track_params")&&(r.params=null!=n.params?_
.extend(n.params,i.data("track_params")):i.data("track_params")),_.isString(r.pa
rams)&&(r.params={action:r.params}),r},t.prototype.namespace=function(t){var e;r
eturn null==t&&(t=this.container),e=this.location_data(t),[e.shift(),e.join(":")
]},t.prototype.location_data=function(t){var e,n,i;return null==t&&(t=this.conta
iner),i=function(){var i,r,o,s;for(o=t.parents("[data-track_category]"),s=[],i=0
,r=o.length;r>i;i++)n=o[i],e=$(n),_.isEmpty(e.data("track_category"))||s.push(e.
data("track_category"));return s}(),i=_.flatten(i),i=_.compact(i),t.data("track_
category")&&i.unshift(t.data("track_category")),i.reverse()},t.prototype.send=fu
nction(t){var n,i,r,o,s,a,c,u,l,d,h,p;if(n=t.action,i=t.category,u=t.label,p=t.v
alue,a=t.interactive,t.params&&(r=function(){var n,i;n=t.params,i=[];for(c in n)
e.call(n,c)&&(h=n[c],i.push(c+":"+h));return i}(),r.length&&(u+=" "+r.join(", ")
),u=_.str.trim(u)),!i)return console.error("scribd_tracker: no category provided
");l=new Scribd.RatsTracker("ga_"+i,{},{flush:!1}),l.send({action:n,label:u}),Sc
ribd.logging_enabled&&console.log("%cga","background-image: -webkit-gradient( li
near, left top, right top, color-stop(0.0, red), color-stop(0.3, purple), colorstop(0.6, blue), color-stop(1.0, green));\ncolor:transparent;\nfont-weight: bold
;\nfont-size: 150%;\n-webkit-background-clip: text;",[i,n,u,p,a]);try{if(_gaq.pu
sh(["_trackEvent",i,n,u,p,a]),ga("send","event",i,n,u,p,a),null!=(d=Scribd.named
_current_user_sync())?d.pmp_subscriber:void 0)return ga("pmp_users.send","event"
,i,n,u,p,a)}catch(s){return o=s,Scribd.log("couldn't log last event with GA")}},
t.prototype.send_rats=function(t,e){return t&&e?($rat(t,e),$rat.root().flushEven
ts()):void 0},t.prototype.track_rats=function(t,e,n){var i,r,o,s;null==n&&(n={})
,o=this.location_data(t),i={location:o,page:o.shift()};for(r in i)s=i[r],_.isEmp
ty(s)||null==n[r]&&(n[r]=s);return $rat(e,n),$rat.root().flushEvents()},t}(),Scr
ibd.RatsTracker=function(){function t(t,e,n){this.category=t,this.default_data=n
ull!=e?e:{},this.opts=null!=n?n:{}}return t.type="rats_tracker",t.prototype.send
=function(t,e){return null==e&&(e=this.category),"string"!=typeof t?($rat(e,_.ex
tend(this.default_data,t)),this.opts.flush!==!1?$rat.root().flushEvents():void 0
):void 0},t}(),Scribd.track_optimizely=function(t){return window.optimizely||(wi
ndow.optimizely=[]),Scribd.log("Optimizely trackEvent: "+t),window.optimizely.pu
sh(["trackEvent",t])},t=Scribd._split_ga_category=function(t){var e,n;return n="
",(e=t.match(/^(.*):(.+)$/))&&(n=e[2]+"_",t=e[1]),[t,n]},Scribd.track_rat_ga_eve
nt=function(t,e,n){return"function"==typeof $rat&&$rat(t+"."+e,n),"undefined"!=t
ypeof $rat&&null!==$rat?$rat.root().flushEvents():void 0},Scribd.track_event=fun
ction(t,e,n,i,r){return console.info("scribd_tracking: track_event has been depr
ecated",arguments),Scribd.tracker||(Scribd.tracker=new Scribd.Tracker(document))

,Scribd.tracker.send({category:t,action:e,label:n,value:i,interactive:r})},windo
w.trackEvent=Scribd.track_event,Scribd.is_tracker=function(t){return"function"==
typeof t&&t.is_tracker},Scribd.make_tracker=function(t,e){return null==e&&(e={})
,console.info("scribd_tracking: 'make_tracker' is deprecated",arguments),functio
n(){return console.info("scribd_tracking: 'make_tracker' is deprecated",argument
s)}},$.fn.delegate_tracking=function(){return console.info("delegate_tracking ha
s been deprecated",arguments)},$.fn.track=function(t){return this.trigger("scrib
d:track",[t])},$.fn.track_rats=function(t,e){return this.trigger("scribd:track_r
ats",[t,e])}}).call(this);
/* public/javascripts/jquery_global/pingback.coffee @ 1478902339 */
(function(){Scribd.send_pingback=function(t){var e,n,i;return i=t.join(""),("und
efined"!=typeof navigator&&null!==navigator&&null!=(n=navigator.userAgent)?n.mat
ch(/Google (Web|Instant) Preview/):0)?void 0:(e={},document.referrer&&(e.referer
=document.referrer),$.ajax({type:"POST",url:i,data:e,skip_csrf:!0}))}}).call(thi
s);
/* public/javascripts/jquery_global/lightbox.coffee @ 1478902339 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=[].slice,n=function(t,e){function n(){this.constructor=t}for(var r in e)i.call
(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=
e.prototype,t},i={}.hasOwnProperty;Scribd.Lightbox=function(){function n(e,n){nu
ll==n&&(n=!0),this.set_title=t(this.set_title,this),this.container=$(e).on("scri
bd:lightbox_reshape",function(t){return function(){return t.set_position()}}(thi
s)),this.container.data("lightbox_obj",this),n&&(this.container.closest(Scribd.L
ightbox.lightboxes).length||this.container.appendTo(Scribd.Lightbox.lightboxes))
}return n.prototype.offset_top=80,n.current_open=null,n.stacked=!1,n.initialize=
function(){return $(function(t){return function(){var e;return t.lightboxes=$("#
lightboxes"),$(document).keydown(function(e){return 27===e.keyCode&&t.current_op
en&&t.current_open.user_closable()&&!t.stacked?(t.close(),e.preventDefault()):vo
id 0}),t.lightboxes.on("click",".close_button, .close_link, .close_lb_btn",funct
ion(){return t.stacked?void 0:t.close()}),t.lightboxes.on("click",function(e){va
r n;return n=$(e.target),!n.closest(".lightbox").length&&n.closest(document.body
).length&&t.current_open&&t.current_open.user_closable()&&!t.stacked?t.close():v
oid 0}),e="https://s1-f.scribdassets.com/images/petunia/spinner/spinner_60.gif?1
478902339",t.create("loading_lb",{content:'<div class="scribd_spinner" data-size
="60">'}),$(document).trigger("ScribdLightboxInitialized"),"function"==typeof Sc
ribd.init_spinners?Scribd.init_spinners():void 0}}(this))},n.fade_in_overlay=fun
ction(t,e,i){return null==t&&(t=""),null==e&&(e=""),null==i&&(i=200),clearTimeou
t(n._fade_out_overlay_timeout),n.overlay||(n.overlay=$('<div id="overlay"></div>
').hide().appendTo("body").on("click",function(){return n.current_open&&n.curren
t_open.user_closable()?(n.close(),!1):void 0})),n.overlay.css({"background-color
":e,opacity:t}).fadeIn({duration:i})},n.fade_out_overlay=function(){return n.ove
rlay.fadeOut({duration:200})},n.create=function(t,e){var n,i,r;return null==e&&(
e={}),n=$("#"+t),n&&n.length&&n.remove(),e=$.extend({close:!1},e),i=$('<div clas
s="lightbox '+(e["class"]||"")+'" id="'+t+'">\n <div class="wrapper">\n
<div
class="content"></div>\n </div>\n</div>').hide(),r=i.find(".wrapper"),e.title&
&$('<div class="title"></div>').text(e.title).prependTo(r),e.close&&r.prepend('<
div class="close_button sprite close"></div>'),this.lightboxes.append(i),e.style
&&i.css(e.style),e.content&&i.find(".content").html(e.content),i},n.open=functio
n(){var t,n,i,r,o,s,a;if(r=arguments[0],t=arguments[1],n=3<=arguments.length?e.c
all(arguments,2):[],null==t&&(t=Scribd.Lightbox),this!==Scribd.Lightbox)return(a
=Scribd.Lightbox).open.apply(a,[r,this].concat(e.call(n)));if(t._is_react_factor
y)return this.open_react(r,t);if(s=$("#"+r),!s.length)throw"failed to find light
box: "+r;return s.is("script")&&(i=s.data("template")||s.html(),s=$(i).replaceAl
l(s),Scribd.init_spinners(s)),o=s.data("lightbox_obj"),o||(o=function(t,e,n){n.p
rototype=t.prototype;var i=new n,r=t.apply(i,e);return Object(r)===r?r:i}(t,[s].
concat(e.call(n)),function(){})),o.id=r,o.show(),o},n.open_react=function(t,e){v

ar n,i,r;return n=this.lightboxes.find("#"+t),n.length||(n=$('<div class="react_


lightbox" />').attr("id",t).appendTo(this.lightboxes)),e=ReactDOM.render(e,n[0])
,i=null!=(r=e.state)?r.lightbox:void 0,i||(i=new Scribd.Lightbox(e.container(),!
1),e.setState({lightbox:i}),"function"==typeof e.componentLightboxInitialized&&e
.componentLightboxInitialized()),i.show(),e},n.close=function(t){var e;return nu
ll==t&&(t=!0),this.current_open?(t&&this.fade_out_overlay(),(e=this.current_open
)?(this.current_open=null,e.hide(),e.container.trigger("Scribd:lightbox:closed")
,$(document.body).removeClass("lightbox_open fix_viewport")):void 0):void 0},n.o
pen_from_object=function(){var t,n,i,r,o;return i=arguments[0],r=arguments[1],t=
arguments[2],n=4<=arguments.length?e.call(arguments,3):[],null==t&&(t=null),this
!==Scribd.Lightbox?(o=Scribd.Lightbox).open_from_object.apply(o,[i,r,this].conca
t(e.call(n))):(i&&$("#"+i).remove(),"string"===$.type(r)||r instanceof $?i=$(r).
appendTo(this.lightboxes).attr("id")||i:this.create(i,$.extend({close:!0},r)),th
is.open.apply(this,[i,t].concat(e.call(n))))},n.remote_open=function(t,e,n,i){va
r r,o,s;return null==n&&(n={}),null==i&&(i=null),this!==Scribd.Lightbox?Scribd.L
ightbox.remote_open(t,e,n,this):(s="POST",$.isPlainObject(t)&&(o=t,t=o.id,e=o.ur
l,r=o.on_error,i=o.T||i,s=o.method||s,n=o.params||n),(null!=o?o.show_loading:voi
d 0)?"function"==typeof o.show_loading&&o.show_loading():this.show_loading(),$.a
jax({url:e,data:n,type:s,dataType:(null!=o?o.dataType:void 0)||"html",error:r,su
ccess:function(){return function(e){var n,r;return $.isPlainObject(e)&&(n=e.opts
),(null!=e?e.content:void 0)?e=e.content:(null!=e?e.props:void 0)&&(e=e.props),r
=Scribd.Lightbox.open_from_object(t,$(e),i,n),null!=o&&"function"==typeof o.afte
r_open&&o.after_open(r),"function"==typeof Scribd.init_spinners?Scribd.init_spin
ners():void 0}}(this),error:function(){return function(e,n,i){return $(document.
body).track({category:"errors",action:"lightbox",label:t+" "+n+":"+i}),Scribd.Li
ghtbox.close(),null!=o&&"function"==typeof o.on_error?o.on_error():void 0}}(this
)}))},n.show_loading=function(){return this.open("loading_lb")},n.prototype.user
_closable=function(){return this.container.find(".close_button, .close_lb_btn").
length>0},n.prototype.set_title=function(t){var e;return e=this.container.find("
.title"),e.length||(e=this.container.find(".content").before('<div class="title"
></div>').prev(".title")),e.text(t)},n.prototype.hide=function(){return this.sho
w_flash(!1),this.container.hide()},n.prototype.close=function(t){return null==t&
&(t=!0),Scribd.Lightbox.current_open===this?Scribd.Lightbox.close(t):void 0},n.p
rototype.transition=function(t,e){return null!=t&&t.hide(this),this.container.fa
deIn("fast"),"function"==typeof e?e():void 0},n.prototype.show_flash=function(t,
e,n){return null==t&&(t=!1),null==e&&(e=""),null==n&&(n=3e3),this.flash=this.con
tainer.find(".inline_flash"),t===!1?void this.flash.stop().slideUp():(this.flash
.text(t).removeClass("error success").addClass(e).slideDown(),n?setTimeout(funct
ion(t){return function(){return t.flash.slideUp(function(){return $(this).hide()
})}}(this),n):void 0)},n.prototype.show=function(){var t,e,n;if(Scribd.Lightbox.
current_open!==this)return t=this.container.data("overlay_color"),n=this.contain
er.data("overlay_opacity"),$(document.body).addClass("lightbox_open").toggleClas
s("fix_viewport",this.container.is(".fix_viewport")),Scribd.Lightbox.fade_in_ove
rlay(n,t||""),this.set_position(),e=Scribd.Lightbox.current_open,Scribd.Lightbox
.current_open=this,this.transition(e,function(){return function(){return null!=e
?e.container.trigger("Scribd:lightbox:closed"):void 0}}(this)),this.after_show()
},n.prototype.show_responsive=function(){return $(document.body).is(".responsive
")&&$(window).width()<=600},n.prototype.set_position=function(){var t,e,n,i;retu
rn e=this.show_responsive(),this.container.toggleClass("responsive",e),e?this.co
ntainer.css({margin:"0",position:"static",width:"100%"}):(i=$(window),n=this.con
tainer.is(".vertically_centered")?Math.max(10,Math.floor((i.height()-this.contai
ner.outerHeight())/2)):this.offset_top,t={top:n},this.container.hasClass("auto_c
enter")||(t.left="50%",t.marginLeft=-(this.container.width()/2)),this.container.
css(t))},n.prototype.after_show=function(){},n}(),Scribd.StackedLightbox=functio
n(e){function i(e,n){this.container=e,this.opts=n,this.close=t(this.close,this),
i.__super__.constructor.apply(this,arguments),this.container.addClass("stacked_l
ightbox"),Scribd.StackedLightbox.instances.push(this),this.setup_events()}return
n(i,e),i.instances=[],i.show_overlay=function(){return i.overlay||(i.overlay=i.
add_overlay()),i.overlay.show().css("opacity","0.5"),Scribd.Lightbox.stacked=!0}
,i.hide_overlay=function(){return i.overlay.css("opacity","0").hide(),_.defer(fu

nction(){return i.instances.length?void 0:Scribd.Lightbox.stacked=!1})},i.add_ov


erlay=function(){return i.overlay=$('<div class="stacked_overlay"></div>').prepe
ndTo("#lightboxes").hide().click(function(){var t;return null!=(t=Scribd.Stacked
Lightbox.instances[Scribd.StackedLightbox.instances.length-1])?t.close():void 0}
),i.overlay},i.prototype.open=function(){return this.container.fadeIn("fast"),Sc
ribd.StackedLightbox.show_overlay(),this.set_position()},i.prototype.show=functi
on(){return this.open()},i.prototype.close=function(){return this.container.fade
Out("fast"),Scribd.StackedLightbox.hide_overlay(),Scribd.StackedLightbox.instanc
es.length||$(document).off("keydown.stacked_lightbox_close"),Scribd.StackedLight
box.instances.pop()},i.prototype.setup_events=function(){return $(document).on("
keydown.stacked_lightbox_close",function(t){return function(e){return 27===e.key
Code?t.close():void 0}}(this)),this.container.dispatch("click",{close_button:thi
s.close})},i.prototype.another_lightbox_is_open=function(){return Scribd.Lightbo
x.current_open||$("#lightboxes .overlay:visible, #lightboxes .stacked_overlay:vi
sible").length},i}(Scribd.Lightbox)}).call(this);
/* public/javascripts/jquery_global/lazy.coffee @ 1478902339 */
(function(){$.fn.lazyimages=function(){var t,e,n,i,r,o,s,a;for(s=this.find("[dat
a-lazysrc]"),e=0,r=s.length;r>e;e++)n=s[e],n=$(n),n.attr("src",n.data("lazysrc")
),n.removeAttr("data-lazysrc");for(a=this.find("[data-lazybg]"),i=0,o=a.length;o
>i;i++)t=a[i],t=$(t),t.css("background-image","url('"+t.data("lazybg")+"')"),t.r
emoveAttr("data-lazybg");return this}}).call(this);
/* public/javascripts/newhome/actions.coffee @ 1478902339 */
(function(){Scribd.Bookmarks=function(){function t(){}return t.remove_bookmark=f
unction(t,e){return null==e&&(e={}),$.ajax({type:"DELETE",dataType:"json",data:S
cribd.CSRF.with_token({document_id:t}),url:"/reading_states/delete",success:func
tion(){return function(t){return"function"==typeof e.success?e.success(t):void 0
}}(this),complete:function(){return function(n){return"function"==typeof e.compl
ete&&e.complete(n),$(document).trigger("scribd:removed_bookmark",{document_id:t,
opts:e,response:n})}}(this)})},t.add_bookmark=function(t,e){return null==e&&(e={
}),$.ajax({type:"POST",data:Scribd.CSRF.with_token({document_id:t}),dataType:"js
on",url:"/reading_states/create",success:function(){return function(t){return"fu
nction"==typeof e.success?e.success(t):void 0}}(this),complete:function(){return
function(n){return"function"==typeof e.complete&&e.complete(n),$(document).trig
ger("scribd:added_bookmark",{document_id:t,opts:e,response:n})}}(this)})},t.upda
te_bookmarks_states=function(t,e){return null==e&&(e={}),$.ajax({type:"POST",dat
a:Scribd.CSRF.with_token({ids:t.document_ids,state:t.state}),dataType:"json",url
:"/reading_states/update_status",success:function(){return function(t){return"fu
nction"==typeof e.success?e.success(t):void 0}}(this),complete:function(){return
function(n){return"function"==typeof e.complete&&e.complete(n),$(document).trig
ger("scribd:updated_bookmarks",{data:t,opts:e,response:n})}}(this)})},t}(),Scrib
d.Shared||(Scribd.Shared={}),Scribd.Shared.CollectionAPI=function(){function t()
{}return t.mark_privacy=function(t){return $.post("/collections/set-collection-p
rivacy",{id:t.id,privacy_type:t.privacy,complete:function(e){return $(document).
trigger("scribd:collection_privacy_update"),"function"==typeof t.complete?t.comp
lete(e):void 0}})},t.delete_collection=function(t,e){return $.ajax({url:"/docume
nt_collections/"+t,type:"delete",data:e.data,complete:function(){return function
(t){return e.complete(t)}}(this)})},t.update_collection=function(t){var n;return
n=t.complete,delete t.complete,$.ajax({url:"/document_collections/"+t.id,type:"
put",data:t,complete:n||function(){return $(document).trigger("scribd:collection
_update",{event:e,response:res})}})},t.fetch_collections=function(t,e){var n,i;r
eturn null==e&&(e={}),i=e.page||1,n=e.limit||999,$.ajax({type:"GET",url:"/my_doc
ument_collections.json",data:{view:e.view||"add_document_to_collections",page:i,
per_page:n,document_id:t},dataType:"json",complete:e.complete||function(t){retur
n console.log(t)}})},t.fetch_documents=function(t,e){return null==e&&(e={}),$.aj
ax({url:"/collections/"+t+"/get_collection_documents?page="+(e.page||1),type:"ge
t",dataType:"json",complete:function(){return function(t){return"function"==type

of e.complete?e.complete(t.responseJSON):void 0}}(this)})},t.search_documents=fu
nction(t){var e;return null==t&&(t={}),e=t.complete,delete t.complete,$.ajax({ur
l:"/collections/"+t.id+"/search",type:"get",data:t,complete:e||function(t){retur
n console.log(t)}})},t.add_document=function(t,e){return null==e&&(e={}),$.ajax(
{url:"/document_collections/"+t+"/add_document",type:"post",dataType:"json",data
:e.data,complete:e.complete||function(t){return $(document).trigger("scribd:coll
ection_update",{response:t})}})},t.add_documents_to_collections=function(t,e,n){
return null==n&&(n={}),$.ajax({url:"/user_document_collections/add_documents_to_
collections",type:"post",dataType:"json",data:{document_ids:t,collection_ids:e},
complete:n.complete||function(t){return $(document).trigger("scribd:collection_u
pdate",{response:t})}})},t.remove_documents_from_collections=function(t,e,n){ret
urn null==n&&(n={}),$.ajax({url:"/user_document_collections/remove_documents_fro
m_collections",type:"post",dataType:"json",data:{document_ids:t,collection_ids:e
},complete:n.complete||function(t){return $(document).trigger("scribd:collection
_update",{response:t})}})},t.remove_document=function(t,e){return null==e&&(e={}
),$.ajax({url:"/document_collections/"+t+"/remove_document",type:"delete",data:e
.data,complete:e.complete||function(t){return $(document).trigger("scribd:collec
tion_update",{response:t})}})},t.move_document=function(t,e){return null==e&&(e=
{}),$.ajax({url:"/document_collections/"+t+"/move_document",type:"post",data:e.d
ata,complete:e.complete||function(t){return console.log(t)}})},t}()}).call(this)
;
/* public/javascripts/jquery_global/facebook.coffee @ 1478902339 */
(function(){Scribd.facebook_login_status=jQuery.Deferred(),window.fbAsyncInit=fu
nction(){return Scribd.with_named_current_user(function(){return Scribd.facebook
=new Scribd.Facebook,Scribd.Facebook.loaded.resolve()})},Scribd.Facebook=functio
n(){function t(){this.cookie=new Scribd.JSONCookie("session_metadata"),this.conn
ect(),$(document).trigger("facebook:initialized")}return t.loaded=$.Deferred(),t
.setup=function(){var t;if(!Scribd.facebook_disabled)return t=document.createEle
ment("script"),t.type="text/javascript",t.src=document.location.protocol+"//conn
ect.facebook.net/en_US/sdk.js",t.async=!0,document.getElementById("fb-root").app
endChild(t)},t.prototype.app_id="136494494209",t.prototype.permissions="email,pu
blish_actions",t.prototype.namespace="scribd-com",t.prototype.link_url="/faceboo
k_link",t.prototype.login=function(t){var e;return e=function(e){return function
(n){return(null!=n?n.authResponse:void 0)?(e.session=n.authResponse,Scribd.with_
named_current_user(function(){var t;return t=Scribd.set_named_current_user(Scrib
d.named_current_user()||{}),t.is_facebook_user=!0,t.facebook_user_id=e.session.u
serID}),null!=t?t.apply(null,arguments):void 0):(e.session=null,"function"==type
of t?t(null):void 0)}}(this),FB.login(e,{scope:this.permissions})},t.prototype.l
ogin_and_link=function(t){return this.login(function(){return function(e){return
e?$.ajax(Scribd.facebook.link_url,{type:"post",success:function(){return"functi
on"==typeof t?t(!0,e):void 0},error:function(){return"function"==typeof t?t(!1,e
):void 0}}):"function"==typeof t?t(!1):void 0}}(this))},t.prototype.with_account
=function(t,e){return null==e&&(e=!1),Scribd.with_named_current_user(function(){
return Scribd.named_current_user().is_facebook_user?FB.getLoginStatus(function(n
){var i,r,o;return i=n.authResponse,r=i.userID.toString(),o=Scribd.named_current
_user().facebook_user_id.toString(),r===o?"function"==typeof t?t():void 0:e?FB.l
ogout(function(n){return function(){return FB.login(function(){return n.with_acc
ount(t,e)})}}(this)):void 0}):void 0})},t.prototype.with_permission=function(t,e
){return this.check_permission(t).then(e,function(t){return function(){return t.
login(e)}}(this))},t.prototype.check_permission=function(t){var e;return e=jQuer
y.Deferred(),FB.api("/me?fields=permissions","get",function(){return function(n)
{var i;return 1===(null!=(i=n.permissions)?i.data[0][t]:void 0)?e.resolve(n):e.r
eject(n)}}(this)),e},t.prototype.connect=function(){var t,e;return FB.init({appI
d:this.app_id,status:!1,cookie:!0,xfbml:!1,oauth:!0,version:"v2.1"}),(null!=(t=S
cribd.Ads)?t.enabled:void 0)&&null!=(e=Scribd.Ads)&&e.setFacebookAttribute(),thi
s.get_session(function(t){return function(){return t.instant=new Scribd.Facebook
.InstantPersonalize(t)}}(this))},t.prototype.get_session=function(t){var e;retur
n this.session=null,""+this.cookie.get("active_facebook_session")=="false"&&(e=t

his.cookie.get("last_facebook_ping"))&&(Scribd.facebook_login_status.reject(),+n
ew Date-e<36e5)?void 0:FB.getLoginStatus(function(e){return function(n){return"c
onnected"===n.status?(e.session=n.authResponse,"function"==typeof t&&t(),Scribd.
facebook_login_status.resolve(n.status)):(e.cookie.set("active_facebook_session"
,"false"),e.cookie.set("last_facebook_ping",+new Date),e.cookie.save(),Scribd.fa
cebook_login_status.reject(n.status))}}(this))},t}(),Scribd.Facebook.InstantPers
onalize=function(){function t(t){this.facebook=null!=t?t:Scribd.facebook,this.co
okie=this.facebook.cookie,this.try_remember_id()}return t.context="newhome",t.pr
ototype.try_remember_id=function(){return this.facebook.session?(this.cookie.set
("last_facebook_uid",this.facebook.session.userID),this.cookie.save()):void 0},t
}()}).call(this);
/* public/javascripts/jquery_global/forms.coffee @ 1478902339 */
(function(){$(function(){return $(document).on("submit","form",function(){return
function(t){var e,n,i,r,o,s;if(r=$(t.currentTarget),e=r.find(".flat_btn"),e.len
gth){for(i=function(){var n,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push($(
t));return r}(),o=0,s=i.length;s>o;o++)n=i[o],n.addClass("loading"),n.prop("disa
bled",!0);return r.on("ajax:complete.submit_loading",function(){var t,e;for(t=0,
e=i.length;e>t;t++)n=i[t],n.removeClass("loading"),n.prop("disabled",!1);return
r.off("ajax:complete.submit_loading")})}}}(this))}),$.fn.fancy_select=function()
{var t,e,n,i,r,o,s,a;if(!this.length)return this;if(n=this.first(),o=n.find("a")
,a=o.filter(".selected"),a.length||(a=o.first()),!o.length)throw"no options foun
d";return s=$("<button class='fancy_select has_ticks'> <span class='fancy_select
_label'></span> <span class='sprite white_tri_up'></span> <span class='sprite wh
ite_tri_down'></span> </button>"),s.find(".fancy_select_label").html(a.html()),i
=$("<div class='fancy_select_menu'></div>"),t=!0,r=function(){var e;return s.add
Class("open"),e=s.offset(),i.appendTo(document.body).css({left:e.left+"px",top:e
.top+s.height()+"px"}).stop(!0),t&&(i.height()>300&&$("<div class='fancy_menu_in
ner'></div>").append(i.children()).appendTo(i),t=!1),i.hide().slideDown("fast")}
,e=function(){return s.removeClass("open"),i.stop(!0).slideUp("fast",function(){
return function(){return i.detach()}}(this))},o.addClass("fancy_option").appendT
o(i),s.on("click",function(){return function(){return s.is(".open")?e():r(),!1}}
(this)),i.on("click",".fancy_option",function(){return function(t){return e(),n.
trigger("scribd:fancy_select",[t.currentTarget])}}(this)),n.hide().after(s),$(do
cument.body).click(function(){return function(t){return s.is(".open")&&!$(t.targ
et).closest(i).length?e():void 0}}(this)),this}}).call(this);
/* public/javascripts/jquery_global/viewport_track.coffee @ 1478902339 */
(function(){var t,e,n,i,r,o,s,a;r="_2",e=20,o=4e3,t=function(t){return Math.floo
r(t/e)*e},i=null,n=null,a=$(window),s=function(){var e,o;return o=t(a.width()),e
=t(a.height()),o!==i||e!==n?(i=o,n=e,$(document.body).track({category:"misc",act
ion:"viewport"+r,label:o+"x"+e}),$(document.body).track({category:"misc",action:
"viewport_w"+r,label:""+o}),$(document.body).track({category:"misc",action:"view
port_h"+r,label:""+e})):void 0},Math.random()<=.01&&(setTimeout(s,o),a.on("resiz
e",_.debounce(s,o)))}).call(this);
/* public/javascripts/jquery_global/draggable.coffee @ 1478902339 */
(function(){$.fn.draggable=function(t){var e,n,i,r,o,s,a,c;return null==t&&(t={}
),c="ontouchstart"in document,e=$(document.body),o=$("html"),s=0,a=0,r=function(
i){return function(){return e.removeClass("dragging"),i.removeClass("dragging"),
o.off("mousemove touchmove",n),"function"==typeof t.stop?t.stop():void 0}}(this)
,n=function(){return function(e,n,i){var r,o;return r=n-s,o=i-a,s+=r,a+=o,"funct
ion"==typeof t.move?t.move(r,o,n,i):void 0}}(this),i=function(n){return function
(i,r,o){return e.is(".dragging")||("function"==typeof t.skip_drag?t.skip_drag(i)
:0)?void 0:(e.addClass("dragging"),n.addClass("dragging"),s=r,a=o,"function"==ty
peof t.start&&t.start(),!0)}}(this),c?this.on("touchstart",function(){return fun
ction(t){var e,s,a;return e=t.originalEvent.targetTouches[0],s=e.pageX,a=e.pageY

,i(t,s,a)?(o.one("touchend",r),n=function(t){return function(e){var n;return n=e


.originalEvent.targetTouches[0],s=n.pageX,a=n.pageY,t(e,s,a)}}(n),o.on("touchmov
e",n),!1):void 0}}(this)):this.on("mousedown",function(){return function(t){retu
rn i(t,t.pageX,t.pageY)?(o.one("mouseup",r),n=function(t){return function(e){ret
urn t(e,e.pageX,e.pageY)}}(n),o.on("mousemove",n)):void 0}}(this))}}).call(this)
;
/* public/javascripts/shared/embed_code.coffee @ 1478902339 */
(function(){var t,e=function(t,e){function i(){this.constructor=t}for(var r in e
)n.call(e,r)&&(t[r]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__s
uper__=e.prototype,t},n={}.hasOwnProperty;Scribd.Embed||(Scribd.Embed={}),t=func
tion(){function t(t){this.options=$.extend({object_id:"doc_"+Math.floor(99999*Ma
th.random())},this.default_options,t),this.options.auto_width||"100%"===this.opt
ions.width?this.options.width="100%":parseInt(t.width)<this.options.minWidth&&(t
his.options.width=this.options.minWidth),this.options.auto_height?this.options.h
eight=this.default_options.height:parseInt(t.height)<this.options.min_height&&(t
his.options.height=this.options.min_height)}return t.prototype.default_options={
minWidth:400,minHeight:400,maxWidth:1600,maxHeight:1600,width:400,height:600,pag
e:1,mode:"scroll",auto_width:!0,auto_height:!1,show_title:!0,show_recommendation
s:!0},t.prototype.make_title=function(t){var e,n,i,r,o,s,a;return n=[],o=_.escap
e(Scribd.truncate($.trim(t.title),110)),null!=t.user_title&&(a=_.escape(Scribd.t
runcate($.trim(t.user_title),110)),s=_.escape(t.user_title)),t.show_title&&(r=_.
escape(t.title),i=' style="\nmargin: 12px auto 6px auto;\nfont-family: Helvetica
,Arial,Sans-serif;\nfont-style: normal;\nfont-variant: normal;\nfont-weight: nor
mal;\nfont-size: 14px;\nline-height: normal;\nfont-size-adjust: none;\nfont-stre
tch: normal;\n-x-system-font: none;\ndisplay: block;"',e=' style="text-decoratio
n: underline;" ',n.push("<p "+i+'>\n <a title="View '+r+' on Scribd" href="'+t.
doc_url+'#from_embed" '+e+">"+o+"</a>"),null!=t.user_title&&n.push(' by\n<a titl
e="View '+s+'\'s profile on Scribd" href="'+t.user_url+'#from_embed" '+e+">"+a+"
</a>\non Scribd"),n.push("</p>")),n},t.prototype.make_protocol_relative=function
(t){return t.replace(/^http:\/\//,"//")},t}(),Scribd.Embed.HTML5CodeGenerator=fu
nction(t){function n(){return n.__super__.constructor.apply(this,arguments)}retu
rn e(n,t),n.prototype.embed_url=function(){var t,e;return e=this.make_protocol_r
elative("https://www.scribd.com/embeds/"+this.options.doc_id+"/content"),t={star
t_page:this.options.page,view_mode:this.options.mode},this.options.access_key&&(
""+this.options.access_key).length&&(t.access_key=this.options.access_key),t.sho
w_recommendations=this.options.show_recommendations,e+"?"+$.param(t)},n.prototyp
e.render=function(t){var e,n,i,r;return t&&(this.options=$.extend(this.options,t
)),e=!1,this.options.auto_height&&this.options.aspect_ratio&&(this.options.auto_
width?e=!0:this.options.height=Math.round(1/this.options.aspect_ratio*this.optio
ns.width)+60),r=this.make_title(this.options),i=this.embed_url(),n=!!this.option
s.auto_height,r.push('<iframe class="scribd_iframe_embed" src="'+i+'" data-autoheight="'+n+'" data-aspect-ratio="'+this.options.aspect_ratio+'" scrolling="no"
id="'+this.options.object_id+'" width="'+this.options.width+'" height="'+this.op
tions.height+'" frameborder="0"></iframe>'),e&&r.push('<script type="text/javasc
ript">(function() { var scribd = document.createElement("script"); scribd.type =
"text/javascript"; scribd.async = true; scribd.src = "'+this.make_protocol_rela
tive("https://www.scribd.com/")+'javascripts/embed_code/inject.js"; var s = docu
ment.getElementsByTagName("script")[0]; s.parentNode.insertBefore(scribd, s); })
();</script>'),r.join("").replace(/\n/g," ")},n}(t),Scribd.Embed.FlashCodeGenera
tor=function(t){function n(){return n.__super__.constructor.apply(this,arguments
)}return e(n,t),n.prototype.render=function(t){var e;return t&&(this.options=$.e
xtend(this.options,t)),e=this.make_title(this.options),e.push('<object id="'+thi
s.options.object_id+'" name="'+this.options.object_id+'" height="'+this.options.
height+'" width="'+this.options.width+'" type="application/x-shockwave-flash" da
ta="//d-f.scribdassets.com/ScribdViewer.swf" style="outline:none;" ><param name=
"movie" value="//d-f.scribdassets.com/ScribdViewer.swf"> <param name="wmode" val
ue="opaque"> <param name="bgcolor" value="#ffffff"> <param name="allowFullScreen
" value="true"> <param name="allowScriptAccess" value="always"> <param name="Fla

shVars" value="document_id='+this.options.doc_id+"&access_key="+this.options.acc
ess_key+"&page="+this.options.page+"&viewMode="+this.options.mode+'"> <embed id=
"'+this.options.object_id+'" name="'+this.options.object_id+'" src="//d-f.scribd
assets.com/ScribdViewer.swf?document_id='+this.options.doc_id+"&access_key="+thi
s.options.access_key+"&page="+this.options.page+"&viewMode="+this.options.mode+'
" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscree
n="true" height="'+this.options.height+'" width="'+this.options.width+'" wmode="
opaque" bgcolor="#ffffff"></embed> </object>'),e.join("").replace(/\n/g," ")},n}
(t),Scribd.Embed.WordpressCodeGenerator=function(t){function n(){return n.__supe
r__.constructor.apply(this,arguments)}return e(n,t),n.prototype.render=function(
t){return t&&(this.options=$.extend(this.options,t)),"[scribd id="+this.options.
doc_id+" key="+this.options.access_key+" mode="+this.options.mode+"]"},n}(t)}).c
all(this);
/* public/javascripts/jquery_global/react.coffee @ 1478902339 */
(function(){var t=[].slice,e={}.hasOwnProperty;null==Scribd.R&&(Scribd.R={}),Scr
ibd.R.render=function(){var e,n,i,r;if(e=1<=arguments.length?t.call(arguments,0)
:[],Scribd.logging_enabled)return ReactDOM.render.apply(ReactDOM,e);try{return R
eactDOM.render.apply(ReactDOM,e)}catch(i){throw n=i,console.info("There is a rea
ct rendering error."),r=new Scribd.Tracker,r.send({category:"react_error",label:
n,action:"init "+arguments[0].type.displayName}),n}},Scribd.R.scope_event_name=f
unction(t){return"s:react:"+t},Scribd.R.trigger=function(){var e,n,i;return n=ar
guments[0],i=arguments[1],e=3<=arguments.length?t.call(arguments,2):[],n.isMount
ed()?$(ReactDOM.findDOMNode(n)).trigger(Scribd.R.scope_event_name(i),t.call(e)):
void 0},Scribd.R.dispatch=function(t,n){var i,r,o,s;o=t instanceof jQuery?t:$(Re
actDOM.findDOMNode(t)),s=[];for(i in n)e.call(n,i)&&(r=n[i],s.push(o.on(Scribd.R
.scope_event_name(i),r)));return s},Scribd.R.find_component_by_name=function(t){
var e,n,i,r,o;for(o=Scribd.R,r=t.split("."),e=0,n=r.length;n>e;e++)if(i=r[e],o=o
[i],!o)return;return o},Scribd.R.component=function(n,i,r){var o,s,a,c,u,l,d,h,p
;for(null==r&&(r=!1),s=Scribd.R,l=n.split("."),n=l.pop(),a=0,c=l.length;c>a;a++)
u=l[a],s[u]||(s[u]={}),s=s[u];if(i.displayName="R."+n,i.trigger=function(){var e
;return void(e=Scribd.R).trigger.apply(e,[this].concat(t.call(arguments)))},i.di
spatch=function(){var e;return void(e=Scribd.R).dispatch.apply(e,[this].concat(t
.call(arguments)))},i.extend_props=function(t){return $.extend({},this.props,t)}
,i.container=function(){return $(ReactDOM.findDOMNode(this))},i.common_button=fu
nction(t,e){var n;if(e&&(t.children=e),n=_.extend({},t),n.className=classNames(n
.className,"flat_btn"),n.children||(n.children=[]),"string"==typeof n.children&&
(n.children=[n.children]),n.children.push(React.DOM.div({className:"scribd_spinn
er","data-size":30})),n.className.match(/\bfacebook\b/)&&n.children.unshift(Reac
t.DOM.span({className:"icon icon-facebook"})),n.href||n.target){if(n.disabled)th
row"You can't disable anchors";return React.DOM.a(n)}return React.DOM.button(n)}
,o=React.createClass(i),s[n])throw"Something already exists at "+n;s[n]=React.cr
eateFactory(o),s[n]._class=o,s[n]._spec=i,s[n]._is_react_factory=!0,h=i["static"
];for(d in h)e.call(h,d)&&(p=h[d],s[n][d]=p);return o.prototype.Package=r?s:s[n]
},Scribd.R.component_builder=function(t,e){return null==e&&(e={}),function(n,i){
var r,o,s,a,c,u,l,d,h;if("string"===$.type(n))return Scribd.R.component(t+"."+n,
i,!0);if(i=n,a=i.render,i.routes||(i.routes=e.routes),e.parent&&(c=Scribd.R.find
_component_by_name(e.parent))){if(c._spec.routes&&i.routes){l=c._spec.routes;for
(s in l)h=l[s],i.routes[s]=h}d=c._spec;for(s in d)h=d[s],s in i||(i[s]=h)}i.rout
es&&(u={},i.url_for=function(t,e){var n;return n=u[t]||(u[t]=new UrlPattern(i.ro
utes[t])),n.stringify(e)}),i.render=function(){var t,n,i;return i=("function"==t
ypeof this.enclosing_element_type?this.enclosing_element_type():void 0)||React.D
OM.div,n=("function"==typeof this.widget_css_classes?this.widget_css_classes(e.c
ss_class):void 0)||e.css_class,t={className:n,children:a.call(this)},e.track_cat
egory&&(t["data-track_category"]=e.track_category),t=("function"==typeof this.en
closing_element_args?this.enclosing_element_args(t):void 0)||t,i(t)};try{return
Scribd.R.component(t,i)}catch(o){return r=o,console.error("scribd component crea
tion failed",r)}}}}).call(this);

/* :files, 'public/javascripts/shared', ... @ (none) */


/* :files, 'app/views', ... @ (none) */
/* :files, 'app/views', ... @ 1478902276 */
/* app/views/shared/recommendation_tracking.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=[].slice;Scribd.RecommendationTracking=function(){function n(){throw"Scribd.Re
commendationTracking is not instantiatable"}return n._page_count=0,n._compilatio
n_ids={},n.Module=function(){function n(e,n){this.opts=null!=n?n:{},this.ready=t
(this.ready,this),this.container=$(e),this.container.on("scribd:enclosing_tracki
ng_module",function(t){return function(e,n){return n(t)}}(this)),this.with_track
ing=$.Deferred(function(t){return function(e){return e.done(function(e){var n;re
turn t.tracking=e,"function"==typeof(n=t.opts).on_tracking?n.on_tracking(t.track
ing):void 0})}}(this)),this.opts.compilation_id?Scribd.RecommendationTracking.pa
ge_view_deferred(this.opts.compilation_id).done(function(t){return function(e){r
eturn t.ready(e,t.opts.widget_name)}}(this)):this.container.on("scribd:setup_tra
cking",function(t){return function(e,n,i){return t.ready(n,i)}}(this))}return n.
prototype.setup_inview_tracking=function(){return null==this.tracking?"undefined
"!=typeof console&&null!==console?console.error("missing tracking"):void 0:(this
.container.one("inview",function(t){return function(){var e;return Scribd.Recomm
endationTracking.track_module_view(t.tracking.view_id,t.tracking.module_id,t.tra
cking.widget_name),null!=(e=t.opts.on_in_view)?e.call(t,t.tracking):void 0}}(thi
s)),Scribd.RecommendationTracking.trigger_inview_check())},n.prototype.setup_cli
ck_tracking=function(t){var e,n,i,r;if(null==t&&(t=this.container.find("[data-tr
ack_uuid]")),null==this.tracking)return"undefined"!=typeof console&&null!==conso
le?console.error("missing tracking"):void 0;for(this.container.data("track_uuid"
)&&(t=t.add(this.container)),r=[],n=0,i=t.length;i>n;n++)e=t[n],e=$(e),e.attr("d
ata-track_rats",e.data("track_rats")||"rc"),r.push(e.attr("data-track_rats_value
",JSON.stringify({vi:this.tracking.view_id,ri:e.data("track_uuid")})));return r}
,n.prototype.ready=function(t,e){var n;return(n=this.opts.module_id||this.contai
ner.data("track_uuid"))?(this.with_tracking.resolve({widget_name:e,view_id:t,mod
ule_id:n}),this.setup_inview_tracking(),this.setup_click_tracking()):void 0},n.p
rototype.track_module_click=function(){var t;return t=1<=arguments.length?e.call
(arguments,0):[],this.with_tracking.done(function(){return function(n){var i;ret
urn(i=Scribd.RecommendationTracking).track_module_click.apply(i,[n.view_id,n.mod
ule_id].concat(e.call(t)))}}(this))},n}(),n.page_view_deferred=function(t){var e
;return t?(n._view_id_deferred||(n._view_id_deferred={}),e=n._view_id_deferred[t
],e||(e=$.Deferred(),n._view_id_deferred[t]=e,Scribd.RecommendationTracking.trac
k_page_view(t,function(t){return e.resolve(t)})),e):(console.debug("attempted pa
ge view without compilation id"),$.Deferred())},n.track_page_view=function(t,e){
var n;return n=this._compilation_ids[t],null==n&&(n=this._compilation_ids[t]=thi
s._page_count++),$rat.root().withVid(function(){return function(i){return i=i+".
"+n,$rat("pv",{vi:i,ci:t}),"function"==typeof e?e(i):void 0}}(this))},n.track_mo
dule_view=function(t,e,n){var i;return i={vi:t,mi:e},null!=n&&(i.w=n),$rat("mv",
i)},n.track_module_click=function(t,e,n){var i;return i={vi:t,mi:e},null!=n&&(i.
t=n),$rat("mc",i)},n.track_obj_view=function(t,e){return $rat("rv",{vi:t,ri:e})}
,n.track_obj_click=function(t,e){return $rat("rc",{vi:t,ri:e})},n.trigger_inview
_check=function(){return this.trigger_inview_check=_.debounce(function(){return
$.event.special.inview.run()},0),this.trigger_inview_check()},n}()}).call(this);
/* app/views/audiobooks/audiobooks.coffee @ 1478902274 */
(function(){Scribd.Findaway=function(){function t(){}return t.init=function(t,e)
{var n;return null==t&&(t={}),null==e&&(e=null),this.account_id=t.account_id,thi
s.session_key=t.session_key,this.debug=t.debug,n=function(t){return function(){r
eturn"function"==typeof e?e({account:t.account,player:t.player,collection:t.coll

ection}):void 0}}(this),this.findaway_ready?n():(findaway.on("init:success",func
tion(t){return function(){return t.account=new findaway.Account(t.account_id),t.
player=new findaway.Player(t.account),t.collection=new findaway.Collection(t.acc
ount_id),t.findaway_ready=!0,n()}}(this)),findaway.on("init:error",function(){re
turn function(t){return console.error("findaway init error"),$(document.body).tr
ack({category:"audiobooks",action:"error",label:t.toString()})}}(this)),findaway
.init({session_key:this.session_key,debug:this.debug,useHTML5Audio:!0,ajaxTimeou
t:6e3}))},t.with_findaway=function(t){var e;return null==t&&(t=null),"undefined"
!=typeof findaway&&null!==findaway?"function"==typeof t?t():void 0:(e="/aggregat
ed/javascript/findaway_"+I18n.locale+".js",$.getScript(e).done(function(){return
findaway.on("dependencies:success",function(){return function(){return soundMan
ager.beginDelayedInit(),"function"==typeof t?t():void 0}}(this))}))},t}(),Scribd
.Audiobooks=function(){function t(t){this.account_id=t.account_id,this.session_k
ey=t.session_key,this.debug=t.debug,this.doc_id=t.doc_id,this.requires_credit=t.
requires_credit,this.preview_threshold=t.preview_threshold,this.seek_amount=30,_
.extend(this,Backbone.Events),this.on("findaway:loaded",function(t){return funct
ion(){return t.setup_events()}}(this))}var e;return t.listen_window_name="scribd
AudioPlayer",t.listen_window_width=718,t.listen_window_height=521,t.open_popup=f
unction(t){var e;return e=window.open(t,this.listen_window_name,"width="+this.li
sten_window_width+",height="+this.listen_window_height+",location=0"),e&&"undefi
ned"!=typeof e?void 0:(console.error("popup blocked"),$(document.body).track({ca
tegory:"audiobooks",action:"popup",label:"blocked"}))},t.session=function(t,e){r
eturn $.post("/audiobooks/session",{session_key:t},function(t){return"function"=
=typeof e?e(t):void 0})},t.format_dur=function(t){var e,n;return null==t&&(t=0),
t&&moment.utc(t).isValid()?(e=moment.utc(t),n=e.format(e.hours()?"H:mm:ss":"mm:s
s")):"00:00"},e=function(t){return function(){if(!this.current_book)throw new Er
ror("current_book is not set");return t.apply(this,arguments)}},t.prototype.init
_findaway=function(t){return Scribd.Findaway.init({account_id:this.account_id,se
ssion_key:this.session_key,debug:this.debug},function(e){return function(n){retu
rn e.account=n.account,e.player=n.player,e.collection=n.collection,"function"==t
ypeof t?t():void 0}}(this))},t.prototype.refresh_session=function(){return Scrib
d.Audiobooks.session(this.session_key,function(t){return function(e){return t.se
ssion_key=e.session_key,window.location.reload()}}(this))},t.prototype.load=func
tion(t,e){return this.loaded?void 0:(this.init_findaway(function(n){return funct
ion(){return n.log_event("findaway:loaded"),n.current_book=new findaway.Audioboo
k(t),n.current_book.load(),n.current_book.on("load:success",function(){var t,i;r
eturn t={book:n.current_book},e&&(i=Scribd.ReadingProgress.Audio.get_track_and_p
osition(e),t.track=i.track_num,t.position=i.track_pos),n.player.load(t),n.player
.on("load:success",function(){return n.loaded?void 0:(console.warn("player load
success",arguments),n.loaded=!0,n.play(),n.log_event("scribd:audiobook:ready",n.
current_book))})})}}(this)),this)},t.prototype.setup_events=function(){return th
is.player.on("trackChanged",function(t){return function(e){return t.trigger("scr
ibd:audiobook:trackChanged",e),t.play()}}(this)),this.player.on("trackCompleted"
,function(t){return function(e){return t.trigger("scribd:audiobook:track_complet
ed",e,e===t.player.currentTitle.playlist.length-1)}}(this)),this.player.on("time
Changed",function(t){return function(e){return t.trigger("scribd:audiobook:timeC
hanged",e)}}(this)),this.player.on("trackLoading",function(t){return function(e)
{return t.trigger("scribd:audiobook:trackLoading",e)}}(this)),this.player.on("lo
ad:success",function(t){return function(){return t.trigger("scribd:audiobook:loa
dComplete")}}(this)),this.player.on("load:error",function(t){return function(e){
return t.trigger("scribd:audiobook:load_error",e)}}(this)),this.player.on("setup
:error",function(t){return function(e){return t.trigger("scribd:audiobook:setup_
error",e)}}(this)),this.player.on("init:error",function(t){return function(e){re
turn t.trigger("scribd:audiobook:init_error",e)}}(this)),this.player.on("createA
udio:error",function(t){return function(e){return t.trigger("scribd:audiobook:cr
eate_audio_error",e)}}(this)),this.player.on("playback:started",function(t){retu
rn function(){return t.trigger("scribd:audiobook:play")}}(this)),this.player.on(
"playback:paused",function(t){return function(){return t.trigger("scribd:audiobo
ok:pause")}}(this)),this.player.on("next",function(t){return function(){return t
.trigger("scribd:audiobook:next")}}(this)),this.player.on("prev",function(t){ret

urn function(){return t.trigger("scribd:audiobook:prev")}}(this)),this.player.on


("seek-to",function(t){return function(){return t.trigger("scribd:audiobook:seek
To")}}(this)),this.player.on("skip-back",function(t){return function(){return t.
trigger("scribd:audiobook:skipBack")}}(this)),this.player.on("jump-to",function(
t){return function(){return t.trigger("scribd:audiobook:jumpTo")}}(this)),this.p
layer.on("unload",function(t){return function(){return t.trigger("scribd:audiobo
ok:unload")}}(this)),this.player.on("load:recoveryStart",function(t){return func
tion(){return t.trigger("scribd:audiobook:recovery_start")}}(this)),this.player.
on("load:recoveryEnd",function(t){return function(){return t.trigger("scribd:aud
iobook:recovery_end")}}(this)),this.player.on("load:recoveryFailed",function(t){
return function(){return t.trigger("scribd:audiobook:recovery_failed")}}(this))}
,t.prototype.is_loaded=function(){return this.loaded},t.prototype.play=function(
){return this.player.trigger("play")},t.prototype.current_chapters=e(function(){
return this.current_book.chapters}),t.prototype.current_track_location=function(
){return{track_num:this.get_track_num(),track_pos:this.get_track_pos()}},t.proto
type.pause=e(function(){return this.player.isPlaying()?(this.player.trigger("pau
se"),this.log_event("player:pause",this.current_track_location())):void 0}),t.pr
ototype.seek_ahead=e(function(t){var e;return null==t&&(t=this.seek_amount),e=th
is.player.getPosition(),this.player.trigger("seek-to",e+1e3*this.seek_amount)}),
t.prototype.seek_back=e(function(t){var e;return null==t&&(t=this.seek_amount),e
=this.player.getPosition(),this.player.trigger("seek-to",e-1e3*this.seek_amount)
}),t.prototype.seek_to=e(function(t){return this.player.trigger("seek-to",t)}),t
.prototype.set_volume=e(function(t){return null==t&&(t=100),t=Math.min(100,Math.
max(0,t)),this.player.trigger("set-volume",t),this.trigger("scribd:audiobook:vol
ume_changed"),0===t?this.muted=!0:void 0}),t.prototype.increase_volume=function(
t){return null==t&&(t=10),this.set_volume(this.player.getVolume()+t)},t.prototyp
e.decrease_volume=function(t){return null==t&&(t=10),this.set_volume(this.player
.getVolume()-t)},t.prototype.get_volume=e(function(){return this.player.getVolum
e()}),t.prototype.get_track_num=e(function(){return this.player.currentTrack}),t
.prototype.get_track_pos=function(){return this.player&&this.loaded?this.player.
getPosition():0},t.prototype.get_current_track=function(){var t;return t=this.ge
t_track_num(),null==t?!1:0>t||t>=this.player.currentTitle.playlist.length?!1:thi
s.player.currentTitle.playlist[t]},t.prototype.get_num_tracks=function(){var t;r
eturn null!=(t=this.player.currentTitle)?t.playlist.length:void 0},t.prototype.g
et_track=function(t){return 0>t||t>=this.player.currentTitle.playlist.length?!1:
this.player.currentTitle.playlist[t]},t.prototype.get_track_duration=function(t)
{var e,n;return null==t&&(t=null!=(e=this.player)?e.currentTrack:void 0),n=this.
get_current_track(),n?n.duration:0},t.prototype.get_runtime=function(){var t,e,n
,i,r;for(r=0,i=Scribd.audiobook_player.current_chapters(),e=0,n=i.length;n>e;e++
)t=i[e],r+=t.duration;return r},t.prototype.next_track=function(){var t,e;return
e=this.get_track_num(),t=e+1<this.current_chapters().length?e+1:e,this.player.t
rigger("next")},t.prototype.prev_track=function(){var t;return t=this.get_track_
num(),0>=t||0>=t-1?this.goto_track(0):this.player.trigger("prev")},t.prototype.c
ancel_sleep=function(){return null!=this.sleep_timer?(clearTimeout(this.sleep_ti
mer),delete this.sleep_timer):void 0},t.prototype.sleep_in=function(t){var e;ret
urn null==t&&(t=5),this.sleep_timer&&this.cancel_sleep(),e=60*t*1e3,this.sleep_a
t=(new Date).getTime()+e,this.sleep_timer=setTimeout(function(t){return function
(){return t.pause()}}(this),e)},t.prototype.sleep_time_remaining=function(){retu
rn this.sleep_at-(new Date).getTime()},t.prototype.isPlaying=function(t){var e;r
eturn t&&t!==this.current_book.id?!1:!!(null!=(e=this.player)?e.isPlaying():void
0)},t.prototype.goto_track=function(t,e){var n;return e&&(n=function(i){return
function(){return t===i.player.currentTrack?(i.off("scribd:audiobook:trackChange
d",n),e()):void 0}}(this),this.on("scribd:audiobook:trackChanged",n)),this.playe
r.trigger("jump-to",t)},t.prototype.goto_pos=function(t){return this.player.trig
ger("seek-to",t)},t.prototype.goto_track_and_pos=function(t,e){var n;return null
==e&&(e=0),n=function(n){return function(){return n.is_seeking=!0,n.goto_track(t
,function(){return n.goto_pos(e),n.is_seeking=!1})}}(this),t===this.player.curre
ntTrack?this.goto_pos(e):n()},t.prototype.on_last_track=function(){return this.p
layer.currentTrack+1===this.player.currentTitle.playlist.length},t.prototype.log
_event=function(t,e){return null==e&&(e=null),this.debug&&this.log("Scribd event

: "+t),this.trigger(t,e)},t.prototype.log=function(t,e){return Scribd.log(t,e)},
t}()}).call(this);
/* app/views/shared/autocomplete/server.coffee @ 1478902276 */
(function(){Scribd.UI||(Scribd.UI={}),Scribd.UI.AutocompleteServer=function(){fu
nction t(){}return t.query_url="/autocomplete",t.top_result_types=["book","autho
r","audiobook","publisher","unavailable_book","unavailable_author","category","c
ollection","document","isbn","unavailable_isbn","sheet_music"],t.memoize={},t.ti
tle_cleaner_sentinel="1337placeholder1337",t.cookie_key="search",t.cookie_jar=ne
w CookieJar({path:"/",expires:""}),t.extra_config={},t.extra_headers={},t.config
=function(){var e,n,i;return $.extend({},t.extra_config,{c_code:Scribd.geoModule
("now")||null,cps:null!=(e=Scribd._named_current_user)?e.content_pool_ids:void 0
,l:(null!=(n=Scribd._named_current_user)?n.language_id:void 0)||1,c:(null!=(i=Sc
ribd._named_current_user)?i.country_id:void 0)||128})},t.set_page_tracking=funct
ion(t){return this.page=t||""},t.query_id_history={},t.generate_session_id=funct
ion(){var t;return(t=this.cookie_jar.get(this.cookie_key))?this.session_id=t.ses
sion_id:(this.session_id=""+_.random(0x1000000000000000),this.cookie_jar.put(thi
s.cookie_key,{session_id:this.session_id})),this.session_id},t.generate_query_id
=function(t){var e,n;return this.query_id_history.term&&(n=this.query_id_history
.term,0===t.indexOf(n)||0===n.indexOf(t))?(this.query_id_history={term:t,query_i
d:this.query_id_history.query_id},this.query_id_history.query_id):(e=""+_.random
(0x1000000000000000),this.query_id_history={term:t,query_id:e},e)},t.url_for=fun
ction(t,e){var n,i;return i={book:"/book/:placeholder_id",isbn:"/book/:placehold
er_id",sheet_music:"/book/:placeholder_id",audiobook:"/audiobook/:placeholder_id
",document:"/doc/:placeholder_id",collection:"/collections/:placeholder_id",user
:"/users/:placeholder_id",author:"/users/:placeholder_id",publisher:"/users/:pla
ceholder_id",unavailable_author:"/users/:placeholder_id",unavailable_book:"/sear
ch/unavailable_book/:placeholder_id",unavailable_audiobook:"/search/unavailable_
book/:placeholder_id",unavailable_isbn:"/search/unavailable_book/:placeholder_id
",category:"/books?category_id=:placeholder_id"},"book"!==t&&"isbn"!==t||"pmp"==
=e.availability?"author"===t&&"pmp"!==e.availability?i.unavailable_author.replac
e(":placeholder_id",e.id):"unavailable_book"===t&&0!==("undefined"!=typeof relat
ed_docs&&null!==related_docs?related_docs.length:void 0)?i.book.replace(":placeh
older_id",e.id):i[t].replace(":placeholder_id",e.id):0===(null!=(n=e.docs)?n.len
gth:void 0)?i.book.replace(":placeholder_id",e.id):i.unavailable_book.replace(":
placeholder_id",e.id)},t.safe_string=function(t){var e,n,i,r;return t||(t=""),i=
t.replace(/<em>/g,this.title_cleaner_sentinel+"_start").replace(/<\/em>/g,"end_"
+this.title_cleaner_sentinel),n=Scribd.escape_html(i),r=new RegExp(this.title_cl
eaner_sentinel+"_start","g"),e=new RegExp("end_"+this.title_cleaner_sentinel,"g"
),n.replace(r,"<em>").replace(e,"</em>")},t.old_data_format=function(t){var e;re
turn e=function(t,e){var n,i,r,o;for(null==e&&(e=!0),r=[],n=0,i=t.length;i>n;n++
)o=t[n],r.push({i:o.id,n:Scribd.UI.AutocompleteServer.safe_string(o.title),tu:o.
thumbnail,un:Scribd.UI.AutocompleteServer.safe_string(e?o.title:o.author),ui:o.i
d,ul:Scribd.UI.AutocompleteServer.safe_string(e?o.title:o.author)});return r},{b
ooks:e(t.sections[0].value,!1),audiobooks:e(t.sections[1].value,!1),sheet_musics
:e(t.sections[2].value,!1),authors:e(t.sections[4].value),publishers:e(t.section
s[5].value),no_results:!(t.sections[0].value.length||t.sections[1].value.length|
|t.sections[2].value.length||t.sections[4].value.length||t.sections[5].value.len
gth)}},t.pre_parse=function(t,e,n){var i,r,o,s,a,c,u,l,d,h,p,f,g,m,b,v,y,w,k,x,S
,C,E,T,A,N,O;if(x=function(t){return _.values(t).length<=1?t.no_results=!0:t.top
&&"isbn"===t.top.type&&_.values(t.top).length<=1?t.no_results=!0:void 0},x(t),!t
.no_results){for(C=function(t){return t.pretty_docs_count=t.docs_count<100?t.doc
s_count:t.docs_count<1e3?100*Math.floor(t.docs_count/100)+"+":Math.floor(t.docs_
count/1e3)+"K",t.pretty_docs_count_text=1===t.docs_counts?t.pretty_docs_count+"
title":t.pretty_docs_count+" titles"},o=function(t,e,n,i){return t.item_link=Scr
ibd.UI.AutocompleteServer.url_for(e,t,n,i),t.more_link=t.item_link},N=function(t
){var e,n,i,r;return n=t.name||t.author||t.title||"X X",n=n.replace(/<em>/g,"").
replace(/<\/em>/g,""),e=n.split(" ")[0][0],r=(i=n.split(" ")[1])?n.split(" ")[1]
[0]:"",t.initials=e+r},r=function(){return function(t){return t.description=t.mo

st_popular_title||t.docs_count+" titles"}}(this),T=function(t){return function(e


){return e.safe_title=t.safe_string(e.title),e.safe_author=t.safe_string(e.autho
r||"")}}(this),a=function(){return function(t){return t.clean_title=t.title.repl
ace(/<em>/g,"").replace(/<\/em>/g,""),t.safe_title}}(this),s=function(t){return
t.quality_thumbnail="",t.quality_thumbnail_css="",t.series_thumbnail=t.series_th
umbnail||"",t.has_quality_photo_class="",t.thumbnail_css="background-image: url(
"+t.thumbnail+")",t.has_quality_photo?(t.quality_thumbnail=t.thumbnail,t.quality
_thumbnail_css="background-image: url("+t.quality_thumbnail+")",t.has_quality_ph
oto_class="has_quality_photo"):void 0},i=function(t,e){return t.track_rats_value
=JSON.stringify(e)},p=function(t){var e,n,i,r,o,s;for(r=["collections","document
s"],s=[],e=0,o=r.length;o>e;e++)i=r[e],s.push(function(){var e,r,o,s;for(o=t[i]|
|[],s=[],e=0,r=o.length;r>e;e++)n=o[e],s.push(n.availability="non_applicable");r
eturn s}());return s},c=function(t){return t.docs_count_text=1===t.docs_count?t.
docs_count+" title":t.docs_count+" titles"},S=function(t){return t.page_count_te
xt=1===t.page_count?t.page_count+" page":t.page_count+" pages"},p(t),t.query_id=
n,t.sections||(t.sections=[]),E=t.sections,h=0,b=E.length;b>h;h++)if(A=E[h],m=A.
type,A.value||(A.value=[]),l=A.value){for(k=1,f=0,v=l.length;v>f;f++)u=l[f],T(u)
,a(u),o(u,"s"===m[m.length-1]?m.slice(0,-1):m,e),N(u),s(u),r(u),c(u),S(u),i(u,{c
ompilation_id:t.compilation_id,object_type:m,object_id:u.id,query_id:n,position:
k,session_id:this.session_id,page:this.page,module_id:A.module_id,result_id:u.re
sult_id}),k+=1;t[m]=l}if(O=t.top){for(T(O.result),a(O.result),o(O.result,O.type,
e,O.docs),N(O.result),s(O.result),C(O.result),c(O.result),i(O.result,{compilatio
n_id:t.compilation_id,object_type:O.type,object_id:O.result.id,query_id:n,positi
on:"top",session_id:this.session_id,page:this.page,result_id:O.result.result_id,
module_id:O.module_id}),"category"===O.type&&(O.result.quality_thumbnail=O.resul
t.thumbnail,O.result.has_quality_photo_class="has_quality_photo",O.result.availa
bility="pmp"),d=O.docs||[],w=1,g=0,y=d.length;y>g;g++)u=d[g],T(u),a(u),o(u,"book
",e),s(u),r(u),i(u,{compilation_id:t.compilation_id,rec_compilation_id:u.rec_com
pilation_id,rec_module_id:u.rec_module_id,module_id:O.module_id,result_id:u.resu
lt_id,query_id:n,object_id:u.id,object_type:"recommendation",position:w,session_
id:this.session_id,page:this.page}),w+=1;O.docs=d}return t}},t.validate=function
(t){var e,n,i,r,o,s,a,c,u,l,d,h,p,_,f,g;if(f=t,!t.no_results){if(o=function(){re
turn!0},e=function(t,e){return null==e&&(e=f),null==e[t]?e[t]="Mock":void 0},n=f
unction(n,i){var r,o,s,a,c,u,l,d;for(u=t.sections,l=[],s=0,a=u.length;a>s;s++)d=
u[s],l.push((o=d.value)?function(){var t,s,a;for(a=[],t=0,s=o.length;s>t;t++)r=o
[t],a.push(function(){var t,o,s;for(s=[],t=0,o=i.length;o>t;t++)c=i[t],s.push(e(
c,r,n));return s}());return a}():void 0);return l},e("track_rats_value",t),g=t.t
op){for(e("type",g),e("result",g),h=["thumbnail","title","id","author","document
_type","series_thumbnail","track_rats_value"],r=0,c=h.length;c>r;r++)d=h[r],e(d,
g.result,g.type);for(p=g.docs,s=0,u=p.length;u>s;s++)for(i=p[s],_=["docs_count",
"title","thumbnail","id","availability","track_rats_value","author"],a=0,l=_.len
gth;l>a;a++)d=_[a],e(d,i,g.type)}return n("documents",["thumbnail","id","title",
"page_count","availability","track_rats_value"]),n("books",["thumbnail","id","ti
tle","author","availability","track_rats_value"]),n("audiobooks",["thumbnail","i
d","title","author","availability","track_rats_value"]),n("collections",["thumbn
ail","id","title","docs_count","track_rats_value"]),n("publishers",["initials","
id","docs_count","title","availability","clean_title","track_rats_value"]),n("au
thors",["thumbnail","quality_thumbnail","id","title","availability","clean_title
","track_rats_value"])}},t.search=function(t,e){var n,i,r,o,s,a,c,u;if("#mock_au
tocomplete"===window.location.hash){if(Math.floor(100*Math.random()+1)<10)return
{};for(c=[{type:"books",value:this.generate_set("Thug love","david dai")},{type:
"audiobooks",value:this.generate_set("books","carancho")},{type:"documents",valu
e:this.generate_set("Thug love","david dai")},{type:"authors",value:this.generat
e_set("Thug love","david dai")},{type:"collections",value:this.generate_set("Thu
g love","david dai")},{type:"publishers",value:this.generate_set("Thug love","da
vid dai")},{type:"sheet_musics",value:this.generate_set("Thug love","david dai")
}],s={sections:c,compilation_id:"mock compilation id"},u=void 0,n=0,i=c.length;i
>n;n++)a=c[n],u||(u=a.value[0]);return u.document_type="collection",s.top={type:
this.top_result_types[_.random(this.top_result_types.length-1)],result:u,docs:[t
his.generate_doc(),this.generate_doc(),this.generate_doc(),this.generate_doc()],

docs_count:20},this.pre_parse(s,t,this.generate_query_id(t)),this.validate(s),e(
s)}return this.memoize[t]?e(this.memoize[t]):(null!=(o=this.current_request)&&o.
abort(),r=this.generate_query_id(t),this.current_request=$.ajax({url:this.query_
url,data:$.extend(this.config(),{q:t,qid:r,session_id:this.session_id}),headers:
this.extra_headers,success:function(n){return function(i){return n.pre_parse(i,t
,r),n.validate(i,t),n.memoize[t]=i,e(i)}}(this)}))},t.generate_set=function(t,e,
n,i){var r;return null==n&&(n=!0),null==i&&(i="https://farm9.staticflickr.com/83
78/8559402848_9fcd90d20b_b.jpg"),r=[{title:"<em>The End</em>: A Complete Overvie
w of Bible Prophecy and <em>the</em> <em>End</em> of Days",initials:"PP",thumbna
il:i,more_link:"/conanbatt",rating:1,docs:[this.generate_doc(),this.generate_doc
(),this.generate_doc(),this.generate_doc()],related_documents:n?this.generate_se
t("unavailable","blurb",!1):[],docs_count:1,page_count:1,has_quality_photo:!0,id
:1,availability:["store","pmp","unavailable"][_.random(3)-1],compilation_id:"com
pilation_id_1"},{title:"Test <em>doc</em><script>alert('yo')</script><em>doc2</e
m> no bold",initials:"CG",thumbnail:i,more_link:"/conanbatt",rating:4,docs:[this
.generate_doc(),this.generate_doc(),this.generate_doc(),this.generate_doc()],rel
ated_documents:n?this.generate_set("unavailable","blurb",!1):[],docs_count:1,pag
e_count:1,has_quality_photo:!0,id:1,availability:["store","pmp","unavailable"][_
.random(3)-1],compilation_id:"compilation_id_2",most_popular_title:"most poputit
le"},{title:"Test <em>doc</em><script>alert('yo')</script><em>doc2</em> no bold"
,initials:"C",thumbnail:i,more_link:"/conanbatt",rating:5,docs:[this.generate_do
c(),this.generate_doc(),this.generate_doc(),this.generate_doc()],related_documen
ts:n?this.generate_set("unavailable","blurb",!1):[],docs_count:1,page_count:1,id
:1,has_quality_photo:!0,availability:["store","pmp","unavailable"][_.random(3)-1
],compilation_id:"compilation_id_3",most_popular_title:"most poputitle"},{title:
"Test <em>doc</em><script>alert('yo')</script><em>doc2</em> no bold",initials:"C
",thumbnail:i,more_link:"/conanbatt",rating:5,docs:[this.generate_doc(),this.gen
erate_doc(),this.generate_doc(),this.generate_doc()],related_documents:n?this.ge
nerate_set("unavailable","blurb",!1):[],docs_count:1,page_count:1,id:1,has_quali
ty_photo:!0,availability:["store","pmp","unavailable"][_.random(3)-1],compilatio
n_id:"compilation_id_3",most_popular_title:"most poputitle"},{title:"Test <em>do
c</em><script>alert('yo')</script><em>doc2</em> no bold",initials:"C",thumbnail:
i,more_link:"/conanbatt",rating:5,docs:[this.generate_doc(),this.generate_doc(),
this.generate_doc(),this.generate_doc()],related_documents:n?this.generate_set("
unavailable","blurb",!1):[],docs_count:1,page_count:1,id:1,has_quality_photo:!0,
availability:["store","pmp","unavailable"][_.random(3)-1],compilation_id:"compil
ation_id_3",most_popular_title:"most poputitle"},{title:"Test <em>doc</em><scrip
t>alert('yo')</script><em>doc2</em> no bold",initials:"C",thumbnail:i,more_link:
"/conanbatt",rating:5,docs:[this.generate_doc(),this.generate_doc(),this.generat
e_doc(),this.generate_doc()],related_documents:n?this.generate_set("unavailable"
,"blurb",!1):[],docs_count:1,page_count:1,id:1,has_quality_photo:!0,availability
:["store","pmp","unavailable"][_.random(3)-1],compilation_id:"compilation_id_3",
most_popular_title:"most poputitle"}]},t.generate_doc=function(t){return null==t
&&(t="https://farm9.staticflickr.com/8378/8559402848_9fcd90d20b_b.jpg"),{thumbna
il:t,id:20,link:"/books/1",initials:"tt",title:"Related doc",name:"By pepito",au
thor:"By pepito",safe_author:"pepe",document_type:["book","document","audiobook"
,"comic"][_.random(4)],compilation_id:"recommended_mock_compilation_id"}},t}()})
.call(this);
/* app/views/shared/buy_doc_manager.coffee @ 1478902276 */
(function(){Scribd.BuyDocManager=function(){function t(t){_.isArray(t)&&(t=t.joi
n("")),this.buy_url=t}return t.for_current_doc=function(){var t,e,n,i;return thi
s.buy_manager?this.buy_manager:(i=Scribd.current_doc,t=i.buy_url,e=i.missing_pag
e_label,n=i.missing_page_title,this.buy_manager=new Scribd.BuyDocManager(t),this
.buy_manager.setup_buy_buttons(e),this.buy_manager.setup_missing_page_title(n),t
his.buy_manager)},t.prototype.setup_buy_buttons=function(t){var e;return e=$(doc
ument),e.ready(function(n){return function(){return Scribd.ServerOptions&&Scribd
.ServerOptions.payments_store_disabled===!0?$(".missing_page_buy_button").hide()
:(Scribd.current_doc.show_archive_paywall?$(".missing_page_buy_link .btn_inner")

.text(t):$(".missing_page_buy_button").hide(),e.dispatch("click",{missing_page_b
uy_button:Scribd.current_doc.is_pmp?n.get_premium_callback("missing_page_signup"
):Scribd.current_doc.can_purchase?n.get_buy_callback("button:click"):Scribd.curr
ent_doc.view_restricted?n.get_archive_callback("missing_page_signup"):void 0}))}
}(this))},t.prototype.setup_missing_page_title=function(t){var e;return Scribd.e
ligible_for_archive_blur_test&&"variant"===Scribd.nway_test_choice_value("archiv
e_blur")?void $(".between_page_module").remove():(e=$(document),e.ready(function
(){return function(){return Scribd.current_doc.is_pmp||Scribd.current_doc.can_pu
rchase||Scribd.current_doc.show_archive_paywall?($(".missing_page_number_title")
.text(t),$(".missing_page_number_text").each(function(){var t,e;return e=$(this)
.data("start_page"),t=$(this).data("end_page"),$(this).html(e===t?I18n.t("pdfs.s
how.page_page_is_not_shown",{page:e}):I18n.t("pdfs.show.pages_start_page_to_end_
page_is_not_shown",{start_page:e,end_page:t}))})):void 0}}(this)))},t.prototype.
get_buy_callback=function(t){return function(e){return function(){var n;return n
=function(){return $(document.body).track({category:"payments",action:"newdoc/st
ore",label:"buy_now"+t}),window.location.href=e.buy_url},Scribd.logged_in?Scribd
.FacebookSession.attempt_facebook_upgrade(n):n(),!1}}(this)},t.prototype.get_sub
scription_callback=function(t,e){return function(){return function(){var n,i,r;r
eturn n={context:Scribd.current_doc.signup_context,page:"read",action:t,platform
:"web",logged_in:!!Scribd.logged_in},n=encodeURIComponent(JSON.stringify(n)),i="
doc="+Scribd.current_doc.id+"&metadata="+n,r=function(){return $(document.body).
track({category:"payments",action:"newdoc",label:Scribd.current_doc.signup_conte
xt+":missing_page_button:click"}),window.location.href=e+"?"+i},Scribd.logged_in
?Scribd.FacebookSession.attempt_facebook_upgrade(r):$.ajax({url:"https://www.scr
ibd.com/archive/login?"+i,type:"post",data:Scribd.toolbar_params(Scribd.current_
doc),dataType:"json"}).done(Scribd.SignIn.open),!1}}(this)},t.prototype.get_prem
ium_callback=function(t){return this.get_subscription_callback(t,"/archive/pmp_c
heckout")},t.prototype.get_archive_callback=function(t){return this.get_subscrip
tion_callback(t,"/archive/plans")},t}()}).call(this);
/* app/views/shared/react/lightbox.coffee @ 1478902276 */
(function(){var t,e,n;e=React.DOM,t=e.div,n=e.span,Scribd.R.component("Shared.Li
ghtbox",{componentDidMount:function(){var t,e;if(!this.container().closest("#lig
htboxes").length)throw new Error("Tried to render a react lightbox not inside #l
ightboxes");return(null!=(e=this.state)?e.lightbox:void 0)||(t=new Scribd.Lightb
ox(this.container(),!1),this.setState({lightbox:t}),"function"==typeof this.comp
onentLightboxInitialized&&this.componentLightboxInitialized(),this.container().h
ide()),t.show()},render:function(){return t({className:classNames("lightbox",thi
s.props.className)},t({className:"wrapper",children:[this.props.show_close!==!1?
t({className:"close_button"},n({className:"icon-close"})):void 0,this.props.titl
e?t({className:"title"},this.props.title):void 0,this.props.wrap_content===!1?th
is.props.children:t({className:"content",children:this.props.children})]}))}})})
.call(this);
/* app/views/shared/search/search_storage.coffee @ 1478902276 */
(function(){Scribd.UI.SearchStorage=function(){function t(){this.manage_version(
)}return t.prototype.search_data_key="search_data",t.prototype.max_search_terms=
5,t.prototype.max_viewed_history=10,t.prototype.version=3,t.prototype.clear_term
s=function(){return Scribd.with_local_storage(function(t){return function(e){var
n;return n=t.read(),n.terms=[],e.setItem(t.search_data_key,JSON.stringify(n))}}
(this))},t.prototype.read=function(){return Scribd.with_local_storage(function(t
){return function(e){var n,i;return n={terms:[]},i=JSON.parse(e.getItem(t.search
_data_key)),_.extend(n,i)}}(this))},t.prototype.manage_version=function(){return
Scribd.with_local_storage(function(t){return function(e){var n,i,r;try{if(r=JSO
N.parse(e.getItem(t.search_data_key))||{},null==r.version||r.version!==t.version
)return e.setItem(t.search_data_key,JSON.stringify({version:t.version}))}catch(i
){return n=i,console.error("Error loading from storage: "+n),e.setItem(t.search_
data_key,JSON.stringify({version:t.version}))}}}(this))},t.prototype.save=functi

on(t){return Scribd.with_local_storage(function(e){return function(n){var i,r,o;


return i=e.read(),r=_.compact(i.terms),o=function(t){var e;return e=r[0],0===t.i
ndexOf(e)||0===(null!=e?e.indexOf(t):void 0)?r[0]=t:r.unshift(t)},r&&r.length>e.
max_search_terms&&(r=r.slice(0,+(e.max_search_terms-2)+1||9e9)),o(t),r=_.uniq(r)
,i=_.extend(i,{terms:r}),n.setItem(e.search_data_key,JSON.stringify(i))}}(this))
},t}()}).call(this);
/* app/views/shared/download_document.coffee @ 1478902276 */
(function(){Scribd.toolbar_params=function(t){var e;return Scribd.current_doc&&(
t=Scribd.current_doc),e={id:t.id},t.secret_password&&(e.secret_password=t.secret
_password),e},Scribd.download_actions={register_download_attempt:function(t,e,n,
i){return $.ajax("https://www.scribd.com/document_downloads/register_download_at
tempt",{type:"post",data:{doc_id:i.id,next_screen:n,source:t}}),$(document.body)
.track({category:"download",action:"click",label:t}),$rat("analytics.sidebar.doc
ument.download",{title:i.title})},download_attempt:function(t,e,n,i){var r,o,s,a
;return r=!(Scribd.logged_in||null!=Scribd._anonymous_current_user),o=encodeURIC
omponent(JSON.stringify({context:i.signup_context,page:e,action:n,platform:"web"
,logged_in:!r})),i.show_archive_paywall?(s="doc="+i.id+"&metadata="+o,void(r?(th
is.register_download_attempt(e,n,"login_lightbox",i),$.ajax({url:"https://www.sc
ribd.com/archive/login?"+s,type:"post",data:Scribd.toolbar_params(i),dataType:"j
son"}).done(Scribd.SignIn.open)):(a=function(t){return function(){return t.regis
ter_download_attempt(e,n,"paywall",i),window.location="/archive/plans?"+s}}(this
),Scribd.FacebookSession.attempt_facebook_upgrade(a)))):r?(this.register_downloa
d_attempt(e,n,"login_lightbox",i),Scribd.SignIn.open({initial_view:"join_archive
",track_location:function(){switch(e){case"read":return"download"}}(),next_url:i
.url+"#download",login_params:{source:"download",context:Scribd.current_ca,doc_s
ignup_context:Scribd.current_doc.signup_context,document_id:Scribd.current_doc.i
d}})):(this.register_download_attempt(e,n,"download_lightbox",i),t(i))},download
_dialog_lightbox:function(t){return $.ajax({type:"POST",url:"/read/download_dial
og",data:Scribd.toolbar_params(t),success:function(){return function(t){return S
cribd.Lightbox.open_react("document_download_lb",Scribd.R.Pdfs.Lightboxes.Downlo
adLightbox(t.props))}}(this)})},download:function(t,e,n,i){var r;return r=i||thi
s.download_dialog_lightbox,Scribd.current_doc?Scribd.download_actions.download_a
ttempt(r,e,n,Scribd.current_doc):$.ajax("https://www.scribd.com/document_downloa
ds/request_document_for_download",{type:"post",data:{id:t},success:function(t){r
eturn Scribd.download_actions.download_attempt(r,e,n,t)}})}}}).call(this);
/* app/views/shared/asyncable.coffee @ 1478902276 */
(function(){$(function(){return Scribd.Asyncable=function(){function t(t){this.c
ontainer=$(t)}return t.prototype.asyncable_widgets=function(){return this.contai
ner.find(".asyncable[data-asyncable_url]")},t.prototype.asyncable_urls=function(
){var t,e,n,i,r,o;for(e=[],o=this.asyncable_widgets(),i=0,r=o.length;r>i;i++)n=o
[i],t=$(n),e.push(t.data("asyncable_url"));return _.uniq(e)},t.prototype.load_wi
dgets=function(){return this._setup_widgets(),this._request_widgets()},t.prototy
pe._request_widgets=function(){var t,e,n,i,r;for(i=this.asyncable_urls(),r=[],e=
0,n=i.length;n>e;e++)t=i[e],r.push($.get(t,function(t){return function(e){return
t.container.trigger("scribd:asyncable:response",e)}}(this)).fail(function(){ret
urn function(){return console.error("Unable to load "+t)}}(this)));return r},t.p
rototype._setup_widgets=function(){var t,e,n,i,r;for(i=this.asyncable_widgets(),
r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push(function(t){return function(e){var n,i
;return n=$(e),i=n.data("async_animation_time")||800,t.container.on("scribd:asyn
cable:response",function(e,r){var o,s;return(o=r[n.data("asyncable_class")])&&!n
.is(".synched")?("fade"===n.data("asyncable_animation")?(s={},s[n.data("asyncabl
e_class")]=!0,n.children().length?n.fadeOut(function(){return n.html(o),n.fadeIn
(i,function(){return t.container.trigger("scribd:asyncable:fadein_finished",s)})
}):(n.hide(),n.html(o),n.fadeIn(i,function(){return t.container.trigger("scribd:
asyncable:fadein_finished",s)}))):"slide"===n.data("asyncable_animation")?n.chil
dren().length?n.slideUp(function(){return n.html(o),n.slideDown(i)}):(n.hide(),n

.html(o),n.slideDown()):(n.html(o),n.show()),n.addClass("synched"),t.container.t
rigger("scribd:asyncable:update_finished")):void 0})}}(this)(t));return r},t}(),
new Scribd.Asyncable("body").load_widgets()})}).call(this);
/* app/views/shared/carousels/document_cell.coffee @ 1478902276 */
(function(){Scribd.DocumentCell={add_flags:function(t,e){var n,i,r,o,s,a,c;for(n
ull==e&&(e=".document_cell.has_flag"),s=t.find(e).add(t.filter(e)),a=[],r=0,o=s.
length;o>r;r++)n=s[r],i=$(n).find(".flag"),a.push((c=i.data("text"))?i.append("<
span>"+c+"</span>"):void 0);return a}}}).call(this);
/* app/views/shared/browser_history.coffee @ 1478902276 */
(function(){Scribd.BrowserHistory=function(){function t(){}return t.current_id=0
,t.restore_id=0,t.original_title=document.title,t.enabled=function(){return!!("u
ndefined"!=typeof history&&null!==history?history.pushState:void 0)},t.init=func
tion(){return t.enabled()?$(window).on("popstate.browserhistory",function(e){var
n;return n=e.originalEvent.state,t.current_id=(null!=n?n.id:void 0)?n.id:0,docu
ment.title=(null!=n?n.title:void 0)?n.title:t.original_title}):void 0},t.begin=f
unction(){return t.enabled()?t.restore_id=t.current_id:void 0},t.restore=functio
n(){var e;if(t.enabled())return e=t.restore_id-t.current_id,t.current_id=t.resto
re_id,history.go(e)},t.push=function(e,n){var i,r;if(t.enabled())return null==n.
url&&(n.url=e),n.id=++t.current_id,r=null!=(i=n.title)?i:"",history.pushState(n,
r,e),r?document.title=r:void 0},t.pop=function(){return t.enabled()?history.go(1):void 0},t.disable=function(){return $(window).off("popstate.browserhistory"),
t.enabled=function(){return!1}},t}(),Scribd.BrowserHistory.init()}).call(this);
/* app/views/chrome/tooltips.coffee @ 1478902275 */
(function(){Scribd.Tooltips={Fancy:{template:_.template('<div class="fancy_tip">
\n <div class="tip_arrow sprite popup_arrow"></div>\n <div class="tip_inner">\
n
{{& content }}\n </div>\n</div>'),position:function(t,e){var n;return n=t.
offset(),e.css({left:Math.floor(n.left-e.outerWidth()/2+t.outerWidth()/2),top:Ma
th.floor(n.top+12+t.outerHeight())})}},Default:{template:_.template('<div class=
"new_tip">\n <div class="tip_inner">{{ content }}</div>\n</div>'),position:func
tion(t,e){var n,i,r,o,s,a,c,u,l;return i=t.offset(),n=e.outerHeight(),s=e.outerW
idth(),c=t.outerWidth(),u=i.left-(s-c)/2,l=i.top-n-4,0>l&&(l=i.top+t.outerHeight
()+4),u=Math.max(2,u),u=Math.min($(window).width()-2-s,u),r=a=e.parent().offsetP
arent(),o=r.offset(),e.css({left:u-o.left,top:l-o.top})}},Under:{position:functi
on(t,e){var n,i,r,o;return i=t.offset(),n=e.height(),r=e.width(),o=t.width(),e.c
ss({width:500,left:i.left+Math.floor((o-r)/2),top:n+4})}},Under2:{position:funct
ion(t,e){var n,i,r,o,s,a,c,u,l;return i=t.offset(),n=e.outerHeight(),s=e.outerWi
dth(),c=t.outerWidth(),u=i.left-(s-c)/2,l=i.top+20,r=a=e.parent().offsetParent()
,o=r.offset(),e.css({left:u-o.left,top:l-o.top})}},Unescaped:{template:_.templat
e('<div class="new_tip">\n <div class="tip_inner">\n
{{& content }}\n </div
>\n</div>')}},Scribd.hook_tooltips=function(t,e){var n,i,r,o;return null==e&&(e=
{}),e=$.extend({tooltip_container:"tooltip_container",template:Scribd.Tooltips.D
efault.template,position:Scribd.Tooltips.Default.position,sticky:!1},e),o=$("<di
v class='"+e.tooltip_container+"'></div>").appendTo(t),o.data("hover_count",0),n
=function(t){return e.sticky?setTimeout(function(){return 0===o.data("hover_coun
t")?t():void 0},200):t()},i=function(){return o.empty()},function(t){return Scri
bd.kill_tooltips=function(){return"function"==typeof t&&t(),i()}}(Scribd.kill_to
oltips),r=function(t){var n,i,r,s,a,c,u;if(!t.is(".disabled")){if(a=t.data("tool
tip_elm"),s=t.attr("data-tooltip"),!a||s!==t.data("tooltip_elm_content")){if("{"
===s[0]&&(s=JSON.parse(s)),$.isPlainObject(s)){u=s,s=u["default"];for(n in u)if(
c=u[n],t.is("."+n)){s=c;break}}r=(null!=(i=Scribd.Tooltips[t.data("tooltip_templ
ate")])?i.template:void 0)||e.template,a=$(r({content:s})),t.data("tooltip_elm",
a),t.data("tooltip_elm_content",s)}return a.appendTo(o),e.position(t,a),a.addCla
ss("opaque")}},e.sticky&&o.on("mouseenter mouseleave",function(t){var e;return e
="mouseleave"===t.type?-1:1,"mouseleave"===t.type&&n(i),o.data("hover_count",o.d

ata("hover_count")+e)}),t.on("mouseenter mouseleave","[data-tooltip]",function(t
){var e,i;return i=$(t.currentTarget),e="mouseleave"===t.type?-1:1,"mouseleave"=
==t.type?n(function(){var t;return null!=(t=i.data("tooltip_elm"))?t.removeClass
("opaque").remove():void 0}):r(i),o.data("hover_count",o.data("hover_count")+e)}
),t.on("scribd:update_tooltip","[data-tooltip]",function(t,e){var n,i,o;return n
=$(t.currentTarget),e&&n.data("tooltip",e),o=!1,(i=n.data("tooltip_elm"))&&(o=0!
==i.closest("body").length,i.removeClass("opaque").remove()),n.removeData("toolt
ip_elm"),o?r(n):void 0})}}).call(this);
/* app/views/chrome/marla.coffee @ 1478902275 */
(function(){$(function(){return Scribd.marla=function(){var t,e,n,i,r,o,s,a;for(
o=$("[data-marla]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],t=$(n),e=$("<div>"),e.add
Class("marla"),$(e).data("parent",t),e.css({position:"absolute",top:0,left:0,rig
ht:0,bottom:0,opacity:.5,"z-index":10,"background-image":"url("+t.data("marla")+
")","background-repeat":"no-repeat","background-position":"50%","background-colo
r":"blue","-webkit-filter":"invert(100%) opacity(50%)"}),"static"===t.css("posit
ion")&&t.css("position","relative"),t.append(e),a=$("<span> Press M to toggle of
f</span>"),a.css({"font-weight":"bold",color:"black"}),e.append(a),s.push(e.fade
Toggle());return s},$(document).on("keyup",function(){return function(t){var e,n
;if(77===t.keyCode){if(e=$(".marla"),!e.length)return;return n=e.data("parent").
attr("data-marla"),e.css({backgroundImage:"url('"+n+"')"}),e.fadeToggle()}}}(thi
s)),Scribd.marla()})}).call(this);
/* app/views/chrome/flasher.coffee @ 1478902275 */
(function(){Scribd.Flasher=function(){function t(t,e){var n,i;this.container=t,t
his.opts=null!=e?e:{},null==(n=this.opts).dismiss&&(n.dismiss=!0),null==(i=this.
opts).raw&&(i.raw=!1),null!=this.opts.duration&&(this.duration=this.opts.duratio
n),this.opts.dismiss&&$(document).on("click",".global_flash",function(t){return
function(){return t.dismiss()}}(this))}return t.prototype.duration=1e4,t.prototy
pe.animation_duration=250,t.prototype.clipping="-7px",t.prototype.dismiss=functi
on(t){return(null!=t?t:t=this.current_flash)?(this.timeout&&(clearTimeout(this.t
imeout),this.timeout=null),this.container?t.slideUp(function(){return function()
{return t.remove()}}(this)):(t.css({"margin-top":"-"+(t.outerHeight()+4)+"px"}),
setTimeout(function(){return function(){return t.remove()}}(this),2*this.animati
on_duration))):void 0},t.prototype.show=function(t,e,n){var i;return null==n&&(n
=!1),this.opts.dismiss&&this.dismiss(),i=$(this.container?"<div class='flasher_n
otification "+t+"'>":"<div class='global_flash "+t+"'>"),n||this.opts.raw?i.html
(e):i.text(e),this.container?(i.hide(),i.appendTo(this.container),i.slideDown(),
this.opts.dismiss&&(this.timeout=setTimeout(function(t){return function(){return
t.dismiss()}}(this),this.duration))):(i.appendTo("body"),i.css({width:i.width()
+1+"px","margin-top":"-"+(i.outerHeight()+4)+"px",left:"0",right:"0"}),this.opts
.dismiss&&(this.timeout=setTimeout(function(t){return function(){return i.addCla
ss("animated"),i.css({"margin-top":t.clipping}),setTimeout(function(){return t.d
ismiss()},t.duration)}}(this),100))),this.current_flash=i},t}()}).call(this);
/* app/views/chrome/_sign_in.coffee @ 1478902275 */
(function(){Scribd.SignIn=function(){function t(){}return t.open=function(t){var
e,n;return null==t&&(t={}),n=Scribd.Lightbox.lightboxes,e=n.find("#login_drop")
,e.length||(e=$('<div id="login_drop"></div>').appendTo(n)),ReactDOM.unmountComp
onentAtNode(e[0]),ReactDOM.render(Scribd.R.Shared.Login.Lightboxes(t),e[0])},t.l
ogout=function(){return window.location="/logout?return_to="+encodeURIComponent(
window.location.pathname)},t}()}).call(this);
/* app/views/chrome/_hover_menu.coffee @ 1478902275 */
(function(){$(function(){var t,e;return t=function(t){var e,n,i;return e=$(t.cur
rentTarget),e.is(".disabled")?void 0:(e.is(".open")||e.trigger("scribd:hover_men

u_open"),$(".hover_menu").removeClass("open"),e.addClass("open").trigger("scribd
:dismiss_overlay").data("active",!0),i=function(){return _.defer(function(){retu
rn $(document.body).off("scribd:close_hover_menus",i),e.removeClass("open")})},$
(document.body).on("scribd:close_hover_menus",i),n=e.data("try_hide"),n||(n=_.de
bounce(function(){return e.data("active")?void 0:i()},1e3),e.data("try_hide",n))
,n())},e=void 0,$(document).on("click",function(t){return $(t.target).closest(".
hover_menu").length?void 0:$(document.body).trigger("scribd:close_hover_menus")}
).on("mouseenter",".hover_menu",function(n){var i,r;return i=$(n.currentTarget),
r=i.data("hover_menu_delay")||1,e=setTimeout(function(){return t(n)},r)}).on("cl
ick",".hover_menu",t).on("mouseleave",".hover_menu",function(t){return clearTime
out(e),$(t.currentTarget).data("active",!1)}).on("mousemove",".hover_menu .sub_m
enu",function(t){return $(t.currentTarget).closest(".hover_menu").data("active",
!0).data("try_hide")()})})}).call(this);
/* app/views/chrome/spinner.coffee @ 1478902275 */
(function(){Scribd.init_spinners=function(t){var e,n,i,r,o,s;for(null==t&&(t=$(d
ocument.body)),r=t.find(".scribd_spinner"),n=0,i=r.length;i>n;n++){if(s=r[n],e=$
(s),o=e.data("size"),30!==o&&60!==o&&20!==o)return void console.error("This spin
ner size has no fallback. Use 30, 60 or create a new spinner_{size}.gif");e.css(
"height",o).css("width",o).css("background-size",o),Scribd.noanimate||e.addClass
("permanent_rotation"),60===e.data("size")&&e.addClass("slow"),Modernizr.csstran
sforms||e.css("background-image","url('/images/petunia/spinner/spinner_"+s.data(
"size")+".gif')")}},$(Scribd.init_spinners)}).call(this);
/* app/views/chrome/_facebook_session.coffee @ 1478902275 */
(function(){Scribd.FacebookSession={getUserId:function(){var t;return t=FB.getAu
thResponse(),t?t.userID:void 0},correct:function(){return window.facebookUser&&"
undefined"!=typeof window.facebookUserId?this.getUserId()===facebookUserId:!1},v
erifyExec:function(t,e){var n;if(window.facebookUser)return n=this,n.correct()?t
():e?FB.getLoginStatus(function(e){var i;return i=e.authResponse,i?FB.logout(fun
ction(){return FB.login(function(){return n.withValid(t)})}):FB.login(function()
{return n.withValid(t)})}):void 0},ensureValid:function(t){return this.verifyExe
c(t,!0)},withValid:function(t){return this.verifyExec(t,!1)},attempt_facebook_up
grade:function(t,e){return e||(e=t),Scribd.with_named_current_user(function(){va
r n;return n=Scribd.named_current_user(),n&&n.is_facebook_user&&!n.has_email?Scr
ibd.facebook.login(function(n){return n&&n.authResponse?($("#loading_lb").length
&&Scribd.Lightbox&&Scribd.Lightbox.open("loading_lb"),$.ajax({url:"/facebook_ses
sion",type:"post",dataType:"json",success:t})):e()}):t()})}}}).call(this);
/* app/views/chrome/_validator.coffee @ 1478902275 */
(function(){Scribd.validate=function(t){return function(e,n){var i,r,o,s,a,c,u,l
;for(null==n&&(n={}),t.opts=$.extend({display_errors:!0},n),e.find("input, texta
rea").removeClass("validate_error"),e.find(".tooltip_container").remove(),l=!0,u
=Scribd.Tooltips.Default,r=function(n,i){var r,o;if(t.opts.display_errors)return
n.addClass("validate_error"),o=$("<div>").addClass("tooltip_container").appendT
o(e),r=$(u.template({content:i})),r.appendTo(o),u.position(n,r),r.addClass("opaq
ue"),n.one("blur input",function(){return n.removeClass("validate_error"),n.remo
veAttr("data-server_validation").data("server_validation",!1),r.remove()})},c=e.
find("[data-validate]"),o=0,a=c.length;a>o;o++)s=c[o],i=$(s),"existence"!==i.dat
a("validate")||i.val()||(r(i,I18n.t("giftcards.validator.can_t_be_blank")),l=!1)
,"email"===i.data("validate")&&-1===i.val().indexOf("@")&&(r(i,I18n.t("giftcards
.validator.must_be_a_valid_email")),l=!1),"future_date"===i.data("validate")&&(!
/^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/.test(i.val())||isNaN(Date.parse(i.val()))||Date
.parse(i.val())<Date.now())&&r(i,I18n.t("giftcards.validator.must_be_a_valid_fut
ure_date")),i.data("server_validation")&&r(i,i.data("server_validation"));return
l}}(this)}).call(this);

/* :class_inlines, 'app/views', ... @ 1478902276 */


/* app/views/shared/document_popups.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.UI||(Scribd.UI={}),Scribd.UI.Popups=function(){fu
nction e(e,n){this.trigger_exit=t(this.trigger_exit,this),this.trigger_enter=t(t
his.trigger_enter,this),this._popup_drop=$(e),n&&this.bind(n),$(document.body).o
n("click",function(t){return function(e){return $(e.target).closest(".object_pop
up").length?void 0:t.hide_popup()}}(this)),$(document.body).on("Scribd:hide_popu
ps",function(t){return function(){return t.hide_popup()}}(this))}return e.protot
ype.popup_timeout=300,e.prototype.remove_popup_timeout=200,e.prototype.fetch_dat
a_timeout=150,e.prototype.cell_selector=".object_cell",e.prototype.hover_selecto
r=".object_cell .object_cell_hover",e.prototype.popup_selector=".object_popup",e
.prototype.positioning_selector=".object_cell_hover",e.prototype.popup_data=func
tion(){throw"override me (popup_data)"},e.prototype.make_popup=function(){throw"
override me (make_popup)"},e.prototype.trigger_enter=function(t){var e;return(e=
t.data("remove_popup_timeout"))?(t.removeData("remove_popup_timeout"),window.cle
arTimeout(e)):void 0},e.prototype.trigger_exit=function(t){var e,n;if(this.curre
nt_popup&&this.current_popup.data("cell").is(t)){if(t.data("remove_popup_timeout
"))return;return e=this.current_popup,n=window.setTimeout(function(n){return fun
ction(){return t.removeData("remove_popup_timeout"),window.location.hash.match(/
\bstick_popups\b/)||n.current_popup!==e?void 0:n.hide_popup()}}(this),this.remov
e_popup_timeout),t.data("remove_popup_timeout",n)}},e.prototype.bind=function(t)
{var e,n,i;return t=$(t),e=null,i=_.debounce(function(t){return function(){var n
;return n=e,n?t.popup_data(n,function(i){return n===e?t.show_popup(n,i):void 0})
:void 0}}(this),this.popup_timeout),n=_.debounce(function(t){return function(){r
eturn e?t.popup_data(e):void 0}}(this),this.fetch_data_timeout),$(document.body)
.on("mousemove",i).on("mousemove",n),t.on("mouseenter mouseleave",this.hover_sel
ector||this.cell_selector,function(t){return function(n){var i,r;return i=$(n.cu
rrentTarget),t.cell_selector&&(i=i.closest(t.cell_selector)),i.is(".no_popup")?v
oid 0:(r="mouseenter"===n.type,r?(e=i,t.trigger_enter(i)):(e=null,t.trigger_exit
(i)))}}(this)),t.on("mouseenter mouseleave",this.popup_selector,function(t){retu
rn function(e){var n,i,r;return r=$(e.currentTarget),n=r.data("cell"),i="mouseen
ter"===e.type,i?t.trigger_enter(n):t.trigger_exit(n)}}(this))},e.prototype.hide_
popup=function(){return this.current_popup&&this.current_popup.data("cell")&&thi
s.current_popup.data("cell").removeClass("popup_open"),this.current_popup=null,t
his._popup_drop.children().detach()},e.prototype.show_popup=function(t,e){var n,
i,r,o,s,a,c,u,l,d,h,p,_,f,g,m,b,v,y,w,k,x,S,C;if((null!=(k=this.current_popup)?!
k.data("cell").is(t):!0)&&(this.current_popup&&this.hide_popup(),jQuery.contains
(document.documentElement,t[0]))){if(f=null,t.data("popup_elm")&&t.data("popup_e
lm").is(this.popup_selector)&&(f=t.data("popup_elm")),!f){if(a=!0,f=this.make_po
pup(t,e),!f)return;f.data("cell",t).data("object",e),(m=t.data("popup_classes"))
&&f.addClass(m),t.data("popup_elm",f)}for(w=this.positioning_selector?t.find(thi
s.positioning_selector):t,y=w.offset(),_=this._popup_drop.offsetParent().offset(
),y.left-=_.left,y.top-=_.top,t.addClass("popup_open"),this.current_popup=f.remo
veClass("on_left").css({left:Math.floor(y.left)+"px",top:Math.floor(y.top)+"px"}
).appendTo(this._popup_drop.children().detach().end()),f.trigger("scribd:popup_a
dded",[a]),C=$(window),o=y.left+w.outerWidth()+f.outerWidth()<C.width(),h=y.left
-f.outerWidth()<C.scrollLeft()+10,d=this.default_on_right&&o||h?(f.addClass("on_
right"),y.left+w.outerWidth()):(f.addClass("on_left"),y.left-f.outerWidth()),s=c
=1;2>=c;s=++c)f.css({left:Math.floor(d)+"px"});return S=w.outerHeight(),b=f.oute
rHeight(),f.css("margin-top",(S-b)/2+"px"),p=10,b=f.outerHeight(),v=f.offset(),x
=C.scrollTop(),g=f.find(".popup_arrow").css("margin-top",""),n=b/2-20,r=parseInt
(g.css("margin-top"),10),u=x+p-v.top,u>0?(f.css("top",Math.floor(y.top+u)),i=r-M
ath.min(n,u),g.css("margin-top",i+"px")):(l=v.top+b-(C.height()+x-p),g.addClass(
"below_title"),l>0&&(f.css("top",Math.floor(y.top-l)),i=r+Math.min(n,l),g.css("m
argin-top",i+"px"))),this.current_popup.hide().fadeIn()}},e}(),Scribd.UI.Documen
tPopups=function(t){function n(t,e,i){i&&(this.context=i),n.__super__.constructo

r.call(this,t,e),this.setup_events()}return e(n,t),n.prototype.context="document
_popups",n.prototype.popup_selector=".document_popup",n.prototype.show_hide=!1,n
.prototype.popup_data=function(t,e){var n,i;return i=t.data("request"),n=t.data(
"object_id"),i||(i=function(){if(t.is(".document_cell"))return $.get("/documents
/popup_data?id="+n);throw"Don't know how to handle popup"}(),t.data("request",i)
),e?i.done(e):void 0},n.prototype.bind=function(){return n.__super__.bind.apply(
this,arguments)},n.prototype.setup_events=function(){return this._popup_drop.on(
"mouseenter",".not_interested_btn",function(t){return function(){return t._popup
_drop.find(".recommendation_explanation").hide(),t._popup_drop.find(".not_intere
sted_text").show()}}(this)),this._popup_drop.on("mouseleave",".not_interested_bt
n",function(t){return function(){return t._popup_drop.find(".recommendation_expl
anation").show(),t._popup_drop.find(".not_interested_text").hide()}}(this))},n}(
Scribd.UI.Popups),Scribd.UI.OnboardingBookPopups=function(t){function n(){return
n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.context
="onboarding_popup",n.prototype.make_popup=function(t,e){var n;return this._doc_
popup_template||(this._doc_popup_template=_.template($("#tpl_onboarding_book_pop
up").html())),window.popup=n=$(this._doc_popup_template(e)),n.on("click",".save_
bookmark_btn",function(){return function(t){return $(t.currentTarget).find(".btn
_inner").text("Saved!")}}(this)),e.user_can_save_bookmarks&&n.addClass("user_can
_save_bookmarks"),e.publisher.is_verified&&(e.authors.length?n.find(".verified_b
adge.author_badge").removeClass("hidden"):n.find(".verified_badge.publisher_badg
e").removeClass("hidden")),e.authors.length&&n.addClass("has_authors"),e.bookmar
k_id&&n.find(".save_bookmark_btn").addClass("saved"),n.one("scribd:popup_added",
function(){return function(){var t,e,i;return e=n.find(".document_description"),
i=e.find(".description"),t=_.trim(_.unescape(i.text().replace("&nbsp;"," "))),i.
text(t),0===t.length&&n.addClass("has_no_description"),e.dotdotdot(),n.find(".ti
tle_row").dotdotdot()}}(this)),n},n}(Scribd.UI.DocumentPopups)}).call(this);
/* app/views/shared/react/star_ratings.coffee @ 1478902276 */
(function(){var t,e,n,i,r;i=React.DOM,r=i.span,n=i.label,t=i.a,(e=Scribd.R.compo
nent_builder("Shared.React.StarRatings",{css_class:"star_ratings"}))({lit:"iconfeature light_lit",unlit:"icon-feature_outline",half_lit_container:"half_lit",ha
lf_lit:"icon-feature_half light_lit",tip:["i_didn_t_like_it_at_all","i_didn_t_li
ke_it_that_much","i_thought_it_was_ok","i_liked_it","i_loved_it"],"static":{inst
ances:[],bind_global_handlers:_.once(function(){return $(window).on("scribd:rati
ng_update",function(t,e){var n,i,r,o,s;for(r=Scribd.R.Shared.React.StarRatings.i
nstances,s=[],n=0,o=r.length;o>n;n++)i=r[n],i.props.current_user&&i!==e&&e.props
.doc_id===i.props.doc_id&&s.push(i.setState({user_rating:e.state.user_rating}));
return s})})},getInitialState:function(){return{user_rating:this.props.user_rati
ng||0,rating_required:!1,selected_star:0,show_clear_rating:this.props.show_clear
_rating,inform_saved:!1}},toggle_rated:function(){return this.container().toggle
Class("rated",this.state.user_rating>0)},componentDidMount:function(){return Scr
ibd.R.Shared.React.StarRatings.instances.push(this),this.container().toggleClass
("static",!this.props.active||!this.props.current_user),this.props.current_user&
&this.container().toggleClass("current_user"),this.toggle_rated(),Scribd.R.Share
d.React.StarRatings.bind_global_handlers()},componentDidUpdate:function(){return
this.container().toggleClass("selecting",this.state.selected_star>0),this.toggl
e_rated()},render:function(){return[this.stars(),this.stats(),this.tips(),this.c
lear_rating(),this.rating_required()]},stars:function(){var t,e;return e=this.pr
ops.current_user_rating_only?0:this.props.system_rating,t=this.state.selected_st
ar||this.state.user_rating||e,r({className:"stars",onMouseLeave:function(t){retu
rn function(){return t.props.active?t.setState({selected_star:0}):void 0}}(this)
,children:_.map([1,2,3,4,5],function(e){return function(n){var i;return i=t>=n?e
.lit:n===t+.5?e.half_lit_container:e.unlit,r({className:"rating_star "+i,"data-v
alue":n,onMouseOver:function(t){return e.props.active?e.setState({selected_star:
$(t.target).data("value")}):void 0},onClick:function(t){return e.props.active&&"
right"!==t.type&&e.state.user_rating!==e.state.selected_star?e.rate_title($(t.ta
rget).data("value")):void 0},children:i===e.half_lit_container?[r({className:e.u
nlit,"data-value":n}),r({className:e.half_lit,"data-value":n})]:void 0})}}(this)

)})},stats:function(){return this.props.show_stats?Scribd.with_translations(func
tion(t){return function(){var e;return e=t.props.rating_count,t.state.user_ratin
g&&e++,n=1===e?I18n.t("shared.react.star_ratings.1_rating"):I18n.t("shared.react
.star_ratings.count_ratings",{count:e}),r({className:"stats"},"("+n+")")}}(this)
):void 0},inform_saved:function(){return r({className:"inform_saved"},I18n.t("sh
ared.react.star_ratings.saved"))},tips:function(){return this.props.active&&this
.props.show_tips&&this.state.selected_star>0?this.state.inform_saved?this.inform
_saved():Scribd.with_translations(function(t){return function(){return r({classN
ame:"tips",children:r({className:"tip"},I18n.t("shared.react.star_ratings."+t.ti
p[t.state.selected_star-1]))})}}(this)):void 0},clear_rating:function(){return t
his.props.active&&this.state.show_clear_rating&&!(this.state.selected_star>0)&&t
his.state.user_rating>0?this.state.inform_saved?this.inform_saved():t({className
:"clear_rating",onClick:function(t){return function(){return t.rate_title(0)}}(t
his)},I18n.t("shared.react.star_ratings.clear_rating")):void 0},rating_required:
function(){return this.props.active&&this.state.rating_required&&!(this.state.se
lected_star>0||this.state.user_rating>0)?r({className:"rating_required_message"}
,I18n.t("shared.react.star_ratings.rating_required")):void 0},rate_title:functio
n(t){return Scribd.with_login({initial_view:"join_pmp",join_pmp_header_text:I18n
.t("shared.react.star_ratings.join_to_rate_this_title"),track_location:"star_rat
ings"},function(e){return function(){var n,i;return n=e.state.user_rating,e.setS
tate({user_rating:t,inform_saved:!0},function(){return this.container().trigger(
"scribd:rating_update",[this,0===n])}),window.setTimeout(function(){return e.set
State({inform_saved:!1})},1e3),i=$.post(e.props.ratings_path,{rated:t}),i.fail(f
unction(){return(new Scribd.Flasher).show("error",I18n.t("shared.react.star_rati
ngs.your_rating_was_not_saved_please")),e.setState({user_rating:n},function(){re
turn this.container().trigger("scribd:rating_update",this)})}),i.always(function
(){return e.container().track_rats("ratings:rating:update",{word_document_id:e.p
rops.doc_id,rating:e.state.user_rating})})}}(this))}})}).call(this),(Scribd.tran
slations=Scribd.translations||[]).push({en_US:{shared:{react:{star_ratings:{i_di
dn_t_like_it_at_all:"I didn't like it at all",i_didn_t_like_it_that_much:"I didn
't like it that much",i_thought_it_was_ok:"I thought it was OK",i_liked_it:"I li
ked it",i_loved_it:"I loved it","1_rating":"1 rating",count_ratings:"%{count} ra
tings",saved:"Saved!",clear_rating:"Clear rating",rating_required:"Rating requir
ed",join_to_rate_this_title:"Join to rate this title",your_rating_was_not_saved_
please:"Your rating was not saved. Please try again."}}}}});
/* app/views/shared/grids/object_grid.coffee @ 1478902276 */
(function(){var t;Scribd.UI||(Scribd.UI={}),t=function(){var e,n,i,r;return e=$(
"<style type='text/css'> #_nth_child_test { margin: 0px; } #_nth_child_test:nthchild(1) { margin: 1px; } </style>").appendTo("body"),r=$("<div><div id='_nth_ch
ild_test'></div></div>").appendTo(document.body),n=r.children().css("marginLeft"
),i="1px"===n,t=function(){return i},r.remove(),i},Scribd.UI.ObjectGrid=function
(){function e(t,e){var n,i,r,o;for(this.opts=null!=e?e:{},this.container=$(t),th
is.container.data("object",this),$(window).on("resize",_.debounce(function(t){re
turn function(){return t.fit_to_width()}}(this),10)),this.container.on("scribd:r
eshape",function(t){return function(){return t.fit_to_width()}}(this)),this.fit_
to_width(),this.after_new_items_added(),$.isReady?this.container.lazyimages():$(
window).one("load",function(t){return function(){return t.container.lazyimages()
}}(this)),i=this.container.find(".document_grid").addBack(".document_grid"),r=0,
o=i.length;o>r;r++)n=i[r],this.setup_tracking($(n))}return e.prototype.margin=45
,e.prototype.cell_width=144,e.prototype.min_spacing=80,e.prototype.min_min_spaci
ng=40,e.prototype.min_width=1e3,e.prototype.max_width=1200,e.prototype.css_prefi
x=function(){var t,e,n;return n=(e=this.container.attr("id"))?"#"+e:(t=this.cont
ainer.attr("class"))?"."+t.split(/\s+/).join(", ."):".object_grid",this.css_pref
ix=function(){return n},n},e.prototype.fit_to_width=function(){var e,n,i,r;if(!(
this.opts.disable_fit_to_width||(this._head||(this._head=$("head")),r=this.get_w
idth(),e=this.get_n(r),r-=2*this.margin,i=Math.floor((r-this.cell_width*e)/(e-1)
),0>r||((i+this.cell_width)*e>r&&!t()&&(i=Math.floor(r/e-this.cell_width)),this.
_current_spacing=i,this._css&&this._css.remove(),this.container.toggleClass("sin

gle_column",1===e),1===e))))return n=this.css_prefix(),this._css=$("<style type=


'text/css'> "+n+" .object_cell { margin-right: "+i+"px; } "+n+" .object_cell:nth
-child("+e+"n) { margin-right: 0; } </style>").appendTo(this._head),[e,i]},e.pro
totype.get_width=function(){return this.container.outerWidth()},e.prototype.get_
n=function(t){var e;return e=(t-this.min_width)/(this.max_width-this.min_width)*
(this.min_spacing-this.min_min_spacing)+this.min_min_spacing,e=Math.floor(Math.m
ax(this.min_min_spacing,Math.min(this.min_spacing,e))),t-=2*this.margin,Math.flo
or((t+e)/(this.cell_width+e))},e.prototype.after_new_items_added=function(t){ret
urn null==t&&(t=this.container.find(".document_cell.has_flag")),Scribd.DocumentC
ell.add_flags(t),$.isReady?this.container.lazyimages():void 0},e.prototype.setup
_tracking=function(t){var e,n;if(Scribd.RecommendationTracking&&(e=t.data("compi
lation_id"),n=t.data("widget_name"),e))return new Scribd.RecommendationTracking.
Module(this.container,{compilation_id:e,widget_name:n,on_in_view:function(e){ret
urn function(n){return e.track_visible(t,n)}}(this)})},e.prototype.track_visible
=function(t,e){var n,i,r,o,s;for(s=t.find(".document_cell"),i=function(t){return
t.one("inview",function(){return function(){var n;if(t.is(":visible"))return n=
t.data("track_uuid"),Scribd.RecommendationTracking.track_obj_view(e.view_id,n),t
.addClass("visibility_tracked")}}(this))},r=0,o=s.length;o>r;r++)n=s[r],i($(n));
return Scribd.RecommendationTracking.trigger_inview_check()},e}()}).call(this);
/* app/views/shared/input.coffee @ 1478902276 */
(function(){Scribd.Input=function(){function t(t,e){this.opts=null!=e?e:{},this.
container=$(t),this.input=this.container.find("input"),this.inputContainer=this.
container.find(".input_container"),this.selected=null!=this.opts.selected?this.o
pts.selected:this.inputContainer.hasClass("selected"),this.container.on("click",
".input_trigger",function(t){return function(){return t.container.is(".disabled"
)?!1:(t.toggle_select(),!0)}}(this)),this.container.on("scribd:input:select",fun
ction(t){return function(e,n){return null==n&&(n=!1),t.select(n)}}(this)),this.c
ontainer.on("scribd:input:toggle",function(t){return function(){return t.toggle_
select()}}(this))}return t.prototype.val=function(t){return null==t&&(t=null),nu
ll!=t?this.input.val(t):this.input.val()},t.prototype.data=function(t,e){return
null==e&&(e=null),null!=e?this.input.data(t,e):this.input.data(t)},t.prototype.t
oggle_select=function(){return this.select(!this.selected)},t.prototype.select=f
unction(t){return null==t&&(t=!1),t!==this.selected?(this.selected=t,this.select
ed?this.inputContainer.addClass("selected"):this.inputContainer.removeClass("sel
ected"),this.input[0].checked=this.selected,this.inputContainer.trigger("scribd:
input:changed",this.selected),this):void 0},t}()}).call(this);
/* app/views/document_collections/_form.coffee @ 1478902275 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}};
Scribd.UI.CollectionForm=function(){function e(e){this.container=e,this.setup_ch
aracter_limits=t(this.setup_character_limits,this),this.container=$(this.contain
er),this.setup_character_limits(),this.container.on("click",".delete_collection_
btn",function(){return function(t){var e,n;return e=$(t.target).closest("button"
),n=Scribd.Lightbox.open("confirm_lightbox",Scribd.ConfirmLightbox).set_confirm_
callback(function(){var t;return t=n.container.find("input").is(":checked"),Scri
bd.Shared.CollectionAPI.delete_collection(e.data("id"),{data:{remove_from_librar
y:t},complete:function(){return window.location.href="https://www.scribd.com/lib
rary"}})}),e.data("empty_collection")?n.set_template("delete_empty_collection",{
title:I18n.t("document_collections.form.delete_el_data_title",{el_data_title:e.d
ata("title")})}):n.set_template("delete_collection",{title:I18n.t("document_coll
ections.form.delete_el_data_title",{el_data_title:e.data("title")})})}}(this)),t
his.container.on("ajax:success",function(){return function(t,e){return $(documen
t).trigger("scribd:collections_update",{event:t,response:e})}}(this)),this.conta
iner.on("click",".input_trigger",function(t){return function(){return t.containe
r.find(".privacy_input").toggleClass("private").toggleClass("public")}}(this))}r
eturn e.prototype.setup_character_limits=function(){return this.container.on("in
put","input",function(t){return function(){return t.update_max_characters()}}(th

is)),this.container.find("textarea").on("input propertychange",function(t){retur
n function(){return t.update_max_characters()}}(this))},e.prototype.update_max_c
haracters=function(){var t,e,n,i;return e=this.container.find("[data-max_charact
ers_name]"),n=e.data("max_characters_name")-this.container.find(".collection_nam
e input").val().length,e.text(I18n.t("document_collections.form.remaining_remain
ing",{remaining:n})),e=this.container.find("[data-max_characters_description]"),
i=this.container.find("textarea").val(),t=e.data("max_characters_description")-i
.length-i.replace(/[^\n]/g,"").length,e.text(I18n.t("document_collections.form.d
es_remaining_remaining",{des_remaining:t})),this.container.find("div.collection_
description").html(i)},e}()}).call(this),(Scribd.translations=Scribd.translation
s||[]).push({en_US:{document_collections:{form:{description:"Description",save_c
hanges:"Save changes",collection_name:"Collection Name",name_your_collection:"Na
me your collection",tell_us_about_this_collection_optional:"Tell us about this c
ollection (optional)",keep_this_collection_private:"Keep this collection private
",start_collection:"start collection",delete_collection:"delete collection",dele
te_el_data_title:"Delete '%{el_data_title}'?",remaining_remaining:"%{remaining}
remaining",des_remaining_remaining:"%{des_remaining} remaining",chars_remaining_
remaining:"%{chars_remaining} remaining"}}}});
/* app/views/shared/create_collection_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.CreateCollectionLightbox=function(n){function i()
{this.set_success_callback=t(this.set_success_callback,this),this.close=t(this.c
lose,this),i.__super__.constructor.apply(this,arguments),this.container.on("ajax
:send",function(t){return function(){return t.container.track({action:"submit"})
}}(this)),this.container.on("click",".lock_icon",function(t){return function(){r
eturn t.container.find(".privacy_input, .input_trigger").click()}}(this)),this.c
ontainer.on("ajax:success",function(t){return function(){return t.success_callba
ck?t.success_callback(t):(t.show_flash(I18n.t("shared.create_collection_lightbox
.collection_created"),"success"),t.close_timeout=setTimeout(function(){return t.
close()},1500))}}(this)),this.container.dispatch("click",{close_button:this.clos
e})}return e(i,n),i.remote_open=function(t){return Scribd.Lightbox.remote_open({
url:"/document_collections/new",method:"GET",after_open:t,T:this,on_error:functi
on(){return Scribd.AddToCollectionLightbox.hide_overlay()},show_loading:function
(){return Scribd.AddToCollectionLightbox.show_overlay()}})},i.prototype.close=fu
nction(){return i.__super__.close.apply(this,arguments),clearTimeout(this.close_
timeout),this.container.remove()},i.prototype.set_success_callback=function(t){r
eturn this.success_callback=t},i}(Scribd.StackedLightbox)}).call(this),(Scribd.t
ranslations=Scribd.translations||[]).push({en_US:{shared:{create_collection_ligh
tbox:{start_a_new_collection:"Start a new collection",collection_created:"Collec
tion Created!"}}}});
/* app/views/shared/edit_collection_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,n){function i(){this.constructor=t}for(var r in n)e
.call(n,r)&&(t[r]=n[r]);return i.prototype=n.prototype,t.prototype=new i,t.__sup
er__=n.prototype,t},e={}.hasOwnProperty;Scribd.EditCollectionLightbox=function(e
){function n(){n.__super__.constructor.apply(this,arguments),this.container.on("
ajax:success",function(){return function(){return $(document).trigger("scribd:co
llection_update")}}(this))}return t(n,e),n.prototype.set_privacy=function(t){ret
urn t?this.container.find(".privacy_input .checkbox_input:not(.selected) .input_
trigger").click():this.container.find(".privacy_input .checkbox_input.selected .
input_trigger").click()},n}(Scribd.Lightbox)}).call(this),(Scribd.translations=S
cribd.translations||[]).push({en_US:{shared:{edit_collection_lightbox:{collectio
n_settings:"Collection settings",collection_updated:"Collection Updated!"}}}});

/* app/views/shared/add_to_collection_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.AddToCollectionLightbox=function(n){function i(e,
n){this.opts=null!=n?n:{},this.toggle_save_button=t(this.toggle_save_button,this
),i.__super__.constructor.apply(this,arguments),this.container=$(e),this.doc={id
:this.container.data("document_id")},this.flash=this.container.find(".inline_fla
sh"),this.save_btn=this.container.find(".save_btn"),this.collections=[],this.fet
ch_collections(),$(document).trigger("scribd:hide_hovercards")}return e(i,n),i.r
emote_open=function(t,e,n){var i,r;return $.isArray(t)&&(i=t.slice(1),t=t[0]),r=
{additional_ids:i},e&&(r.rat_tracking_label=e,r.track_page_name=n),Scribd.Lightb
ox.remote_open({id:"add_to_collection_lightbox",url:"/documents/"+t+"/add_to_col
lection",method:"GET",params:r,dataType:"json",on_error:function(){return Scribd
.AddToCollectionLightbox.hide_overlay()},show_loading:function(){return Scribd.A
ddToCollectionLightbox.show_overlay()},T:this})},i.prototype.setup_events=functi
on(){return i.__super__.setup_events.apply(this,arguments),this.container.dispat
ch("click",{create_new_collection:function(t){return function(){return t.close()
,t.opts.rat_tracking_label&&t.container.track_rats(t.opts.rat_tracking_label+":s
tart_new_collection:click",{doc_id:t.opts.doc_id,page:t.opts.track_page_name}),S
cribd.CreateCollectionLightbox.remote_open(function(e){return e.set_success_call
back(function(e){return e.close(),t.show(),Scribd.StackedLightbox.instances.push
(t),t.fetch_collections({callback:function(e){return t.submit([e[0].id])}})})})}
}(this),list_item:function(t){return function(e,n){var i;return $(n.target).clos
est(".collection_toggle_input").length||e.find(".collection_toggle_input").trigg
er("scribd:input:toggle"),t.container.find(".input_container.selected").length&&
t.save_btn.prop("disabled",!1),i=e.find("input:checked").length?"add_to_collecti
on":"remove_from_collection",t.opts.rat_tracking_label?t.container.track_rats(t.
opts.rat_tracking_label+":"+i+":click",{doc_id:t.opts.doc_id,collection_id:e.dat
a("id"),page:t.opts.track_page_name}):void 0}}(this),save_btn:function(t){return
function(){return t.toggle_save_button(!1),t.submit()}}(this),close_button:this
.close})},i.prototype.toggle_save_button=function(t){return null==t&&(t=!0),this
.container.find(".save_btn").toggleClass("disabled",!t)},i.prototype.submit=func
tion(t,e){var n,i,r,o,s,a,c,u,l;for(null==t&&(t=[]),null==e&&(e=[]),o=_.isArray(
this.doc.id)?this.doc.id:[this.doc.id],l=this.container.find(".list_item"),s=0,c
=l.length;c>s;s++)a=l[s],n=$(a),r=n.data("id"),n.find("input").is(":checked")?t.
push(r):(i=_.findWhere(this.collections,{id:r}),_.any(o,function(t){return _.con
tains(i.word_documents,t)})&&e.push(r));return t.length&&this.add_documents_to_c
ollections(t),this.opts.rat_tracking_label&&this.container.track_rats(this.opts.
rat_tracking_label+":collection_save:click",{doc_id:this.opts.doc_id,collection_
id:$.makeArray(this.container.find(".list_item").has("input:checked").map(functi
on(){return $(this).data("id")})),page:this.opts.track_page_name}),e.length&&thi
s.remove_documents_from_collections(e),u=[],t.length>0&&u.push($(document).event
_promise("scribd:collection_lightbox:add_documents")),e.length>0&&u.push($(docum
ent).event_promise("scribd:collection_lightbox:remove_documents")),$.when.apply(
this,u).done(function(t){return function(){return t.fetch_collections({show_flas
h:!0})}}(this))},i.prototype.fetch_collections=function(t){return null==t&&(t={}
),this.doc?(t.complete=function(e){return function(n){var i,r,o,s,a;for(a=n.resp
onseJSON,e.collections=a.collections.reverse(),e.container.find(".collections").
html(a.widget),$(document).trigger("scribd:collections_update",[e.collections]),
e.container.find(".active.list_item").each(function(){return $(this).find(".chec
kbox_input").parent().trigger("scribd:input:select",[!0])}),s=e.container.find("
.list_item"),i=0,o=s.length;o>i;i++)r=s[i],$(r).data("track_params",$(r).find(".
input_container").hasClass("selected")?"uncheck":"check");return t.show_flash&&$
(document.body).trigger("scribd:collections_update",[e.collections]),"function"=
=typeof t.callback?t.callback(e.collections):void 0}}(this),Scribd.Shared.Collec
tionAPI.fetch_collections(this.doc.id,t)):void 0},i.prototype.add_documents_to_c
ollections=function(t){var e,n;return n="scribd:collection_lightbox:add_document
s",e=_.isArray(this.doc.id)?this.doc.id:[this.doc.id],Scribd.Shared.CollectionAP
I.add_documents_to_collections(e,t,{complete:function(t){return function(){retur

n t.container.track_rats("add_to_collection"),t.show_flash(I18n.t("shared.add_to
_collection_lightbox.collections_updated"),"success"),t.toggle_save_button(!0),$
(document).trigger(n,[e])}}(this)})},i.prototype.remove_documents_from_collectio
ns=function(t){var e,n;return n="scribd:collection_lightbox:remove_documents",e=
_.isArray(this.doc.id)?this.doc.id:[this.doc.id],Scribd.Shared.CollectionAPI.rem
ove_documents_from_collections(e,t,{complete:function(t){return function(){retur
n t.show_flash(I18n.t("shared.add_to_collection_lightbox.collections_updated"),"
success"),t.toggle_save_button(!0),$(document).trigger(n,[e])}}(this)})},i.proto
type.remove_document_from_collection=function(t){var e,n,i,r,o,s,a,c;for(i="scri
bd:collection_lightbox:remove_documents",n=_.isArray(this.doc.id)?this.doc.id:[t
his.doc.id],s=0,c=[],r=0,o=n.length;o>r;r++)e=n[r],a={data:{document_id:e},compl
ete:function(t){return function(){return s+=1,s===n.length?(t.show_flash(I18n.t(
"shared.add_to_collection_lightbox.collections_updated"),"success"),$(document).
trigger(i,[n])):void 0}}(this)},c.push(Scribd.Shared.CollectionAPI.remove_docume
nt(t,a));return c},i}(Scribd.StackedLightbox)}).call(this),(Scribd.translations=
Scribd.translations||[]).push({en_US:{shared:{add_to_collection_lightbox:{add_to
_collections:"Add to collections",loading_your_collections:"Loading your collect
ions...",start_a_new_collection:"start a new collection",save:"Save",start_colle
ction:"Start Collection",save_changes:"Save Changes",collections_updated:"Collec
tions Updated!"}}}});
/* app/views/shared/confirm_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.ConfirmLightbox=function(n){function i(){this.set
_choose_callback=t(this.set_choose_callback,this),this.set_confirm_callback=t(th
is.set_confirm_callback,this),this.set_template=t(this.set_template,this),this.c
lose=t(this.close,this),i.__super__.constructor.apply(this,arguments),this.templ
ates=this.container.find(".confirmation_lightbox_templates"),this.container.on("
click",".ok_btn",function(t){return function(e){return t.container.trigger("scri
bd:confirmation:ok",e.target),"function"==typeof t.confirm_callback&&t.confirm_c
allback(),"function"==typeof t.choose_callback&&t.choose_callback(),t.close()}}(
this)),this.container.on("click",".cancel_btn",function(t){return function(e){re
turn t.container.trigger("scribd:confirmation:cancel",e.target),"function"==type
of t.choose_callback&&t.choose_callback(),t.close()}}(this))}return e(i,n),i.pro
totype.close=function(){return"function"==typeof this.choose_callback&&this.choo
se_callback(),i.__super__.close.apply(this,arguments)},i.prototype.set_template=
function(t,e){var n,i;if(e=_.extend({simple_style:!1},e),n=this.templates.data(t
),!n)throw new Error("Template "+t+" not found!");return e.title&&this.container
.find(".title").text(e.title),this.container.toggleClass("simple_style verticall
y_centered",e.simple_style),i=_.template(n,e),this.container.find(".rendered_tem
plate_container").html(i),this.set_position()},i.prototype.set_confirm_callback=
function(t){return this.confirm_callback=t,this},i.prototype.set_choose_callback
=function(t){return this.choose_callback=t,this},i}(Scribd.StackedLightbox)}).ca
ll(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{conf
irm_lightbox:{are_you_sure:"Are you sure?",this_action_might_not_be_possible:"Th
is action might not be possible to undo. Are you sure you want to continue?",can
cel:"CANCEL",ok:"OK",also_remove_everything_in_this_collection:"Also remove ever
ything in this collection from your library.",delete_collection:"delete collecti
on",are_you_sure_you_want_to:"Are you sure you want to delete this collection?",
everything_you_selected_will_also_be:"Everything you selected will also be remov
ed from your collections.",remove_from_your_library:"remove from your library",t
his_book_will_also_be_removed:"This book will also be removed from all your coll
ections.",ok_:"ok",remove_them_from_your_library_they_ll:"Remove them from your
library? (They\u2019ll also be removed from your other collections.)",remove:"re
move",no:"No",yes:"Yes",delete_review_rating:"Delete review & rating",we_ve_cura
ted_titles_we_think_you_ll:"We've curated titles we think you'll love.",explore_
now:"Explore now",cancel_:"cancel"}}}});

/* app/views/shared/hovercards.coffee @ 1478902276 */
(function(){var t,e,n,i=function(t,e){function n(){this.constructor=t}for(var i
in e)r.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t
.__super__=e.prototype,t},r={}.hasOwnProperty;n=function(){function t(t){this.ce
ll=t,this.cell.data("hovercard",this),this._xhr=null}return t.prototype.template
_name=null,t.prototype.copy_classes=[],t.prototype.hide_timeout=100,t.prototype.
get_template=function(){return Scribd.template(this.template_name)},t.prototype.
data_deferred=function(){return null==this._data_deferred&&(this._data_deferred=
$.Deferred()),(null==this._xhr||"abort"===this._xhr.statusText)&&(this._xhr=this
.fetch_data(),this._xhr.then(function(t){return function(e){return t.data=e,t._d
ata_deferred.resolve(t.data)}}(this)),this._xhr.always(function(t){return functi
on(){return t._xhr=null}}(this))),this._data_deferred},t.prototype.current_xhr=f
unction(){return this._xhr},t.prototype.data=function(){throw"override `data`"},
t.prototype.render=function(t){return this.el=$(this.get_template()(t))},t.proto
type.rendered=function(t){return this._rendered||(this._rendered=$.Deferred(),th
is.data_deferred().then(function(t){return function(e){return t.render(e),t._ren
dered.resolve(t.el)}}(this)),this._rendered.then(function(t){return function(){r
eturn t.el.on("mousewheel",function(e){var n,i;return i=Math.abs(e.originalEvent
.deltaY),n=Math.abs(e.originalEvent.deltaX),n>i?t.hide():void 0}),t.listen_for_l
eave()}}(this))),this._rendered.then(t)},t.prototype.show=function(t){return thi
s.showing?void 0:(this.showing=!0,this.rendered(function(e){return function(n){v
ar i,r,o,s,a,c;if(e.showing=!1,t.current_cell&&e.cell.is(t.current_cell)&&e.cell
.is(":visible")){for(n.appendTo(t.drop),n.track({action:"show",category:"hoverca
rd"}),a=Scribd.R.Shared.React.StarRatings(e.data.star_ratings_props),ReactDOM.re
nder(a,n.find(".star_ratings_row")[0]),s=Scribd.R.Shared.React.LibraryButton(e.d
ata.library_button_props),ReactDOM.render(s,n.find(".library_button_container")[
0]),e.el.removeClass("hiding"),e.el.toggleClass("in_lightbox",!!e.cell.closest("
.lightbox").length),e.cell_thumb=e.cell.find(".thumb").addClass("hover"),e.cell_
thumb_placeholder=$('<div class="thumb placeholder_thumb"></div>').insertAfter(e
.cell_thumb),e.cell_thumb.width(e.cell_thumb.width()),e.cell_thumb.height(e.cell
_thumb.height()),e.cover_drop=n.find(".cover_drop").append(e.cell_thumb),e.cell.
is(".smaller_cell")&&e.cover_drop.addClass("smaller_cell"),e.cover_drop.width(e.
cell_thumb.width()),c=e.copy_classes,r=0,o=c.length;o>r;r++)i=c[r],e.cover_drop.
toggleClass(i,e.cell.is("."+i));return e.el.toggleClass("is_article",e.cell.is("
.is_article")),e.el.toggleClass("is_issue",e.cell.is(".is_issue")),"function"==t
ypeof e.after_show&&e.after_show(),e.position(),_.defer(function(){return e.el.a
ddClass("open"),e.cell_thumb.removeClass("hover")})}}}(this)))},t.prototype.clea
r_timeouts=function(){return this._hide_timeout?(window.clearTimeout(this._hide_
timeout),delete this._hide_timeout):void 0},t.prototype.listen_for_leave=functio
n(){return window.location.hash.match(/\bstick_popups\b/)?void 0:($(document).on
("scribd:hide_hovercards",function(t){return function(){return t.el.addClass("hi
ding"),t._hide_timeout=window.setTimeout(function(){return t.hide()},t.hide_time
out)}}(this)),this.el.on("mouseenter",function(t){return function(){return t.el.
removeClass("hiding"),t.clear_timeouts()}}(this)),this.el.on("mouseleave",functi
on(t){return function(){return t.el.addClass("hiding"),t._hide_timeout=window.se
tTimeout(function(){return t.hide()},t.hide_timeout)}}(this)))},t.prototype.hide
=function(){return this.clear_timeouts(),this.cell_thumb_placeholder&&(this.cell
_thumb_placeholder.replaceWith(this.cell_thumb),delete this.cell_thumb_placehold
er),this.el&&this.el.detach().removeClass("open"),"function"==typeof this.after_
hide?this.after_hide():void 0},t.prototype.position=function(){var t,e,n,i,r,o,s
,a,c;if(this.el&&null!=(null!=(o=this.cell_thumb_placeholder)?o.offset():void 0)
)return r=this.cell.offset(),e=this.cell_thumb.position(),n=this.cell_thumb_plac
eholder.offset(),i=this.cell_thumb_placeholder.parent().offset(),t=n.left-i.left
,s=n.top-i.top,a=r.left-e.left+t,c=r.top-e.top+s,this.el.css({top:c+"px",left:a+
"px"})},t.prototype.smooth_resize=function(t){var e,n;if(this.el)return n=this.e
l.height(),t(),e=this.el.height(),this.el.height(n),this.el.stop(!0).animate({he
ight:e},{duration:"fast",done:function(t){return function(){return t.el.height("
")}}(this)})},t}(),e=function(t){function e(){return e.__super__.constructor.app

ly(this,arguments)}return i(e,t),e.prototype.cell_selector=".document_cell",e.pr
ototype.template_name="document_hovercard",e.prototype.copy_classes=["has_color_
background","has_flag","in_my_library","is_book","is_preview_restricted","is_scr
ibd_select","is_expiring_content","is_geo_restricted","is_purchase","is_sample",
"is_series","is_article","is_issue"],e.prototype.fetch_data=function(){var t;ret
urn t=Scribd.tracker.location_data(this.cell).shift(),$.get("/documents/popup_da
ta?id="+this.cell.data("object_id")+"&track_page_name="+t)},e.prototype.after_sh
ow=function(){return this.el.toggleClass("is_geo_restricted",this.cover_drop.is(
".is_geo_restricted"))},e.prototype.rat_click_event=function(t){return $rat(t,{c
ategory:"hovercard",event_name:"click",rec_obj_id:this.data.id,rec_obj_type:"doc
ument"})},e.prototype.render=function(){var t,n;return e.__super__.render.apply(
this,arguments),_.defer(function(t){return function(){return t.el.find(".hoverca
rd_title").dotdotdot()}}(this)),this.data.is_book&&this.data.show_book_preview&&
this.el.find(".doc_link").addClass("book_link"),null!=this.data.bookmark&&(this.
el.addClass("in_my_library"),null!=(t=this.cell)&&t.addClass("in_my_library"),nu
ll!=(n=this.cover_drop)&&n.addClass("in_my_library")),this.el.dispatch("click",{
download_btn:function(t){return function(){return t.rat_click_event("download"),
Scribd.download_actions.download_attempt(function(){return window.location.href=
t.data.download_url},"home","hovercard",t.data)}}(this),inherit_tracking:functio
n(t){return function(){var e,n,i;if(Scribd.tracker)return n=Scribd.tracker.eleme
nt_rats(t.cell),e=n[0],i=n[1],Scribd.tracker.send_rats(e,i),"continue"}}(this)})
},e}(n),t=function(t){function e(){return e.__super__.constructor.apply(this,arg
uments)}return i(e,t),e.prototype.cell_selector=".collection_cell",e.prototype.t
emplate_name="collection_hovercard",e.prototype.fetch_data=function(){return $.g
et("/user_document_collections/popup_data?id="+this.cell.data("object_id"))},e}(
n),Scribd.Hovercards=function(){function n(t,e){var n,i;if(this.opts=e,Scribd.ho
vercards)throw"instancing hovercards again!";Scribd.hovercards=this,this.contain
er=$(t),this.drop=this.container.find(".hovercard_drop"),this.add_hover_zone(doc
ument.body),$(document.body).on("scribd:hide_hovercards",function(t){return func
tion(){return t.hide_hovercards()}}(this)),n=function(t){return $("[data-object_
id="+t+"], [data-object_id="+t+"] .cover_drop")},i=function(t,e){return t.find("
.reading_progress_percentage").css("width",e+"%")},$(document).on("scribd:update
d_bookmarks",function(){return function(t,e){var r,o,s,a,c,u,l;for(c=e.data.docu
ment_ids,u=[],s=0,a=c.length;a>s;s++)r=c[s],o=n(r),"finished_reading"===e.data.s
tate?(o.addClass("in_my_library"),l=100):l=e.response.responseJSON.reading_progr
ess[r],u.push(i(o,l));return u}}(this)),$(document).on("scribd:added_bookmark sc
ribd:removed_bookmark",function(t,e){var r,o,s,a,c,u;for(o=_.isArray(e.document_
id)?e.document_id:[e.document_id],u=[],a=0,c=o.length;c>a;a++)r=o[a],s=n(r),s.to
ggleClass("in_my_library","scribd:added_bookmark"===t.type),u.push("scribd:remov
ed_bookmark"===t.type?i(s,e.response.responseJSON.reading_progress[r]):void 0);r
eturn u}),$(document).on("scribd:library_button:update_in_collection",function(t
,e){var i;return i=n(e.document_id),i.toggleClass("in_my_library",e.in_collectio
n)})}return n.prototype.hovercards=[e,t],n.prototype.popup_timeout=300,n.prototy
pe.fetch_data_timeout=150,n.prototype.cell_selector=".object_cell",n.prototype.h
over_selector=".object_cell .object_cell_hover",n.prototype.add_hover_zone=funct
ion(t,e){return null==e&&(e={}),t=$(t),t.on("mouseenter mouseleave",e.hover_sele
ctor||this.hover_selector,function(t){return function(e){var n;return n=$(e.curr
entTarget),t.cell_selector&&(n=n.closest(t.cell_selector)),n.is(".no_hovercard")
?void 0:"mouseenter"===e.type?t.trigger_enter(n):t.trigger_exit(n)}}(this))},n.p
rototype.class_for_cell=function(t){return _.find(this.hovercards,function(e){re
turn t.is(e.prototype.cell_selector)})},n.prototype.hovercard_for_cell=function(
t){var e,n;return(n=t.data("hovercard"))?n:new(e=this.class_for_cell(t))(t)},n.p
rototype.clear_timeouts=function(){var t,e,n,i;if(this.current_cell)return t=thi
s.current_cell.data("hovercard_fetch_timeout"),n=this.current_cell.data("hoverca
rd_show_timeout"),null!=t&&window.clearTimeout(t),null!=n&&window.clearTimeout(n
),this.current_cell.removeData("hovercard_fetch_timeout"),this.current_cell.remo
veData("hovercard_show_timeout"),i=null!=(e=this.current_cell.data("hovercard"))
?e.current_xhr():void 0,null!=i?i.abort():void 0},n.prototype.trigger_enter=func
tion(t){var e,n,i;return n=null,this.clear_timeouts(),(e=null!=(i=this.current_c
ell)?i.data("hovercard"):void 0)&&e.hide(),this.current_cell=t,t.data("hovercard

")||(n=this.class_for_cell(t))?(t.data("hovercard_fetch_timeout",window.setTimeo
ut(function(e){return function(){var n;return t.removeData("hovercard_fetch_time
out"),n=e.hovercard_for_cell(t),n.data_deferred()}}(this),this.fetch_data_timeou
t)),t.data("hovercard_show_timeout",window.setTimeout(function(e){return functio
n(){var n;return t.removeData("hovercard_show_timeout"),n=e.hovercard_for_cell(t
),n.show(e),e.opts.source_page?e.container.track({action:"source",label:e.opts.s
ource_page,category:"hovercard"}):void 0}}(this),this.popup_timeout))):void 0},n
.prototype.trigger_exit=function(){return this.clear_timeouts()},n.prototype.hid
e_hovercards=function(){var t,e;return this.clear_timeouts(),(t=null!=(e=this.cu
rrent_cell)?e.data("hovercard"):void 0)?t.hide():void 0},n}()}).call(this),(Scri
bd.translations=Scribd.translations||[]).push({en_US:{shared:{hovercards:{scribd
:"scribd"}}}});
/* app/views/shared/pageboxes/pagebox.coffee @ 1478902276 */
(function(){Scribd.Pagebox=function(){function t(t,e){var n;this.opts=null!=e?e:
{},this.container=$(t),(n=Scribd.Pagebox).instances||(n.instances=[]),Scribd.Pag
ebox.instances<<this,this.setup_base_events()}return t.prototype.setup_base_even
ts=function(){return $(document).on("keydown",function(t){return function(e){ret
urn $("body").hasClass("lightbox_open")?void 0:27===e.keyCode?(t.close(),e.preve
ntDefault()):void 0}}(this)),this.container.dispatch("click",{close_pagebox:func
tion(t){return function(){return t.close()}}(this)})},t.prototype.open=function(
){return $(document).trigger("scribd:pagebox_open",this),this.container.addClass
("open"),$("body").addClass("pagebox_open")},t.prototype.close=function(){return
$(document).trigger("scribd:pagebox_closed",this),this.container.removeClass("o
pen"),$("body").removeClass("pagebox_open")},t}()}).call(this),(Scribd.translati
ons=Scribd.translations||[]).push({en_US:{shared:{pageboxes:{pagebox:{"continue"
:"Continue"}}}}});
/* app/views/shared/_credit_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.CreditLightbox=function(n){function i(){return th
is.loading=t(this.loading,this),this.flash_error=t(this.flash_error,this),this.l
oad=t(this.load,this),this.player_opener=t(this.player_opener,this),this.purchas
e_and_redeem=t(this.purchase_and_redeem,this),this.redeem=t(this.redeem,this),th
is.credit_redeemed=t(this.credit_redeemed,this),this.fire_selects_click=t(this.f
ire_selects_click,this),this.close=t(this.close,this),i.__super__.constructor.ap
ply(this,arguments)}return e(i,n),i.load=function(t,e,n,i){return null==n&&(n={}
),Scribd.CreditLightbox.remote_open({id:"credit_lightbox",url:t,method:"GET",dat
aType:"json",params:n,on_error:function(){return Scribd.CreditLightbox.hide_over
lay()},after_open:function(t){return t.open_with_event_container_and_params(e,n,
i)},show_loading:function(){return Scribd.CreditLightbox.show_overlay()}})},i.pr
ototype.open_with_event_container_and_params=function(t,e,n){return this.event_c
ontainer=t,e.credit_redeemed&&this.credit_redeemed(),this.open(),"function"==typ
eof n?n(this):void 0},i.prototype.show=function(){},i.prototype.close=function()
{return this._loading?void 0:(this.container.fadeOut("fast"),Scribd.StackedLight
box.hide_overlay(),$(document).off("keydown.stacked_lightbox_close"),Scribd.Stac
kedLightbox.instances.pop())},i.prototype.setup_events=function(){return i.__sup
er__.setup_events.apply(this,arguments),this.container.dispatch("click",{redeem:
this.redeem,purchase_and_redeem:this.purchase_and_redeem,player_opener:this.play
er_opener,go_to_selects_btn:this.fire_selects_click})},i.prototype.fire_selects_
click=function(t){return t.trigger("scribd:library_button:go_to_selects"),"conti
nue"},i.prototype.credit_redeemed=function(){var t;return this.event_container.t
rigger("scribd:credit_redeemed",[this.opts.doc_id]),this.container.addClass("cre
dit_redeemed"),this.loading(!1),setTimeout(function(t){return function(){return
t.close()}}(this),3e3),null!=(t=window.opener)?t.location.reload():void 0},i.pro
totype.redeem=function(t,e){return this.load(t,e,this.opts.pmp_document_purchase

s_url,{doc_id:this.opts.doc_id})},i.prototype.purchase_and_redeem=function(t,e){
return this.load(t,e,this.opts.credit_purchases_url,{doc_id:this.opts.doc_id})},
i.prototype.player_opener=function(t,e){return window.opener?(e.preventDefault()
,window.opener.location=t.attr("href"),window.close()):window.name===Scribd.Audi
obooks.listen_window_name?(e.preventDefault(),window.open(t.attr("href")),window
.close()):(this.loading(!0),"continue")},i.prototype.load=function(t,e,n,i){retu
rn e.preventDefault(),this.loading(!0),$.ajax({type:"POST",url:n,data:i,success:
this.credit_redeemed,error:function(t){return function(e){var n;switch(n=e.respo
nseJSON,null!=n?n.action:void 0){case"redirect":return window.opener?window.open
er.location=n.url:window.name===Scribd.Audiobooks.listen_window_name?window.open
(n.url):window.location.href=n.url;case"fix_payment":return t.container.addClass
("fix_payment"),t.loading(!1);case"flash_error":return t.flash_error(n.message);
default:return t.flash_error}}}(this)})},i.prototype.flash_error=function(t){ret
urn t||(t="An error occurred, please try again later"),setTimeout(function(e){re
turn function(){return Scribd.CreditLightbox.load(e.opts.credit_lightbox_url,e.e
vent_container,{},function(e){return e.show_flash(t,"error")})}}(this))},i.proto
type.loading=function(t){return this._loading=t,t&&this.container.removeClass("f
ix_payment"),this.container.toggleClass("loading",t)},i}(Scribd.StackedLightbox)
}).call(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:
{credit_lightbox:{get_the_full_title_of_span_word_document_title_span:"Get the f
ull title of <span>%{word_document_title}</span>?",confirm:"Confirm",your_paymen
t_details_have_been_updated:"Your payment details have been updated!",get_full_t
itle_now_with_a:"Get full title now with a one time purchase of $12.99?",you_re_
out_of_monthly_audiobooks_and:"You're out of Monthly Audiobooks and your next on
e will be available on %{next_accrual_date}.",you_re_out_of_monthly_audiobooks:"
You're out of Monthly Audiobooks.",your_card_8226_8226_card_number_last_4_will_b
e_charged:"Your card (&#8226;&#8226;%{card_number_last_4}) will be charged $12.9
9.",purchase_apply:"Purchase & apply",use_another_card_or_paypal:"Use another ca
rd or Paypal",enter_payment_details:"Enter payment details",want_to_read_more:"W
ant to read more?",you_re_out_of_monthly_books_until:"You're out of Monthly Book
s until %{next_accrual_date}, but your membership provides you with unlimited ac
cess to Scribd Selects",you_re_out_of_monthly_books_but:"You're out of Monthly B
ooks, but you membership provides you with unlimited access to Scribd Selects",g
o_to_scribd_selects:"Go to Scribd Selects",you_re_all_set:"You're all set!",we_v
e_added_this_title_to_your:"We've added this title to your library.",please_wait
:"Please wait",there_was_a_problem_charging_your:"There was a problem charging y
our card (&#8226;&#8226;%{card_number_last_4}).",please_update_your_payment_deta
ils_to:"Please update your payment details to continue.",update_payment_details:
"Update Payment Details"}}}});
/* app/views/shared/autocomplete/_unavailable_book_request_lightbox.coffee @ 147
8902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.UnavailableBookRequestLightbox=function(n){functi
on i(){this.set_data=t(this.set_data,this),i.__super__.constructor.apply(this,ar
guments),this.container.on("ajax:complete",function(t){return function(){return
Scribd.Lightbox.open("unavailable_request_completed_lb"),t.container.find(".subm
it_btn").prop("disabled",!0)}}(this))}return e(i,n),i.prototype.set_data=functio
n(t){var e,n;return null==t&&(t={}),e=this.container.find(".unavailable_request_
form").attr("action"),this.container.find(".unavailable_request_form").attr("act
ion",e.replace(":placeholder",t.book_id)),n=this.container.find(".store_link").a
ttr("href"),this.container.find(".store_link").attr("href",n.replace(":placehold
er",t.book_id))},i}(Scribd.Lightbox)}).call(this),(Scribd.translations=Scribd.tr
anslations||[]).push({en_US:{shared:{autocomplete:{unavailable_book_request_ligh
tbox:{this_book_is_not_available_in:"This book is not available in our subscript
ion service",this_book_is_not_yet_available:"This book is not yet available in o
ur subscription service due to restrictions in our agreements with the publisher

. We hope to be able to offer this title in our subscription service as soon as


possible.",in_the_meantime_you_can_a:"In the meantime you can <a href='%{buy_sto
re_url}' class='store_link'>purchase this book individually</a>.",ask_the_publis
her_to_make_this:"Ask the publisher to make this title available"}}}}});
/* app/views/shared/autocomplete/_unavailable_author_request_lightbox.coffee @ 1
478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},
e=function(t,e){function i(){this.constructor=t}for(var r in e)n.call(e,r)&&(t[r
]=e[r]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype
,t},n={}.hasOwnProperty;Scribd.UnavailableAuthorRequestLightbox=function(n){func
tion i(){this.set_data=t(this.set_data,this),i.__super__.constructor.apply(this,
arguments),this.container.on("ajax:complete",function(t){return function(){retur
n Scribd.Lightbox.open("unavailable_request_completed_lb"),t.container.addClass(
"submitted")}}(this))}return e(i,n),i.prototype.set_data=function(t){var e;retur
n null==t&&(t={}),this.container.find(".submit_btn").text(I18n.t("shared.autocom
plete.unavailable_author_request_lightbox.request_opts_author_name_s_books",{opt
s_author_name:t.author_name})),e=this.container.find(".unavailable_request_form"
).attr("action"),this.container.find(".unavailable_request_form").attr("action",
e.replace(":placeholder",t.author_id))},i}(Scribd.Lightbox)}).call(this),(Scribd
.translations=Scribd.translations||[]).push({en_US:{shared:{autocomplete:{unavai
lable_author_request_lightbox:{this_author_s_books_aren_t_available_in:"This aut
hor's books aren't available in our subscription service",this_author_s_books_ar
e_not_yet:"This author's books are not yet available in our subscription service
due to restrictions in our agreements with the publisher. We hope to be able to
offer this title in our subscription service as soon as possible.",request_auth
ors_s_books:"Request authors's Books",request_opts_author_name_s_books:"Request
%{opts_author_name} 's Books"}}}}});
/* app/views/shared/react/search_input.coffee @ 1478902276 */
(function(){var t,e,n,i,r,o,s,a,c,u;a=React.DOM,o=a.input,n=a.div,r=a.form,c=a.s
pan,u=a.strong,s=a.p,t=a.a,i=a.em,e=Scribd.R.component_builder("Shared.React.Sea
rchInput",{css_class:"autogen_class_views_shared_react_search_input"}),e({"stati
c":{get_search_session_id:function(){var t,e;return t=new CookieJar({path:"/"}),
e=t.get("search_session"),e||t.put("search_session",this.generate_search_uuid())
,e},generate_search_uuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"
.replace(/[xy]/g,function(t){var e,n;return e=16*Math.random()|0,n="x"===t?e:3&e
|8,n.toString(16)})}},getInitialState:function(){return{memoized_queries:{},quer
y_history:this.load_history(),focused:!1,query:this.props.query||"",suggested_qu
ery:"",last_query:"",suggester_xhr:null,suggestion_index:-1,show_suggester:!0,em
pty_submit:!1}},load_history:function(){var t,e;return e=new Scribd.UI.SearchSto
rage,(null!=(t=e.read())?t.terms:void 0)||[]},save_to_history:function(t){var e;
return e=new Scribd.UI.SearchStorage,e.save(t),this.setState({query_history:this
.load_history()})},go_to_app:function(t){return window.location.href="/search?qu
ery="+encodeURIComponent(t)},componentWillReceiveProps:function(t){return this.s
etState({query:t.query})},get_remote_suggestions:function(t){var e,n,i;return nu
ll!=(n=this.state.suggester_xhr)&&n.abort(),this.state.memoized_queries[t]?(e={s
uggested_query:"",query:t},this.state.memoized_queries[t].length&&(e.last_loaded
_query=t),this.setState(e)):(i=$.get("/query_suggestions/web",{query:t},function
(n){return function(i){var r;return i.query_suggestions?(r=_.clone(n.state.memoi
zed_queries),r[t]=_.map(i.query_suggestions,function(t){return t.suggestion}),e=
{memoized_queries:r},i.query_suggestions.length&&(e.last_loaded_query=t),n.setSt
ate(e)):void 0}}(this)),i.always(function(t){return function(){return t.setState
({suggester_xhr:null})}}(this)),this.setState({suggester_xhr:i,query:t,show_sugg
ester:!0,suggested_query:"",suggestion_index:-1}))},componentDidUpdate:function(
){return this.state.empty_submit?_.delay(function(t){return function(){return t.
setState({empty_submit:!1})}}(this),200):void 0},componentDidMount:function(){va
r t;return this.props.focused&&(t=this.container().find("input"),t.focus().val("

").val(this.props.query)),this.dispatch({submit_search:function(t){return functi
on(e,n){return t.save_to_history(n),t.setState({query:n}),t.props.redirect_to_ap
p?t.go_to_app(n):t.trigger("exit_suggester")}}(this),exit_suggester:function(t){
return function(){return t.setState({suggestion_index:-1,show_suggester:!1,sugge
sted_query:""})}}(this),navigate_suggestions:function(t){return function(e,n){va
r i,r;return i=Math.min(t.suggestions().length-1,Math.max(t.state.suggestion_ind
ex+n,-1)),-1===i?t.setState({suggestion_index:i,show_suggester:!0,suggested_quer
y:""}):(r=Scribd.prune_search_html(t.suggestions()[i]),t.setState({suggestion_in
dex:i,show_suggester:!0,suggested_query:r}))}}(this),suggestion_hovered:function
(t){return function(e,n){return t.setState({suggestion_index:n})}}(this),input_c
hanged:function(t){return function(e,n){return n?t.get_remote_suggestions(n):t.s
etState({query:n})}}(this)})},source:function(){return this.state.query?"query_s
uggester":"recent_search"},suggestions:function(){var t;return this.state.sugges
ter_xhr&&this.state.last_loaded_query?this.state.memoized_queries[this.state.las
t_loaded_query]:this.state.query?(null!=(t=this.state.memoized_queries[this.stat
e.query])?t.length:void 0)?this.state.memoized_queries[this.state.query]:this.st
ate.memoized_queries[this.state.last_loaded_query]||[]:this.state.query_history}
,page:function(){return window.location.pathname.split("/")[1]||"home"},render:f
unction(){var t,e;return e=this.state.focused?"has_focus":"",t=this.state.empty_
submit?"jiggle":"",n({className:"search_input_container "+e+" "+t,children:[r({c
lassName:"search_form",autoComplete:"off",onSubmit:function(t){return function(e
){return e.preventDefault(),t.state.suggested_query||t.state.query?(-1!==t.state
.suggestion_index&&t.container().track_rats("search:drop_down_suggest:submit",{p
age:t.page(),search_session_id:Scribd.R.Shared.React.SearchInput.get_search_sess
ion_id(),source:t.source(),query:t.state.suggested_query}),t.trigger("submit_sea
rch",t.state.suggested_query||t.state.query)):t.setState({empty_submit:!0})}}(th
is),children:[c({className:"icon-search search_icon"}),o({className:"search_inpu
t",autoComplete:"off",type:"text",name:"query",value:this.state.suggested_query|
|this.state.query,placeholder:this.state.focused?void 0:I18n.t("shared.react.sea
rch_input.search"),onChange:function(t){return function(e){return t.trigger("inp
ut_changed",$(e.target).val())}}(this),onKeyDown:function(t){return function(e){
return 38===e.keyCode?(t.trigger("navigate_suggestions",-1),e.preventDefault()):
40===e.keyCode?(t.trigger("navigate_suggestions",1),e.preventDefault()):27===e.k
eyCode?t.trigger("exit_suggester"):void 0}}(this),onBlur:function(t){return func
tion(){return _.delay(function(){return t.setState({focused:!1,suggestion_index:
-1})},200)}}(this),onFocus:function(t){return function(){return t.setState({focu
sed:!0}),t.trigger("input_changed",t.state.query)}}(this),onClick:function(t){re
turn function(){return t.container().track_rats("search:box:click",{page:t.page(
),search_session_id:Scribd.R.Shared.React.SearchInput.get_search_session_id()})}
}(this)})]}),(this.state.focused||this.state.suggestion_index>0)&&this.suggestio
ns().length&&this.state.show_suggester?this.Package.SearchInputSuggester({items:
this.suggestions(),selected_index:this.state.suggestion_index,query:this.state.q
uery,source:this.source(),page:this.page()}):void 0,this.state.similar_suggestio
n?this.Package.SearchInputSimilarSuggestion({suggestion:this.state.similar_sugge
stion,query:this.state.query}):void 0]})}}),e("SearchInputSuggester",{componentD
idMount:function(){return this.container().on("hover",function(t){return functio
n(e){return t.trigger("suggestion_hover",$(e.target).data("value"))}}(this))},tr
ack_click_once:function(){return _.once(function(t){return function(){return t.c
ontainer().track_rats("search:drop_down_suggest:click",{page:t.props.page,search
_session_id:Scribd.R.Shared.React.SearchInput.get_search_session_id(),source:t.p
rops.source,query:Scribd.prune_search_html(item)})}}(this))},render:function(){v
ar t,e,i,r,o;return o=function(t){return function(e){return e===t.props.selected
_index?"selected":""}}(this),t=function(t){return function(e){var n,i,r,o,s;if(1!==e.indexOf(t.props.query)){for(s=[],o=e.split("(i?)"+t.props.query).slice(1),
i=0,r=o.length;r>i;i++)n=o[i],s.push(u({},t.props.query)),s.push(n);return s}ret
urn e}}(this),r=function(t){return{__html:t}},n({className:"suggestions",childre
n:[function(){var t,s,a,c;for(a=this.props.items,c=[],e=t=0,s=a.length;s>t;e=++t
)i=a[e],c.push(function(t){return function(e,i){return n({className:"suggestion
"+o(i),dangerouslySetInnerHTML:r(e),onClick:function(){return t.track_click_once
(),t.container().track_rats("search:drop_down_suggest:click",{page:window.locati

on.pathname,search_session_id:Scribd.R.Shared.React.SearchInput.get_search_sessi
on_id(),source:t.props.source,query:Scribd.prune_search_html(e)}),t.trigger("sub
mit_search",Scribd.prune_search_html(e))},onMouseEnter:function(){return t.trigg
er("suggestion_hovered",i)}})}}(this)(i,e));return c}.call(this)]})}}),e("Search
InputSimilarSuggestion",{render:function(){return s({className:"similar_suggesti
on",children:[c(I18n.t("shared.react.search_input.did_you_mean")+" ",t({classNam
e:"similar_suggestion",children:[this.props.suggestion],onClick:function(t){retu
rn function(){return t.trigger("submit_search",t.props.suggestion)}}(this)}))]})
}}),Scribd.prune_search_html=function(t){return t.replace(/<em>/g,"").replace(/<
\/em>/g,"")}}).call(this),(Scribd.translations=Scribd.translations||[]).push({en
_US:{shared:{react:{search_input:{search:"Search",did_you_mean:"Did you mean"}}}
}});
/* app/views/shared/upsell/annual_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,n){function i(){this.constructor=t}for(var r in n)e
.call(n,r)&&(t[r]=n[r]);return i.prototype=n.prototype,t.prototype=new i,t.__sup
er__=n.prototype,t},e={}.hasOwnProperty;Scribd.AnnualLightbox=function(e){functi
on n(t,e){this.container=t,this.opts=null!=e?e:{},n.__super__.constructor.apply(
this,arguments),this.container.track_rats("annual:hard_upsell:view",{plan:"annua
l"}),this.container.on("click",".upsell_plans_lightbox",function(t){return funct
ion(){return t.container.track_rats("annual:hard_upsell:learn_more",{plan:"annua
l"}),Scribd.Lightbox.remote_open("plans_lightbox","/account-settings/plans-light
box",{},Scribd.PlansLightbox)}}(this)),this.container.dispatch("click",{close_bu
tton:function(t){return function(){return t.container.track_rats("annual:hard_up
sell:close",{source:t.opts.source}),$(document).trigger("scribd:upsell:hard_upse
ll_exit"),$.ajax({type:"POST",url:"/home/close_promo",data:{name:"hard_plan_upse
ll"}}),"continue"}}(this)})}return t(n,e),n.prototype.close=function(){return th
is.container.track_rats("annual:hard_upsell:close",{plan:"annual"}),$(document).
trigger("scribd:upsell:hard_upsell_exit"),n.__super__.close.apply(this,arguments
)},n}(Scribd.Lightbox)}).call(this),(Scribd.translations=Scribd.translations||[]
).push({en_US:{shared:{upsell:{annual_lightbox:{save_20_on_your_membership:"Save
20% on your membership",pay_only_per_month_month_with_upgrade_duration_name_try
_downcase_billing:"Pay only %{per_month}/month with %{upgrade_duration_name_try_
downcase} billing.",upgrade_today_and_receive_three_books:"Upgrade today and rec
eive three books and one audiobook on us.",learn_more:"learn more",you_can_manag
e_your_plan_in:"You can manage your plan in <a href='%{settings_href}' target='_
blank'>account settings</a>"}}}}});
/* app/views/shared/upsell/plans.coffee @ 1478902276 */
(function(){Scribd.Upsell=function(){function t(t,e){this.container=t,this.opts=
e,this.container=$(this.container),this.setup_events()}return t.prototype.setup_
events=function(){return this.container.dispatch("click",{plan_upgrade:function(
t){return function(){return t.opts.plans_page_event&&t.container.track_rats("ann
ual:plans_page:upgrade:click",{source:t.opts.source}),"continue"}}(this),plan_do
wngrade:function(t){return function(){return t.opts.plans_page_event&&t.containe
r.track_rats("annual:plans_page:downgrade:click",{source:t.opts.source}),"contin
ue"}}(this)}),this.container.on("ajax:success",function(t){return function(){var
e,n;return e="/account-settings/plans",t.opts.redirect?(window.location=e,n=I18
n.t("shared.upsell.plans.you_re_all_set_you_ve_updated_your"),(new Scribd.Flashe
r).show("success",n,!0)):(n=I18n.t("shared.upsell.plans.you_re_all_set_you_ve_up
dated_your_",{plans_url:e}),(new Scribd.Flasher).show("success",n,!0),Scribd.Lig
htbox.close()),$(document).trigger("scribd:upsell:success")}}(this)),this.contai
ner.on("ajax:error",function(){return function(){return Scribd.Lightbox.remote_o
pen("update_payment_details_lightbox","/account-settings/update-payment-detailslightbox",{},Scribd.UpdatePaymentDetailsLightbox)}}(this))},t}()}).call(this),(S
cribd.translations=Scribd.translations||[]).push({en_US:{shared:{upsell:{plans:{
upgrade_anytime:"Upgrade anytime",update_anytime:"Update anytime",choose_the_pla
n_that_s_right_for:"Choose the plan that's right for you",monthly_membership:"Mo

nthly Membership",span_class_price_downgrade_price_span_span_class_period_per_mo
nth_span:"<span class='price'>%{downgrade_price}</span><span class='period'>per
month</span>",billed_monthly:"Billed monthly.",your_membership_is_scheduled_to_d
owngrade:"Your membership is scheduled to downgrade on %{downgrade_will_convert_
at_strftime_m_d_y}",downgrade:"Downgrade",current_plan:"Current Plan",when_you_c
lick_downgrade_we_ll_schedule:'When you click "Downgrade", we\'ll schedule the c
hange for your next billing period',upgrade_duration_name_membership:"%{upgrade_
duration_name} Membership",our_best_value:"Our Best Value",span_class_price_upgr
ade_price_span_span_class_period_per_month_span:"<span class='price'>%{upgrade_p
rice}</span><span class='period'>per month</span>",billed_upgrade_period_name_fo
r_upgrade_price:"Billed %{upgrade_period_name} for %{upgrade_price}.",your_membe
rship_is_scheduled_to_upgrade:"Your membership is scheduled to upgrade on %{upgr
ade_will_convert_at_strftime_m_d_y}",upgrade:"Upgrade",your_credit_card_will_be_
charged:'Your credit card will be charged on %{upgrade_will_convert_at_strftime_
m_d_y} when you click "Upgrade"',book_credits_books:"%{book_credits} books","1_b
ook":"1 book",audiobook_credits_audiobooks:"%{audiobook_credits} audiobooks","1_
audiobook":"1 audiobook",plus_book_text_and_audio_text_on_us:"Plus %{book_text}
and %{audio_text} on us!",plus_remaining_text_on_us:"Plus %{remaining_text} on u
s!",you_re_all_set_you_ve_updated_your:"You're all set! You've updated your plan
. You are being redirected to your account settings.",you_re_all_set_you_ve_upda
ted_your_:"You're all set! You've updated your plan. <a href=%{plans_url}> View
your plan</a> in account settings.",scribd_lite_membership:"Scribd Lite Membersh
ip",span_class_price_price_span_span_class_period_per_month_span:"<span class='p
rice'>%{price}</span><span class='period'>per month</span>","1_book_each_month":
"1 book each month",monthly_access_to_scribd_selects:"Monthly access to Scribd S
elects",unlimited_access_to_documents_and_sheet:"Unlimited access to documents a
nd sheet music",your_membership_is_scheduled_to_change:"Your membership is sched
uled to change on %{switch_will_convert_at_strftime_m_d_y}",your_plan:"Your plan
","3_books_each_month":"3 books each month","1_audiobook_each_month":"1 audioboo
k each month"}}}}});
/* app/views/shared/upsell/plans_lightbox.coffee @ 1478902276 */
(function(){var t=function(t,n){function i(){this.constructor=t}for(var r in n)e
.call(n,r)&&(t[r]=n[r]);return i.prototype=n.prototype,t.prototype=new i,t.__sup
er__=n.prototype,t},e={}.hasOwnProperty;Scribd.PlansLightbox=function(e){functio
n n(t,e){this.container=t,this.opts=null!=e?e:{},n.__super__.constructor.apply(t
his,arguments),this.container.track_rats("annual:plans_modal:view",{source:this.
opts.source}),this.setup_tracking()}return t(n,e),n.prototype.setup_tracking=fun
ction(){return this.container.dispatch("click",{upgrade_btn:function(t){return f
unction(){return t.container.track_rats("annual:plans_modal:upgrade:click",{sour
ce:t.opts.source}),"continue"}}(this),downgrade_btn:function(t){return function(
){return t.container.track_rats("annual:plans_modal:downgrade:click",{source:t.o
pts.source}),"continue"}}(this),close_button:function(t){return function(){retur
n t.container.track_rats("annual:plans_modal:close",{source:t.opts.source}),"con
tinue"}}(this)})},n}(Scribd.Lightbox)}).call(this),(Scribd.translations=Scribd.t
ranslations||[]).push({en_US:{shared:{upsell:{plans_lightbox:{you_can_manage_you
r_plan_in:"You can manage your plan in <a href='%{settings_href}' target='_blank
'>account settings</a>"}}}}});
/* app/views/shared/react/card_library_button.coffee @ 1478902276 */
(function(){var t,e,n;e=React.DOM.div,t=Scribd.R.component_builder("Shared.React
.CardLibraryButton",{css_class:"autogen_class_views_shared_react_card_library_bu
tton",track_category:"card_library_button"}),n=React.PropTypes,t({propTypes:{doc
ument_id:n.number,has_bookmark:n.number},getInitialState:function(){return{has_b
ookmark:this.props.has_bookmark}},widget_css_classes:function(t){var e,n;return
e=classNames(t,"card_library_button",null!=(n=this.props.has_bookmark)?n:{in_lib
rary:""})},componentDidUpdate:function(){return this.state.has_bookmark?this.con
tainer().addClass("in_library"):this.container().removeClass("in_library")},comp

onentDidMount:function(){return this.container().show(),this.container().on("cli
ck",function(t){return function(){return Scribd.with_login({initial_view:"join_p
mp",join_pmp_header_text:I18n.t("shared.react.library_button.become_a_member_to_
save_this"),track_location:"article_add_to_library"},function(){return t.state.h
as_bookmark?(t.setState({has_bookmark:!1,bookmark_change:!0}),Scribd.Bookmarks.r
emove_bookmark(t.props.document_id,{complete:function(){}})):(t.setState({has_bo
okmark:!0,bookmark_change:!0}),Scribd.Bookmarks.add_bookmark(t.props.document_id
,{complete:function(){}})),_.delay(function(){return t.setState({bookmark_change
:!1})},2e3)})}}(this)),$(document).on("scribd:added_bookmark",function(t){return
function(e,n){return n.document_id===t.props.document_id?t.setState({has_bookma
rk:!0}):void 0}}(this)),$(document).on("scribd:removed_bookmark",function(t){ret
urn function(e,n){return n.document_id===t.props.document_id?t.setState({has_boo
kmark:!1}):void 0}}(this))},render:function(){return this.state.bookmark_change?
e({className:"tooltip",children:[this.state.has_bookmark?"Added to library":"Rem
oved from Library"]}):void 0}})}).call(this);
/* app/views/shared/popover.coffee @ 1478902276 */
(function(){var t,e,n=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)
if(e in this&&this[e]===t)return e;return-1};e=["hover","click"],t=["top","left"
,"right","bottom"],Scribd.Popover=function(){function i(i,r){var o,s,a,c;this.op
ts=r,null==this.opts&&(this.opts={}),a=this.opts.event,n.call(e,a)>=0&&(c=this.o
pts.direction,n.call(t,c)>=0&&(null==(o=this.opts).delay&&(o.delay=200),null==(s
=this.opts).offset&&(s.offset={top:0,left:0}),this.container=$(i),this.trigger=$
(i).find(".popover_trigger").first(),this.content=$(i).find(".popover_content").
first(),this.container.data("popover",this),this["setup_"+this.opts.event].call(
this)))}return i.prototype.open=function(){var t;return this.content.show(),t=th
is.calculate_offset(this.opts.direction),this.apply_offset(this.content,t)},i.pr
ototype.close=function(){return this.content.hide()},i.prototype.setup_hover=fun
ction(){var t,e,n,i;return i=null,n=!1,t=function(){return i=clearTimeout(i),n?v
oid 0:n=!0},e=function(t){return function(){return n=!1,null!=i?i:i=setTimeout(_
.bind(t.close,t),t.opts.delay)}}(this),this.trigger.mouseenter(function(e){retur
n function(){return t()&&e.open()}}(this)),this.content.mouseenter(t),this.trigg
er.mouseleave(e),this.content.mouseleave(e)},i.prototype.setup_click=function(){
var t,e;return e=!1,t=function(t){return function(n){return $(n.target).closest(
".popover_content").length>0?void 0:($(document).off("click.popover"),t.close(),
e=!1)}}(this),this.trigger.click(function(n){return function(i){return i.stopPro
pagation(),e?t(i):(n.open(),e=!0,$(document).on("click.popover",t))}}(this))},i.
prototype.calculate_offset=function(t){var e,n;return null==this.trigger_positio
n&&(this.trigger_position=this.get_position(this.trigger)),n=this.content.outerW
idth(),e=this.content.outerHeight(),this["calculate_"+t+"_offset"](n,e)},i.proto
type.calculate_top_offset=function(t,e){return{top:this.trigger_position.top-e,l
eft:this.trigger_position.left+this.trigger_position.width/2-t/2}},i.prototype.c
alculate_bottom_offset=function(t){return{top:this.trigger_position.top+this.tri
gger_position.height,left:this.trigger_position.left+this.trigger_position.width
/2-t/2}},i.prototype.calculate_left_offset=function(t,e){return{top:this.trigger
_position.top+this.trigger_position.height/2-e/2,left:this.trigger_position.left
-t}},i.prototype.calculate_right_offset=function(t,e){return{top:this.trigger_po
sition.top+this.trigger_position.height/2-e/2,left:this.trigger_position.left+th
is.trigger_position.width}},i.prototype.get_position=function(t){var e;return e=
t.position(),e.width=t.outerWidth(),e.height=t.outerHeight(),e.margin={},e.margi
n.top=parseInt(t.css("margin-top"),10),_.isNaN(e.margin.top)&&(e.margin.top=0),e
.margin.left=parseInt(t.css("margin-left"),10),_.isNaN(e.margin.left)&&(e.margin
.left=0),e},i.prototype.apply_offset=function(t,e){return e.top+=this.trigger_po
sition.margin.top,e.left+=this.trigger_position.margin.left,e.top+=this.opts.off
set.top,e.left+=this.opts.offset.left,t.css("top",e.top+"px"),t.css("left",e.lef
t+"px")},i}()}).call(this);
/* app/views/shared/carousels/carousel.coffee @ 1478902276 */

(function(){var t=function(t,n){function i(){this.constructor=t}for(var r in n)e


.call(n,r)&&(t[r]=n[r]);return i.prototype=n.prototype,t.prototype=new i,t.__sup
er__=n.prototype,t},e={}.hasOwnProperty;null==Scribd.UI&&(Scribd.UI={}),Scribd.U
I.Carousel=function(){function t(t,e){var n;this.container=t,this.opts=null!=e?e
:{},Scribd.UI.Carousel.carousels.push(this),this.container=$(this.container).dat
a("carousel",this),this.images_loaded=!this.container.data("lazy_images"),this.c
ontainer.hasClass("cache_widget")&&(this.container=this.container.find(".carouse
l_widget")),this.carousel=this.container.find(".carousel"),this.scrolling=this.c
arousel.find(".carousel_scrolling"),n=this.check_items_inview,this.check_items_i
nview=_.debounce(function(t){return function(){return n.apply(t)}}(this),500),th
is.container.on("scribd:reshape_carousel",function(t){return function(){return t
.reshape()}}(this)),this.opts.tracking_module!==!1&&(this.tracking_module=new Sc
ribd.RecommendationTracking.Module(this.container,{compilation_id:this.opts.comp
ilation_id,widget_name:this.opts.widget_name,module_id:this.opts.module_id,on_tr
acking:function(t){return function(e){t.tracking=e}}(this),on_in_view:function(t
){return function(){return t.check_items_inview()}}(this)})),this.setup_events()
,this.setup_scrollbar(),this.setup_flags(),this.show_paddles(),this.reshape(),th
is.setup_viewport_scrolling()}return t.prototype.anim_speed=200,t.prototype.easi
ng="ease_in_out_cubic",t.prototype.images_loaded=!1,t.prototype.setup_viewport_s
crolling=function(){var t,e,n,i,r,o,s,a,c;if(!this.images_loaded)return c=$(wind
ow),s=this.container.closest(".carousel_scroll_parent"),n=!1,s.length?(i=s,a=0,t
=_.throttle(function(t){return function(){return a=t.container.offset().top+s[0]
.scrollTop-s.offset().top-s.height()}}(this),1e3,{trailing:!1}),e=function(){ret
urn function(){return t(),s[0].scrollTop>a}}(this)):(i=c,a=this.container.offset
().top,e=function(){return function(){return c.scrollTop()+c.height()>a}}(this))
,r=function(t){return function(){return n?t.show_visible_images():void 0}}(this)
,o=function(t){return function(){return e()?(n=!0,t.show_visible_images(),i.off(
"scroll resize",o)):void 0}}(this),c.on("resize",_.debounce(r,100)),i.on("scroll
resize",o),_.defer(o)},t.prototype.setup_events=function(){return this.opts.dis
able_click?void 0:(this.container.dispatch("click",{carousel_prev:function(t){re
turn function(){var e;return t.on_interact(),t.scroll_items(-t.cells_to_scroll()
),null!=(e=t.tracking_module)?e.track_module_click("ap"):void 0}}(this),carousel
_next:function(t){return function(){var e;return t.on_interact(),t.scroll_items(
t.cells_to_scroll()),null!=(e=t.tracking_module)?e.track_module_click("an"):void
0}}(this)}),this.container.on("click",".doc_link",function(t){return $(t.target
).trigger("scribd:doc_link_clicked")}))},t.prototype.setup_scrollbar=function(){
var t,e;return this.scrollbar=this.container.find(".carousel_scrollbar"),t=this.
scrollbar.find(".carousel_scrollbar_thumb"),e=_.debounce(function(t){return func
tion(e,n,i){return t.container.toggleClass("on_first_page",0===e),t.container.to
ggleClass("on_last_page",e+n===i)}}(this),100),this.update_scrollbar=function(n)
{return function(){var i,r,o,s,a,c;return r=n.scroll_width(),a=n.scrolling.inner
Width(),o=n.scrolling.scrollLeft(),i=n.scrollbar.width(),s=Math.floor(o/r*a),c=a
-Math.floor((o+a)/r*a),s=Math.min(s,i-10),10>=c&&(c=0),c>i-s&&(c=i-s-10),e(o,a,r
),t.css({left:s+"px",right:c+"px"})}}(this),this.scrolling.on("scroll",function(
t){return function(){return t.on_interact(),t.update_scrollbar(),t.check_items_i
nview()}}(this)),this.update_scrollbar(),t.draggable({start:function(t){return f
unction(){return t.container.addClass("dragging")}}(this),stop:function(t){retur
n function(){return t.container.removeClass("dragging")}}(this),move:function(t)
{return function(e){var n;return n=t.scroll_width()/t.scrolling.innerWidth(),t.s
crolling.scrollLeft(t.scrolling.scrollLeft()+e*n)}}(this)})},t.prototype.scroll_
items=function(t){var e,n,i,r,o;return o=this.cell_width(),0===o||this.scrolling
.is(":animated")||(e=this.scrolling.scrollLeft(),i=Math.floor(e/o+.1)*o+t*o,n=th
is.scroll_width()-this.scrolling.innerWidth(),i=Math.max(0,Math.min(i,n)),15>n-i
&&(i=n),15>i&&(i=0),e===i)?void 0:(r=Math.floor(this.anim_speed*Math.abs((e-i)/o
)),this.scrolling.animate({scrollLeft:i},{duration:r,easing:"smoothstep"}))},t.p
rototype.cells_to_scroll=function(){var t;return t=this.scrolling.width()/this.c
ell_width(),1.5>=t?1:Math.ceil(t)},t.prototype.cell_width=function(){return this
.carousel.find(".object_cell:first").outerWidth(!0)},t.prototype.scroll_width=fu
nction(){var t;return(null!=(t=this.scrolling[0])?t.scrollWidth:void 0)||0},t.pr
ototype.reshape=function(){var t,e;return t=this.scroll_width(),e=this.scrolling

.innerWidth(),this.container.toggleClass("has_no_scrolling",5>t-e),"function"==t
ypeof this.update_scrollbar?this.update_scrollbar():void 0},t.prototype.show_vis
ible_images=function(){var t,e,n,i,r,o;if(!this.images_loaded){for(n=this.scroll
ing.innerWidth(),i=this.carousel.find("img[data-src]"),r=[],t=0,e=i.length;e>t&&
(o=i[t],o=$(o),o.position().left<n);t++)r.push(this.show_image($(o)));return r}}
,t.prototype.show_all_images=function(){var t,e,n,i,r;if(!this.images_loaded){fo
r(this.images_loaded=!0,n=this.carousel.find("img[data-src]"),i=[],t=0,e=n.lengt
h;e>t;t++)r=n[t],i.push(this.show_image($(r)));return i}},t.prototype.setup_flag
s=function(){return Scribd.DocumentCell.add_flags(this.container)},t.prototype.f
lush_images=function(){var t;return t=function(t){return function(){var e;if(nul
l!=(e=t._load_queue)?e.length:void 0)return $(t._load_queue).velocity("transitio
n.fadeIn"),t._load_queue=[]}}(this),this.flush_images=_.debounce(t,10),this.flus
h_images()},t.prototype.show_image=function(t){var e,n,i;return t=$(t),e=t.data(
),n=e.src,i=e.srcset,n?(t.on("load",function(e){return function(){return e._load
_queue||(e._load_queue=[]),e._load_queue.push(t[0]),e.flush_images()}}(this)),wi
ndow.location.hash.match(/\bdebug_images\b/)?(t.style({backgroundImage:"red"}),s
etTimeout(function(){return t.style({backgroundImage:""}),t.attr("src",n),t.attr
("srcset",i)},500)):(t.attr("src",n),t.attr("srcset",i)),t.removeData("src"),t.r
emoveData("srcset")):void 0},t.prototype.show_paddles=function(t){return null==t
&&(t=!0),this.container.toggleClass("paddles_visible",!!t)},t.prototype.on_inter
act=function(){return this.on_interact=function(){},this.show_all_images(),$(doc
ument.body).track({category:this.opts.page||"carousel",action:"click",label:"car
ousel:first_carousel_click"})},t.prototype.check_items_inview=function(){var t,e
,n,i,r,o,s,a,c,u,l,d;if(null!=this.tracking){for(l=50,a=this.scrolling.innerWidt
h(),u=this.container.find(".object_cell[data-track_uuid]"),n=e=0,o=u.length;o>e;
n=++e)t=u[n],t=$(t),t.is(".visibility_tracked")||(r=t.position().left,s=parseInt
(t.css("marginLeft")),r+=s,d=t.width(),i=r+l>=0&&a>=r+d-l,i&&(c=t.closest("[data
-track_uuid]").data("track_uuid"),Scribd.RecommendationTracking.track_obj_view(t
his.tracking.view_id,c),t.addClass("visibility_tracked")));return null}},t}(),Sc
ribd.UI.Carousel.carousels=[],Scribd.UI.SquareCarousel=function(e){function n(){
return n.__super__.constructor.apply(this,arguments)}return t(n,e),n}(Scribd.UI.
Carousel)}).call(this);
/* app/views/shared/smart_tabs.coffee @ 1478902276 */
(function(){Scribd.SmartTabs=function(){function t(t,e){this.container=t,this.op
ts=null!=e?e:{},this.container=$(this.container),this.setup_opts(),this.setup_ta
bs(),this.setup_events()}return t.prototype.setup_opts=function(){return this.op
ts=_.extend({bind_click:!1},this.opts)},t.prototype.setup_tabs=function(){var t,
e,n,i,r;if(this.container.find(".tab.hover_menu").length)return e=this.container
,i=e.find(".tab").not(":last"),t=e.find(".tab:last"),n=$(window).width(),r=funct
ion(e){return function(){var n,r,o,s,a,c,u,l,d,h,p,f,g,m;for(r=Math.min($(window
).width(),e.opts.max_width)-200,i.show(),d=t.outerWidth(!0),s=0,u=i.length;u>s;s
++)f=i[s],d+=$(f).outerWidth(!0);for(o=[],a=i.length-1;a>=0&&(f=i[a],!(r>=d));a+
=-1)f=$(f),d-=f.outerWidth(!0),f.hide(),o.push(f);if(t.toggle(!!o.length),o.leng
th){for(p=t.find(".sub_menu"),m=_.template(p.data("row_template")),p.empty(),h=[
],c=0,l=o.length;l>c;c++)g=o[c],n=$(m({tab_name:g.data("name"),label:g.text()}))
,n.data(g.data()),g.hasClass("current")&&t.addClass("current"),h.push(p.append(n
));return h}return e.container.find(".tab:visible:last").addClass("last")}}(this
),$(window).on("resize",_.debounce(r,100)),r()},t.prototype.set_current_tab=func
tion(t){var e,n;return t.addClass("current").siblings(".current").removeClass("c
urrent"),this.opts.modify_url?(e=window.location.href,n=Scribd.add_url_parameter
(e,"tab",t.data("section")),window.history.replaceState({},"profile_tab",n)):voi
d 0},t.prototype.setup_events=function(){return this.container.on("scribd:set_ta
b",function(t){return function(e){return t.set_current_tab($(e.target))}}(this))
,this.opts.bind_click?(this.container.on("click",".tab",function(t){return funct
ion(e){return $(e.currentTarget).is(".current")||$(e.currentTarget).is(".unselec
table")?void 0:t.set_current_tab($(e.currentTarget))}}(this)),this.container.tri
gger("scribd:tab:clicked",$(e.currentTarget))):void 0},t}()}).call(this),(Scribd
.translations=Scribd.translations||[]).push({en_US:{shared:{smart_tabs:{more:"Mo

re"}}}});
/* app/views/shared/react/review_form.coffee @ 1478902276 */
(function(){var t,e,n,i,r;n=React.DOM,r=n.textarea,e=n.div,i=n.span,(t=Scribd.R.
component_builder("Shared.React.ReviewForm",{css_class:"review_form",track_categ
ory:"review_form"}))({getInitialState:function(){return{saved_text:this.props.re
view_text||"",review_text:this.props.review_text||"",focused:!1,posted:!1,postin
g:!1,post_attempt:!1,review_id:this.props.review_id,delete_url:this.props.delete
_url}},toggle_focused:function(){return this.container().toggleClass("focused",t
his.state.focused||!!this.state.review_id)},rating_update_handler:function(){ret
urn this.forceUpdate()},review_edit_handler:function(){return this.setState({pos
ted:!1},this.scroll_into_view)},review_delete_handler:function(t,e,n){return n.p
rops.current_user&&n.props.doc_id===this.props.doc_id?(this.setState({saved_text
:"",review_text:"",focused:!1,posted:!1,posting:!1,post_attempt:!1,review_id:nul
l,delete_url:null}),this.refs.review_star_rating.setState({user_rating:0}),this.
container().trigger("scribd:rating_update",this.refs.review_star_rating),this.sc
roll_into_view()):void 0},before_unload_text:function(){return I18n.t("shared.re
act.review_form.wait_your_review_has_not_been")},dirty_state:function(){return t
his.state.review_text!==this.state.saved_text},word_count:function(t){var e;retu
rn e=$.trim(t),e.length?e.split(" ").length:0},before_unload_handler:function(){
return this.dirty_state()?(this.track_abandoned=!0,this.before_unload_text()):vo
id 0},unload_handler:function(){return this.track_abandoned?this.track("abandone
d",!0):void 0},carousel_move_handler:function(){return this.setState({focused:!1
})},componentWillMount:function(){return this.props.hide_until_edit&&this.props.
review_text?this.setState({posted:!0}):void 0},componentDidMount:function(){var
t,e,n,i;return this.toggle_focused(),e=this.container().closest(".book_preview_c
ontainer"),t=e.length?e:$(window),t.on("scribd:rating_update",this.rating_update
_handler),t.on("scribd:review_edit",this.review_edit_handler),t.on("scribd:revie
w_deleted",this.review_delete_handler),t.on("scribd:ratings_carousel_move",this.
carousel_move_handler),"test"===Scribd.rails_env&&this.container().on("unload",f
unction(t){return function(){return t.before_unload_handler()}}(this)),this.cont
ainer().closest("#lightboxes").length?null!=(n=Scribd.BookPreview)&&(n.review_fo
rm_refs[1]=this):($(window).on("beforeunload",this.before_unload_handler),$(wind
ow).on("unload",this.unload_handler),null!=(i=Scribd.BookPreview)&&(i.review_for
m_refs[0]=this)),this.forceUpdate(),this.refs.review_star_rating.setState({show_
clear_rating:!this.state.review_id})},componentDidUpdate:function(){return this.
toggle_focused(),this.container().toggleClass("hidden",this.state.posted),this.s
tate.focused&&"function"==typeof Scribd.init_spinners?Scribd.init_spinners():voi
d 0},render:function(){return[this.star_label(),this.rating_stars(),this.textare
a_label(),this.textarea_tip(),this.textarea(),this.buttons()]},star_label:functi
on(){return this.props.show_star_label?e({className:"star_label"},I18n.t("shared
.react.review_form.what_did_you_think")):void 0},rating_stars:function(){return
Scribd.R.Shared.React.StarRatings(this.extend_props(this.props.rating_star_props
))},textarea_label:function(){return e({className:"textarea_label",children:[I18
n.t("shared.react.review_form.write_a_review")+" ",i({className:"optional"},I18n
.t("shared.react.review_form.optional"))]})},textarea_tip:function(){return this
.state.focused||this.state.review_id?e({className:"textarea_tip"},I18n.t("shared
.react.review_form.tip_the_most_helpful_reviews_are")):void 0},textarea:function
(){var t;return t=function(){var t;switch(null!=(t=this.refs.review_star_rating)
?t.state.user_rating:void 0){case 0:return I18n.t("shared.react.review_form.tell
_us_what_you_liked_about");case 1:return I18n.t("shared.react.review_form.what_d
idn_t_you_like_about_the");case 2:return I18n.t("shared.react.review_form.what_w
ould_have_made_this_book");case 3:return I18n.t("shared.react.review_form.what_d
id_or_didn_t_you_like");case 4:return I18n.t("shared.react.review_form.what_was_
your_favorite_part_of");case 5:return I18n.t("shared.react.review_form.what_made
_this_book_so_great")}}.call(this),r({name:"text",className:"review_body",onFocu
s:function(t){return function(){return Scribd.with_login({initial_view:"join_pmp
",join_pmp_header_text:I18n.t("shared.react.review_form.join_to_write_a_review")
,track_location:"write_review"},function(){return t.setState({focused:!0})})}}(t

his),onChange:function(t){return function(e){return t.setState({review_text:$(e.


target).val()})}}(this),placeholder:t,value:this.state.review_text})},buttons:fu
nction(){var t,n,r,o,s;if(this.state.focused||this.state.review_id)return o=this
.word_count(this.state.review_text),n=!0,r=!1,10>o?(s=10-o,t=1===s?I18n.t("share
d.react.review_form.1_word_left_to_post_a"):I18n.t("shared.react.review_form.wor
ds_left_words_left_to_post_a",{words_left:s}),n=!1,this.state.post_attempt&&(r=!
0)):this.state.review_text.length>=1e4?(t=I18n.t("shared.react.review_form.oops_
maximum_review_length_is_10_000"),n=!1,r=!0):null==this.refs.review_star_rating|
|this.refs.review_star_rating.state.user_rating?t=I18n.t("shared.react.review_fo
rm.looks_great_feel_free_to_keep"):(t=I18n.t("shared.react.review_form.looks_gre
at_don_t_forget_to_rate"),n=!1,this.state.post_attempt&&(r=!0)),e({className:"bu
ttons",children:[i({className:r?"warn":void 0},t),this.common_button({className:
"outline_btn cancel_btn",onClick:function(t){return function(){return t.edit_rev
iew_lb_context()?t.container().trigger("scribd:review_cancel:edit_review_lb"):(t
.setState({review_text:t.state.saved_text,posted:!!t.state.saved_text.length,foc
used:!1}),t.container().trigger("scribd:review_cancel"))}}(this)},I18n.t("shared
.react.review_form.cancel")),this.common_button({disabled:!n||this.state.review_
text===this.state.saved_text,className:classNames("post_review",{loading:this.st
ate.posting}),children:[e({className:"scribd_spinner","data-size":30}),I18n.t(th
is.state.review_id?"shared.react.review_form.update":"shared.react.review_form.p
ost_review")],onClick:function(t){return function(){var e;return n&&t.state.revi
ew_text!==t.state.saved_text?(t.setState({posting:!0}),e=$.post(t.props.post_url
,{text:t.state.review_text},function(e){return t.track(t.state.review_id?"update
d":"added"),t.setState({posted:!0,delete_url:e.review_delete_url,review_id:e.rev
iew_id,saved_text:t.state.review_text}),t.edit_review_lb_context()?t.container()
.trigger("scribd:review_added:edit_review_lb",e):(t.container().trigger("scribd:
review_added",e),t.refs.review_star_rating.setState({show_clear_rating:!1}))}),e
.fail(function(){return(new Scribd.Flasher).show("error",I18n.t("shared.react.re
view_form.your_review_was_not_saved_please"))}),e.always(function(){return t.set
State({posting:!1})})):t.setState({post_attempt:!0},function(){return t.refs.rev
iew_star_rating.state.user_rating?void 0:t.refs.review_star_rating.setState({rat
ing_required:!0},t.scroll_into_view)})}}(this)})]})},scroll_into_view:function()
{var t,e,n,i;return e=this.container().closest("#lightboxes"),t=this.container()
.closest(".end_of_reading_container"),n=e.length?e:$(document.body),i=this.conta
iner().position().top,t.length&&(i=this.container().closest(".body").offset().to
p-100),n.scrollTop()>i?n.animate({scrollTop:i}):void 0},track:function(t){return
this.container().track_rats("ratings:review:"+t,{word_document_id:this.props.do
c_id,review_id:this.state.review_id,review_word_count:this.word_count(this.state
.review_text)})},edit_review_lb_context:function(){return this.container().close
st("#edit_review_lb").length}})}).call(this),(Scribd.translations=Scribd.transla
tions||[]).push({en_US:{shared:{react:{review_form:{wait_your_review_has_not_bee
n:"Wait, your review has not been posted yet. Are you sure you want to leave thi
s page?",what_did_you_think:"What did you think?",write_a_review:"Write a review
?",optional:"(optional)",tip_the_most_helpful_reviews_are:"Tip: The most helpful
reviews are at least 25 words long",tell_us_what_you_liked_about:"Tell us what
you liked about this book!",what_didn_t_you_like_about_the:"What didn't you like
about the book?",what_would_have_made_this_book:"What would have made this book
better?",what_did_or_didn_t_you_like:"What did or didn't you like about this bo
ok?",what_was_your_favorite_part_of:"What was your favorite part of the book?",w
hat_made_this_book_so_great:"What made this book so great?",join_to_write_a_revi
ew:"Join to write a review",oops_maximum_review_length_is_10_000:"Oops! Maximum
review length is 10,000 characters",looks_great_don_t_forget_to_rate:"Looks grea
t! Don\u2019t forget to rate it, too",looks_great_feel_free_to_keep:"Looks great
! Feel free to keep going",cancel:"Cancel",your_review_was_not_saved_please:"You
r review was not saved. Please try again.","1_word_left_to_post_a":"1 word left
to post a review",words_left_words_left_to_post_a:"%{words_left} words left to p
ost a review",update:"Update",post_review:"Post review"}}}}});
/* app/views/shared/react/library_button.coffee @ 1478902276 */

(function(){var t,e,n,i,r,o,s,a;o=React.DOM,e=o.button,s=o.span,t=o.a,i=o.div,r=
o.li,a=o.ul,(n=Scribd.R.component_builder("Shared.React.LibraryButton",{css_clas
s:"library_button"}))({actions_list_timeout:null,"static":{instances:[],preview_
players:{},bind_global_handlers:_.once(function(){return $(window).on("click",fu
nction(t){return function(e){var n,i,r,o,s;try{for(o=t.instances,s=[],n=0,r=o.le
ngth;r>n;n++)i=o[n],s.push($(e.target).closest(i.container()).length?void 0:i.se
tState({show_actions:!1}));return s}catch(a){}}}(this)),$(window).on("scribd:col
lection_lightbox:add_documents scribd:collection_lightbox:remove_documents",func
tion(t){return function(){try{return t.instances[t.instances.length-1].update_in
_collection()}catch(e){}}}(this)),$(window).on("scribd:library_button_update",fu
nction(t){return function(e,n,i){var r,o,s,a,c;for(a=t.instances,c=[],r=0,s=a.le
ngth;s>r;r++)o=a[r],o!==n&&n.props.document_id===o.props.document_id&&c.push(o.s
etState(i));return c}}(this)),$(window).on("scribd:library_button:go_to_selects"
,function(t){return function(){var e;e=t.instances[t.instances.length-1];try{ret
urn e.container().track_rats("caps:go_to_scribd_selects:click",{doc_id:e.state.d
ocument_id})}catch(n){}}}(this))})},get_event_container_by_id:function(t){return
$(t?"#"+t:document.body)},getInitialState:function(){return _.extend({params:{}
,loading:!1,preview_playing:!1,show_actions:!1},this.props)},componentDidMount:f
unction(){var t;return Scribd.R.Shared.React.LibraryButton.instances.push(this),
Scribd.R.Shared.React.LibraryButton.bind_global_handlers(),Scribd.init_spinners(
this.container()),t=$(this.props.event_container_id?"#"+this.props.event_contain
er_id:document.body),this.props.in_player||t.on("scribd:credit_redeemed",this.cr
edit_redeemed),this.state.params.from_payment_update&&Scribd.CreditLightbox.load
(this.props.credit_lightbox_url,t,this.props.params),this.state.actions_select?t
his.container().addClass("has_actions_select"):void 0},componentDidUpdate:functi
on(){return this.container().toggleClass("hover",this.state.show_actions),Scribd
.R.Shared.React.LibraryButton.current_instance=this,this.container().find("butto
n").toggleClass("loading",this.state.loading).prop("disabled",this.state.loading
)},credit_redeemed:function(){return this.container().track_rats("caps:title_con
firm:click",{doc_id:this.props.document_id}),this.setState({credit_restricted:!1
}),this.add_to_library()},update_in_collection:function(){return this.setState({
loading:!0}),$.post(this.state.check_in_collection_url,function(t){return functi
on(e){var n;return n={loading:!1,in_collection:e.in_collection},e.in_collection&
&(n.in_library=!0),t.setState(n),t.container().trigger("scribd:library_button:up
date_in_collection",{document_id:t.state.document_id,in_collection:e.in_collecti
on}),t.container().trigger("scribd:library_button_update",[t,n])}}(this))},get_o
rientation:function(){var t;return t=this.state.orientation,"auto"===this.props.
orientation&&(t=this.container()[0].getBoundingClientRect().top<260?"bottom":"to
p"),t},render:function(){return[this.main_button(),this.actions_select(),this.ac
tions_list()]},play_sample_action_opts:function(){var t;return t={children:[]},t
his.state.preview_playing?(t.children.push(s({className:"icon-pause_button"})),t
.children.push(I18n.t("shared.react.library_button.playing")),t.onClick=function
(t){return function(){return t.state.loading?void 0:(Scribd.R.Shared.React.Libra
ryButton.preview_players[t.state.document_id].pause(),t.setState({preview_playin
g:!1}),t.container().trigger("scribd:library_button_update",[t,{preview_playing:
!1}]))}}(this)):(t.children.push(s({className:"icon-play_button"})),t.children.p
ush(I18n.t("shared.react.library_button.play_sample")),t.onClick=Scribd.R.Shared
.React.LibraryButton.preview_players[this.state.document_id]?function(t){return
function(){return t.state.loading?void 0:(Scribd.R.Shared.React.LibraryButton.pr
eview_players[t.state.document_id].play(),t.container().track_rats("bookpage:pla
y_sample:click",{doc_id:t.state.document_id}),t.setState({preview_playing:!0}),t
.container().trigger("scribd:library_button_update",[t,{preview_playing:!0}]))}}
(this):function(t){return function(){return t.state.loading?void 0:Scribd.Findaw
ay.with_findaway(function(){return Scribd.R.Shared.React.LibraryButton.preview_p
layers[t.state.document_id]=soundManager.createSound({url:t.state.audiobook_samp
le_url,autoPlay:!0,multiShot:!1,onload:function(e){if(!e)throw"Failed to load sa
mple: "+audiobook_sample_url;return t.container().track_rats("bookpage:play_samp
le:click",{doc_id:t.state.document_id}),t.setState({preview_playing:!0,loading:!
1}),t.container().trigger("scribd:library_button_update",[t,{preview_playing:!0}
])}}),t.setState({loading:!0})})}}(this)),t},library_remove_action_opts:function

(){return{onClick:this.remove_from_library,children:[I18n.t("shared.react.librar
y_button.remove_from_library")]}},library_add_action_opts:function(){return{onCl
ick:this.add_to_library,children:[I18n.t("shared.react.library_button.add_to_lib
rary")]}},library_action_opts:function(){return this.state.in_library?{onClick:t
his.remove_from_library,children:[I18n.t("shared.react.library_button.in_your_li
brary")]}:this.library_add_action_opts()},read_preview_action_opts:function(){re
turn{children:[I18n.t("shared.react.library_button.read_preview")],href:this.sta
te.start_reading_url,onClick:function(t){return function(){return t.state.loadin
g?void 0:t.container().track_rats("bookpage:read_preview:click",{doc_id:t.state.
document_id})}}(this)}},get_full_title_action_opts:function(){return{children:[t
his.props.get_title_text],onClick:function(t){return function(){return t.state.l
oading?void 0:Scribd.with_login(t.login_params({track_location:"add_to_library",
initial_view:"join_pmp"}),function(){return t.container().track_rats("caps:get_f
ull_title:click",{doc_id:t.state.document_id}),!t.state.subscriber&&t.state.free
_trial_url?document.location=t.state.free_trial_url:(t.container().trigger("scri
bd:credit_btn_clicked"),Scribd.CreditLightbox.load(t.state.credit_lightbox_url,t
.get_event_container_by_id(t.state.event_container_id)))})}}(this)}},main_button
:function(){var n,r;if(n=classNames("main_button","inherit_tracking",{has_action
s_select:this.state.actions_select,loading:this.state.loading}),r={className:thi
s.button_classes(n),children:[e(this.library_action_opts())]},!this.state.hoverc
ard)if(this.state.is_series_canonical)r.children=[e(this.library_action_opts())]
;else if(this.state.force_get_full_title){if(this.state.paused&&!this.state.acti
ons_select)return;r.children=[e(this.get_full_title_action_opts())]}else this.st
ate.subscriber?this.state.credit_restricted&&this.state.in_library&&this.state.s
how_get_full_title&&!this.state.paused&&(r.children=[e(this.get_full_title_actio
n_opts())]):"audiobook"===this.state.document_type&&this.state.audiobook_sample_
url?r.children=[e(this.play_sample_action_opts())]:this.state.start_reading_url&
&this.state.show_preview&&(r.children=[t(this.read_preview_action_opts())]);retu
rn r.children.push(i({className:"scribd_spinner","data-size":30})),i(r)},actions
_list:function(){return this.state.show_actions&&this.state.actions_select?i({cl
assName:"autogen_class_views_shared_popover actions_list_wrapper "+this.state.or
ientation,onMouseEnter:function(t){return function(){return window.clearTimeout(
t.actions_list_timeout)}}(this),onMouseLeave:function(t){return function(){retur
n t.actions_list_timeout=window.setTimeout(function(){return t.setState({show_ac
tions:!1})},500)}}(this),onClick:function(t){return function(e){return t.state.l
oading?void 0:(e.preventDefault(),t.setState({show_actions:!1}))}}(this),childre
n:[i({className:"popover_content",children:[this.arrow(),this.list_items()]})]})
:void 0},actions_select:function(){var t;if(this.state.actions_select)return t=c
lassNames("actions_select",{hover:this.state.show_actions,loading:this.state.loa
ding}),e({className:this.button_classes(t),children:[s({className:"icon-down_arr
ow"}),s({className:"visually_hidden",children:I18n.t("shared.react.library_butto
n.other_library_actions")})],onClick:function(t){return function(){return t.stat
e.loading?void 0:(t.container().track_rats("library_btn:menu_button:click",{doc_
id:t.state.document_id,action:t.state.show_actions?"hide":"show"}),t.setState({s
how_actions:!t.state.show_actions,orientation:t.get_orientation()}))}}(this)})},
arrow:function(){return i({className:"popover_arrow"})},list_items:function(){va
r t;return t={className:"actions_list",children:[r({},e(this.collection_action_o
pts()))]},this.state.hovercard&&this.state.in_library&&t.children.unshift(r({},e
(this.library_remove_action_opts()))),this.state.is_series_canonical||t.children
.unshift(r({},e(this.finished_action_opts()))),this.state.hovercard||(this.state
.subscriber?this.state.credit_restricted?this.state.in_library?t.children.push(r
({},e(this.library_remove_action_opts()))):this.state.show_get_full_title&&!this
.state.paused&&t.children.unshift(r({},e(this.get_full_title_action_opts()))):th
is.state.in_library&&t.children.push(r({},e(this.library_remove_action_opts())))
:(this.state.credit_restricted&&this.state.show_get_full_title&&!this.state.paus
ed&&t.children.unshift(r({},e(this.get_full_title_action_opts()))),this.state.in
_library?t.children.push(r({},e(this.library_remove_action_opts()))):this.state.
start_reading_url&&this.state.show_preview&&!this.state.is_series_canonical&&t.c
hildren.unshift(r({},e(this.library_add_action_opts()))))),a(t)},finished_action
_opts:function(){var t,e,n,i;return i={className:"finished_btn inherit_tracking"

},this.state.is_finished?(i.children=I18n.t("shared.react.library_button.unmark_
as_finished"),t="saved",n=!1,e="library_btn:unmark_as_finished:click"):(i.childr
en=I18n.t("shared.react.library_button.mark_as_finished"),t="finished_reading",n
=!0,e="library_btn:mark_as_finished:click"),i.onClick=function(i){return functio
n(){return i.state.loading?void 0:(i.container().track_rats(e,{doc_id:i.state.do
cument_id}),i.with_login(function(){return i.setState({loading:!0}),Scribd.Bookm
arks.update_bookmarks_states({document_ids:[i.state.document_id],state:t},{succe
ss:function(){var t;return t={is_finished:n,in_library:!0},i.setState(t),i.conta
iner().trigger("scribd:library_button_update",[i,t])},complete:function(){return
i.setState({loading:!1})}})}))}}(this),i},login_params:function(t){return"docum
ent"===this.props.document_type?$.extend({join_header_text:I18n.t("shared.react.
library_button.join_today"),join_sub_header_text:I18n.t("shared.react.library_bu
tton.unlimited_access_to_this_and_millions")},t):t},with_login:function(t){retur
n Scribd.with_login(this.login_params({initial_view:"join_pmp",track_location:"a
dd_to_library",join_pmp_header_text:I18n.t("shared.react.library_button.become_a
_member_to_save_this")}),t)},collection_action_opts:function(){var t;return t={c
lassName:"collections_btn inherit_tracking",onClick:function(t){return function(
){var e,n;if(!t.state.loading)return t.container().track_rats("library_btn:add_t
o_collection_button:click",{doc_id:t.state.document_id},e="library_btn"),n=Scrib
d.tracker.location_data(t.container()).shift(),Scribd.with_login(t.login_params(
{initial_view:"join_pmp",join_pmp_header_text:I18n.t("shared.react.library_butto
n.join_to_add_this_title_to")}),function(){return Scribd.AddToCollectionLightbox
.remote_open(t.state.document_id,e,n)})}}(this)},t.children=this.state.in_collec
tion?[I18n.t("shared.react.library_button.edit_collections")]:[I18n.t("shared.re
act.library_button.add_to_collection")],t},button_classes:function(t){return"fla
t_btn "+t+" "+this.state.extra_button_classes},add_to_library:function(){return
this.state.loading?void 0:(this.container().track_rats("library_btn:add_to_libra
ry:click",{doc_id:this.state.document_id}),this.with_login(function(t){return fu
nction(){return t.setState({loading:!0}),Scribd.Bookmarks.add_bookmark(t.state.d
ocument_id,{success:function(){var e;return e={in_library:!0},t.setState(e),t.co
ntainer().trigger("scribd:update_my_library_state",["add"]),t.container().trigge
r("scribd:library_button_update",[t,e]),t.state.in_player||"read"===t.state.page
?Scribd.Bookmarks.update_bookmarks_states({document_ids:[t.state.document_id],st
ate:"currently_reading"}):void 0},complete:function(){return t.setState({loading
:!1})}})}}(this)))},remove_from_library:function(){var t,e;if(!this.state.loadin
g)return this.setState({loading:!0}),this.container().track_rats("library_btn:re
move_from_library:click",{doc_id:this.state.document_id}),e=function(t){return f
unction(){return Scribd.Bookmarks.remove_bookmark(t.state.document_id,{success:f
unction(){var e;return e={in_library:!1,in_collection:!1,is_finished:!1},t.setSt
ate(e,function(){return t.container().trigger("scribd:update_my_library_state",[
"remove"]),t.container().trigger("scribd:library_button_update",[t,e])}),t.updat
e_in_collection()},complete:function(){return t.setState({loading:!1})}})}}(this
),this.state.in_collection?(t=Scribd.Lightbox.open("confirm_lightbox",Scribd.Con
firmLightbox),t.set_template("remove_from_library",{title:I18n.t("shared.react.l
ibrary_button.remove_book_from_your_library")}),t.set_confirm_callback(e),t.set_
choose_callback(function(t){return function(){return t.setState({loading:!1})}}(
this))):e()}})}).call(this),(Scribd.translations=Scribd.translations||[]).push({
en_US:{shared:{react:{library_button:{get_full_title:"Get full title",playing:"P
laying...",play_sample:"Play sample",remove_from_library:"Remove from library",a
dd_to_library:"Add to library",in_your_library:"In your library",read_preview:"R
ead preview",other_library_actions:"Other library actions",unmark_as_finished:"U
nmark as finished",mark_as_finished:"Mark as finished",join_today:"Join Today",u
nlimited_access_to_this_and_millions:"Unlimited access to this and millions of o
ther documents from users from around the world.",become_a_member_to_save_this:"
Become a member to save this title to your library",join_to_add_this_title_to:"J
oin to add this title to a collection",edit_collections:"Edit collections",add_t
o_collection:"Add to collection",remove_book_from_your_library:"Remove book from
your Library?"}}}}});

/* app/views/shared/sharing_buttons.coffee @ 1478902276 */
(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}};
Scribd.SharingButtons=function(){function e(e,n){this.opts=n,this.share_pinteres
t=t(this.share_pinterest,this),this.share_twitter=t(this.share_twitter,this),thi
s.share_facebook=t(this.share_facebook,this),this.share_googleplus=t(this.share_
googleplus,this),this.share_linkedin=t(this.share_linkedin,this),this.share_embe
d=t(this.share_embed,this),this.container=$(e),this.container.dispatch("click",{
share_facebook_btn:this.share_facebook,share_twitter_btn:this.share_twitter,shar
e_pinterest_btn:this.share_pinterest,share_linkedin_btn:this.share_linkedin,shar
e_embed_btn:this.share_embed}),this.container.on("click",".email a, .share_email
_btn",function(t){return function(){t.trigger_share("email")}}(this))}var n;retu
rn n=function(t,e,n){var i;return null==e&&(e=500),null==n&&(n=450),i=window.ope
n(t,"","width="+e+",height="+n+",resizable=1,scrollbars=1"),"function"==typeof i
.focus?i.focus():void 0},e.prototype.trigger_share=function(t){return this.conta
iner.trigger("scribd:share:"+t),this.container.trigger("scribd:share",[t])},e.pr
ototype.share_embed=function(){var t;return this.trigger_share("embed"),Scribd.L
ightbox.remote_open("embed_dialog","/read/embed_dialog?id="+this.opts.id),"funct
ion"==typeof(t=this.opts).click_fn?t.click_fn():void 0},e.prototype.share_linked
in=function(){var t;return this.trigger_share("linkedin"),n("http://www.linkedin
.com/shareArticle?"+$.param({title:this.opts.title,url:this.opts.url,source:"Scr
ibd",summary:this.opts.description&&Scribd.truncate(this.opts.description)})),"f
unction"==typeof(t=this.opts).click_fn?t.click_fn():void 0},e.prototype.share_go
ogleplus=function(){var t;return this.trigger_share("googleplus"),n("https://plu
s.google.com/share?"+$.param({url:this.opts.url})),"function"==typeof(t=this.opt
s).click_fn?t.click_fn():void 0},e.prototype.share_facebook=function(){var t;swi
tch(this.trigger_share("facebook"),this.opts.facebook_share_type){case"share":FB
.ui({method:"share",href:this.opts.url,display:"popup"});break;default:FB.ui({me
thod:"feed",name:this.opts.title,link:this.opts.url,picture:this.opts.thumbnail_
url,caption:this.opts.description&&Scribd.truncate(this.opts.description),displa
y:"popup"})}return"function"==typeof(t=this.opts).click_fn?t.click_fn():void 0},
e.prototype.share_twitter=function(t){var e,i;return this.trigger_share("twitter
"),i=t.data("text")||this.opts.twitter_message,n("https://twitter.com/share?"+$.
param({text:i,url:this.opts.url,original_referer:this.opts.url})),"function"==ty
peof(e=this.opts).click_fn?e.click_fn():void 0},e.prototype.share_pinterest=func
tion(){var t,e;return this.trigger_share("pinterest"),e=this.opts.message||this.
opts.title+" on Scribd",n("http://www.pinterest.com/pin/create/button/?"+$.param
({url:this.opts.url,media:this.opts.thumbnail_url,description:e})),"function"==t
ypeof(t=this.opts).click_fn?t.click_fn():void 0},e}()}).call(this),(Scribd.trans
lations=Scribd.translations||[]).push({en_US:{shared:{sharing_buttons:{read_docu
ment_short_title_on_scribd:"Read %{document_short_title} on Scribd",like:"Like",
facebook:"Facebook",twitter:"Twitter",pinterest:"Pinterest",linkedin:"LinkedIn",
email:"Email",embed:"Embed",i_just_uploaded_document_title_to_suffix:"I just upl
oaded %{document_title} to %{suffix}",i_m_listening_to_document_title_on_suffix:
"I\u2019m listening to %{document_title} on %{suffix}",i_m_reading_document_titl
e_on_suffix:"I\u2019m reading %{document_title} on %{suffix}",hi_there_document_
action_and_thought_you:"Hi there, %{document_action} and thought you might like
it. %{document_title} by %{document_author_or_publisher_name_or_login} %{doc_url
} Scribd gives you monthly access to books, audiobooks, and more - for less than
the cost of a paperback. Join today and %{trial_cta_downcase}. Find out more at
: http://www.scribd.com/",have_you_read_document_short_title_from_document_word_
user_name_or_login:'Have you read "%{document_short_title}" from %{document_word
_user_name_or_login}?'}}}});
/* app/views/shared/react/review_controls.coffee @ 1478902276 */
(function(){var t,e,n,i,r;i=React.DOM,n=i.div,t=i.a,r=i.span,(e=Scribd.R.compone
nt_builder("Shared.React.ReviewControls",{css_class:"review_controls",track_cate
gory:"review_controls"}))({getInitialState:function(){return{vote:this.props.vot
e||0,upvote_count:this.props.upvote_count||0}},render:function(){return[this.sta
rs(),this.upvote_count(),n({className:"bottom",children:[this.helpful_undo(),thi

s.vote_link(),n({children:[this.edit_review(),this.separator(),this.delete_revie
w(),this.permalink()]})]})]},stars:function(){return Scribd.R.Shared.React.StarR
atings(this.extend_props(this.props.rating_star_props))},upvote_count:function()
{return this.state.upvote_count>0?n({className:"upvote_count",children:[1===this
.state.upvote_count?I18n.t("shared.react.review_controls.1_person_found_this_hel
pful"):I18n.t("shared.react.review_controls.state_upvote_count_people_found_this
_helpful",{state_upvote_count:this.state.upvote_count})]}):void 0},helpful_undo:
function(){var e;if(this.state.vote)return e=function(){switch(this.state.vote){
case 1:return I18n.t("shared.react.review_controls.helpful");case-1:return I18n.
t("shared.react.review_controls.unhelpful")}}.call(this),n({children:[I18n.t("sh
ared.react.review_controls.you_found_this_helpful_label",{helpful_label:e}),t({c
lassName:"undo_vote_link",onClick:function(t){return function(){return t.vote(0)
}}(this)},I18n.t("shared.react.review_controls.undo"))]})},vote_link:function(){
return this.props.current_user||0!==this.state.vote?void 0:n({className:"vote",c
hildren:[I18n.t("shared.react.review_controls.is_this_review_helpful"),t({classN
ame:"vote_link",onClick:function(t){return function(){return t.vote(1)}}(this)},
I18n.t("shared.react.review_controls.yes")),t({className:"vote_link",onClick:fun
ction(t){return function(){return t.vote(-1)}}(this)},I18n.t("shared.react.revie
w_controls.no"))]})},edit_review:function(){return this.props.current_user?t({cl
assName:"edit_review","data-edit_lightbox_url":this.props.edit_lightbox_url,onCl
ick:function(t){return function(){return t.container().trigger("scribd:review_ed
it")}}(this)},I18n.t("shared.react.review_controls.edit_review")):void 0},delete
_review:function(){var e;if(this.props.current_user||this.props.admin)return e=I
18n.t(this.props.admin&&!this.props.current_user?"shared.react.review_controls.d
elete_review_admin":"shared.react.review_controls.delete_review"),t({className:"
delete_review",onClick:this.delete_lightbox},e)},separator:function(){return thi
s.props.current_user?r({className:"separator"}," \u2022 "):void 0},permalink:fun
ction(){return this.props.permalink_page?void 0:n({children:[t({className:"perma
link",href:this.props.review_url},I18n.t("shared.react.review_controls.permalink
"))]})},delete_lightbox:function(){var t;return t=this.state.upvote_count>0?1===
this.state.upvote_count?I18n.t("shared.react.review_controls.1_person_found_this
_review_helpful")+" ":I18n.t("shared.react.review_controls.state_upvote_count_pe
ople_found_this_review_helpful",{state_upvote_count:this.state.upvote_count})+"
":"",Scribd.Lightbox.open("confirm_lightbox",Scribd.ConfirmLightbox).set_confirm
_callback(this.delete_handler).set_template("delete_review",{title:I18n.t("share
d.react.review_controls.delete_this_review_and_rating"),content_line_one:t,conte
nt_line_two:I18n.t("shared.react.review_controls.are_you_sure_you_want_to")})},d
elete_handler:function(){return $.ajax({url:this.props.delete_url,method:"delete
",success:function(t){return function(e){return t.container().track_rats("rating
s:review:deleted",{word_document_id:t.props.doc_id,review_id:t.props.review_id})
,t.container().trigger("scribd:review_deleted",[e,t])}}(this),error:function(){r
eturn(new Scribd.Flasher).show("error",I18n.t("shared.react.review_controls.revi
ew_was_not_deleted_please_try"))}})},vote:function(t){return Scribd.with_login({
initial_view:"join_pmp",track_location:"rate_review",join_pmp_header_text:"Join
to leave feedback on review"},function(e){return function(){var n,i,r,o;return i
=e.state.vote,n=e.state.upvote_count,o=function(){switch(t){case 0:return this.p
rops.neutral_url;case 1:return this.props.upvote_url;case-1:return this.props.do
wnvote_url}}.call(e),r=0===t?n+-i:n+t,e.setState({vote:t,upvote_count:r}),$.ajax
(o,{method:"put",data:{user_vote:t},error:function(){return(new Scribd.Flasher).
show("error",I18n.t("shared.react.review_controls.your_vote_was_not_saved_please
")),e.setState({vote:i,upvote_count:n})}})}}(this))}})}).call(this),(Scribd.tran
slations=Scribd.translations||[]).push({en_US:{shared:{react:{review_controls:{y
ou_found_this_helpful_label:"You found this %{helpful_label}.",undo:"Undo",is_th
is_review_helpful:"Is this review helpful?",yes:"Yes",no:"No",edit_review:"Edit
review",permalink:"Permalink",delete_this_review_and_rating:"Delete this Review
and Rating?",are_you_sure_you_want_to:"Are you sure you want to delete this revi
ew and rating?",review_was_not_deleted_please_try:"Review was not deleted. Pleas
e try again.",your_vote_was_not_saved_please:"Your vote was not saved. Please tr
y again.","1_person_found_this_helpful":"1 person found this helpful",state_upvo
te_count_people_found_this_helpful:"%{state_upvote_count} people found this help

ful",helpful:"helpful",unhelpful:"unhelpful",delete_review_admin:"Delete review
(admin)",delete_review:"Delete review","1_person_found_this_review_helpful":"1 p
erson found this review helpful.",state_upvote_count_people_found_this_review_he
lpful:"%{state_upvote_count} people found this review helpful."}}}}});
/* app/views/shared/review_list.coffee @ 1478902276 */
(function(){Scribd.ReviewList=function(){function t(t,e){this.opts=null!=e?e:{},
this.container=$(t),this.container.dispatch("click",{review_author:function(t){r
eturn function(e){var n;return n=e.closest(".book_review_wrapper"),t.container.t
rack_rats("ratings:reviewer_profile:click",{word_user_id:n.data("word_user_id"),
word_document_id:n.data("word_document_id"),review_id:n.data("review_id")}),"con
tinue"}}(this)}),this.opts.truncate&&(Scribd.ReviewList.truncate(this.container)
,this.container.dispatch("click",{read_more:function(t){return t.closest(".revie
w_body").addClass("expanded"),"continue"}})),this.opts.edit_lightbox&&(this.cont
ainer.dispatch("click",{edit_review:function(){return function(t){return Scribd.
Lightbox.remote_open({id:"edit_review_lb",url:t.data("edit_lightbox_url"),method
:"GET"})}}(this)}),$(window).on("scribd:review_added:edit_review_lb",function(t)
{return function(e,n){return t.get_review(n.review_id).find(".review_body").html
(n.review_text),Scribd.Lightbox.close()}}(this)),$(window).on("scribd:review_can
cel:edit_review_lb",function(){return function(){return Scribd.Lightbox.close()}
}(this))),$(window).on("scribd:review_deleted",function(t){return $(t.target).cl
osest(".book_review_wrapper").remove()})}return t.prototype.get_review=function(
t){return this.container.find("[data-review_id="+t+"]")},t.truncate=function(t){
var e;return e=t.find(".review_body:not(.expanded):visible"),e.dotdotdot({after:
"a.read_more",callback:function(t){var e;return e=$(this).closest(".review_body"
),t?void 0:e.addClass("not_truncated")}})},t}()}).call(this),(Scribd.translation
s=Scribd.translations||[]).push({en_US:{shared:{review_list:{more:"more"}}}});
/* app/views/shared/app_download_promo/module.coffee @ 1478902276 */
(function(){var t,e,n,i,r,o,s,a,c,u;a=React.DOM,o=a.input,t=a.a,c=a.span,n=a.div
,r=a.h1,s=a.p,i=a.form,e=Scribd.R.component_builder("Shared.AppDownloadPromo.Mod
ule",{css_class:"autogen_class_views_shared_app_download_promo_module"}),u=React
.PropTypes,e({propTypes:{android_app_link:u.string.isRequired,app_download_link:
u.string.isRequired,close_promo_url:u.string.isRequired,doc_id:u.number,email_ad
dress:u.string,extra_classes:u.string,ios_app_link:u.string.isRequired,lightbox:
u.bool.isRequired,lightbox_id:u.string,promo_id:u.number,track_page:u.string,twi
lio_enabled:u.bool.isRequired},error:function(t){return null==this.errors&&(this
.errors={generic:I18n.t("shared.app_download_promo.module.an_error_occurred_plea
se_try_again"),input:I18n.t("shared.app_download_promo.module.please_enter_a_val
id_phone_number"),email:I18n.t("shared.app_download_promo.module.please_enter_a_
valid_email"),phone:I18n.t("shared.app_download_promo.module.please_enter_a_vali
d_phone_number_"),twilio:I18n.t("shared.app_download_promo.module.an_error_occur
red_please_try_an")}),this.props.twilio_enabled?this.errors[t]:"input"===t||"ema
il"===t||"phone"===t?this.errors.email:"twilio"===t?this.errors.generic:void 0},
re:{valid:{email:/^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i,phone:/^\+?\d{10,15
}$/},type:{email:/@/,phone:/^\+?[\d\-_\(\).]*\d[\d\-_\(\).]*$/},spaces:/\s/g,non
_digits:/[^\d+]/g},widget_css_classes:function(t){return t+" "+(this.props.extra
_classes||"")},getInitialState:function(){return{dismissed:!1,input_value:"",loa
ding:!1}},componentDidMount:function(){return this.props.lightbox||this.containe
r().one("inview",this.track_view),this.props.lightbox?void 0:_.defer(function(t)
{return function(){var e,n;return n=t.container().height(),e=t.container().find(
".content_inner"),e.css({top:n/2-e.height()/2})}}(this))},componentDidUpdate:fun
ction(){return this.container().toggleClass("dismissed",this.state.dismissed)},t
rack_view:function(t,e){return e?(this.track("view"),this.container().off("invie
w")):void 0},track:function(t,e,n){var i,r,o;return null==e&&(e={}),null==n&&(n=
null),r=this.props.doc_id?{doc_id:this.props.doc_id}:{},o=this.props.lightbox?{p
age:this.props.track_page}:{},i=_.extend(e,o,r),n||(n=this.props.lightbox?"light
box":"banner"),this.container().track_rats("download_app_promo:"+n+":"+t,i)},cli

ent_error:function(t){return this.flash(t,"error"),this.track("click",{item:"sen
d link",input_valid:!1,input_text:this.state.input_value})},response:function(t,
e){var n,i;return i=e.success?"success":"error",n=function(){switch(e.type){case
"phone":return"text_sent";case"email":return"email_sent";default:return"server_e
rror"}}(),this.flash(t,i),this.track(n,{success:e.success,input_text:this.state.
input_value},"response")},success:function(t){return this.flash(t,"success")},fl
ash:function(t,e){var n;return n=this.props.lightbox?new Scribd.Flasher($("#"+th
is.props.lightbox_id),{duration:5e3}):new Scribd.Flasher(null,{duration:5e3}),n.
show(e,t)},submit:function(){var t;if(!this.state.loading)return t=this.state.in
put_value.replace(this.re.spaces,""),this.props.twilio_enabled&&t.match(this.re.
type.phone)?(t=t.replace(this.re.non_digits,""),t.match(this.re.valid.phone)?thi
s.send(t):this.client_error(this.error("phone"))):t.match(this.re.type.email)?t.
match(this.re.valid.email)?this.send(t):this.client_error(this.error("email")):t
his.client_error(this.error("input"))},send:function(t){var e;return this.track(
"click",{item:"send link",input_valid:!0,input_text:this.state.input_value}),thi
s.setState({loading:!0}),e=$.post(this.props.app_download_link,{phone_or_email:t
}),e.done(function(t){return function(e){return e.success?t.response(I18n.t("sha
red.app_download_promo.module.link_sent_please_check_your_mobile"),e):t.response
(t.errors[e.error]||t.errors.generic,e),t.setState({loading:!1})}}(this)),e.fail
(function(t){return function(){return t.response(t.errors.generic,{success:!1,ty
pe:"server"}),t.setState({loading:!1})}}(this))},typing_email_address:function()
{return this.props.email_address?this.state.input_value.length&&0===this.props.e
mail_address.indexOf(this.state.input_value):!1},placeholder:function(){return I
18n.t(this.props.twilio_enabled?"shared.app_download_promo.module.enter_your_pho
ne_number_or_email":"shared.app_download_promo.module.enter_your_email")},render
:function(){return this.state.dismissed?[]:[c({className:"icon-close",onClick:fu
nction(t){return function(){return t.setState({dismissed:!0}),t.props.promo_id&&
$.post(t.props.close_promo_url,{id:t.props.promo_id}),t.track("click",{item:"clo
se banner"})}}(this)}),n({className:"content",children:[n({className:"content_in
ner",children:[n({className:"header",children:[r({},I18n.t("shared.app_download_
promo.module.read_anytime_everywhere_you_go")),s({children:[c({},I18n.t("shared.
app_download_promo.module.scribd_is_available_on_the")+" "),t({href:this.props.i
os_app_link,target:"_blank",onClick:function(t){return function(){return t.track
("click",{item:"app store"})}}(this)},I18n.t("shared.app_download_promo.module.a
pp_store")),c({}," "+I18n.t("shared.app_download_promo.module.and")+" "),t({href
:this.props.android_app_link,target:"_blank",onClick:function(t){return function
(){return t.track("click",{item:"google play store"})}}(this)},I18n.t("shared.ap
p_download_promo.module.google_play_store"))]})]}),n({className:"form",children:
[n({className:classNames({input_container:!0,suggesting:this.typing_email_addres
s()}),children:[this.typing_email_address()?o({className:"email_suggestion",plac
eholder:this.props.email_address,type:"text",value:""}):void 0,o({type:"text",pl
aceholder:this.placeholder(),className:"email_phone_input",value:this.state.inpu
t_value,onKeyDown:function(t){return function(e){var n;return t.typing_email_add
ress()&&("Tab"===e.key&&e.preventDefault(),"Tab"===(n=e.key)||"Enter"===n||"Arro
wRight"===n)?t.setState({input_value:t.props.email_address}):void 0}}(this),onKe
yUp:function(t){return function(e){return"Enter"===e.key?t.submit():void 0}}(thi
s),onChange:function(t){return function(e){return t.setState({input_value:e.curr
entTarget.value})}}(this)})]}),this.common_button({children:I18n.t("shared.app_d
ownload_promo.module.send_link"),className:classNames({send_link_btn:!0,loading:
this.state.loading}),disabled:this.state.loading,onClick:function(t){return func
tion(){return t.submit()}}(this)})]})]}),n({className:"devices"})]})]}})}).call(
this),(Scribd.translations=Scribd.translations||[]).push({en_US:{shared:{app_dow
nload_promo:{module:{an_error_occurred_please_try_again:"An error occurred pleas
e try again",please_enter_a_valid_phone_number:"Please enter a valid phone numbe
r or email",please_enter_a_valid_email:"Please enter a valid email",please_enter
_a_valid_phone_number_:"Please enter a valid phone number",an_error_occurred_ple
ase_try_an:"An error occurred please try an email",link_sent_please_check_your_m
obile:"Link sent! Please check your mobile device",read_anytime_everywhere_you_g
o:"Read anytime, everywhere you go",scribd_is_available_on_the:"Scribd is availa
ble on the",app_store:"App Store",and:"and",google_play_store:"Google Play Store

",send_link:"Send link",enter_your_phone_number_or_email:"Enter your phone numbe


r or email",enter_your_email:"Enter your email"}}}}});
/* app/views/book_preview/review.coffee @ 1478902274 */
(function(){Scribd.Review=function(){function t(t,e){this.opts=null!=e?e:{},this
.container=$(t),this.container.dispatch("click",{book_title:function(t){return S
cribd.BookPreview.open_lightbox(t.attr("href"))}}),$(window).on("scribd:review_d
eleted",function(t){return function(){return window.location=t.opts.book_preview
_url}}(this)),this.container.track_rats("ratings:review_permalink:view",{word_do
cument_id:this.opts.word_document_id,word_user_id:this.opts.word_user_id,review_
id:this.opts.review_id}),Scribd.RecommendationTracking.page_view_deferred(this.o
pts.compilation_id).done(function(t){return function(e){return t.tracking={compi
lation_id:t.opts.compilation_id,view_id:e},t.container.find(".document_carousel"
).trigger("scribd:setup_tracking",[t.tracking.view_id])}}(this))}return t}()}).c
all(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{book_previe
w:{review:{review_for:"Review for",read_more_reviews:"Read more reviews",more_re
views_by_review_word_user_name_or_login:"More reviews by %{review_word_user_name
_or_login}",related_titles:"Related titles"}}}});
/* app/views/book_preview/show.coffee @ 1478902274 */
(function(){var t,e=function(t,e){return function(){return t.apply(e,arguments)}
},n=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t
[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototy
pe,t},i={}.hasOwnProperty;t=Scribd.Promise,Scribd.BookPreview=function(){functio
n n(t,n){this.opts=n,this.launch_audio_player=e(this.launch_audio_player,this),t
his.container=$(t),this.main=this.container.find("> .main").first(),this.sidebar
=this.container.find("> .sidebar").first(),this.overview=this.main.find(".overvi
ew").first(),this.summary=this.main.find(".summary").first(),this.summary_tab=th
is.main.find(".summary_tab").first(),this.reviews_tab=this.main.find(".reviews_t
ab").first(),this.current_review_selector=".book_review_wrapper.current_user_rev
iew",this.load_more_reviews_page=1,this.setup_events(),this.setup_sharing(),this
.setup_lightbox(),this.setup_links(),this.setup_history(),this.setup_default_pag
e(),this.setup_cover(),this.opts.pingback_url&&Scribd.send_pingback(this.opts.pi
ngback_url),this.opts.params.credit_redeemed&&Scribd.CreditLightbox.load(this.op
ts.credit_lightbox_url,this.container,this.opts.params)}return n.loading=!1,n.op
ened=!1,n.review_form_refs=[],n.should_show_book_preview=function(t){return 0===
t.closest(".skip_book_preview").length},n.show_book_preview=function(t){var e;re
turn this.should_show_book_preview(t)?(_.defer(function(){return function(){retu
rn $(document.body).trigger("scribd:hide_hovercards")}}(this)),e=t.attr("href"),
e||(e="/book/"+t.closest("[data-object_id]").data("object_id")),this.open_lightb
ox(e),!0):!1},n.open_lightbox=function(t,e){var n;return null==e&&(e=!0),this.op
ened||(Scribd.BrowserHistory.begin(),this.opened=!0),Scribd.BookPreview.loading?
void 0:(Scribd.BookPreview.loading=!0,null!=Scribd.Lightbox.current_open?(n=Scri
bd.Lightbox.current_open.container,n.trigger("scribd:set_loading")):(n=$(".book_
preview_container").first(),Scribd.Lightbox.fade_in_overlay(.95,"#ddd",600)),$.a
jax({url:t+"/content?lightbox",type:"GET",dataType:"html",headers:{"Cache-Contro
l":"public,max-age=604800,stale-while-revalidate=86400,stale-if-error=86400","La
st-Modified":(new Date).toUTCString()},error:function(){return window.location=t
},success:function(i){var r;return n=$(i),n.addClass("lightbox"),Scribd.BookPrev
iew.loading=!1,Scribd.Lightbox.BookPreview.open_from_object(n.attr("id"),n),new
Scribd.Asyncable(n).load_widgets(),e?(r=n.data("push_state"),r.container=n.attr(
"id"),r.lightbox=n.is(".lightbox"),Scribd.BrowserHistory.push(t,r)):void 0}}))},
n.bind_links=function(t){var e;return this.referrer=t,e=$(document.body),e.on("c
lick",".book_link",function(t){return function(e){return t.show_book_preview($(e
.currentTarget))?(e.preventDefault(),$(document.body).track({category:"book_prev
iew",action:"referrer",label:t.referrer})):void 0}}(this)),e.on("scribd:should_s
kip_link_delay",".book_link",function(t){return function(e,n){return t.should_sh
ow_book_preview($(e.currentTarget))?n():void 0}}(this))},n.init=function(){retur

n $(window).on("popstate.book",function(t){return function(e){var n,i,r,o;return


o=null!=(r=e.originalEvent.state)?r:{},i=Scribd.Lightbox.current_open,o.lightbo
x?(n=o.container,null!=document.getElementById(n)?(Scribd.Lightbox.BookPreview.o
pen(n),Scribd.BookPreview.loading=!1):t.open_lightbox(o.url,!1)):(null!=i?i.cont
ainer.is("[class*=book_preview]"):void 0)?(Scribd.Lightbox.close(),Scribd.BookPr
eview.loading=!1):void 0}}(this))},n.prototype.setup_cover=function(){var t;retu
rn t=this.container.find(".start_reading_btn"),t.attr("href")?this.container.fin
d(".start_reading_cover").addClass("clickable"):void 0},n.prototype.setup_events
=function(){var e,n;return this.container.on("scribd:credit_redeemed",function(t
){return function(){var e;return e=I18n.t(t.container.is(".audiobook")?"book_pre
view.show.start_listening":"book_preview.show.start_reading"),t.container.find("
.preview_btn").text(e),t.container.find(".header .flag").remove(),t.container.is
(".audiobook")?t.launch_audio_player(t.opts.audiobook_player_url):void 0}}(this)
),e=function(){var t,e;return t=$(this),e=t.data("color")||t.css("color"),t.data
("color",e),t.css("background-color",e),t.css("color","#ffffff")},n=function(){v
ar t,e;return t=$(this),e=t.data("color"),t.css("background-color","#ffffff"),t.
css("color",e)},this.container.find(".categories .category_btn").hover(e,n),this
.container.on("scribd:review_added",function(t){return function(e,n){var i,r,o;r
eturn o=t.reviews.find(".review_list"),i=t.all_reviews.find(".review_list"),r=i.
find(t.current_review_selector),t.first_to_review.hide(),t.post_message.show(),i
.length&&(r.length&&r.remove(),$(n.preview_1).find(".book_review_wrapper, script
").prependTo(i)),o.length?$(n.preview_2).find(".book_review_wrapper, script").pr
ependTo(o):$(n.preview_2).appendTo(t.reviews)}}(this)),this.container.on("scribd
:review_deleted",function(t){return function(e,n){var i;return i=!!$(e.target).c
losest(".all_reviews").length,t.container.find("[data-review_id="+n.review_id+"]
").remove(),t.reviews.find(".review_list:empty").remove(),t.show_first_to_review
(),t.post_message.hide(),t.goto_page("reviews",i)}}(this)),this.container.on("sc
ribd:review_cancel",function(t){return function(){return t.container.find(t.curr
ent_review_selector).show(),t.show_first_to_review(),t.post_message.hide()}}(thi
s)),this.container.on("scribd:review_edit",function(t){return function(e){var n;
return n=!!$(e.target).closest(".all_reviews").length,t.container.find(t.current
_review_selector).hide(),t.show_first_to_review(),t.post_message.hide(),t.goto_p
age("reviews",n)}}(this)),this.async_reviews_promise=new t,this.async_button_loa
ding=new t,$(document).on("scribd:asyncable:response",function(t){return functio
n(e,n){var i,r,o;return(n.bookpreview_reviews||n.bookpreview_all_reviews)&&(t.al
l_reviews=t.main.find(".all_reviews").first(),t.reviews=t.main.find(".reviews").
first(),t.first_to_review=t.reviews.find(".first_to_review").first(),t.post_mess
age=t.reviews.find(".post_message").first(),t.show_first_to_review(),t.setup_def
ault_page(),t.async_reviews_promise.resolve()),n.bookpreview_actions&&t.async_bu
tton_loading.resolve(),n.bookpreview_seriesrecommender&&(r=t.container.find(".ct
a"),(i=r.data("see_titles_in_series_template"))&&r.html(i)),(o=n.bookpreview_rec
ommenders)&&(o=$(o),0===o.data("rec_count"))?t.async_button_loading.then(functio
n(){return t.container.find(".see_similar_btn").hide(),t.container.find(".go_to_
browse_btn").removeClass("hidden")}):void 0}}(this)),this.async_reviews_promise.
done(function(t){return function(){return t.show_first_to_review()}}(this)),$(wi
ndow).resize(_.debounce(function(t){return function(){return t.container.find(".
document_carousel").trigger("scribd:reshape_carousel")}}(this))),this.container.
dispatch("click",{tab:function(t){return function(e,n){return n.preventDefault()
,e.is(".current")?void 0:t.goto_page(e.attr("href"))}}(this),all_reviews_back_bt
n:function(t){return function(){return document.referrer.match(/scribd/i)?Scribd
.BrowserHistory.pop():t.goto_page("reviews")}}(this),read_all_reviews_btn:functi
on(t){return function(){return t.goto_page("all-reviews"),t.scroll_to(0)}}(this)
,load_more_reviews_btn:function(t){return function(e){return e.addClass("loading
").prop("disabled",!0),t.load_more_reviews(function(n){return e.removeClass("loa
ding").prop("disabled",!1),e.toggle(n>=t.opts.reviews_per_page)})}}(this),start_
trial_btn:function(t){return function(e){return e.hasClass("free_with_trial_btn"
)?e.track_rats("subscribe:start_free_trial:click",{doc_id:t.opts.document.id}):e
.hasClass("renew_membership_btn")?e.track_rats("subscribe:renew_membership:click
",{doc_id:t.opts.document.id}):e.hasClass("resume_membership_btn")&&e.track_rats
("subscribe:resume_membership:click",{doc_id:t.opts.document.id}),Scribd.logged_

in?"continue":Scribd.SignIn.open({initial_view:"join_pmp",next_url:e.attr("href"
),track_location:"book_page_start_trial"})}}(this),request_title_btn:function(t)
{return function(){return Scribd.with_login({track_location:"book_preview_reques
t_location"},function(){return $.post("/book-preview/"+t.opts.document.id+"/crea
te-request",function(){var e;return e=t.container.find(".request_title_btn"),e.p
rop("disabled",!0).text(I18n.t("book_preview.show.title_requested"))})})}}(this)
,see_similar_btn:function(t){return function(){return t.scroll_to(t.element_offs
et(".recommenders.box"))}}(this),read_more:function(t,e){return e.preventDefault
(),t.parents(".book_review").removeClass("truncated_review"),t.parents(".review_
body").trigger("destroy.dot")},start_reading_cover:function(t){return function()
{var e;return e=t.container.find(".start_reading_btn"),e.length?t.container.is("
.audiobook")?t.launch_audio_player(t.opts.audiobook_player_url):window.location=
e.attr("href"):void 0}}(this),start_reading_btn:function(t){return function(e){r
eturn e.hasClass("start_for_free_btn")?e.track_rats("bookpage:start_for_free:cli
ck",{doc_id:t.opts.document.id}):e.hasClass("continue_preview_btn")?e.track_rats
("bookpage:continue_preview:click",{doc_id:t.opts.document.id}):e.hasClass("star
t_listening_btn")?e.track_rats("bookpage:start_listening:click",{doc_id:t.opts.d
ocument.id}):e.hasClass("continue_listening_btn")?e.track_rats("bookpage:continu
e_listening:click",{doc_id:t.opts.document.id}):e.hasClass("start_reading_btn")?
e.track_rats("bookpage:start_reading:click",{doc_id:t.opts.document.id}):e.hasCl
ass("continue_reading_btn")&&e.track_rats("bookpage:continue_reading:click",{doc
_id:t.opts.document.id}),t.container.is(".audiobook")?t.launch_audio_player(t.op
ts.audiobook_player_url):"continue"}}(this),see_titles_in_series_btn:function(t)
{return function(){return t.container.find(".series.block").length?(t.goto_page(
""),t.scroll_to(t.element_offset(".series.block"))):void 0}}(this),expand_toc_bt
n:function(t){return t.parents(".table_of_contents").removeClass("truncated"),t.
remove()},book_link:function(){return"continue"},close:function(t){return functi
on(){return t.prevent_navigation()?void 0:Scribd.BrowserHistory.restore()}}(this
)})},n.prototype.show_first_to_review=function(){var t;return 0===this.reviews.f
ind(".review_list").length&&0===(null!=(t=this.reviews.find(".review_body").val(
))?t.length:void 0)?this.first_to_review.show():void 0},n.prototype.setup_sharin
g=function(){var t,e;return e=this.container.find(".sharing_buttons"),t=e.data("
sharing_opts"),new Scribd.SharingButtons(e,t)},n.prototype.setup_lightbox=functi
on(){return this.container.on("scribd:set_loading",function(t){return function()
{return t.container.addClass("loading"),_.defer(function(){return t.container.ad
dClass("fade_in_loader")})}}(this)),this.container.is(".lightbox")?(this.contain
er.click(function(t){return function(e){if($(e.target).is(".lightbox")){if(t.pre
vent_navigation())return;return Scribd.Lightbox.close(),Scribd.BrowserHistory.re
store()}}}(this)),this.container.on("Scribd:lightbox:closed",function(t){return
function(){var e;return null!=(e=Scribd.R.Shared.React.LibraryButton.preview_pla
yers[t.opts.document.id])?e.pause():void 0}}(this)),$(window).off("scroll.book")
.on("scroll.book",_.throttle(function(){var t,e;return null!=(t=Scribd.hovercard
s.current_cell)&&null!=(e=t.data("hovercard"))?e.position():void 0})),this.scrol
l_to(0)):void 0},n.prototype.setup_links=function(){var t;return t=this.opts.doc
ument,this.container.find(".sidebar h3 a, .carousel_title a").each(function(){va
r e;return e=$(this).attr("href"),e.indexOf("book/"+t.id)>=0?$(this).contents().
unwrap():e.indexOf("book/")>=0?$(this).addClass("book_link"):void 0})},n.prototy
pe.setup_history=function(){return $(window).on("popstate.book",function(t){retu
rn function(e){var n,i;return i=e.originalEvent.state,i||null!=Scribd.Lightbox.c
urrent_open||t.container.is(".lightbox")?(null!=i&&null!=(n=i.document)?n.id:voi
d 0)===t.opts.document.id?t.goto_page(i.page,!1):void 0:t.goto_page(t.opts.defau
lt_page,!1)}}(this))},n.prototype.setup_default_page=function(){return(null==thi
s.opts.default_page||"show"===this.opts.default_page)&&(this.opts.default_page="
"),this.opts.default_page=this.opts.default_page.replace("_","-"),this.goto_page
(this.opts.default_page,!1)},n.prototype.load_more_reviews=function(t){var e;if(
!this.load_more_reviews.loading)return this.load_more_reviews.loading=!0,this.lo
ad_more_reviews_page++,e=this.opts.reviews_url.join("")+"?"+$.param({page:this.l
oad_more_reviews_page}),$.getJSON(e,function(e){return function(n){return e.all_
reviews.children().last().before(n.reviews),e.load_more_reviews.loading=!1,"func
tion"==typeof t?t(n.num_results):void 0}}(this))},n.prototype.launch_audio_playe

r=function(t){var e;return null!=(e=Scribd.R.Shared.React.LibraryButton.preview_


players[this.opts.document.id])&&e.pause(),Scribd.with_login(function(){return f
unction(){return Scribd.Audiobooks.open_popup(t)}}(this))},n.prototype.scroll_to
=function(t){return this.container.is(".lightbox")?$("#lightboxes").animate({scr
ollTop:t}):$("html, body").animate({scrollTop:t})},n.prototype.element_offset=fu
nction(t){return this.container.is(".lightbox")?this.container.find(t).position(
).top:this.container.find(t).offset().top-$("#global_header").outerHeight()},n.p
rototype.prevent_navigation=function(){var t;return t=Scribd.BookPreview.review_
form_refs[Scribd.BookPreview.review_form_refs.length-1],(null!=t?t.dirty_state()
:void 0)?confirm(t.before_unload_text())?(Scribd.BookPreview.review_form_refs.po
p(),t.state.review_id||t.track("abandoned"),!1):!0:void 0},n.prototype.goto_page
=function(t,e){var n,i,r;return null==e&&(e=!0),this.prevent_navigation()?void 0
:(i=location.pathname.split("/").slice(0,4).join("/"),n=[i],t&&n.push(t),e&&(r={
document:this.opts.document,page:t,container:this.container.attr("id"),lightbox:
this.container.is(".lightbox")},Scribd.BrowserHistory.push(n.join("/"),r)),this.
async_reviews_promise.done(function(e){return function(){switch(t){case"all-revi
ews":return e.all_reviews.show(),e.overview.hide(),new Scribd.ReviewList.truncat
e(e.all_reviews);case"reviews":return e.overview.show(),e.reviews.show(),e.all_r
eviews.hide(),e.summary.hide(),e.summary_tab.removeClass("current"),e.reviews_ta
b.addClass("current"),e.active_tab=e.reviews,e.other_tab=e.summary,new Scribd.Re
viewList.truncate(e.reviews);default:return e.overview.show(),e.summary.show(),e
.all_reviews.hide(),e.reviews.hide(),e.summary_tab.addClass("current"),e.reviews
_tab.removeClass("current"),e.active_tab=e.summary,e.other_tab=e.reviews}}}(this
)))},n}(),Scribd.Lightbox.BookPreview=function(t){function i(){this.transition=e
(this.transition,this),i.__super__.constructor.apply(this,arguments),_.defer(fun
ction(){return $(".book_preview_container").first().removeClass("loading fade_in
_loader")})}return n(i,t),i.prototype.show=function(){return this.container.remo
veClass("loading fade_in_loader"),i.__super__.show.apply(this,arguments)},i.prot
otype.show_responsive=function(){return!0},i.prototype.set_position=function(){}
,i.prototype.transition=function(t,e){return this.container.appendTo(this.contai
ner.parent()),this.container.hide().fadeIn(function(){return null!=t&&t.hide(),"
function"==typeof e?e():void 0})},i}(Scribd.Lightbox),Scribd.BookPreview.init()}
).call(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{book_pre
view:{show:{advanced:"Advanced",beginner:"Beginner",intermediate:"Intermediate",
mixed:"Mixed",summary:"Summary",reviews:"Reviews",instruments:"Instruments",diff
iculty:"Difficulty",difficulty_instrument:"Difficulty & Instrument",editor_s_not
e:"Editor\u2019s Note",scribd_editor:"Scribd Editor",topics:"Topics:",published:
"Published:",an_imprint_of:"an imprint of",on:"on",characters_characters_size:"C
haracters (%{characters_size})",contributors_contributors_size:"Contributors (%{
contributors_size})",collections:"Collections",see_more:"See more",read_title_by
_author_for_free:"Read %{title} by %{author} for free with a 30 day free trial.
Read eBook on the web, iPad, iPhone and Android",table_of_contents:"Table of Con
tents",load_more:"Load more",audiobook_series:"Audiobook Series",audiobook:"Audi
obook",comic_series:"Comic Series",comic:"Comic",sheet_music_series:"Sheet Music
Series",sheet_music:"Sheet Music",book_series:"Book Series",book:"Book",start_l
istening:"Start listening",start_reading:"Start reading",title_requested:"Title
requested"}}}});
/* app/views/chrome/_branding.coffee @ 1478902275 */
(function(){Scribd.init_branding=function(t){return $(t).dispatch("click",{get_s
tarted_btn:function(){return Scribd.with_named_current_user(function(){return Sc
ribd.named_current_user()?window.location="/upload-document":Scribd.SignIn.open(
{initial_view:"join_pmp"})})}})}}).call(this),(Scribd.translations=Scribd.transl
ations||[]).push({en_US:{chrome:{branding:{the_world_rsquo_s_largest_online_libr
ary_nbsp_nbsp_read_publish:"The World&rsquo;s Largest Online Library.&nbsp;&nbsp
;Read, Publish, and Share Documents and Written Works.",get_started:"Get Started
",sign_in_to_get_started:"Sign In To Get Started"}}}});

/* app/views/chrome/footer.coffee @ 1478902275 */
(function(){Scribd.Footer=function(){function t(t){this.container=$(t),this.cont
ainer.one("inview",function(){return function(){return $(document.body).track_ra
ts("footer:show")}}(this))}return t}()}).call(this),(Scribd.translations=Scribd.
translations||[]).push({en_US:{chrome:{footer:{about:"About",about_scribd:"About
Scribd",meet_the_team:"Meet the team",our_blog:"Our blog",join_our_team:"Join o
ur team!",contact_us:"Contact Us",support:"Support",help:"Help",faq:"FAQ",access
ibility:"Accessibility",press:"Press",partners:"Partners",publishers:"Publishers
",developers_api:"Developers / API",legal:"Legal",terms:"Terms",privacy:"Privacy
",copyright:"Copyright",memberships:"Memberships",browse_books:"Browse books",si
te_directory:"Site directory",purchase_help:"Purchase help",adchoices:"AdChoices
",join_today:"Join today",invite_friends:"Invite Friends",gifts:"Gifts",stay_con
nected:"Stay Connected",scribd_on_appstore:"Scribd on Appstore",scribd_on_google
_play:"Scribd on Google Play"}}}});
/* app/views/chrome/header.coffee @ 1478902275 */
(function(){var t,e=function(t,e){return function(){return t.apply(e,arguments)}
};t=function(){function t(n){this._clear_enter_timeout=e(this._clear_enter_timeo
ut,this),this._clear_fade_timeout=e(this._clear_fade_timeout,this),this._clear_l
eave_timeout=e(this._clear_leave_timeout,this),this.opts=$.extend({},this.defaul
t_opts,n),this.open=!1,t.disable_hide="true"===Scribd.parse_parameters(window.lo
cation.search).disable_hover_hide}return t.prototype.default_opts={timeout:1e3,e
nter_timeout:150,fade_timeout:400,show:function(){},hide:function(){},after_fade
:function(){}},t.prototype.enter=function(){return this.enter_timeout?void 0:(th
is._clear_leave_timeout(),this._clear_fade_timeout(),this.enter_timeout=window.s
etTimeout(function(t){return function(){var e;return delete t.enter_timeout,t.op
en||"function"==typeof(e=t.opts).show&&e.show(),t.open=!0}}(this),this.opts.ente
r_timeout))},t.prototype.leave=function(){return this.leave_timeout?void 0:(this
._clear_enter_timeout(),this.leave_timeout=window.setTimeout(function(t){return
function(){return delete t.leave_timeout,t.hide()}}(this),this.opts.timeout))},t
.prototype.hide=function(){var e;if(!t.disable_hide)return this._clear_enter_tim
eout(),this._clear_leave_timeout(),this.open&&"function"==typeof(e=this.opts).hi
de&&e.hide(),this.open=!1,this.hiding=!0,this.fade_timeout=window.setTimeout(fun
ction(t){return function(){var e;return"function"==typeof(e=t.opts).after_fade&&
e.after_fade(),t.hiding=!1}}(this),this.opts.fade_timeout)},t.prototype.show=fun
ction(){var t;return"function"==typeof(t=this.opts).show?t.show():void 0},t.prot
otype._clear_leave_timeout=function(){return this.leave_timeout?(window.clearTim
eout(this.leave_timeout),delete this.leave_timeout):void 0},t.prototype._clear_f
ade_timeout=function(){return this.fade_timeout?(window.clearTimeout(this.fade_t
imeout),delete this.fade_timeout):void 0},t.prototype._clear_enter_timeout=funct
ion(){return this.enter_timeout?(window.clearTimeout(this.enter_timeout),delete
this.enter_timeout):void 0},t}(),Scribd.HoverManager=t,Scribd.Header=function(){
function e(t,e){this.opts=null!=e?e:{},Scribd.header=this,this.container=$(t),th
is.container.data("instance",this),this.container.find("input[data-default_text]
").placeholder_text(),this.setup_scrolling(),this.setup_hover_menus(),Scribd.log
ged_in&&this.container.addClass("logged_in"),this.container.dispatch("click",{jo
in_btn:function(){return function(){return Scribd.SignIn.open({initial_view:"joi
n",track_location:"header"})}}(this),sign_in_btn:function(){return function(){re
turn Scribd.SignIn.open({initial_view:"login",track_location:"header"})}}(this),
header_logo:function(t){return function(){return t.container.track_rats("top_nav
:scribd:click"),"continue"}}(this),interest_btn:function(t){return function(e){r
eturn t.container.track_rats("top_nav:interest:click",{interest:e.data("interest
_name"),loc:"browse_menu"}),"continue"}}(this),content_type_btn:function(t){retu
rn function(e){return t.container.track_rats("top_nav:"+e.data("content_type")+"
:click",{loc:e.data("loc")}),"continue"}}(this),explore_btn:function(t){return f
unction(e){return t.container.track_rats("top_nav:browse:click",{loc:e.data("loc
")}),"continue"}}(this),upload_btn:function(t){return function(){return t.contai
ner.track_rats("top_nav:upload:click",{loc:"nav_bar"}),"continue"}}(this),my_lib
rary_btn:function(t){return function(){return t.container.track_rats("top_nav:li

brary:click",{loc:"nav_bar"}),"continue"}}(this),profile_btn:function(t){return
function(){return t.container.track_rats("top_nav:profile:click",{loc:"user_menu
"}),"continue"}}(this),uploads_btn:function(t){return function(){return t.contai
ner.track_rats("top_nav:uploads:click",{loc:"user_menu"}),"continue"}}(this),sta
ts_btn:function(t){return function(){return t.container.track_rats("top_nav:stat
s:click",{loc:"user_menu"}),"continue"}}(this),account_btn:function(t){return fu
nction(){return t.container.track_rats("top_nav:account_settings:click",{loc:"us
er_menu"}),"continue"}}(this),invite_friends_btn:function(t){return function(){r
eturn t.container.track_rats("top_nav:invite_friends:click",{loc:"user_menu"}),"
continue"}}(this),help_btn:function(t){return function(){return t.container.trac
k_rats("top_nav:help:click",{loc:"user_menu"}),"continue"}}(this),sign_out_btn:f
unction(t){return function(){return t.container.track_rats("top_nav:sign_out:cli
ck",{loc:"user_menu"}),"continue"}}(this)})}return e.prototype.setup_hover_menus
=function(){var e,n,i,r,o,s,a,c;return c=this.container.find(".user_util"),a=thi
s.container.find(".user_menu"),o=function(t){return function(){return t.containe
r.track_rats("top_nav:user_menu:hover")}}(this),s=new t({show:function(){return
o(),a.fadeIn(this.fade_timeout)},hide:function(){return a.fadeOut(this.fade_time
out)},timeout:500,enter_timeout:100,fade_timeout:100}),c.hover(function(){return
s.enter()},function(){return s.leave()}),$(document).on("scribd:close_hover_men
us",function(){return s.hide()}),e=this.container.find(".browse_all_container"),
n=this.container.find(".browse_all_btn"),r=this.container.find(".browse_all_menu
"),i=new t({show:function(t){return function(){return t.container.track_rats("to
p_nav:browse_menu:hover"),r.fadeIn(150),t.show_overlay()}}(this),hide:function(t
){return function(){return r.fadeOut(150),t.hide_overlay()}}(this)}),e.hover(fun
ction(){return i.enter()},function(){return i.leave()}),$(document).on("scribd:d
ismiss_overlay",function(){return i.hide()})},e.prototype.setup_scrolling=functi
on(){return this.container.stick_in_parent({parent:"body",bottoming:!1})},e.prot
otype.show_overlay=function(){return this.hide_overlay_timeout&&(window.clearTim
eout(this.hide_overlay_timeout),delete this.hide_overlay_timeout),$(document.bod
y).trigger("scribd:close_hover_menus"),this.overlay().show(),$("body").addClass(
"header_overlay_open"),_.defer(function(t){return function(){var e;if(!t.hide_ov
erlay_timeout)return e=.75,t.overlay().css({filter:"alpha(opacity="+100*e+")",op
acity:e})}}(this))},e.prototype.hide_overlay=function(){return this.hide_overlay
_timeout?void 0:(this.overlay().css({filter:"alpha(opacity=0)",opacity:"0"}),thi
s.hide_overlay_timeout=window.setTimeout(function(t){return function(){return t.
overlay().hide(),$("body").removeClass("header_overlay_open"),delete t.hide_over
lay_timeout}}(this),500))},e.prototype.overlay=function(){return this._overlay||
(this._overlay=$('<div id="browse_menu_overlay"></div>').hide().appendTo("body")
.on("click",function(t){return function(){return t._overlay.trigger("scribd:dism
iss_overlay")}}(this))),this._overlay},e}()}).call(this),(Scribd.translations=Sc
ribd.translations||[]).push({en_US:{chrome:{header:{upload:"Upload",library:"Lib
rary",sheet_music:"Sheet Music",sign_in:"Sign in",join:"Join",browse:"Browse",in
terests:"Interests",browse_by:"Browse by",books:"Books",audiobooks:"Audiobooks",
articles:"Articles",comics:"Comics",browse_all:"Browse all"}}}});
/* app/views/chrome/_language_selector.coffee @ 1478902275 */
(function(){Scribd.LanguageSelector=function(){function t(t){var e;this.containe
r=t,this.container=$(this.container),this.current_language=this.languages[I18n.l
ocale],this.current_language||(this.current_language=this.languages.en_US),this.
container.find(".language a").text(this.current_language.name).end().find(".lang
uage_selector [data-id="+this.current_language.lcid+"]").addClass("active"),e=th
is.container.find(".language_selector").find("a").querystring({anchor:$.param.fr
agment()}).end()}return t.prototype.current_language=null,t.prototype.languages=
{en_US:{id:1,name:"English",display_order:1,guess_name:"english",iso_639_1:"en",
iso_639_2:"eng",lcid:"en",i18n_locale:"en_US",prefix:"www",available:!0,show_sub
domain:!0},zh_CN:{id:6,name:"\u4e2d\u6587",display_order:2,guess_name:"chinese",
iso_639_1:"zh",iso_639_2:"chi",lcid:"zh",i18n_locale:"zh_CN",prefix:"zh",availab
le:!0,show_subdomain:!0},"es-419":{id:4,name:"espa\xf1ol",display_order:4,guess_
name:"spanish",iso_639_1:"es",iso_639_2:"spa",lcid:"es",i18n_locale:"es-419",pre

fix:"es",available:!0,show_subdomain:!0},ar_AR:{id:11,name:"\u0627\u0644\u0639\u
0631\u0628\u064a\u0629",display_order:5,guess_name:"arabic",iso_639_1:"ar",iso_6
39_2:"ara",lcid:"ar",i18n_locale:"ar_AR",prefix:"ar",available:!0,show_subdomain
:!0},pt_BR:{id:13,name:"portugu\xeas",display_order:6,guess_name:"portuguese",is
o_639_1:"pt",iso_639_2:"por",lcid:"pt-br",i18n_locale:"pt_BR",prefix:"pt",availa
ble:!0,show_subdomain:!0},ja_JP:{id:3,name:"\u65e5\u672c\u8a9e",display_order:7,
guess_name:"japanese",iso_639_1:"ja",iso_639_2:"jpn",lcid:"ja",i18n_locale:"ja_J
P",prefix:"ja",available:!0,show_subdomain:!0},de_DE:{id:9,name:"Deutsch",displa
y_order:8,guess_name:"german",iso_639_1:"de",iso_639_2:"ger",lcid:"de",i18n_loca
le:"de_DE",prefix:"de",available:!0,show_subdomain:!0},fr_FR:{id:5,name:"fran\xe
7ais",display_order:9,guess_name:"french",iso_639_1:"fr",iso_639_2:"fre",lcid:"f
r",i18n_locale:"fr_FR",prefix:"fr",available:!0,show_subdomain:!0},tr_TR:{id:78,
name:"Turkce",display_order:11,guess_name:"turkish",iso_639_1:"tr",iso_639_2:"tu
r",lcid:"tr",i18n_locale:"tr_TR",prefix:"tr",available:!0,show_subdomain:!0},ru_
RU:{id:14,name:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u0
43a",display_order:13,guess_name:"russian",iso_639_1:"ru",iso_639_2:"rus",lcid:"
ru",i18n_locale:"ru_RU",prefix:"ru",available:!0,show_subdomain:!0},vi_VN:{id:10
3,name:"Ti\u1ebfng Vi\u1ec7t",display_order:13,guess_name:"vietnamese",iso_639_1
:"vi",iso_639_2:"vie",lcid:"vi",i18n_locale:"vi_VN",prefix:"vi",available:!0,sho
w_subdomain:!0},pl_PL:{id:89,name:"j\u0119zyk polski",display_order:18,guess_nam
e:"polish",iso_639_1:"pl",iso_639_2:"pol",lcid:"pl",i18n_locale:"pl_PL",prefix:"
pl",available:!0,show_subdomain:!0},id_ID:{id:84,name:"Bahasa Indonesia",display
_order:25,guess_name:"indonesian",iso_639_1:"id",iso_639_2:"ind",lcid:"id",i18n_
locale:"id_ID",prefix:"id",available:!0,show_subdomain:!0}},t}()}).call(this);
/* app/views/chrome/login/_facebook_login_button.coffee @ 1478902275 */
(function(){Scribd.FacebookLoginButton=function(){function t(t){this.container=$
(t),this.container.data("created",!0),this.form=this.container.find("form"),this
.button=this.container.find(".flat_btn"),this.container.click(function(t){return
function(){return t.container.trigger("scribd:facebook_login"),t.button.addClas
s("loading").prop("disabled",!0),Scribd.facebook.login(function(e){return t.on_l
ogin(e)})}}(this))}return t.prototype.parse_cookie=function(){var t,e,n,i,r,o;re
turn e=document.cookie,(n=e.match(/(fbs_[a-f0-9]*)\s*=\s*([^;]+)/))?(t=n[0],i=n[
1],o=n[2],o=(null!=(r=o.match(/^"(.*)"$/))?r[1]:void 0)||o,{fbs_cookie:o,fbs_coo
kie_name:i}):{fbs_cookie:"none"}},t.prototype.on_login=function(t){var e,n,i,r;i
f(this.button.removeClass("loading").prop("disabled",!1),null!=t?t.authResponse:
void 0){n=this.parse_cookie();for(e in n)r=n[e],this.add_hidden(e,r);i=t.authRes
ponse;for(e in i)r=i[e],this.add_hidden("facebook_session["+e+"]",r);return this
.container.data("remote")?this.submit_remotely():this.form.submit()}},t.prototyp
e.submit_remotely=function(){var t,e;return t=this.form.serialize(),e=this.form.
attr("action"),$.ajax({url:e,type:"post",dataType:"json",data:t,success:function
(t){return function(e){return e.success?t.container.trigger("Scribd:Facebook:log
in_success",[e]):t.container.find(".fb_fail_message").show()}}(this),complete:fu
nction(t){return function(n){return"/facebook_link"===e?t.container.trigger("Scr
ibd:Facebook:login_success",[n]):void 0}}(this)})},t.prototype.add_hidden=functi
on(t,e){return this.fields||(this.fields=this.form.find(".session_fields")),$('<
input type="hidden" />').attr("name",t).attr("value",e).appendTo(this.fields)},t
}()}).call(this),(Scribd.translations=Scribd.translations||[]).push({en_US:{chro
me:{login:{_facebook_login_button:{sorry_we_are_unable_to_log:"Sorry, we are una
ble to log you in via Facebook at this time. Please try again later."},facebook_
login_button:{sign_in_with_facebook:"Sign in with Facebook"}}}}});
/* app/views/chrome/_renewal_nag.coffee @ 1478902275 */
(function(){Scribd.RenewalNag=function(){function t(t,e){this.opts=null!=e?e:{},
this.container=$(t),this.button=this.container.find(".renew_btn"),this.container
.track_rats("dunning:nag_banner:view",{page:"home_logged_in",value:this.opts.dun
ning_track_value}),this.container.dispatch("click",{renew_btn:function(t){return
function(){return t.container.track_rats("dunning:nag_banner:click",{item:"cont

inue_btn",page:"home_logged_in",value:t.opts.dunning_track_value}),"continue"}}(
this)}),"paused"===this.opts.renewal_nag&&this.update_redirect_url(),this.opts.u
se_ajax&&this.button.click(function(t){return function(e){return t.ajax_submit(e
)}}(this))}return t.prototype.update_redirect_url=function(){var t,e,n,i;return(
e=this.button.attr("href"))?(i=e.split("?"),e=i[0],n=i[1],t=$.deparam(n),t.from=
location.href,this.button.attr("href",[e,$.param(t)].join("?"))):void 0},t.proto
type.ajax_submit=function(t){var e;return t.preventDefault(),e=this.button.attr(
"href"),$.getJSON(e).fail(function(){return window.location=e}).done(function(t)
{return function(e){return t.container.text(e.message),t.container.addClass("suc
cess")}}(this))},t}()}).call(this),(Scribd.translations=Scribd.translations||[])
.push({en_US:{chrome:{renewal_nag:{your_paypal_information_is_invalid:"Your Payp
al information is invalid.",click_here_to_update_it:"Click here to update it",yo
ur_credit_card_information_is_invalid:"Your credit card information is invalid."
,you_cancelled_your_free_trial:"You cancelled your free trial.",click_here_to_re
sume_it:"Click here to resume it",your_scribd_membership_was_canceled:"Your Scri
bd membership was canceled.",click_here_to_renew_it:"Click here to renew it",res
ume_membership:"Resume membership",your_scribd_membership_has_expired:"Your Scri
bd membership has expired.",your_scribd_gift_membership_has_ended:"Your Scribd g
ift membership has ended.",click_here_to_become_a_member:"Click here to become a
member",your_free_trial_has_ended:"Your free trial has ended.",become_a_member:
"Become a Member",your_membership_is_paused_until_paused_until_date:"Your member
ship is paused until %{paused_until_date}.",there_are_trial_days_remaining_days_
left_in:"There are %{trial_days_remaining} days left in your free trial.",there_
is_1_day_left_in:"There is 1 day left in your free trial.",become_a_member_today
_and_your:"Become a member today and your first month is on us.",become_a_member
_today_and_your_:"Become a member today and your first week is on us.",become_a_
member_today_and_keep:"Become a member today and keep reading without interrupti
on.",your_credit_card_information_is_invalid_:"Your credit card information is i
nvalid. Update and receive a free month on us!",redeem_30_days_free:"Redeem 30 D
ays Free"}}}});
/* :class_inlines, 'spec_javascripts/js_spec', ... @ (none) */

Das könnte Ihnen auch gefallen