function onYouTubeIframeAPIReady(){window._pbsYouTubeAPIInit=!0,window.pbsInitAllYouTubeVideos()}!function(view){var constructors,dummy,innerHTMLPropDesc;if(window.MSInputMethodContext&&document.documentMode||-1!==navigator.appVersion.indexOf("MSIE 10")){if(constructors=["SVGSVGElement","SVGGElement"],dummy=document.createElement("dummy"),!constructors[0]in view)return!1;if(Object.defineProperty){innerHTMLPropDesc={get:function(){return dummy.innerHTML="",Array.prototype.slice.call(this.childNodes).forEach(function(node,index){dummy.appendChild(node.cloneNode(!0))}),dummy.innerHTML},set:function(content){var self=this,allNodes=Array.prototype.slice.call(self.childNodes),fn=function(to,node){var newNode;if(1!==node.nodeType)return!1;newNode=document.createElementNS("http://www.w3.org/2000/svg",node.nodeName),Array.prototype.slice.call(node.attributes).forEach(function(attribute){newNode.setAttribute(attribute.name,attribute.value)}),"TEXT"===node.nodeName&&(newNode.textContent=node.innerHTML),to.appendChild(newNode),node.childNodes.length&&Array.prototype.slice.call(node.childNodes).forEach(function(node,index){fn(newNode,node)})};content=content.replace(/<(\w+)([^<]+?)\/>/,"<$1$2>$1>"),allNodes.forEach(function(node,index){node.parentNode.removeChild(node)}),dummy.innerHTML=content,Array.prototype.slice.call(dummy.childNodes).forEach(function(node){fn(self,node)})},enumerable:!0,configurable:!0};try{constructors.forEach(function(constructor,index){Object.defineProperty(window[constructor].prototype,"innerHTML",innerHTMLPropDesc)})}catch(ex){}}else Object.prototype.__defineGetter__&&constructors.forEach(function(constructor,index){window[constructor].prototype.__defineSetter__("innerHTML",innerHTMLPropDesc.set),window[constructor].prototype.__defineGetter__("innerHTML",innerHTMLPropDesc.get)})}}(window),function(){function CustomEvent(event,params){var evt;return params=params||{bubbles:!1,cancelable:!1,detail:void 0},(evt=document.createEvent("CustomEvent")).initCustomEvent(event,params.bubbles,params.cancelable,params.detail),evt}(window.MSInputMethodContext&&document.documentMode||-1!==navigator.appVersion.indexOf("MSIE 10"))&&(CustomEvent.prototype=window.Event.prototype,window.CustomEvent=CustomEvent)}(),window.pbsIsRTL=function(){return"rtl"===document.querySelector("html").getAttribute("dir")},window.pbsIsMobile=function(){return navigator.userAgent.match(/(Mobi|Android)/)},window.pbsSelectorMatches=function(el,selector){var p=Element.prototype,f=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.msMatchesSelector||function(s){return-1!==[].indexOf.call(document.querySelectorAll(s),this)};return 1!==el.nodeType&&el.parentNode&&(el=el.parentNode),1===el.nodeType&&f.call(el,selector)},window.pbsParent=function(el,selector){for(;!window.pbsSelectorMatches(el,selector)&&"BODY"!==el.tagName;)el=el.parentNode;return window.pbsSelectorMatches(el,selector)?el:null},window.pbsIndex=function(el){return el?Array.prototype.indexOf.call(el.parentNode.children,el):0},function(){var ready=function(){!!navigator.userAgent.match(/Trident.*rv[ :]*11\./)&&document.querySelector("html").classList.add("pbs-ie11"),document.querySelector("html").classList.add("theme-"+pbsFrontendParams.theme_name)};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window.pbsLoadFonts=function(fontArray){fontArray.length&&WebFont.load({google:{families:fontArray}})},window.pbsInitFonts=function(){var elements,fontsFound=[];"undefined"!=typeof WebFont&&(elements=document.querySelectorAll("[data-font-family]"),Array.prototype.forEach.call(elements,function(el){var font=el.getAttribute("data-font-family");-1===fontsFound.indexOf(font)&&fontsFound.push(font)}),window.pbsLoadFonts(fontsFound))},function(){var ready=function(){window.pbsInitFonts()};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window._pbsFixRowWidth=function(element){var dataWidth=element.getAttribute("data-width");dataWidth?(element.parentNode.classList.contains("pbs-col")?window._pbsRowReset(element):void 0!==dataWidth&&dataWidth?"full-width"===dataWidth?window._pbsFullWidthRow(element):window._pbsFullWidthRow(element,!0):window._pbsRowReset(element),clearTimeout(window._pbsFixRowWidthsResizeTrigger),window._pbsFixRowWidthsResizeTrigger=setTimeout(function(){window._pbsFixRowWidthsResizeNoReTrigger=!0,window.dispatchEvent(new CustomEvent("resize"))},1)):window._pbsRowReset(element)},window._pbsRowReset=function(element){element.style.width="",element.style.position="",element.style.maxWidth="",window.pbsIsRTL()?element.style.right="":element.style.left="",element.style.webkitTransform="",element.style.mozTransform="",element.style.msTransform="",element.style.transform=""},window._pbsFullWidthRow=function(element,fitToContentWidth){var bodyWidth,rect,bodyRect,actualWidth,paddingLeft,paddingRight,origWebkitTransform=element.style.webkitTransform,origMozTransform=element.style.mozTransform,origMSTransform=element.style.msTransform,origTransform=element.style.transform;element.style.width="auto",element.style.position="relative",element.style.maxWidth="none",element.style.webkitTransform="",element.style.mozTransform="",element.style.msTransform="",element.style.transform="",element.style.marginLeft="0px",element.style.marginRight="0px",void 0!==fitToContentWidth&&fitToContentWidth&&(element.style.paddingLeft="",element.style.paddingRight=""),element.parentNode.style.overflowX="visible",window.pbsIsRTL()?element.style.right="0px":element.style.left="0px",bodyWidth=document.body.clientWidth,rect=element.getBoundingClientRect(),bodyRect=document.body.getBoundingClientRect(),element.style.width=bodyWidth+"px",element.style.position="relative",element.style.maxWidth=bodyWidth+"px",window.pbsIsRTL()?element.style.right=rect.right-bodyRect.right+"px":element.style.left=-rect.left+bodyRect.left+"px",element.style.webkitTransform=origWebkitTransform,element.style.mozTransform=origMozTransform,element.style.msTransform=origMSTransform,element.style.transform=origTransform,void 0!==fitToContentWidth&&fitToContentWidth&&(actualWidth=rect.width,window.pbsIsRTL()?(paddingLeft=bodyWidth-actualWidth+rect.right-bodyRect.right,paddingRight=-rect.right+bodyRect.right):(paddingLeft=rect.left-bodyRect.left,paddingRight=bodyWidth-actualWidth-rect.left+bodyRect.left),actualWidth>bodyWidth&&(paddingLeft=0,paddingRight=0),element.style.paddingLeft=paddingLeft+"px",element.style.paddingRight=paddingRight+"px")},window.pbsFixRowWidths=function(){var fullRows=document.querySelectorAll(".pbs-row");Array.prototype.forEach.call(fullRows,function(el){window._pbsFixRowWidth(el)})},window.addEventListener("resize",function(){window._pbsFixRowWidthsResizeNoReTrigger?delete window._pbsFixRowWidthsResizeNoReTrigger:window.pbsFixRowWidths()}),window.pbsFixRowWidths(),function(){var ready=function(){setTimeout(function(){window.pbsFixRowWidths()},1)};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),function(){var _working,pbsParallaxUpdateDimensions,ready,isIE=!!navigator.userAgent.match(/MSIE/)||!!navigator.userAgent.match(/Trident.*rv[ :]*11\./)||!!navigator.userAgent.match(/Edge\/12/),_initTimeout=null;window.pbsDestroyParallax=function(element){var parallaxes=element.querySelectorAll(".pbs-parallax");Array.prototype.forEach.call(parallaxes,function(el){el.parentNode===element&&element.removeChild(el)})},window.pbsInitParallax=function(element,forceReset){var parallaxDiv;element.getAttribute("data-pbs-parallax")?(forceReset&&window.pbsDestroyParallax(element),(parallaxDiv=element.querySelector(".pbs-parallax"))&¶llaxDiv.parentNode===element||((parallaxDiv=document.createElement("DIV")).classList.add("pbs-parallax"),element.insertBefore(parallaxDiv,element.firstChild)),parallaxDiv.style.backgroundColor=element.style.backgroundColor,parallaxDiv.style.backgroundImage=element.style.backgroundImage,parallaxDiv.style.backgroundSize=element.style.backgroundSize,parallaxDiv.style.backgroundRepeat=element.style.backgroundRepeat,parallaxDiv.setAttribute("data-speed",element.getAttribute("data-pbs-parallax")),clearTimeout(_initTimeout),_initTimeout=setTimeout(function(){window.requestAnimationFrame(window.pbsUpdateParallax)},10)):window.pbsDestroyParallax(element)},window.pbsInitAllParallax=function(forceReset){var rows=document.querySelectorAll("[data-pbs-parallax]");Array.prototype.forEach.call(rows,function(el){window.pbsInitParallax(el,forceReset)})},_working=!1,pbsParallaxUpdateDimensions=function(parallaxElem){var percentage,basedHeight,parallaxHeight,parallaxHeightDiff,rowRect=parallaxElem.parentNode.getBoundingClientRect(),speed=parseFloat(parallaxElem.getAttribute("data-speed")),height=parseInt(rowRect.height,10),minTop=parseInt(rowRect.top,10),bottom=parseInt(rowRect.bottom,10),scrollY=window.scrollY||window.pageYOffset,max=bottom+scrollY,windowHeight=window.innerHeight,min=minTop-windowHeight+scrollY;return speed<0&&(max=min,min=bottom+scrollY),percentage=(scrollY-min)/(max-min),basedHeight=windowHeight,height>windowHeight&&(basedHeight=height),parallaxHeight=(1+Math.abs(speed))*basedHeight,parallaxHeightDiff=Math.abs(speed)*basedHeight-10,parallaxElem.style.height=parallaxHeight+"px",-percentage*parallaxHeightDiff-5},window.pbsUpdateParallax=function(){var i,parallaxes,parallax,len,movement,translate3d;for(window.scrollY||window.pageYOffset,i=0,len=(parallaxes=document.querySelectorAll(".pbs-parallax")).length;i *"),videoDetails=null,element.getAttribute("data-pbs-video-url")&&(videoDetails=window.pbsGetVideoDataFromURL(element.getAttribute("data-pbs-video-url"))),video&&video.parentNode===element||(element.getAttribute("data-pbs-video-webm")||element.getAttribute("data-pbs-video-mp4")?(video=document.createElement("DIV"),videoInner=document.createElement("VIDEO"),video.insertBefore(videoInner,video.firstChild)):videoDetails&&"youtube"!==videoDetails.type?(video=document.createElement("DIV"),videoInner=document.createElement("IFRAME"),id="pbs-video-bg-"+(Math.random().toString(16)+"000000000").substr(2,8),videoInner.setAttribute("id",id),videoInner.setAttribute("src","//player.vimeo.com/video/"+videoDetails.id+"?api=1&player_id="+id+"&html5=1&autopause=0&autoplay=1&badge=0&byline=0&loop=1&title=0"),videoInner.setAttribute("frameborder","0"),video.insertBefore(videoInner,video.firstChild)):(video=document.createElement("DIV"),videoInner=document.createElement("DIV"),id="pbs-video-bg-"+(Math.random().toString(16)+"000000000").substr(2,8),videoInner.setAttribute("id",id),video.insertBefore(videoInner,video.firstChild)),video.classList.add("pbs-video-bg"),element.insertBefore(video,element.firstChild)),element.style.backgroundImage.match(/rgba\(/i)?(r=/(rgba\(\s*[\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+\s*,\s*)([\d\.]+)(.*)/i,video.style.backgroundColor=element.style.backgroundColor,video.style.backgroundColor=video.style.backgroundColor.replace(r,"$11$3"),element.style.backgroundColor.match(r)?videoInner.style.opacity=1-parseFloat(element.style.backgroundColor.replace(r,"$2")):videoInner.style.opacity=0):(video.style.backgroundColor="none",videoInner.style.opacity=1),element.getAttribute("data-pbs-video-webm")||element.getAttribute("data-pbs-video-mp4")?window.pbsInitUploadedVideo(element):element.getAttribute("data-pbs-video-url")&&("youtube"===videoDetails.type?window.pbsInitYouTubeVideo(element):window.pbsInitVimeoVideo(element))):window.pbsDestroyVideoBG(element))},window.pbsInitAllVideoBGs=function(){var rows=document.querySelectorAll("[data-pbs-video-webm], [data-pbs-video-mp4], [data-pbs-video-url]");Array.prototype.forEach.call(rows,function(el){window.pbsInitVideoBG(el)})},window.pbsDestroyVideoBG=function(element){var videos=element.querySelectorAll(".pbs-video-bg");Array.prototype.forEach.call(videos,function(el){el.parentNode===element&&element.removeChild(el)})},window.pbsDestroyAllVideoBG=function(){var rows=document.querySelectorAll("[data-pbs-video-webm], [data-pbs-video-mp4], [data-pbs-video-url]");Array.prototype.forEach.call(rows,function(el){window.pbsDestroyVideoBG(el)})},window.pbsGetVideoDataFromURL=function(url){var match;return url=url.trim(),(match=url.match(/^.*youtube\.com\/watch\?v=([^\&\?\/]+).*$/i))?{type:"youtube",id:match[1]}:(match=url.match(/^.*youtube\.com\/embed\/([^\&\?\/]+).*$/i))?{type:"youtube",id:match[1]}:(match=url.match(/^.*youtube\.com\/v\/([^\&\?\/]+).*$/i))?{type:"youtube",id:match[1]}:(match=url.match(/^.*youtu\.be\/([^\&\?\/]+).*$/i))?{type:"youtube",id:match[1]}:(match=url.match(/^.*vimeo\.com\/(\w*\/)*(\d+).*$/i))?{type:"vimeo",id:match[2]}:(match=url.match(/^(.*?)(\d{6,})(.*?)$/i))?{type:"vimeo",id:match[2]}:{type:"youtube",id:url}},window.pbsInitVimeoVideo=function(element){var player;"vimeo"===window.pbsGetVideoDataFromURL(element.getAttribute("data-pbs-video-url")).type&&((player=$f(element.querySelector("iframe"))).addEvent("ready",function(id){(player=$f(id)).api("setVolume",0),window.pbsResizeYTVimeoVideo(element)}),window.pbsResizeYTVimeoVideo(element))},window._pbsYouTubeAPIInit=!1,window.pbsInitYouTubeVideo=function(element){var videoID,tag,firstScriptTag,elementID,videoDetails=window.pbsGetVideoDataFromURL(element.getAttribute("data-pbs-video-url"));if("youtube"===videoDetails.type)if(videoID=videoDetails.id,document.querySelector('script[src="https://www.youtube.com/iframe_api"]'))if(window._pbsYouTubeAPIInit){if(!element.querySelector(".pbs-video-bg"))return;elementID=element.querySelector(".pbs-video-bg > *").getAttribute("id"),new YT.Player(elementID,{height:"auto",width:"auto",videoId:videoID,playerVars:{autohide:1,autoplay:1,fs:0,showinfo:0,loop:1,modestBranding:1,start:0,controls:0,rel:0,disablekb:1,iv_load_policy:3,wmode:"transparent"},events:{onReady:function(event){var prevCurrTime,player=event.target,timeLastCall=+new Date/1e3,currTime=0,firstRun=!0;player.playVideo(),player.mute(),player.setPlaybackQuality("hd720"),prevCurrTime=player.getCurrentTime(),player.loopInterval=setInterval(function(){if(void 0!==player.loopTimeout&&clearTimeout(player.loopTimeout),prevCurrTime===player.getCurrentTime()?currTime=prevCurrTime+(+new Date/1e3-timeLastCall):(currTime=player.getCurrentTime(),timeLastCall=+new Date/1e3),prevCurrTime=player.getCurrentTime(),currTime+(firstRun?.45:.21)>=player.getDuration()){try{player.pauseVideo(),player.seekTo(0),player.playVideo()}catch(err){clearInterval(player.loopInterval)}firstRun=!1}},150)},onStateChange:function(event){event.data===YT.PlayerState.ENDED&&(void 0!==event.target.loopTimeout&&clearTimeout(event.target.loopTimeout),event.target.seekTo(0))}}}),window.pbsResizeYTVimeoVideo(element)}else;else(tag=document.createElement("script")).src="https://www.youtube.com/iframe_api",(firstScriptTag=document.getElementsByTagName("script")[0]).parentNode.insertBefore(tag,firstScriptTag)},window.pbsResizeYTVimeoVideo=function(element){var containerWidth,containerHeight,finalWidth,finalHeight,marginTop,marginLeft,width,height,container=element.querySelector(".pbs-video-bg"),rect=element.getBoundingClientRect(),aspectRatio=[16,9];container&&(container.style.width="auto",container.style.height="auto",container.style.marginTop="auto",container.style.marginLeft="auto",containerWidth=rect.width,finalHeight=containerHeight=rect.height,finalWidth=aspectRatio[0]/aspectRatio[1]*containerHeight,aspectRatio[0]/aspectRatio[1]*containerHeight-containerWidth,containerWidth*aspectRatio[1]/aspectRatio[0]-containerHeight,finalWidth>=containerWidth&&finalHeight>=containerHeight?(height=containerHeight,width=aspectRatio[0]/aspectRatio[1]*containerHeight):(width=containerWidth,height=containerWidth*aspectRatio[1]/aspectRatio[0]),marginTop=-(height-containerHeight)/2,marginLeft=-(width-containerWidth)/2,container.style.width=width+"px",container.style.height=height+"px",container.style.marginTop=marginTop+"px",container.style.marginLeft=marginLeft+"px")},window.pbsInitAllYouTubeVideos=function(){var rows=document.querySelectorAll("[data-pbs-video-url]");Array.prototype.forEach.call(rows,function(el){window.pbsInitYouTubeVideo(el)})},window.pbsResizeAllVideos=function(){var rows=document.querySelectorAll("[data-pbs-video-url]");Array.prototype.forEach.call(rows,function(el){window.pbsResizeYTVimeoVideo(el)})},window.pbsInitUploadedVideo=function(element){var webm,mp4,video=element.querySelector(".pbs-video-bg video");video.setAttribute("poster",element.style.backgroundImage),video.setAttribute("playsinline",""),video.setAttribute("autoplay",""),video.setAttribute("muted",""),video.setAttribute("loop",""),(webm=video.querySelector('source[type="video/webm"]'))&&webm.parentNode.removeChild(webm),(mp4=video.querySelector('source[type="video/mp4"]'))&&mp4.parentNode.removeChild(mp4),mp4=document.createElement("SOURCE"),video.insertBefore(mp4,video.firstChild),mp4.setAttribute("src",element.getAttribute("data-pbs-video-mp4")),mp4.setAttribute("type","video/mp4"),webm=document.createElement("SOURCE"),video.insertBefore(webm,video.firstChild),webm.setAttribute("src",element.getAttribute("data-pbs-video-webm")),webm.setAttribute("type","video/webm")},function(){var ready=function(){window.pbsInitAllVideoBGs(),window.addEventListener("resize",function(){window.pbsResizeAllVideos()})};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}();var Froogaloop=function(){function n(e){return new n.fn.init(e)}function e(n,e,t){if(!t.contentWindow.postMessage)return!1;var r=JSON.stringify({method:n,value:e});t.contentWindow.postMessage(r,d)}function t(n){var e,t;try{t=(e=JSON.parse(n.data)).event||e.method}catch(r){}if("ready"!=t||a||(a=!0),!/^https?:\/\/player.vimeo.com/.test(n.origin))return!1;"*"===d&&(d=n.origin);var o=e.value,l=e.data,u=""===u?null:e.player_id,s=i(t,u),f=[];return!!s&&(void 0!==o&&f.push(o),l&&f.push(l),u&&f.push(u),f.length>0?s.apply(null,f):s.call())}function r(n,e,t){t?(u[t]||(u[t]={}),u[t][n]=e):u[n]=e}function i(n,e){return e?(u[e]||{})[n]:u[n]}function o(n,e){if(e){var t=u[e];if(!t||!t[n])return!1;t[n]=null}else{if(!u[n])return!1;u[n]=null}return!0}function l(n){return!!(n&&n.constructor&&n.call&&n.apply)}var u={},a=!1,d=(Array.prototype.slice,"*");return n.fn=n.prototype={element:null,init:function(n){return"string"==typeof n&&(n=document.getElementById(n)),this.element=n,this},api:function(n,t){if(!this.element||!n)return!1;var i=this,o=i.element,u=""!==o.id?o.id:null,a=l(t)?null:t,d=l(t)?t:null;return d&&r(n,d,u),e(n,a,o),i},addEvent:function(n,t){if(!this.element)return!1;var i=this,o=i.element,l=""!==o.id?o.id:null;return r(n,t,l),"ready"!=n?e("addEventListener",n,o):"ready"==n&&a&&t.call(null,l),i},removeEvent:function(n){if(!this.element)return!1;var r=this.element,l=o(n,""!==r.id?r.id:null);"ready"!=n&&l&&e("removeEventListener",n,r)}},n.fn.init.prototype=n.fn,window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent("onmessage",t),window.Froogaloop=window.$f=n}();window.pbsDestroyKenBurns=function(element){var kenburns=element.querySelectorAll(".pbs-kenburns-bg");Array.prototype.forEach.call(kenburns,function(el){el.parentNode===element&&element.removeChild(el)})},window.pbsDestroyAllKenBurns=function(){var rows=document.querySelectorAll(".pbs-row[data-pbs-kenburns-1]");Array.prototype.forEach.call(rows,function(el){window.pbsDestroyKenBurns(el)})},window.pbsInitKenBurns=function(element){var i,bg,bgs,numImages=0;if(element.hasAttribute("data-pbs-kenburns-1")){for(i=5;i>0;i--)if(element.getAttribute("data-pbs-kenburns-"+i)){for(numImages||(numImages=i);element.querySelectorAll(".pbs-kenburns-bg").lengthnumImages;)(bg=(bgs=element.querySelectorAll(".pbs-kenburns-bg"))[bgs.length-1]).parentNode.removeChild(bg);(bg=element.querySelectorAll(".pbs-kenburns-bg")[i-1]).setAttribute("class",""),bg.classList.add("pbs-kenburns-bg"),bg.classList.add("pbs-kenburns-bg-"+numImages),bg.style.backgroundImage="url("+element.getAttribute("data-pbs-kenburns-"+i)+")"}}else window.pbsDestroyKenBurns(element)},window.pbsInitAllKenBurns=function(){var rows=document.querySelectorAll(".pbs-row[data-pbs-kenburns-1]");Array.prototype.forEach.call(rows,function(el){window.pbsInitKenBurns(el)})},function(){var ready=function(){window.pbsInitAllKenBurns()};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window.pbsInitAllPretext=function(){var codes;"undefined"!=typeof hljs&&(codes=document.querySelectorAll(".pbs-main-wrapper pre"),Array.prototype.forEach.call(codes,function(el){hljs.highlightBlock(el)}))},function(){var ready=function(){window.pbsInitAllPretext()};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window.pbsTabsRefreshActiveTab=function(tabsElement){var id,tabs,activeTab,radio=tabsElement.querySelector(".pbs-tab-state:checked");radio||(radio=tabsElement.querySelector(".pbs-tab-state")),id=radio.getAttribute("id"),(tabs=tabsElement.querySelector(".pbs-tab-tabs "))&&((activeTab=tabs.querySelector(".pbs-tab-active"))&&activeTab.classList.remove("pbs-tab-active"),(activeTab=tabs.querySelector('[for="'+id+'"]'))&&activeTab.classList.add("pbs-tab-active"))},function(){var ready=function(){var elements;document.addEventListener("change",function(ev){ev.target&&ev.target.classList.contains("pbs-tab-state")&&window.pbsTabsRefreshActiveTab(ev.target.parentNode)}),elements=document.querySelectorAll('[data-ce-tag="tabs"]'),Array.prototype.forEach.call(elements,function(el){(el=el.querySelector('[data-ce-tag="tab"]'))&&el.classList.add("pbs-tab-active")})};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),function(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory():"function"==typeof define&&define.amd?define([],factory):"object"==typeof exports?exports.AOS=factory():root.AOS=factory()}(this,function(){return function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.p="dist/",__webpack_require__(0)}([function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _extends=Object.assign||function(target){for(var i=1;i0&&void 0!==arguments[0]&&arguments[0]&&(initialized=!0),initialized)return $aosElements=(0,_prepare2.default)($aosElements,options),(0,_handleScroll2.default)($aosElements,options.once),$aosElements},refreshHard=function(){$aosElements=(0,_elements2.default)(),refresh()},disable=function(){$aosElements.forEach(function(el,i){el.node.removeAttribute("data-aos"),el.node.removeAttribute("data-aos-easing"),el.node.removeAttribute("data-aos-duration"),el.node.removeAttribute("data-aos-delay")})},isDisabled=function(optionDisable){return!0===optionDisable||"mobile"===optionDisable&&_detector2.default.mobile()||"phone"===optionDisable&&_detector2.default.phone()||"tablet"===optionDisable&&_detector2.default.tablet()||"function"==typeof optionDisable&&!0===optionDisable()};module.exports={init:function(settings){return options=_extends(options,settings),$aosElements=(0,_elements2.default)(),isDisabled(options.disable)||browserNotSupported?disable():(document.querySelector("body").setAttribute("data-aos-easing",options.easing),document.querySelector("body").setAttribute("data-aos-duration",options.duration),document.querySelector("body").setAttribute("data-aos-delay",options.delay),"DOMContentLoaded"===options.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?refresh(!0):"load"===options.startEvent?window.addEventListener(options.startEvent,function(){refresh(!0)}):document.addEventListener(options.startEvent,function(){refresh(!0)}),window.addEventListener("resize",(0,_lodash4.default)(refresh,50,!0)),window.addEventListener("orientationchange",(0,_lodash4.default)(refresh,50,!0)),window.addEventListener("scroll",(0,_lodash2.default)(function(){(0,_handleScroll2.default)($aosElements,options.once)},99)),document.addEventListener("DOMNodeRemoved",function(event){var el=event.target;el&&1===el.nodeType&&el.hasAttribute&&(el.hasAttribute("data-aos")||el.hasAttribute("data-aos-js"))&&(0,_lodash4.default)(refreshHard,50,!0)}),(0,_observer2.default)("[data-aos], [data-aos-js]",refreshHard),$aosElements)},refresh:refresh,refreshHard:refreshHard}},function(module,exports){},,,,function(module,exports){(function(global){"use strict";function debounce(func,wait,options){function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastInvoke=time-lastInvokeTime,result=wait-(time-lastCallTime);return maxing?nativeMin(result,maxWait-timeSinceLastInvoke):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function(){return void 0===timerId?result:trailingEdge(now())},debounced}function isObject(value){var type=void 0===value?"undefined":_typeof(value);return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==(void 0===value?"undefined":_typeof(value))}function isSymbol(value){return"symbol"==(void 0===value?"undefined":_typeof(value))||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==(void 0===global?"undefined":_typeof(global))&&global&&global.Object===Object&&global,freeSelf="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectToString=Object.prototype.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};module.exports=function(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}}).call(exports,function(){return this}())},function(module,exports){(function(global){"use strict";function isObject(value){var type=void 0===value?"undefined":_typeof(value);return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==(void 0===value?"undefined":_typeof(value))}function isSymbol(value){return"symbol"==(void 0===value?"undefined":_typeof(value))||isObjectLike(value)&&objectToString.call(value)==symbolTag}function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NAN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=value.replace(reTrim,"");var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NAN:+value}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==(void 0===global?"undefined":_typeof(global))&&global&&global.Object===Object&&global,freeSelf="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectToString=Object.prototype.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};module.exports=function(func,wait,options){function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastInvoke=time-lastInvokeTime,result=wait-(time-lastCallTime);return maxing?nativeMin(result,maxWait-timeSinceLastInvoke):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function(){return void 0===timerId?result:trailingEdge(now())},debounced}}).call(exports,function(){return this}())},function(module,exports){"use strict";function check(){for(var listener,elements,i=0,len=listeners.length;iel.position?(el.node.hasAttribute("data-aos-js")&&!el.node._aosjsDispatched&&(window.dispatchEvent(new CustomEvent("pbs.aos.animate",{detail:el.node})),el.node._aosjsDispatched=!0),el.node.classList.add("aos-animate")):void 0!==attrOnce&&("false"===attrOnce||!once&&"true"!==attrOnce)&&el.node.classList.remove("aos-animate")};exports.default=function($elements,once){var scrollTop=window.pageYOffset,windowHeight=window.innerHeight;$elements.forEach(function(el,i){setState(el,windowHeight+scrollTop,once)})}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _calculateOffset2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(11));exports.default=function($elements,options){return $elements.forEach(function(el,i){el.node.classList.add("aos-init"),el.position=(0,_calculateOffset2.default)(el.node,options.offset)}),$elements}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _offset2=function(obj){return obj&&obj.__esModule?obj:{default:obj}}(__webpack_require__(12));exports.default=function(el,optionalOffset){var elementOffsetTop=0,additionalOffset=0,windowHeight=window.innerHeight,attrs={offset:el.getAttribute("data-aos-offset"),anchor:el.getAttribute("data-aos-anchor"),anchorPlacement:el.getAttribute("data-aos-anchor-placement")};switch(attrs.offset&&!isNaN(attrs.offset)&&(additionalOffset=parseInt(attrs.offset)),attrs.anchor&&document.querySelectorAll(attrs.anchor)&&(el=document.querySelectorAll(attrs.anchor)[0]),elementOffsetTop=(0,_offset2.default)(el).top,attrs.anchorPlacement){case"top-bottom":break;case"center-bottom":elementOffsetTop+=el.offsetHeight/2;break;case"bottom-bottom":elementOffsetTop+=el.offsetHeight;break;case"top-center":elementOffsetTop+=windowHeight/2;break;case"bottom-center":elementOffsetTop+=windowHeight/2+el.offsetHeight;break;case"center-center":elementOffsetTop+=windowHeight/2+el.offsetHeight/2;break;case"top-top":elementOffsetTop+=windowHeight;break;case"bottom-top":elementOffsetTop+=el.offsetHeight+windowHeight;break;case"center-top":elementOffsetTop+=el.offsetHeight/2+windowHeight}return attrs.anchorPlacement||attrs.offset||isNaN(optionalOffset)||(additionalOffset=optionalOffset),elementOffsetTop+additionalOffset}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=function(el){for(var _x=0,_y=0;el&&!isNaN(el.offsetLeft)&&!isNaN(el.offsetTop);)_x+=el.offsetLeft-("BODY"!=el.tagName?el.scrollLeft:0),_y+=el.offsetTop-("BODY"!=el.tagName?el.scrollTop:0),el=el.offsetParent;return{top:_y,left:_x}}},function(module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=function(elements){elements=elements||document.querySelectorAll("[data-aos], [data-aos-js]");var finalElements=[];return[].forEach.call(elements,function(el,i){finalElements.push({node:el})}),finalElements}}])}),function(){var ready=function(){setTimeout(function(){"undefined"!=typeof AOS&&AOS.init({disable:"mobile"})},300)};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),function(){var ready=function(){document.addEventListener("change",function(ev){var row,endHeight,startHeight;"toggleradio"===ev.target.getAttribute("data-ce-tag")&&(row=ev.target.parentNode.querySelector(".pbs-row"),ev.target.checked?(row.style.webkitTransition="",row.style.mozTransition="",row.style.msTransition="",row.style.transition="",row.style.height="auto",endHeight=getComputedStyle(row).height,row.style.height="0px",row.offsetHeight,row.style.webkitTransition="all .3s ease-in-out",row.style.mozTransition="all .3s ease-in-out",row.style.msTransition="all .3s ease-in-out",row.style.transition="all .3s ease-in-out",row.style.height=endHeight):(row.style.webkitTransition="",row.style.mozTransition="",row.style.msTransition="",row.style.transition="",row.style.height="auto",startHeight=getComputedStyle(row).height,row.style.height=startHeight,row.offsetHeight,row.style.webkitTransition="all .3s ease-in-out",row.style.mozTransition="all .3s ease-in-out",row.style.msTransition="all .3s ease-in-out",row.style.transition="all .3s ease-in-out",row.style.height="0px"),row.addEventListener("transitionend",function transitionEnd(event){"height"===event.propertyName&&(this.style.webkitTransition="",this.style.mozTransition="",this.style.msTransition="",this.style.transition="",this.style.height="",this.removeEventListener("transitionend",transitionEnd,!1))},!1))})};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window.pbsStopCountUp=function(element){clearTimeout(element.countUpTimeout),element._countUpOrigInnerHTML&&(element.innerHTML=element._countUpOrigInnerHTML,element._countUpOrigInnerHTML=void 0),element.style.visibility=""},window.pbsStopAllCountUp=function(){var elements=document.querySelectorAll("[data-pbs-count-up]");Array.prototype.forEach.call(elements,function(el){window.pbsStopCountUp(el)})},window.pbsInitCountUp=function(el){var lang,delay,divisions,splitValues,nums,k,i,num,isComma,isFloat,decimalPlaces,val,newNum,output;if(window.pbsStopCountUp(el),/[0-9]/.test(el.innerHTML)){for(el._countUpOrigInnerHTML=el.innerHTML,lang=document.querySelector("html").getAttribute("lang")||void 0,divisions=el.getAttribute("data-cu-time")/(delay=el.getAttribute("data-cu-delay")),splitValues=el.innerHTML.split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/),nums=[],k=0;k]+>/.test(splitValues[i]))for(num=splitValues[i],isComma=/[0-9]+,[0-9]+/.test(num),num=num.replace(/,/g,""),decimalPlaces=(isFloat=/^[0-9]+\.[0-9]+$/.test(num))?(num.split(".")[1]||[]).length:0,k=nums.length-1,val=divisions;val>=1;val--)newNum=parseInt(num/divisions*val,10),isFloat&&(newNum=parseFloat(num/divisions*val).toFixed(decimalPlaces),newNum=parseFloat(newNum).toLocaleString(lang)),isComma&&(newNum=newNum.toLocaleString(lang)),nums[k--]+=newNum;else for(k=0;kx
",head.appendChild(div.childNodes[1])}var fluidvids={selector:["iframe","object"],players:["www.youtube.com","player.vimeo.com"]},css=[".fluidvids {","width: 100%; max-width: 100%; position: relative;","}",".fluidvids-item {","position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;","}"].join(""),head=document.head||document.getElementsByTagName("head")[0];return fluidvids.render=function(){for(var nodes=document.querySelectorAll(fluidvids.selector.join()),i=nodes.length;i--;)fluid(nodes[i])},fluidvids.init=function(obj){var key;for(key in obj)fluidvids[key]=obj[key];fluidvids.render(),addStyles()},fluidvids}),function(){var ready=function(){"undefined"!=typeof fluidvids&&setTimeout(function(){fluidvids.init({selector:['.pbs-main-wrapper *:not(.pbs-video-bg):not(.jetpack-video-wrapper) iframe:not([id*="pbs-video-bg"])','.pbs-main-wrapper *:not(.pbs-video-bg):not(.jetpack-video-wrapper) object:not([id*="pbs-video-bg"])'],players:["www.youtube.com","player.vimeo.com","fast.wistia.net"]})},1)};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),function(){var ready=function(){var mainContainer,columns;if(columns=document.querySelectorAll(".pbs-col"),Array.prototype.forEach.call(columns,function(el){el.innerHTML.match(/^\s*$/gi)&&(el.innerHTML="")}),pbsFrontendParams.force_overflow)for(mainContainer=document.querySelector(".pbs-main-wrapper");mainContainer&&"BODY"!==mainContainer.tagName;)"hidden"===getComputedStyle(mainContainer).overflow&&(mainContainer.style.overflow="visible"),mainContainer=mainContainer.parentNode};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),window.pbsSwitchResponsiveStylesFrontend=function(screenSize,oldScreenSize){var styles,sizes,style,selector,i,elements;if(document.querySelector(".pbs-main-wrapper")&&screenSize!==oldScreenSize&&("undefined"==typeof PBS||!PBS.isEditing)){styles={"margin-top":'.pbs-main-wrapper [style*="margin:"], .pbs-main-wrapper [style*="margin-top:"]',"margin-bottom":'.pbs-main-wrapper [style*="margin:"], .pbs-main-wrapper [style*="margin-bottom:"]'},sizes=["tablet","phone"];for(style in styles)if(styles.hasOwnProperty(style)){for(selector=styles[style],i=0;i800?"desktop":window.innerWidth<400?"phone":"tablet"},ready=function(){var view=pbsGetWindowSize();"desktop"!==view&&window.pbsSwitchResponsiveStylesFrontend(pbsGetWindowSize(),"desktop"),window.addEventListener("resize",function(){var newView=pbsGetWindowSize();window.pbsSwitchResponsiveStylesFrontend(pbsGetWindowSize(),view),view=newView})};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}(),function(){var scrollTo=function(selector){function tick(){var p,t;t=easing(p=(currentTime+=1/60)/time),p<1?(requestAnimationFrame(tick),window.scrollTo(0,scrollY+(scrollTargetY-scrollY)*t)):window.scrollTo(0,scrollTargetY)}var scrollY,scrollTargetY,easing,currentTime,time,to=document.querySelector(selector);to&&(scrollY=window.scrollY||document.documentElement.scrollTop,scrollTargetY=scrollY+to.getBoundingClientRect().top,2e3,easing=function(t){return t<.5?2*t*t:(4-2*t)*t-1},currentTime=0,time=Math.max(.1,Math.min(Math.abs(scrollY-scrollTargetY)/2e3,.8)),tick())},ready=function(){document.body.addEventListener("click",function(ev){var target,match;if(("undefined"==typeof PBS||!PBS.isEditing)&&ev.target.tagName&&"A"===ev.target.tagName&&(target=ev.target.getAttribute("href"))){if((match=target.match(/^#(\w+)/))&&document.querySelector('a[name="'+match[1]+'"]'))return ev.preventDefault(),void scrollTo('a[name="'+match[1]+'"]');if(target.match(/^[\.#]\w+/))return ev.preventDefault(),void scrollTo(target)}})};"loading"!==document.readyState?ready():document.addEventListener("DOMContentLoaded",ready)}();