first commit

This commit is contained in:
2024-09-06 13:32:15 -04:00
commit 700e8a2948
2013 changed files with 447887 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
( () => {
const wrapper_093c16a = document.getElementById( 'lqd-lottie-confetti' );
const animItem_093c16a = bodymovin.loadAnimation( {
wrapper: wrapper_093c16a,
animType: 'canvas',
name: 'lqd-lottie-confetti',
autoplay: true,
loop: false,
path: './assets/json/start-hub-4/confetti.json',
rendererSettings: {
className: 'lqd-lottie',
}
} );
lottie.setDirection( 1, 'lqd-lottie-confetti' );
lottie.setSpeed( 0.7, 'lqd-lottie-confetti' );
lottie.pause( 'lqd-lottie-confetti' );
new IntersectionObserver( ( [ entry ] ) => {
if ( entry.isIntersecting ) {
lottie.play( 'lqd-lottie-confetti' );
} else {
lottie.pause( 'lqd-lottie-confetti' )
}
} ).observe( wrapper_093c16a )
// ******
const wrapper_c833602 = document.getElementById( 'lqd-lottie-footer' );
const animItem_c833602 = bodymovin.loadAnimation( {
wrapper: wrapper_c833602,
animType: 'svg',
name: 'lqd-lottie-footer',
autoplay: true,
loop: true,
path: './assets/json/start-hub-4/gradient-color.json',
rendererSettings: {
className: 'lqd-lottie',
}
} );
lottie.setDirection( 1, 'lqd-lottie-footer' );
lottie.setSpeed( 0.5, 'lqd-lottie-footer' );
lottie.pause( 'lqd-lottie-footer' );
new IntersectionObserver( ( [ entry ] ) => {
if ( entry.isIntersecting ) {
lottie.play( 'lqd-lottie-footer' );
} else {
lottie.pause( 'lqd-lottie-footer' )
}
} ).observe( wrapper_c833602 )
} )();
+25
View File
@@ -0,0 +1,25 @@
( () => {
const formContentLottie = document.getElementById( 'lqd-lottie-form-contact' );
if ( !formContentLottie ) return;
bodymovin.loadAnimation( {
wrapper: formContentLottie,
animType: 'svg',
name: 'lqd-lottie-form-contact',
autoplay: true,
loop: true,
path: './assets/json/start-hub-8/lqd-lottie.json',
rendererSettings: {
className: 'lqd-lottie',
}
} );
lottie.setDirection( 1, 'lqd-lottie-form-contact' );
lottie.setSpeed( 1, 'lqd-lottie-form-contact' );
lottie.pause( 'lqd-lottie-form-contact' );
new IntersectionObserver( ( [ entry ] ) => {
if ( entry.isIntersecting ) {
lottie.play( 'lqd-lottie-form-contact' );
} else {
lottie.pause( 'lqd-lottie-form-contact' )
}
} ).observe( formContentLottie )
} )();
+58
View File
@@ -0,0 +1,58 @@
( () => {
const wrapper_0567a15 = document.getElementById( 'lqd-lottie-features' );
const animItem_0567a15 = bodymovin.loadAnimation( {
wrapper: wrapper_0567a15,
animType: 'svg',
name: 'lqd-lottie-features',
autoplay: true,
loop: true,
path: './assets/json/start-hub-x/lqd-lottie-features.json',
rendererSettings: {
className: 'lqd-lottie',
}
} );
lottie.setDirection( 1, 'lqd-lottie-features' );
lottie.setSpeed( 1, 'lqd-lottie-features' );
lottie.pause( 'lqd-lottie-features' );
new IntersectionObserver( ( [ entry ] ) => {
if ( entry.isIntersecting ) {
lottie.play( 'lqd-lottie-features' );
} else {
lottie.pause( 'lqd-lottie-features' )
}
} ).observe( wrapper_0567a15 )
} )();
// ******
( () => {
const wrapper_732b232f = document.getElementById( 'lqd-lottie-footer' );
const animItem_732b232f = bodymovin.loadAnimation( {
wrapper: wrapper_732b232f,
animType: 'svg',
name: 'lqd-lottie-footer',
autoplay: true,
loop: true,
path: './assets/json/start-hub-x/lqd-lottie-footer.json',
rendererSettings: {
className: 'lqd-lottie',
}
} );
lottie.setDirection( 1, 'lqd-lottie-footer' );
lottie.setSpeed( 0.5, 'lqd-lottie-footer' );
lottie.pause( 'lqd-lottie-footer' );
new IntersectionObserver( ( [ entry ] ) => {
if ( entry.isIntersecting ) {
lottie.play( 'lqd-lottie-footer' );
} else {
lottie.pause( 'lqd-lottie-footer' )
}
} ).observe( wrapper_732b232f )
} )();
+1
View File
@@ -0,0 +1 @@
!function(t){"use strict";t(".lqd-cf-form ").submit((function(r){r.preventDefault();var s=!0,e=this,o=t(e).siblings(".lqd-cf-response-output"),i;if(t(e).find(":required").each((function(){t(this).css("border-color",""),t.trim(t(this).val())||(t(this).css("border-color","red"),s=!1);var r=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;"email"!=t(this).attr("type")||r.test(t.trim(t(this).val()))||(t(this).css("border-color","red"),s=!1)})).keyup((function(){t(this).css("border-color","")})).change((function(){t(this).css("border-color","")})),s){var a=t(this).attr("action"),c=t(this).attr("method"),n=t(this).serialize();t.ajax({url:a,type:c,dataType:"json",data:n}).done((function(r){"error"==r.type?i='<p class="form-message form-error">'+r.text+"</p>":(t(e)[0].reset(),i='<p class="form-message form-success">'+r.text+"</p>"),o.removeClass("hidden").html(i),setTimeout((function(){o.addClass("hidden").html("")}),7e3)}))}}))}(jQuery);
+1
View File
@@ -0,0 +1 @@
!function($){$(".ld_sf_form").on("submit",function(s){s.preventDefault();var t=$(this),e=$(".ld_sf_response",t.parent());t.addClass("form-submitting"),$.ajax({type:t.attr("method"),url:t.attr("action").replace("/post?","/post-json?").concat("&c=?"),data:t.serialize(),cache:!1,dataType:"json",contentType:"application/json; charset=utf-8",error:function(s){t.removeClass("form-submitting"),alert("Could not connect to the registration server. Please try again later.")},success:function(s){t.removeClass("form-submitting"),"success"===s.result?(e.addClass("ld_sf_response-success"),e.html("<p>Thank you for subscribing. We have sent you a confirmation email.</p>")):(e.addClass("ld_sf_response-error"),e.html("<p>"+s.msg.substring(4)+"</p>"))}})})}(jQuery);
+1
View File
@@ -0,0 +1 @@
"use strict";(()=>{class e{constructor(e,t){this.DOM={},this.DOM.element=e,this.DOM.acceptBtn=this.DOM.element.querySelector(".lqd-gdpr-accept"),this.expires=t,document.body.appendChild(this.DOM.element),this.init(),this.eventListeners(),this.DOM.element.classList.add("lqd-gdpr-ready")}init(){const e=this.getCookie();(e.length<1||"accepted"!==e[0].split("=")[1])&&this.showPopup()}eventListeners(){this.DOM.acceptBtn.addEventListener("click",(()=>{this.setCookie.call(this),this.hidePopup.call(this)}))}setCookie(){const e=new Date;e.setTime(e.getTime()+24*this.expires*60*60*1e3);const t="expires="+e.toUTCString();document.cookie="lqd-gdpr=accepted; ".concat(t)}getCookie(){return document.cookie.split(";").filter((e=>"lqd-gdpr"===e.trim().split("=")[0]))}showPopup(){this.DOM.element.classList.add("lqd-gdpr-visible"),this.DOM.element.classList.remove("lqd-gdpr-hidden")}hidePopup(){this.DOM.element.classList.add("lqd-gdpr-hidden"),this.DOM.element.classList.remove("lqd-gdpr-visible")}}const t=document.querySelector("#lqd-gdpr");t&&new e(t,365)})();
File diff suppressed because it is too large Load Diff
+10
View File
File diff suppressed because one or more lines are too long