1window.addEventListener("load",function(){"use strict";function a(a){var b=!1;return function(){b||(window.requestAnimationFrame(function(){a(),b=!1}),b=!0)}}function b(){var a=!1,b=0;h.each(function(){const c=d(this),e=c.find(".cgb-content");if(c.hasClass("tabs-on-desktop")||c.hasClass("tabs-on-mobile")){for(var f=c.attr("class").split(/\s+/),g=0,h=0;h<f.length;h++)f[h].includes("tabs-breakpoint-")&&(g=parseInt(f[h].split("-")[2]));0!=g?c.hasClass("tabs-on-desktop")&&window.innerWidth>=g?a=!0:c.hasClass("tabs-on-mobile")&&window.innerWidth<g&&(a=!0):a=!0}else a=!0;if(a){if("true"!=c.attr("show-tabs")){c.attr("show-tabs","true");var i=-1;e.each(function(a){"none"!=d(this).css("display")?i=a:d(this).show(),d(this).height()>b&&(b=d(this).height()),i!==a&&d(this).hide()}),i<0&&c.find('.cgb-heading:first-of-type .cgb-button[aria-expanded="false"]').click()}}else c.attr("show-tabs","false"),e.css({"min-height":0})})}function c(){d(".cgb-accordion-block .cgb-button").on("click",function(a){var b=d(this),c=b.closest(".cgb-accordion-block").attr("show-tabs"),e=b.closest(".cgb-heading").next(".cgb-content"),f=b.closest(".cgb-accordion");if(f.find(".cgb-button").not(b).removeClass("open").attr("aria-expanded","false"),"true"==c?f.find(".cgb-content").not(e).hide():f.find(".cgb-content").not(e).slideUp(),"true"===b.attr("aria-expanded")?b.attr("aria-expanded","false"):b.attr("aria-expanded","true"),b.toggleClass("open"),"true"==c)e.toggle();else{var g={};if(window.innerWidth<768){var h=d(document).scrollTop();const i=b[0].getBoundingClientRect().top;g={progress:function(){const a=b[0].getBoundingClientRect().top;h=h+a-i,h<0&&(h=0),window.scrollTo({left:0,top:h,behavior:"instant"})}}}e.slideToggle(g)}}).on("keydown",function(a){if(a.keyCode===g.up||a.keyCode===g.down){a.preventDefault();var b=d(this),c=b.closest(".cgb-accordion").find(".cgb-button"),e=c.index(b),f=a.keyCode===g.down?1:-1,h=(e+c.length+f)%c.length;d(c.get(h)).focus()}})}var d=jQuery,e=d(".cgb-accordion-block"),f=d('[data-type="acf/cgb-accordion"]');if(e.length&&!f.length){var g={up:38,down:40},h=d(".cgb-accordion-block.tabs");!function(){d(window).on("resize",a(b)),c(),b()}()}}),jQuery(function(a){"use strict";function b(a){var b,c=[],d={post_title:"Title",post_excerpt:"Excerpt",post_content:"Content"},e=Object.keys(d);for(b=0;b<e.length;b++)c[e[b]]=d[e[b]];if(a.meta)for(e=Object.keys(a.meta),b=0;b<e.length;b++)c[e[b]]=e[b];if(a.acf)for(e=Object.keys(a.acf),b=0;b<e.length;b++)c[e[b]]=e[b];return c}function c(a){acf.cgbGalleryBlocks.setField(a)}"undefined"!=typeof acf&&void 0!==acf.Model&&(acf.CGBGalleryBlock=acf.Model.extend({data:{parent:null,fields:{cgbGalleryIsPostContent:null,cgbGalleryPostType:null,cgbGalleryTextOverlaySource:null,cgbGalleryLinkLabelSource:null,cgbGalleryTitleSource:null,cgbGalleryDescriptionSource:null,cgbGalleryAutofillContent:null,cgbGalleryNumberOfItems:null,cgbGalleryTaxonomyFilter:null,cgbGalleryItems:null,cgbGalleryDescriptionTruncateType:null,cgbGalleryDescriptionTruncateLimit:null}},setField:function(a){var b=this,c=acf.cgbGalleryBlocks.getParent(a);if(this.isField(a)&&this.isParentMatch(c)){var d=this.getFieldName(a);switch(d){case"cgbGalleryIsPostContent":case"cgbGalleryPostType":a.on("change",function(a){b.initACFFields(),b.removeGalleryItems()});break;case"cgbGalleryDescriptionTruncateType":a.on("change",function(a){b.initDescriptionLimitText()})}this.data.fields[d]=a,this.finishSetUp()}},getField:function(a){return a in this.data.fields?this.data.fields[a]:null},getFieldName:function(a){return acf.strCamelCase(a.get("name"))},isField:function(a){return this.getFieldName(a)in this.data.fields},isParentMatch:function(a){var b=a?a.get(0):null,c=this.get("parent")?this.get("parent").get(0):null;return b&&c&&c.isEqualNode(b)},isAllFieldsSet:function(){return Object.values(this.data.fields).every(function(a){return Boolean(a)})},finishSetUp:function(){this.isAllFieldsSet()&&this.initACFFields()},initACFFields:function(){this.initGallerySourceAndItemPostMenus(),this.initGalleryTaxonomyFilterMenu(),this.initDescriptionLimitText()},initGallerySourceAndItemPostMenus:function(){var c=this,d=this.getField("cgbGalleryPostType").$el.find("option:selected"),e=d.val(),f="/wp-json/wp/v2/"+e+"?per_page=100&_fields=id,type,title,acf,meta";
1a.ajax({url:f,type:"get",dataType:"json",success:function(d){!function(d){var e=d.length,f=[],g=c.data.fields.cgbGalleryTextOverlaySource.$el.find("select"),h=c.data.fields.cgbGalleryLinkLabelSource.$el.find("select"),i=c.data.fields.cgbGalleryTitleSource.$el.find("select"),j=c.data.fields.cgbGalleryDescriptionSource.$el.find("select");f.push('<option data-i="" selected="selected" value="none">None/Manual</option>');for(var k=e?b(d[0]):{},l=Object.keys(k),m=0;m<l.length;m++)f.push('<option value="'+l[m]+'">'+k[l[m]]+"</option>");f=f.join("");var n=[g,h,i,j];a.each(n,function(a,b){var c=b.find("option:selected").val();b.html(f),b.find('option[value="'+c+'"]').prop("selected",!0)})}(d),function(b){for(var d=b.length,e=['<option data-i="" selected="selected" value="select">- Select -</option>'],f=c.data.fields.cgbGalleryItems.$el.find('[data-name="cgb_gallery_item_post"] select'),g=0;g<d;g++)e.push('<option value="'+b[g].id+'">'+b[g].title.rendered+"</option>");e=e.join(""),f.each(function(b){var c=a(this),d=c.find("option:selected").val();c.html(e),c.find('option[value="'+d+'"]').prop("selected",!0)})}(d)},error:function(a,b,c){var d=a.status+": "+a.statusText;console.log("cgb_gallery: Failed to fetch posts for post type: "+e+". "+d)}})},initGalleryTaxonomyFilterMenu:function(){function b(a){for(var b=[],c=0;c<a.length;c++)b.push('<option value="'+a[c].slug+'">'+a[c].name+"</option>");b=d.html()+b.join(""),d.html(b)}function c(a,b,c){var d=a.status+": "+a.statusText;console.log("cgb_gallery: Failed to fetch terms for taxonomy. "+d)}var d=this.data.fields.cgbGalleryTaxonomyFilter.$el.find("select"),e=this.data.fields.cgbGalleryPostType.$el.find("option:selected"),f=e.text();d.length&&(d.html('<option data-i="" selected="selected" value="all">All Posts</option>'),a.ajax({url:"/wp-json/wp/v2/types/"+f+"?per_page=100&_fields=taxonomies",type:"get",dataType:"json",success:function(d){if(!Array.isArray(d.taxonomies)||!d.taxonomies.length)return void initMenu([]);for(var e=0;e<d.taxonomies.length;e++){var f=d.taxonomies[e];"category"===f?f="categories":"post_tag"===f&&(f="tags"),a.ajax({url:"/wp-json/wp/v2/"+f+"?per_page=100&_fields=slug,name",type:"get",dataType:"json",success:b,error:c})}},error:function(a,b,c){var d=a.status+": "+a.statusText;console.log("cgb_gallery: Failed to fetch taxonomies for post type: "+f+". "+d)}}))},initDescriptionLimitText:function(){var a="characters";switch(this.getField("cgbGalleryDescriptionTruncateType").$el.find("option:selected").val()){case"char":a="characters";break;case"word":a="words";break;case"sentence":a="sentences"}this.getField("cgbGalleryDescriptionTruncateLimit").$el.find(".acf-input-append").html(a)},removeGalleryItems:function(){var b=this.data.fields.cgbGalleryItems;b.$el.find(".acf-row").not(".acf-clone").each(function(c){var d=a(this);b.remove(d)})}}),acf.cgbGalleryBlocks=new acf.Model({data:{blocks:[]},setField:function(a){if(this.isValidField(a)){var b=this.getParent(a);if(b.length){var c=this.getBlock(b);if(!c){if(c=new acf.CGBGalleryBlock,c.set("parent",b),!c.isField(a))return;this.data.blocks.push(c)}c.setField(a)}}},getBlock:function(a){for(var b=null,c=this.get("blocks"),d=0;d<c.length;d++)if(c[d].isParentMatch(a)){b=c[d];break}return b},getParent:function(a){return a.$el.closest(".acf-block-fields")},isValidField:function(a){return Boolean(a.get("name"))}}),acf.addAction("new_field",c))}),jQuery(function(a){"use strict";function b(a){var b=a.touches||a.originalEvent.touches;return{x:b[0].clientX,y:b[0].clientY}}function c(a,b){var c=a.find(".cgb-gallery-carousel-tabs-top"),d=a.find(".cgb-gallery-carousel-tabs-bottom");c.find(".cgb-gallery-carousel-tab").removeClass("cgb-gallery-tab-active").eq(b).addClass("cgb-gallery-tab-active"),d.find(".cgb-gallery-carousel-tab").removeClass("cgb-gallery-tab-active").eq(b).addClass("cgb-gallery-tab-active")}function d(a){return a.find(".cgb-gallery-item").filter(":visible")}function e(a,b){return a.find(".cgb-gallery-item").eq(b)}function f(a,b,f){var g=e(a,b),h=d(a);h.attr("aria-hidden","true"),h.fadeOut(300,function(a){h.css("display",""),g.fadeIn(300,function(a){if
1(g.removeAttr("aria-hidden"),void 0!==f)switch(f){case"previous":g.find(".cgb-gallery-carousel-nav-btn").first().focus();break;case"next":g.find(".cgb-gallery-carousel-nav-btn").last().focus()}})}),c(a,b)}function g(){k.each(function(b){for(var c=a(this),d=[],e=c.find(".cgb-gallery-carousel-tabs"),f=c.find(".cgb-gallery-item").length,g=0;g<f;g++)d.push(a('<li class="cgb-gallery-carousel-tab"></li>'));e.append(d)}),k.find(".cgb-gallery-carousel-tab").on("click",function(b){var c=a(this);if(!c.hasClass("cgb-gallery-tab-active")){f(c.closest(".cgb-gallery-carousel"),c.closest(".cgb-gallery-carousel-tabs").find(".cgb-gallery-carousel-tab").index(c))}})}function h(){k.each(function(b){var c=a(this),d=c.find(".cgb-gallery-item"),e=d.length,g=c.find(".cgb-gallery-carousel-nav-btn");if(e<=1)return void g.parent().remove();var h=-1;g.even().each(function(b){a(this).attr("data-next-item",h++)}).first().attr("data-next-item",e-1),h=1,g.odd().each(function(b){a(this).attr("data-next-item",h++)}).last().attr("data-next-item",0),g.on("click",function(b){var d=a(this),e=d.attr("data-direction"),g=d.attr("data-next-item");f(c,g,e)})})}function i(){k.each(function(b){var d=a(this),e=d.find(".cgb-gallery-item"),f=e.length;e.each(function(b){a(this).attr("aria-label","Item "+(b+1)+" of "+f)}),e.attr("aria-hidden","true").eq(0).removeAttr("aria-hidden").show(),c(d,0)})}function j(){k.each(function(c){var e=a(this),g=e.find(".cgb-gallery"),h=g.find(".cgb-gallery-item"),i=h.length,j=null,k=!1,l=0;i<=1||(g.get(0).addEventListener("touchstart",function(a){j=b(a),k=!1},{passive:!0}),g.get(0).addEventListener("touchmove",function(a){if(j){var c=b(a),d=j.x-c.x,e=j.y-c.y;
1if(Math.abs(e)>Math.abs(d)||Math.abs(d)<30)return void(k=!1);a.preventDefault(),k=!0,l=Math.abs(d)/d}},{passive:!1}),g.get(0).addEventListener("touchend",function(a){if(j&&k){var b=d(e),c=h.index(b),g=0;g=l>0?c>=h.length-1?0:c+1:c<=0?h.length-1:c-1,f(e,g)}},{passive:!0}))})}var k=a(".cgb-gallery-carousel");k.length&&function(){g(),h(),i(),j()}()}),jQuery(function(a){"use strict";function b(a){var b="0px";return a.hasClass("cgb-grid-item-group-slide-up")?b=a.closest(".cgb-grid-block").css("--translation-distance"):a.hasClass("cgb-grid-item-group-slide-down")&&(b="-"+a.closest(".cgb-grid-block").css("--translation-distance")),b}function c(c,d,e){var f=d.length;f<=0&&e instanceof Function&&e(),d.each(function(){var d=a(this),g=0,h="0px",i="0px";c?(h=b(d),i="0px",g=1):(h="0px",i=b(d),g=0);var j=a('<div class="cgb-grid-item-group-dummy"></div>').appendTo("body");c&&!d.hasClass("cgb-grid-item-group-preserve")&&d.show();var k=parseInt(d.closest(".cgb-grid-block").css("--fade-transition-duration"));k=isNaN(k)?400:k,d.animate({opacity:g},{duration:k}),j.css("text-indent",h).animate({textIndent:i},{step:function(a,b){d.css("transform","translateY("+a+"px)")},complete:function(){c||d.hasClass("cgb-grid-item-group-preserve")||d.hide(),f<=1&&e instanceof Function&&e(),f--,j.remove()},duration:k})})}function d(a){return function(){c(!0,a,null)}}function e(a){c(!1,a.filter(".cgb-grid-item-group-hide"),d(a.filter(".cgb-grid-item-group-show")))}function f(a){var b=a.filter(".cgb-grid-item-group-hide");c(!1,a.filter(".cgb-grid-item-group-show"),d(b))}if(!a(".block-editor-page").length){var g=a(".cgb-grid-item-block");g.length&&function(){g.on("mouseenter",function(){e(a(".cgb-grid-item-group-block",a(this)))}).on("mouseleave",function(){f(a(".cgb-grid-item-group-block",a(this)))})}()}});
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.