⚝
One Hat Cyber Team
⚝
Your IP:
192.168.31.6
Server IP:
192.168.1.11
Server:
Linux pams 6.1.0-29-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.123-1 (2025-01-02) x86_64
PHP Version:
8.2.28
Buat File
|
Buat Folder
Upload File
Eksekusi
Dir :
~
/
var
/
www
/
lppm
/
public
/
assets
/
frontend
/
fancybox
/
Edit File: fancybox.hash.umd.js
!/*! License details at fancyapps.com/license */function(t,e){"object"==typeof exports&&"u">typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="u">typeof globalThis?globalThis:t||self).window=t.window||{})}(this,function(t){"use strict";let e,o,n=!1,r=!1,i=!1,l=!1,a=()=>{let t=new URL(document.URL).hash,e=t.slice(1).split("-"),o=e[e.length-1],n=o&&/^\+?\d+$/.test(o)&&parseInt(e.pop()||"1",10)||1;return{urlHash:t,urlSlug:e.join("-"),urlIndex:n}},s=()=>{let t=e?.getInstance(),o=t?.getState();return!!t&&(0===o||1===o)},c=()=>{if(!e||s())return;let{urlSlug:t,urlIndex:o}=a();if(!t)return;let n=document.querySelector(`[data-slug="${t}"]`);n&&e.fromTriggerEl(n),!s()&&(n=document.querySelectorAll(`[data-fancybox="${t}"]`)[o-1])&&e.fromTriggerEl(n,{startIndex:o-1}),s()&&n&&!n.closest("[inert]")&&n.scrollIntoView({behavior:"instant",block:"center",inline:"center"})},u=t=>{let e=t.getOptions().Hash,o=t.getSlide();return o?o.slug||o.fancybox||("object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e)?e.slug:"")||"":""},d=t=>{let e=u(t),o=t.getSlide();if(!o||!e)return"";let n=parseInt(o.index+"",10)+1,r=o.slug?`#${o.slug}`:`#${e}-${n}`;return 2>(t.getCarousel()?.getPages()?.length||0)&&(r=`#${e}`),r},f=()=>{if(!e||i)return;let t=e?.getInstance(),o=t?.getCarousel();if(t?.getOptions().Hash===!1)return;let{urlSlug:n,urlIndex:s}=a();if(t&&1===t.getState()&&o){for(let t of o.getSlides()||[])if(n===t.slug||n===t.fancybox&&t.index===s-1){r=!1,o.goTo(t.index);return}l=!0,t.close(),l=!1}c()},g=()=>{e&&(o=setTimeout(()=>{n=!0,c(),n=!1},300),window.addEventListener("hashchange",f,!1))},w=()=>{let t,e="auto",s="";function c(){if(!t||!t.isTopMost()||!1===t.getOptions().Hash)return;if(n){let e=t.getOptions().sync;e&&e.goTo(t?.getCarousel()?.getPageIndex()||0,{transition:!1,tween:!1})}let o=t.getCarousel();if(!o)return;let{urlHash:i,urlSlug:l}=a();if(!t.getSlide())return;let c=u(t);if(!c)return;let g=d(t);i!==g&&(s=i),history.scrollRestoration&&(e=history.scrollRestoration,history.scrollRestoration="manual"),o.on("change",f);let w=c!==l;try{window.history[w?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+g),w&&(r=!0)}catch(t){}}function f(){if(!t||!t.isTopMost()||!1===t.getOptions().Hash||!t.getSlide()||!u(t))return;let e=d(t);i=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+e)}catch(t){}i=!1}function g(){if(!l&&t&&t.isTopMost()&&!1!==t.getOptions().Hash&&u(t)){i=!0;try{r&&!function(){if(window.parent===window)return!1;try{var t=window.frameElement}catch(e){t=null}return null===t?"data:"===location.protocol:t.hasAttribute("sandbox")}()&&document.activeElement?.nodeName!=="IFRAME"?window.history.back():window.history.replaceState({},document.title,window.location.pathname+window.location.search+s)}catch(t){}i=!1}}return{init:function(e){clearTimeout(o),(t=e).on("ready",c),t.on("close",g)},destroy:function(){t?.off("ready",c),t?.off("close",g);let o=t?.getCarousel();o&&o.off("change",f),t=void 0,history.scrollRestoration&&e&&(history.scrollRestoration=e)}}};w.getInfoFromURL=a,w.startFromUrl=c,w.setup=function(t){!e&&(e=t,"u">typeof window&&window.document&&window.document.createElement&&(/complete|interactive|loaded/.test(document.readyState)?g():document.addEventListener("DOMContentLoaded",g)))},t.Hash=w});
Simpan