PageSourceSearch

https://www.weidenfeldandnicolson.co.uk/wp-content/themes/hachette…?ver=bc439939a985961dd60c

js weidenfeldandnicolson.co.uk collected 2026-09-24 17:56:53 UTC 143,275 bytes, 3 lines download raw bytes

1/*! For license information please see hachette-site.bundle.min.js.LICENSE.txt */
2!function(){var t={
vendor: 4,187 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/carousel.js":function(){!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.carousel"),s=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),r="string"==typeof n?n:s.slide;o||i.data("bs.carousel",o=new e(this,s)),"number"==typeof n?o.to(n):r?o[r]():s.interval&&o.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){var o=this.$element.find(".item.active"),s=i||this.getItemForDirection(n,o),r=this.interval,a="next"==n?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var c=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:c,direction:a});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,r&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(s)]);h&&h.addClass("active")}var u=t.Event("slid.bs.carousel",{relatedTarget:c,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(n),"object"==typeof s&&s.length&&s[0].offsetWidth,o.addClass(a),s.addClass(a),o.one("bsTransitionEnd",(function(){s.removeClass([n,a].join(" ")).addClass("active"),o.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(u)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(u)),r&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(e){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var s=i.attr("data-target")||o,r=t(document).find(s);if(r.hasClass("carousel")){var a=t.extend({},r.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(r,a),l&&r.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(jQuery)},
vendor: 3,475 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js":function(){!function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each((function(){var i=t(this),o=i.data("bs.collapse"),s=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!o&&s.toggle&&/show|hide/.test(n)&&(s.toggle=!1),o||i.data("bs.collapse",o=new e(this,s)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),n||o.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[r](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,i){var o=t(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var s=n(o),r=s.data("bs.collapse")?"toggle":o.data();i.call(s,r)}))}(jQuery)},
vendor: 2,466 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js":function(){!function(t){"use strict";var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function o(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),o=i(e),s={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",s)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",s)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var s=i(n),r=s.hasClass("open");if(o(),!r){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",o);var a={relatedTarget:this};if(s.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var o=t(this);if(n.preventDefault(),n.stopPropagation(),!o.is(".disabled, :disabled")){var s=i(o),r=s.hasClass("open");if(!r&&27!=n.which||r&&27==n.which)return 27==n.which&&s.find(e).trigger("focus"),o.trigger("click");var a=s.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new n(this)),"string"==typeof e&&o[e].call(i)}))},t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery)},
vendor: 6,488 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js":function(){!function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function n(n,i){return this.each((function(){var o=t(this),s=o.data("bs.modal"),r=t.extend({},e.DEFAULTS,o.data(),"object"==typeof n&&n);s||o.data("bs.modal",s=new e(this,r)),"string"==typeof n?s[n](i):r.show&&s.show(i)}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var i=this,o=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){i.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:n});o?i.$dialog.one("bsTransitionEnd",(function(){i.$element.trigger("focus").trigger(s)})).emulateTransitionEnd(e.TRANSITION_DURATION):i.$element.trigger("focus").trigger(s)})))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;s?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var r=function(){i.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",r).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):r()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each((function(e,i){var o=i.style.paddingRight,s=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(s)+n+"px")})))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each((function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""}))},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var i=t(this),o=i.attr("href"),s=i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,""),r=t(document).find(s),a=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&e.preventDefault(),r.one("show.bs.modal",(function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))})),n.call(r,a,this)}))}(jQuery)},
vendor: 1,825 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/popover.js":function(){!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var i=t(this),o=i.data("bs.popover"),s="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new e(this,s)),"string"==typeof n&&o[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery)},
vendor: 1,920 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/tab.js":function(){!function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new e(this)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),r=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(s),e.trigger(r),!r.isDefaultPrevented()&&!s.isDefaultPrevented()){var a=t(document).find(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),(function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})}))}}},e.prototype.activate=function(n,i,o){var s=i.find("> .active"),r=o&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);function a(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}s.length&&r?s.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery)},
vendor: 10,964 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js":function(){!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function s(e,s){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,s))return-1===t.inArray(r,n)||Boolean(e.nodeValue.match(i)||e.nodeValue.match(o));for(var a=t(s).filter((function(t,e){return e instanceof RegExp})),l=0,c=a.length;l<c;l++)if(r.match(a[l]))return!0;return!1}function r(e,n,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=e;for(var r=t.map(n,(function(t,e){return e})),a=t(o.body).find("*"),l=0,c=a.length;l<c;l++){var d=a[l],h=d.nodeName.toLowerCase();if(-1!==t.inArray(h,r))for(var u=t.map(d.attributes,(function(t){return t})),p=[].concat(n["*"]||[],n[h]||[]),m=0,f=u.length;m<f;m++)s(u[m],p)||d.removeAttribute(u[m].nodeName);else d.parentNode.removeChild(d)}return o.body.innerHTML}var a=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},a.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),s=o.length;s--;){var r=o[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},a.prototype.getDefaults=function(){return a.DEFAULTS},a.prototype.getOptions=function(n){var i=this.$element.data();for(var o in i)i.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete i[o];return(n=t.extend({},this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=r(n.template,n.whiteList,n.sanitizeFn)),n},a.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},a.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},a.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},a.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},a.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(r);c&&(r=r.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),h=o[0].offsetWidth,u=o[0].offsetHeight;if(c){var p=r,m=this.getPosition(this.$viewport);r="bottom"==r&&d.bottom+u>m.bottom?"top":"top"==r&&d.top-u<m.top?"bottom":"right"==r&&d.right+h>m.width?"left":"left"==r&&d.left-h<m.left?"right":r,o.removeClass(p).addClass(r)}var f=this.getCalculatedOffset(r,d,h,u);this.applyPlacement(f,r);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",g).emulateTransitionEnd(a.TRANSITION_DURATION):g()}},a.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,s=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=s&&(e.top=e.top+s-c);var d=this.getViewportAdjustedDelta(n,e,l,c);d.left?e.left+=d.left:e.top+=d.top;var h=/top|bottom/.test(n),u=h?2*d.left-o+l:2*d.top-s+c,p=h?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(u,i[0][p],h)},a.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},a.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=r(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},a.prototype.hide=function(e){var n=this,i=t(this.$tip),o=t.Event("hide.bs."+this.type);function s(){"in"!=n.hoverState&&i.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s(),this.hoverState=null,this},a.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},a.prototype.hasContent=function(){return this.getTitle()},a.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var s=window.SVGElement&&n instanceof window.SVGElement,r=i?{top:0,left:0}:s?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,l,r)},a.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},a.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,l=e.top+s-r.scroll+i;a<r.top?o.top=r.top-a:l>r.top+r.height&&(o.top=r.top+r.height-l)}else{var c=e.left-s,d=e.left+s+n;c<r.left?o.left=r.left-c:d>r.right&&(o.left=r.left+r.width-d)}return o},a.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},a.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},a.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},a.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},a.prototype.enable=function(){this.enabled=!0},a.prototype.disable=function(){this.enabled=!1},a.prototype.toggleEnabled=function(){this.enabled=!this.enabled},a.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},a.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},a.prototype.sanitizeHtml=function(t){return r(t,this.options.whiteList,this.options.sanitizeFn)};var l=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new a(this,o)),"string"==typeof e&&i[e]())}))},t.fn.tooltip.Constructor=a,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=l,this}}(jQuery)},
vendor: 835 bytes, line 2
2"../node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js":function(){!function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(jQuery)},
vendor: 20,205 bytes, line 2
2"../node_modules/hammerjs/hammer.js":function(t,e,n){var i;!function(o,s,r,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],d=s.createElement("div"),h="function",u=Math.round,p=Math.abs,m=Date.now;function f(t,e,n){return setTimeout(T(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==a)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function y(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",s=o.console&&(o.console.warn||o.console.log);return s&&s.call(o.console,i,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==a&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}:Object.assign;var b=y((function(t,e,n){for(var i=Object.keys(e),o=0;o<i.length;)(!n||n&&t[i[o]]===a)&&(t[i[o]]=e[i[o]]),o++;return t}),"extend","Use `assign`."),w=y((function(t,e){return b(t,e,!0)}),"merge","Use `assign`.");function _(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&l(i,n)}function T(t,e){return function(){return t.apply(e,arguments)}}function E(t,e){return typeof t==h?t.apply(e&&e[0]||a,e):t}function C(t,e){return t===a?e:t}function S(t,e,n){v(I(e),(function(e){t.addEventListener(e,n,!1)}))}function k(t,e,n){v(I(e),(function(e){t.removeEventListener(e,n,!1)}))}function A(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function x(t,e){return t.indexOf(e)>-1}function I(t){return t.trim().split(/\s+/g)}function $(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function L(t){return Array.prototype.slice.call(t,0)}function P(t,e,n){for(var i=[],o=[],s=0;s<t.length;){var r=e?t[s][e]:t[s];$(o,r)<0&&i.push(t[s]),o[s]=r,s++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function j(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),s=0;s<c.length;){if((i=(n=c[s])?n+o:e)in t)return i;s++}return a}var D=1;function O(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||o}var B="ontouchstart"in o,R=j(o,"PointerEvent")!==a,N=B&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),M="touch",q="mouse",U=25,z=1,F=4,H=8,W=1,V=2,Q=4,G=8,X=16,Y=V|Q,J=G|X,K=Y|J,Z=["x","y"],tt=["clientX","clientY"];function et(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){E(t.options.enable,[t])&&n.handler(e)},this.init()}function nt(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,s=e&z&&i-o==0,r=e&(F|H)&&i-o==0;n.isFirst=!!s,n.isFinal=!!r,s&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=it(e)),o>1&&!n.firstMultiple?n.firstMultiple=it(e):1===o&&(n.firstMultiple=!1);var s=n.firstInput,r=n.firstMultiple,l=r?r.center:s.center,c=e.center=ot(i);e.timeStamp=m(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=lt(l,c),e.distance=at(l,c),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},s=t.prevInput||{};e.eventType!==z&&s.eventType!==F||(o=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var d,h,u=st(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=p(u.x)>p(u.y)?u.x:u.y,e.scale=r?(d=r.pointers,at((h=i)[0],h[1],tt)/at(d[0],d[1],tt)):1,e.rotation=r?function(t,e){return lt(e[1],e[0],tt)+lt(t[1],t[0],tt)}(r.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,o,s,r=t.lastInterval||e,l=e.timeStamp-r.timeStamp;if(e.eventType!=H&&(l>U||r.velocity===a)){var c=e.deltaX-r.deltaX,d=e.deltaY-r.deltaY,h=st(l,c,d);i=h.x,o=h.y,n=p(h.x)>p(h.y)?h.x:h.y,s=rt(c,d),t.lastInterval=e}else n=r.velocity,i=r.velocityX,o=r.velocityY,s=r.direction;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=s}(n,e);var f=t.element;A(e.srcEvent.target,f)&&(f=e.srcEvent.target),e.target=f}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function it(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:m(),pointers:e,center:ot(e),deltaX:t.deltaX,deltaY:t.deltaY}}function ot(t){var e=t.length;if(1===e)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,i=0,o=0;o<e;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:u(n/e),y:u(i/e)}}function st(t,e,n){return{x:e/t||0,y:n/t||0}}function rt(t,e){return t===e?W:p(t)>=p(e)?t<0?V:Q:e<0?G:X}function at(t,e,n){n||(n=Z);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function lt(t,e,n){n||(n=Z);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}et.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(O(this.element),this.evWin,this.domHandler)}};var ct={mousedown:z,mousemove:2,mouseup:F},dt="mousedown",ht="mousemove mouseup";function ut(){this.evEl=dt,this.evWin=ht,this.pressed=!1,et.apply(this,arguments)}_(ut,et,{handler:function(t){var e=ct[t.type];e&z&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=F),this.pressed&&(e&F&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:q,srcEvent:t}))}});var pt={pointerdown:z,pointermove:2,pointerup:F,pointercancel:H,pointerout:H},mt={2:M,3:"pen",4:q,5:"kinect"},ft="pointerdown",gt="pointermove pointerup pointercancel";function vt(){this.evEl=ft,this.evWin=gt,et.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&(ft="MSPointerDown",gt="MSPointerMove MSPointerUp MSPointerCancel"),_(vt,et,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=pt[i],s=mt[t.pointerType]||t.pointerType,r=s==M,a=$(e,t.pointerId,"pointerId");o&z&&(0===t.button||r)?a<0&&(e.push(t),a=e.length-1):o&(F|H)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),n&&e.splice(a,1))}});var yt={touchstart:z,touchmove:2,touchend:F,touchcancel:H};function bt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,et.apply(this,arguments)}function wt(t,e){var n=L(t.touches),i=L(t.changedTouches);return e&(F|H)&&(n=P(n.concat(i),"identifier",!0)),[n,i]}_(bt,et,{handler:function(t){var e=yt[t.type];if(e===z&&(this.started=!0),this.started){var n=wt.call(this,t,e);e&(F|H)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:M,srcEvent:t})}}});var _t={touchstart:z,touchmove:2,touchend:F,touchcancel:H},Tt="touchstart touchmove touchend touchcancel";function Et(){this.evTarget=Tt,this.targetIds={},et.apply(this,arguments)}function Ct(t,e){var n=L(t.touches),i=this.targetIds;if(e&(2|z)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,s,r=L(t.changedTouches),a=[],l=this.target;if(s=n.filter((function(t){return A(t.target,l)})),e===z)for(o=0;o<s.length;)i[s[o].identifier]=!0,o++;for(o=0;o<r.length;)i[r[o].identifier]&&a.push(r[o]),e&(F|H)&&delete i[r[o].identifier],o++;return a.length?[P(s.concat(a),"identifier",!0),a]:void 0}_(Et,et,{handler:function(t){var e=_t[t.type],n=Ct.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:M,srcEvent:t})}});var St=2500;function kt(){et.apply(this,arguments);var t=T(this.handler,this);this.touch=new Et(this.manager,t),this.mouse=new ut(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function At(t,e){t&z?(this.primaryTouch=e.changedPointers[0].identifier,xt.call(this,e)):t&(F|H)&&xt.call(this,e)}function xt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)}),St)}}function It(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],s=Math.abs(e-o.x),r=Math.abs(n-o.y);if(s<=25&&r<=25)return!0}return!1}_(kt,et,{handler:function(t,e,n){var i=n.pointerType==M,o=n.pointerType==q;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)At.call(this,e,n);else if(o&&It.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var $t=j(d.style,"touchAction"),Lt=$t!==a,Pt="compute",jt="auto",Dt="manipulation",Ot="none",Bt="pan-x",Rt="pan-y",Nt=function(){if(!Lt)return!1;var t={},e=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||o.CSS.supports("touch-action",n)})),t}();function Mt(t,e){this.manager=t,this.set(e)}Mt.prototype={set:function(t){t==Pt&&(t=this.compute()),Lt&&this.manager.element.style&&Nt[t]&&(this.manager.element.style[$t]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(e){E(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(x(t,Ot))return Ot;var e=x(t,Bt),n=x(t,Rt);return e&&n?Ot:e||n?e?Bt:Rt:x(t,Dt)?Dt:jt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,o=x(i,Ot)&&!Nt[Ot],s=x(i,Rt)&&!Nt[Rt],r=x(i,Bt)&&!Nt[Bt];if(o){var a=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(a&&l&&c)return}if(!r||!s)return o||s&&n&Y||r&&n&J?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var qt=1,Ut=32;function zt(t){this.options=l({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=qt,this.simultaneous={},this.requireFail=[]}function Ft(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Ht(t){return t==X?"down":t==G?"up":t==V?"left":t==Q?"right":""}function Wt(t,e){var n=e.manager;return n?n.get(t):t}function Vt(){zt.apply(this,arguments)}function Qt(){Vt.apply(this,arguments),this.pX=null,this.pY=null}function Gt(){Vt.apply(this,arguments)}function Xt(){zt.apply(this,arguments),this._timer=null,this._input=null}function Yt(){Vt.apply(this,arguments)}function Jt(){Vt.apply(this,arguments)}function Kt(){zt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Zt(t,e){return(e=e||{}).recognizers=C(e.recognizers,Zt.defaults.preset),new te(t,e)}function te(t,e){this.options=l({},Zt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(R?vt:N?Et:B?kt:ut))(this,nt),this.touchAction=new Mt(this,this.options.touchAction),ee(this,!0),v(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function ee(t,e){var n,i=t.element;i.style&&(v(t.options.cssProps,(function(o,s){n=j(i.style,s),e?(t.oldCssProps[n]=i.style[n],i.style[n]=o):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}zt.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Wt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)||(t=Wt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===$(e,t=Wt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Wt(t,this);var e=$(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+Ft(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+Ft(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=Ut},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(Ut|qt)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!E(this.options.enable,[this,e]))return this.reset(),void(this.state=Ut);56&this.state&&(this.state=qt),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},_(Vt,zt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,o=this.attrTest(t);return i&&(n&H||!o)?16|e:i||o?n&F?8|e:2&e?4|e:2:Ut}}),_(Qt,Vt,{defaults:{event:"pan",threshold:10,pointers:1,direction:K},getTouchAction:function(){var t=this.options.direction,e=[];return t&Y&&e.push(Rt),t&J&&e.push(Bt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,s=t.deltaX,r=t.deltaY;return o&e.direction||(e.direction&Y?(o=0===s?W:s<0?V:Q,n=s!=this.pX,i=Math.abs(t.deltaX)):(o=0===r?W:r<0?G:X,n=r!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return Vt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ht(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),_(Gt,Vt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ot]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),_(Xt,zt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[jt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(F|H)&&!o)this.reset();else if(t.eventType&z)this.reset(),this._timer=f((function(){this.state=8,this.tryEmit()}),e.time,this);else if(t.eventType&F)return 8;return Ut},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&F?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=m(),this.manager.emit(this.options.event,this._input)))}}),_(Yt,Vt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ot]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),_(Jt,Vt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|J,pointers:1},getTouchAction:function(){return Qt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Y|J)?e=t.overallVelocity:n&Y?e=t.overallVelocityX:n&J&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&t.eventType&F},emit:function(t){var e=Ht(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),_(Kt,zt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Dt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&z&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=F)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,r=!this.pCenter||at(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,r&&s?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=f((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return Ut},failTimeout:function(){return this._timer=f((function(){this.state=Ut}),this.options.interval,this),Ut},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Zt.VERSION="2.0.7",Zt.defaults={domEvents:!1,touchAction:Pt,enable:!0,inputTarget:null,inputClass:null,preset:[[Yt,{enable:!1}],[Gt,{enable:!1},["rotate"]],[Jt,{direction:Y}],[Qt,{direction:Y},["swipe"]],[Kt],[Kt,{event:"doubletap",taps:2},["tap"]],[Xt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},te.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var s=0;s<i.length;)n=i[s],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),s++}},get:function(t){if(t instanceof zt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=$(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var n=this.handlers;return v(I(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(t!==a){var n=this.handlers;return v(I(t),(function(t){e?n[t]&&n[t].splice($(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=s.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&ee(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Zt,{INPUT_START:z,INPUT_MOVE:2,INPUT_END:F,INPUT_CANCEL:H,STATE_POSSIBLE:qt,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Ut,DIRECTION_NONE:W,DIRECTION_LEFT:V,DIRECTION_RIGHT:Q,DIRECTION_UP:G,DIRECTION_DOWN:X,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:J,DIRECTION_ALL:K,Manager:te,Input:et,TouchAction:Mt,TouchInput:Et,MouseInput:ut,PointerEventInput:vt,TouchMouseInput:kt,SingleTouchInput:bt,Recognizer:zt,AttrRecognizer:Vt,Tap:Kt,Pan:Qt,Swipe:Jt,Pinch:Gt,Rotate:Yt,Press:Xt,on:S,off:k,each:v,merge:w,extend:b,assign:l,inherit:_,bindFn:T,prefixed:j}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Zt,(i=function(){return Zt}.call(e,n,e,t))===a||(t.exports=i)}(window,document)},
vendor: 6,746 bytes, line 2
2"../node_modules/jquery.dotdotdot/src/jquery.dotdotdot.min.umd.js":function(t,e,n){var i,o,s;o=[n("jquery")],i=function(t){return function(t,e){function n(e,s,r,a,l){var c=!1;return e.contents().detach().each((function(){var d=this,h=t(d);if(void 0===d)return!0;if(h.is("script, .dotdotdot-keep"))e.append(h);else{if(c)return!0;e.append(h),!l||h.is(a.after)||h.find(a.after).length||e[e.is("a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style")?"after":"append"](l),o(r,a)&&(c=3==d.nodeType?i(h,s,r,a,l):n(h,s,r,a,l)),c||l&&l.detach()}})),s.addClass("is-truncated"),c}function i(e,n,i,r,c){var h=e[0];if(!h)return!1;var u=l(h),p=-1!==u.indexOf(" ")?" ":" ",m="letter"==r.wrap?"":p,f=u.split(m),g=-1,v=-1,y=0,b=f.length-1;for(r.fallbackToLetter&&0==y&&0==b&&(m="",b=(f=u.split(m)).length-1);b>=y&&(0!=y||0!=b);){var w=Math.floor((y+b)/2);if(w==v)break;v=w,a(h,f.slice(0,v+1).join(m)+r.ellipsis),i.children().each((function(){t(this).toggle().toggle()})),o(i,r)?(b=v,r.fallbackToLetter&&0==y&&0==b&&(m="",g=-1,v=-1,y=0,b=(f=f[0].split(m)).length-1)):(g=v,y=v)}if(-1==g||1==f.length&&0==f[0].length){var _=e.parent();e.detach();var T=c&&c.closest(_).length?c.length:0;if(_.contents().length>T?h=d(_.contents().eq(-1-T),n):(h=d(_,n,!0),T||_.detach()),h&&(a(h,u=s(l(h),r)),T&&c)){var E=c.parent();t(h).parent().append(c),t.trim(E.html())||E.remove()}}else a(h,u=s(f.slice(0,g+1).join(m),r));return!0}function o(t,e){return t.innerHeight()>e.maxHeight}function s(e,n){for(;t.inArray(e.slice(-1),n.lastCharacter.remove)>-1;)e=e.slice(0,-1);return t.inArray(e.slice(-1),n.lastCharacter.noEllipsis)<0&&(e+=n.ellipsis),e}function r(t){return{width:t.innerWidth(),height:t.innerHeight()}}function a(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function l(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function c(t){do{t=t.previousSibling}while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function d(e,n,i){var o,s=e&&e[0];if(s){if(!i){if(3===s.nodeType)return s;if(t.trim(e.text()))return d(e.contents().last(),n)}for(o=c(s);!o;){if((e=e.parent()).is(n)||!e.length)return!1;o=c(e[0])}if(o)return d(t(o),n)}return!1}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return t.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each((function(){t(this).dotdotdot(e)}));var i=this,s=i.contents();i.data("dotdotdot")&&i.trigger("destroy.dot"),i.data("dotdotdot-style",i.attr("style")||""),i.css("word-wrap","break-word"),"nowrap"===i.css("white-space")&&i.css("white-space","normal"),i.bind_events=function(){return i.bind("update.dot",(function(e,r){switch(i.removeClass("is-truncated"),e.preventDefault(),e.stopPropagation(),typeof a.height){case"number":a.maxHeight=a.height;break;case"function":a.maxHeight=a.height.call(i[0]);break;default:a.maxHeight=function(t){for(var e=t.innerHeight(),n=["paddingTop","paddingBottom"],i=0,o=n.length;o>i;i++){var s=parseInt(t.css(n[i]),10);isNaN(s)&&(s=0),e-=s}return e}(i)}a.maxHeight+=a.tolerance,void 0!==r&&(("string"==typeof r||"nodeType"in r&&1===r.nodeType)&&(r=t("<div />").append(r).contents()),r instanceof t&&(s=r)),(u=i.wrapInner('<div class="dotdotdot" />').children()).contents().detach().end().append(s.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var c=!1,d=!1;return l.afterElement&&((c=l.afterElement.clone(!0)).show(),l.afterElement.detach()),o(u,a)&&(d="children"==a.wrap?function(t,e,n){var i=t.children(),s=!1;t.empty();for(var r=0,a=i.length;a>r;r++){var l=i.eq(r);if(t.append(l),n&&t.append(n),o(t,e)){l.remove(),s=!0;break}n&&n.detach()}return s}(u,a,c):n(u,i,u,a,c)),u.replaceWith(u.contents()),u=null,t.isFunction(a.callback)&&a.callback.call(i[0],d,s),l.isTruncated=d,d})).bind("isTruncated.dot",(function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(i[0],l.isTruncated),l.isTruncated})).bind("originalContent.dot",(function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(i[0],s),s})).bind("destroy.dot",(function(t){t.preventDefault(),t.stopPropagation(),i.unwatch().unbind_events().contents().detach().end().append(s).attr("style",i.data("dotdotdot-style")||"").removeClass("is-truncated").data("dotdotdot",!1)})),i},i.unbind_events=function(){return i.unbind(".dot"),i},i.watch=function(){if(i.unwatch(),"window"==a.watch){var e=t(window),n=e.width(),o=e.height();e.bind("resize.dot"+l.dotId,(function(){n==e.width()&&o==e.height()&&a.windowResizeFix||(n=e.width(),o=e.height(),d&&clearInterval(d),d=setTimeout((function(){i.trigger("update.dot")}),100))}))}else c=r(i),d=setInterval((function(){if(i.is(":visible")){var t=r(i);c.width==t.width&&c.height==t.height||(i.trigger("update.dot"),c=t)}}),500);return i},i.unwatch=function(){return t(window).unbind("resize.dot"+l.dotId),d&&clearInterval(d),i};var a=t.extend(!0,{},t.fn.dotdotdot.defaults,e),l={},c={},d=null,u=null;return a.lastCharacter.remove instanceof Array||(a.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),a.lastCharacter.noEllipsis instanceof Array||(a.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),l.afterElement=function(e,n){return!!e&&("string"==typeof e?!!(e=t(e,n)).length&&e:!!e.jquery&&e)}(a.after,i),l.isTruncated=!1,l.dotId=h++,i.data("dotdotdot",!0).bind_events().trigger("update.dot"),a.watch&&i.watch(),i},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},t.fn.dotdotdot.debug=function(t){};var h=1,u=t.fn.html;t.fn.html=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):u.apply(this,arguments)};var p=t.fn.text;t.fn.text=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?(n=t("<div />").text(n).html(),this.trigger("update",[n])):p.apply(this,arguments)}}}(t),t(document).ready((function(t){t(".dot-ellipsis").each((function(){var e=t(this).hasClass("dot-resize-update"),n=t(this).hasClass("dot-timer-update"),i=0,o=t(this).attr("class").split(/\s+/);t.each(o,(function(t,e){var n=e.match(/^dot-height-(\d+)$/);null!==n&&(i=Number(n[1]))}));var s=new Object;n&&(s.watch=!0),e&&(s.watch="window"),i>0&&(s.height=i),t(this).dotdotdot(s)}))})),t(window).on("load",(function(){t(".dot-ellipsis.dot-load-update").trigger("update.dot")})),!0},void 0===(s=i.apply(e,o))||(t.exports=s)},
vendor: 3,261 bytes, line 2
2"../node_modules/object-fit-images/dist/ofi.common-js.js":function(t){"use strict";var e="bfred-it:object-fit-images",n=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,i="undefined"==typeof Image?{style:{"object-position":1}}:new Image,o="object-fit"in i.style,s="object-position"in i.style,r="background-size"in i.style,a="string"==typeof i.currentSrc,l=i.getAttribute,c=i.setAttribute,d=!1;function h(t,e,n){var i="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(e||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";l.call(t,"src")!==i&&c.call(t,"src",i)}function u(t,e){t.naturalWidth?e(t):setTimeout(u,100,t,e)}function p(t){var i=function(t){for(var e,i=getComputedStyle(t).fontFamily,o={};null!==(e=n.exec(i));)o[e[1]]=e[2];return o}(t),s=t[e];if(i["object-fit"]=i["object-fit"]||"fill",!s.img){if("fill"===i["object-fit"])return;if(!s.skipTest&&o&&!i["object-position"])return}if(!s.img){s.img=new Image(t.width,t.height),s.img.srcset=l.call(t,"data-ofi-srcset")||t.srcset,s.img.src=l.call(t,"data-ofi-src")||t.src,c.call(t,"data-ofi-src",t.src),t.srcset&&c.call(t,"data-ofi-srcset",t.srcset),h(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var n={get:function(n){return t[e].img[n||"src"]},set:function(n,i){return t[e].img[i||"src"]=n,c.call(t,"data-ofi-"+i,n),p(t),n}};Object.defineProperty(t,"src",n),Object.defineProperty(t,"currentSrc",{get:function(){return n.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return n.get("srcset")},set:function(t){return n.set(t,"srcset")}})}(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!a&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(s.img),t.style.backgroundImage='url("'+(s.img.currentSrc||s.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=i["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(i["object-fit"])?u(s.img,(function(){s.img.naturalWidth>t.width||s.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"})):t.style.backgroundSize=i["object-fit"].replace("none","auto").replace("fill","100% 100%"),u(s.img,(function(e){h(t,e.naturalWidth,e.naturalHeight)}))}function m(t,n){var i=!d&&!t;if(n=n||{},t=t||"img",s&&!n.skipTest||!r)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var o=0;o<t.length;o++)t[o][e]=t[o][e]||{skipTest:n.skipTest},p(t[o]);i&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&m(t.target,{skipTest:n.skipTest})}),!0),d=!0,t="img"),n.watchMQ&&window.addEventListener("resize",m.bind(null,t,{skipTest:n.skipTest}))}m.supportsObjectFit=o,m.supportsObjectPosition=s,function(){function t(t,n){return t[e]&&t[e].img&&("src"===n||"srcset"===n)?t[e].img:t}s||(HTMLImageElement.prototype.getAttribute=function(e){return l.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,n){return c.call(t(this,e),e,String(n))})}(),t.exports=m},
vendor: 6,172 bytes, line 2
2"../node_modules/url-polyfill/url-polyfill.js":function(t,e,n){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},i=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},o=function(t){return decodeURIComponent(String(t).replace(/\+/g," "))};(function(){try{var e=t.URLSearchParams;return"a=1"===new e("?a=1").toString()&&"function"==typeof e.prototype.set&&"function"==typeof e.prototype.entries}catch(t){return!1}})()||function(){var o=function(t){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var e=typeof t;if("undefined"===e);else if("string"===e)""!==t&&this._fromString(t);else if(t instanceof o){var n=this;t.forEach((function(t,e){n.append(e,t)}))}else{if(null===t||"object"!==e)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(t))for(var i=0;i<t.length;i++){var s=t[i];if("[object Array]"!==Object.prototype.toString.call(s)&&2===s.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(s[0],s[1])}else for(var r in t)t.hasOwnProperty(r)&&this.append(r,t[r])}},s=o.prototype;s.append=function(t,e){t in this._entries?this._entries[t].push(String(e)):this._entries[t]=[String(e)]},s.delete=function(t){delete this._entries[t]},s.get=function(t){return t in this._entries?this._entries[t][0]:null},s.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},s.has=function(t){return t in this._entries},s.set=function(t,e){this._entries[t]=[String(e)]},s.forEach=function(t,e){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var o=0;o<n.length;o++)t.call(e,n[o],i,this)}},s.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),n(t)},s.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),n(t)},s.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),n(t)},e&&(s[Symbol.iterator]=s.entries),s.toString=function(){var t=[];return this.forEach((function(e,n){t.push(i(n)+"="+i(e))})),t.join("&")},t.URLSearchParams=o}();var s=t.URLSearchParams.prototype;"function"!=typeof s.sort&&(s.sort=function(){var t=this,e=[];this.forEach((function(n,i){e.push([i,n]),t._entries||t.delete(i)})),e.sort((function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0})),t._entries&&(t._entries={});for(var n=0;n<e.length;n++)this.append(e[n][0],e[n][1])}),"function"!=typeof s._fromString&&Object.defineProperty(s,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(t){if(this._entries)this._entries={};else{var e=[];this.forEach((function(t,n){e.push(n)}));for(var n=0;n<e.length;n++)this.delete(e[n])}var i,s=(t=t.replace(/^\?/,"")).split("&");for(n=0;n<s.length;n++)i=s[n].split("="),this.append(o(i[0]),i.length>1?o(i[1]):"")}})}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var e=new t.URL("b","http://a");return e.pathname="c d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(e,n){"string"!=typeof e&&(e=String(e)),n&&"string"!=typeof n&&(n=String(n));var i,o=document;if(n&&(void 0===t.location||n!==t.location.href)){n=n.toLowerCase(),(i=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(t){throw new Error("URL unable to set base "+n+" due to "+t)}}var s=o.createElement("a");s.href=e,i&&(o.body.appendChild(s),s.href=s.href);var r=o.createElement("input");if(r.type="url",r.value=e,":"===s.protocol||!/:/.test(s.href)||!r.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:s});var a=new t.URLSearchParams(this.search),l=!0,c=!0,d=this;["append","delete","set"].forEach((function(t){var e=a[t];a[t]=function(){e.apply(a,arguments),l&&(c=!1,d.search=a.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:a,enumerable:!0});var h=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==h&&(h=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},i=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(t){!function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(t){this._anchorElement.search=t,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval((function(){t.location.origin=e()}),100)}}}(void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}
vendor: 4,292 bytes, line 2
2,jquery:function(t){"use strict";t.exports=jQuery}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var s=e[i]={exports:{}};return t[i].call(s.exports,s,s.exports,n),s.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/modal.js"),n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js"),n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/popover.js");function t(t,e){this.name="AggregateError",this.errors=t,this.message=e||""}t.prototype=Error.prototype;var e=setTimeout;function i(t){return Boolean(t&&void 0!==t.length)}function o(){}function s(t){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],h(t,this)}function r(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,s._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(t){return void l(e.promise,t)}a(e.promise,i)}else(1===t._state?a:l)(e.promise,t._value)}))):t._deferreds.push(e)}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof s)return t._state=3,t._value=e,void c(t);if("function"==typeof n)return void h((i=n,o=e,function(){i.apply(o,arguments)}),t)}t._state=1,t._value=e,c(t)}catch(e){l(t,e)}var i,o}function l(t,e){t._state=2,t._value=e,c(t)}function c(t){2===t._state&&0===t._deferreds.length&&s._immediateFn((function(){t._handled||s._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)r(t,t._deferreds[e]);t._deferreds=null}function d(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function h(t,e){var n=!1;try{t((function(t){n||(n=!0,a(e,t))}),(function(t){n||(n=!0,l(e,t))}))}catch(t){if(n)return;n=!0,l(e,t)}}s.prototype.catch=function(t){return this.then(null,t)},s.prototype.then=function(t,e){var n=new this.constructor(o);return r(this,new d(t,e,n)),n},s.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))},s.all=function(t){return new s((function(e,n){if(!i(t))return n(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);var s=o.length;function r(t,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var a=i.then;if("function"==typeof a)return void a.call(i,(function(e){r(t,e)}),n)}o[t]=i,0==--s&&e(o)}catch(t){n(t)}}for(var a=0;a<o.length;a++)r(a,o[a])}))},s.any=function(e){var n=this;return new n((function(i,o){if(!e||void 0===e.length)return o(new TypeError("Promise.any accepts an array"));var s=Array.prototype.slice.call(e);if(0===s.length)return o();for(var r=[],a=0;a<s.length;a++)try{n.resolve(s[a]).then(i).catch((function(e){r.push(e),r.length===s.length&&o(new t(r,"All promises were rejected"))}))}catch(t){o(t)}}))},s.allSettled=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);var o=i.length;function s(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if("function"==typeof r)return void r.call(n,(function(e){s(t,e)}),(function(n){i[t]={status:"rejected",reason:n},0==--o&&e(i)}))}i[t]={status:"fulfilled",value:n},0==--o&&e(i)}for(var r=0;r<i.length;r++)s(r,i[r])}))},s.resolve=function(t){return t&&"object"==typeof t&&t.constructor===s?t:new s((function(e){e(t)}))}
2,s.reject=function(t){return new s((function(e,n){n(t)}))},s.race=function(t){return new s((function(e,n){if(!i(t))return n(new TypeError("Promise.race accepts an array"));for(var o=0,r=t.length;o<r;o++)s.resolve(t[o]).then(e,n)}))},s._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){e(t,0)},s._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var u=s,p=n("../node_modules/url-polyfill/url-polyfill.js"),m=n.n(p);class f{constructor(){this.queries={},this.breakpoints={xl:"75rem",l:"60.625em",m:"48rem",s:"30rem"}}generateMedia(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null,i=null,o=null;return!(!this.breakpoints||!t&&!e)&&(t&&this.breakpoints[t]&&(n=`(min-width: ${this.breakpoints[t]})`),e&&this.breakpoints[e]&&(i=`(max-width: ${this.breakpoints[e]})`),n&&i?o=`${n} and ${i}`:n&&!i?o=n:!n&&i&&(o=i),this.queries[o]||(this.queries[o]=window.matchMedia(o)),this.queries[o])}}var g=n("jquery");class v{constructor(t,e,n,i){this.element=t,this.started=!1,this.manifest=i,this.name=n,this.utils={},this.options=e.options||{},this.elements=e.elements||{},this.$element=g(t),Object.keys(this.manifest.utils).forEach((t=>{this.utils[t]=this.manifest.utils[t]})),this.eventNamespace=`.${n}`}destroy(){this.element.parentNode.removeChild(this.element)}getOffsetTop(t,e){let n=0;return e!==t.getAttribute("id")&&(n=t.offsetTop,n+=this.getOffsetTop(t.offsetParent,e)),n}}var y=(n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/carousel.js"),n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/transition.js"),n("jquery"));const b=n("../node_modules/hammerjs/hammer.js");class w extends v{start(){null===this.element.querySelector("ai-carousel")&&(this.prev=this.element.querySelector(this.elements.prev),this.next=this.element.querySelector(this.elements.next),this.indicatorWrapper=this.element.querySelector(this.elements.indicatorWrapper),this.indicators=this.element.querySelectorAll(this.elements.indicator),this.slides=this.element.querySelectorAll(this.elements.slide),this.slidesWrapper=this.element.querySelector(this.elements.slidesWrapper),this.currentSlideItems=this.element.querySelectorAll(this.elements.slideItem),this.numDesktopSlideItems=this.element.dataset.desktopSlideItems,this.numDesktopRows=this.element.dataset.desktopSlideRows,this.numMobileSlideItems=this.element.dataset.mobileSlideItems,this.carouselBreakpoint=this.utils.breakpoints.generateMedia("m",!1),this.touchHandler=new b(this.element),this.makeSlides=this.makeSlides.bind(this),this.addMinHeight=this.addMinHeight.bind(this),this.tabId=this.element.parentElement.dataset.title,this.makeSlides(this.carouselBreakpoint),this.activateFirst(),this.nextPrev(),this.indicatorClick(),y(`#${this.element.id}`).on("slid.bs.carousel",this.addMinHeight),this.carouselBreakpoint.addListener(this.makeSlides))}getItemsPerSlide(t){return t?0<this.numDesktopSlideItems?this.numDesktopSlideItems:1:0<this.numMobileSlideItems?this.numMobileSlideItems:1}makeSlides(t){const e="carousel__slide-wrapper",n=this.getItemsPerSlide(t.matches),i=this.currentSlideItems,o=this.slidesWrapper,s=this.numDesktopRows?n/this.numDesktopRows:n,r=Math.ceil(i.length/n),a=Array.from(i).map((t=>(t.classList.add(`carousel__slide-content--${s}`),t))),l=[...Array(r)].reduce(((t,e,i)=>{const o=t,s=[];let r=0,l=!0;for(;l&&s.length<n;){const t=a[i*n+r];t?(s.push(t),r+=1):l=!1}return o.push(s),o}),[]),c=[...Array(r)].map((()=>{const t=document.createElement("div");return t.classList.add("item"),t.classList.add("carousel__slide"),o.appendChild(t),t})).map((t=>{const n=document.createElement("div");return n.classList.add(e),t.appendChild(n),t})).map(((t,n)=>{const i=t.querySelector(`.${e}`);return l[n].forEach((t=>{i.appendChild(t)})),t})),d=document.createElement("div");d.classList.add("carousel-inner"),c.forEach((t=>d.appendChild(t))),o.parentNode.replaceChild(d,o),this.slidesWrapper=d;const h=1<r?[...Array(r)].map(((t,e)=>{const n=document.createElement("li");
2return n.setAttribute("data-target",`#${this.element.id}`),n.setAttribute("data-slide-to",`${e}`),n})):[];this.indicatorWrapper.innerHTML="",h.forEach((t=>this.indicatorWrapper.appendChild(t))),this.indicatorReset(),this.indicators=h,this.indicatorClick(),1>=r?(y(this.next).hide(),y(this.prev).hide()):(y(this.prev).show(),y(this.next).show()),this.slides=c,this.activateFirst(),1<this.numDesktopRows&&t.matches&&this.padRows(),this.loadIframes(t.matches),this.tab=document.querySelector(`[data-label="${this.tabId}"]`),this.panelHeading=document.querySelector(`[aria-controls="${this.tabId}-accordian"]`),null!=this.tab&&this.tab.addEventListener("click",(()=>{this.loadIframes(t.matches)})),null!=this.panelHeading&&this.panelHeading.addEventListener("click",(()=>{this.loadIframes(t.matches)})),y(`#${this.element.id}`).on("slid.bs.carousel",(()=>{this.loadIframes(t.matches)}))}activateFirst(){0<this.slides.length&&(this.slides[0].classList.add("active"),0<this.indicators.length&&this.indicators[0].classList.add("active"))}nextPrev(){this.touchHandler.on("swipeleft",(()=>{this.$element.carousel("next")})),this.touchHandler.on("swiperight",(()=>{this.$element.carousel("prev")})),this.next.addEventListener("click",(t=>{t.preventDefault(),this.$element.carousel("next")})),this.prev.addEventListener("click",(t=>{t.preventDefault(),this.$element.carousel("prev")}))}indicatorClick(){Array.from(this.indicators).forEach(((t,e)=>{t.addEventListener("click",(()=>{this.$element.carousel(e)}))}))}indicatorReset(){Array.from(this.indicators).forEach(((t,e)=>{t.removeEventListener("click",(()=>{this.$element.carousel(e)}))}))}padRows(){Array.from(this.slides).forEach((t=>{const e=this.numDesktopSlideItems/this.numDesktopRows,n=t.querySelectorAll(this.elements.slideItem);if(1<parseInt(this.numDesktopRows,10))for(let t=0;t<e;t+=1)void 0!==n[t]&&n[t].classList.add("carousel__slide-content--row-padding")}))}addMinHeight(){const t=Array.from(this.slides).map((t=>y(t).height())).reduce(((t,e)=>t>e?t:e),0);this.slidesWrapper.style.minHeight=`${t}px`}loadIframes(t){this.iframes=t?this.element.querySelectorAll(".tab-pane.active .carousel__slide.active .media-carousel-iframe"):this.element.querySelectorAll('.panel-collapse[aria-expanded="true"] .carousel__slide.active .media-carousel-iframe'),null!=this.iframes&&Array.from(this.iframes).forEach((t=>{const e=t.dataset.src,n=document.createElement("iframe");n.src=e,t.appendChild(n),t.classList.remove("media-carousel-iframe")}))}}n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/tab.js"),n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/collapse.js");var _=n("jquery");class T extends v{start(){this.panelsInGroup=this.element.querySelectorAll(this.elements.togglePanel),this.toggleContent=this.element.querySelector(this.elements.toggleContent),this.makeTabs=this.makeTabs.bind(this),this.initialize=this.initialize.bind(this),this.moduleName=this.element.dataset.moduleName,this.toggleable=this.element.dataset.toggleView,"both"===this.toggleable?(this.toggleBreakpoint=this.utils.breakpoints.generateMedia("m",!1),this.initialize(this.toggleBreakpoint),this.toggleBreakpoint.addListener(this.initialize)):"tabs"!==this.toggleable&&"collapse"!==this.toggleable||(this.toggleBreakpoint={matches:"tabs"===this.toggleable},this.initialize(this.toggleBreakpoint))}initialize(t){t.matches?this.initializeTabs():this.initializeAccordion(),this.manifest.manager.reinitComponent("carousel",this.element)}initializeTabs(){this.makeTabs(),Array.prototype.forEach.call(this.tabToggles,((t,e)=>{0===e&&this.activateTab(e),t.addEventListener("click",(()=>{this.activateTab(e)}))}))}initializeAccordion(){this.makeAccordian(),Array.prototype.forEach.call(this.accordionPanels,((t,e)=>{0===e&&this.activatePanel(e),this.accordionToggles.item(e).addEventListener("click",(()=>{this.togglePanel(e),Array.prototype.forEach.call(this.accordionPanels,((e,n)=>{e!==t&&this.deactivatePanel(n)})),setTimeout((()=>{const t=this.accordionHeadings.item(e).offsetTop;window.scrollTo(0,t)}),500)}))}))}activateTab(t){_(this.tabToggles.item(t)).tab("show")}togglePanel(t){this.accordionHeadings.item(t).classList.toggle(this.options.accordionActive),_(this.accordionPanels.item(t)).collapse("toggle")}activatePanel(t){this.accordionHeadings.item(t).classList.add(this.options.accordionActive),_(this.accordionPanels.item(t)).collapse("show")}deactivatePanel(t){this.accordionHeadings.item(t).classList.remove(this.options.accordionActive),_(this.accordionPanels.item(t)).collapse("hide")}makeTabs(){this.toggleContent.innerHTML=`\n<ul class="nav nav-tabs" role="tablist">\n  ${Array.prototype.map.call(this.panelsInGroup,(t=>`<li role="presentation" class="tablist__item tabbed-content__header">\n      <a href="#${this.moduleName}-${t.dataset.slug}"\n        aria-controls="${t.dataset.slug}"\n        role="tab"\n        data-type="link-event" data-category="Title Tab"\n        data-action="Toggle Tab" data-label="${t.dataset.title}"\n        data-toggle="tab">${t.dataset.title}\n      </a>\n    </li>`)).join("")}\n</ul>\n<div class="tab-content ${this.moduleName}__content">\n  ${Array.prototype.map.call(this.panelsInGroup,(t=>`<div role="tabpanel" class="tab-pane" id="${this.moduleName}-${t.dataset.slug}">\n      ${t.outerHTML}\n    </div>`)).join("")}\n</div>\n`,this.tabToggles=this.element.querySelectorAll(this.elements.tabToggle)}makeAccordian(){this.toggleContent.innerHTML=`\n<div class="panel-group"\n  id="#${this.moduleName}
2-accordian"\n  role="tablist"\n  aria-multiselectable="true"\n  >\n  ${Array.prototype.map.call(this.panelsInGroup,((t,e)=>`<div class="panel">\n      <div class="panel-heading" role="tab" id="${this.moduleName}-heading-${e}">\n        <h4 class="panel-title">\n          <a role="button"\n            data-toggle="collapse"\n            data-parent="${this.moduleName}-accordion"\n            href="#${this.moduleName}-${t.dataset.slug}-panel"\n            aria-expanded="false"\n            aria-controls="${t.dataset.slug}-accordian">${t.dataset.title}</a>\n        </h4>\n      </div>\n      <div id="${this.moduleName}-${t.dataset.slug}-panel"\n        class="panel-collapse collapse"\n        role="tabpanel"\n        aria-labelledby="heading-${e}"\n      >\n        <div class="panel-body ${this.moduleName}__content">${t.outerHTML}</div>\n      </div>\n    </div>`)).join("")}\n</div>\n    `,this.accordionToggles=this.element.querySelectorAll(this.elements.accordionToggle),this.accordionPanels=this.element.querySelectorAll(this.elements.accordionPanel),this.accordionHeadings=this.element.querySelectorAll(this.elements.accordionHeading)}}n("../node_modules/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js");var E=n("jquery");class C extends v{start(){this.dropdownMenu=this.element.querySelector(this.elements.dropdownMenu),this.dropdownButton=this.element.querySelector(this.elements.dropdownButton),E(this.dropdownButton).dropdown()}}class S extends v{start(){this.placeholder=this.createPlaceholder(),this.location=this.element.dataset.swapLocation,this.method=this.element.dataset.swapMethod,this.breakpointNames=Object.keys(this.utils.breakpoints.breakpoints),this.initSwap=this.initSwap.bind(this);const t=this.element.dataset.swapMin||!1,e=this.element.dataset.swapMax||!1;t&&e&&this.breakpointNames.indexOf(e)>this.breakpointNames.indexOf(t)?this.query=this.utils.breakpoints.generateMedia(t,!1)||this.utils.breakpoints.generateMedia(!1,e):this.query=this.utils.breakpoints.generateMedia(t,e),this.query&&(this.initSwap(this.query),this.query.addListener(this.initSwap))}createPlaceholder(){const t=document.createElement("div");return t.classList.add("swap-placeholder"),this.element.parentNode.insertBefore(t,this.element),t}initSwap(t){const e=this.element.classList.contains("swapped");t.matches&&!e?this.swapToNewLocation():!t.matches&&e&&this.swapToFormerLocation()}swapToNewLocation(){const t=!!this.location&&document.querySelector(this.location);if(t){switch(this.method){case"after":t.nextSibling?t.parentElement.insertBefore(this.element,t.nextSibling):t.parentElement.appendChild(this.element);break;case"before":t.parentElement.insertBefore(this.element,t);break;case"prepend":t.children.length?t.insertBefore(this.element,t.children[0]):t.appendChild(this.element);break;default:t.appendChild(this.element)}this.element.classList.add("swapped")}else console.error(`Swap location ${this.location} does not exist.`,this.element)}swapToFormerLocation(){this.placeholder.parentNode.insertBefore(this.element,this.placeholder),this.element.classList.remove("swapped")}}class k extends v{start(){this.toggleClass()}toggleClass(){const t=this.element.dataset.toggleTarget,e=document.querySelectorAll(`[data-toggle-element="${t}"]`),n=`${this.element.dataset.toggleBlock}--active`;this.element.addEventListener("click",(t=>{t.preventDefault(),Array.prototype.forEach.call(e,(t=>{t.classList.toggle(n),t.classList.contains(n)?(t.setAttribute("aria-hidden","false"),this.element.setAttribute("aria-expanded","true")):(t.setAttribute("aria-hidden","true"),this.element.setAttribute("aria-expanded","false"))}))}))}}n("../node_modules/jquery.dotdotdot/src/jquery.dotdotdot.min.umd.js");var A=n("jquery");class x extends v{setupTruncate(t){t.matches&&this.truncateDesktop||!t.matches&&this.truncateMobile?this.truncate():(this.element.innerHTML=this.originalWords,A(`#${this.element.id}`).css("height","auto"),this.toggleLoadMore?(A(this.toggleTextExpanded).show(),A(this.toggleTextTruncated).hide(),A(this.toggleBtnExpanded).show(),A(this.toggleBtnTruncated).hide()):A(this.loadMoreButton).hide())}start(){this.truncateBreakpoint=this.utils.breakpoints.generateMedia("m",!1),this.originalWords=this.element.innerHTML,this.loadMore=this.element.dataset.loadMoreTarget,this.loadMoreButton=document.querySelector(`[data-load-more-element="${this.loadMore}"]`),this.toggleTextExpanded=document.querySelector(this.elements.toggleTextExpanded),this.toggleTextTruncated=document.querySelector(this.elements.toggleTextTruncated),this.toggleBtnExpanded=document.querySelector(this.elements.toggleBtnExpanded),this.toggleBtnTruncated=document.querySelector(this.elements.toggleBtnTruncated),this.truncateMobile=this.element.hasAttribute("truncateMobile"),this.truncateDesktop=this.element.hasAttribute("truncateDesktop"),this.loadMoreClickListeners=this.loadMoreClickListeners.bind(this),null!==this.loadMoreButton&&(this.toggleLoadMore=this.loadMoreButton.hasAttribute("loadmoreToggle")),this.loadMore&&this.loadMoreButton?this.loadMoreClickListeners():this.loadMoreButton&&A(this.loadMoreButton).hide(),void 0!==A(`#${this.element.i
vendor: 6,325 bytes, line 2
2d}`)[0]&&(A(`#${this.element.id}`)[0].scrollHeight<=A(`#${this.element.id}`).outerHeight(!0)?(A(`#${this.element.id}`).css("height","auto"),A(this.loadMoreButton).hide()):(this.setupTruncate=this.setupTruncate.bind(this),this.setupTruncate(this.truncateBreakpoint),this.truncateBreakpoint.addListener(this.setupTruncate)))}truncate(){A(`#${this.element.id}`).dotdotdot(),A(this.loadMoreButton).show(),A(this.toggleTextExpanded).hide(),A(this.toggleTextTruncated).show(),A(this.toggleBtnExpanded).hide(),A(this.toggleBtnTruncated).show()}expand(){A(`#${this.element.id}`).trigger("originalContent",(t=>{A(`#${this.element.id}`).empty().append(t).removeClass("is-truncated").css("height","auto"),this.toggleLoadMore?(A(this.toggleTextExpanded).show(),A(this.toggleTextTruncated).hide(),A(this.toggleBtnExpanded).show(),A(this.toggleBtnTruncated).hide()):A(this.loadMoreButton).hide()}))}jump(t){const e=document.getElementById(t).offsetTop;window.scrollTo(0,e)}loadMoreClickListeners(){null!=this.loadMoreButton&&this.loadMoreButton.addEventListener("click",(t=>{t.preventDefault(),this.toggleLoadMore&&!this.element.classList.contains("is-truncated")?(this.element.classList.add("is-truncated"),this.truncate(),this.jump(this.element.id)):this.expand()}))}}var I="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n.g&&n.g||{},$="URLSearchParams"in I,L="Symbol"in I&&"iterator"in Symbol,P="FileReader"in I&&"Blob"in I&&function(){try{return new Blob,!0}catch(t){return!1}}(),j="FormData"in I,D="ArrayBuffer"in I;if(D)var O=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],B=ArrayBuffer.isView||function(t){return t&&O.indexOf(Object.prototype.toString.call(t))>-1};function R(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function N(t){return"string"!=typeof t&&(t=String(t)),t}function M(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return L&&(e[Symbol.iterator]=function(){return e}),e}function q(t){this.map={},t instanceof q?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function U(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function z(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function F(t){var e=new FileReader,n=z(e);return e.readAsArrayBuffer(t),n}function H(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function W(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:P&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:j&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:$&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():D&&P&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=H(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):D&&(ArrayBuffer.prototype.isPrototypeOf(t)||B(t))?this._bodyArrayBuffer=H(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):$&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},P&&(this.blob=function(){var t=U(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return U(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(P)return this.blob().then(F);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,n,i,o,s=U(this);if(s)return s;if(this._bodyBlob)return t=this._bodyBlob,n=z(e=new FileReader),o=(i=/charset=([A-Za-z0-9_-]+)/.exec(t.type))?i[1]:"utf-8",e.readAsText(t,o),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},j&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}q.prototype.append=function(t,e){t=R(t),e=N(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},q.prototype.delete=function(t){delete this.map[R(t)]},q.prototype.get=function(t){return t=R(t),this.has(t)?this.map[t]:null},q.prototype.has=function(t){return this.map.hasOwnProperty(R(t))},q.prototype.set=function(t,e){this.map[R(t)]=N(e)},q.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},q.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),M(t)},q.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),M(t)},q.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),M(t)},L&&(q.prototype[Symbol.iterator]=q.prototype.entries);var V=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Q(t,e){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object c
2onstructor cannot be called as a function.');var n,i,o=(e=e||{}).body;if(t instanceof Q){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new q(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new q(e.headers)),this.method=(i=(n=e.method||this.method||"GET").toUpperCase(),V.indexOf(i)>-1?i:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in I)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var s=/([?&])_=[^&]*/;s.test(this.url)?this.url=this.url.replace(s,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function G(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(o))}})),e}function X(t,e){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new q(e.headers),this.url=e.url||"",this._initBody(t)}Q.prototype.clone=function(){return new Q(this,{body:this._bodyInit})},W.call(Q.prototype),W.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},X.error=function(){var t=new X(null,{status:200,statusText:""});return t.status=0,t.type="error",t};var Y=[301,302,303,307,308];X.redirect=function(t,e){if(-1===Y.indexOf(e))throw new RangeError("Invalid status code");return new X(null,{status:e,headers:{location:t}})};var J=I.DOMException;try{new J}catch(t){(J=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),J.prototype.constructor=J}function K(t,e){return new Promise((function(n,i){var o=new Q(t,e);if(o.signal&&o.signal.aborted)return i(new J("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}if(s.onload=function(){var t,e,i={statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new q,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var n=t.split(":"),i=n.shift().trim();if(i){var o=n.join(":").trim();try{e.append(i,o)}catch(t){console.warn("Response "+t.message)}}})),e)};o.url.startsWith("file://")&&(s.status<200||s.status>599)?i.status=200:i.status=s.status,i.url="responseURL"in s?s.responseURL:i.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout((function(){n(new X(r,i))}),0)},s.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request timed out"))}),0)},s.onabort=function(){setTimeout((function(){i(new J("Aborted","AbortError"))}),0)},s.open(o.method,function(t){try{return""===t&&I.location.href?I.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&(P?s.responseType="blob":D&&(s.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof q||I.Headers&&e.headers instanceof I.Headers)){var a=[];
2Object.getOwnPropertyNames(e.headers).forEach((function(t){a.push(R(t)),s.setRequestHeader(t,N(e.headers[t]))})),o.headers.forEach((function(t,e){-1===a.indexOf(e)&&s.setRequestHeader(e,t)}))}else o.headers.forEach((function(t,e){s.setRequestHeader(e,t)}));o.signal&&(o.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",r)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}K.polyfill=!0,I.fetch||(I.fetch=K,I.Headers=q,I.Request=Q,I.Response=X);class Z{setCookie(t,e){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";const i=24*(arguments.length>2&&void 0!==arguments[2]?arguments[2]:7)*60*60*1e3,o=new Date(Date.now()+i).toUTCString();document.cookie=`${t}=${e}; expires=${o}; path=${n}`}getCookie(t){return document.cookie.split("; ").reduce(((e,n)=>{const i=n.split("=");return i[0]===t?decodeURIComponent(i[1]):e}),"")}deleteCookie(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";this.setCookie(t,"",-1,e)}}class tt extends v{start(){Array.prototype.forEach.call(this.element.querySelectorAll(this.elements.submit),(t=>{t.addEventListener("click",(t=>{t.preventDefault();const e=[].slice.call(this.element.querySelectorAll(this.elements.input)).reduce(((t,e)=>`${t}&${e.name}=${e.value}`),`action=hachette_mailchimp_subscribe&nonce=${window.newsletter.nonce}&subscriptionSourceURL=${window.location.href}`),n=document.getElementById("mce-EMAIL"),i=e.split("email_address=")[1].split("&")[0],o=this.element.querySelector(this.elements.submit),s=this.element.querySelector(this.elements.email);o&&(o.disabled=!0),fetch(window.newsletter.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;"},credentials:"include",body:e}).then((t=>t.json())).then((t=>{const e=this.element.querySelector(this.elements.text),r=document.getElementById("mailchimp_options_popup");t.results?"duplicate"===t.results?(e.textContent=window.newsletter.duplicate,n&&r&&(n.value=i,r.classList.add("show"))):"success"===t.results?(e.textContent=window.newsletter.success,(new Z).setCookie("brazeUser",i,90),n&&r&&(n.value=i,r.classList.add("show"))):"invalid"===t.results?e.textContent=window.newsletter.invalid:e.textContent=window.newsletter.error:e.textContent=window.newsletter.error,o.disabled=!1,void 0!==t.results&&"success"!==t.results&&"function"==typeof s.select&&(s.select(),s.focus())}))}))}))}}jQuery(document).ready((function(){jQuery("#braze-subscribe-form").submit((function(t){t.preventDefault();let e=[];jQuery(".genreCheckbox:checked").each((function(){e.push(jQuery(this).val().toLowerCase())}));let n=[];jQuery(".preferred-retailer-checkbox:checked").each((function(){n.push(jQuery(this).val())}));let i=[];jQuery(".newsletterGroupCheckbox:checked").each((function(){i.push(jQuery(this).val())}));let o=jQuery("#hachette_newletter_list_id").val()??!1,s=[];o?s=[o]:jQuery(".pageEdcConfNewsletterGroupCheckbox:checked").each((function(){s.push(jQuery(this).val())}));let r=window.newsletter.nonce,a={email_address:jQuery("#braze-EMAIL").val(),list_id:s,genres:e,preferredRetailer:n,newsletterGroups:i,action:"hachette_mailchimp_subscribe",nonce:r,subscriptionSourceURL:window.location.href};o&&(a.list_id=o),jQuery.ajax({type:"POST",url:window.newsletter.ajax_url,data:a}).done((function(t){t.results?(jQuery("#email_subscribe_button").hide(),jQuery("#failure_msg").length&&jQuery("#failure_msg").hide(),jQuery("#succes_msg")&&jQuery("#succes_msg").show(),(new Z).setCookie("brazeUser",a.email_address,90)):(jQuery("#email_subscribe_button").show(),jQuery("#failure_msg").length&&jQuery("#failure_msg").show(),jQuery("#succes_msg")&&jQuery("#succes_msg").hide())}))}))}));class et{gtm(){!function(t,e,n,i,o){t[i]=t[i]||[],t[i].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});const s=e.getElementsByTagName(n)[0],r=e.createElement(n),a="dataLayer"!=i?"&l="+i:"";r.async=!0,r.src=`https://www.googletagmanager.com/gtm.js?id=${o}${a}&gtm_auth=${window.analytics.environAuth}&gtm_preview=${window.analytics.environPreview}
2&gtm_cookies_win=x`,s.parentNode.insertBefore(r,s)}(window,document,"script",window.analytics.dataLayer,window.analytics.containerKey)}}var nt=n("jquery");class it extends v{start(){this.cookie=new Z,this.analytics=new et,this.executeScripts()}executeScripts(){this.newsletterPopUp(),this.analytics.gtm(),this.facebookInit(),this.cookie.getCookie("cookie__privacy_policy")||(nt("#privacy_collapse").show(),this.privacyPolicyOptInOut()),it.iframesInit()}newsletterPopUp(){this.cookie.getCookie("cookie__newsletter_popup")?"next"===this.cookie.getCookie("cookie__newsletter_popup")&&(this.cookie.setCookie("cookie__newsletter_popup","seen",90),window.setTimeout((()=>nt("#newsletter_popup").modal("show")),5e3)):this.cookie.setCookie("cookie__newsletter_popup","next",90)}privacyPolicyOptInOut(){nt("#sdk-overlay").show();const t=document.querySelector("#privacyOptInOut #optIn"),e=document.querySelector("#privacyOptInOut #optOut"),n=document.querySelector("#closePrivacyOptInOut");t&&t.addEventListener("click",(()=>{this.privacyPolicy(!0),this.closePrivacyPolicy(),nt("#privacy_collapse").hide(),nt("#sdk-overlay").hide()})),e&&e.addEventListener("click",(()=>{this.privacyPolicy(!1),this.closePrivacyPolicy(),nt("#sdk-overlay").hide()})),n&&n.addEventListener("click",(()=>{this.privacyPolicy(!1),this.closePrivacyPolicy(),nt("#sdk-overlay").hide()}))}privacyPolicy(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?(this.cookie.setCookie("cookie__privacy_policy","next",3e3),nt("#privacy_collapse").show(),"cookie__privacy_policy next"):(this.cookie.setCookie("cookie__privacy_policy","seen",90),nt("#privacy_collapse").hide(),"cookie__privacy_policy seen")}closePrivacyPolicy(){const t=document.querySelector(this.elements.button);t&&t.addEventListener("click",(()=>{nt("#privacy_collapse").hide()}))}static iframesInit(){const t=document.getElementsByTagName("iframe");Array.prototype.forEach.call(t,(t=>{t.dataset.src&&!t.src&&t.setAttribute("src",t.dataset.src);const e="hachette-iframe",n=t.parentElement;n&&n.classList.contains(`${e}-pending`)&&n.classList.replace(`${e}-pending`,`${e}-loaded`)}))}maybeRevokeConsent(){const t=new URL(window.location);if(t.searchParams&&t.searchParams.get("revoke-gdpr-permissions")&&document.cookie){const t=document.cookie.split("; ");Array.prototype.forEach.call(t,(t=>{const e=t.split("=");e[0]&&this.cookie.deleteCookie(e[0])}))}}facebookInit(){!function(t,e,n){let i=t.getElementsByTagName(e)[0];const o=t.getElementsByTagName(e)[0];t.getElementById(n)||(i=t.createElement(e),i.id=n,i.src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9",o.parentNode.insertBefore(i,o))}(document,"script","facebook-jssdk")}}class ot extends v{start(){const t=this.element.children[0].viewBox.baseVal;if(void 0!==t){const e=t.width,n=t.height;parseInt(e,10)>parseInt(n,10)?this.element.classList.add("aspectRatio--horizontal"):this.element.classList.add("aspectRatio--vertical")}}}var st=n("jquery");class rt extends v{start(){this.initializeAutocomplete(this.$element),new MutationObserver((t=>{t.forEach((t=>{t.addedNodes.length&&t.addedNodes.forEach((t=>{1===t.nodeType&&t.matches(".autocomplete-input")?this.initializeAutocomplete(st(t)):1===t.nodeType&&t.querySelectorAll&&t.querySelectorAll(".autocomplete-input").forEach((t=>{this.initializeAutocomplete(st(t))}))}))}))})).observe(document.body,{childList:!0,subtree:!0})}initializeAutocomplete(t){let e="";if(t.length){let n="v2",i=document.body.classList.contains("wp-child-theme-hachette-uk"),o=document.body.classList.contains("hachette-uk");(i||o)&&(n="v1"),t.each(((t,i)=>{const o=st(i);o.autocomplete({minLength:2,create:()=>{const t=o.autocomplete("widget");o.hasClass("main-header-search")&&t.addClass("mainHeaderSearch")},source:(t,i)=>{const s=encodeURIComponent(t.term).replace(/%20/g,"+");e=t.term.trim().replace(/\s+/g," "),o.removeClass("error-isbn").next(".error-isbn-msg").remove(),o.parents(".edc-form-single-book-section").find('[name="title"]').val(""),o.parents(".edc-form-single-book-section").find('[name="author"]').val(""),o.parents(".edc-form-single-book-section").find('[name="isbn"]').val(""),"v1"===n?st.getJSON(`/wp-json/hachette/v1/suggest/${s}`,(t=>{if(o.hasClass("edc-title-lookup")){const e=(new Date).toISOString().split("T")[0],n=t.filter((t=>"hbg-title"===t._source.post_type&&("BB"===t._source.format||"BC"===t._source.format)&&t._source.pub_date<=e));0===n.length&&o.addClass("error-isbn").after('<p class="error-isbn-msg">
2The ISBN is not valid for this request. Only Hardcover or Paperback are applicable.</p>'),i(n),0===n.length&&o.addClass("error-isbn").after('<p class="error-isbn-msg">The ISBN is not valid for this request. Only Hardcover or Paperback are applicable.</p>')}else i(t)})):st.getJSON(`/wp-json/hachette/v2/suggest/${s}`,(t=>{let e=[];const n=(t,n,i)=>{if(!n?.items?.length)return;e.push({label:t,value:t,isHeading:!0});const o=n.items.slice(0,3);e=e.concat(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((t=>({...t,label:t.text,value:t.text})))}(o))};if(n("Books",t.books),n("Series",t.series),n("Authors",t.authors),t.search&&e.push({text:t.search.text,label:t.search.text,value:t.search.text,_source:{permalink:t.search.permalink,post_type:"search"}}),o.hasClass("edc-title-lookup")){const t=(new Date).toISOString().split("T")[0],n=e.filter((e=>!e.isHeading&&!e.isMore&&"hbg-title"===e._source?.post_type&&("BB"===e._source.format||"BC"===e._source.format)&&e._source.pub_date<=t));0===n.length&&o.addClass("error-isbn").after('<p class="error-isbn-msg">The ISBN is not valid for this request. Only Hardcover or Paperback are applicable.</p>'),i(n)}else i(e)}))},select:(t,e)=>e.item.isHeading?(t.preventDefault(),!1):(o.hasClass("edc-title-lookup")?this.addItemToPage(e.item,o):(o.val(""),e.item?._source?.permalink&&(window.location.href=e.item._source.permalink)),!1),focus:(t,e)=>!!e.item.isHeading&&(t.preventDefault(),!1)}).autocomplete("instance")._renderItem=(t,i)=>{if(i.isHeading)return st("<li>").addClass("autocomplete-heading").append(st("<div>").addClass("ui-menu-item-wrapper").html(i.label)).appendTo(t);const o=window.icons[i._source?.post_type]||"";return"v1"===n?st("<li>").append(st("<a>").attr("href",i._source?.permalink||"#").attr("onclick","event.preventDefault()").text(i.text).prepend(st('<img alt="" />').attr("src",o))).appendTo(t):st("<li>").append(st("<a>").attr("href",i._source?.permalink||"#").attr("onclick","event.preventDefault()").html("<span>"+i.label.replace(/\s+/g," ").trim().replace(new RegExp(`(${e})`,"ig"),"<strong>$1</strong>")+"</span>")).appendTo(t)}}))}}addItemToPage(t,e){const n=t._source.permalink.match(/\/titles\/([^\/]+)\/([^\/]+)\/([^\/]+)\//);if(n){let[,i,o,s]=n;const r=e.closest(".edc-form-single-book-section");r.find('input[name="isbn"]').val(s.replace(/-/g," ")),r.find('input[name="title"]').val(t.text.replace(/-/g," ")),r.find('input[name="author"]').val(i.replace(/-/g," ")),r.find(".edc-book-label-hidden").each((function(){st(this).removeClass("edc-book-label-hidden")}))}}}class at extends v{start(){this.populateModule(),this.element.parentNode.querySelector(this.elements.loadMore).addEventListener("click",(()=>{this.populateModule()}))}populateModule(){if(window.surpriseMeBooks&&3<=window.surpriseMeBooks.length){const t=at.pickRandomBooks(window.surpriseMeBooks,3).map(at.buildMarkup);this.element.innerHTML=t.join("\n")}}static buildMarkup(t){return`\n      <div class="magic-8__result">\n        <div class="magic-8__cover">\n          <a href="${t.link}"\n            data-type="link-event"\n            data-category="Surprise Me"\n            data-action="Title Click"\n            data-label="${t.title}"\n          >${t.image}</a>\n        </div>\n        <div class="magic-8__description">\n          <div class="magic-8__description-text">\n            <h3>\n              <a alt="${t.title}" href="${t.link}"\n                data-type="link-event"\n                data-category="Surprise Me"\n                data-action="Title Click"\n                data-label="${t.title}"\n              >${t.title}</a>\n            </h3>\n            <div>${t.summary}</div>\n          </div>\n        </div>\n      </div>\n    `}static pickRandomBooks(t,e){return function(t){let e=t.length;const n=t;if(e)for(;--e;){const t=Math.floor(Math.random()*(e+1)),i=n[t];n[t]=n[e],n[e]=i}return n}(t).slice(0,e)}}class lt extends v{start(){this.slides=this.element.querySelectorAll(this.elements.slide),this.buttons=this.element.querySelectorAll(this.elements.eventsButton),this.eventsBreakpoint=this.utils.breakpoints.generateMedia("m",!1),this.hideButtonClass="events__expand-button--hidden",this.removeExtraButtons(this.eventsBreakpoint),this.eventsBreakpoint.addListener(this.removeExtraButtons)}removeExtraButtons(t){this.eventsPerSlide=4,t.matches||(this.eventsPerSlide=2),Array.prototype.forEach.call(this.slides,(t=>{const e=t.querySelectorAll(this.elements.eventsButton);t.querySelectorAll(this.elements.eventItem).length<=this.eventsPerSlide&&Array.prototype.forEach.call(e,(t=>{t.classList.add(this.hideButtonClass)}))}))}}class ct extends v{start(){this.element.addEventListener("isbnLoaded",(t=>{this.populateTitle(t.detail)}))}populateTitle(t){let{title:e="",cover:n="",summary:i="",link:o="",price:s="",pubdate:r=""}=t;const a=this.element.querySelector(this.elements.title),l=this.element.querySelector(this.elements.cover),c=this.element.querySelector(this.elements.summary),d=this.element.querySelector(this.elements.price),h=this.element.querySelector(this.elements.pubdate);a&&(a.textContent=e),l&&(l.innerHTML=n),c&&(c.textContent=i.replace("&hellip;","...").replace(/&nbsp;/g," ").replace(/&#8203;/g," ")),d&&(d.textContent=s),h&&(h.textContent=r);const u=this.element.querySelectorAll(this.elements.link);Array.prototype.forEach.call(u,(t=>{t.href=o}))}}class dt extends v{start(){const t=document.getElementById("mc-embedded-subscribe");t&&t.addEventListener("click",(e=>{e.preventDefault();const n=`&interest_groups=${Array.from(document.querySelectorAll('.mailchimp-options__interest-groups input[type="checkbox"]')).filter((t=>t.checked)).map((t=>t.value))}`,i=`&email_address=${document.getElementById("mce-EMAIL").value}`,o=`action=hachette_mailchimp_update&nonce=${window.mailchimpPopup.nonce}${i}${n}`,s=document.getElementById("mailchimp_options_popup");fetch(window.mailchimpPopup.ajax_url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;"},credentials:"include",body:o}).then((t=>t.json())).then((e=>{const n=this.element.querySelector(this.elements.message);"error"===e.results?(t.style.display="none",n.textContent=window.mailchimpPopup.error):(n.textContent=window.mailchimpPopup.success,window.setTimeout((()=>{s.classList.remove("show")}),2e3))}))}))}}class ht extends v{start(){document.querySelector(this.elements.featured)&&(window.onload=this.formatFBVideos())}formatFBVideos(){const t=document.querySelectorAll(this.elements.video);t&&Array.prototype.forEach.call(t,(t=>{const e=t.childNodes[3];e&&e.classList.contains("fb-video")&&t.classList.add("facebook-video-embed")}))}}
2class ut extends v{start(){this.printList()}printList(){const t=document.querySelector(this.elements.print);t&&t.addEventListener("click",(()=>{window.print()}))}}class pt extends v{start(){document.querySelector(this.elements.clock)&&this.countDown()}countDown(){if(this.clockBox=document.getElementById("countdown-clock"),this.clockBox){let t=this.clockBox.dataset.date;t=t.replace(/,/g,""),t=t.replace(" ","/").replace(" ","/");const e=new Date(t),n=setInterval((()=>{const t=(new Date).getTime(),i=e-t,o=Math.floor(i/864e5),s=Math.floor(i%864e5/36e5),r=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),l=document.createTextNode(`${o}d :\n        ${s}h : ${r}m : ${a}s`),c=document.createElement("P");c.appendChild(l),this.clockBox.appendChild(c),this.clockBox.children.length>0&&(this.clockBox.removeChild(this.clockBox.children[0]),this.clockBox.appendChild(c)),0>i&&clearInterval(n)}),1e3)}}}class mt extends v{static tabIndexAllow(t){Array.from(t).forEach((t=>t.removeAttribute("tabindex")))}static tabIndexDeny(t){Array.from(t).forEach((t=>t.setAttribute("tabindex","-1")))}start(){this.init=this.init.bind(this),this.handleInit=this.handleInit.bind(this),this.handleSlideChange=this.handleSlideChange.bind(this),this.handlePaging=this.handlePaging.bind(this),this.swiperEl=this.element.querySelector(this.elements.swiperEl),this.slides=this.element.querySelector(this.elements.slides),this.slideCount=this.slides.children.length,this.liveRegion=this.element.querySelector(this.elements.liveRegion),this.pagingList=this.element.querySelector(this.elements.pagingList),this.paginated=!1,this.pagingButtons=[],null!==this.swiperEl&&this.init()}init(){this.swiper=new Swiper(this.swiperEl,{loop:!0,slideActiveClass:"wp-block-hachette-plugin-slide--active",a11y:{prevSlideMessage:"Previous Slide",nextSlideMessage:"Next Slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"},navigation:{nextEl:".hbg-slider__controls-button--next",prevEl:".hbg-slider__controls-button--prev"},keyboard:{enabled:!0,onlyInViewport:!0},on:{afterInit:this.handleInit,slideChange:this.handleSlideChange,slideChangeTransitionEnd:t=>{const{activeIndex:e,slides:n}=t;this.paginated&&(n[e].focus(),this.paginated=!1)}}})}handleInit(t){const{slides:e,realIndex:n}=t;if(e.forEach((t=>t.setAttribute("tabindex","-1"))),1<this.slideCount)for(let t=0;t<this.slideCount;t+=1){const e=t+1,i=document.createElement("button");i.className="hbg-slider__paging-button",i.setAttribute("aria-label",`Go to slide ${e}`),i.setAttribute("data-go-to",e),i.addEventListener("click",this.handlePaging),t===n&&i.setAttribute("aria-current","true"),this.pagingButtons.push(i);const o=document.createElement("li");o.appendChild(this.pagingButtons[t]),this.pagingList.appendChild(o)}this.handleSlideChange(t)}handleSlideChange(t){const{activeIndex:e,realIndex:n,slides:i}=t;i.forEach(((t,n)=>{const i=function(t){const e=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(","),n=t.querySelectorAll(e);return Array.from(n)}(t);e===n?this.constructor.tabIndexAllow(i):this.constructor.tabIndexDeny(i)})),this.pagingButtons.forEach(((t,e)=>{n===e?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})),null!=this.liveRegion&&(this.liveRegion.textContent=`Item ${n+1} of ${this.slideCount}`)}handlePaging(t){const{target:{dataset:e}}=t;Number.isNaN(e.goTo)||(this.swiper.slideTo(Number(e.goTo)),this.paginated=!0)}}class ft extends v{start(){this.cookie=new Z,"next"===this.cookie.getCookie("cookie__privacy_policy")&&(this.loadBrazeSdk(),this.initializeBrazeSdk()),this.privacyPolicyOptInOut()}loadBrazeSdk(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"script",i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;t.braze={},t.brazeQueue=[];for(var s="BrazeSdkMetadata DeviceProperties Card Card.prototype.dismissCard Card.prototype.removeAllSubscriptions Card.prototype.removeSubscription Card.prototype.subscribeToClickedEvent Card.prototype.subscribeToDismissedEvent Card.fromContentCardsJson ImageOnly CaptionedImage ClassicCard ControlCard ContentCards ContentCards.prototype.getUnviewedCardCount Feed Feed.prototype.getUnreadCardCount ControlMessage InAppMessage InAppMessage.SlideFrom InAppMessage.ClickAction InAppMessage.DismissType InAppMessage.OpenTarget InAppMessage.ImageStyle InAppMessage.Orientation InAppMessage.TextAlignment InAppMessage.CropType InAppMessage.prototype.closeMessage InAppMessage.prototype.removeAllSubscriptions InAppMessage.prototype.removeSubscription InAppMessage.prototype.subscribeToClickedEvent InAppMessage.prototype.subscribeToDismissedEvent InAppMessage.fromJson FullScreenMessage ModalMessage HtmlMessage Slide
2UpMessage User User.Genders User.NotificationSubscriptionTypes User.prototype.addAlias User.prototype.addToCustomAttributeArray User.prototype.addToSubscriptionGroup User.prototype.getUserId User.prototype.getUserId User.prototype.incrementCustomUserAttribute User.prototype.removeFromCustomAttributeArray User.prototype.removeFromSubscriptionGroup User.prototype.setCountry User.prototype.setCustomLocationAttribute User.prototype.setCustomUserAttribute User.prototype.setDateOfBirth User.prototype.setEmail User.prototype.setEmailNotificationSubscriptionType User.prototype.setFirstName User.prototype.setGender User.prototype.setHomeCity User.prototype.setLanguage User.prototype.setLastKnownLocation User.prototype.setLastName User.prototype.setPhoneNumber User.prototype.setPushNotificationSubscriptionType InAppMessageButton InAppMessageButton.prototype.removeAllSubscriptions InAppMessageButton.prototype.removeSubscription InAppMessageButton.prototype.subscribeToClickedEvent FeatureFlag FeatureFlag.prototype.getStringProperty FeatureFlag.prototype.getNumberProperty FeatureFlag.prototype.getBooleanProperty automaticallyShowInAppMessages destroyFeed hideContentCards showContentCards showFeed showInAppMessage deferInAppMessage toggleContentCards toggleFeed changeUser destroy getDeviceId getDeviceId initialize isPushBlocked isPushPermissionGranted isPushSupported logCardClick logCardDismissal logCardImpressions logContentCardImpressions logContentCardClick logCustomEvent logFeedDisplayed logInAppMessageButtonClick logInAppMessageClick logInAppMessageHtmlClick logInAppMessageImpression logPurchase openSession requestPushPermission removeAllSubscriptions removeSubscription requestContentCardsRefresh requestFeedRefresh refreshFeatureFlags requestImmediateDataFlush enableSDK isDisabled setLogger setSdkAuthenticationSignature addSdkMetadata disableSDK subscribeToContentCardsUpdates subscribeToFeedUpdates subscribeToInAppMessage subscribeToSdkAuthenticationFailures toggleLogging unregisterPush wipeData handleBrazeAction subscribeToFeatureFlagsUpdates getAllFeatureFlags logFeatureFlagImpression".split(" "),r=0;r<s.length;r++){for(var a=s[r],l=t.braze,c=a.split("."),d=0;d<c.length-1;d++)l=l[c[d]];l[c[d]]=new Function("return function "+a.replace(/\./g,"_")+"(){window.brazeQueue.push(arguments); return true}")()}window.braze.getDeferredInAppMessage=function(){return new window.braze.InAppMessage},window.braze.getCachedContentCards=function(){return new window.braze.ContentCards},window.braze.getCachedFeed=function(){return new window.braze.Feed},window.braze.getUser=function(){return new window.braze.User},window.braze.getFeatureFlag=function(){return new window.braze.FeatureFlag},(o=e.createElement(n)).type="text/javascript",o.src="https://js.appboycdn.com/web-sdk/5.2/braze.min.js",o.async=1,(i=e.getElementsByTagName(n)[0]).parentNode.insertBefore(o,i)}initializeBrazeSdk(){const{hostname:t}=window.location;let e="85922a94-e797-418e-b89f-67e0730ccde9";"www.hachettebookgroup.com"!=t&&(e="122649f0-5c94-4339-bfd9-8693168b70fa"),braze.initialize(e,{baseUrl:"sdk.iad-05.braze.com",enableLogging:"www.hachettebookgroup.com"!=t,allowUserSuppliedJavascript:!0}),braze.automaticallyShowInAppMessages();let n=this.cookie.getCookie("brazeUser");if(""!==n){function r(t){for(var e,n="0123456789ABCDEF",i="",o=0;o<t.length;o++)e=t.charCodeAt(o),i+=n.charAt(e>>>4&15)+n.charAt(15&e);return i}function a(t){for(var e=Array(t.length>>2),n=0;n<e.length;n++)e[n]=0;for(n=0;n<8*t.length;n+=8)e[n>>5]|=(255&t.charCodeAt(n/8))<<n%32;return e}function l(t){for(var e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>n%32&255);return e}function c(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,i=-271733879,o=-1732584194,s=271733878,r=0;r<t.length;r+=16){var a=n,l=i,c=o,d=s;i=m(i=m(i=m(i=m(i=p(i=p(i=p(i=p(i=u(i=u(i=u(i=u(i=h(i=h(i=h(i=h(i,o=h(o,s=h(s,n=h(n,i,o,s,t[r+0],7,-680876936),i,o,t[r+1],12,-389564586),n,i,t[r+2],17,606105819),s,n,t[r+3],22,-1044525330),o=h(o,s=h(s,n=h(n,i,o,s,t[r+4],7,-176418897),i,o,t[r+5],12,1200080426),n,i,t[r+6],17,-1473231341),s,n,t[r+7],22,-45705983),o=h(o,s=h(s,n=h(n,i,o,s,t[r+8],7,1770035416),i,o,t[r+9],12,-1958414417),n,i,t[r+10],17,-42063),s,n,t[r+11],22,-1990404162),o=h(o,s=h(s,n=h(n,i,o,s,t[r+12],7,1804603682),i,o,t[r+13],12,-40341101),n,i,t[r+14],17,-1502002290),s,n,t[r+15],22,1236535329),o=u(o,s=u(s,n=u(n,i,o,s,t[r+1],5,-165796510),i,o,t[r+6],9,-1069501632),n,i,t[r+11],14,643717713),s,n,t[r+0],20,-373897302),o=u(o,s=u(s,n=u(n,i,o,s,t[r+5],5,-701558691),i,o,t[r+10],9,38016083),n,i,t[r+15],14,-660478335),s,n,t[r+4],20,-405537848),o=u(o,s=u(s,n=u(n,i,o,s,t[r+9],5,568446438),i,o,t[r+14],9,-1019803690),n,i,t[r+3],14,-187363961),s,n,t[r+8],20,1163531501),o=u(o,s=u(s,n=u(n,i,o,s,t[r+13],5,-1444681467),i,o,t[r+2],9,-51403784),n,i,t[r+7],14,1735328473),s,n,t[r+12],20,-1926607734),o=p(o,s=p(s,n=p(n,i,o,s,t[r+5],4,-378558),i,o,t[r+8],11,-2022574463),n,i,t[r+11],16,1839030562),s,n,t[r+14],23,-35309556),o=p(o,s=p(s,n=p(n,i,o,s,t[r+1],4,-1530992060),i,o,t[r+4],11,1272893353),n,i,t[r+7],16,-155497632),s,n,t[r+10],23,-1094730640),o=p(o,s=p(s,n=p(n,i,o,s,t[r+13],4,681279174),i,o,t[r+0],11,-358537222),n,i,t[r+3],16,-722521979),s,n,t[r+6
2],23,76029189),o=p(o,s=p(s,n=p(n,i,o,s,t[r+9],4,-640364487),i,o,t[r+12],11,-421815835),n,i,t[r+15],16,530742520),s,n,t[r+2],23,-995338651),o=m(o,s=m(s,n=m(n,i,o,s,t[r+0],6,-198630844),i,o,t[r+7],10,1126891415),n,i,t[r+14],15,-1416354905),s,n,t[r+5],21,-57434055),o=m(o,s=m(s,n=m(n,i,o,s,t[r+12],6,1700485571),i,o,t[r+3],10,-1894986606),n,i,t[r+10],15,-1051523),s,n,t[r+1],21,-2054922799),o=m(o,s=m(s,n=m(n,i,o,s,t[r+8],6,1873313359),i,o,t[r+15],10,-30611744),n,i,t[r+6],15,-1560198380),s,n,t[r+13],21,1309151649),o=m(o,s=m(s,n=m(n,i,o,s,t[r+4],6,-145523070),i,o,t[r+11],10,-1120210379),n,i,t[r+2],15,718787259),s,n,t[r+9],21,-343485551),n=f(n,a),i=f(i,l),o=f(o,c),s=f(s,d)}return Array(n,i,o,s)}function d(t,e,n,i,o,s){return f(g(f(f(e,t),f(i,s)),o),n)}function h(t,e,n,i,o,s,r){return d(e&n|~e&i,t,e,o,s,r)}function u(t,e,n,i,o,s,r){return d(e&i|n&~i,t,e,o,s,r)}function p(t,e,n,i,o,s,r){return d(e^n^i,t,e,o,s,r)}function m(t,e,n,i,o,s,r){return d(n^(e|~i),t,e,o,s,r)}function f(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function g(t,e){return t<<e|t>>>32-e}let v=r(l(c(a(i=n),8*i.length))).toLowerCase();braze.changeUser(v)}var i;braze.getUser();let o="";try{o=new URL(window.location.href,window.location.origin).toString()}catch(y){console.warn("Invalid URL blocked:",o),o=""}this.getCampaignData(o);let s=document.querySelector("#hachetteJsonLinkingData");s&&JSON.parse(s.innerText),braze.openSession()}getCampaignData(t){var e=new URL(t);return{name:e.searchParams.get("utm_campaign"),source:e.searchParams.get("utm_source"),medium:e.searchParams.get("utm_medium")}}privacyPolicyOptInOut(){const t=document.querySelector("#privacyOptInOut #optIn");t&&t.addEventListener("click",(()=>{this.loadBrazeSdk(),this.initializeBrazeSdk()}))}}class gt extends v{start(){this.cookie=new Z,"next"===this.cookie.getCookie("cookie__privacy_policy")&&(this.initializeKlaviyoSdk(),this.onClickHandlers(),this.onSignupLinkHanders()),this.privacyPolicyOptInOut()}initializeKlaviyoSdk(){const{klaviyo:t}=window;let e="";try{e=new URL(window.location.href,window.location.origin).toString()}catch(t){console.warn("Invalid URL blocked:",e),e=""}const n={};if(this.isAuthorPage()){const e=this.getAuthorData();t.push(["track","Author View",{author:e}]),Object.assign(n,{"Last Author Viewed":e})}if(this.isGenerePage()){const e=this.getGenreData();t.push(["track","Genre View",{genre:e}]),Object.assign(n,{"Last Genre Viewed":e})}if(this.isProductPage()||this.isISBNPage()){const i=this.isProductPage()?this.getProductData():void 0,o=this.isISBNPage()?this.getISBNData():void 0,s=[],r=[],a=document.querySelector("#hachetteJsonLinkingData"),l=JSON.parse(a.innerText),c=(l.image?.[0]||"").split("?")[0],d=Array.isArray(l.offers)?l.offers[0]:l.offers,h=d?.price||null,u=d?.priceCurrency||"USD",p=document.querySelectorAll(".product-supplemental__taxonomies > .product-supplemental__taxonomies-genre");if(p&&p.length){const t=p[0].querySelectorAll(".product-supplemental__taxonomies-list li a");Array.from(t).slice(1,4).map((t=>t.textContent.trim())).forEach((t=>s.push(t)))}if(p&&p.length>1){const t=p[1].querySelectorAll(".product-supplemental__taxonomies-list li a");Array.from(t).slice(0,3).map((t=>t.textContent.trim())).forEach((t=>{r.includes(t)||r.push(t)}))}i&&Object.assign(n,{"Last Product Viewed":i}),o&&Object.assign(n,{"Last ISBN Viewed":o}),t.identify(n),t.push(["track","Product View",{page_url:e,title:i??"",image:c??"",isbn:o??"",genre:s??[],series:r.length>0?r[0]:"",price:h,priceCurrency:u}])}}getCampaignData(t){var e=new URL(t);return{name:e.searchParams.get("utm_campaign"),source:e.searchParams.get("utm_source"),medium:e.searchParams.get("utm_medium")}}privacyPolicyOptInOut(){const t=document.querySelector("#privacyOptInOut #optIn");t&&t.addEventListener("click",(()=>{this.initializeKlaviyoSdk(),this.onClickHandlers()}))}onSignupLinkHanders(){const{klaviyo:t}=window;document.querySelectorAll("a.site-header__newsletter-link")?.forEach((t=>{t.addEventListener("click",(function(e){e.preventDefault();const n=t.href,i=document.querySelectorAll(".newsletter-signup-content");i.length?i[0].scrollIntoView({behavior:"smooth",block:"start"}):setTimeout((()=>{try{const t=new URL(n,window.location.origin);window.location.assign(t.toString())}catch(t){console.warn("Invalid URL blocked:",n)}}),50)}))}))}onClickHandlers(){const t=this,{klaviyo:e}=window;document.querySelectorAll("a.title-formats-prices__item")?.forEach((n=>{n.addEventListener("click",(function(i){const o=this.querySelector(".title-format-item");i.preventDefault();const s=n.href,r=t.getFormatName(o);r&&e.push(["track","Format Click",{format:r}]),setTimeout((()=>{try{const t=new URL(s,window.location.origin);window.location.assign(t.toString())}catch(t){console.warn("Invalid URL blocked:",s)}}),200)}))})),document.querySelectorAll("a.title-buy-direct__button")?.forEach((n=>{n.addEventListener("click",(function(i){i.preventDefault();const o=n.href,s=t.getRetailerName(this);e.push(["track","Retailer Click",{retailer:s}]),setTimeout((()=>{try{const t=new URL(o,window.location.origin);window.location.assign(t.toString())}catch(t){console.warn("Invalid URL blocked:",o)}}),200)}))})),document.querySelectorAll(".title-add-to-cart__button")?.forEach((n=>{n.addEventListener("click",(function(n){const i=t.getProductData(),o=t.getTitleAuthorData(),s=t.getISBNData();e.push(["track","Add To Cart Clicked",{title:i,author:o,isbn:s}])}))})),document.querySelectorAll("ai-truncate[truncated=true] button")?.forEach((n=>{n.addEventListener("click",(function(n){const i=t.getProductData(),o=t.getTitleAuthorData(),s=t.getISBNData(),r=document.querySelector("#hachetteJsonLinkingData"),a=JSON.parse(r.innerText),l=(a.image?.[0]||"").split("?")[0],c=Array.isArray(a.offers)?a.offers[0]:a.offers,d=c?.price||null,h=c?.priceCurrency||"USD";e.push(["track","Continue Reading Clicked",{title:i,image:l??"",author:o,isbn:s,price:d,priceCurrency:h}])}))})),document.querySelectorAll("audio")?.forEach((n=>{n.addEventListener("play",(function(n){const i=t.getProductData(),o=t.getTitleAuthorData(),s=t.getISBNData();e.push(["track","Audio Excerpt Clicked",{title:i,author:o,isbn:s}])}))}))}getFormatName(t){const e=t.cloneNode(!0);return e.querySelectorAll(".title-format-item__price").forEach((t=>{t.remove()})),e.textContent.trim()}getRetailerName(t){return t.cloneNode(!0).textContent.trim()}isAuthorPage(){return document.querySelector("h1.meet-the-author__title")&&document.querySelector("body.single-contributor")}getAuthorData(){return document.querySelector("h1.meet-the-author__title")?.innerText}getTitleAuthorData(){const t=document.querySelector(".product-details__contributors .product-details__contributor-link");return t?t.textContent.trim():null}isGenerePage(){return document.querySelector("h1.genre-details_title")}getGenreData(){return document.querySelector("h1.genre-details_title")?.innerText}isProductPage(){return document.querySelector("h1.product-details__title")}getProductData(){return document.querySelector("h1.product-details__title")?.innerText}isISBNPage(){return null!==document.evaluate("//div[contains(@class, 'product-supplemental__details__group')][.//dt[contains(@class, 'product-supplemental__details__term') and normalize-space(text())='ISBN-13']]//dd[contains(@class, 'product-supplemental__details__def')]",document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}getISBNData(){const t=document.evaluate("//div[contains(@class, 'product-supplemental__details__group')][.//dt[contains(@class, 'product-supplemental__details__term') and normalize-space(text())='ISBN-13']]//dd[contains(@class, 'product-supplemental__details__def')]",document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;return t?t.textContent.trim():null}}var vt=t=>{"complete"!==document.readyState&&"interactive"!==document.readyState||t(),document.addEventListener("DOMContentLoaded",t,{once:!0})};!function(t){const{component:e,load:n,name:i,querySelector:o={},querySelectorAll:s={},options:r={}}=t;if("function"!=typeof e)return;const a=()=>{(()=>{const e=void 0===i?null==t?void 0:t.root:`[data-component='${i}']`;let n;try{n=document.querySelectorAll(e)}catch(t){return console.error(t),[]}return n.length<1?(console.log(`No elements found for ${e}`),[]):Array.from(n).map((t=>{const e={};
2return Object.keys(o).forEach((n=>{e[n]=t.querySelector(o[n])})),Object.keys(s).forEach((n=>{const i=t.querySelectorAll(s[n]);e[n]=Array.from(i)})),{element:t,children:e,options:r}}))})().forEach((t=>new e(t)))};if(!1===n)return a;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vt;if(t)if("function"==typeof e)e(t);else if(Array.isArray(e)){const[n,i]=e;null==n||n.addEventListener(i,t)}}(a,n)}({name:"filter-counter",component:function(t){let{element:e,children:n}=t;const{resetButtons:i}=n,{filterCount:o=0}=window?.hbg2023?.searchFilters,s=Array.from(e.elements),r=new URL(document.location),{searchParams:a}=r,l=t=>{t?i.forEach((t=>t.removeAttribute("aria-disabled"))):i.forEach((t=>t.setAttribute("aria-disabled","true")))};e.addEventListener("change",(()=>{const t=s.find((t=>"relevancy"!==t.value&&t.checked||"hbg-title"!==t.value&&t.checked));l(void 0!==t)})),e.addEventListener("reset",(()=>{if(0<o){const t=new URL(r.origin);t.searchParams.set("s",a.get("s")),document.location=t}else l(!1)}))},querySelectorAll:{resetButtons:"button[type=reset]"}});var yt=n("jquery");window.Promise||(window.Promise=u),window.URL||(window.URL=m());const bt=n("../node_modules/object-fit-images/dist/ofi.common-js.js");document.addEventListener("DOMContentLoaded",(()=>{bt()})),window.hachette={WEBPACK_BUNDLE:!0,WEBPACK_BUILD:!0,production:!0},window.hachette.manager=new class{constructor(t,e){this.config=t,this.manifest=e,this.manifest.components=this.manifest.components||{},this.manifest.componentClasses=this.manifest.componentClasses||{},this.manifest.utils=this.manifest.utils||{},this.initUtility("breakpoints",f)}initUtility(t,e){this.manifest.utils[t]||(this.manifest.utils[t]=new e)}initComponent(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;if(Object.prototype.hasOwnProperty.call(this.manifest.componentClasses,t)||(this.manifest.componentClasses[t]=e),this.config[t]&&e.prototype instanceof v){this.manifest.components[t]=[];const i=this.config[t],o=n.querySelectorAll(i.selector);o.length&&Array.prototype.forEach.call(o,(n=>{if(this.manifest.components[t].some((t=>n===t.element)))return;const o=new e(n,i,name,this.manifest);o.start(),this.manifest.components[t].push({instance:o,element:n})}))}else console.error(`Component '${t}' does not exist or is configured incorrectly.\nCheck 'client/js/site/config.js' to ensure this component has a configuration object.\nAlso, verify the '${t}' class extends the core component class located in client/js/site/Component.js`)}reinitComponent(t,e){const n=this.manifest.componentClasses[t];n&&this.initComponent(t,n,e)}static callComponentMethod(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];window.mainfest[t]&&window.mainfest[t].length&&window.mainfest[t].forEach((t=>{"function"==typeof t[e]&&t[e](...n)}))}}({newsletters:{selector:".signup",elements:{email:".hachette-email",input:".hachette-input",list:".hachette_mailchimp_list_id",submit:".newsletter-submit",text:".newsletter-text"}},mailchimpPopup:{selector:".mailchimp-options",elements:{groups:".mailchimp-options__interest-groups li input",message:".mailchimp-options__response-text"}},collapse:{selector:".collapse",elements:{button:".collapse-btn"}},notice:{selector:".site",elements:{button:".collapse-policy-btn"}},tabs:{selector:".toggled-tabs",elements:{togglePanel:".toggled-tabs__item",toggleContent:".toggled-tabs__content",tabToggle:".tablist__item > a",accordionToggle:".panel-title > a",accordionHeading:".panel-heading",accordionPanel:".panel-collapse"},options:{accordionActive:"panel-heading--active"}},dropdown:{selector:".dropdown",elements:{dropdownButton:".dropdown-toggle",dropdownMenu:".dropdown-menu"}},carousel:{selector:".carousel",elements:{next:".site-carousel__control--next",prev:".site-carousel__control--prev",indicatorWrapper:".carousel-indicators",indicator:".carousel-indicators li",tabPane:".tab-pane",slide:".item",slideItem:".carousel__slide-content",slidesWrapper:".carousel-inner",activeSlide:".carousel__slide.active"}},swappable:{selector:".swappable",elements:{}},toggle:{selector:".toggleable",elements:{}},truncate:{selector:".truncate",elements:{toggleTextTruncated:".toggle-text_truncated",toggleTextExpanded:".toggle-text_expanded",toggleBtnTruncated:".toggle-btn_truncated",toggleBtnExpanded:".toggle-btn_expanded"}},svgAspectRatio:{selector:".aspectRatio",elements:{}},autocomplete:{selector:".site-search__input.add-autocomplete",elements:{}},surpriseme:{selector:".magic-8__inner",elements:{loadMore:".magic-8__show-others"}},events:{selector:".events",elements:{eventsButton:".events__expand-button",activeEvents:".events__expand-events-list--active",slide:".item",eventItem:".events__item"}},lazyLoadTitles:{selector:".lazy-load-isbn",elements:{title:".lazy-load-isbn-title",summary:".lazy-load-isbn-summary",link:".lazy-load-isbn-link",cover:".lazy-load-isbn-cover",price:".lazy-load-isbn-price",pubdate:".lazy-load-isbn-pubdate"}},videoFormat:{selector:".title-featured-video",elements:{featured:".title-featured-video__video-wrapper",video:".title-featured-video__video"}}
2,print:{selector:".titles-vertical-list",elements:{print:".vertical-titles-print",printCont:".titles-vertical-list"}},countdownclock:{selector:".countdown-clock",elements:{clock:".countdown-clock__content"}},map:{selector:".map-module",elements:{}},swiperSlider:{selector:".wp-block-hachette-plugin-slider",elements:{swiperEl:".hbg-slider",slides:".hbg-slider__slides",liveRegion:".hbg-slider__live-region",pagingList:".hbg-slider__paging-list"}},brazeHachette:{selector:".site",elements:{}},klaviyoHachette:{selector:".site",elements:{}}},window.hachette),document.addEventListener("DOMContentLoaded",(()=>(window.hachette.manager.initComponent("notice",it),window.hachette.manager.initComponent("tabs",T),window.hachette.manager.initComponent("carousel",w),window.hachette.manager.initComponent("dropdown",C),window.hachette.manager.initComponent("swappable",S),window.hachette.manager.initComponent("toggle",k),window.hachette.manager.initComponent("truncate",x),window.hachette.manager.initComponent("newsletters",tt),window.hachette.manager.initComponent("svgAspectRatio",ot),window.hachette.manager.initComponent("autocomplete",rt),window.hachette.manager.initComponent("surpriseme",at),window.hachette.manager.initComponent("events",lt),window.hachette.manager.initComponent("lazyLoadTitles",ct),window.hachette.manager.initComponent("mailchimpPopup",dt),window.hachette.manager.initComponent("videoFormat",ht),window.hachette.manager.initComponent("print",ut),window.hachette.manager.initComponent("countdownclock",pt),window.hachette.manager.initComponent("swiperSlider",mt),window.hachette.manager.initComponent("klaviyoHachette",gt),void window.hachette.manager.initComponent("brazeHachette",ft))));const wt="site-search__form--active",_t=document.querySelector("#site-header");if(_t){const t=_t.querySelector("#global-hbg-search"),e=_t.querySelector(".site-search__input");t&&t.addEventListener("submit",(t=>{_t.classList.contains(wt)?""===e.value&&_t.classList.contains(wt)&&(t.preventDefault(),_t.classList.remove(wt)):(t.preventDefault(),_t.classList.add(wt))}))}const Tt=document.querySelector("#content");if(Tt){const t=Tt.querySelector("#global-hbg-search"),e=Tt.querySelector(".site-search__input");t&&t.addEventListener("submit",(t=>{""===e.value&&t.preventDefault()}))}const Et="site-header__sub-menu--active",Ct="site-header__sub-menu--active-arrow";let St="";document.addEventListener("click",(t=>{St instanceof HTMLElement&&(St.contains(t.target)||(St.classList.remove(Et),St.parentElement.classList.remove(Ct),St=""))})),document.addEventListener("keyup",(t=>{"Escape"===t.key&&St instanceof HTMLElement?(St.classList.remove(Et),St.parentElement.classList.remove(Ct),St=""):"Escape"===t.key&&document.getElementById("menu-hachette-primary-menu").classList.contains("site-header__mobile-menu--active")&&(document.getElementById("menu-hachette-primary-menu").classList.remove("site-header__mobile-menu--active"),document.querySelector(".site-header__mobile-logo a").focus())})),document.addEventListener("keyup",(t=>{"ArrowDown"===t.key&&St instanceof HTMLElement&&document.querySelector(".ui-menu-item a").focus()}));const kt=document.querySelectorAll(".site-header__nav > ul > .site-header__menu-item-has-children");Array.prototype.forEach.call(kt,(t=>{const e=t.querySelector(".site-header__sub-menu").dataset.toggleElement,n=`expand-${t.querySelector(".site-header__menu-expand").dataset.toggleElement}`;t.querySelector(".site-header__menu-item-text").querySelector("a").addEventListener("focusin",(t=>{St=document.getElementById(e),document.getElementById(e).classList.add(Et),t.target.parentElement.parentElement.classList.add(Ct);const n=document.getElementById(e).querySelectorAll(".site-header__menu-item-text a");n[n.length-1].addEventListener("focusout",(()=>{document.getElementById(e).classList.remove(Et),document.getElementById(e).parentElement.classList.remove(Ct)}))})),t.querySelector(".site-header__menu-item-text").querySelector("a").addEventListener("focusout",(t=>{(null!==t.relatedTarget&&t.relatedTarget.parentElement.parentElement.classList.contains("site-header__menu-item-has-children")&&t.target.parentElement.parentElement.classList.contains("site-header__menu-item-has-children")&&t.target.parentElement.parentElement.parentElement.classList.contains("site-header__menu")&&t.relatedTarget.parentElement.parentElement.parentElement.classList.contains("site-header__menu")||null!==t.relatedTarget&&t.relatedTarget.parentElement.parentElement.classList.contains("site-header__social"))&&(document.getElementById(e).classList.remove(Et),document.getElementById(e).parentElement.classList.remove(Ct))})),"none"===yt(`#${n}`).css("display")&&yt(`#${e}`).parent().hoverIntent({over(){yt(`#${e}`).addClass(Et),yt(this).addClass(Ct)},out(){yt(`#${e}`).removeClass(Et),yt(this).removeClass(Ct)}})}));
2const At="site-header__sub-menu--active-imprint",xt=document.querySelectorAll(".menu-imprint-nav-container > ul > .site-header__menu-item-has-children"),It=document.querySelectorAll(".site-header__nav > ul > .site-header__menu-item-has-children"),$t=document.querySelectorAll(".site-search__button");Array.prototype.forEach.call(xt,(t=>{const e=t.querySelector(".site-header__sub-menu").dataset.toggleElement;yt(`#${e}`).parent().hoverIntent({over(){yt(`#${e}`).addClass(At),yt(It).css("zIndex","0"),yt($t).css("zIndex","0")},out(){yt(`#${e}`).removeClass(At),yt(It).css("zIndex","50"),yt($t).css("zIndex","100")}})})),document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".lazy-load-isbn"),e=Array.prototype.reduce.call(t,((t,e)=>{const{isbn:n,size:i}=e.dataset;return n&&i?[...t,{isbn:n,isbnEl:e,imageSize:i}]:t}),[]),n=t=>{const e=t.map((t=>`${t.isbn}:${t.imageSize}`));fetch(`${window.lazyTitles.ajaxUrl}&isbn=${e.join(",")}`,{credentials:"same-origin"}).then((t=>t.json())).then((e=>{e.success&&e.data&&Array.prototype.forEach.call(e.data,(e=>{const n=t.filter((t=>{let{isbn:n,imageSize:i}=t;return n===e.isbn&&i===e.image_size})).shift();if(n.isbnEl){let t;try{t=new CustomEvent("isbnLoaded",{detail:e})}catch(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("isbnLoaded",!0,!0,e)}n.isbnEl.dispatchEvent(t)}}))}))};for(let t=0;t<e.length;t+=5)n(e.slice(t,t+5))}))}()}();
3//# sourceMappingURL=hachette-site.bundle.min.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.