1!function n(o,a,i){function s(t,e){if(!a[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=a[t]={exports:{}},o[t][0].call(r.exports,function(e){return s(o[t][1][e]||e)},r,r.exports,n,o,a,i)}return a[t].exports}for(var c="function"==typeof require&&require,e=0;e<i.length;e++)s(i[e]);return s}({1:[function(e,t,r){"use strict";e("./polyfill");var n=h(e("jquery")),o=e("./nber/alerts/Alert"),a=e("./nber/forms/AccessibleLabels"),i=e("./nber/forms/PasswordToggle"),s=e("./nber/helpers/ClickableCard"),c=e("./nber/accordions/SimpleAccordion"),l=h(e("./nber/modules/PrimaryNav.js")),u=e("./nber/modules/Hamburger.js"),f=e("./nber/search/index.js"),p=e("./nber/animations/PauseAllAnimations"),d=(e("./nber/animations/BackToTop"),h(e("./nber/modules/initSearchMenu"))),y=e("./nber/user/index.js"),b=e("./nber/conference-agenda/index.js"),m=e("./nber/helpers/expandableList"),e=(e("./nber/modules/ResponsiveTables"),e("./nber/helpers/CopyLink"),e("./nber/forms/CopyTextField.js"));function h(e){return e&&e.__esModule?e:{default:e}}var v,g=(0,n.default)(".js-alert"),g=(g.length&&n.default.makeArray(g).map(function(e){return new o.Alert((0,n.default)(e))}),(0,n.default)(".js-pause-animation")),g=(g.length&&n.default.makeArray(g).map(function(e){return new p.PauseAllAnimations((0,n.default)(e))}),(0,n.default)(".js-label")),g=(g.length&&n.default.makeArray(g).map(function(e){return new a.AccessibleLabels((0,n.default)(e))}),(0,n.default)(".js-password")),g=(g.length&&n.default.makeArray(g).map(function(e){return new i.PasswordToggle((0,n.default)(e))}),(0,n.default)(".js-clickable-card")),g=(g.length&&n.default.makeArray(g).map(function(e){return new s.ClickableCard((0,n.default)(e))}),document.querySelectorAll(".js-expandable-list").forEach(function(e){return new m.ExpandableList(e)}),(0,n.default)(".js-accordion")),g=(g.length&&n.default.makeArray(g).map(function(e){return new c.SimpleAccordion((0,n.default)(e),!1)}),(0,n.default)(".js-nav-accordion")),g=(g.length&&n.default.makeArray(g).map(function(e){return new c.SimpleAccordion((0,n.default)(e),["small"])}),(0,n.default)(".js-primary-nav").find(".primary-nav__item")),l=(0<g.length&&(v=(0,n.default)(".js-primary-nav").find(".primary-nav__subitem, .primary-nav__dropdown-link, .primary-nav__sublist-heading.link--arrow"),(0,l.default)(g,v)),(0,n.default)(".js-hamburger")),g=(l.length&&n.default.makeArray(l).map(function(e){return new u.Hamburger((0,n.default)(e),!0,!0,".header__user--mobile",".header__utility--mobile")}),(0,n.default)(".js-search-menu"));g.length&&(0,d.default)(g[0]),(0,n.default)(".js-search-mountnode").length&&(0,n.default)(".js-search-mountnode").each(function(e,t){var r=(0,n.default)(this).data("id");(0,f.listingInit)(document.querySelector('div[data-id="'+r+'"]'),r)}),(0,n.default)(".".concat(e.copyTextClass)).length&&(0,n.default)("#".concat(e.copyBtnId)).length&&(0,e.initCopyTextField)(),(0,y.loginInit)(),(0,b.agendaInit)()},{"./nber/accordions/SimpleAccordion":2,"./nber/alerts/Alert":3,"./nber/animations/BackToTop":4,"./nber/animations/PauseAllAnimations":5,"./nber/conference-agenda/index.js":9,"./nber/forms/AccessibleLabels":10,"./nber/forms/CopyTextField.js":11,"./nber/forms/PasswordToggle":12,"./nber/helpers/ClickableCard":13,"./nber/helpers/CopyLink":14,"./nber/helpers/expandableList":15,"./nber/modules/Hamburger.js":16,"./nber/modules/PrimaryNav.js":18,"./nber/modules/ResponsiveTables":19,"./nber/modules/initSearchMenu":20,"./nber/search/index.js":42,"./nber/user/index.js":56,"./polyfill":59,jquery:"jquery"}],2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SimpleAccordion=void 0;var n,o,a=(n=e("jquery"))&&n.__esModule?n:{default:n},i=e("../breakpoint");function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==s(e)?e:e+""}(n.key),n)}}r.SimpleAccordion=function(){function r(e,t){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");this.$el=e,this.activeIn=t,this.$target=this.$el.next(),(this.activeIn&&-1<this.activeIn.indexOf((0,i.breakpoint)())||!this.activeIn)&&this.$target.hide(),this.bindEvents()}return e=r,(t=[{key:"bindEvents",value:function(){var t=this;t.$el.on("click",function(){var e=t.$el.attr("aria-expanded");
1t.$el.attr("aria-expanded","false"===e?"true":"false"),t.$el.toggleClass("is-open"),t.$target.slideToggle()}),(0,a.default)(window).on("resize",function(e){o&&window.clearTimeout(o),o=setTimeout(function(){t.manageBreakpointBehaviors()},400)})}},{key:"manageBreakpointBehaviors",value:function(){this.activeIn&&-1<this.activeIn.indexOf((0,i.breakpoint)())||!this.activeIn?(this.$target.hide(),this.$el.attr("aria-expanded","false"),this.$el.removeClass("is-open")):(this.$target.show(),this.$el.attr("aria-expanded","true"),this.$el.addClass("is-open"))}}])&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()},{"../breakpoint":6,jquery:"jquery"}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Alert=void 0;(e=e("jquery"))&&e.__esModule;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}r.Alert=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$el=e,this.$close=this.$el.find(".js-alert__close"),this.endpoint=this.$el.data("endpoint"),this.id=this.$el.data("id"),this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){var e=this;e.$close.on("click",function(){e.$el.slideUp(function(){e.$el.remove()}),e.endpoint&&fetch(e.endpoint,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:e.id})})})}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{jquery:"jquery"}],4:[function(e,t,r){"use strict";var n=(e=e("jquery"))&&e.__esModule?e:{default:e};var o,a=!1;(0,n.default)(window).scroll(function(){var e=(0,n.default)(this).scrollTop();a||o&&0!=e&&0!=o||((0,n.default)(".back-to-top").off().toggleClass("active").fadeToggle(),(0,n.default)(".back-to-top.active").click(function(){(0,n.default)(window).scrollTop(0)}),a=!0,window.setTimeout(function(){a=!1},100)),o=e})},{jquery:"jquery"}],5:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PauseAllAnimations=void 0;var o=(e=e("jquery"))&&e.__esModule?e:{default:e};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==a(e)?e:e+""}(n.key),n)}}r.PauseAllAnimations=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$el=e,this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){this.$el.on("click",function(){(0,o.default)("body").toggleClass("is-paused")})}}])&&i(e.prototype,r),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{jquery:"jquery"}],6:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.breakpoint=void 0;(e=e("jquery"))&&e.__esModule;r.breakpoint=function(){return window.getComputedStyle(document.querySelector("body"),"::before").getPropertyValue("content").replace(/\"/g,"")}},{jquery:"jquery"}],7:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,a=e("react"),O=(n=e("../icons/BuildIcon.js"))&&n.__esModule?n:{default:n},P=e("react/jsx-runtime");function S(e,t){var r,n,o,a,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return o=!(n=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return n=e.done,e},e:function(e){o=!0,r=e},f:function(){try{n||null==i.return||i.return()}finally{if(o)throw r}}};if(Array.isArray(e)||(i=function(e,t){{var r;if(e)return"string"==typeof e?s(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}r.default=function(e){function t(e){var r;if(this instanceof t)return(r=c(this,t,[e])).resultsRef=(0,a.createRef)(),r.sessionHeight=window.sessionStorage.getItem(window.nodeId),r.state={ajaxAgenda:{}},r.resizeObserver=new ResizeObserver(function(e){var t=r.resultsRef.current.clientHeight;window.sessionStorage.setItem(window.nodeId,"".concat(t)),r.resultsRef.current.parentElement.style.minHeight="".concat(t||r.sessionHeight,"px")}),r;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"handlePostFetch",value:function(){var e,t;document.querySelectorAll(".paper-abstract-toggle").forEach(function(t){t.addEventListener("click",function(){var e=t.nextElementSibling;t.classList.toggle("open"),e.classList.contains("active")?e.style.height="0px":e.style.height="auto",e.classList.toggle("active")})}),this.state.ajaxAgenda&&0!=this.state.ajaxAgenda.length||(e=document.querySelectorAll(".page-header__intro-notice"),(t=document.createElement("span")).innerHTML="Agenda pending.",t.className="agenda-pending-notice",e[e.length-1].append(t))}},{key:"componentDidMount",value:function(){var t=this;this.resizeObserver.observe(this.resultsRef.current),window.mockData?window.setTimeout(function(){t.setState({ajaxAgenda:window.mockData.items},t.handlePostFetch)},1e3):fetch("/api/conference/"+window.nodeId+"/agenda").then(function(e){return e.json()}).then(function(e){t.setState({ajaxAgenda:e.items,showParticipants:e.show_participants},t.handlePostFetch)}).catch(function(e){console.log("An error occured while fetching conference agenda data")})}},{key:"render",value:function(){var e=['<div class="agenda">'];if(this.state.ajaxAgenda&&0<this.state.ajaxAgenda.length){var t,r=S(this.state.ajaxAgenda);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(n.is_hashref)e.push('<div class="agenda-day"><h3 class="agenda-day__title">'+n.DAY+", "+n.MDD+"</h3></div>");else if(n.paper){var o=void 0,a='<div class="agenda-entry"><div class="agenda-entry__time">'+n.schedule_time_display+(n.record&&n.record.room?'<div class="agenda-entry__room">'+n.record.room+"</div>":"")+'</div><div class="agenda-entry__info rich-text"><div class="entry-title-wrapper">';if(1==n.paper.isreceived?a+='<a class="paper-title" href="'+n.paper.conference_program_paper_url+'">'+n.paper.record.title+"</a>":a+='<span class="paper-title">'+n.paper.record.title+"</span>",n.paper.slides_url&&(a+='<span class="slides">(<a href="'+n.paper.slides_url+'" target="_blank">slides</a>)</span>'),n.record&&n.record.txt&&0<n.record.txt.length&&(a+='<span class="schedule-item-title schedule-item-'+n.record.class+'"> '+n.record.txt+"</span>"),a+="</div>",0<n.paper.author_with_objs_array.length){a+='<div class="paper-authors">';var i,s=S(n.paper.author_with_objs_array);try{for(s.s();!(i=s.n()).done;){var c=i.value;a+="<div>",c.name&&(a+='<span class="author-name'+(1==c.flagged?" flagged-author":"")+'">
1',window.summaryMode&&c.obj&&0!=c.obj.show_profile&&c.obj.url&&0<c.obj.url.length&&(a+='<a href="'+c.obj.url+'">'),a+=c.name,window.summaryMode&&c.obj&&0!=c.obj.show_profile&&c.obj.url&&0<c.obj.url.length&&(a+="</a>"),a+="</span>"),c.obj&&c.obj.univaffil_and_nber&&(a+=', <span class="affiliation">'+c.obj.univaffil_and_nber+"</span>"),a+="</div>"}}catch(e){s.e(e)}finally{s.f()}a+="</div>"}var l,u=S(window.confPapers);try{for(u.s();!(l=u.n()).done;){var f=l.value;f.id==n.record.paper&&(o=f.lecture_path)}}catch(e){u.e(e)}finally{u.f()}if(n.paper.abstract_clean_html&&(a=(a=(a+='<div class="paper-abstract">')+'<span class="paper-abstract-toggle"><span>View abstract</span>'+(0,O.default)("arrow-down")+"</span>")+'<div class="paper-abstract-body">'+n.paper.abstract_clean_html+"</div></div>"),(n.paper.slides_url||n.paper.conference_program_paper_url||n.paper.executive_summary_url||o)&&(a+='<div class="paper-links">',n.paper.conf_presented_pnum&&(a+='<div class="working-paper">This paper was distributed as <a href="https://www.nber.org/papers/'+n.paper.conf_presented_pnum+'" target="_blank">Working Paper '+n.paper.conf_presented_pnum.substr(1)+"</a>, where an updated version may be available.</div>"),n.paper.slides_url&&(a=(a=(a+='<span class="slides"><a href="'+n.paper.slides_url+'" target="_blank">')+(0,O.default)("slides"))+'</a><a href="'+n.paper.slides_url+'" target="_blank">Slides</a></span>'),n.paper.executive_summary_url&&(a=(a=(a+='<span class="executive-summary"><a href="'+n.paper.executive_summary_url+'" target="_blank">')+(0,O.default)("exec-summary"))+'</a><a href="'+n.paper.executive_summary_url+'" target="_blank">Executive Summary</a></span>'),o&&(a=(a+='<span class="video"><a href="'+o+'" target="_blank">')+(0,O.default)("video")+'</a><a href="'+o+'" target="_blank">Video</a></span>'),a+="</div>"),0<n.paper.discussant_struct.length){a+='<div class="paper-discussants"><div>'+n.paper.discussants_label+":</div>";var p,d=S(n.paper.discussant_struct);try{for(d.s();!(p=d.n()).done;){var y=p.value;a+="<div>",y.user?(a+='<span class="discussant-name">',window.summaryMode&&1==y.user.show_profile&&y.user.url&&0<y.user.url.length&&(a+='<a href="'+y.user.url+'">'),a+=y.user.fullname,window.summaryMode&&1==y.user.show_profile&&y.user.url&&0<y.user.url.length&&(a+="</a>"),a+="</span>",y.user.univaffil_and_nber&&(a+=', <span class="affiliation">'+y.user.univaffil_and_nber+"</span>"),y.slides_url&&(a+='<span class="slides">(<a href="'+y.slides_url+'" target="_blank">slides</a>)</span>')):a+=y.discussant_user.replaceAll("_"," ")+"</span>",a+="</div>"}}catch(e){d.e(e)}finally{d.f()}a+="</div>"}
1a+="</div></div>",e.push(a)}else n.record&&e.push('<div class="agenda-entry contains-'+n.record.class+'"><div class="agenda-entry__time">'+n.schedule_time_display+'</div><div class="agenda-entry__info rich-text"><div class="entry-title-wrapper"><span class="schedule-item-title schedule-item-'+n.record.class+'">'+(n.record.txt||"")+"</span></div></div></div>")}}catch(e){r.e(e)}finally{r.f()}}if(e.push("</div>"),1==this.state.showParticipants){if(e.push('<div class="participants">'),segmentParticipants&&1==isHybrid){e.push('<section class="promo-grid promo-grid--2-up promo-grid--centered"><h2 class="promo-grid__title">In-Person Participants</h2><div class="promo-grid__promos">');var b,m=S(inperson_participants);try{for(m.s();!(b=m.n()).done;){var h=b.value;e.push('<div class="name-promo">'+(h.url?'<a href="'+h.url+'">':"")+'<span class="name-promo__name">'+h.name+"</span>"+(h.url?"</a>":"")+(h.affiliation?', <span class="name-promo__title">'+h.affiliation+"</span>":"")+"</div>")}}catch(e){m.e(e)}finally{m.f()}e.push("</div></section>"),e.push('<section class="promo-grid promo-grid--2-up promo-grid--centered"><h2 class="promo-grid__title">Remote Participants</h2><div class="promo-grid__promos">');var v,g=S(remote_participants);try{for(g.s();!(v=g.n()).done;){var j=v.value;e.push('<div class="name-promo">'+(j.url?'<a href="'+j.url+'">':"")+'<span class="name-promo__name">'+j.name+"</span>"+(j.url?"</a>":"")+(j.affiliation?', <span class="name-promo__title">'+j.affiliation+"</span>":"")+"</div>")}}catch(e){g.e(e)}finally{g.f()}e.push("</div></div></section>")}else if(0<participants.length){e.push('<section class="promo-grid promo-grid--2-up promo-grid--centered"><h2 class="promo-grid__title">Participants</h2><div class="promo-grid__promos">');var _,w=S(participants);try{for(w.s();!(_=w.n()).done;){var x=_.value;e.push('<div class="name-promo">'+(x.url?'<a href="'+x.url+'">':"")+'<span class="name-promo__name">'+x.name+"</span>"+(x.url?"</a>":"")+(x.affiliation?', <span class="name-promo__title">'+x.affiliation+"</span>":"")+"</div>")}}catch(e){w.e(e)}finally{w.f()}e.push("</div></section>")}e.push("</div>")}return(0,P.jsx)("div",{ref:this.resultsRef,dangerouslySetInnerHTML:{__html:e.join("")}})}}])&&i(n.prototype,e),r&&i(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(a.Component)},{"../icons/BuildIcon.js":8,react:"react","react/jsx-runtime":62}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};switch(e){case"arrow-down":return'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" role="presentation" class="'+(t.class||"icon icon-arrow-down")+'" viewBox="0 0 448 512"><path d="M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z"/></svg>';case"exec-summary":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"/></svg>';case"slides":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M384 121.941V128H256V0h6.059a24 24 0 0 1 16.97 7.029l97.941 97.941a24.002 24.002 0 0 1 7.03 16.971zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zm-135.455 16c26.51 0 48 21.49 48 48s-21.49 48-48 48-48-21.49-48-48 21.491-48 48-48zm208 240h-256l.485-48.485L104.545 328c4.686-4.686 11.799-4.201 16.485.485L160.545 368 264.06 264.485c4.686-4.686 12.284-4.686 16.971 0L320.545 304v112z"/></svg>';case"video":return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"/></svg>';default:return""}}},{}],9:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.agendaInit=void 0;var n,o=e("react-dom/client"),a=(n=e("./components/AjaxAgenda.jsx"))&&n.__esModule?n:{default:n},i=e("react/jsx-runtime");r.agendaInit=function(){var e=document.getElementById("workshops-list");e&&(0,o.createRoot)(e).render((0,i.jsx)(a.default,{}))}},{"./components/AjaxAgenda.jsx":7,"react-dom/client":"react-dom/client","react/jsx-runtime":62}],10:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AccessibleLabels=void 0;(e=e("jquery"))&&e.__esModule;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}r.AccessibleLabels=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$el=e,this.$label=this.$el.find("label"),this.$input=this.$el.find("input").length?this.$el.find("input"):this.$el.find("textarea"),this.$input.val().length<1&&this.$el.addClass("form__field--placeholder"),this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){var e=this;e.$input.on("focus",function(){e.$el.addClass("is-dirty")}),e.$input.on("blur",function(){e.$input.val().length<1?e.$el.removeClass("is-dirty"):e.$el.addClass("is-dirty")})}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{jquery:"jquery"}],11:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.initCopyTextField=r.copyTextClass=r.copyBtnId=void 0;r.copyTextClass="copy-text-field",r.copyBtnId="copy-text-btn";var n="data-copy-tooltip";r.initCopyTextField=function(){var e=document.querySelector(".".concat("copy-text-field")),t=document.getElementById("copy-text-btn");t.addEventListener("click",function(){navigator.clipboard.writeText(e.innerText),t.setAttribute(n,"Copied!"),setTimeout(function(){t.setAttribute(n,"Copy")},2e3)})}},{}],12:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PasswordToggle=void 0;(e=e("jquery"))&&e.__esModule;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}r.PasswordToggle=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$el=e,this.button=this.$el.find("button"),this.input=this.$el.find("input"),this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){var e=this;e.button.on("click",function(){"password"==e.input.attr("type")?e.input.attr("type","text"):e.input.attr("type","password")})}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{jquery:"jquery"}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ClickableCard=void 0;(e=e("jquery"))&&e.__esModule;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}r.ClickableCard=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.$el=e,this.href=this.$el.data("href"),this.$el.addClass("is-clickable"),this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){var e=this;e.$el.on("click","a",function(e){e.stopPropagation()}),e.$el.on("click",function(){window.location.href=e.href})}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{jquery:"jquery"}],14:[function(e,t,r){"use strict";
1var n=(e=e("jquery"))&&e.__esModule?e:{default:e};(0,n.default)(document).ready(function(){(0,n.default)(".share__btn_link").each(function(){(0,n.default)(this).click(function(e){e.preventDefault(),navigator.clipboard.writeText(location)})})})},{jquery:"jquery"}],15:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.ExpandableList=void 0;r.ExpandableList=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");if(this.list=e,this.trigger=e.querySelector(".js-expandable-list__trigger"),!this.trigger)return!1;this.open="true"===this.trigger.getAttribute("aria-expanded"),this.bindEvents()}return e=t,(r=[{key:"bindEvents",value:function(){var t=this;this.trigger.addEventListener("click",function(e){t.open?(t.list.classList.remove("is-expanded"),t.trigger.setAttribute("aria-expanded","false")):(t.list.classList.add("is-expanded"),t.trigger.setAttribute("aria-expanded","true")),t.open=!t.open})}}])&&a(e.prototype,r),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}()},{}],16:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Hamburger=void 0;var n,o,i=(n=e("jquery"))&&n.__esModule?n:{default:n},s=e("../breakpoint");function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==a(e)?e:e+""}(n.key),n)}}var l=9,u=13,f=32,p=27;r.Hamburger=function(){function a(e,t,r,n,o){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");this.$el=e,this.skipTriggerInTab=t,this.preventBodyScroll=r,this.$target=(0,i.default)("#"+this.$el.data("target")),this.$focus=this.$el.data("focus")?(0,i.default)("#"+this.$el.data("focus")):null,this.$targetClose=this.$target.find(".js-hamburger-close"),this.inMenuMode=!1,this.$targetsFirstTabbable=n?this.$target.find(n).find("a, button, :input, [tabindex]").last():this.$target.find("a, button, :input, [tabindex]").first(),this.$targetsLastTabbable=(o?this.$target.find(o):this.$target).find("a, button, :input, [tabindex]").last(),this.manageBreakpointBehaviors(),this.bindEvents()}return e=a,(t=[{key:"bindEvents",value:function(){var t=this,r=this;this.$target.on("keydown",function(e){e.keyCode===p&&r.inMenuMode&&(e.preventDefault(),r.$target.hide().attr("aria-hidden","true"),r.$el.removeClass("is-open").focus(),r.$target.removeClass("is-open"),r.$el.attr("aria-expanded","false"),r.inMenuMode=!1,r.$el.attr("aria-expanded","false"),(0,i.default)("body").removeClass("is-scroll-frozen"))}),this.$targetClose.on("keydown",function(e){switch(e.stopPropagation(),e.keyCode){case p:case u:case f:r.inMenuMode&&(e.preventDefault(),r.$target.hide().attr("aria-hidden","true"),r.$el.attr("aria-expanded","false"),r.$el.removeClass("is-open"),r.$target.removeClass("is-open"),r.$el.attr("aria-expanded","fal
1se"),r.$el.focus(),(r.inMenuMode=!1,i.default)("body").removeClass("is-scroll-frozen"))}}),this.$el.on("keyup",function(e){e.preventDefault()}),this.$targetsLastTabbable.on("keyup",function(e){e.preventDefault()}),this.$targetsFirstTabbable.on("keyup",function(e){e.preventDefault()}),this.$targetClose.on("keyup",function(e){e.preventDefault()}),this.$targetClose.on("click",function(e){e.preventDefault(),r.inMenuMode&&(r.$target.hide().attr("aria-hidden","true"),r.$el.attr("aria-expanded","false"),r.$el.removeClass("is-open"),r.$target.removeClass("is-open"),r.$el.attr("aria-expanded","false"),r.$el.focus(),(r.inMenuMode=!1,i.default)("body").removeClass("is-scroll-frozen"))}),this.$targetsLastTabbable.on("keydown",function(e){e.keyCode==l&&!e.shiftKey&&r.inMenuMode&&(e.preventDefault(),(r.skipTriggerInTab?r.$targetsFirstTabbable:r.$el).focus())}),this.$targetsFirstTabbable.on("keydown",function(e){e.keyCode===l&&e.shiftKey&&r.inMenuMode&&(e.preventDefault(),(r.skipTriggerInTab?r.$targetsLastTabbable:r.$el).focus())}),this.$el.on("keydown",function(e){switch(e.keyCode){case l:e.shiftKey&&r.inMenuMode&&(e.preventDefault(),r.$targetsLastTabbable.focus());break;case p:e.preventDefault(),r.$target.hide().attr("aria-hidden","true"),r.$el.attr("aria-expanded","false"),r.$el.removeClass("is-open"),r.$target.removeClass("is-open"),r.$el.attr("aria-expanded","false");break;case u:case f:e.preventDefault(),r.$target.toggle().attr("aria-hidden",r.getHiddenState()),r.$el.attr("aria-expanded",!r.getHiddenState()),r.$el.toggleClass("is-open"),r.$target.toggleClass("is-open"),r.$el.attr("aria-expanded","true"),r.inMenuMode=!r.inMenuMode,r.preventBodyScroll&&(0,i.default)("body").toggleClass("is-scroll-frozen"),r.inMenuMode&&(r.$focus||r.$targetsFirstTabbable).focus()}}),this.$el.on("click",function(){r.$target.toggle().attr("aria-hidden",r.getHiddenState()),r.$el.attr("aria-expanded",!r.getHiddenState()),r.$el.toggleClass("is-open"),r.$target.toggleClass("is-open"),r.$el.attr("aria-expanded","true"),r.inMenuMode=!r.inMenuMode,r.preventBodyScroll&&(0,i.default)("body").toggleClass("is-scroll-frozen"),r.inMenuMode&&(r.$focus||r.$targetsFirstTabbable).focus()}),(0,i.default)(window).on("resize",function(e){o&&window.clearTimeout(o),o=setTimeout(function(){t.manageBreakpointBehaviors()},400)})}},{key:"getHiddenState",value:function(){return"true"===this.$target.attr("aria-hidden")?"false":"true"}},{key:"manageBreakpointBehaviors",value:function(){"small"!==(0,s.breakpoint)()&&"medium"!==(0,s.breakpoint)()||!this.$el.hasClass("is-open")?"small"===(0,s.breakpoint)()||"medium"===(0,s.breakpoint)()?(this.$target.hide().attr("aria-hidden","true").css("display",""),this.inMenuMode=!1):(this.$target.show().attr("aria-hidden","false").css("display",""),this.inMenuMode=!1,this.$el.attr("aria-expanded","false"),this.$el.removeClass("is-open"),this.$target.removeClass("is-open"),this.$el.attr("aria-expanded","false"),(0,i.default)("body").removeClass("is-scroll-frozen")):(this.$target.attr("aria-hidden","false"),this.$el.attr("aria-expanded","true"),this.inMenuMode=!0)}}])&&c(e.prototype,t),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},{"../breakpoint":6,jquery:"jquery"}],17:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var i,r,t,s,n,o,a,c,l,u,f=!1;e.menuButton&&0!==e.menuButton.length||(console.error("'menuButton' selector is required"),f=!0);e.menuContainer&&0!==e.menuContainer.length||(console.error("'menuContainer' selector is required"),f=!0);e.navigationLink&&0!==e.navigationLink.length||(console.error("'navigationLink' selector is required"),f=!0);e.parent||(console.error("'parent' node element is required"),f=!0);if(!f)return i=Object.assign({},{animationDelay:600,closed:!0,direction:"vertical",reversed:!1,openClass:"is-open"},e),r=i.closed,t=window.innerWidth,s=i.direction,n=i.animationDelay,o=i.parent,a=o.querySelector(i.menuButton),c=o.querySelector(i.closeButton),l=o.querySelector(i.menuContainer),u=l.querySelectorAll(i.navigationLink),p(),{init:p,kill:function(){i.closed,window.innerWidth,i.direction;a.removeAttribute("aria-haspopup"),a.removeAttribute("aria-controls"),a.removeAttribute("aria-expanded"),l.removeAttribute("aria-labelledby"),l.removeAttribute("aria-hidden"),function(){c&&(c.removeEventListener("mousedown",v),c.removeEventListener("keydown",j));a.removeEventListener("mousedown",y),a.removeEventListener("keydown",j),x(u).forEach(function(e,t){e.data={link:e,index:t},e.removeEventListener("keydown",_),"A"===e.tagName&&e.removeEventListener("click",v)})}()},toggleMenu:b,openMenu:m,closeMenu:g,setDirection:function(e){s=e}};function p(){c&&(c.addEventListener("mousedown",v),c.addEventListener("keydown",j)),a.addEventListener("mousedown",y),a.addEventListener("keydown",j),x(u).forEach(function(e,t){e.data={link:e,index:t},e.addEventListener("keydown",_),"A"===e.tagName&&e.addEventListener("click",v)});var e=l.id||(0,w.default)("menu"),t=a.id||(0,w.default)("menu");a.id=t,a.setAttribute("aria-haspopup",!0),a.setAttribute("aria-controls",e),l.id=e,l.setAttribute("aria-labelledby",t),(r?g:m)(!1)}function d(e){o.contains(e.target)||r||g(!1)}function y(e){e.preventDefault(),b()}function b(e){(r?m:g)(e)}function m(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];r=!1,t=window.innerWidth,a.setAttribute("aria-expanded",!0),o.classList.add(i.openClass),l.removeAttribute("aria-hidden"),e&&(window.clearTimeout(O),O=setTimeout(function(){u[0]&&u[0].focus()},n)),i.onOpen&&i.onOpen(),window.addEventListener("click",d),window.addEventListener("resize",h)}function h(){t!==window.innerWidth&&(t=window.innerWidth,g())}function v(e){e.preventDefault(),g(e.target===c)}function g(){r=!0,0<arguments.length&&void 0!==arguments[0]&&!arguments[0]||!a||a.focus(),a.setAttribute("aria-expanded",!1),o.classList.remove(i.openClass),l.setAttribute("aria-hidden",!0),i.onClose&&i.onClose(),window.removeEventListener("click",d),window.removeEventListener("resize",h)}function j(e){switch(e.key){case"Escape":e.preventDefault(),g();break;case"Enter":case" ":e.preventDefault(),b(!0)}}function _(e,t,r){var n=r;switch(e.key){case"Escape":e.preventDefault(),g(!0);break;case"Tab":e.shiftKey?0===r&&(i.reversed||e.preventDefault(),g(!i.reversed)):r===u.length-1&&(i.reversed&&e.preventDefault(),g(i.reversed))}if("vertical"===s)switch(e.key){case"Up":case"ArrowUp":e.preventDefault(),o(0,r,n);break;case"Down":case"ArrowDown":e.preventDefault(),a(0,r,n)}if("horizontal"===s)switch(e.key){case"Left":case"ArrowLeft":e.preventDefault(),o(0,r,n);break;case"Right":case"ArrowRight":e.preventDefault(),a(0,r,n)}function o(e,t,r){0===t&&(r=u.length),u[r-1]&&u[r-1].focus()}function a(e,t,r){t===u.length-1&&(r=-1),u[r+1]&&u[r+1].focus()}}};var w=(r=e("lodash.uniqueid"))&&r.__esModule?r:{default:r};function x(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){{var r;if(e)return"string"==typeof e?n(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var O=window.setTimeout(function(){},0)},{"lodash.uniqueid":"lodash.uniqueid"}],18:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(n,e){function o(e){e.preventDefault(),e.stopPropagation()}var a,i,s=9,c=38,l=40,u=37,f=39,p=27;function d(e){null!==n[e]&&void 0!==n[e]&&(n[e].querySelector(".primary-nav__action").focus(),a=e)}function y(e,t){e=e.find(".primary-nav__subitem, .primary-nav__dropdown-link, .primary-nav__sublist-heading.link--arrow");0!==e.length&&(t===e.length?t=0:t<0&&(t=e.length-1),((0,h.default)(e[t]).is("a")?e[t]:e[t].querySelector("a")).focus(),i=t)}function b(e){e.addClass("primary-nav__item--open"),e.find("[aria-expanded=false]").attr("aria-expanded","true")}function m(e){e.find("[aria-expanded=true]").focus(),e.removeClass("primary-nav__item--open"),e.find("[aria-expanded=true]").attr("aria-expanded","false")}(0,h.default)(n).each(function(e,t){var r=(0,h.default)(t),t=r.find(".primary-nav__action");r.hasClass("primary-nav__item--has-children")&&t.click(function(e){var t;((t=r).hasClass("primary-nav__item--open")?m:b)(t),t.siblings().hasClass("primary-nav__item--open")&&((t=t).siblings().removeClass("primary-nav__item--open"),t.siblings().find("[aria-expanded=true]").attr("aria-expanded","false")),o(e)}),r.find(".primary-nav__action").focus(function(){0===e&&(a=0),(i=0,h.default)(n).each(function(e){r.find(".js-primary-nav__action").attr("aria-expanded","false")})}),r.on("keydown",function(e){switch(e.keyCode){case f:m(r),d(a+1),o(e);break;case u:m(r),d(a-1),o(e);break;case s:var t=e.shiftKey?a-1:a+1;m(r),n[t]&&(d(t),o(e));break;case l:b(r),i=0,y(r.find(".primary-nav__dropdown-body"),0),o(e);break;case p:m(r),o(e)}})}),(0,h.default)(e).each(function(e,t){var r=(0,h.default)(t);r.on("keydown",function(e){switch(e.keyCode){case f:m(r.parents(".primary-nav__item")),d(a+1),o(e);break;case u:m(r.parents(".primary-nav__item")),d(a-1),o(e);break;case s:m(r.parents(".primary-nav__item")),e.shiftKey?d(a-1):d(a+1),o(e);break;case l:y(r.parents(".primary-nav__dropdown-body"),i+1),o(e);break;case c:y(r.parents(".primary-nav__dropdown-body"),i-1),o(e)}})}),(0,h.default)(document).click(function(e){(0,h.default)(n)===e.target||(0,h.default)(n).has(e.target).length||(0,h.default)(n).hasClass("primary-nav__item--open")&&m((0,h.default)(n))})};var h=(r=e("jquery"))&&r.__esModule?r:{default:r}},{jquery:"jquery"}],19:[function(e,t,r){"use strict";var n=(e=e("jquery"))&&e.__esModule?e:{default:e};(0,n.default)(document).ready(function(){(0,n.default)("main table").wrap('<div class="table-container" />')})},{jquery:"jquery"}],20:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(e=e("./NavMenu.js"))&&e.__esModule?e:{default:e};function i(e,t){var r,n,o,a,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return o=!(n=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return n=e.done,e},e:function(e){o=!0,r=e},f:function(){try{n||null==i.return||i.return()}finally{if(o)throw r}}};if(Array.isArray(e)||(i=function(e,t){{var r;if(e)return"string"==typeof e?s(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),a=0,{s:t=function(){},n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.default=function(e,t){var n=(0,a.default)({animationDelay:800,closed:!0,direction:"",menuButton:".js-search-button",menuContainer:".js-search-content",navigationLink:"input, button",openClass:"is-open",onClose:function(){},onOpen:function(){},parent:e}),o=!0;new ResizeObserver(function(e){var t,r=i(e);try{for(r.s();!(t=r.n()).done;){t.value;1240<=window.innerWidth&&o&&(n.kill(),o=!1),window.innerWidth<1240&&!o&&(n.init(),o=!0)}}catch(e){r.e(e)}finally{r.f()}}).observe(document.querySelector("body"))}},{"./NavMenu.js":17}],21:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),N=a(e("classnames")),i=a(e("../resultcards/BookCard.jsx")),s=a(e("../resultcards/EventCard.jsx")),M=a(e("../components/FacetList.jsx")),c=a(e("../resultcards/InTheNewsCard.jsx")),L=a(e("../components/Pager.jsx")),l=a(e("../resultcards/PaperCard.jsx")),u=a(e("../resultcards/CenterPaperCard.jsx")),f=a(e("../resultcards/PersonCard.jsx")),D=a(e("../components/ResultSummary.jsx")),R=a(e("../components/SortToggle.jsx")),p=a(e("../resultcards/StoryCard.jsx")),B=a(e("../components/PerPageSelector.jsx")),q=a(e("../components/EventTypeToggle.jsx")),A=a(e("../components/FacetToggle.jsx")),I=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach(function(e){$(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function h(e,t,r){t=g(t);var n=e,t=v()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r);if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){e=function(e,t){if("object"!=d(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==d(e)?e:e+""}e=r.default=function(e){function t(e){var a;if(this instanceof t)return $(a=h(this,t,[e]),"renderItem",function(e,t,r){var n=a.props,o=(n.data,n.loading);n.wrapperid;switch(e.type){case"entity:user":return(0,I.jsx)(f.default,b({index:t,loading:o},e),t);case"conference":return(0,I.jsx)(s.default,b({index:t,loading:o},e),t);case"book":case"chapter":case"lecture":return(0,I.jsx)(i.default,b({index:t,loading:o,dateFormat:r},e),t);case"news_reference":return(0,I.jsx)(c.default,b({index:t,loading:o},e),t);case"center_paper":return(0,I.jsx)(u.default,b({index:t},e),t);case"working_paper":return(0,I.jsx)(l.default,b({index:t},e),t);case"web_story":return(0,I.jsx)(p.default,b({index:t},e),t);default:return(0,I.jsx)(i.default,b({index:t,loading:o,dateFormat:r},e),t)}}),a;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&j(n,e),n=t,(e=[{key:"render",value:function(){var r=this,e=this.props,t=e.config,n=e.data,o=e.handleUpdate,e=e.loading,a=t.checkboxLabel,a=void 0===a?"Mark to make your selection":a,i=t.checkboxType,s=t.dateFormat,c=t.dictionary,l=t.eventLinksDivider,u=t.eventTypeLinks,f=t.facetsLinks,p=t.forceFilters,d=t.hiddenFacets,y=t.id,b=t.perPageOptions,m=t.showCalendar,h=t.dateType,h=void 0===h?"default":h,v=t.dateLabelFormat,v=void 0===v?"MMMM do, yyyy":v,g=t.showEventTypeLinks,j=t.showFacetAsLinks,_=t.showNewKey,w=t.showResultsSummary,t=t.sorters,x=n.request,O=n.results,P=n.totalResults,S=c.resultsTitle,k=c.searchBoxLabel,T=c.sortLabel,C=(c.title,c.perPageLabelBefore),E=c.perPageLabelAfter,n=n.facets,k={label:k,id:y+"query",handleUpdate:o,q:x.q},m=!!m&&{endDate:x.endDate||"",id:y,showLabel:!0,startDate:x.startDate||""},y=(n=void 0!==j&&j&&(void 0!==f?f.map(function(e){return e.id}):[])&&n&&d?n.filter(function(e){return-1===d.indexOf(e.id)}):n)&&0<n.length||p,p=(0,N.default)("search",{"is-loading":e});return(0,I.jsxs)("div",{className:p,children:[(0,I.jsxs)("div",{className:"visually-hidden","aria-live":"polite",children:[e&&"Loading"," ",!e&&"Loding Complete"]}),y&&(0,I.jsx)(M.default,$({checkboxType:i,checkboxLabel:a,dateType:h,dateInfo:m,dictionary:c,facets:n,selectedFacets:x.facet,selectedFacetsPosition:"bottom",handleUpdate:function(e){o(e)},dateLabelFormat:v,horizontal:!0,queryInfo:k},"dateLabelFormat",v)),(0,I.jsxs)("div",{id:S.match(/working\spaper/i)?"working-papers-listing":"",className:S.match(/working\spaper/i)?"page-subtitle page-subtitle--centered working-papers-listing":"page-subtitle page-subtitle--centered",children:[S&&(0,I.jsx)("h2",{className:"page-subtitle__title",children:S}),(0,I.jsxs)("div",{className:"page-subtitle__info-bar",children:[w&&(0,I.jsx)(D.default,{dictionary:c,page:parseInt(x.page),perPage:parseInt(x.perPage),totalResults:P}),0<O.length&&t&&(0,I.jsx)("span",{className:"page-subtitle__info-bar-divider",children:" | "}),0<O.length&&t&&(0,I.jsx)(R.default,{handleUpdate:o,sortLabel:T,sorters:t,sortBy:x.sortBy}),(_||w||t)&&0<O.length&&(0,I.jsx)("span",{className:"page-subtitle__info-bar-divider",children:" | "}),0<O.length&&(0,I.jsx)(B.default,{handleUpdate:o,perPageLabelBefore:C,perPageLabelAfter:E,perPageOptions:b,perPage:x.perPage})]}),_&&(0,I.jsx)("div",{className:"is-new",children:(0,I.jsx)("div",{className:"digest-card__title",children:"New This Week"})}),g&&(0,I.jsx)(q.default,{handleUpdate:o,eventType:x.eventType,eventTypeLinks:u,eventLinksDivider:void 0!==l?l:" | "}),j&&(0,I.jsx)(A.default,{handleUpdate:function(e){o(e)},selectedFacets:x.facet,facetLinks:f})]}),0<O.length&&(0,I.jsx)("div",{className:"promo-grid promo-grid--2-up",children:(0,I.jsx)("div",{className:"promo-grid__promos",children:O.map(function(e,t){return r.renderItem(e,t,s
1)})})}),(0,I.jsxs)("div",{className:"search__pager-wrapper",children:[0<O.length&&(0,I.jsx)(L.default,{handleUpdate:o,page:parseInt(x.page),perPage:parseInt(x.perPage),totalResults:P}),0<O.length&&(0,I.jsx)(B.default,{handleUpdate:o,perPageLabelBefore:C,perPageLabelAfter:E,perPageOptions:b,perPage:x.perPage})]})]})}},{key:"componentDidMount",value:function(){var e=document.location.hash,e=!!e&&document.querySelector(e);e&&e.scrollIntoView()}}])&&m(n.prototype,e),r&&m(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.bool,n=o.default.func,o=o.default.object;e.propTypes={config:o.isRequired,data:o.isRequired,handleUpdate:n.isRequired,loading:r}},{"../components/EventTypeToggle.jsx":26,"../components/FacetList.jsx":27,"../components/FacetToggle.jsx":28,"../components/Pager.jsx":30,"../components/PerPageSelector.jsx":31,"../components/ResultSummary.jsx":33,"../components/SortToggle.jsx":35,"../resultcards/BookCard.jsx":44,"../resultcards/CenterPaperCard.jsx":45,"../resultcards/EventCard.jsx":46,"../resultcards/InTheNewsCard.jsx":47,"../resultcards/PaperCard.jsx":48,"../resultcards/PersonCard.jsx":49,"../resultcards/StoryCard.jsx":51,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],22:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),w=a(e("classnames")),i=a(e("../resultcards/ArticleCard.jsx")),x=a(e("../components/FacetList.jsx")),O=a(e("../components/Pager.jsx")),P=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){e=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==s(e)?e:e+""}e=r.default=function(e){function t(e){var a;if(this instanceof t)return S(a=u(this,t,[e]),"renderItem",function(e,t,r){var n=a.props,o=(n.data,n.loading),n=(n.wrapperid,"top-accent"+(r==e.nid?" featured":""));return(0,P.jsx)("div",{className:n,children:(0,P.jsx)("div",{className:"content-container",children:(0,P.jsx)(i.default,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){S(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({index:t,loading:o},e),t)})},t)}),S(a,"enableInteractiveBehaviors",function(){var t=document.querySelector(".publication-listing .pager__active"),e=document.querySelectorAll(".publication-listing .pager__next, .publication-listing .pager__prev, .publication-listing .btn--pager"),r=document.querySelectorAll(".article-container sup");t&&e&&0<e.length&&e.forEach(function(e){e.textContent!=t.textContent&&(e.removeEventListener("click",a.handleButtonClick),e.addEventListener("click",a.handleButtonClick))}),r&&0<r.length&&r.forEach(function(e){var t,r=e.querySelector("a");r?e.textContent=r.textContent:"A"==(r=e.parentElement).nodeName&&((t=document.createElement("sup")).textContent=e.textContent,r.after(t),r.remove())})}),S(a,"handleButtonClick",function(){var e=document.querySelector(".article-body");e.classList.contains("hide-article")||(e.classList.add("hide-article"),window.scrollTo(0,0))}),a;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&d(n,e),n=t,(e=[{key:"render",value:function(){var r=this,e=this.props,t=e.config,n=e.data,o=e.handleUpdate,e=e.loading,a=t.checkboxLabel,a=void 0===a?"Mark to make your selection":a,i=t.checkboxType,s=t.altClass,s=void 0===s||s,c=(t.dateFormat,t.dictionary),l=(t.eventLinksDivider,t.eventTypeLinks,t.facetsLinks),u=t.forceFilters,f=t.hiddenFacets,p=t.id,d=t.nodeId,y=(t.perPageOptions,t.showCalendar),b=t.dateType,b=void 0===b?"default":b,m=t.dateLabelFormat,m=void 0===m?"MMMM do, yyyy":m,h=t.resultsOnly,v=(t.showEventTypeLinks,t.showFacetAsLinks),t=(t.showNewKey,t.showResultsSummary,t.sorters,n.request),g=n.results,j=n.totalResults,_=(c.resultsTitle,c.searchBoxLabel),n=(c.sortLabel,c.title,c.perPageLabelBefore,c.perPageLabelAfter,n.facets),_={label:_,id:p+"query",handleUpdate:o,q:t.q}
1,y=!!y&&{endDate:t.endDate||"",id:p,showLabel:!0,startDate:t.startDate||""},p=(n=void 0!==v&&v&&(void 0!==l?l.map(function(e){return e.id}):[])&&n&&f?n.filter(function(e){return-1===f.indexOf(e.id)}):n)&&0<n.length||u,v=(0,w.default)("search",{"is-loading":e});return(0,P.jsxs)("div",{className:v,children:[(0,P.jsxs)("div",{className:"visually-hidden","aria-live":"polite",children:[e&&"Loading"," ",!e&&"Loading Complete"]}),p&&!h&&(0,P.jsx)(x.default,S({checkboxType:i,checkboxLabel:a,altClass:s,dateType:b,dateInfo:y,dictionary:c,facets:n,selectedFacets:t.facet,selectedFacetsPosition:"bottom",handleUpdate:function(e){o(e)},dateLabelFormat:m,horizontal:!0,queryInfo:_},"dateLabelFormat",m)),0<g.length&&(0,P.jsx)("div",{className:"results",children:g.map(function(e,t){return r.renderItem(e,t,d)})}),(0,P.jsx)("div",{className:"search__pager-wrapper",children:0<g.length&&(0,P.jsx)(O.default,{handleUpdate:o,page:parseInt(t.page),perPage:parseInt(t.perPage),totalResults:j})})]})}},{key:"componentDidMount",value:function(){var e=document.location.hash,e=!!e&&document.querySelector(e);e&&e.scrollIntoView(),this.enableInteractiveBehaviors()}},{key:"componentDidUpdate",value:function(){this.enableInteractiveBehaviors()}}])&&l(n.prototype,e),r&&l(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.bool,n=o.default.func,o=o.default.object;e.propTypes={config:o.isRequired,data:o.isRequired,handleUpdate:n.isRequired,loading:r}},{"../components/FacetList.jsx":27,"../components/Pager.jsx":30,"../resultcards/ArticleCard.jsx":43,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],23:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=i(e("prop-types")),_=i(e("classnames")),w=i(e("../components/FacetList.jsx")),x=i(e("../components/Pager.jsx")),O=i(e("../components/QueryField.jsx")),P=i(e("../components/ResultSummary.jsx")),a=i(e("../resultcards/SearchCard.jsx")),S=i(e("../components/SortToggle.jsx")),k=i(e("../components/PerPageSelector.jsx")),T=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,r){(t=b(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function b(e){e=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==s(e)?e:e+""}e=r.default=function(e){function t(e){var o;if(this instanceof t)return y(o=u(this,t,[e]),"renderItem",function(e,t){var r=o.props,n=r.loading;r.wrapperid;return e.type,(0,T.jsx)(a.default,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?c(Object(r),!0).forEach(function(e){y(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({index:t,loading:n},e),t)}),o;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&d(n,e),n=t,(e=[{key:"render",value:function(){var r=this,e=this.props,t=e.config,n=e.data,o=e.handleUpdate,e=e.loading,a=t.dictionary,i=t.id,s=t.showResultsSummary,c=t.sorters,t=t.perPageOptions,l=n.facets,u=n.request,f=n.results,p=n.suggestion,n=n.totalResults,d=a.searchBoxLabel,y=a.sortLabel,b=a.title,m=a.perPageLabelBefore,h=a.perPageLabelAfter,v={endDate:u.endDate||"",id:i,startDate:u.startDate||""},g={label:d,id:i+"query",handleUpdate:o,q:u.q},j=(0,_.default)("search search--gridded",{"is-loading":e});return(0,T.jsxs)("div",{className:j,children:[(0,T.jsxs)("div",{className:"visually-hidden","aria-live":"polite",children:[e&&"Loading"," ",!e&&"Loding Complete"]}),(0,T.jsxs)("div",{className:"search__header",children:[(0,T.jsx)("h1",{className:"search__title",children:b}),(0,T.jsx)(O.default,{label:d,id:i+"-query",handleUpdate:o,q:u.q})]}),0<l.length&&(0,T.jsx)("div",{className:"search__facets",children:(0,T.jsx)(w.default,{dictionary:a,facets:l,selectedFacets:u.facet,handleUpdate:o,dateInfo:v,queryInfo:g})}),(0,T.jsxs)("div",{className:"search__results",children:[!e&&f.length<1&&!p&&(0,T.jsx)("div",{className:"search__suggestion","aria-live":"polite",children:(0,T.jsxs)("p",{children:['No results for "',u.q,'"']})}),p&&(0,T.jsxs)("div",{className:"search__suggestion","aria-live":"polite",children:[(0,T.jsxs)("p",{children:['No results for "',p.originalterm,'"']}),(0,T.jsxs)("p",{children:["If you meant to search for ",(0,T.jsx)("a",{href:p.suggesturl,children:p.suggest}),", please see results below"]})]}),0<f.length&&(0,T.jsxs)("div",{className:"search__info",children:[s&&(0,T.jsx)(P.default,{dictionary:a,page:parseInt(u.page),perPage:parseInt(u.perPage),totalResults:n}),c&&(0,T.jsx)(S.default,{handleUpdate:o,sortLabel:y,sorters:c,sortBy:u.sortBy})]}),0<f.length&&(0,T.jsx)("div",{className:"digest-list",children:(0,T.jsx)("div",{className:"digest-list__list digest-list__list--dividers",children:f.map(function(e,t){return r.renderItem(e,t)})})})]}),(0,T.jsxs)("div",{className:"search__pager-wrapper",children:[0<f.length&&(0,T.jsx)(x.default,{handleUpdate:o,page:parseInt(u.page),perPage:parseInt(u.perPage),totalResults:n}),0<f.length&&(0,T.jsx)(k.default,{handleUpdate:o,perPageLabelBefore:m,perPageLabelAfter:h,perPageOptions:t,perPage:u.perPage})]})]})}}])&&l(n.prototype,e),r&&l(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.bool,n=o.default.func,o=o.default.object;e.propTypes={config:o.isRequired,data:o.isRequired,handleUpdate:n.isRequired,loading:r}},{"../components/FacetList.jsx":27,"../components/Pager.jsx":30,"../components/PerPageSelector.jsx":31,"../components/QueryField.jsx":32,"../components/ResultSummary.jsx":33,"../components/SortToggle.jsx":35,"../resultcards/SearchCard.jsx":50,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],24:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=(o=e("prop-types"))&&o.__esModule?o:{default:o},a=e("react/jsx-runtime");function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){e=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==i(e)?e:e+""}e=r.default=function(e){function o(e){var r,t,n;if(this instanceof o)return r=c(this,o,[e]),e=r,n=function(){var e=r.props,t=e.checkboxType,e=e.handleUpdate;r.setState({active:!r.state.active}),"referenced_projects"==t?e({referencedProjects:!r.state.active}):"summer_institute"==t?e({summerInstitute:!r.state.active}):"program_report"==t&&e({programReport:!r.state.active})},(t=p(t="handleClick"))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,r.state={active:!1},r;throw new TypeError("Cannot call a class as a function")}var t,r=o;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&f(r,e),r=o,(e=[{key:"render",value:function(){var e=this.props,t=e.checkboxLabel,e=e.checkboxType;return(0,a.jsx)("div",{className:"facets__checkbox "+e,children:(0,a.jsx)("div",{className:this.state.active?"facets__checkbox-input facets__checkbox--is-selected":"facets__checkbox-input",onClick:this.handleClick,children:(0,a.jsx)("div",{className:"facets__checkbox-label",children:t})})})}}])&&s(r.prototype,e),t&&s(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),r=o.default.string,n=o.default.func;o.default.array;
1e.propTypes={handleUpdate:n,checkboxLabel:r,checkboxType:r}},{"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],25:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=e("prop-types"),l=e("date-fns"),u=(n=e("react-datepicker"))&&n.__esModule?n:{default:n},f=e("../icons/GetIcon.js"),p=e("react/jsx-runtime");function a(e){var r=e.endDate,t=e.id,n=e.showLabel,o=e.startDate,a=e.handleUpdate,i=r,s=o,e=o?(0,l.addDays)(new Date(o),1):null,c=r?(0,l.addDays)(new Date(r),1):null;return(0,p.jsxs)("div",{className:"facets__date",children:[n&&(0,p.jsx)("div",{className:"facets__date-visual-label",children:"Date: "}),(0,p.jsxs)("div",{className:"form__field",children:[(0,p.jsxs)("label",{htmlFor:t+"startfield",children:["From ",(0,p.jsx)("span",{className:"visually-hidden",children:"Date"})]}),(0,p.jsx)(u.default,{dateFormat:"M/d/yyyy",id:t+"startfield",onChange:function(e){s=e},onCalendarClose:function(){var e=s,e=e instanceof Date?(0,l.format)(new Date(e),"yyyy-MM-dd"):null,t=r instanceof Date?(0,l.format)(new Date(r),"yyyy-MM-dd"):null;a({endDate:r,startDate:t&&t<e?t:e})},placeholderText:"MM/DD/YYYY",selected:e,enableTabLoop:!1}),(0,f.GetIcon)("calendar")]}),(0,p.jsxs)("div",{className:"form__field",children:[(0,p.jsxs)("label",{htmlFor:t+"endfield",children:["To ",(0,p.jsx)("span",{className:"visually-hidden",children:"Date"})]}),(0,p.jsx)(u.default,{dateFormat:"M/d/yyyy",id:t+"endfield",onChange:function(e){i=e},onCalendarClose:function(){var e=i,t=o instanceof Date?(0,l.format)(new Date(o),"yyyy-MM-dd"):null,e=e instanceof Date?(0,l.format)(new Date(e),"yyyy-MM-dd"):null;a({endDate:t&&e<t?t:e,startDate:o})},placeholderText:"MM/DD/YYYY",selected:c,enableTabLoop:!1}),(0,f.GetIcon)("calendar")]})]})}a.propTypes={endDate:(0,o.oneOfType)([o.object,o.string]),handleUpdate:o.func,id:o.string,startDate:(0,o.oneOfType)([o.object,o.string]),showLabel:o.bool},r.default=a},{"../icons/GetIcon.js":41,"date-fns":"date-fns","prop-types":"prop-types","react-datepicker":"react-datepicker","react/jsx-runtime":62}],26:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),c=a(e("classnames")),l=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e){e=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==i(e)?e:e+""}e=r.default=function(e){function n(e){var s,t,r;if(this instanceof n)return s=u(this,n,[e]),e=s,r=function(e,t){var r=s.props,n=r.eventType,o=r.eventTypeLinks,r=r.eventLinksDivider,a=(0,c.default)("btn btn--link",{"is-active":n===e.value||e.isActive&&!n,"is-first":0===t,"is-last":t+1>=o.length}),o=t+1<o.length?r:"",i=n===e.value?[]:e.value;return(0,l.jsxs)("span",{children:[(0,l.jsx)("button",{onClick:function(){return s.handleClick(i)},className:a,children:e.label}),o]},t)},(t=y(t="renderEventTypeLinks"))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,s;throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&d(r,e),r=n,(e=[{key:"handleClick",value:function(e){(0,this.props.handleUpdate)({eventType:e,page:1})}},{key:"render",value:function(){var r=this,e=this.props.eventTypeLinks;return(0,l.jsx)("div",{className:"search__info-sort",children:0<e.length&&e.map(function(e,t){return r.renderEventTypeLinks(e,t)})})}}])&&s(r.prototype,e),t&&s(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),e.defaultProps={eventLinksDivider:" | "},r=o.default.string,n=o.default.func,o=o.default.array;e.propTypes={handleUpdate:n,eventType:r,eventTypeLinks:o.isRequired}},{classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],27:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=l(e("prop-types")),m=l(e("classnames")),a=(l(e("ramda")),e("date-fns")),i=e("../../breakpoint"),s=l(e("../components/DateSpan.jsx")),c=l(e("../components/YearSpan.jsx")),h=l(e("../components/QueryField.jsx")),v=l(e("../components/TypeaheadFacet.jsx")),u=l(e("../components/CheckboxFacet.jsx")),g=e("react/jsx-runtime");function l(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach(function(e){x(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,O(n.key),n)}}function y(e,t,r){t=_(t);var n=e,t=b()?Reflect.construct(t,r||[],_(e).constructor):t.apply(e,r);if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t,r){(t=O(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function O(e){e=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==f(e)?e:e+""}var e=r.default=function(e){function t(e){var l;if(this instanceof t)return x(l=y(this,t,[e]),"handleSearchInteraction",function(){var e=document.querySelector(".search-listing"),t=document.querySelector(".publication-listing"),r=document.querySelector(".article-body"),n=document.querySelector(".top-accent.featured");e&&!e.classList.contains("show-results")&&e.classList.add("show-results"),t&&!t.classList.contains("hide-results")&&t.classList.add("hide-results"),r&&!r.classList.contains("hide-article")&&r.classList.add("hide-article"),n&&document.querySelector(".top-accent.featured").classList.remove("featured")}),x(l,"componentDidMount",function(){}),x(l,"componentWillUnmount",function(){}),x(l,"componentDidUpdate",function(e,t){t.facetsOpen==l.state.facetsOpen&&l.handleSearchInteraction()}),x(l,"openFacets",function(){l.setState({facetsOpen:!0})}),x(l,"handleFacetChange",function(e,t){var r,n=l.props,o=n.handleUpdate,n=n.selectedFacets,a=n?JSON.parse(JSON.stringify(n)):[],i=e.split(":"),s=!1,c="";t?(a.forEach(function(e,t){var e=e.split(":");e[0]==i[0]&&(e=e[1],s=!0,-1==e.search(i[1])&&(c=e+","+i[1],r=t))}),s?void 0!==r&&(a[r]=i[0]+":"+c):a.push(e),JSON.stringify(a)!=JSON.stringify(n)&&o({page:1,facet:a})):(a.forEach(function(e,t){e=e.split(":");e[0]==i[0]&&(r=t,e[1].split(",").forEach(function(e){e!=i[1]&&(c=0==c.length?e:c+","+e)}))}),void 0!==r&&(""==c?a.splice(r,1):a[r]=i[0]+":"+c),0==a.length?l.handleClearFilterClick():JSON.stringify(a)!=JSON.stringify(n)&&o({page:1,facet:a}
1))}),x(l,"showDateWidget",function(e,t,r){return 0!=t&&("year-picker"==e?(0,g.jsx)(c.default,j({handleUpdate:r},t)):(0,g.jsx)(s.default,j({handleUpdate:r},t)))}),x(l,"showCheckbox",function(e,t,r){if(t)return(0,g.jsx)(u.default,{checkboxType:t,handleUpdate:r,checkboxLabel:e})}),x(l,"handleClearFilterClick",function(){(0,l.props.handleUpdate)({page:1,facet:[],endDate:null,startDate:null,q:""})}),l.state={currentBreakpoint:(0,i.breakpoint)(),facetsOpen:-1===(0,i.breakpoint)().indexOf("small")},l;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&w(n,e),n=t,(e=[{key:"formatDate",value:function(e){return(0,a.format)((0,a.addDays)(new Date(e),1),"MMMM do, yyyy")}},{key:"showClearFilter",value:function(e,t,r){var n=!1;return n=e||0<t.length||r.q?!0:n}},{key:"render",value:function(){var r=this,e=this.props,t=e.altClass,n=e.checkboxLabel,o=e.checkboxType,a=e.dateInfo,i=e.dateType,s=e.dictionary,c=e.facets,l=e.handleUpdate,u=e.horizontal,f=e.queryInfo,p=e.selectedFacets,e=e.selectedFacetsPosition,d=this.state.facetsOpen,y=p||[],b=[],p=(y.forEach(function(e){var o=e.split(":");o[1].split(",").forEach(function(e){var t,r,n=[];n.id=o[0]+":"+e,n.label=e,"contentType"==o[0]?(t=e.split("_"),r="",t.forEach(function(e,t){0<t&&(r+=" "),r=r+e[0].toUpperCase()+e.slice(1)}),n.name=r):n.name=e,-1!==e.search("%COMMA%")&&(n.name=e.replace(/%COMMA%/g,",")),n.selected=!0,n.value=o[0]+":"+e,b.push(n)})}),(0,m.default)("facets__fields",{"facets__fields--3-up":u&&!t},{"facets__fields--4-up":u&&t})),u=a.endDate||a.startDate?(a.startDate?this.formatDate(a.startDate):"Any time")+" - "+(a.endDate?this.formatDate(a.endDate):"Any time"):null;return(0,g.jsxs)("div",{className:"facets",children:[!d&&(0,g.jsx)("div",{className:"mobile-search-note",children:"Expand to search the archives."}),(0,g.jsxs)("div",{className:"facets__inner",children:[!d&&(0,g.jsx)("button",{className:"btn btn--accordion",onClick:function(){return r.openFacets()},children:s.facetsTitle}),d&&(0,g.jsxs)("div",{children:[(0,g.jsx)("h2",{className:"facets__title",children:s.facetsTitle}),this.showClearFilter(u,b,f)&&"bottom"!==e&&(0,g.jsxs)("div",{className:"facets__controls",children:[(0,g.jsx)("div",{className:"facets__clear",children:(0,g.jsx)("button",{className:"btn btn--link facets__clear-btn",onClick:this.handleClearFilterClick,children:"Clear Filters"})}),(0,g.jsxs)("div",{className:"facets__selected","aria-live":"polite","aria-atomic":"true",children:[(0,g.jsx)("h3",{className:"facets__selected-title",children:"Selected Filters"}),(0,g.jsxs)("ul",{className:"facets__selected-list",children:[b.map(function(e,t){return(0,g.jsx)("li",{children:(0,g.jsx)("button",{onClick:function(){return r.handleFacetChange(e.id,!1)},className:"btn btn--secondary",children:e.name})},t)}),u&&(0,g.jsx)("li",{children:(0,g.jsx)("button",{className:"btn btn--secondary",onClick:function(){return l({endDate:null,startDate:null})},children:u})},"datefacet")]})]})]}),(0,g.jsx)("a",{href:"#listing_jump_target",className:"visually-hidden focusable skip-link",children:"Jump to results"}),(0,g.jsxs)("div",{className:p,children:[f&&(0,g.jsx)("div",{className:"facets__input",children:(0,g.jsx)(h.default,{label:f.label,id:f.id,handleUpdate:f.handleUpdate,q:f.q})}),0<c.length&&c.map(function(e,t){return(0,g.jsx)(v.default,j({handleFacetChange:r.handleFacetChange,selectedFacets:y},e),t)}),this.showDateWidget(i,a,l),this.showCheckbox(n,o,l)]}),this.showClearFilter(u,b,f)&&"bottom"===e&&(0,g.jsxs)("div",{className:"facets__controls",children:[(0,g.jsxs)("div",{className:"facets__selected","aria-live":"polite","aria-atomic":"true",children:[(0,g.jsx)("h3",{className:"facets__selected-title",children:"Selected Filters"}),(0,g.jsxs)("ul",{className:"facets__selected-list",children:[b.map(function(e,t){return(0,g.jsx)("li",{children:(0,g.jsx)("button",{onClick:function(){return r.handleFacetChange(e.id,!1)},className:"btn btn--secondary",children:e.name})},t)}),u&&(0,g.jsx)("li",{children:(0,g.jsx)("button",{className:"btn btn--secondary",onClick:function(){return l({page:1,endDate:null,startDate:null})},children:u})},"datefacet")]})]}),(0,g.jsx)("div",{className:"facets__clear",children:(0,g.jsx)("button",{className:"btn btn--link facets__clear-btn",onClick:this.handleClearFilterClick,children:"Clear Filters"})})]})]})]})]})}}])&&d(n.prototype,e),r&&d(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.array,n=o.default.bool,P=o.default.func,S=o.default.object,k=o.default.oneOfType,o=o.default.string;e.propTypes={altClass:n,checkboxLabel:o,checkboxType:o,dateType:
1o,dateInfo:k([S,n]),dictionary:S,facets:r,handleUpdate:P,horizontal:n,queryInfo:S,selectedFacets:r,selectedFacetsPosition:o}},{"../../breakpoint":6,"../components/CheckboxFacet.jsx":24,"../components/DateSpan.jsx":25,"../components/QueryField.jsx":32,"../components/TypeaheadFacet.jsx":36,"../components/YearSpan.jsx":37,classnames:"classnames","date-fns":"date-fns","prop-types":"prop-types",ramda:"ramda",react:"react","react/jsx-runtime":62}],28:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),i=a(e("classnames")),s=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e){e=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==c(e)?e:e+""}e=r.default=function(e){function a(e){var n,t,r,o;if(this instanceof a)return n=u(this,a,[e]),t=n,o=function(e,t){var r=-1!==n.props.selectedFacets.indexOf(e.id),r=(0,i.default)("btn btn--link",{"is-active":r,"is-first":0===t,"is-last":t+1>=n.totalLinks});return(0,s.jsx)("span",{children:(0,s.jsx)("button",{onClick:function(){return n.handleClick(e.id)},className:r,children:e.label})},t)},(r=y(r="renderFacetLinks"))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,n.totalLinks=void 0!==e.facetLinks?e.facetLinks.length:0,n;throw new TypeError("Cannot call a class as a function")}var t,r=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&d(r,e),r=a,(e=[{key:"handleClick",value:function(e){var t=this.props,r=t.handleUpdate,n=t.selectedFacets,t=t.facetLinks,o=void 0!==t?t.map(function(e){return e.id}):[];r({page:1,facet:n.filter(function(e){return-1===o.indexOf(e)}).concat(e)})}},{key:"render",value:function(){var r=this,e=this.props.facetLinks;return(0,s.jsx)("div",{className:"search__info-sort",children:0<e.length&&e.map(function(e,t){return r.renderFacetLinks(e,t)})})}}])&&l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),r=o.default.func,n=o.default.array;e.propTypes={handleUpdate:r,selectedFacets:n,facetLinks:n.isRequired}},{classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],29:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react/jsx-runtime");function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e=r.default=function(e){function r(e){var t;if(this instanceof r)return(t=c(this,r,[e])).state={showMoreButton:e.showMoreButton||!1},t.handleClick=t.handleClick.bind(t),t;throw new TypeError("Cannot call a class as a function")}var t,n=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=r,(e=[{key:"handleClick",value:function(e){this.setState({showMoreButton:!1})}},{key:"render",value:function(){var e=this.props,n=e.items,o=e.options,e=e.label,t=this.state.showMoreButton;return(0,i.jsxs)("div",{className:"digest-card__items ".concat(t?"digest-card__items--hidden-list":""),children:[(0,i.jsx)("span",{className:"digest-card__label",children:e+" - "}),n.map(function(e,t){var r=t<n.length-2?o.item_concatenator+" ":t===n.length-2?" "+o.last_item_symbol+" ":"";return(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:e+r}},t)}),t&&(0,i.jsx)("button",{type:"button",className:"digest-card__view-more-button","aria-label":"show more authors","aria-expanded":"false",onClick:this.handleClick,children:"et al. (View all)"})]})}}])&&s(n.prototype,e),t&&s(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.object,a=a.default.string;e.propTypes={items:r,options:n,label:a},e.defaultProps={options:{last_item_symbol:"&",item_concatenator:","}}},{"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],30:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=i(e("prop-types")),a=i(e("classnames")),s=i(e("ramda")),c=e("../../breakpoint"),l=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){t=y(t);var n=e,t=d()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r);if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){e=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==u(e)?e:e+""}e=r.default=function(e){function t(e){var r;if(this instanceof t)return m(r=p(this,t,[e]),"componentDidMount",function(){window.addEventListener("resize",r.updateBreakpoint)}),m(r,"componentWillUnmount",function(){window.removeEventListener("resize",r.updateBreakpoint)}),m(r,"updateBreakpoint",function(){r.setState({currentBreakpoint:(0,c.breakpoint)()})}),m(r,"handleClick",function(e){(0,r.props.handleUpdate)({page:e})}),m(r,"renderBubble",function(e){var t=r.props.page,t="pager__active-"+Math.abs(t-e.num),t=(0,a.default)("btn btn--pager ",m({pager__active:e.current},"".concat(t),!0));return(0,l.jsx)("li",{children:(0,l.jsx)("button",{onClick:function(){return r.handleClick(e.num)},className:t,"aria-label":"Page "+e.label,children:e.label})},e.label)}),r.state={currentBreakpoint:(0,c.breakpoint)()},r;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&b(n,e),n=t,(e=[{key:"render",value:function(){var t=this,e=this.props,r=e.page,n=e.perPage,e=e.totalResults,o=(this.state.currentBreakpoint,-1<(0,c.breakpoint)().indexOf("small")?1:-1<(0,c.breakpoint)().indexOf("large")?7:4),a=Math.ceil(e/n),e=(Math.min(a,2*o+1),Math.max(1,r-o)),n=Math.min(a,r+o),o=s.default.range(e,n+1).map(function(e){return{num:e,label:e,current:e==r}}),i=n+1<a,n=n<a,e=2<e;return(0,l.jsx)("div",{className:"search__pager",children:(0,l.jsx)("div",{className:"pager",children:(0,l.jsxs)("ul",{"aria-label":"page selector",children:[1!==r&&(0,l.jsx)("li",{children:(0,l.jsx)("button",{onClick:function(){return t.handleClick(r-1)},className:"btn btn--link pager__prev",children:" Prev"})}),e&&(0,l.jsx)("li",{children:(0,l.jsx)("button",{onClick:function(){return t.handleClick(1)},className:"btn btn--pager",children:"1"})}),e&&(0,l.jsx)("li",{"aria-label":"Many more pages exist",children:(0,l.jsx)("span",{className:"btn btn-disabled btn--link pager__dot-dot-dot",children:"..."})}),o.map(function(e){return t.renderBubble(e)}),i&&(0,l.jsx)("li",{"aria-label":"Many more pages exist",children:(0,l.jsx)("span",{className:"btn btn-disabled btn--link pager__dot-dot-dot",children:"..."})}),n&&(0,l.jsx)("li",{children:(0,l.jsx)("button",{onClick:function(){return t.handleClick(a)},className:"btn btn--pager",children:a})}),r!==a&&(0,l.jsx)("li",{children:(0,l.jsx)("button",{onClick:function(){return t.handleClick(r+1)},className:"btn btn--link pager__next",children:"Next "})})]})})})}}])&&f(n.prototype,e),r&&f(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.func,n=o.default.number;o.default.object;e.propTypes={handleUpdate:r,page:n,perPage:n,totalResults:n}},{"../../breakpoint":6,classnames:"classnames","prop-types":"prop-types",ramda:"ramda",react:"react","react/jsx-runtime":62}],31:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react/jsx-runtime");function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"handleChange",value:function(e){(0,this.props.handleUpdate)({perPage:e.target.value})}},{key:"render",value:function(){var t=this,e=this.props,r=e.perPageLabelBefore,n=e.perPageLabelAfter,o=e.perPage,e=e.perPageOptions;return(0,i.jsxs)("div",{className:"search__per-page",children:[r||"Show",": ",(0,i.jsx)("select",{className:"search__per-page__selector",onChange:function(e){return t.handleChange(e)},value:o,children:e.map(function(e,t){return(0,i.jsx)("option",{value:e,children:e},t)})}),n||"results"]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.func,p=a.default.string,d=a.default.oneOfType,a=a.default.number;e.defaultProps={perPage:"50"},e.propTypes={handleUpdate:n,perPage:d([p,a]),perPageOptions:r,perPageLabelBefore:p,perPageLabelAfter:p}},{"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],32:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),i=a(e("classnames")),s=e("../icons/GetIcon.js"),c=e("./SearchResultsMessage.jsx"),l=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){t=y(t);var n=e,t=d()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r);if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,r){(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function h(e){e=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==u(e)?e:e+""}e=r.default=function(e){function t(e){var r;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");m(r=p(this,t,[e]),"onBlur",function(e){var t=r.state.length;r.setState({focused:0<t})}),m(r,"onFocus",function(){r.setState({focused:!0})}),m(r,"handleChange",function(e){var t=r.keywordInput.value.split(" ").length;r.setState({length:r.keywordInput.value.length,terms_length:t})});e=e.q;return r.state={focused:!1,length:e?e.length:0,terms_length:e?e.split(" ").length:0},r}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&b(n,e),n=t,(e=[{key:"handleSubmit",value:function(e){e.preventDefault();var e=this.props.handleUpdate,t=this.keywordInput.value.split(" ").splice(0,50).join(" ");this.setState({terms_length:t?t.split(" ").length:0}),e({page:1,q:t})}},{key:"render",value:function(){var t=this,e=this.props,r=e.id,n=e.label,e=e.q,o=this.state,a=o.focused,o=o.terms_length,e=e||"",o=o?50<=o:50<=e.split(" ").length,a=(0,i.default)("form__field form__field--placeholder",{"is-dirty":0<e.length||a});return(0,l.jsxs)("div",{className:"search__container",children:[(0,l.jsxs)("form",{onSubmit:function(e){return t.handleSubmit(e)},noValidate:!0,className:a,children:[(0,l.jsx)("label",{htmlFor:r,children:n}),(0,l.jsx)("input",{type:"text",id:r,onFocus:this.onFocus,onBlur:this.onBlur,defaultValue:e||"",ref:function(e){return t.keywordInput=e},onChange:function(e){return t.handleChange(e)}},e),(0,l.jsx)("button",{className:"no-style","aria-label":"search",onClick:function(e){return t.handleSubmit(e)},children:(0,s.GetIcon)("search")})]}),(0,l.jsx)(c.SearchResultsMessage,{termsLength:e,displayMessage:o})]})}}])&&f(n.prototype,e),r&&f(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.func,n=o.default.string;o.default.number;e.propTypes={handleUpdate:r,id:n.isRequired,label:n,q:n}},{"../icons/GetIcon.js":41,"./SearchResultsMessage.jsx":34,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],33:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=(o=e("prop-types"))&&o.__esModule?o:{default:o},l=e("react/jsx-runtime");function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function s(e,t,r){t=u(t);var n=e,t=c()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){e=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==a(e)?e:e+""}e=r.default=function(e){function n(e){var c,t,r;if(this instanceof n)return c=s(this,n,[e]),e=c,r=function(){var e,t=c.props,r=t.dictionary,n=t.page,o=t.perPage,t=t.totalResults,a=(n-1)*o+1,n=n*o<t?n*o:t,i=1==t?r.singleresult:r.pluralresult,r=r.noResultText||"No results found",s=new URLSearchParams(document.location.search).get("q");return 0<t?(0,l.jsxs)("div",{className:"search__info-results","aria-live":"polite","aria-atomic":"true",children:[(e="",(e=o<t?"".concat(a," to ").concat(n," of "):e)+"".concat(t," ").concat(i," found")),s&&(0,l.jsxs)("span",{className:"visually-hidden",children:[" for ",s]})]}):(0,l.jsx)("div",{className:"search__info-results","aria-live":"polite",children:r})},(t=p(t="renderSummary"))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,c;throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&f(r,e),r=n,(e=[{key:"render",value:function(){return this.renderSummary()}}])&&i(r.prototype,e),t&&i(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),r=o.default.number,n=o.default.object;e.propTypes={dictionary:n,page:r,perPage:r,totalResults:r}},{"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],34:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.SearchResultsMessage=void 0;var n=e("react"),a=s(e("prop-types")),i=(s(e("classnames")),e("react/jsx-runtime"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function l(e,t,r){t=f(t);var n=e,t=u()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e=r.SearchResultsMessage=function(e){function r(e){var t;if(this instanceof r)return t=l(this,r,[e]),e.termsLength,e.displayMessage,t;throw new TypeError("Cannot call a class as a function")}var t,n=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&p(n,e),n=r,(e=[{key:"render",value:function(){var e=this.props,e=(e.termsLength,e.displayMessage);return(0,i.jsx)("div",{className:"search__results_msg",children:e?"Showing results for the first 50 words.":null})}}])&&c(n.prototype,e),t&&c(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r.default=e,n=a.default.string,r=a.default.bool;e.propTypes={termsLength:n,displayMessage:r}},{classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],35:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),i=a(e("classnames")),s=(e("../icons/GetIcon.js"),e("react/jsx-runtime"));function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function y(e){e=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==c(e)?e:e+""}e=r.default=function(e){function n(e){var a,t,r;if(this instanceof n)return a=u(this,n,[e]),e=a,r=function(e,t){var r=a.props,n=r.sortBy,r=r.sorters,n=n===e.value||e.isActive&&!n,o=(0,i.default)("btn btn--link",{"is-active":n}),r=t+1<r.length?" / ":"";return(0,s.jsxs)("span",{children:[(0,s.jsxs)("button",{onClick:function(){return a.handleClick(e.value)},className:o,children:[e.label,n&&(0,s.jsx)("span",{className:"visually-hidden",children:"selected"})]}),r]},t)},(t=y(t="renderSortOption"))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,a;throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&d(r,e),r=n,(e=[{key:"handleClick",value:function(e){(0,this.props.handleUpdate)({sortBy:e})}},{key:"render",value:function(){var r=this,e=this.props,t=e.sorters,e=e.sortLabel;return(0,s.jsxs)("div",{className:"search__info-sort","aria-live":"polite",children:[e||"Sort by",": ",0<t.length&&t.map(function(e,t){return r.renderSortOption(e,t)})]})}}])&&l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),r=o.default.array,n=o.default.func,o=o.default.string;e.propTypes={handleUpdate:n,sortBy:o,sorters:r.isRequired,sortLabel:o}},{"../icons/GetIcon.js":41,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],36:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),p=(a(e("ramda")),a(e("classnames"))),d=a(e("react-select")),y=a(e("react-select/async")),b=e("../icons/GetIcon.js"),m=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,r){(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function v(e){e=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==i(e)?e:e+""}e=function(e){function t(e){var a;if(this instanceof t)return h(a=c(this,t,[e]),"onBlur",function(){a.setState({focused:!1})}),h(a,"onFocus",function(){a.setState({focused:!0})}),h(a,"onFacetChange",function(e){var t=a.props,r=t.selectedFacets,n=t.values.reduce(function(e,t){return-1<r.indexOf(t.id)&&e.push(t.id),e},[]),o=Array.isArray(e)?e.map(function(e){return e.id}):[e.id];n.filter(function(e){return-1===o.indexOf(e)}).concat(o.filter(function(e){return-1===n.indexOf(e)})).map(function(e){a.props.handleFacetChange(e,-1===n.indexOf(e))})}),h(a,"renderValue",function(e){return e.smalltext?(0,m.jsxs)("span",{children:[(0,m.jsx)("span",{children:e.label}),(0,m.jsx)("span",{children:e.smalltext})]}):(0,m.jsx)("span",{children:e.label})}),h(a,"loadOptions",function(e,t){var r=a.props,n=r.endpoint,r=r.id;fetch(n+"?filterType="+r+"&term="+e).then(function(e){return e.json()}).then(function(e){e=e.values.map(function(e){return e.value=e.id,e.label=e.name,e});t(e)})}),a.state={focused:!1},a;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"render",value:function(){var r,n,e=this.props,t=e.endpoint,o=e.id,a=e.label,i=e.selectedFacets,e=e.values,s=this.state.focused,c=[],l=e.map(function(e){return e.value=e.id,e.label=e.name,e}),u=((new Date).getFullYear()-1).toString();if("year"==o){l.sort(function(e,t){return e.name-t.name});for(var f=0;f<l.length;f++)if(l[f].name==u){l.sort(function(e,t){return t.name-e.name});break}}i.forEach(function(e,t){e.split(":")[0]==o&&(r=t)}),void 0!==r&&(n=i[r].split(":"))[1].split(",").forEach(function(e){var t=[];t.id=n[0]+":"+e,t.label=e,t.name=e,t.selected=!0,t.value=n[0]+":"+e,c.push(t)});e="input-"+o,i=(0,p.default)("form__field form__field--placeholder",{"is-dirty":s});return(0,m.jsx)("div",{className:"facets__input",children:(0,m.jsxs)("div",{className:i,children:[(0,m.jsx)("label",{id:o,htmlFor:e,children:a}),!t&&(0,m.jsx)(d.default,{isMulti:!0,value:c,onChange:this.onFacetChange,onFocus:this.onFocus,onBlur:this.onBlur,options:l,hideSelectedOptions:!1,inputId:e,isClearable:!0,classNamePrefix:"typeahead",backspaceRemovesValue:!1,maxMenuHeight:200,placeholder:"","aria-labelledby":o,formatOptionLabel:this.renderValue}),t&&(0,m.jsx)(y.default,{isMulti:!0,value:c,onChange:this.onFacetChange,onFocus:this.onFocus,onBlur:this.onBlur,defaultOptions:l,hideSelectedOptions:!1,inputId:e,isClearable:!0,classNamePrefix:"typeahead",backspaceRemovesValue:!1,maxMenuHeight:200,placeholder:"","aria-labelledby":o,formatOptionLabel:this.renderValue,loadOptions:this.loadOptions}),(0,b.GetIcon)("triangle")]})})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r.default=e,n=o.default.array,r=o.default.func,o=o.default.string;e.propTypes={endpoint:o,handleFacetChange:r.isRequired,id:o.isRequired,label:o,selectedFacets:n.isRequired,values:n}},{"../icons/GetIcon.js":41,classnames:"classnames","prop-types":"prop-types",ramda:"ramda",react:"react","react-select":"react-select","react-select/async":"react-select/async","react/jsx-runtime":62}],37:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,o=e("prop-types"),i=(n=e("react-datepicker"))&&n.__esModule?n:{default:n},s=e("date-fns"),c=e("../icons/GetIcon.js"),l=e("react/jsx-runtime");function a(e){e.endDate;var t=e.id,r=e.showLabel,n=e.startDate,o=e.handleUpdate,a=n,e=n?(0,s.addDays)(new Date(n),1):null;return(0,l.jsxs)("div",{className:"facets__date",children:[r&&(0,l.jsx)("div",{className:"facets__date-visual-label",children:"Year: "}),(0,l.jsxs)("div",{className:"form__field",children:[(0,l.jsx)("label",{htmlFor:t+"startfield",children:(0,l.jsx)("span",{className:"visually-hidden",children:"Start"})}),(0,l.jsx)(i.default,{showYearPicker:!0,dateFormat:"yyyy",id:t+"startfield",onChange:function(e){a=e},onCalendarClose:function(){var e,t;a!==n&&(e=(t=a)instanceof Date?(0,s.format)(new Date(t),"yyyy-MM-dd"):null,t=t instanceof Date?(0,s.format)((0,s.subDays)((0,s.addYears)(new Date(t),1),1),"yyyy-MM-dd"):null,o({endDate:t,startDate:t&&t<e?t:e}))},placeholderText:"YYYY",autoComplete:"off",selected:e}),(0,c.GetIcon)("calendar")]})]})}a.propTypes={endDate:(0,o.oneOfType)([o.object,o.string]),handleUpdate:o.func,id:o.string,startDate:(0,o.oneOfType)([o.object,o.string]),showLabel:o.bool},r.default=a},{"../icons/GetIcon.js":41,"date-fns":"date-fns","prop-types":"prop-types","react-datepicker":"react-datepicker","react/jsx-runtime":62}],38:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DataProvider=void 0;var o=e("react"),n=a(e("prop-types")),u=a(e("query-string")),f=a(e("ramda")),i=e("./SearchParamsSyncWrapper.jsx"),s=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function p(e,t,r){t=y(t);var n=e,t=d()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r);if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,r){(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}function h(e){e=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==c(e)?e:e+""}e=r.DataProvider=function(e){function a(){var l,e=this,t=a;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return m(l=p(this,a,[].concat(n)),"state",{data:void 0,loading:!0,error:void 0}),m(l,"updateParams",function(e){e=l.state.data?f.default.mergeDeepLeft(e,l.state.data.request):e;l.state.data.request.sortBy===e.sortBy&&l.state.data.request.perPage===e.perPage||(e.page=1),l.fetchData(e)}),m(l,"fetchData",function(e){var t=l.props,r=t.config,t=t.url,n=r.facetEndpoints,o=l.state.data,a=e||u.default.parse(location.search),e=location.hash,e=(-1!=location.href.search("#")&&e.length,location.pathname);if(l.setState({loading:!0}),a.page=a.page&&0<a.page?a.page:1,a.perPage=a.perPage&&0<a.perPage?a.perPage:50,Array.isArray(a.facet)||(a.facet?a.facet=new Array(a.facet):a.facet="/books-chapters"===e||"/books-and-chapters"===e?["book_type:Conference Volume"]:[]),r.hasOwnProperty("searches")&&"working_paper"===r.searches&&(void 0===a.q||""==a.q?a.sortBy="public_date":delete a.sortBy),r.defaultReqParams)for(var i=0;i<r.defaultReqParams.length;i++){var s=r.defaultReqParams[i],c=Object.keys(s)[0];a[c]=a[c]||s[c]}e=u.default.stringify(a);window.location.origin,window.location.pathname;"listing_alt"==r.type&&(window.location.origin,window.location.pathname),fetch(t+"?"+e).then(function(e){return e.json()}).then(function(e){e=n?f.default.mergeDeepLeft(f.default.mergeDeepLeft(e,{facets:o.facets}),{request:a}):f.default.mergeDeepLeft(e,{request:a});l.setState({data:e,loading:!1})})}),m(l,"fetchFacets",function(){var e=l.props.config.facetEndpoints,t=l;e?Promise.all(e.map(function(e){return fetch(e)})).then(function(e){return Promise.all(e.map(function(e){return e.json()}))}).then(function(e){t.setState({data:{facets:e,request:{},results:[]}},function(){return t.fetchData(null)})}):t.fetchData(null)}),m(l,"componentDidMount",function(){l.fetchFacets(),window.addEventListener("popstate",function(){return l.fetchData(null)})}),m(l,"componentWillUnmount",function(){window.removeEventListener("popstate",function(){return l.fetchData(null)})}),l}var t,r=a;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&b(r,e),r=a,(e=[{key:"render",value:function(){var e=this.state,t=e.data,r=e.error,e=e.loading,n=this.updateParams;return r?(0,s.jsx)("div",{className:"search",children:(0,s.jsx)("div",{className:"search__listing-container",children:"There was an error loading this resource."})}):(0,s.jsx)(o.Fragment,{children:t?(0,s.jsxs)(o.Fragment,{children:[t.request&&(0,s.jsx)(i.SearchParamsSyncWrapper,{request:t.request}),this.props.render({data:t,loading:e,updateParams:n})]}):(0,s.jsx)("div",{className:"search",children:(0,s.jsx)("div",{className:"search__listing-container",children:"No data available."})})})}}])&&l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(o.Component);m(e,"propTypes",{config:n.default.object.isRequired,render:n.default.func.isRequired,url:n.default.string.isRequired})},{"./SearchParamsSyncWrapper.jsx":39,"prop-types":"prop-types","query-string":"query-string",ramda:"ramda",react:"react","react/jsx-runtime":62}],39:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.SearchParamsSyncWrapper=void 0;var n=e("../hooks/useSearchParamsSync");r.SearchParamsSyncWrapper=function(e){e=e.request;return(0,n.useSearchParamsSync)(e),null}},{"../hooks/useSearchParamsSync":40}],40:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useSearchParamsSync=void 0;var o=e("react");function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],c=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){{var r;if(e)return"string"==typeof e?n(e,t):"Map"===(r="Object"===(r={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.useSearchParamsSync=function(t){var r=(0,o.useRef)(!1),n=(0,o.useRef)(!0);(0,o.useEffect)(function(){var e,o;r.current?r.current=!1:(e=new URL(window.location.href),o=e.searchParams,Object.entries(t).forEach(function(e){var e=a(e,2),t=e[0],r=e[1];if(Array.isArray(r)&&0!==r.length){if(o.set(t,r[0]),1<r.length)for(var n=1;n<r.length;n++)o.append(t,r[n])}else Array.isArray(r)||null===r?o.delete(t):o.set(t,r)}),n.current?(window.history.replaceState(null,"",e),n.current=!1):window.history.pushState(null,"",e))},[JSON.stringify(t)]),(0,o.useEffect)(function(){function e(){r.current=!0}return window.addEventListener("popstate",e),function(){return window.removeEventListener("popstate",e)}},[])}},{react:"react"}],41:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GetIcon=void 0;var n=e("react/jsx-runtime");r.GetIcon=function(e){switch(e){case"check":return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"15",width:"15",children:(0,n.jsx)("path",{fill:"green",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})});case"search":return(0,n.jsx)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"M9.516 14.016q1.875 0 3.188-1.313t1.313-3.188-1.313-3.188-3.188-1.313-3.188 1.313-1.313 3.188 1.313 3.188 3.188 1.313zM15.516 14.016l4.969 4.969-1.5 1.5-4.969-4.969v-0.797l-0.281-0.281q-1.781 1.547-4.219 1.547-2.719 0-4.617-1.875t-1.898-4.594 1.898-4.617 4.617-1.898 4.594 1.898 1.875 4.617q0 2.438-1.547 4.219l0.281 0.281h0.797z"})});case"triangle":return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,n.jsx)("g",{children:(0,n.jsx)("g",{transform:"translate(-892 -1341)",children:(0,n.jsx)("path",{d:"M896.653 1347.653h6.688l-3.344 3.344z"})})})});case"calendar":return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"12",height:"14",viewBox:"0 0 12 14",children:(0,n.jsx)("g",{children:(0,n.jsx)("g",{transform:"translate(-1238 -1120)",children:(0,n.jsx)("path",{d:"M1248.657 1121.664c.718 0 1.344.625 1.344 1.344v9.313c0 .718-.626 1.344-1.344 1.344h-9.313c-.75 0-1.344-.626-1.344-1.344v-9.313c0-.719.594-1.344 1.344-1.344h.656v-1.344h1.344v1.344h5.313v-1.344H1248v1.344zm0 10.656v-7.313h-9.313v7.313zm-8-6h3.337v3.344h-3.337z"})})})});case"pdf":return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75.320129 92.604164",className:"pdf-icon",children:(0,n.jsxs)("g",{transform:"translate(53.548057 -183.975276) scale(1.4843)",children:[(0,n.jsx)("path",{className:"pdf-outline",d:"M-29.632812 123.94727c-3.551967 0-6.44336 2.89347-6.44336 6.44531v49.49804c0 3.55185 2.891393 6.44532 6.44336 6.44532H8.2167969c3.5519661 0 6.4433591-2.89335 6.4433591-6.44532v-40.70117s.101353-1.19181-.416015-2.35156c-.484969-1.08711-1.27
15391-1.84375-1.275391-1.84375a1.0584391 1.0584391 0 0 0-.0059-.008l-9.3906254-9.21094a1.0584391 1.0584391 0 0 0-.015625-.0156s-.8017392-.76344-1.9902344-1.27344c-1.39939552-.6005-2.8417968-.53711-2.8417968-.53711l.021484-.002z"}),(0,n.jsx)("path",{className:"pdf-fill",d:"M-29.632812 126.06445h28.3789058a1.0584391 1.0584391 0 0 0 .021484 0s1.13480448.011 1.96484378.36719c.79889772.34282 1.36536982.86176 1.36914062.86524.0000125.00001.00391.004.00391.004l9.3671868 9.18945s.564354.59582.837891 1.20899c.220779.49491.234375 1.40039.234375 1.40039a1.0584391 1.0584391 0 0 0-.002.0449v40.74609c0 2.41592-1.910258 4.32813-4.3261717 4.32813H-29.632812c-2.415914 0-4.326172-1.91209-4.326172-4.32813v-49.49804c0-2.41603 1.910258-4.32813 4.326172-4.32813z"}),(0,n.jsx)("path",{className:"pdf-logo",d:"M-23.40766 161.09299c-1.45669-1.45669.11934-3.45839 4.39648-5.58397l2.69124-1.33743 1.04845-2.29399c.57665-1.26169 1.43729-3.32036 1.91254-4.5748l.8641-2.28082-.59546-1.68793c-.73217-2.07547-.99326-5.19438-.52872-6.31588.62923-1.51909 2.69029-1.36323 3.50626.26515.63727 1.27176.57212 3.57488-.18329 6.47946l-.6193 2.38125.5455.92604c.30003.50932 1.1764 1.71867 1.9475 2.68743l1.44924 1.80272 1.8033728-.23533c5.72900399-.74758 7.6912472.523 7.6912472 2.34476 0 2.29921-4.4984914 2.48899-8.2760865-.16423-.8499666-.59698-1.4336605-1.19001-1.4336605-1.19001s-2.3665326.48178-3.531704.79583c-1.202707.32417-1.80274.52719-3.564509 1.12186 0 0-.61814.89767-1.02094 1.55026-1.49858 2.4279-3.24833 4.43998-4.49793 5.1723-1.3991.81993-2.86584.87582-3.60433.13733zm2.28605-.81668c.81883-.50607 2.47616-2.46625 3.62341-4.28553l.46449-.73658-2.11497 1.06339c-3.26655 1.64239-4.76093 3.19033-3.98386 4.12664.43653.52598.95874.48237 2.01093-.16792zm21.21809-5.95578c.80089-.56097.68463-1.69142-.22082-2.1472-.70466-.35471-1.2726074-.42759-3.1031574-.40057-1.1249.0767-2.9337647.3034-3.2403347.37237 0 0 .993716.68678 1.434896.93922.58731.33544 2.0145161.95811 3.0565161 1.27706 1.02785.31461 1.6224.28144 2.0729-.0409zm-8.53152-3.54594c-.4847-.50952-1.30889-1.57296-1.83152-2.3632-.68353-.89643-1.02629-1.52887-1.02629-1.52887s-.4996 1.60694-.90948 2.57394l-1.27876 3.16076-.37075.71695s1.971043-.64627 2.97389-.90822c1.0621668-.27744 3.21787-.70134 3.21787-.70134zm-2.74938-11.02573c.12363-1.0375.1761-2.07346-.15724-2.59587-.9246-1.01077-2.04057-.16787-1.85154 2.23517.0636.8084.26443 2.19033.53292 3.04209l.48817 1.54863.34358-1.16638c.18897-.64151.47882-2.02015.64411-3.06364z"}),(0,n.jsx)("path",{className:"pdf-text",d:"M-20.930423 167.83862h2.364986q1.133514 0 1.840213.2169.706698.20991 1.189489.9446.482795.72769.482795 1.75625 0 .94459-.391832 1.6233-.391833.67871-1.056548.97958-.65772.30087-2.02913.30087h-.818651v3.72941h-1.581322zm1.581322 1.22447v3.33058h.783664q1.049552 0 1.44838-.39184.405826-.39183.405826-1.27345 0-.65772-.265887-1.06355-.265884-.41282-.587747-.50378-.314866-.098-1.000572-.098zm5.50664-1.22447h2.148082q1.560333 0 2.4909318.55276.9375993.55276 1.4133973 1.6443.482791 1.09153.482791 2.42096 0 1.3994-.4338151 2.49793-.4268149 1.09153-1.3154348 1.76324-.8816233.67172-2.5189212.67172h-2.267031zm1.581326 1.26645v7.018h.657715q1.378411 0 2.001144-.9516.6227329-.95858.6227329-2.5539 0-3.5125-2.6238769-3.5125zm6.4722254-1.26645h5.30372941v1.26645H-4.2075842v2.85478h2.9807225v1.26646h-2.9807225v4.16322h-1.5813254z"})]})});default:return""}}},{"react/jsx-runtime":62}],42:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.listingInit=void 0;var o=e("react-dom/client"),a=e("./helpers/DataProvider.jsx"),i=n(e("./apps/Listing.jsx")),s=n(e("./apps/ListingAlt.jsx")),c=n(e("./apps/Search.jsx")),l=e("react/jsx-runtime");function n(e){return e&&e.__esModule?e:{default:e}}r.listingInit=function(e,t){var n=window.nberListingConfigs.find(function(e){return e.id==t});switch(n.type){case"listing":(0,o.createRoot)(e).render((0,l.jsx)(a.DataProvider,{id:t,url:n.api,config:n,render:function(e){var t=e.data,r=e.loading,e=e.updateParams;return(0,l.jsx)(i.default,{config:n,data:t,handleUpdate:e,loading:r})}}));break;case"listing_alt":(0,o.createRoot)(e).render((0,l.jsx)(a.DataProvider,{id:t,url:n.api,config:n,render:function(e){var t=e.data,r=e.loading,e=e.updateParams;return(0,l.jsx)(s.default,{config:n,data:t,handleUpdate:e,loading:r})}}));break;default:(0,o.createRoot)(e).render((0,l.jsx)(a.DataProvider,{id:t,url:n.api,config:n,render:function(e){var t=e.data,r=e.loading,e=e.updateParams;return(0,l.jsx)(c.default,{config:n,data:t,handleUpdate:e,loading:r})}}))}}},{"./apps/Listing.jsx":21,"./apps/ListingAlt.jsx":22,"./apps/Search.jsx":23,"./helpers/DataProvider.jsx":38,"react-dom/client":"react-dom/client","react/jsx-runtime":62}],43:[function(e,t,r){"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=a(e("prop-types")),u=a(e("classnames")),f=e("../icons/GetIcon.js"),p=e("react/jsx-runtime");function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function c(e,t,r){t=d(t);var n=e,t=l()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r);if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){e=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==i(e)?e:e+""}var e=r.default=function(e){function o(e){var t,r,n;if(this instanceof o)return e=c(this,o,[e]),t=e,n=function(e,t,r){var n="",o="Working";return t<r-1&&(n=", "),-1!=e.url.indexOf("center-papers")&&(o="Center"),(0,p.jsxs)("span",{children:[(0,p.jsxs)("a",{href:e.url,children:[o," Paper ",e.id]}),n]},t)},(r=b(r="renderPaper"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e;throw new TypeError("Cannot call a class as a function")}var t,r=o;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&y(r,e),r=o,(e=[{key:"componentDidUpdate",value:function(){}},{key:"render",value:function(){var r=this,e=this.props,t=e.abstract,n=(e.authors,e.quote),o=(e.displaytypename,e.editors,e.imageurl,e.lecturetypename,e.papers),a=(e.presenters,e.publisheddate,e.displaydate),i=e.title,s=(e.type,e.url),c=(e.videoimageurl,e.issueNum,e.publicationtypename),e=e.issueprint,l=(0,u.default)("digest-card");return(0,p.jsxs)("div",{className:l,children:[i&&(0,p.jsx)("div",{className:"digest-card__title",children:(0,p.jsx)("a",{ref:function(e){return r.itemWrapper=e},href:s,children:i})}),n&&(0,p.jsx)("div",{className:"digest-card__summary quote",children:n}),t&&!n&&(0,p.jsxs)("div",{className:"digest-card__summary abstract",children:[t,"â¦"]}),(0,p.jsxs)("div",{className:"page-header__citation-info",children:[a&&(0,p.jsx)("div",{className:"page-header__citation-item",children:(0,p.jsx)("div",{children:(l=new Date(a),s=(1+l.getMonth()).toString(),i=l.getDate().toString(),l=l.getFullYear(),(s=1<s.length?s:"0"+s)+"/"+(i=1<i.length?i:"0"+i)+"/"+l)})}),o&&(0,p.jsx)("div",{className:"page-header__citation-item",children:(0,p.jsxs)("div",{children:["Summary of"," ",o.map(function(e,t){return r.renderPaper(e,t,o.length)})]})}),c&&e&&(0,p.jsxs)("div",{className:"page-header__citation-item print",children:[(0,p.jsxs)("span",{className:"page-header__citation-subtitle",children:["Featured in print"," ",(0,p.jsx)("em",{children:c.replace(/^The\s+/,"")})]}),(0,p.jsx)("a",{href:e,className:"pdf-link",children:(0,f.GetIcon)("pdf")})]})]})]})}}])&&s(r.prototype,e),t&&s(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),r=o.default.array,n=o.default.bool,m=(o.default.func,o.default.number),o=o.default.string;e.propTypes={abstract:o,authors:r,quote:o,displaytypename:o,editors:r,index:m,imageurl:o,lecturetypename:o,loading:n,papers:r,presenters:r,publisheddate:o,displaydate:o,title:o,type:o,url:o,videoimageurl:o,issueNum:m},e.defaultProps={}},{"../icons/GetIcon.js":41,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],44:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),h=i(e("classnames")),v=i(e("../components/ItemList.jsx")),g=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"renderPeopleList",value:function(n,e){return(0,g.jsxs)("div",{className:"digest-card__items",children:[(0,g.jsxs)("span",{className:"digest-card__label",children:[e," - "]}),n.map(function(e,t){var r=t<n.length-2?", ":t===n.length-2?" & ":"";return(0,g.jsx)("span",{dangerouslySetInnerHTML:{__html:e+r}},t)})]})}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.authors,o=e.displaytypename,a=e.editors,i=e.imageurl,s=e.lecturetypename,c=e.presenters,l=(e.publisheddate,e.displaydate),u=e.summer,f=e.title,p=(e.type,e.url),d=e.videoimageurl,y=e.issueNum,b=(e.dateFormat,e.producerlabel),e=e.certifiedrandom,b=null!=b?b:"Editor(s)",m=(0,h.default)("digest-card",{"has-video":d&&0<d.length}),e={last_item_symbol:e?"â¡":"&",item_concatenator:","};return(0,g.jsxs)("div",{className:m,children:[i&&(0,g.jsx)("img",{className:"digest-card__image",src:i,alt:""}),d&&(0,g.jsx)("div",{className:"digest-card__video-wrapper",children:(0,g.jsx)("img",{className:"digest-card__image",src:d,alt:""})}),f&&(0,g.jsx)("div",{className:"digest-card__title",children:(0,g.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:p,children:f})}),(l||o)&&(0,g.jsxs)("div",{className:"digest-card__date",children:[y&&(0,g.jsxs)("span",{className:"digest-card__label",children:["ISSUE: No. ",y,", "]}),l&&(0,g.jsx)("span",{className:"digest-card__label",children:l}),l&&o&&(0,g.jsx)("span",{children:" - "}),o&&(0,g.jsx)("span",{className:"digest-card__label",dangerouslySetInnerHTML:{__html:o}})]}),s&&(0,g.jsxs)("div",{className:"digest-card__items",children:[(0,g.jsx)("span",{className:"digest-card__label",children:"Lecture - "})," ",s]}),n&&0<n.length&&(0,g.jsx)(v.default,{items:n,options:e,label:"Author(s)",showMoreButton:9<n.length}),a&&0<a.length&&(0,g.jsx)(v.default,{items:a,options:e,label:b}),c&&0<c.length&&(0,g.jsx)(v.default,{items:c,label:"Presenter(s)"}),u&&0<u.length&&this.renderPeopleList(u.map(function(e){return{name:e.title,uri:e.url,shouldLink:!0}}),"Associated Conference"),r&&(0,g.jsxs)("div",{className:"digest-card__summary",children:[r,"..."]})]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,p=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,authors:r,editors:r,displaytypename:a,index:p,imageurl:a,lecturetypename:a,loading:n,presenters:r,publisheddate:a,displaydate:a,summer:r,title:a,type:a,url:a,videoimageurl:a,dateFormat:a,issueNum:p,producerlabel:a,certifiedrandom:n},e.defaultProps={certifiedrandom:!1}},{"../components/ItemList.jsx":29,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],45:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),l=i(e("classnames")),u=i(e("../components/ItemList.jsx")),f=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=d(t);var n=e,t=p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&y(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.authors,o=e.displaytypename,a=e.newthisweek,i=(e.publisheddate,e.displaydate),s=e.title,c=(e.type,e.url),e=e.backofficeid,a=(0,l.default)("digest-card",{"is-new":a});return(0,f.jsxs)("div",{className:a,children:[s&&(0,f.jsx)("div",{className:"digest-card__title",children:(0,f.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:c,children:s})}),(i||o)&&(0,f.jsxs)("div",{className:"digest-card__date",children:[i&&(0,f.jsx)("span",{className:"digest-card__label",children:i}),i&&o&&(0,f.jsx)("span",{children:" - "}),o&&(0,f.jsx)("span",{className:"digest-card__label",children:o}),c&&(0,f.jsx)("a",{href:c,className:"paper-card__paper_number",children:e})]}),n&&0<n.length&&(0,f.jsx)(u.default,{items:n,label:"Author(s)",showMoreButton:9<n.length}),r&&(0,f.jsxs)("div",{className:"digest-card__summary",children:[r,"..."]})]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,b=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,authors:r,displaytypename:a,index:b,loading:n,newthisweek:n,publisheddate:a,displaydate:a,title:a,type:a,url:a,backofficeid:a}},{"../components/ItemList.jsx":29,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],46:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=(a=e("prop-types"))&&a.__esModule?a:{default:a},c=e("../icons/GetIcon.js"),l=e("react/jsx-runtime");function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function s(e,t,r){t=f(t);var n=e,t=u()?Reflect.construct(t,r||[],f(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return s(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&p(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"renderPeopleList",value:function(n,e){return(0,l.jsxs)("div",{className:"digest-card__items",children:[(0,l.jsxs)("span",{className:"digest-card__label",children:[e," -Â "]}),n.map(function(e,t){var r=t<n.length-2?", ":t===n.length-2?" & ":"";return(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e+r}},t)})]})}},{key:"render",value:function(){var t=this,e=this.props,r=(e.abstract,e.conference),n=e.imageurl,o=(e.publisheddate,e.enddate,e.displaydate),a=e.conferenceAnnounced,i=e.title,s=(e.type,e.url),e=e.displaytypename;return(0,l.jsxs)("div",{className:"event-card event-card--right-image",children:[n&&(0,l.jsx)("img",{className:"event-card__image",src:n,alt:""}),i&&(0,l.jsx)("div",{className:"event-card__title",children:(0,l.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:s,children:i})}),(0,l.jsxs)("div",{className:"event-card__date",children:[o&&(0,l.jsx)("span",{className:"event-card__label",children:o})," - ",e&&(0,l.jsx)("span",{className:"event-card__label",children:e}),a&&(0,c.GetIcon)("check"),a&&(0,l.jsx)("span",{className:"program",children:"Program"})]}),r&&0<r.length&&this.renderPeopleList(r,"Associated Conference")]})}}])&&i(n.prototype,e),r&&i(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,d=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,conference:r,imageurl:a,index:d,loading:n,publisheddate:a,enddate:a,conferenceAnnounced:n,title:a,type:a,url:a,displaydate:a,displaytypename:a}},{"../icons/GetIcon.js":41,"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],47:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=(a=e("prop-types"))&&a.__esModule?a:{default:a},i=e("react/jsx-runtime");function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){return{__html:e}}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;
10!=t||e||this.itemWrapper.focus()}},{key:"render",value:function(){var t=this,e=this.props,r=e.displaytypename,n=(e.publisheddate,e.displaydate),o=e.source,a=e.title,e=(e.url,e.metalinks);return(0,i.jsxs)("div",{className:"digest-card",children:[a&&(0,i.jsx)("div",{className:"digest-card__title digest-card__title--search",children:(0,i.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:o.url,children:a})}),(n||r)&&(0,i.jsxs)("div",{className:"digest-card__date",children:[n&&(0,i.jsx)("span",{className:"digest-card__label",children:n}),n&&r&&(0,i.jsx)("span",{children:" - "}),r&&(0,i.jsx)("span",{className:"digest-card__label",dangerouslySetInnerHTML:p(r)})]}),o&&(0,i.jsxs)("div",{className:"digest-card__items",children:[(0,i.jsx)("span",{className:"digest-card__label",children:"Source -Â "}),(0,i.jsx)("a",{href:o.url,children:o.title})]}),e&&(0,i.jsx)("div",{dangerouslySetInnerHTML:p(e)})]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.bool,n=a.default.number,d=a.default.object,a=a.default.string;e.propTypes={displaytypename:a,index:n,loading:r,publisheddate:a,displaydate:a,source:d,title:a,url:a}},{"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],48:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),l=i(e("classnames")),u=i(e("../components/ItemList.jsx")),f=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=d(t);var n=e,t=p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&y(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"getPaperNumber",value:function(e){return e.substr("/papers/x".length)}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.authors,o=e.displaytypename,a=e.newthisweek,i=(e.publisheddate,e.displaydate),s=e.title,c=(e.type,e.url),e=e.certifiedrandom,a=(0,l.default)("digest-card",{"is-new":a}),e={last_item_symbol:e?"â¡":"&",item_concatenator:","};return(0,f.jsxs)("div",{className:a,children:[s&&(0,f.jsx)("div",{className:"digest-card__title",children:(0,f.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:c,children:s})}),(i||o)&&(0,f.jsxs)("div",{className:"digest-card__date",children:[i&&(0,f.jsx)("span",{className:"digest-card__label",children:i}),i&&o&&(0,f.jsx)("span",{children:" - "}),o&&(0,f.jsx)("span",{className:"digest-card__label",children:o}),c&&(0,f.jsx)("a",{href:c,className:"paper-card__paper_number",children:this.getPaperNumber(c)})]}),n&&0<n.length&&(0,f.jsx)(u.default,{items:n,options:e,label:"Author(s)",showMoreButton:9<n.length}),r&&(0,f.jsxs)("div",{className:"digest-card__summary",children:[r,"..."]}
1)]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,b=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,authors:r,displaytypename:a,index:b,loading:n,newthisweek:n,publisheddate:a,displaydate:a,title:a,type:a,url:a,certifiedrandom:n},e.defaultProps={certifiedrandom:!1}},{"../components/ItemList.jsx":29,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],49:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),s=i(e("../components/ItemList.jsx")),c=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function u(e,t,r){t=p(t);var n=e,t=f()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return(e=u(this,t,[e])).itemWrapper=null,e;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&d(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.programs,o=e.projects,a=e.title,i=(e.type,e.universityaffiliation),e=e.url;return(0,c.jsxs)("div",{className:"digest-card",children:[a&&(0,c.jsx)("div",{className:"digest-card__title",children:(0,c.jsxs)("a",{ref:function(e){return t.itemWrapper=e},href:e,children:[a,i&&(0,c.jsxs)("span",{children:[", ",i]})]})}),n&&0<n.length&&(0,c.jsx)(s.default,{items:n,label:"Program(s)"}),o&&0<o.length&&(0,c.jsx)(s.default,{items:o,label:"Project(s)"}),r&&(0,c.jsxs)("div",{className:"digest-card__summary",children:[r,"..."]})]})}}])&&l(n.prototype,e),r&&l(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,y=(a.default.func,a.default.number),a=(a.default.object,a.default.string);e.propTypes={abstract:a,index:y,loading:n,programs:r,projects:r,title:a,type:a,universityaffiliation:a,url:a}},{"../components/ItemList.jsx":29,"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],50:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),h=(i(e("classnames")),i(e("../components/ItemList.jsx"))),v=e("react/jsx-runtime");
1function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"getPaperNumber",value:function(e){return e.substr("/papers/x".length)}},{key:"getDisplayTypeName",value:function(e,t,r){return"working_paper"==t&&(0<=r.search("/papers/h")?e="Historical ".concat(e):0<=r.search("/papers/t")&&(e="Technical ".concat(e))),e}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.authors,o=e.description,a=e.displaytypename,i=e.editors,s=e.investigators,c=e.jobtitle,l=e.programs,u=(e.publisheddate,e.displaydate),f=e.title,p=e.type,d=e.imageurl,y=e.url,b=e.metalinks,m=e.source,e={last_item_symbol:e.certifiedrandom?"â¡":"&",item_concatenator:","};return(0,v.jsxs)("div",{className:"digest-card",children:[d&&(0,v.jsx)("img",{className:"digest-card__image",src:d,alt:""}),f&&(0,v.jsx)("div",{className:"digest-card__title digest-card__title--search",children:(0,v.jsxs)("a",{ref:function(e){return t.itemWrapper=e},href:m&&m.url?m.url:y,children:[f,c&&(0,v.jsxs)("span",{children:[", ",c]})]})}),(u||a)&&(0,v.jsxs)("div",{className:"digest-card__date",children:[u&&(0,v.jsx)("span",{className:"digest-card__label",children:u}),u&&a&&(0,v.jsx)("span",{children:" - "}),a&&(0,v.jsx)("span",{className:"digest-card__label",children:this.getDisplayTypeName(a,p,y)}),"working_paper"==p&&y&&(0,v.jsx)("a",{href:y,className:"paper-card__paper_number",children:this.getPaperNumber(y)})]}),l&&0<l.length&&(0,v.jsx)(h.default,{items:l,label:"Programs(s)"}),n&&0<n.length&&(0,v.jsx)(h.default,{items:n,options:e,label:"Author(s)"}),s&&0<s.length&&(0,v.jsx)(h.default,{items:s,options:e,label:"Investigators(s)"}),i&&0<i.length&&(0,v.jsx)(h.default,{items:i,options:e,label:"Editors(s)"}),r&&(0,v.jsx)("div",{className:"digest-card__summary",children:r}),o&&(0,v.jsx)("div",{className:"digest-card__summary",children:o}),b&&(0,v.jsx)("div",{dangerouslySetInnerHTML:{__html:b}})]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,p=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,authors:r,description:a,displaytypename:a,editors:r,index:p,investigators:r,jobtitle:a,loading:n,programs:r,publisheddate:a,displaydate:a,title:a,type:a,url:a,certifiedrandom:n},e.defaultProps={certifiedrandom:!1}},{"../components/ItemList.jsx":29,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],51:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=i(e("prop-types")),c=i(e("classnames")),l=i(e("../components/ItemList.jsx")),u=e("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function f(e,t,r){t=d(t);var n=e,t=p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var e=r.default=function(e){function t(e){if(this instanceof t)return f(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&y(n,e),n=t,(e=[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.index,e=e.loading;0!=t||e||this.itemWrapper.focus()}},{key:"render",value:function(){var t=this,e=this.props,r=e.abstract,n=e.authors,o=e.displaytypename,a=(e.publisheddate,e.displaydate),i=e.title,e=(e.type,e.url),s=(0,c.default)("digest-card story-card");return"Web Story"==o&&new Date<new Date(a)?(console.log("date is in the future"),null):(0,u.jsxs)("div",{className:s,children:[i&&(0,u.jsx)("div",{className:"digest-card__title",children:(0,u.jsx)("a",{ref:function(e){return t.itemWrapper=e},href:e,children:i})}),(a||o)&&(0,u.jsxs)("div",{className:"digest-card__date",children:[a&&(0,u.jsx)("span",{className:"digest-card__label",children:a}),a&&o&&(0,u.jsx)("span",{children:" - "}),o&&(0,u.jsx)("span",{className:"digest-card__label",children:o})]}),n&&0<n.length&&(0,u.jsx)(l.default,{items:n,label:"Author(s)",showMoreButton:9<n.length}),r&&(0,u.jsxs)("div",{className:"digest-card__summary",children:[r,"..."]})]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.array,n=a.default.bool,b=(a.default.func,a.default.number),a=a.default.string;e.propTypes={abstract:a,authors:r,displaytypename:a,index:b,loading:n,newthisweek:n,publisheddate:a,displaydate:a,title:a,type:a,url:a}},{"../components/ItemList.jsx":29,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],52:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=e("../icons/GetIcon"),i=e("react/jsx-runtime");function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function c(e,t,r){t=u(t);var n=e,t=l()?Reflect.construct(t,r||[],u(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}r.default=function(e){function t(e){if(this instanceof t)return c(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&f(n,e),n=t,(e=[{key:"render",value:function(){return(0,i.jsxs)("a",{href:"https://my.nber.org/",className:"user-block__login",children:[(0,i.jsx)("span",{children:"Login"})," ",(0,a.GetIcon)()]})}}])&&s(n.prototype,e),r&&s(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component)},{"../icons/GetIcon":55,react:"react","react/jsx-runtime":62}],53:[function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
1Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),a=l(e("prop-types")),i=l(e("classnames")),s=e("../icons/GetIcon"),c=e("react/jsx-runtime");function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(n.key),n)}}function f(e,t,r){t=d(t);var n=e,t=p()?Reflect.construct(t,r||[],d(e).constructor):t.apply(e,r);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e=r.default=function(e){function t(e){if(this instanceof t)return f(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&y(n,e),n=t,(e=[{key:"render",value:function(){var e=this.props,t=e.username,r=e.level,e=(e.is_scholar,(0,i.default)("user-block__notice user-alert-level-"+r));return(0,c.jsxs)("div",{className:"user-block__greeting",children:[(0,c.jsxs)("a",{href:"https://my.nber.org/",className:"user-block__login",children:[(0,c.jsxs)("span",{className:"user-block__greeting",children:["Welcome, ",t,"!"]})," ",(0,s.GetIcon)()]}),(0,c.jsx)("span",{className:e})]})}}])&&u(n.prototype,e),r&&u(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=a.default.number,n=a.default.string,a=a.default.bool;e.propTypes={username:n,level:r,is_scholar:a}},{"../icons/GetIcon":55,classnames:"classnames","prop-types":"prop-types",react:"react","react/jsx-runtime":62}],54:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=e("react"),o=c(e("prop-types")),a=c(e("./UserGreeting.jsx")),i=c(e("./LoginButton.jsx")),s=e("react/jsx-runtime");function c(e){return e&&e.__esModule?e:{default:e}}function l(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function u(n){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?l(Object(o),!0).forEach(function(e){var t,r;t=n,r=o[e=e],(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})}return n}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function d(e){e=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==f(e)?e:e+""}function y(e,t,r){t=m(t);var n=e,t=b()?Reflect.construct(t,r||[],m(e).constructor):t.apply(e,r);if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}e=r.default=function(e){function t(e){if(this instanceof t)return(e=y(this,t,[e])).user_cookie=e.getCookie("STYXKEY_nber_user_info").split("|"),e.ticket_cookie=e.getCookie("STYXKEY_username_ticket_cookie"),e.state={error:!1,username:null,is_scholar:!1,level:0},e;throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&h(n,e),n=t,(e=[{key:"componentDidMount",value:function(){var r=this;this.validCookie(this.ticket_cookie,"string")&&!this.validCookie(this.user_cookie,"object")&&fetch(this.props.api_url,{credentials:"include"}).then(function(e){e.ok?e.text().then(function(e){var t={};e&&(t=JSON.parse(e)),r.setState({username:t.firstname,is_scholar:t.affiliate,level:t.alert_level})}):r.setState({error:!0})}).catch(function(e){r.setState({error:!0}),console.log("Error communicating with user service.")}),this.validCookie(this.ticket_cookie,"string")&&this.validCookie(this.user_cookie,"object")&&this.setState({username:this.getUsername(),is_scholar:this.isScholar(),level:this.getAlertLevel()})}},{key:"getCookie",value:function(e){return("; "+document.cookie).split("; "+e+"=").pop().split("; ").shift()}},{key:"validCookie",value:function(e,t){return f(e)===t&&null!==e&&1<e.length}},{key:"getUsername",value:function(){return this.user_cookie[0]}},{key:"isScholar",value:function(){return Boolean(this.user_cookie[1])}},{key:"getAlertLevel",value:function(){return parseInt(this.user_cookie[2])}},{key:"render",value:function(){var e;return e=!this.state.error&&this.validCookie(this.ticket_cookie,"string")&&this.state.username?(e={username:this.state.username,is_scholar:this.state.is_scholar,level:this.state.level},(0,s.jsx)(a.default,u({},e))):(0,s.jsx)(i.default,{}),(0,s.jsx)("div",{className:"user-block",children:e})}}])&&p(n.prototype,e),r&&p(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component),r=o.default.string;e.propTypes={api_url:r},e.defaultProps={api_url:"undefined"!=typeof drupalSettings&&void 0!==drupalSettings.nber_api&&void 0!==drupalSettings.nber_api.user_cookie_api_url?drupalSettings.nber_api.user_cookie_api_url:"https://my.nber.org/set_user_info_cookie"}},{"./LoginButton.jsx":52,"./UserGreeting.jsx":53,"prop-types":"prop-types",react:"react","react/jsx-runtime":62}],55:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.GetIcon=void 0;var n=e("react/jsx-runtime");r.GetIcon=function(){return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"21",height:"20",viewBox:"0 0 21 20",children:(0,n.jsx)("g",{children:(0,n.jsx)("g",{transform:"translate(-1296 -100)",children:(0,n.jsx)("path",{d:"M1307.938 113.561v-1.237c1.583-.931 2.874-3.252 2.874-5.574 0-3.728 0-6.75-4.312-6.75-4.313 0-4.313 3.022-4.313 6.75 0 2.322 1.292 4.643 2.876 5.574v1.237c-4.877.416-8.626 2.916-8.626 5.939h20.126c0-3.023-3.75-5.523-8.626-5.939z"})})})})}},{"react/jsx-runtime":62}],56:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.loginInit=void 0;var n,o=e("react-dom/client"),a=(n=e("./components/UserPresence.jsx"))&&n.__esModule?n:{default:n},i=e("react/jsx-runtime");r.loginInit=function(){for(var e=document.getElementsByClassName("header__user"),t=0;t<e.length;t++)(0,o.createRoot)(e.item(t)).render((0,i.jsx)(a.default,{}))}},{"./components/UserPresence.jsx":54,"react-dom/client":"react-dom/client","react/jsx-runtime":62}],57:[function(e,t,r){"use strict";var n;"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=0;t[r]&&t[r]!==this;)++r;return Boolean(t[r])}),"function"!=typeof n.closest&&(n.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},{}],58:[function(e,t,r){"use strict";e("core-js/fn/object/assign"),e("core-js/fn/array/find"),e("core-js/fn/array/find-index"),e("core-js/fn/array/fill"),e("core-js/fn/array/includes"),e("core-js/fn/array/from"),e("core-js/fn/promise")},{"core-js/fn/array/fill":"core-js/fn/array/fill","core-js/fn/array/find":"
1core-js/fn/array/find","core-js/fn/array/find-index":"core-js/fn/array/find-index","core-js/fn/array/from":"core-js/fn/array/from","core-js/fn/array/includes":"core-js/fn/array/includes","core-js/fn/object/assign":"core-js/fn/object/assign","core-js/fn/promise":"core-js/fn/promise"}],59:[function(e,t,r){"use strict";e("./es6-polyfill"),e("./closest");var n=o(e("svg4everybody")),e=(e("whatwg-fetch"),o(e("promise-polyfill")));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){t=t||{bubbles:!1,cancelable:!1,state:void 0};var r=document.createEvent("PopStateEvent");return r.initPopStateEvent(e,t.state,t.bubbles,t.cancelable),r}(0,n.default)(),window.Promise||(window.Promise=e.default),a.prototype=window.PopStateEvent.prototype;try{new window.PopStateEvent("test")}catch(e){window.PopStateEvent=a}},{"./closest":57,"./es6-polyfill":58,"promise-polyfill":"promise-polyfill",svg4everybody:"svg4everybody","whatwg-fetch":"whatwg-fetch"}],60:[function(e,t,r){},{react:"react"}],61:[function(e,t,r){"use strict";var e=e("react"),s=Symbol.for("react.element"),n=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function o(e,t,r){var n,o={},a=null,i=null;for(n in void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)c.call(t,n)&&!u.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:s,type:e,key:a,ref:i,props:o,_owner:l.current}}r.Fragment=n,r.jsx=o,r.jsxs=o},{react:"react"}],62:[function(e,t,r){"use strict";t.exports=e("./cjs/react-jsx-runtime.production.min.js")},{"./cjs/react-jsx-runtime.development.js":60,"./cjs/react-jsx-runtime.production.min.js":61}]},{},[1]); 2//# sourceMappingURL=index-generated.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.