hns-pay/templates/assets/js/script.min.js
Nathan Woodburn 607e11f8ec
All checks were successful
Build Docker / Build Image (push) Successful in 35s
feat: Initial code drop
2024-02-14 22:39:37 +11:00

1 line
875 B
JavaScript

document.addEventListener("DOMContentLoaded",(function(){[].slice.call(document.querySelectorAll("[data-bss-tooltip]")).map((function(e){return new bootstrap.Tooltip(e)}))}),!1),function(){"use strict";!function(){if("requestAnimationFrame"in window&&!/Mobile|Android/.test(navigator.userAgent)){var e=document.querySelectorAll("[data-bss-parallax]");if(e.length){var t,n=[];window.addEventListener("scroll",o),window.addEventListener("resize",o),o()}}function o(){n.length=0;for(var o=0;o<e.length;o++){var r=e[o].getBoundingClientRect(),i=parseFloat(e[o].getAttribute("data-bss-parallax-speed"),10)||.5;r.bottom>0&&r.top<window.innerHeight&&n.push({speed:i,node:e[o]})}cancelAnimationFrame(t),n.length&&(t=requestAnimationFrame(a))}function a(){for(var e=0;e<n.length;e++){var t=n[e].node,o=n[e].speed;t.style.transform="translate3d(0, "+-window.scrollY*o+"px, 0)"}}}()}();