Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./nikic/../dompdf/../alexandr-mironov/../monolog/../composer/../././stripe/../dragonmantank/../africastalking/../unicodeveloper/../webmozart/../alexandr-mironov/../unicodeveloper/../../tests/../public/images/../js/../js
الملفات الموجودة في هذا الـ Path:
.
..
backtotop.js
bootstrap-select.min.js
bootstrap.min.js
countdown.js
easypie.js
imageloaded.js
isotop.js
jquery-appear.js
jquery-one-page-nav.js
jquery-ui.js
jquery.js
magnify-popup.min.js
magnify.min.js
main.js
modernizr.min.js
odometer.js
paralax-scroll.js
paralax.min.js
plyr.js
sal.js
swiper.js
text-type.js
waypoint.min.js
wow.js

مشاهدة ملف: sal.js

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.sal=t():e.sal=t()}(this,(function(){return(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.d(t,{default:()=>h});var a={root:null,rootMargin:"0% 50%",threshold:.5,animateClassName:"sal-animate",disabledClassName:"sal-disabled",enterEventName:"sal:in",exitEventName:"sal:out",selector:"[data-sal]",once:!0,disabled:!1},s=[],i=null,l=function(e){e&&e!==a&&(a=r(r({},a),e))},c=function(e){e.classList.remove(a.animateClassName)},u=function(e,t){var n=new CustomEvent(e,{bubbles:!0,detail:t});t.target.dispatchEvent(n)},d=function(){document.body.classList.add(a.disabledClassName)},f=function(){i.disconnect(),i=null},b=function(e,t){e.forEach((function(e){var n=e.target,r=void 0!==n.dataset.salRepeat,o=void 0!==n.dataset.salOnce,s=r||!(o||a.once);e.intersectionRatio>=a.threshold?(function(e){e.target.classList.add(a.animateClassName),u(a.enterEventName,e)}(e),s||t.unobserve(n)):s&&function(e){c(e.target),u(a.exitEventName,e)}(e)}))},p=function(){var e=[].filter.call(document.querySelectorAll(a.selector),(function(e){return!function(e){return e.classList.contains(a.animateClassName)}(e,a.animateClassName)}));return e.forEach((function(e){return i.observe(e)})),e},m=function(){d(),f()},v=function(){document.body.classList.remove(a.disabledClassName),i=new IntersectionObserver(b,{root:a.root,rootMargin:a.rootMargin,threshold:a.threshold}),s=p()},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f(),Array.from(document.querySelectorAll(a.selector)).forEach(c),l(e),v()},O=function(){var e=p();s.push(e)};const h=function(){if(l(arguments.length>0&&void 0!==arguments[0]?arguments[0]:a),"undefined"==typeof window)return console.warn("Sal was not initialised! Probably it is used in SSR."),{elements:s,disable:m,enable:v,reset:y,update:O};if(!window.IntersectionObserver)throw d(),Error("Your browser does not support IntersectionObserver!\nGet a polyfill from here:\nhttps://github.com/w3c/IntersectionObserver/tree/master/polyfill");return a.disabled||"function"==typeof a.disabled&&a.disabled()?d():v(),{elements:s,disable:m,enable:v,reset:y,update:O}};return t.default})()}));