PageSourceSearch

https://www.bowfin.org/wp-content/plugins/cool-timeline/includes/s…/assets/js/ctl-scripts.min.js?ver=4.0.0

js bowfin.org collected 2026-10-01 11:28:59 UTC 4,664 bytes, 1 lines download raw bytes

1class CtlCommonScript{constructor(){this.callBack()}ctlEscHtml=t=>{const e=document.createElement("div");return e.textContent=null==t?"":String(t),e.innerHTML};CtlLightBoxHtml=t=>`<div id="glightbox-body" class="glightbox-container">\n            <div class="gloader visible"></div>\n            <div class="goverlay"></div>\n            <div class="gcontainer ctl_glightbox_container${"minimal"===t?" minimal-layout":""}">\n            <div id="glightbox-slider" class="gslider"></div>\n            <button class="gnext gbtn" tabindex="0" aria-label="Next" data-customattribute="example">{nextSVG}</button>\n            <button class="gprev gbtn" tabindex="1" aria-label="Previous">{prevSVG}</button>\n            <button class="gclose gbtn" tabindex="2" aria-label="Close">{closeSVG}</button>\n            </div>\n        </div>`;CtlLightBoxSettings=t=>{const e={lightboxHTML:this.CtlLightBoxHtml(t),svg:{close:'<i class="ctl_glightbox_close_btn"></i>',next:'<i class="ctl_glightbox_hidden"></i>',prev:'<i class="ctl_glightbox_hidden"></i>'},touchNavigation:"minimal"!==t};return GLightbox(e)};popupCloseBtn=()=>'<button type="button" class="ctl_glightbox_card_close" aria-label="Close"><i class="ctl_glightbox_close_btn" aria-hidden="true"></i></button>';bindPopupClose=t=>{const e=()=>{jQuery(".ctl_glightbox_card_close").off("click.ctlPopupClose").on("click.ctlPopupClose",e=>{e.preventDefault(),e.stopPropagation(),t&&"function"==typeof t.close&&t.close()});const e=document.querySelector(".ctl_glightbox_container > .gclose"),l=document.querySelector(".gslide.current .ctl_glightbox_card"),i=document.querySelector(".gslide.current .ginner-container");e&&i&&!l&&e.parentElement!==i&&i.appendChild(e)};t&&"function"==typeof t.on&&(t.on("open",e),t.on("slide_changed",e)),setTimeout(e,80)};storyPopupCopy=(t,e,l)=>`<div class="ctl_glightbox_content">\n\t\t\t<div class="ctl_glightbox_date">${e||""}</div>\n\t\t\t<h2 class="ctl_glightbox_title">${t||""}</h2>\n\t\t\t<div class="ctl_glightbox_desc">${l||""}</div>\n\t\t</div>`;storyPopupCard=(t,e,l,i)=>`<div class="ctl_glightbox_card">${this.popupCloseBtn()}${t||""}${this.storyPopupCopy(e,l,i)}</div>`;CtlLighBox=t=>{t.preventDefault(),t.stopPropagation();const e=t.currentTarget,l=this.CtlLightBoxSettings("default"),i=e.getAttribute("href"),o=e.getAttribute("data-glightbox")||"",n=this.ctlEscHtml(o),c=n?`<div class="ctl_glightbox_content ctl_glightbox_content--caption"><h2 class="ctl_glightbox_title">${n}</h2></div>`:"";this.bindPopupClose(l),l.setElements([{content:`<div class="ctl_glightbox_card">${this.popupCloseBtn()}<div class="ctl_glightbox_card-media"><img src="${i}" alt="${n.replace(/"/g,"&quot;")}"></div>${c}</div>`,width:"860px",height:"auto"}]),l.open()};CtlLighBoxMinimal=t=>{t.preventDefault();const e=jQuery(t.currentTarget).data("popup-id"),l=jQuery(e),i=this.CtlLightBoxSettings("minimal"),o=l.find(".ctl_popup_media .ctl_popup_img").data("popup-image"),n=l.find(".ctl_popup_date").html(),c=l.find(".ctl_popup_title").html(),s=l.find(".ctl_popup_desc").html(),a=[];void 0!==o?a.push({content:this.storyPopupCard(`<div class="ctl_glightbox_card-media"><img src="${o}" alt=""></div>`,c,n,s),height:"auto",width:"800px"}):a.push({content:this.storyPopupCard("",c,n,s),width:"640px",height:"auto"}),this.bindPopupClose(i),i.setElements(a),i.open()};ctlResponsiveDevice=()=>{const t=t=>{const e=jQuery(".ctl-wrapper .ctl-vertical-wrapper").not(".ctl-compact-wrapper").find(".ctl-labels");e.length>0&&(t?e.each((t,e)=>{const l=jQuery(e).closest(".ctl-story").find(".ctl-content")[0].scrollWidth;jQuery(e)[0].scrollWidth>l&&e.classList.add("ctl-label-overflow")}):e.removeClass("ctl-label-overflow"))};t(jQuery(window).width()<380)};btnHoverEffect=()=>{jQuery(document).on("mousedown",'.ctl-button-next:not(".swiper-button-disabled"), .ctl-button-prev:not(".swiper-button-disabled"), .ctl-pagination a.page-numbers',t=>{const e=jQuery(t.currentTarget);e.addClass("ctl-btn-click-effect"),setTimeout(function(){e.removeClass("ctl-btn-click-effect")},500)})};callBack=()=>{let t;jQuery(".ctl-wrapper .cool-timeline-wrapper").each((t,e)=>{const l=jQuery(e);if(0===l.find(".ctl-story").length&&l.addClass("ctl-content-empty"),!l.hasClass("ctl-horizontal-timeline")){"none"!==l.find(".ctl-timeline-container").attr("data-animation")&&AOS.init()}}),jQuery(document).on("click",".ctl-wrapper .ctl_glightbox",t=>{this.CtlLighBox(t)}),jQuery(document).on("click",".ctl-wrapper .minimal_glightbox",t=>{this.CtlLighBoxMinimal(t)}),this.ctlResponsiveDevice(),jQuery(window).on("resize",()=>{clearTimeout(t),t=setTimeout(()=>{this.ctlResponsiveDevice()},100)}),this.btnHoverEffect()}}new CtlCommonScript;

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.