(window.webpackJsonp=window.webpackJsonp||[]).push([[75,81],{1056:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(7),r(1315)],void 0===(n=function(e,t){var r=e.create();r.name="flexmenu",r.onReady=function(){t("body").hasClass("id1032")||t(".subtopics ul").flexMenu({linkText:"More...",showOnHover:!1,cutoff:0})},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},1057:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(7)],void 0===(n=function(e,t){var r=e.create();r.name="agg/live-blog";function o(e){var r=t(this.hash);r.length&&(e.preventDefault(),t("html, body").animate({scrollTop:r.offset().top},1e3).promise().then((function(){if(window.location.hash=r.selector,r.focus(),r.is(":focus"))return!1;r.attr("tabindex","-1"),r.focus(),r.removeAttr("tabindex")})))}function n(){if("undefined"!=typeof nprLiveBlogTargetHash&&null!==nprLiveBlogTargetHash){var e=document.getElementById(nprLiveBlogTargetHash.substring(1)),r=e.getBoundingClientRect().top+window.scrollY;t("html, body").animate({scrollTop:r},1e3).promise().then((function(){window.history.replaceState(null,null,nprLiveBlogTargetHash),e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}))}}r.onReady=function(){var e,r;t(".live-updates__stories a").on("click",o),t("body").hasClass("liveBlog")&&(e=Date.now(),r=setInterval((function(){var t=Date.now();0===document.querySelectorAll("blockquote.twitter-tweet").length&&(clearInterval(r),n()),t-e>2500&&(clearInterval(r),n())}),250))},r.onUnload=function(){t("body").hasClass("liveBlog")&&t(".live-updates__stories a").off("click",o)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},1192:function(e,t,r){"use strict";var o,n;o=[r(7)],void 0===(n=function(e){return e.fn.clicktoggle=function(t,r){return this.each((function(){var o=!1;e(this).bind("click",(function(){return o?(o=!1,r.apply(this,arguments)):(o=!0,t.apply(this,arguments))}))}))},e}.apply(t,o))||(e.exports=n)},1200:function(e,t,r){ /*! * URI.js - Mutating URLs * * Version: 1.17.0 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org/licenses/GPL-3.0 * */ !function(t,o){"use strict";e.exports=function(e,t,r,o){var n=o&&o.URI;function i(e,t){var r=arguments.length>=1,o=arguments.length>=2;if(!(this instanceof i))return r?o?new i(e,t):new i(e):new i;if(void 0===e){if(r)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.17.0";var a=i.prototype,s=Object.prototype.hasOwnProperty;function c(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===l(e)}function d(e,t){var r,o,n={};if("RegExp"===l(t))n=null;else if(u(t))for(r=0,o=t.length;r]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/},i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.invalid_hostname_characters=/[^a-zA-Z0-9\.-]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=m,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=m,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var r=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?r.replace(/%20/g,"+"):r},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var v,b={encode:"encode",decode:"decode"},y=function(e,t){return function(r){try{return i[t](r+"").replace(i.characters[e][t].expression,(function(r){return i.characters[e][t].map[r]}))}catch(e){return r}}};for(v in b)i[v+"PathSegment"]=y("pathname",b[v]),i[v+"UrnPathSegment"]=y("urnpath",b[v]);var _=function(e,t,r){return function(o){var n;n=r?function(e){return i[t](i[r](e))}:i[t];for(var a=(o+"").split(e),s=0,c=a.length;s-1&&(t.fragment=e.substring(r+1)||null,e=e.substring(0,r)),(r=e.indexOf("?"))>-1&&(t.query=e.substring(r+1)||null,e=e.substring(0,r)),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(r=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,r)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(r+1,r+3)?(e=e.substring(r+3),e=i.parseAuthority(e,t)):(e=e.substring(r+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){var r,o,n=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===n&&(n=e.length),"["===e.charAt(0))r=e.indexOf("]"),t.hostname=e.substring(1,r)||null,t.port=e.substring(r+2,n)||null,"/"===t.port&&(t.port=null);else{var i=e.indexOf(":"),a=e.indexOf("/"),s=e.indexOf(":",i+1);-1!==s&&(-1===a||s-1?o:e.length-1);return n>-1&&(-1===o||n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,g=String.fromCharCode;function m(e){throw RangeError(p[e])}function v(e,t){for(var r=e.length;r--;)e[r]=t(e[r]);return e}function b(e,t){return v(e.split(h),t).join(".")}function y(e){for(var t,r,o=[],n=0,i=e.length;n=55296&&t<=56319&&n65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=g(e)})).join("")}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,r){var o=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;o+=36)e=f(e/35);return f(o+36*e/(e+38))}function x(e){var t,r,o,n,i,a,s,c,u,d,h,p=[],g=e.length,v=0,b=128,y=72;for((r=e.lastIndexOf("-"))<0&&(r=0),o=0;o=128&&m("not-basic"),p.push(e.charCodeAt(o));for(n=r>0?r+1:0;n=g&&m("invalid-input"),((c=(h=e.charCodeAt(n++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||c>f((l-v)/a))&&m("overflow"),v+=c*a,!(c<(u=s<=y?1:s>=y+26?26:s-y));s+=36)a>f(l/(d=36-u))&&m("overflow"),a*=d;y=k(v-i,t=p.length+1,0==i),f(v/t)>l-b&&m("overflow"),b+=f(v/t),v%=t,p.splice(v++,0,b)}return _(p)}function A(e){var t,r,o,n,i,a,s,c,u,d,h,p,v,b,_,x=[];for(p=(e=y(e)).length,t=128,r=0,i=72,a=0;a=t&&hf((l-r)/(v=o+1))&&m("overflow"),r+=(s-t)*v,t=s,a=0;al&&m("overflow"),h==t){for(c=r,u=36;!(c<(d=u<=i?1:u>=i+26?26:u-i));u+=36)_=c-d,b=36-d,x.push(g(w(d+_%b,0))),c=f(_/b);x.push(g(w(c,0))),i=k(r,v,o==n),r=0,++o}++r,++t}return x.join("")}c={version:"1.2.3",ucs2:{decode:y,encode:_},decode:x,encode:A,toASCII:function(e){return b(e,(function(e){return d.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return b(e,(function(e){return u.test(e)?x(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(85)(e),r(28))},1202:function(e,t,r){ /*! * URI.js - Mutating URLs * IPv6 Support * * Version: 1.17.0 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org/licenses/GPL-3.0 * */ !function(t,r){"use strict";e.exports=function(e){var t=e&&e.IPv6;return{best:function(e){var t,r,o=e.toLowerCase().split(":"),n=o.length,i=8;for(""===o[0]&&""===o[1]&&""===o[2]?(o.shift(),o.shift()):""===o[0]&&""===o[1]?o.shift():""===o[n-1]&&""===o[n-2]&&o.pop(),-1!==o[(n=o.length)-1].indexOf(".")&&(i=7),t=0;t1);s++)r.splice(0,1);o[a]=r.join("")}var c=-1,l=0,u=0,d=-1,h=!1;for(a=0;al&&(c=d,l=u)):"0"===o[a]&&(h=!0,d=a,u=1);u>l&&(c=d,l=u),l>1&&o.splice(c,l,""),n=o.length;var p="";for(""===o[0]&&(p=":"),a=0;a=e.length-1)return!1;var o=e.lastIndexOf(".",t-1);if(o<=0||o>=t-1)return!1;var n=r.list[e.slice(t+1)];return!!n&&n.indexOf(" "+e.slice(o+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var o=r.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var o=e.lastIndexOf(".",t-1);if(o<=0||o>=t-1)return null;var n=r.list[e.slice(t+1)];return n?n.indexOf(" "+e.slice(o+1,t)+" ")<0?null:e.slice(o+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return r}()}()},1204:function(e,t,r){var o,n,i; /*! -------------------------------- Infinite Scroll -------------------------------- + https://github.com/paulirish/infinite-scroll + version 2.1.0 + Copyright 2011/12 Paul Irish & Luke Shumard + Licensed under the MIT license + Documentation: http://infinite-scroll.com/ */n=[r(7)],void 0===(i="function"==typeof(o=function(e,t){"use strict";e.infinitescroll=function(t,r,o){this.element=e(o),this._create(t,r)||(this.failed=!0)},e.infinitescroll.defaults={loading:{finished:t,finishedMsg:"",img:"",msg:null,msgText:"",selector:null,speed:"fast",start:t},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:t,binder:e(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:t,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:t,path:t,prefill:!1,maxPage:t},e.infinitescroll.prototype={_binding:function(e){var r=this,o=r.options;if(o.v="2.0b2.120520",o.behavior&&this["_binding_"+o.behavior]!==t)this["_binding_"+o.behavior].call(this);else{if("bind"!==e&&"unbind"!==e)return this._debug("Binding value "+e+" not valid"),!1;"unbind"===e?this.options.binder.unbind("smartscroll.infscr."+r.options.infid):this.options.binder[e]("smartscroll.infscr."+r.options.infid,(function(){r.scroll()})),this._debug("Binding",e)}},_create:function(r,o){var n=e.extend(!0,{},e.infinitescroll.defaults,r);this.options=n;var i=e(window);if(!this._validate(r))return!1;var a=e(n.nextSelector).attr("href");if(!a)return this._debug("Navigation selector not found"),!1;n.path=n.path||this._determinepath(a),n.contentSelector=n.contentSelector||this.element,n.loading.selector=n.loading.selector||n.contentSelector,n.loading.msg=n.loading.msg||e('
Loading...
'+n.loading.msgText+"
"),(new Image).src=n.loading.img,n.pixelsFromNavToBottom===t&&(n.pixelsFromNavToBottom=e(document).height()-e(n.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+n.pixelsFromNavToBottom));var s=this;return n.loading.start=n.loading.start||function(){e(n.navSelector).hide(),n.loading.msg.appendTo(n.loading.selector).show(n.loading.speed,e.proxy((function(){this.beginAjax(n)}),s))},n.loading.finished=n.loading.finished||function(){n.state.isBeyondMaxPage||n.loading.msg.fadeOut(n.loading.speed)},n.callback=function(r,a,s){n.behavior&&r["_callback_"+n.behavior]!==t&&r["_callback_"+n.behavior].call(e(n.contentSelector)[0],a,s),o&&o.call(e(n.contentSelector)[0],a,n,s),n.prefill&&i.bind("resize.infinite-scroll",r._prefill)},r.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach((function(e){console[e]=this.call(console[e],console)}),Function.prototype.bind)),this._setup(),n.prefill&&this._prefill(),!0},_prefill:function(){var t=this,r=e(window);function o(){return e(t.options.contentSelector).height()<=r.height()}this._prefill=function(){o()&&t.scroll(),r.bind("resize.infinite-scroll",(function(){o()&&(r.unbind("resize.infinite-scroll"),t.scroll())}))},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?console.log(Array.prototype.slice.call(arguments).toString()):console.log(Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(e){var r=this.options;if(r.behavior&&this["_determinepath_"+r.behavior]!==t)return this["_determinepath_"+r.behavior].call(this,e);if(r.pathParse)return this._debug("pathParse manual"),r.pathParse(e,this.options.state.currPage+1);if(e.match(/^(.*?)\b2\b(.*?$)/))e=e.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)2(.*?$)/)){if(e.match(/^(.*?page=)2(\/.*|$)/))return e=e.match(/^(.*?page=)2(\/.*|$)/).slice(1);e=e.match(/^(.*?)2(.*?$)/).slice(1)}else{if(e.match(/^(.*?page=)1(\/.*|$)/))return e=e.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),r.state.isInvalidPage=!0}return this._debug("determinePath",e),e},_error:function(e){var r=this.options;r.behavior&&this["_error_"+r.behavior]!==t?this["_error_"+r.behavior].call(this,e):("destroy"!==e&&"end"!==e&&(e="unknown"),this._debug("Error",e),("end"===e||r.state.isBeyondMaxPage)&&this._showdonemsg(),r.state.isDone=!0,r.state.currPage=1,r.state.isPaused=!1,r.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(r,o,n){var i,a=this.options,s=this.options.callback,c=a.state.isDone?"done":a.appendCallback?"append":"no-append";if(a.behavior&&this["_loadcallback_"+a.behavior]!==t)this["_loadcallback_"+a.behavior].call(this,r,o,n);else{switch(c){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===a.dataType&&(o=e(o="
"+o+"
").find(a.itemSelector)),0===o.length)return this._error("end");break;case"append":var l=r.children();if(0===l.length)return this._error("end");for(i=document.createDocumentFragment();r[0].firstChild;)i.appendChild(r[0].firstChild);this._debug("contentSelector",e(a.contentSelector)[0]),e(a.contentSelector)[0].appendChild(i),o=l.get()}if(a.loading.finished.call(e(a.contentSelector)[0],a),a.animate){var u=e(window).scrollTop()+e(a.loading.msg).height()+a.extraScrollPx+"px";e("html,body").animate({scrollTop:u},800,(function(){a.state.isDuringAjax=!1}))}a.animate||(a.state.isDuringAjax=!1),s(this,o,n),a.prefill&&this._prefill()}},_nearbottom:function(){var r=this.options,o=0+e(document).height()-r.binder.scrollTop()-e(window).height();return r.behavior&&this["_nearbottom_"+r.behavior]!==t?this["_nearbottom_"+r.behavior].call(this):(this._debug("math:",o,r.pixelsFromNavToBottom),o-r.bufferPx-1&&0===e(t[r]).length)return this._debug("Your "+r+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(r){var o,n,i,a,s=this,c=r.path;if(r.state.currPage++,r.maxPage!==t&&r.state.currPage>r.maxPage)return r.state.isBeyondMaxPage=!0,void this.destroy();switch(o=e(r.contentSelector).is("table, tbody")?e(""):e("
"),n="function"==typeof c?c(r.state.currPage):c.join(r.state.currPage),s._debug("heading into ajax",n),i="html"===r.dataType||"json"===r.dataType?r.dataType:"html+callback",r.appendCallback&&"html"===r.dataType&&(i+="+callback"),i){case"html+callback":s._debug("Using HTML via .load() method"),o.load(n+" "+r.itemSelector,t,(function(e){s._loadcallback(o,e,n)}));break;case"html":s._debug("Using "+i.toUpperCase()+" via $.ajax() method"),e.ajax({url:n,dataType:r.dataType,complete:function(e,t){(a=void 0!==e.isResolved?e.isResolved():"success"===t||"notmodified"===t)?s._loadcallback(o,e.responseText,n):s._error("end")}});break;case"json":s._debug("Using "+i.toUpperCase()+" via $.ajax() method"),e.ajax({dataType:"json",type:"GET",url:n,success:function(e,i,c){if(a=void 0!==c.isResolved?c.isResolved():"success"===i||"notmodified"===i,r.appendCallback)if(r.template!==t){var l=r.template(e);o.append(l),a?s._loadcallback(o,l):s._error("end")}else s._debug("template must be defined."),s._error("end");else a?s._loadcallback(o,e,n):s._error("end")},error:function(){s._debug("JSON ajax request failed."),s._error("end")}})}},retrieve:function(r){r=r||null;var o=this.options;if(o.behavior&&this["retrieve_"+o.behavior]!==t)this["retrieve_"+o.behavior].call(this,r);else{if(o.state.isDestroyed)return this._debug("Instance is destroyed"),!1;o.state.isDuringAjax=!0,o.loading.start.call(e(o.contentSelector)[0],o)}},scroll:function(){var e=this.options,r=e.state;e.behavior&&this["scroll_"+e.behavior]!==t?this["scroll_"+e.behavior].call(this):r.isDuringAjax||r.isInvalidPage||r.isDone||r.isDestroyed||r.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(t){e.isPlainObject(t)&&(this.options=e.extend(!0,this.options,t))}},e.fn.infinitescroll=function(t,r){var o=typeof t;switch(o){case"string":var n=Array.prototype.slice.call(arguments,1);this.each((function(){var r=e.data(this,"infinitescroll");return!!r&&!(!e.isFunction(r[t])||"_"===t.charAt(0))&&void r[t].apply(r,n)}));break;case"object":this.each((function(){var o=e.data(this,"infinitescroll");o?o.update(t):(o=new e.infinitescroll(t,r,this)).failed||e.data(this,"infinitescroll",o)}))}return this};var r,o=e.event;o.special.smartscroll={setup:function(){e(this).bind("scroll",o.special.smartscroll.handler)},teardown:function(){e(this).unbind("scroll",o.special.smartscroll.handler)},handler:function(t,o){var n=this,i=arguments;t.type="smartscroll",r&&clearTimeout(r),r=setTimeout((function(){e(n).trigger("smartscroll",i)}),"execAsap"===o?0:100)}},e.fn.smartscroll=function(e){return e?this.bind("smartscroll",e):this.trigger("smartscroll",["execAsap"])}})?o.apply(t,n):o)||(e.exports=i)},1250:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(469));var n={};n[o.ETHICS_SERIES]={facetName:"series",refinementValue:"NPR Ethics Handbook"},n[o.MEMMOS_BLOG]={facetName:"blogs",refinementValue:"Memmos"},t.default=n},1315:function(e,t,r){var o,n,i;n=[r(7)],void 0===(i="function"==typeof(o=function(e){function t(t){e("li.flexMenu-viewMore.active").not(t).removeClass("active").find("> ul").hide()}var r,o=e(window).width(),n=e(window).height(),i=[];e(window).resize((function(){clearTimeout(r),r=setTimeout((function(){e(window).width()===o&&e(window).height()===n||(e(i).each((function(){e(this).flexMenu({undo:!0}).flexMenu(this.options)})),o=e(window).width(),n=e(window).height())}),200)})),e.fn.flexMenu=function(r){var o,n=e.extend({threshold:2,cutoff:2,linkText:"More",linkTitle:"View More",linkTextAll:"Menu",linkTitleAll:"Open/Close Menu",shouldApply:function(){return!0},showOnHover:!0,popupAbsolute:!0,popupClass:"",undo:!1},r);return this.options=n,(o=e.inArray(this,i))>=0?i.splice(o,1):i.push(this),this.each((function(){function r(e){return Math.ceil(e.offset().top)>=g+m}var o,i,a,s,c,l,u=e(this),d=u.find("> li"),h=d.first(),p=d.last(),f=u.find("li").length,g=Math.floor(h.offset().top),m=Math.floor(h.outerHeight(!0)),v=!1;if(r(p)&&f>n.threshold&&!n.undo&&u.is(":visible")&&n.shouldApply()){var b=e('');for(b.addClass(n.popupClass),l=f;l>1;l--){if(i=r(o=u.find("> li:last-child")),l-1<=n.cutoff){e(u.children().get().reverse()).appendTo(b),v=!0;break}if(!i)break;o.appendTo(b)}v?u.append('
  • '+n.linkTextAll+"
  • "):u.append('
  • '+n.linkText+"
  • "),r(a=u.find("> li.flexMenu-viewMore"))&&u.find("> li:nth-last-child(2)").appendTo(b),b.children().each((function(e,t){b.prepend(t)})),a.append(b),u.find("> li.flexMenu-viewMore > a").click((function(e){t(a),b.toggle(),a.toggleClass("active"),e.preventDefault()})),n.showOnHover&&"undefined"!=typeof Modernizr&&!Modernizr.touch&&a.hover((function(){b.show(),e(this).addClass("active")}),(function(){b.hide(),e(this).removeClass("active")}))}else if(n.undo&&u.find("ul.flexMenu-popup")){for(s=(c=u.find("ul.flexMenu-popup")).find("li").length,l=1;l<=s;l++)c.find("> li:first-child").appendTo(u);c.remove(),u.find("> li.flexMenu-viewMore").remove()}}))}})?o.apply(t,n):o)||(e.exports=i)},290:function(e,t,r){"use strict";var o=s(r(24)),n=s(r(124)),i=s(r(145)),a=s(r(146));function s(e){return e&&e.__esModule?e:{default:e}}var c=o.default.create();c.name="navigation/subtopic-subnav";var l=function(){!n.default.isScreenLargerOrEqual(n.default.BREAKPOINT.LARGE)||"true"!==document.getElementsByTagName("body")[0].getAttribute("data-subtopic-submenu-click")&&null!==document.getElementsByTagName("body")[0].getAttribute("data-subtopic-submenu-system")?!n.default.isScreenSmallerOrEqual(n.default.BREAKPOINT.MEDIUM)||"true"!==document.getElementsByTagName("body")[0].getAttribute("data-subtopic-submenu-hover")&&null!==document.getElementsByTagName("body")[0].getAttribute("data-subtopic-submenu-system")||(p(),u()):(d(),h())},u=function(){document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-click",!0),document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-system",!0);var e=document.querySelectorAll(".subtopics__item.has-submenu > button");Array.prototype.forEach.call(e,(function(e){e.addEventListener("click",g)})),document.addEventListener("npr:dropdownOpened",m),document.addEventListener("npr:aggToolsClosed",m)},d=function(){document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-click",!1),m();var e=document.querySelectorAll(".subtopics__item.has-submenu > button");Array.prototype.forEach.call(e,(function(e){e.removeEventListener("click",g)})),document.removeEventListener("npr:dropdownOpened",m),document.removeEventListener("npr:aggToolsClosed",m)},h=function(){document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-hover",!0),document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-system",!0);var e=document.querySelectorAll(".subtopics__item.has-submenu");Array.prototype.forEach.call(e,(function(e){e.addEventListener("mouseenter",f),e.addEventListener("mouseleave",f)}))},p=function(){document.getElementsByTagName("body")[0].setAttribute("data-subtopic-submenu-hover",!1),m();var e=document.querySelectorAll(".subtopics__item.has-submenu");Array.prototype.forEach.call(e,(function(e){e.removeEventListener("mouseenter",f),e.removeEventListener("mouseleave",f)}))},f=function(e){var t=e.target.querySelectorAll(".subtopics__submenu")[0],r=e.target.querySelectorAll(".subtopics__toggle")[0];"mouseenter"===e.type?(t.classList.add("is-expanded"),r.classList.add("is-chosen"),r.setAttribute("aria-expanded","true")):(t.classList.remove("is-expanded"),r.classList.remove("is-chosen"),r.setAttribute("aria-expanded","false"))},g=function(e){var t=e.target.nextElementSibling,r=t.classList[1],o=document.querySelectorAll(".subtopics__item.has-submenu");Array.prototype.forEach.call(o,(function(e){var t=e.querySelectorAll(".subtopics__submenu")[0];t.classList[1]!==r&&t.classList.contains("is-expanded")&&(e.querySelectorAll(".subtopics__submenu")[0].classList.toggle("is-expanded"),e.querySelectorAll(".subtopics__toggle")[0].classList.toggle("is-chosen"),e.querySelectorAll(".subtopics__toggle")[0].setAttribute("aria-expanded","false"))})),e.target.classList.toggle("is-chosen"),t.classList.toggle("is-expanded"),"true"===e.target.getAttribute("aria-expanded")?e.target.setAttribute("aria-expanded","false"):e.target.setAttribute("aria-expanded","true")},m=function(){var e=document.querySelectorAll(".subtopics__item.has-submenu");Array.prototype.forEach.call(e,(function(e){e.querySelectorAll(".subtopics__submenu")[0].classList.contains("is-expanded")&&(e.querySelectorAll(".subtopics__submenu")[0].classList.toggle("is-expanded"),e.querySelectorAll(".subtopics__toggle")[0].classList.toggle("is-chosen"))}))},v=function(e){n.default.isScreenLargerOrEqual(n.default.BREAKPOINT.LARGE)&&("keyboard"===e?b():"mouse"===e&&y())},b=function(){var e=document.querySelectorAll(".subtopics__toggle");Array.prototype.forEach.call(e,(function(e){e.classList.remove("is-chosen"),e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded")}));var t=document.querySelectorAll(".subtopics__submenu.is-expanded");Array.prototype.forEach.call(t,(function(e){e.classList.remove("is-expanded")}));var r=document.querySelectorAll(".subtopics__toggle");Array.prototype.forEach.call(r,(function(e){e.addEventListener("click",g)}))},y=function(){var e=document.querySelectorAll(".subtopics__toggle");Array.prototype.forEach.call(e,(function(e){e.removeEventListener("click",g),e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded"),e.classList.remove("is-chosen")}));var t=document.querySelectorAll(".subtopics__submenu.is-expanded");Array.prototype.forEach.call(t,(function(e){e.classList.remove("is-expanded")}))};c.onReady=function(){a.default.registerOnChange(v,"intent"),document.querySelectorAll(".subtopics__item.has-submenu").length&&(l(),window.addEventListener("resize",(0,i.default)(l,300)))},c.onUnload=function(){n.default.isScreenLargerOrEqual(n.default.BREAKPOINT.LARGE)?p():d(),document.getElementsByTagName("body")[0].removeAttribute("data-subtopic-submenu-system")},c.register()},291:function(e,t,r){"use strict";var o=a(r(24)),n=a(r(27)),i=a(r(1250));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.create();s.name="search/faceting-param";var c=function(e){var t=document.getElementById("navigation_dropdown-search"),r=t.getAttribute("href");r=n.default.addUrlParameter(r,"refinementList["+e.facetName+"]",e.refinementValue),t.setAttribute("href",r)};s.onReady=function(){var e=NPR.serverVars.storyId,t=NPR.serverVars.aggIds;if(i.default[e])c(i.default[e]);else if(t){var r=t.find((function(e){return i.default[e]}));r&&c(i.default[r])}},s.onUnload=function(){document.getElementById("navigation_dropdown-search").setAttribute("href","/search")},s.register()},30:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(317),r(7)],void 0===(n=function(e,t,r){var o=e.create();o.name="player/more-options",o.onReady=function(){r("#wrapper").on("click",".bucketwrap.resaudio .audio-module-tools-toggle",(function(e){r(this).parent(".audio-module-tools").toggleClass("is-active"),r(this).parent(".audio-module-tools").find(".audio-module-more-tools").removeClass("has-secondary-overlay"),r(this).parent(".audio-module-tools").find(".audio-embed-overlay").removeClass("is-active"),r(this).parent(".audio-module-tools").find(".ecommercepop").removeClass("is-active");var t=r(this).parents(".bucketwrap.internallink");t.length&&t.toggleClass("has-active-audio-tools")})),function(){t.touch||r(".audio-embed-overlay .embed-url").on("click",(function(e){r(this).select()}));var e=r("#wrapper");e.on("click",".bucketwrap.resaudio .audio-tool-embed > button",(function(e){e.preventDefault();var t=r(this).parents(".bucketwrap.resaudio");t.find(".audio-module-more-tools").toggleClass("has-secondary-overlay"),t.find(".audio-embed-overlay").toggleClass("is-active")})),e.on("click",".bucketwrap.resaudio .audio-embed-overlay .btn-close",(function(e){r(this).parent(".audio-embed-overlay").removeClass("is-active"),r(this).parents(".audio-module-more-tools").removeClass("has-secondary-overlay")}))}()},o.onUnload=function(){var e=r("#wrapper");r(".audio-embed-overlay .embed-url").off("click"),e.off("click",".bucketwrap.resaudio .audio-tool-embed")},o.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},40:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(7),r(1192)],void 0===(n=function(e,t){var r=e.create();function o(){t(this).addClass("active"),t(".subnav-tools-wrap").slideDown()}function n(){t(this).removeClass("active"),document.dispatchEvent(new CustomEvent("npr:aggToolsClosed")),t(".subnav-tools-wrap").slideUp()}r.name="agg/tools",r.onReady=function(){t(".contentheader .toggle").clicktoggle(o,n)},r.onUnload=function(){t(".contentheader .toggle").off("click")},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},41:function(e,t,r){"use strict";(function(e){var o,n,i,a=r(124),s=(i=a)&&i.__esModule?i:{default:i};o=[r(7),r(24)],void 0===(n=function(e,t){var r=t.create();function o(t,r){var o=e("main"),n=r.offset(),i=o.find("#ecommercePopupContainer");0===i.length?i=e('
    ').appendTo("main"):i.empty(),i.append(t.clone().addClass("is-active"));var a=n.left-(i.outerWidth()-r.outerWidth());n.left<=i.outerWidth()&&(a="30px");var c=void 0;c=s.default.isScreenSmallerOrEqual(s.default.BREAKPOINT.SMALL)?{top:n.top,left:"auto",right:"50%","margin-right":-i.outerWidth()/2}:{top:n.top,left:a,right:"auto","margin-right":0},i.css(c)}function n(t){t.preventDefault();var r=e(this);o(r.parents(".bookedition").find(".ecommercepop"),r)}function i(t){t.preventDefault();var r=e(this);o(r.parents(".ecommerce").children(".ecommercepop"),r)}function a(t){t.preventDefault();var r=e(this);o(r.parents(".bucketwrap.resaudio").find(".ecommercepop"),r),r.parents(".audio-module-tools").removeClass("is-active")}function c(t){t.preventDefault(),e(this).parent().find(".ecommercepop").toggleClass("is-active")}function l(t){e(this).parents(".ecommercepop").removeClass("is-active")}r.name="ecommerce",r.onReady=function(){e(".bookedition a.purchase").on("click",n),e(".ecommerce__button").on("click",i),e(".musicbutton-purchase").on("click",c),e(".bucketwrap.resaudio .audio-tool-buy").on("click",a),e(document).on("click",".ecommercepop .btn-close",l)},r.onUnload=function(){e(".bookedition a.purchase").off("click",n),e(".ecommerce__button").off("click",i),e(".musicbutton-purchase").off("click",c),e(".bucketwrap.resaudio .audio-tool-buy").off("click",a),e(".ecommercepop .btn-close").off("click",l),e(document).off("click",".ecommercepop .btn-close",l)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},42:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(7)],void 0===(n=function(e,t){var r=e.create();function o(e){e.preventDefault(),t(this).parents(".credit-caption").find(".caption").slideToggle(),t(this).toggleClass("engaged")}function n(e){e.preventDefault(),t(this).parents(".credit-caption").find(".toggle-caption").trigger("click")}r.name="images/captions",r.onReady=function(){t(".toggle-caption").on("click",o),t(".hide-caption").on("click",n)},r.onUnload=function(){t(".toggle-caption").off("click",o),t(".hide-caption").off("click",n)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},61:function(e,t,r){"use strict";(function(e){var o,n;o=[r(24),r(7)],void 0===(n=function(e,t){var r=e.create();r.name="images/enlargement";var o=void 0;function n(e){e.preventDefault();var r=t(this),n=0!==r.parents(".bucketwrap.image").length?r.parents(".bucketwrap.image"):r.parents(".bucketwrap"),a=t("div.enlarge_measure img",n),s=t("div.enlarge_measure source",n);o=document.activeElement,void 0===a.attr("src")?(a.bind("load",(function(){void 0===a.attr("src")&&(a.attr("src",a.data("original")),s.each((function(){t(this).attr("srcset",t(this).data("original"))}))),i(r)})),a.attr("src",a.data("original")),s.each((function(){t(this).attr("srcset",t(this).data("original"))}))):i(r)}function i(e){var r,o=t("body"),n=0!==e.parents(".bucketwrap.image").length?e.parents(".bucketwrap.image"):e.parents(".bucketwrap"),i=n.children(".enlarge_html"),c=n.children(".enlarge_measure");0===t("#mediaEnlargeOverlay").length&&(o.append('
    '),t("#mediaEnlargeFrame").prepend(c.html()+i.html())),t("html").addClass("mediaEnlarged"),a(),t(window).on("resize",a),t("#mediaEnlargeOverlay, #mediaEnlargeFrame img, #mediaEnlargeFrame .close").on("click",s),(r=t("#mediaEnlargeFrame a, #mediaEnlargeFrame button"))[r.length-1].focus(),t(document).on("keydown.mediaEnlargement",(function(e){switch(e.keyCode){case 27:s(e);break;case 9:1===r.length?e.preventDefault():e.shiftKey?document.activeElement===r[0]&&(e.preventDefault(),r[r.length-1].focus()):document.activeElement===r[r.length-1]&&(e.preventDefault(),r[0].focus())}}))}function a(){var e=t("#mediaEnlargeFrame"),r=t(window).width(),o=t(window).height(),n=.95*r,i=.95*o;i<350&&(i=350);var a=(r-n)/2,s=(o-i)/2+t(window).scrollTop();r>=1300&&(a=(1300-(n=1235))/2),e.css({width:n,height:i,top:s,left:a});var c=t(".image_data",e).outerHeight()+parseInt(t(".image_data",e).css("bottom")),l=e.height()-c;t(".img_wrap",e).css({height:l,lineHeight:l+"px"})}function s(e){e&&e.preventDefault(),t("html").removeClass("mediaEnlarged"),t("#mediaEnlargeOverlay").remove(),c(),o&&o.focus()}function c(){t(document).off("keydown.mediaEnlargement")}r.onReady=function(){t(".enlarge-options").append(''),t(".enlarge-options > .enlargelink").remove(),t(".enlargebtn").on("click",n)},r.onUnload=function(){s(),c(),t(".enlargebtn").off("click",n),t("div.enlarge_measure img").off("load"),t("#mediaEnlargeOverlay, #mediaEnlargeFrame img, #mediaEnlargeFrame .close").off("click",s),t(window).off("resize",a)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},62:function(e,t,r){"use strict";(function(e){var o,n,i,a=r(124),s=(i=a)&&i.__esModule?i:{default:i};o=[r(24),r(7),r(317)],void 0===(n=function(e,t,r){var o=e.create();o.name="images/hover-credits";var n=!1;function i(e){return!e.hasClass("item-image-podcast")&&(0===e.parents(".mhp-section.interviews").length&&0===e.parents(".featured-1-up").length)}function a(){var e=t(this);i(e)&&e.find(".credit-caption").fadeIn("fast")}function c(){var e=t(this);i(e)&&e.find(".credit-caption").fadeOut("fast")}function l(){var e=t(this),r=t(".toggle-caption",e);e.on({mouseenter:function(){r.hasClass("engaged")||t(this).find(".credit").fadeIn("fast")},mouseleave:function(){r.hasClass("engaged")||t(this).find(".credit").fadeOut("fast")}})}function u(){t(document).off("mouseenter",".item-image, .photowrap, .hp-item-basic .bucketwrap.homeThumb",a),t(document).off("mouseleave",".item-image, .photowrap, .hp-item-basic .bucketwrap.homeThumb",c),t(".credit-caption, .credit").removeAttr("style"),t(".featured-1-up .item-image").off("mouseenter mouseleave")}function d(){var e=t("body");!(e.hasClass("music")||e.hasClass("podcast")||e.hasClass("tmplHomePage"))||e.hasClass("tmplPodcastHome")||r.touch||(s.default.isScreenLargerOrEqual(s.default.BREAKPOINT.LARGE)&&!1===n?(t(document).on("mouseenter",".item-image, .photowrap, .hp-item-basic .bucketwrap.homeThumb",a),t(document).on("mouseleave",".item-image, .photowrap, .hp-item-basic .bucketwrap.homeThumb",c),t(".featured-1-up .item-image").each(l),n=!0):s.default.isScreenSmaller(s.default.BREAKPOINT.LARGE)&&!0===n&&(u(),n=!1))}o.onReady=function(){d(),t(window).on("resize",d)},o.onUnload=function(){t(window).off("resize",d),n&&u()},o.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},63:function(e,t,r){"use strict";(function(e){var o,n,i,a=r(124),s=(i=a)&&i.__esModule?i:{default:i};o=[r(24),r(7),r(1192)],void 0===(n=function(e,t){var r=e.create();function o(e){if(e.preventDefault(),s.default.isScreenSmallerOrEqual(s.default.BREAKPOINT.SMALL)||t("body").hasClass("agg")){var r=t(this);r.parent().next("div").slideDown(),r.addClass("active")}}function n(e){if(e.preventDefault(),s.default.isScreenSmallerOrEqual(s.default.BREAKPOINT.SMALL)||t("body").hasClass("agg")){var r=t(this);r.parent().next("div").slideUp(),r.removeClass("active")}}r.name="contentfooter",r.onReady=function(){t(".module > h3 a","#contentfooter").clicktoggle(o,n)},r.onUnload=function(){t(".module > h3 a","#contentfooter").off("click",o).off("click",n)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},82:function(e,t,r){"use strict";(function(e){var o,n,i,a=r(72),s=(i=a)&&i.__esModule?i:{default:i};o=[r(7),r(24),r(1200),r(1204)],void 0===(n=function(e,t,r){var o=void 0,n=void 0,i=void 0,a=void 0,c=void 0,l=t.create();function u(e){var t=new r(a),o=NPR.serverVars.initialStories+NPR.serverVars.infiniteNumResults*e+1;return t.query((function(e){return e.start=o,e})),t}function d(){var t=e("body");return!(!(t.hasClass("tmplPodcastChannel")||t.hasClass("agg")||t.hasClass("bio"))||t.hasClass("archive")||t.hasClass("tmplPodcastAgg"))}l.name="infinitescroll",l.onReady=function(){var t=e("#infinitescroll");if(0!==t.length){if(n=t.data("item-selector"),d()){i="/get/"+NPR.serverVars.storyId+"/render/partial/next",a="/get/"+NPR.serverVars.storyId+"/remainingCount";var l=u(0).toString();e.ajax({url:l,cache:!0}).done((function(t){0!==parseInt(t,10)&&(e(".options").addClass("has-more-results"),e(".agg-archive-search-tools").addClass("has-archive"))}))}else i=e("a:first","#scrolllink").attr("href");o=0,t.infinitescroll({navSelector:"div#scrolllink",nextSelector:"div#scrolllink a:first",itemSelector:n,bufferPx:100,pixelsFromNavToBottom:50,loading:{finished:void 0,finishedMsg:"No more stories available.",img:"//media.npr.org/chrome/loader.gif",msg:null,msgText:"Loading more stories...",selector:null,speed:"fast",start:void 0},path:function(t){var a=function(t){var o=new r(i);if(e("body").hasClass("program")){var a=e(n),s=a.last().data("episode-date"),c=a.last().data("episode-id");o.query((function(e){return e.date=s,e.eid=c,e}))}else{var l=NPR.serverVars.initialStories+NPR.serverVars.infiniteNumResults*t+1;o.query((function(e){return e.start=l,e}))}return o}(o);return o=t-1,a.toString()}},(function(){var t=e("body");if(s.default.trackEvent({category:t.hasClass("program")?"program":t.hasClass("podcast")?"podcast directory":t.hasClass("agg")?"agg":t.hasClass("tmplEventMusicStory")?"mle":t.hasClass("bio")?"bio":"unknown",action:"infinite scroll",label:""+o,noninteraction:!0}),e("main").trigger("infiniteScrollComplete"),e(document).trigger("newAudioModules"),d()){window.scrollTo(0,c);var r=u(e("#infinitescroll").data("infinitescroll").options.state.currPage-1).toString();e.ajax({url:r,cache:!0}).done((function(t){0===parseInt(t,10)&&e(".options").removeClass("has-more-results")}))}})),d()&&(t.infinitescroll("pause"),e(".options__load-more").on("click",(function(){c=window.scrollY,t.infinitescroll("retrieve")})))}},l.onUnload=function(){var t=e("#infinitescroll");0!==t.length&&t.infinitescroll("destroy")},l.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},83:function(e,t,r){"use strict";(function(e){var o,n,i=s(r(124)),a=s(r(27));function s(e){return e&&e.__esModule?e:{default:e}}o=[r(7),r(24)],void 0===(n=function(e,t){var r=t.create();r.name="agg/archive";var o=".archive-nav .more";function n(){var e=a.default.getUrlParameter("date");return e?new Date(e).getFullYear():(new Date).getFullYear()}function s(t){t.preventDefault();var r=e(this);r.parent().find(".months").slideDown(),r.addClass("expanded")}function c(t){t.preventDefault();var r=e(this);e(".archive-nav .year").slideDown(),r.fadeOut()}function l(){!function(){var t=e('.contentheader:not(".contentheader--two")');if(!0===i.default.isScreenSmallerOrEqual(i.default.BREAKPOINT.SMALL)&&0===t.find(".drawer-archive").length){var r=e(".archive-nav").detach();e(".contentheader").not(".contentheader.contentheader--two").prepend(r),e(".contentheader .archive-nav").wrap('
    '),e(".contentheader .drawer-archive").before('')}else i.default.isScreenLargerOrEqual(i.default.BREAKPOINT.MEDIUM)&&t.find(".drawer-archive").length>0&&(e("#episodelist").length>0?e(".archive-nav").insertAfter("#episodelist"):e(".archive-nav").insertAfter(".archivelist"),e(".drawer-archive, .toggle-archive-nav").remove())}(),!0===i.default.isScreenSmallerOrEqual(i.default.BREAKPOINT.SMALL)&&e(".drawer-archive").height(e(window).height()-e(".contentheader").height())}function u(t){t.preventDefault(),e(this).toggleClass("is-active"),e(".drawer-archive").slideToggle()}r.onReady=function(){var t,r,i;e(o).on("click",c),e(".archive-nav .expand-year").on("click",s),t=n(),r=e(".archive-nav .year"),i=!0,r.each((function(r,o){var n=e(o);n.hasClass("year-"+t)&&r<5&&(i=!1),(r<5||i)&&n.show()})),i?e(o).hide():e(o).show(),function(){var t=n();e(".expand-year-"+t).click()}(),e('.contentheader:not(".contentheader--two")').on("click",".toggle-archive-nav",u),l(),e(window).on("resize",l)},r.onUnload=function(){e(o).off("click",c),e(o).off("click",s),e('.contentheader:not(".contentheader--two")').off("click",".toggle-archive-nav",u),e(window).off("resize",l)},r.register()}.apply(t,o))||(e.exports=n)}).call(this,r(85)(e))},84:function(e,t,r){"use strict";(function(e){var o,n,i,a=r(124),s=(i=a)&&i.__esModule?i:{default:i};o=[r(7),r(24),r(213)],void 0===(n=function(e,t,r){var o=t.create();o.name="social/sharepop";function n(t){var r=e(this);r.toggleClass("active");var o=r.parents(".bucketwrap.internallink");o.length&&o.toggleClass("has-active-subscribe-tools"),r.parents(".podcast-tools").find(".sharepop-four").fadeToggle(),t.preventDefault()}function i(t){s.default.isScreenSmallerOrEqual(s.default.BREAKPOINT.SMALL)?(r.deinitSocialShare(),e("article .social .share").hasClass("expanded")||e("ul.aux.social .share").hasClass("expanded")?(e(".shareModal li.share a.sharemaintab").off("click",i),e(".social.shareModal").remove()):(e("body").prepend(''),e(".share").clone().prependTo(".social.shareModal"),e(".shareModal li.share a.sharemaintab").on("click",i)),r.initSocialShare()):e(".social .share").toggleClass("expanded"),t.preventDefault()}return o.onReady=function(){var t=e("body");e("[data-sharepop]").sharePop(),(t.hasClass("tmplEventMusicStory")||t.hasClass("tmplEventMusicAggEmbed")||t.hasClass("tmplEventMusicStoryEmbed"))&&e("li.share a").on("click",i),e(".podcast-tools .subscribe > button").on("click",n)},o.onUnload=function(){e(window).off("SharePopThree.OPEN"),e("#sharepop-wrap").remove(),e("li.share a").off("click",i),e(".podcast-tools .subscribe > button").off("click",n)},e.fn.sharePop=function(t){var r=e.extend({openBehavior:"grow-left-and-down",mobileSize:768,click:function(){}},t);return this.each((function(){var t=e(this),o=function(t){var r=".sharepop";return void 0!==t.data("selector")&&(r=t.data("selector")),e(r)}(t),n=(o.height(),o.width()),i=void 0,a=void 0,s=function(){o.css({position:"absolute",left:(e(window).width()-n)/2,top:(e(window).height()-n)/2,"z-index":1e4}),a="slideDown",i=c("slideUp")},c=function(t){return function(r){r.preventDefault(),e("#sharepop-wrap").removeClass("active"),o[t](),e(window).off("resize",i)}};t.on("click",(function(l){l.preventDefault();var u=e("#sharepop-wrap");0===u.length&&(u=e('
    '),e("body").append(u)),u.addClass("active"),u.append(o),function(){var l=void 0,u=t.offset(),d=u.left,h=u.top;switch(r.openBehavior){case"grow-left-and-down":l=[d+t.outerWidth()-n,h],a="slideDown",i=c("slideUp");break;case"grow-right-and-down":l=[d,h],a="slideDown",i=c("slideUp");break;case"grow-up":l=[d,h+t.outerHeight()],a="slideUp",i=c("slideDown")}e(window).width()