HEX
Server: Apache
System: Linux d8507.use1.stableserver.net 5.14.0-570.30.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 30 05:12:29 EDT 2025 x86_64
User: dacusvillerec (1045)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /home/dacusvillerec/public_html/wp-content/themes/exponent/js/vendor/stickysections.min.js
!function(t,n,o,e){"function"==typeof define&&define.amd?define(function(e){return o(t,n)}):"object"==typeof exports?module.exports=o(t,n):t.stickySections=o(t,n)}(window,document,function(l,c,e){var r,n,a,o="sticky-sections-wrap",i="sticky-enabled",s="sticky-current-active",u="sticky-dots-navigation",f="#"+u,d="sticky-dot-active",h=".sticky-nav-dot",v="sticky-disable-animation",p="sticky-overflow",m="sticky-overlay",g="sticky-section",t=ge(),y=null,b=!0,k=[],S={d:1377,l:1025,t:968,m:0},E={active:null,breakpoint:"d",scrollRange:null,sections:null},w=null,x=Date.now(),T=null,H=0,L=null,j=!1,C=!1,M=t,A=ue("body");function O(){var e,t=null;for(e in S)S[e]<=("innerWidth"in l?l.innerWidth:c.documentElement.offsetWidth)&&(null==t||S[e]>S[t])&&(t=e);return null!=t?t:"d"}function z(){var e="";switch(E.breakpoint){case"l":e="tatsu-hide-laptop";break;case"t":e="tatsu-hide-tablet";break;case"m":e="tatsu-hide-mobile";break;default:e="tatsu-hide-desktop"}return e}function P(){var e=a.children,t=E.sections,n=null,o=null,i=z(),n=[].filter.call(e,function(e){return ve(e,"tatsu-section")&&!ve(e,i)});0<(o=[].filter.call(e,function(e){return-1==n.indexOf(e)})).length&&(pe(o,[g,s,v]),se(o,["height","transform","transition"])),E.sections=n,null==t||null==n||function(e,n){if(null!=e&&null!=n&&e.length==n.length)return e.every(function(e,t){return e===n[t]});return!1}(t,n)||($(n[n.length-1]),null!=(t=ue(f))&&(t.parentElement.removeChild(t),B())),me(n,g)}function N(o,e,i){var l=o.scrollTop,c=e-l,r=0,a=function(){var e,t,n,t=(e=r+=20,t=l,n=c,(e/=i/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t);o.scrollTop=t,r<i&&setTimeout(a,20)};a()}function I(t,n){var e=he(),o=null!=n?0:r.scrollingSpeed/Math.abs(t-e),i=E.active,l=0;if(0<=t&&t<E.sections.length&&e!=t)if(r.autoScroll&&b)for(b=!1;e!=t;)setTimeout(function(e){t<e?((ve(E.active,p)||C)&&(ee(i,0,null==n),C=C&&!1),i=E.sections[de(i)-1],t==e-1?($(i,"up"),setTimeout(function(){ee(i,0,null==n),setTimeout(function(){_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1)},null==n?r.scrollingSpeed:0)},50)):ee(i,0,null==n)):(ee(i,-1*re(i),null==n),i=E.sections[de(i)+1],t==e+1&&setTimeout(function(){$(i,"down"),_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1)},null==n?r.scrollingSpeed:0))}.bind(null,e),l*o),e=t<e?e-1:e+1,l+=1;else n?scrollTo(0,D(t)):N(0<c.body.scrollTop?c.body:c.documentElement,D(t),r.scrollingSpeed);else V("You are already in the target section","warn")}function D(e){var t=0;if(e<E.sections.length)for(var n=0;n<e;n++)t+=re(E.sections[n]);return t}function q(){var n,e;P(),Y(),W(),e=E.sections,n=e.length,node=null,[].forEach.call(e,function(e,t){ve(e,"tatsu-fullscreen")||(se(e,"height"),M<e.offsetHeight?me(e,p):ae(e,"height","100%")),ae(e,"z-index",n-t)}),r.overlay&&ae(w,"z-index",E.sections.length-1),K(),(e=0)!=he()&&I(e,!0)}function F(e){var t=O();t!=E.breakpoint&&"m"!=t&&(E.breakpoint=t,q())}function R(){n={min:0,max:0};var e,t=E.active;n.min=D(he()),n.max=n.min+(ve(t,p)?t.offsetHeight:M),he()===E.sections.length-1&&(e="string"==typeof(e="html")?c.querySelector(e):e,t=l.getComputedStyle(e),t=parseFloat(t.marginTop)+parseFloat(t.marginBottom),e="string"==typeof e?c.querySelector(e):e,t=Math.ceil(e.offsetHeight+t)-(ue("html").scrollTop+l.innerHeight),n.max+=t)}function W(){ce(a,{height:M+"px"})}function B(){if(r.dots){var e=E.sections,t=c.createElement("div");t.setAttribute("id",u);var n=c.createElement("ul");t.appendChild(n),c.body.appendChild(t),nav=ue(f),me(nav,r.navigationPosition);for(var o="",i=0;i<e.length;i++)o+='<li class = "sticky-nav-dot"><span></span></li>';n.innerHTML=n.innerHTML+o,r.navigationColor&&ae(fe(h+" span"),"background",r.navigationColor),[].forEach.call(n.children,function(e,t){be(e,function(){pe(n.children,d),me(this,d),I(t)},"click")})}}function Y(){M=ge()-function(e){var t=0;null!=e&&"[object Array]"==Ee(e)&&0<e.length&&e.forEach(function(e){e=ue(e);null!=e&&(t+=e.offsetHeight)});return t}(r.fullScreenOffset)}function K(){var t,e;r.autoScroll||(t=0,e=E.sections,[].forEach.call(e,function(e){ve(e,m)||(t+=e.offsetHeight)}),r.fullScreenOffset.forEach(function(e){e=ue(e);null!=e&&"wpadminbar"!=e.id&&(t+=e.offsetHeight)}),""!=r.footer&&0<H&&(t+=H),ce(A,{overflow:"auto",height:t+"px"}))}function V(e,t){"string"==typeof e&&"string"==typeof t&&""!=e&&-1<["error","warn"].indexOf(t)&&console[t](e)}function G(e){var t,n=Date.now(),o=n-x,i=(e=l.event||e).wheelDelta||-1*e.detail,e=Math.max(-1,Math.min(1,i));x=n,149<k.length&&k.shift(),k.push(Math.abs(i)),200<o&&(k=[]),b&&(o=le(k,5),(le(k,70)<=o||ve(E.active,p))&&(1==e?ve(o=E.active,p)&&!C&&0<=(t=J(o))-50?(null==L||j||(j=!0),ee(o,t-50<50?0:-1*(t-50),!1)):ne():-1==e&&(ve(t=E.active,p)?(e=J(t),M<t.offsetHeight-(e+50)?(null==L||j||(j=!0),ee(t,-1*(e+50),!1)):te()):te())))}function J(e){e=getComputedStyle(e).transform.split(",");return null!=e[5]?Math.abs(parseInt(e[5])):0}function Q(e){e?null==L&&(L=setInterval(function(){j&&(j=!1,r.scrollCallback.call(E.active,he()))},150)):null!=L&&(clearInterval(L),L=null,j=j&&!1)}function U(e){!function(e){if(0<=e)if(e>=n.max){for(;e>=n.max;)ee(E.active,X(e),!1),$(oe(),"down"),_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1);ee(E.active,X(e),!1)}else if(e<n.min){for(;n.min>e;)ee(E.active,X(e),!1),C=C&&!1,$(ie(),"up"),_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1);ee(E.active,X(e),!1)}else null==L||j||(j=!0),ve(oe(),"sticky-footer-wrap")&&!C&&(C=!0),ee(E.active,X(e),!1)}(c.body.scrollTop||c.documentElement.scrollTop)}function X(e){return e>=n.max?-1*(ve(E.active,p)?E.active.offsetHeight:M):e<=n.min?0:-1*(e-n.min)}function Z(e){var t;r.overlay&&(t=Number(function(e,t){if(null!=e)return getComputedStyle(e).getPropertyValue(t)}(E.active,"z-index")),isNaN(t)||ce(w,{"z-index":t-1,opacity:e,transition:"none"}))}function $(e,t){var n;null!=e&&e!=E.active&&(pe(E.active,s),me(e,s),E.active=e,r.dots&&null!=E.active&&(n=he(),pe(e=fe(h),d),me(e[n],d)),Z("down"==t?1:0),R())}function _(e){Se(r.afterLoad)&&r.afterLoad.call(e,de(e)),b=!0}function ee(e,t,n,o){var i;n?(n=e,i="all "+(null!=(i=o)?i:r.scrollingSpeed)+"ms "+r.easingcss3,null!=n&&(pe(n,v),ce(n,{"-webkit-transition":i,transition:i}))):me(e,v),ce(e,{"-webkit-transform":i="translate3d(0px, "+(i=t)+"px, 0px)","-moz-transform":i,"-ms-transform":i,transform:i}),e=e,t=Math.abs(t),r.overlay&&(r.autoScroll?ve(e,p)?(t>e.offsetHeight-M||t==e.offsetHeight-M)&&ce(w,{transition:"opacity "+r.scrollingSpeed+"ms ease",opacity:t>e.offsetHeight-M?0:1}):ce(w,{transition:"opacity "+r.scrollingSpeed+"ms ease",opacity:0==t?1:0}):ve(e,p)?t>e.offsetHeight-M&&ae(w,"opacity",1-(t-(e.offsetHeight-M))/(C?H:M)):ae(w,"opacity",1-t/(C?H:M)))}function te(){var e=E.active,t=oe();null!=t&&(r.autoScroll?b?ve(t,"sticky-footer-wrap")?C||(b=!1,ee(e,-1*(ve(e,p)?e.offsetHeight%M+H:H),!0),setTimeout(function(){C=b=!0},r.scrollingSpeed)):(b=!1,ee(e,-1*re(e),!0),setTimeout(function(){$(t,"down"),_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1)},r.scrollingSpeed)):V("nextSection : Transition to a section is in progress, please call again once its complete","warn"):scrollTo(0,n.max))}function ne(){var e=E.active,t=ie();null!=t&&(r.autoScroll?b?C?(b=!1,ee(e,-1*(ve(e,p)?e.offsetHeight-M:0),!0),setTimeout(function(){b=!(C=!1)},r.scrollingSpeed)):(b=!1,$(t,"up"),setTimeout(function(){ee(E.active,ve(E.active,p)?-1*(E.active.offsetHeight-M):0,!0),setTimeout(function(){_(E.active),ve(E.active,p)?Q(!0):null!=L&&Q(!1)},r.scrollingSpeed)},50)):V("previousSection : Transition to a section is in progress, please call again once its complete","warn"):scrollTo(0,n.min-re(t)))}function oe(){var e=he();return e<E.sections.length-1?E.sections[e+1]:r.footer&&!C?ue(".sticky-footer-wrap"):null}function ie(){var e=he();return 0<e?E.sections[e-1]:null}function le(e,t){for(var n=0,o=e.slice(Math.max(e.length-t,1)),i=0;i<o.length;i++)n+=o[i];return Math.ceil(n/t)}function ce(t,n){if(null!=t){var o,e=Ee(t);if("[object NodeList]"==e||"[object HTMLCollection]"==e)[].forEach.call(t,function(e){for(o in n)n.hasOwnProperty(o)&&null!==o&&(t.style[o]=n[o])});else for(o in n)n.hasOwnProperty(o)&&null!==o&&(t.style[o]=n[o])}}function re(e){return null==e?0:ve(e,p)?e.offsetHeight:M}function ae(e,t,n){var o=Ee(e);"[object NodeList]"==o||"[object HTMLCollection]"==o?[].forEach.call(e,function(e){e.style[t]=n}):e.style[t]=n}function se(t,e){var n=Ee(t),o=Ee(e);null!=t&&("[object NodeList]"==n||"[object HTMLCollection]"==n||"[object Array]"==n?[].forEach.call(t,function(t){"[object Array]"==o?e.forEach(function(e){t.style[e]=""}):t.style[e]=""}):"[object Array]"==o?e.forEach(function(e){t.style[e]=""}):t.style[e]="")}function ue(e,t){return(t=t||c).querySelector(e)}function fe(e,t){return(t=t||c).querySelectorAll(e)}function de(e){return 0<E.sections.length&&null!=e?[].indexOf.call(E.sections,e):-1}function he(){if(null==E.active||null==E.sections)return-1;var e=[].indexOf.call(E.sections,E.active);return-1==e?E.sections.length:e}function ve(e,t,n){if(null==e)return!1;var o=Ee(e);return"[object NodeList]"==o||"[object HTMLCollection]"==o||"[object Array]"==o?n?[].every.call(e,function(e){return e.classList.contains(t)}):[].some.call(e,function(e){return e.classList.contains(t)}):e.classList.contains(t)}function pe(t,e){var n,o;null!=t&&(n=Ee(t),o=Ee(e),"[object NodeList]"==n||"[object HTMLCollection]"==n||"[object Array]"==n?[].forEach.call(t,function(t){null!=t&&("[object Array]"==o?e.forEach(function(e){ve(t,e)&&t.classList.remove(e)}):ve(t,e)&&t.classList.remove(e))}):"[object Array]"==o?e.forEach(function(e){ve(t,e)&&t.classList.remove(e)}):ve(t,e)&&t.classList.remove(e))}function me(e,t){var n;null!=e&&("[object HTMLCollection]"==(n=Ee(e))||"[object NodeList]"==n||"[object Array]"==n?[].forEach.call(e,function(e){e&&!ve(e,t)&&e.classList.add(t)}):e&&!ve(e,t)&&e.classList.add(t))}function ge(){return"innerHeight"in l?l.innerHeight:c.documentElement.offsetHeight}function ye(e,t,n){return-1!=["afterbegin","beforebegin","afterend","beforeend"].indexOf(n)&&null!=e&&null!=t&&e.insertAdjacentElement(n,t)}function be(t,n,e){"[object Array]"==Ee(e)?e.forEach(function(e){t.addEventListener(e,n)}):t.addEventListener(e,n)}function ke(t,n,e){"[object Array]"==Ee(e)?e.forEach(function(e){t.removeEventListener(e,n)}):t.removeEventListener(e,n)}function Se(e){return e&&"[object Function]"==Ee(e)}function Ee(e){return{}.toString.call(e)}return{initialize:function(e,t,n){r=function(e,t){"object"!=typeof t&&(t={});for(var n in t)e.hasOwnProperty(n)&&(e[n]=t[n]);return e}({autoScroll:!0,navigationPosition:"right",fixedParent:null,navigationColor:"",overlay:!1,scrollCallback:null,fullScreenOffset:null,footer:"",scrollingSpeed:3e3,easingcss3:"ease",activeIndex:-1,afterLoad:null,dots:!1},t),a=ue(e),null!=(e=a)&&(null!=HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)?(n=n,function(){var e=O();E.breakpoint=e}(),function(){var e=a.children,t=null,n="";n=z(),t=[].filter.call(e,function(e){return ve(e,"tatsu-section")&&!ve(e,n)}),me(E.sections=t,g)}(),Y(),0==E.sections.length?V("Element on which you initialized sticky doesn't have any children. Kindly add some children to make them sticky","warning"):(W(),r.autoScroll?me(a,"sticky-auto-scroll"):me(r.fixedParent?ue(r.fixedParent):a,"sticky-normal-scroll"),function(){var e=E.sections,n=e.length;[].forEach.call(e,function(e,t){ve(e,"tatsu-fullscreen")||(M<e.offsetHeight?me(e,p):ae(e,"height","100%")),ae(e,"z-index",n-t)})}(),function(){var e,t;r.overlay&&(e=E.sections,me(t=c.createElement("div"),m),ae(t,"z-index",e.length-1),ye(a,w=t,"beforeend"))}(),function(){var e,t;""!=r.footer&&(e=r.footer,(t=c.createElement("div")).setAttribute("class","sticky-footer-wrap"),e.forEach(function(e){e=fe(e);null!=e&&[].forEach.call(e,function(e){(T=e.parentElement).removeChild(e),t.appendChild(e)})}),0<t.children.length&&(null!=w?ye(w,t,"beforebegin"):a.appendChild(t),function(){var e=ue(".sticky-footer-wrap");null!=e&&(H=e.offsetHeight)}()))}(),B(),K(),me(a,o)),r.autoScroll&&be(c,G,["mousewheel","wheel","DOMMouseScroll","onmousewheel"]),y=function(o,i,l){var c;return function(){var e=this,t=arguments,n=l&&!c;clearTimeout(c),c=setTimeout(function(){c=null,l||o.apply(e,t)},i),n&&o.apply(e,t)}}(F,300),be(l,y,"resize"),r.autoScroll||be(c,U,"scroll"),function(){var e=E.sections;null!=e&&0<e.length&&($(e[0],"down"),ve(E.active,p)&&Q(!0))}(),_(E.active),me(A,i),Se(n)&&n.call(a,E.active,he())):V("You need a valid HTML element to initialize sticky sections","error")},previousSection:ne,nextSection:te,moveTo:I,getCurrentActive:function(){return E.active},updateLayout:q,getScrollingRange:function(){return n},getBreakpoint:function(){return E.breakpoint},destroy:function(){var e;ve(A,i)&&(pe(E.sections,[s,g,v]),null!=L&&(j=!1,clearInterval(L)),null!=r.fixedParent&&pe(ue(r.fixedParent),"sticky-normal-scroll"),""==r.footer||null!=(e=ue(".sticky-footer-wrap"))&&(e.parentElement.removeChild(e),0<e.children.length&&(T.appendChild(e.children[0]),0<e.children.length&&T.appendChild(e.children[0])),H=0),r.overlay&&null!=w&&(w.parentElement.removeChild(w),w=null),null!=(e=ue(f))&&e.parentElement.removeChild(e),se(a,"height"),se(E.sections,["height","transform","transition"]),r.autoScroll||se(A,["height","overflow"]),E={active:null,sections:null,breakpoint:"",scrollRange:null},n={min:0,max:0},ke(l,y,"resize"),ke(c,U,"scroll"),ke(c,G,["mousewheel","wheel","DOMMouseScroll","onmousewheel"]),pe(A,i))},getStickyIndex:de}});