1"use strict";(self.webpackChunkcg_archive_shortcode=self.webpackChunkcg_archive_shortcode||[]).push([[218],{413:(e,t,n)=>{n.r(t);var a=n(669),o=n.n(a);o()(document).on("expanders:ready",(function(){!function(){const e=o()(".section--training-sessions .expanders .expander-box");if(1===e.length){const t=e.first(),n=t.find(".expander-title"),a=t.find(".expander-content");t.addClass("opened"),n.attr("aria-expanded","true").attr("aria-pressed","true"),a.show()}e.find(".expander-title").on("click keypress",(function(e){if("click"===e.type||"Enter"===e.key||" "===e.key){e.preventDefault();const t=o()(this),n=t.data("filter"),a=o()(n),s=t.closest(".expander-box"),r=s.hasClass("opened");o()(".expander-box").removeClass("opened"),o()(".expander-title").attr("aria-expanded","false").attr("aria-pressed","false"),o()(".expander-content").slideUp(),r||(s.addClass("opened"),t.attr("aria-expanded","true").attr("aria-pressed","true"),a.slideDown())}}));const t=o()(".expander-box").first();t.addClass("opened"),t.find(".expander-title").attr("aria-expanded","true").attr("aria-pressed","true"),t.find(".expander-content").css("display","block")}()})),o()(".expand-hidden").addClass("hidden"),o()(".expand-hidden").slideUp((function(){o()(".expand-hidden").removeClass("hidden")})),o()(".expand-bottom .more2").click((function(){o()(".expand-hidden").slideToggle();var e="Collapse"==o()(".expand-bottom .more2").text()?"Expand to learn more":"Collapse";o()(".expand-bottom .more2").text(e)})),o()(".loadmore-list.collapsed").addClass("hidden"),o()(".loadmore-list.collapsed").slideUp((function(){o()(".loadmore-list.collapsed").removeClass("hidden")})),o()(".loadmore-bottom .more2").click((function(){o()(this).parents(".loadmore-multiple").length>0?(o()(this).parent().parent().find(".loadmore-list.collapsed").each((function(e){if(e>5)return!1;o()(this).removeClass("collapsed").show()})),o()(".grid").masonry()):o()(this).parent().parent().find(".loadmore-list.collapsed").each((function(e){if(e>0)return!1;o()(this).removeClass("collapsed").slideDown()})),o()(this).parent().parent().find(".loadmore-list.collapsed").length<=0?o()(this).parent().parent().find(".loadmore-bottom").slideUp():o()(this).parent().parent().find(".loadmore-bottom").slideDown()})),o()(document).ready((function(){o()(".expanders .expander-box.opened .expander-content").slideDown();const e=e=>{const t=o()(e.currentTarget).parent(),n=t.find(".expander-content");t.hasClass("opened")?(t.removeClass("opened"),o()(e.currentTarget).attr("aria-expanded","false"),o()(e.currentTarget).attr("aria-pressed","false"),n.slideUp("slow")):(t.addClass("opened"),n.slideDown("slow"),o()(e.currentTarget).attr("aria-expanded","true"),o()(e.currentTarget).attr("aria-pressed","true"))},t=o()(".expander-title");t.click((function(t){e(t)})),t.keydown((function(t){let n=t.which;13!==n&&32!==n||e(t)})),function(){if(window.innerWidth<=480){let e=0;o()(".archive-pages-location .expander-box").each((function(){o()(this).find(".expander-content .row").each((function(){e=o()(this).find(".col-md-4").length,o()(this).find(".col-md-4").hide(),o()(this).find(".col-md-4:nth-child(-n+4)").show(),e>3&&o()(this).append('<div class="col show-more-locations">Show more</div>')}))}))}}(),o()(".archive-pages-location .expander-content .row .show-more-locations").on("click",(function(){const e=o()(this).closest(".row");if(window.innerWidth<=480){var t=0;e.find(".col-md-4").each((function(){o()(this).is(":hidden")&&t<3&&(o()(this).show(),t++)})),0===e.find(".col-md-4:hidden").length&&o()(this).remove()}}))}));const s=document.querySelectorAll(".archive-arrow-collapse .collapse-arrow");document.querySelectorAll(".social-nav").forEach((function(e){const t=e.querySelectorAll("li").length>0,n=e.closest(".profile-details");if(n){const e=n.querySelector(".archive-arrow-collapse");e&&!t&&e.classList.add("hide-arrow")}})),s.forEach((e=>{e.addEventListener("click",(function(){const e=this.closest(".profile-details");if(e){const t=e.querySelector(".social-nav");if(t){t.classList.toggle("show");const n=e.querySelector(".collapse-arrow.down"),a=e.querySelector(".collapse-
1arrow.up");n&&a&&(t.classList.contains("show")?(n.style.display="none",a.style.display="inline"):(n.style.display="inline",a.style.display="none"))}}}))})),o()(document).ready((function(){const e=o()(".archive-pages-location .expander-box");if(1===e.length){let t=e.first(),n=t.find(".expander-title"),a=t.find(".expander-content");t.addClass("opened"),n.attr("aria-expanded","true").attr("aria-pressed","true"),a.css("display","block")}}))}}]); 2//# sourceMappingURL=expands-cg-archive-shortcode-frontend.production.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.