/**handles:civilization-scripts**/ "use strict";!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.balanceText=e()}(this,function(){var x,r,a,n={sel:[],el:[]},o=!1,l=!1;function t(){}function P(t,e){Array.prototype.forEach.call(t,e)}function A(){this.reset()}function h(e){return r.some(function(t){return t.starti&&s.push({start:t.start-i,end:t.end-i})}),r=s)}A.prototype.reset=function(){this.index=0,this.width=0};var e,_=function(t){return"justify"===(t.currentStyle||window.getComputedStyle(t,null)).textAlign};function E(t,e,i){var s,t,r,s,s,s=(e=e.trim()).split(" ").length;return e+=" ",s<2?e:((r=document.createElement("span")).innerHTML=e,t.appendChild(r),t=r.offsetWidth,r.parentNode.removeChild(r),s=Math.floor((i-t)/(s-1)),r.style.wordSpacing=s+"px",r.setAttribute("data-owner","balance-text-justify"),(s=document.createElement("div")).appendChild(r),s.innerHTML)}function i(t,e){var i,s=/([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;if(!x)for(x=[],i=s.exec(t);null!==i;)h(i.index)||x.push(i.index),i=s.exec(t);return-1!==x.indexOf(e)}function d(t,e){return 0===e||e===t.length||i(t,e-1)&&!i(t,e)}function M(t,e,i,s,r,a,n){var o;if(e&&"string"==typeof e)for(;;){for(;!d(e,a);)a+=r;if(t.innerHTML=e.substr(0,a),o=t.offsetWidth,r<0){if(o<=s||o<=0||0===a)break}else if(s<=o||i<=o||a===e.length)break;a+=r}n.index=a,n.width=o}function c(t){return t?"string"==typeof t?document.querySelectorAll(t):t.tagName&&t.querySelectorAll?[t]:t:[]}function f(t){P(c(t),function(t){!function(t){var e;P(e=t.querySelectorAll('br[data-owner="balance-text-hyphen"]'),function(t){t.outerHTML=""}),P(e=t.querySelectorAll('br[data-owner="balance-text"]'),function(t){t.outerHTML=" "});var i=t.querySelectorAll('span[data-owner="balance-text-softhyphen"]'),s;0-')),S?b+=E(t,w,n):(b+=w,b+=y||Boolean(w.match(/(-|\u2014|\u2013)$/))?'
':'
'),v=v.substr(g),T=g,k--,t.innerHTML=v,l=t.offsetWidth;t.innerHTML=S?b+E(t,v,n):b+v}t.style.whiteSpace=e,t.style.float=i,t.style.display=s,t.style.position=r,t.style.lineHeight=a})}function u(){var t=c(n.sel.join(","));f(Array.prototype.concat.apply(n.el,t))}function m(){var t,i,e,s,r;o||(t=u,"loading"!==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",function(){"loading"!==document.readyState&&t()}),window.addEventListener("load",u),window.addEventListener("resize",(i=u,function(){var t=this,e=arguments;r&&clearTimeout(r),r=setTimeout(function(){i.apply(t,e),r=null},100)})),o=!0)}function s(t,e){var i,s;t?e&&!0===e.watch?("string"==typeof(s=t)?n.sel.push(s):P(c(s),function(t){n.el.push(t)}),m(),u()):e&&!1===e.watch?"string"==typeof(i=t)?n.sel=n.sel.filter(function(t){return t!==i}):(i=c(i),n.el=n.el.filter(function(t){return-1===i.indexOf(t)})):f(t):l||(n.sel.push(".balance-text"),m(),l=!0)}return s.updateWatched=u,(e=document.documentElement.style).textWrap||e.WebkitTextWrap||e.MozTextWrap||e.MsTextWrap?t.updateWatched=t:s}),function(t,e){var i=function(s,f){if(f.getElementsByClassName){var u,m,g=f.documentElement,o=s.Date,r=s.HTMLPictureElement,a="addEventListener",y="getAttribute",e=s[a],h=s.setTimeout,i=s.requestAnimationFrame||h,l=s.requestIdleCallback,p=/^picture$/i,n=["load","error","lazyincluded","_lazyloaded"],d={},c=Array.prototype.forEach,v=function(t,e){return d[e]||(d[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),d[e].test(t[y]("class")||"")&&d[e]},b=function(t,e){v(t,e)||t.setAttribute("class",(t[y]("class")||"").trim()+" "+e)},w=function(t,e){var e;(e=v(t,e))&&t.setAttribute("class",(t[y]("class")||"").replace(e," "))},S=function(e,i,t){var s=t?a:"removeEventListener";t&&S(e,i),n.forEach(function(t){e[s](t,i)})},k=function(t,e,i,s,r){var a=f.createEvent("Event");return(i=i||{}).instance=u,a.initEvent(e,!s,!r),a.detail=i,t.dispatchEvent(a),a},T=function(t,e){var i;!r&&(i=s.picturefill||m.pf)?(e&&e.src&&!t[y]("srcset")&&t.setAttribute("srcset",e.src),i({reevaluate:!0,elements:[t]})):e&&e.src&&(t.src=e.src)},x=function(t,e){return(getComputedStyle(t,null)||{})[e]},P=function(t,e,i){for(i=i||t.offsetWidth;ii.left&&Ki.top-1&&X=n&&(X=i.top)<=Y&&(Z=i.right)>=n*d&&(K=i.left)<=U&&(J||Z||K||X)&&(m.loadHidden||lt(c[e]))&&(G&&at<3&&!o&&(W<3||nt<4)||ht(c[e],a))){if(vt(c[e]),r=!0,9'),t}(),r=s&&s.contentDocument||document,a=r.body,n=r!==document,t,o,t,l,r,i;(e=r.createElement("div")).style.cssText="width: 1px; height: 1px; position: relative; top: 0px; left: 32000px;",n||(o=document.documentElement,t=document.body,l=p?window.getComputedStyle(o,null):o.currentStyle,r=p?window.getComputedStyle(t,null):t.currentStyle,i=(l.overflowX||l.overflow||"visible").toLowerCase(),l="hidden"!==(r.overflowX||r.overflow||"visible").toLowerCase(),i={documentElement:{modified:r="visible"===i},body:{modified:l}},r&&(o=o.style,i.documentElement.styleOverflowX=o.overflowX,o.overflowX="auto"),l&&(t=t.style,i.body.styleOverflowX=t.overflowX,t.overflowX="hidden"),t=i),i=a.scrollWidth,a.appendChild(e),i=i!==a.scrollWidth,a.removeChild(e),n||((t=t).documentElement.modified&&(document.documentElement.style.overflowX=t.documentElement.styleOverflowX),t.body.modified&&(document.body.style.overflowX=t.body.styleOverflowX)),h=i?"documentElement":"body",s&&document.body.removeChild(s)}function g(t,e){var i=e.documentElement;return Math.max(i.body["scroll"+t],e["scroll"+t],i.body["offset"+t],e["offset"+t],e["client"+t])}function y(t){return v("Width",t)}function v(t,e){var i,s,t=(e||window).visualViewport?(e||window).visualViewport[t.toLowerCase()]:(e||window)["inner"+t];return t&&(a||t!==+t||t===(0|t)||(a=!0)),t}function b(){return a}function w(t){return null!=t&&t.window==t}function S(t){return"string"==typeof t||t&&"object"==typeof t&&"[object String]"===Object.prototype.toString.call(t)||!1}function k(){var t;return void 0===s&&(s=!1,t=navigator&&navigator.userAgent,navigator&&"Microsoft Internet Explorer"===navigator.appName&&t&&null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(t)&&(s=parseFloat(RegExp.$1))),s}if(t.documentWidth=function(e){var i;e=e||document;try{void 0===h&&m(),i=e[h].scrollWidth}catch(t){i=g("Width",e)}return i},t.documentHeight=function(e){var i;e=e||document;try{void 0===h&&m(),i=e[h].scrollHeight}catch(t){i=g("Height",e)}return i},t.windowWidth=function(t,e){return n("Width",l(arguments))},t.windowHeight=function(t,e){return n("Height",l(arguments))},t.pinchZoomFactor=function(t){return o(t)},t.scrollbarWidth=u,"function"==typeof t&&!((r=k())&&r<8)&&9!==k())try{t(function(){void 0===h&&m(),u()})}catch(e){}}("undefined"!=typeof jQuery?jQuery:"undefined"!=typeof Zepto?Zepto:$),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(n){var s=-1,r=-1,o=function(t){return parseFloat(t)||0},l=function(t){var t=n(t),s=null,r=[];return t.each(function(){var t=n(this),e=t.offset().top-o(t.css("margin-top")),i=0s&&(s=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=n(this),e=0;r.target&&t.is(r.target)||("border-box"!==t.css("box-sizing")&&(e+=o(t.css("border-top-width"))+o(t.css("border-bottom-width")),e+=o(t.css("padding-top"))+o(t.css("padding-bottom"))),t.css(r.property,s-e+"px"))})}),t.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||null)}),p._maintainScroll&&n(window).scrollTop(a/e*n("html").outerHeight(!0)),this},p._applyDataApi=function(){var i={};n("[data-match-height], [data-mh]").each(function(){var t=n(this),e=t.attr("data-mh")||t.attr("data-match-height");i[e]=e in i?i[e].add(t):t}),n.each(i,function(){this.matchHeight(!0)})};var a=function(t){p._beforeUpdate&&p._beforeUpdate(t,p._groups),n.each(p._groups,function(){p._apply(this.elements,this.options)}),p._afterUpdate&&p._afterUpdate(t,p._groups)};p._update=function(t,e){if(e&&"resize"===e.type){var i=n(window).width();if(i===s)return;s=i}t?-1===r&&(r=setTimeout(function(){a(e),r=-1},p._throttle)):a(e)},n(p._applyDataApi);var t=n.fn.on?"on":"bind";n(window)[t]("load",function(t){p._update(!1,t)}),n(window)[t]("resize orientationchange",function(t){p._update(!0,t)})}),function(r){r.fn.fitVids=function(t){var i={customSelector:null},e,s;return document.getElementById("fit-vids-style")||(e=document.head||document.getElementsByTagName("head")[0],(s=document.createElement("div")).innerHTML='

x

',e.appendChild(s.childNodes[1])),t&&r.extend(i,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='wistia.net']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"],e;i.customSelector&&t.push(i.customSelector),(e=(e=r(this).find(t.join(","))).not("object object")).each(function(){var t=r(this),e,i;"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length||(t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16)),e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10)),t.attr("id")||(i="fitvid"+Math.floor(999999*Math.random()),t.attr("id",i)),t.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width"))})})}}(window.jQuery||window.Zepto),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(h){var s,n=window.Slick||{},s=0;(n=function(t,e){var t,i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:h(t),appendDots:h(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return h('