PageSourceSearch

https://abrale.org.br/wp-content/plugins/total-theme-core/assets/js/frontend/carousels.min.js?ver=2.7

js abrale.org.br collected 2026-10-01 12:13:39 UTC 4,769 bytes, 1 lines download raw bytes

1"function"!=typeof window.vcexCarousels&&(window.vcexCarousels=function(e){if("undefined"==typeof jQuery||"function"!=typeof jQuery.fn.wpexOwlCarousel)return;e&&e.childNodes||(e=document);const s=e.querySelectorAll(".wpex-carousel");if(!s)return;const t=vcex_carousels,o=t.prevIcon||'<span aria-hidden="true">&larr;</span>',a=t.nextIcon||'<span aria-hidden="true">&rarr;</span>',r=window.matchMedia("(prefers-reduced-motion: reduce)").matches,c=e=>{Object.keys(e).forEach((s=>{let t=e[s];if("object"!=typeof t)switch(t){case"false":e[s]=!1;break;case"true":e[s]=!0;break;default:"string"!=typeof t||isNaN(t)||(e[s]=parseInt(t))}}))},n=e=>{e.querySelectorAll(".wpex-carousel__dots-dot").forEach(((e,s)=>{e.setAttribute("aria-label",`${t.i18n.go_to_slide} ${s+1}`)}))},l=function(e,s){const l=jQuery(e);let i=e.id,u=e.dataset.wpexCarousel?JSON.parse(e.dataset.wpexCarousel):{};i||(i=`wpex-carousel-${s+1}`,e.id=i),((e,s)=>{r&&(s.autoplay=!1,s.smartSpeed=0),(e.classList.contains("arrwpos-abs")||e.classList.contains("no-margins")||!e.classList.contains("arrwstyle-default"))&&(s.navClass=t.navClass.map((e=>e.replace(" theme-button","")))),t.navText||(e.classList.contains("arrwstyle-circle")?(carouselPrevIcon='<span class="wpex-carousel__arrow-icon wpex-flex wpex-icon wpex-icon--bidi"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M512 256A256 256 0 1 0 0 256a256 256 0 1 0 512 0zM231 127c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-71 71L376 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-182.1 0 71 71c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L119 273c-9.4-9.4-9.4-24.6 0-33.9L231 127z"/></svg></span>',carouselNextIcon='<span class="wpex-carousel__arrow-icon wpex-flex wpex-icon wpex-icon--bidi"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM281 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L136 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l182.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L393 239c9.4 9.4 9.4 24.6 0 33.9L281 385z"/></svg></span>'):(carouselPrevIcon=o,carouselNextIcon=a),s.navText=[carouselPrevIcon,carouselNextIcon])})(e,u),l.on("initialized.owl.carousel",(function(){if(e.classList.contains("wpex-carousel--render-onload")&&e.classList.contains("wpex-carousel--loaded")){let s=e.previousElementSibling;s&&s.classList.contains("vcex-carousel-preload-css")&&(s.parentNode.removeChild(s),e.classList.remove("wpex-carousel--render-onload"))}}));const p=l.wpexOwlCarousel((d=jQuery.extend(!0,{},t,u),c(d),d.responsive&&"object"==typeof d.responsive&&Object.keys(d.responsive).forEach((e=>{let s=d.responsive[e];"object"==typeof s&&c(s),"string"==typeof e&&delete Object.assign(d,{[parseInt(e)]:d[e]})[e]})),d));var d;const w=e.querySelector(".wpex-carousel__nav"),x=e.querySelector(".wpex-carousel__dots");if(t.i18n.instructions&&w){const s=document.createElement("span");s.className="screen-reader-text",s.textContent=t.i18n.instructions,e.prepend(s)}if(e.querySelectorAll(".wpex-carousel__arrow").forEach((e=>{e.setAttribute("aria-controls",i),e.setAttribute("aria-label",e.classList.contains("wpex-carousel__arrow--next")?t.i18n.next:t.i18n.prev)})),n(e),p.on("changed.owl.carousel",(function(e){const s=e.target;n(s),s.querySelectorAll(".wpex-carousel__item.active .vcex-video").forEach((e=>{const s=e.querySelector("video");s&&(s.pause(),s.currentTime=0),"function"==typeof vcexVideoOverlayReset&&vcexVideoOverlayReset(e)}))})),t.i18n.nav_esc&&(w||x)){const e=document.createElement("span");if(e.className="screen-reader-text",e.textContent=t.i18n.nav_esc,w&&w.appendChild(e),x)if(w){const s=e.cloneNode(!0);x.appendChild(s)}else x.appendChild(e)}const v=e=>{w&&!w.classList.contains("disabled")?(e=>{const s="prev"===e?"next":"",t=w.querySelector(`.wpex-carousel__arrow--${e}`);if(t&&!t.disabled)t.focus({preventscroll:!0});else{const e=w.querySelector(`.wpex-carousel__arrow--${s}`);e&&!e.disabled&&e.focus({preventscroll:!0})}})(e):x&&!x.classList.contains("disabled")&&(e=>{const s=x.querySelector(".active");let t="";if(s){const o=s.nextElementSibling,a=s.previousElementSibling;t="prev"===e?a||o:o||a}else t=x.querySelector("wpex-carousel__dots-dot");t&&t.focus({preventscroll:!0})})(e)};e.addEventListener("keydown",(s=>{if(s.target.closest(".wpex-carousel__nav,.wpex-carousel__dots")){if("Escape"===s.key){const s=e.querySelector(".wpex-carousel__item.active a");s&&s.focus({preventscroll:!0})}}else(w||x)&&("ArrowLeft"===s.key?v("prev"):"ArrowRight"===s.key&&v("next"))}))};
1s.forEach((function(e,s){"function"==typeof imagesLoaded?imagesLoaded(e,(function(){l(e,s)})):l(e,s)}))}),"interactive"===document.readyState||"complete"===document.readyState?setTimeout(vcexCarousels,0):document.addEventListener("DOMContentLoaded",vcexCarousels,!1);

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.