|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/dewa95.com/public_html/wp-content/themes/mabar88/v0/ |
Upload File : |
;
(self.AMP=self.AMP||[]).push({m:1,v:"2203172113000",n:"amp-anim",ev:"0.1",l:!0,f:function(t,e){(()=>{var{isArray:e}=Array;function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var{hasOwnProperty:r,toString:i}=Object.prototype;function o(t){return(t.ownerDocument||t).defaultView}function s(t,e,n={}){const{needsRootBounds:r,rootMargin:i,threshold:o}=n,s=function(t){return t.parent&&t.parent!=t}(e)&&(r||i)?e.document:void 0;return new e.IntersectionObserver(t,{threshold:o,root:s,rootMargin:i})}var l,a=new WeakMap,u=new WeakMap;function c(t){const e=new Set;for(let n=t.length-1;n>=0;n--){const r=t[n],{target:i}=r;if(e.has(i))continue;e.add(i);const o=u.get(i);if(o)for(let t=0;t<o.length;t++)(0,o[t])(r)}}function f(t,r,i,o){for(var s,l,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e(s=t)?s:[s]);!(l=a()).done;){const t=l.value,e=r.getAttribute(t);null!==e?i.setAttribute(t,e):o&&i.removeAttribute(t)}}var h=["Webkit","webkit","Moz","moz","ms","O","o"];function d(t,e,n,r,i){const o=function(t,e,n){if(e.startsWith("--"))return e;l||(l=Object.create(null));let r=l[e];if(!r||n){if(r=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),i=function(t,e){for(let n=0;n<h.length;n++){const r=h[n]+e;if(void 0!==t[r])return r}return""}(t,n);void 0!==t[i]&&(r=i)}n||(l[e]=r)}return r}(t.style,e,i);if(!o)return;const s=r?n+r:n;t.style.setProperty(function(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return h.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(o),s)}function A(t,e){void 0===e&&(e=t.hasAttribute("hidden")),e?t.removeAttribute("hidden"):t.setAttribute("hidden","")}var m=self.AMP_CONFIG||{},p=("string"==typeof m.thirdPartyFrameRegex?new RegExp(m.thirdPartyFrameRegex):m.thirdPartyFrameRegex,("string"==typeof m.cdnProxyRegex?new RegExp(m.cdnProxyRegex):m.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function b(t){if(!self.document||!self.document.head)return null;if(self.location&&p.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}m.thirdPartyUrl,m.thirdPartyFrameHost,m.cdnUrl||b("runtime-host"),m.errorReportingUrl,m.betaErrorReportingUrl,m.localDev,m.geoApiUrl||b("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var y=["alt","aria-label","aria-describedby","aria-labelledby"],v=["src","srcset"],g="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",w=class extends t.BaseElement{constructor(t){super(t),this.Gs=null,this.ij=null}isLayoutSupported(t){return function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)}buildCallback(){var t,e,n;this.Gs=new Image,this.Gs.setAttribute("decoding","async"),f(y,this.element,this.Gs),(t=this.Gs).classList.add("i-amphtml-fill-content"),t.classList.add("i-amphtml-replaced-content"),e=this.element,n=this.Gs,e.hasAttribute("object-fit")&&d(n,"object-fit",e.getAttribute("object-fit")),e.hasAttribute("object-position")&&d(n,"object-position",e.getAttribute("object-position")),"img"==this.element.getAttribute("role")&&(this.element.removeAttribute("role"),this.user().error("AMP-ANIM","Setting role=img on amp-anim elements breaks screen readers. Please just set alt or ARIA attributes, they will be correctly propagated for the underlying <img> element.")),A(this.Gs,!this.getPlaceholder()),this.element.appendChild(this.Gs)}isRelayoutNeeded(){return!0}layoutCallback(){const t=this.Gs;return f(v,this.element,t,!0),function(t){if(!t.hasAttribute("src")&&"srcset"in t==0){const e=t.getAttribute("srcset")||"",n=/\S+/.exec(e);if(null==n)return;const r=n[0];t.setAttribute("src",r)}}(t),this.loadPromise(t).then((()=>{this.ij=function(t,e,n){const r=o(t);let i=a.get(r);i||a.set(r,i=s(c,r));let l=u.get(t);return l||(l=[],u.set(t,l)),l.push(e),i.observe(t),()=>{!function(t,e){const n=u.get(t);if(!n)return;if(!function(t,e){const n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)}(n,e))return;if(n.length)return;const r=o(t),i=a.get(r);null==i||i.unobserve(t),u.delete(t)}(t,e)}}(this.element,(({isIntersecting:t})=>this.sj(t)))}))}firstLayoutCompleted(){}unlayoutCallback(){var t;return null===(t=this.ij)||void 0===t||t.call(this),this.ij=null,this.sj(!1),this.Gs.src=g,this.Gs.srcset=g,!0}sj(t){this.togglePlaceholder(!t),A(this.Gs,t)}};t.registerElement("amp-anim",w)})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}});
//# sourceMappingURL=amp-anim-0.1.mjs.map