PageSourceSearch

https://wanecam.org/wp-content/cache/lwsoptimize/cache-js/12ufeu1c.min.js

js wanecam.org collected 2026-10-04 01:50:42 UTC 18,811 bytes, 9 lines download raw bytes

1const UAGBBlockPositioning={init(t,e){const s=document.querySelector(e);s?.classList.contains("uagb-position__sticky")&&UAGBBlockPositioning.handleSticky(s,t)},handleSticky(t,e){var s=()=>{return document.querySelector("#wpadminbar")?.offsetHeight||0},p=()=>{"undefined"!=typeof AOS&&e?.UAGAnimationType&&(t.dataset.aos=e?.UAGAnimationType,t.dataset.aosDuration=e?.UAGAnimationTime,t.dataset.aosDelay=e?.UAGAnimationDelay,t.dataset.aosEasing=e?.UAGAnimationEasing,t.dataset.aosOnce=!0,setTimeout(()=>{AOS.refreshHard()},100))};const o=t.getBoundingClientRect(),y=e?.isBlockRootParent?null:t.parentElement,i=((t,e,s)=>{const o=document.createElement("div"),i=(o.style.height=e.height+"px",o.style.boxSizing="border-box",window.getComputedStyle(t));return s?(o.style.width="100%",o.style.maxWidth=i.getPropertyValue("max-width")||e.width+"px",o.style.padding=i.getPropertyValue("padding")||0,o.style.margin=i.getPropertyValue("margin")||0,o.style.border=i.getPropertyValue("border")||0,o.style.borderColor="transparent"):(o.style.width=e.width+"px",o.style.margin=i.getPropertyValue("margin")||0),o})(t,o,y);let n,a,l,r;const c={top:0,bottom:0},d={top:0,right:0,bottom:0,left:0};if(e?.UAGStickyRestricted){r=y.getBoundingClientRect();const g=window.getComputedStyle(y);d.top=parseInt(g.getPropertyValue("padding-top")||0,10),d.bottom=parseInt(g.getPropertyValue("padding-bottom")||0,10),c.top=r.top+(window.pageYOffset||0)+d.top,c.bottom=r.bottom+(window.pageYOffset||0)-d.bottom-o.height-s()-(e?.UAGStickyOffset||0)}"bottom"===e?.UAGStickyLocation?(n=o.top+(window.pageYOffset||0)-window.innerHeight+o.height+(e?.UAGStickyOffset||0),a=`${e?.UAGStickyOffset||0}px`,(l=void 0!==window.pageYOffset?window.pageYOffset:document.body.scrollTop)<=n&&!t.classList.contains("uagb-position__sticky--stuck")&&(t.parentNode.insertBefore(i,t),t.classList.add("uagb-position__sticky--stuck"),t.style.bottom=`calc(${a} - ${window.innerHeight}px)`,t.style.left=o.left+"px",t.style.width=o.width+"px",t.style.zIndex="999",setTimeout(()=>{t.style.bottom=a},50)),p(),window.addEventListener("scroll",()=>{(l=void 0!==window.pageYOffset?window.pageYOffset:document.body.scrollTop)<=n?t.classList.contains("uagb-position__sticky--stuck")||(t.parentNode.insertBefore(i,t),t.classList.add("uagb-position__sticky--stuck"),t.style.bottom=a,t.style.left=o.left+"px",t.style.width=o.width+"px",t.style.zIndex="999"):l>n&&t.classList.contains("uagb-position__sticky--stuck")&&(t.parentNode.removeChild(i),t.classList.remove("uagb-position__sticky--stuck"),t.style.bottom="",t.style.left="",t.style.width="",t.style.zIndex="")})):(n=o.top+(window.pageYOffset||0)-s()-(e?.UAGStickyOffset||0),a=s()+(e?.UAGStickyOffset||0)+"px",(l=void 0!==window.pageYOffset?window.pageYOffset:document.body.scrollTop)>=n&&!t.classList.contains("uagb-position__sticky--stuck")&&(t.parentNode.insertBefore(i,t),t.classList.add("uagb-position__sticky--stuck"),e?.UAGStickyRestricted&&l>=c.bottom?(t.classList.remove("uagb-position__sticky--stuck"),t.classList.add("uagb-position__sticky--restricted"),t.style.top="",t.style.bottom=d.bottom+"px",t.style.left=`${i?.offsetLeft||0}px`):(t.style.top=`calc(${a} - ${window.innerHeight}px)`,t.style.left=o.left+"px",t.style.top=a),t.style.width=o.width+"px",t.style.zIndex="999"),p(),window.addEventListener("scroll",()=>{(l=void 0!==window.pageYOffset?window.pageYOffset:document.body.scrollTop)>=n?t.classList.contains("uagb-position__sticky--stuck")||t.classList.contains("uagb-position__sticky--restricted")?e?.UAGStickyRestricted&&!t.classList.contains("uagb-position__sticky--restricted")&&l>=c.bottom?(t.classList.remove("uagb-position__sticky--stuck"),t.classList.add("uagb-position__sticky--restricted"),t.style.top="",t.style.bottom=d.bottom+"px",t.style.left=`${i?.offsetLeft||0}px`):t.classList.contains("uagb-position__sticky--restricted")&&l<c.bottom&&(t.classList.remove("uagb-position__sticky--restricted"),t.classList.add("uagb-position__sticky--stuck"),t.style.top=a,t.style.bottom="",t.style.left=o.left+"px",t.style.width=o.width+"px",t.style.zIndex="999"):(t.parentNode.insertBefore(i,t),t.classList.add("uagb-position__sticky--stuck"),t.style.top=a,t.style.left=o.left+"px",t.style.width=o.width+"px",t.style.zIndex="999"):l<n&&t.classList.contains("uagb-position__sticky--stuck")&&(t.parentNode.removeChild(i),t.classList.remove("uagb-position__sticky--stuck"),t.style.top="",t.style.left="",t.style.width="",t.style.zIndex="")}))}};UAGBTabs={init($selector){const tabsWrap=document.querySelectorAll($selector);if(!tabsWrap){return}
2for(let i=0;i<tabsWrap.length;i++){UAGBTabs.addEvents(tabsWrap[i],$selector)}},addEvents(tabsWrap,$selector){const tabsWrapChildren=tabsWrap.children;if(2!==tabsWrapChildren.length){return}
3const tabActive=tabsWrap.getAttribute('data-tab-active');const tabLi=tabsWrapChildren[0].querySelectorAll('li.uagb-tab');const tabBody=tabsWrapChildren[1].children;for(let i=0;i<tabBody.length;i++){tabBody[i].setAttribute('tabindex','0');tabBody[i].setAttribute('role','tabpanel')};tabBody[tabActive].classList.add('uagb-tabs-body__active');tabLi[tabActive].classList.add('uagb-tabs__active');for(let i=0;i<tabLi.length;i++){const tabsAnchor=tabLi[i].getElementsByTagName('a')[0];tabLi[i].setAttribute('id','uagb-tabs__tab'+i);tabsAnchor.setAttribute('aria-selected',!0);tabsAnchor.setAttribute('tabindex','0');if(!tabLi[i].classList.contains('uagb-tabs__active')){tabsAnchor.setAttribute('aria-selected',!1);tabsAnchor.setAttribute('tabindex','-1')}
4tabsAnchor.setAttribute('data-tab',i);tabsAnchor.mainWrapClass=$selector;tabsAnchor.addEventListener('click',function(e){UAGBTabs.tabClickEvent(e,this,this.parentElement)})}
5const tabsRole=tabsWrapChildren[0].querySelectorAll('.uagb-tab a[role="tab"]');tabsRole.forEach(tab=>{tab.addEventListener('keydown',function(e){let newIndex;const currentIndex=Array.prototype.indexOf.call(tabsRole,e.target);if(e.key==='ArrowRight'){newIndex=(currentIndex+1)%tabsRole.length;tabsRole[newIndex].focus();tabsRole[currentIndex].setAttribute('aria-selected','false');tabsRole[newIndex].setAttribute('aria-selected','true');UAGBTabs.tabClickEvent(e,tabsRole[newIndex],tabsRole[newIndex].parentElement);e.preventDefault()}else if(e.key==='ArrowLeft'){newIndex=(currentIndex-1+tabsRole.length)%tabsRole.length;tabsRole[newIndex].focus();tabsRole[currentIndex].setAttribute('aria-selected','false');tabsRole[newIndex].setAttribute('aria-selected','true');UAGBTabs.tabClickEvent(e,tabsRole[newIndex],tabsRole[newIndex].parentElement);e.preventDefault()}})})},tabClickEvent(e,tabName,selectedLi){e.preventDefault();const tabId=tabName.getAttribute('data-tab');const tabPanel=selectedLi.closest('.uagb-tabs__panel');const tabContainer=tabName.closest('.uagb-tabs__wrap');const tabBodyWrap=tabContainer.querySelector('.uagb-tabs__body-wrap');const tabBodyChildren=tabBodyWrap.children;const tabSelectedBody=UAGBTabs.getChildrenWithClass(tabBodyChildren,'uagb-inner-tab-'+tabId);const allLi=tabPanel.querySelectorAll('a.uagb-tabs-list');tabPanel.querySelector('.uagb-tabs__active')?.classList.remove('uagb-tabs__active');UAGBTabs.getChildrenWithClass(tabBodyChildren,'uagb-tabs-body__active')?.classList.remove('uagb-tabs-body__active');for(let i=0;i<allLi.length;i++){allLi[i].setAttribute('aria-selected',!1);allLi[i].setAttribute('tabindex','-1')}
6selectedLi.classList.add('uagb-tabs__active');tabName.setAttribute('aria-selected',!0);tabName.setAttribute('tabindex','0');tabSelectedBody?.classList.add('uagb-tabs-body__active');tabSelectedBody?.setAttribute('aria-hidden',!1);for(let i=0;i<tabBodyChildren.length;i++){if(tabBodyChildren[i].classList.contains('uagb-inner-tab-'+tabId)){continue}
7tabBodyChildren[i].setAttribute('aria-hidden',!0)}},anchorTabId($selector){const tabsHash=window.location.hash;if(''!==tabsHash&&/^#uagb-tabs__tab\d$/.test(tabsHash)){const mainWrapClass=$selector;const tabId=escape(tabsHash.substring(1));const selectedLi=document.querySelector('#'+tabId);const topPos=selectedLi.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:topPos,behavior:'smooth',});const tabNum=selectedLi.querySelector('a.uagb-tabs-list').getAttribute('data-tab');const listPanel=selectedLi.closest('.uagb-tabs__panel');const tabSelectedBody=document.querySelector(mainWrapClass+' > .uagb-tabs__body-wrap > .uagb-inner-tab-'+tabNum);const tabUnselectedBody=document.querySelectorAll(mainWrapClass+' > .uagb-tabs__body-wrap > .uagb-tabs__body-container:not(.uagb-inner-tab-'+tabNum+')');const allLi=selectedLi.querySelectorAll('a.uagb-tabs-list');const selectedAnchor=selectedLi.querySelector('a.uagb-tabs-list');listPanel.querySelector('.uagb-tabs__active').classList.remove('uagb-tabs__active');document.querySelector(mainWrapClass+' > .uagb-tabs__body-wrap > .uagb-tabs-body__active').classList.remove('uagb-tabs-body__active');for(let i=0;i<allLi.length;i++){allLi[i].setAttribute('tabindex','-1');allLi[i].setAttribute('aria-selected',!1)}
8selectedLi.classList.add('uagb-tabs__active');selectedAnchor.setAttribute('aria-selected',!0);selectedAnchor.setAttribute('tabindex','0');tabSelectedBody.classList.add('uagb-tabs-body__active');tabSelectedBody.setAttribute('aria-hidden',!1);for(let i=0;i<tabUnselectedBody.length;i++){tabUnselectedBody[i].setAttribute('aria-hidden',!0)}}},getChildrenWithClass(children,className){let child=null;for(let i=0;i<children.length;i++){if(children[i].classList.contains(className)){child=children[i];break}}
9return child}};document.addEventListener("DOMContentLoaded",function(){window.addEventListener('load',function(){UAGBTabs.init('.uagb-block-ce51cc6f');UAGBTabs.anchorTabId('.uagb-block-ce51cc6f')});window.addEventListener('hashchange',function(){UAGBTabs.anchorTabId('.uagb-block-ce51cc6f')},!1);window.addEventListener("load",function(){UAGBBlockPositioning.init({"block_id":"ac22ac45","innerContentWidth":"alignfull","alignItemsDesktop":"flex-end","topPaddingDesktop":0,"bottomPaddingDesktop":0,"leftPaddingDesktop":0,"rightPaddingDesktop":0,"variationSelected":!0,"isBlockRootParent":!0,"anchor":"LOGO-FLOTTANT_PARTENAIRE","className":"logo-partenaire","style":{"css":".logo-partenaire {\n    position: fixed !important;\n    top: 140px;\n    right: 15px;\n    z-index: 9999;\n}"},"UAGPosition":"sticky","UAGStickyOffset":140,"widthDesktop":100,"widthTablet":"","widthMobile":100,"widthType":"%","minHeightDesktop":"","minHeightTablet":"","minHeightMobile":"","minHeightType":"px","minHeightTypeTablet":"px","minHeightTypeMobile":"px","directionDesktop":"column","directionTablet":"","directionMobile":"","alignItemsTablet":"","alignItemsMobile":"","justifyContentDesktop":"center","justifyContentTablet":"","justifyContentMobile":"","wrapDesktop":"nowrap","wrapTablet":"","wrapMobile":"wrap","alignContentDesktop":"","alignContentTablet":"","alignContentMobile":"","backgroundType":"none","backgroundImageDesktop":"","backgroundImageTablet":"","backgroundImageMobile":"","backgroundPositionDesktop":{"x":0.5,"y":0.5},"backgroundPositionTablet":"","backgroundPositionMobile":"","backgroundSizeDesktop":"cover","backgroundSizeTablet":"","backgroundSizeMobile":"","backgroundRepeatDesktop":"no-repeat","backgroundRepeatTablet":"","backgroundRepeatMobile":"","backgroundAttachmentDesktop":"scroll","backgroundAttachmentTablet":"","backgroundAttachmentMobile":"","backgroundColor":"","backgroundOpacity":"","backgroundImageColor":"#FFFFFF75","gradientValue":"linear-gradient(90deg, rgba(6, 147, 227, 0.5) 0%, rgba(155, 81, 224, 0.5) 100%)","boxShadowColor":"#00000070","boxShadowHOffset":0,"boxShadowVOffset":0,"boxShadowBlur":"","boxShadowSpread":"","boxShadowPosition":"outset","boxShadowColorHover":"","boxShadowHOffsetHover":0,"boxShadowVOffsetHover":0,"boxShadowBlurHover":"","boxShadowSpreadHover":"","boxShadowPositionHover":"outset","topPaddingTablet":"","bottomPaddingTablet":"","leftPaddingTablet":"","rightPaddingTablet":"","topPaddingMobile":"","bottomPaddingMobile":"","leftPaddingMobile":"","rightPaddingMobile":"","paddingType":"px","paddingTypeTablet":"px","paddingTypeMobile":"px","paddingLink":!0,"topM
9arginDesktop":"","bottomMarginDesktop":"","leftMarginDesktop":"","rightMarginDesktop":"","topMarginTablet":"","bottomMarginTablet":"","leftMarginTablet":"","rightMarginTablet":"","topMarginMobile":"","bottomMarginMobile":"","leftMarginMobile":"","rightMarginMobile":"","marginType":"px","marginTypeTablet":"px","marginTypeMobile":"px","marginLink":!0,"rowGapDesktop":20,"rowGapTablet":"","rowGapMobile":"","rowGapType":"px","rowGapTypeTablet":"px","rowGapTypeMobile":"px","columnGapDesktop":20,"columnGapTablet":"","columnGapMobile":"","columnGapType":"px","columnGapTypeTablet":"px","columnGapTypeMobile":"px","contentWidth":"alignfull","innerContentCustomWidthDesktop":1140,"innerContentCustomWidthTablet":1024,"innerContentCustomWidthMobile":767,"innerContentCustomWidthType":"px","innerContentCustomWidthTypeTablet":"px","innerContentCustomWidthTypeMobile":"px","bottomType":"none","bottomColor":"#333","bottomHeight":"","bottomHeightTablet":"","bottomHeightMobile":"","bottomWidth":100,"topType":"none","topColor":"#333","topHeight":"","topHeightTablet":"","topHeightMobile":"","topWidth":100,"topFlip":!1,"bottomFlip":!1,"topContentAboveShape":!1,"bottomContentAboveShape":!1,"backgroundCustomSizeDesktop":100,"backgroundCustomSizeTablet":"","backgroundCustomSizeMobile":"","backgroundCustomSizeType":"%","overlayType":"none","overlayOpacity":1,"overlayBlendMode":"normal","overlayBlendModeTablet":"","overlayBlendModeMobile":"","customPosition":"default","centralizedPosition":!1,"xPositionDesktop":"","xPositionTablet":"","xPositionMobile":"","xPositionType":"px","xPositionTypeTablet":"px","xPositionTypeMobile":"px","yPositionDesktop":"","yPositionTablet":"","yPositionMobile":"","yPositionType":"px","yPositionTypeTablet":"px","yPositionTypeMobile":"px","backgroundVideoColor":"#FFFFFF75","backgroundVideo":"","backgroundVideoOpacity":"","topInvert":!1,"bottomInvert":!1,"textColor":"","linkColor":"","linkHoverColor":"","widthTypeTablet":"%","widthTypeMobile":"%","overflow":"visible","equalHeight":!1,"gradientColor1":"#06558a","gradientColor2":"#0063A1","gradientType":"linear","gradientLocation1":0,"gradientLocationTablet1":"","gradientLocationMobile1":"","gradientLocation2":100,"gradientLocationTablet2":"","gradientLocationMobile2":"","gradientAngle":0,"gradientAngleTablet":"","gradientAngleMobile":"","selectGradient":"basic","backgroundOverlayType":"none","backgroundOverlayImageDesktop":"","backgroundOverlayImageTablet":"","backgroundOverlayImageMobile":"","backgroundPositionOverlayDesktop":{"x":0.5,"y":0.5},"backgroundPositionOverlayTablet":"","backgroundPositionOverlayMobile":"","backgroundSizeOverlayDesktop":"cover","backgroundSizeOverlayTablet":"","backgroundSizeOverlayMobile":"","backgroundRepeatOverlayDesktop":"no-repeat","backgroundRepeatOverlayTablet":"","backgroundRepeatOverlayMobile":"","backgroundAttachmentOverlayDesktop":"scroll","backgroundAttachmentOverlayTablet":"","backgroundAttachmentOverlayMobile":"","backgroundOverlayOpacity":1,"backgroundOverlayColor":"#FFFFFF75","backgroundImageOverlayColor":"#FFFFFF75","backgroundCustomSizeOverlayDesktop":100,"backgroundCustomSizeOverlayTablet":"","backgroundCustomSizeOverlayMobile":"","backgroundCustomOverlaySizeType":"%","customOverlayPosition":"default","xPositionOverlayDesktop":"","xPositionOverlayTablet":"","xPositionOverlayMobile":"","xPositionOverlayType":"px","xPositionOverlayTypeTablet":"px","xPositionOverlayTypeMobile":"px","yPositionOverlayDesktop":"","yPositionOverlayTablet":"","yPositionOverlayMobile":"","yPositionOverlayType":"px","yPositionOverlayTypeTablet":"px","yPositionOverlayTypeMobile":"px","gradientOverlayColor1":"#06558a","gradientOverlayColor2":"#0063A1","gradientOverlayType":"linear","gradientOverlayLocation1":0,"gradientOverlayLocationTablet1":"","gradientOverlayLocationMobile1":"","gradientOverlayLocation2":100,"gradientOverlayLocationTablet2":"","gradientOverlayLocationMobile2":"","gradientOverlayAngle":0,"gradientOverlayAngleTablet":"","gradientOverlayAngleMobile":"","selectOverlayGradient":"basic","backgroundVideoFallbackImage":"","globalBlockStyleName":"","globalBlockStyleId":"","childrenWidthDesktop":"","childrenWidthTablet":"","childrenWidthMobile":"","layout":"","gridColumnDesktop":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1}
9,"custom":{"unit":"fr","value":1}}],"gridColumnTablet":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1},"custom":{"unit":"fr","value":1}}],"gridColumnMobile":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1},"custom":{"unit":"fr","value":1}}],"gridRowDesktop":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1},"custom":{"unit":"fr","value":1}}],"gridRowTablet":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1},"custom":{"unit":"fr","value":1}}],"gridRowMobile":[{"default":"custom","min":{"unit":"px","value":10},"max":{"unit":"fr","value":1},"custom":{"unit":"fr","value":1}}],"gridAlignItemsDesktop":"stretch","gridAlignItemsTablet":"stretch","gridAlignItemsMobile":"stretch","gridJustifyItemsDesktop":"stretch","gridJustifyItemsTablet":"stretch","gridJustifyItemsMobile":"stretch","gridAlignContentDesktop":"stretch","gridAlignContentTablet":"stretch","gridAlignContentMobile":"stretch","gridJustifyContentDesktop":"stretch","gridJustifyContentTablet":"stretch","gridJustifyContentMobile":"stretch","orderDesktop":"initial","orderTablet":"initial","orderMobile":"initial","customOrderDesktop":"","customOrderTablet":"","customOrderMobile":"","containerBorderTopWidth":"","containerBorderLeftWidth":"","containerBorderRightWidth":"","containerBorderBottomWidth":"","containerBorderTopLeftRadius":"","containerBorderTopRightRadius":"","containerBorderBottomLeftRadius":"","containerBorderBottomRightRadius":"","containerBorderRadiusUnit":"px","containerBorderTopWidthTablet":"","containerBorderLeftWidthTablet":"","containerBorderRightWidthTablet":"","containerBorderBottomWidthTablet":"","containerBorderTopLeftRadiusTablet":"","containerBorderTopRightRadiusTablet":"","containerBorderBottomLeftRadiusTablet":"","containerBorderBottomRightRadiusTablet":"","containerBorderRadiusUnitTablet":"px","containerBorderTopWidthMobile":"","containerBorderLeftWidthMobile":"","containerBorderRightWidthMobile":"","containerBorderBottomWidthMobile":"","containerBorderTopLeftRadiusMobile":"","containerBorderTopRightRadiusMobile":"","containerBorderBottomLeftRadiusMobile":"","containerBorderBottomRightRadiusMobile":"","containerBorderRadiusUnitMobile":"px","containerBorderStyle":"","containerBorderColor":"","containerBorderHColor":"","UAGStickyLocation":"top","UAGStickyRestricted":!1},".uagb-block-ac22ac45")})})

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.