shell bypass 403
$(function () {
"use strict";
// AOS Initailaztion
AOS.init();
// Art Section Slider
var owl = $(".carousel-wrapper");
if ($(".carousel-wrapper").length) {
$(".carousel-wrapper").owlCarousel({
loop: true,
autoplay: false,
margin: 0,
dots: false,
nav: false,
navText: [
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.931435 5.77796C0.905968 5.74633 0.880499 5.71469 0.858669 5.67955C0.858669 5.67955 0.855032 5.67603 0.855032 5.67252C0.833202 5.63737 0.811373 5.60222 0.79682 5.56356V5.56004C0.778629 5.52138 0.764076 5.48272 0.75316 5.44405C0.75316 5.44054 0.75316 5.44054 0.75316 5.43703C0.749523 5.41594 0.742247 5.39836 0.738607 5.38079C0.73497 5.36321 0.731331 5.34212 0.727692 5.32455C0.727692 5.32104 0.727692 5.31752 0.727692 5.31049C0.724054 5.29292 0.724054 5.27534 0.724054 5.25777C0.724054 5.25426 0.724054 5.25426 0.724054 5.25074C0.724054 5.23317 0.724054 5.21559 0.724054 5.1945C0.724054 5.18747 0.724054 5.18396 0.724054 5.17693C0.724054 5.15936 0.724054 5.14178 0.727692 5.12421C0.731331 5.09609 0.727692 5.12069 0.727692 5.12069C0.727692 5.10312 0.731331 5.08203 0.73497 5.06446L0.738607 5.0504C0.745884 5.01173 0.7568 4.96956 0.771353 4.93089V4.92738C0.800459 4.84654 0.840479 4.76921 0.891415 4.69892L0.895052 4.69189C0.905968 4.67431 0.920521 4.66025 0.931435 4.64619C0.931435 4.64268 0.935074 4.64268 0.938713 4.63916C0.949627 4.6251 0.960543 4.61456 0.971457 4.60402L0.98237 4.59347L0.989649 4.58644L4.96628 0.741248C5.32283 0.396797 5.89768 0.396797 6.25423 0.741248C6.61078 1.0857 6.61078 1.64104 6.25423 1.98549L3.8275 4.32986L18.4352 4.32986C18.9372 4.32986 19.3447 4.72352 19.3447 5.21208C19.3447 5.69712 18.9372 6.09078 18.4352 6.09078L3.83114 6.09078L6.46525 8.6355C6.8218 8.97995 6.8218 9.53528 6.46525 9.87974C6.1087 10.2242 5.53385 10.2242 5.1773 9.87974L0.98601 5.83068C0.971457 5.81662 0.956903 5.80256 0.945988 5.78851L0.931435 5.77796Z" fill="#333333"/>
</svg>
`,
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.0686 5.77796C19.094 5.74633 19.1195 5.71469 19.1413 5.67955C19.1413 5.67955 19.145 5.67603 19.145 5.67252C19.1668 5.63737 19.1886 5.60222 19.2032 5.56356V5.56004C19.2214 5.52138 19.2359 5.48272 19.2468 5.44405C19.2468 5.44054 19.2468 5.44054 19.2468 5.43703C19.2505 5.41594 19.2578 5.39836 19.2614 5.38079C19.265 5.36321 19.2687 5.34212 19.2723 5.32455C19.2723 5.32104 19.2723 5.31752 19.2723 5.31049C19.2759 5.29292 19.2759 5.27534 19.2759 5.25777C19.2759 5.25426 19.2759 5.25426 19.2759 5.25074C19.2759 5.23317 19.2759 5.21559 19.2759 5.1945C19.2759 5.18747 19.2759 5.18396 19.2759 5.17693C19.2759 5.15936 19.2759 5.14178 19.2723 5.12421C19.2687 5.09609 19.2723 5.12069 19.2723 5.12069C19.2723 5.10312 19.2687 5.08203 19.265 5.06446L19.2614 5.0504C19.2541 5.01173 19.2432 4.96956 19.2286 4.93089V4.92738C19.1995 4.84654 19.1595 4.76921 19.1086 4.69892L19.1049 4.69189C19.094 4.67431 19.0795 4.66025 19.0686 4.64619C19.0686 4.64268 19.0649 4.64268 19.0613 4.63916C19.0504 4.6251 19.0395 4.61456 19.0285 4.60402L19.0176 4.59347L19.0104 4.58644L15.0337 0.741248C14.6772 0.396797 14.1023 0.396797 13.7458 0.741248C13.3892 1.0857 13.3892 1.64104 13.7458 1.98549L16.1725 4.32986L1.56484 4.32986C1.06276 4.32986 0.655273 4.72352 0.655273 5.21208C0.655273 5.69712 1.06276 6.09078 1.56484 6.09078L16.1689 6.09078L13.5348 8.6355C13.1782 8.97995 13.1782 9.53528 13.5348 9.87974C13.8913 10.2242 14.4662 10.2242 14.8227 9.87974L19.014 5.83068C19.0285 5.81662 19.0431 5.80256 19.054 5.78851L19.0686 5.77796Z" fill="#333333"/>
</svg>
`,
],
items: 2,
autoplayTimeout: 3000,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
380: {
items: 1,
},
600: {
items: 2,
},
768: {
items: 1,
},
992: {
items: 2,
},
1200: {
items: 2,
},
},
});
}
// Hero Slider
if ($(".hero-slider").length) {
$(".hero-slider").owlCarousel({
loop: true,
autoplay: false,
margin: 0,
dots: false,
nav: true,
navText: [
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.7024 17.9692C11.8827 17.908 12 17.7662 12 17.6088L11.9998 0.391342C11.9998 0.234094 11.8825 0.0921309 11.7021 0.0307983C11.5218 -0.0303432 11.3131 0.00118296 11.1728 0.110856L0.147508 8.71959C0.0532934 8.79315 1.16636e-06 8.89441 1.18022e-06 9.00007C1.19407e-06 9.10573 0.0532935 9.207 0.147508 9.28056L11.173 17.8893C11.3136 17.999 11.522 18.0303 11.7024 17.9692Z" fill="white"/>
</svg>
`,
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.297632 0.0308494C0.117292 0.0919914 -7.76587e-07 0.233761 -7.69705e-07 0.391201L0.000237899 17.6087C0.000237906 17.7659 0.11753 17.9079 0.297871 17.9692C0.478211 18.0303 0.686863 17.9988 0.827233 17.8891L11.8525 9.28042C11.9467 9.20686 12 9.10559 12 8.99993C12 8.89427 11.9467 8.793 11.8525 8.71944L0.826995 0.110716C0.686387 0.00104329 0.477972 -0.0302925 0.297632 0.0308494Z" fill="white"/>
</svg>
`,
],
items: 1,
autoplayTimeout: 3000,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
992: {
items: 1,
},
1200: {
items: 1,
},
},
});
}
// Blog Slider
if ($(".blog-slider-v2").length) {
$(".blog-slider-v2").owlCarousel({
loop: true,
autoplay: false,
margin: 30,
dots: false,
nav: true,
slideTransition: "linear",
autoplaySpeed: 3000,
animateIn: "linear",
animateOut: "linear",
autoplayTimeout: 3000,
navText: [
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.7024 17.9692C11.8827 17.908 12 17.7662 12 17.6088L11.9998 0.391342C11.9998 0.234094 11.8825 0.0921309 11.7021 0.0307983C11.5218 -0.0303432 11.3131 0.00118296 11.1728 0.110856L0.147508 8.71959C0.0532934 8.79315 1.16636e-06 8.89441 1.18022e-06 9.00007C1.19407e-06 9.10573 0.0532935 9.207 0.147508 9.28056L11.173 17.8893C11.3136 17.999 11.522 18.0303 11.7024 17.9692Z" fill="white"/>
</svg>
`,
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.297632 0.0308494C0.117292 0.0919914 -7.76587e-07 0.233761 -7.69705e-07 0.391201L0.000237899 17.6087C0.000237906 17.7659 0.11753 17.9079 0.297871 17.9692C0.478211 18.0303 0.686863 17.9988 0.827233 17.8891L11.8525 9.28042C11.9467 9.20686 12 9.10559 12 8.99993C12 8.89427 11.9467 8.793 11.8525 8.71944L0.826995 0.110716C0.686387 0.00104329 0.477972 -0.0302925 0.297632 0.0308494Z" fill="white"/>
</svg>
`,
],
items: 1,
autoplayTimeout: 3000,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
768: {
items: 2,
},
992: {
items: 2,
},
1200: {
items: 3,
},
},
});
}
// Class Slider
if ($(".class-slider").length) {
$(".class-slider").owlCarousel({
loop: true,
autoplay: false,
margin: 30,
dots: false,
nav: true,
navText: [
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.7024 17.9692C11.8827 17.908 12 17.7662 12 17.6088L11.9998 0.391342C11.9998 0.234094 11.8825 0.0921309 11.7021 0.0307983C11.5218 -0.0303432 11.3131 0.00118296 11.1728 0.110856L0.147508 8.71959C0.0532934 8.79315 1.16636e-06 8.89441 1.18022e-06 9.00007C1.19407e-06 9.10573 0.0532935 9.207 0.147508 9.28056L11.173 17.8893C11.3136 17.999 11.522 18.0303 11.7024 17.9692Z" fill="white"/>
</svg>
`,
`<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.297632 0.0308494C0.117292 0.0919914 -7.76587e-07 0.233761 -7.69705e-07 0.391201L0.000237899 17.6087C0.000237906 17.7659 0.11753 17.9079 0.297871 17.9692C0.478211 18.0303 0.686863 17.9988 0.827233 17.8891L11.8525 9.28042C11.9467 9.20686 12 9.10559 12 8.99993C12 8.89427 11.9467 8.793 11.8525 8.71944L0.826995 0.110716C0.686387 0.00104329 0.477972 -0.0302925 0.297632 0.0308494Z" fill="white"/>
</svg>
`,
],
items: 1,
slideTransition: "linear",
autoplaySpeed: 3000,
animateIn: "linear",
animateOut: "linear",
autoplayTimeout: 3000,
responsive: {
0: {
items: 1,
},
375: {
items: 1,
},
768: {
items: 2,
},
1200: {
items: 4,
},
},
});
}
// Art Section Reverse Slider
if ($(".trainer-slider").length) {
$(".trainer-slider").owlCarousel({
loop: true,
autoplay: false,
margin: 30,
dots: false,
nav: true,
navText: [
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.931435 5.77796C0.905968 5.74633 0.880499 5.71469 0.858669 5.67955C0.858669 5.67955 0.855032 5.67603 0.855032 5.67252C0.833202 5.63737 0.811373 5.60222 0.79682 5.56356V5.56004C0.778629 5.52138 0.764076 5.48272 0.75316 5.44405C0.75316 5.44054 0.75316 5.44054 0.75316 5.43703C0.749523 5.41594 0.742247 5.39836 0.738607 5.38079C0.73497 5.36321 0.731331 5.34212 0.727692 5.32455C0.727692 5.32104 0.727692 5.31752 0.727692 5.31049C0.724054 5.29292 0.724054 5.27534 0.724054 5.25777C0.724054 5.25426 0.724054 5.25426 0.724054 5.25074C0.724054 5.23317 0.724054 5.21559 0.724054 5.1945C0.724054 5.18747 0.724054 5.18396 0.724054 5.17693C0.724054 5.15936 0.724054 5.14178 0.727692 5.12421C0.731331 5.09609 0.727692 5.12069 0.727692 5.12069C0.727692 5.10312 0.731331 5.08203 0.73497 5.06446L0.738607 5.0504C0.745884 5.01173 0.7568 4.96956 0.771353 4.93089V4.92738C0.800459 4.84654 0.840479 4.76921 0.891415 4.69892L0.895052 4.69189C0.905968 4.67431 0.920521 4.66025 0.931435 4.64619C0.931435 4.64268 0.935074 4.64268 0.938713 4.63916C0.949627 4.6251 0.960543 4.61456 0.971457 4.60402L0.98237 4.59347L0.989649 4.58644L4.96628 0.741248C5.32283 0.396797 5.89768 0.396797 6.25423 0.741248C6.61078 1.0857 6.61078 1.64104 6.25423 1.98549L3.8275 4.32986L18.4352 4.32986C18.9372 4.32986 19.3447 4.72352 19.3447 5.21208C19.3447 5.69712 18.9372 6.09078 18.4352 6.09078L3.83114 6.09078L6.46525 8.6355C6.8218 8.97995 6.8218 9.53528 6.46525 9.87974C6.1087 10.2242 5.53385 10.2242 5.1773 9.87974L0.98601 5.83068C0.971457 5.81662 0.956903 5.80256 0.945988 5.78851L0.931435 5.77796Z" fill="#333333"/>
</svg>
`,
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.0686 5.77796C19.094 5.74633 19.1195 5.71469 19.1413 5.67955C19.1413 5.67955 19.145 5.67603 19.145 5.67252C19.1668 5.63737 19.1886 5.60222 19.2032 5.56356V5.56004C19.2214 5.52138 19.2359 5.48272 19.2468 5.44405C19.2468 5.44054 19.2468 5.44054 19.2468 5.43703C19.2505 5.41594 19.2578 5.39836 19.2614 5.38079C19.265 5.36321 19.2687 5.34212 19.2723 5.32455C19.2723 5.32104 19.2723 5.31752 19.2723 5.31049C19.2759 5.29292 19.2759 5.27534 19.2759 5.25777C19.2759 5.25426 19.2759 5.25426 19.2759 5.25074C19.2759 5.23317 19.2759 5.21559 19.2759 5.1945C19.2759 5.18747 19.2759 5.18396 19.2759 5.17693C19.2759 5.15936 19.2759 5.14178 19.2723 5.12421C19.2687 5.09609 19.2723 5.12069 19.2723 5.12069C19.2723 5.10312 19.2687 5.08203 19.265 5.06446L19.2614 5.0504C19.2541 5.01173 19.2432 4.96956 19.2286 4.93089V4.92738C19.1995 4.84654 19.1595 4.76921 19.1086 4.69892L19.1049 4.69189C19.094 4.67431 19.0795 4.66025 19.0686 4.64619C19.0686 4.64268 19.0649 4.64268 19.0613 4.63916C19.0504 4.6251 19.0395 4.61456 19.0285 4.60402L19.0176 4.59347L19.0104 4.58644L15.0337 0.741248C14.6772 0.396797 14.1023 0.396797 13.7458 0.741248C13.3892 1.0857 13.3892 1.64104 13.7458 1.98549L16.1725 4.32986L1.56484 4.32986C1.06276 4.32986 0.655273 4.72352 0.655273 5.21208C0.655273 5.69712 1.06276 6.09078 1.56484 6.09078L16.1689 6.09078L13.5348 8.6355C13.1782 8.97995 13.1782 9.53528 13.5348 9.87974C13.8913 10.2242 14.4662 10.2242 14.8227 9.87974L19.014 5.83068C19.0285 5.81662 19.0431 5.80256 19.054 5.78851L19.0686 5.77796Z" fill="#333333"/>
</svg>
`,
],
items: 4,
autoplayTimeout: 3000,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
380: {
items: 1,
},
500: {
items: 2,
},
768: {
items: 2,
},
992: {
items: 3,
},
1200: {
items: 4,
},
},
});
}
// Blog Section Slider
if ($(".blog-slider").length) {
$(".blog-slider").owlCarousel({
loop: true,
autoplay: false,
margin: 30,
nav: true,
navText: [
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.931435 5.77796C0.905968 5.74633 0.880499 5.71469 0.858669 5.67955C0.858669 5.67955 0.855032 5.67603 0.855032 5.67252C0.833202 5.63737 0.811373 5.60222 0.79682 5.56356V5.56004C0.778629 5.52138 0.764076 5.48272 0.75316 5.44405C0.75316 5.44054 0.75316 5.44054 0.75316 5.43703C0.749523 5.41594 0.742247 5.39836 0.738607 5.38079C0.73497 5.36321 0.731331 5.34212 0.727692 5.32455C0.727692 5.32104 0.727692 5.31752 0.727692 5.31049C0.724054 5.29292 0.724054 5.27534 0.724054 5.25777C0.724054 5.25426 0.724054 5.25426 0.724054 5.25074C0.724054 5.23317 0.724054 5.21559 0.724054 5.1945C0.724054 5.18747 0.724054 5.18396 0.724054 5.17693C0.724054 5.15936 0.724054 5.14178 0.727692 5.12421C0.731331 5.09609 0.727692 5.12069 0.727692 5.12069C0.727692 5.10312 0.731331 5.08203 0.73497 5.06446L0.738607 5.0504C0.745884 5.01173 0.7568 4.96956 0.771353 4.93089V4.92738C0.800459 4.84654 0.840479 4.76921 0.891415 4.69892L0.895052 4.69189C0.905968 4.67431 0.920521 4.66025 0.931435 4.64619C0.931435 4.64268 0.935074 4.64268 0.938713 4.63916C0.949627 4.6251 0.960543 4.61456 0.971457 4.60402L0.98237 4.59347L0.989649 4.58644L4.96628 0.741248C5.32283 0.396797 5.89768 0.396797 6.25423 0.741248C6.61078 1.0857 6.61078 1.64104 6.25423 1.98549L3.8275 4.32986L18.4352 4.32986C18.9372 4.32986 19.3447 4.72352 19.3447 5.21208C19.3447 5.69712 18.9372 6.09078 18.4352 6.09078L3.83114 6.09078L6.46525 8.6355C6.8218 8.97995 6.8218 9.53528 6.46525 9.87974C6.1087 10.2242 5.53385 10.2242 5.1773 9.87974L0.98601 5.83068C0.971457 5.81662 0.956903 5.80256 0.945988 5.78851L0.931435 5.77796Z" fill="#333333"/>
</svg>
`,
`<svg width="20" height="11" viewBox="0 0 20 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.0686 5.77796C19.094 5.74633 19.1195 5.71469 19.1413 5.67955C19.1413 5.67955 19.145 5.67603 19.145 5.67252C19.1668 5.63737 19.1886 5.60222 19.2032 5.56356V5.56004C19.2214 5.52138 19.2359 5.48272 19.2468 5.44405C19.2468 5.44054 19.2468 5.44054 19.2468 5.43703C19.2505 5.41594 19.2578 5.39836 19.2614 5.38079C19.265 5.36321 19.2687 5.34212 19.2723 5.32455C19.2723 5.32104 19.2723 5.31752 19.2723 5.31049C19.2759 5.29292 19.2759 5.27534 19.2759 5.25777C19.2759 5.25426 19.2759 5.25426 19.2759 5.25074C19.2759 5.23317 19.2759 5.21559 19.2759 5.1945C19.2759 5.18747 19.2759 5.18396 19.2759 5.17693C19.2759 5.15936 19.2759 5.14178 19.2723 5.12421C19.2687 5.09609 19.2723 5.12069 19.2723 5.12069C19.2723 5.10312 19.2687 5.08203 19.265 5.06446L19.2614 5.0504C19.2541 5.01173 19.2432 4.96956 19.2286 4.93089V4.92738C19.1995 4.84654 19.1595 4.76921 19.1086 4.69892L19.1049 4.69189C19.094 4.67431 19.0795 4.66025 19.0686 4.64619C19.0686 4.64268 19.0649 4.64268 19.0613 4.63916C19.0504 4.6251 19.0395 4.61456 19.0285 4.60402L19.0176 4.59347L19.0104 4.58644L15.0337 0.741248C14.6772 0.396797 14.1023 0.396797 13.7458 0.741248C13.3892 1.0857 13.3892 1.64104 13.7458 1.98549L16.1725 4.32986L1.56484 4.32986C1.06276 4.32986 0.655273 4.72352 0.655273 5.21208C0.655273 5.69712 1.06276 6.09078 1.56484 6.09078L16.1689 6.09078L13.5348 8.6355C13.1782 8.97995 13.1782 9.53528 13.5348 9.87974C13.8913 10.2242 14.4662 10.2242 14.8227 9.87974L19.014 5.83068C19.0285 5.81662 19.0431 5.80256 19.054 5.78851L19.0686 5.77796Z" fill="#333333"/>
</svg>
`,
],
dots: false,
items: 4,
smartSpeed: 1000,
slideTransition: "linear",
animateIn: "linear",
animateOut: "linear",
responsive: {
0: {
items: 1,
},
380: {
items: 1,
},
650: {
items: 1,
},
768: {
items: 2,
},
1000: {
items: 3,
},
1368: {
items: 3,
},
},
});
}
var Classowl = $(".classes-slider");
// Classes Section Slider
if ($(".classes-slider").length) {
$(".classes-slider").owlCarousel({
loop: true,
autoplay: false,
margin: 30,
nav: false,
dots: false,
items: 3.5,
autoplayTimeout: 3000,
smartSpeed: 1000,
responsive: {
0: {
items: 1,
},
380: {
items: 1,
},
650: {
items: 1,
},
768: {
items: 2,
},
1000: {
items: 3,
},
1368: {
items: 3.5,
},
},
});
}
// Custom Slider button
$(".owl-next").click(function () {
owl.trigger("next.owl.carousel");
});
$(".owl-prev").click(function () {
owl.trigger("prev.owl.carousel");
});
// Custom Slider button
$(".owl-next").click(function () {
Classowl.trigger("next.owl.carousel");
});
$(".owl-prev").click(function () {
Classowl.trigger("prev.owl.carousel");
});
// Mobile menu
$(".nav-link-scroll").click(function () {
$(".menu").removeClass("open");
$(".navbar-collapse").removeClass("menu-on");
$(".navbar-collapse").removeClass("show");
$(".nav-link").removeClass("active");
$(this).addClass("active");
});
// Hamburger menu open & close
$(".menu").click(function () {
$(this).toggleClass("open");
});
$(".menu").click(function (e) {
console.log("three lines", e);
// $(".custom-collapse").removeClass("menu-off");
// $(".custom-collapse").addClass("menu-on");
});
// Sticky header & navigation
$(window).scroll(function () {
// Add Stikcy style to header
if ($(window).scrollTop() >= 50) {
console.log("scroll");
$("header").addClass("header-sticky");
} else {
$("header").removeClass("header-sticky");
}
// Scroll Spy for navigation
var cur_pos = $(this).scrollTop();
$("section").each(function () {
var activeSectionTop = $(this).offset().top - $("header").height();
if (cur_pos >= activeSectionTop - 1) {
$(".navbar-nav li").removeClass("active");
var activeId = $(this).attr("data-id");
$(".navbar-nav li a").each(function () {
if ($(this).attr("data-link") == activeId) {
$(this).closest("li").addClass("active");
}
});
}
});
});
// Pricing modification on monthly/anualy slider on/off
function setPricing(checkedStatus) {
const pricies = {
anualy: {
individual: 10,
premium: 20,
standard: 30,
},
monthly: {
individual: 100,
premium: 200,
standard: 300,
},
};
if (checkedStatus) {
// monthly price
$(".pricing-row .pricing-col.individual .price").text("$" + pricies.monthly.individual);
$(".pricing-row .pricing-col.premium .price").text("$" + pricies.monthly.premium);
$(".pricing-row .pricing-col.standard .price").text("$" + pricies.monthly.standard);
$("#annually-text").css("color", "#F41E1E");
$("#monthly-text").css("color", "#000");
} else {
// annual price
$(".pricing-row .pricing-col.individual .price").text("$" + pricies.anualy.individual);
$(".pricing-row .pricing-col.premium .price").text("$" + pricies.anualy.premium);
$(".pricing-row .pricing-col.standard .price").text("$" + pricies.anualy.standard);
$("#monthly-text").css("color", "#F41E1E");
$("#annually-text").css("color", "#000");
}
}
setPricing($("#pricing-slider").checked);
$("#pricing-slider").change((e) => {
setPricing(e.target.checked);
});
});
// For Submenu & Arrow Indicator
var openStat = "";
function slideUp(el) {
var elem = document.getElementById(el);
elem.style.transition = "all 500ms ease-in-out";
elem.style.height = "0px";
}
function slideDown(el, eb) {
if (openStat !== "" && openStat !== eb) {
$(`#${openStat} > .sub-menu`).removeClass("show-sub-menu");
$(`#${openStat} > .sub-menu`).removeAttr("style");
$(`#${openStat} > a > img`).removeClass("rotate");
}
openStat = eb;
if (window.innerWidth <= 1199) {
var elem = document.getElementById(el);
console.log(el);
elem.classList.toggle("show-sub-menu");
if (Number(elem.style.height?.replace("px", "")) > 0) {
elem.style.height = "0px";
$(`#${eb} > a > img`).removeClass("rotate");
} else {
$(`#${eb} > a > img`).addClass("rotate");
elem.style.height = $(`#${el}`).children().length * 35 - 10 + "px";
}
}
}
$("#about-parent").hover(function () {
$("#about").hover(function () {
$("#about-parent > a").css("color", "#f41e1e");
$("#about-parent > a").css("transition", "all 300ms ease-in");
$("#about-parent > a > img").css("transform", "rotate(-180deg)");
});
$("#about").on("mouseleave", function () {
$("#about-parent > a").removeAttr("style");
$("#about-parent > a > img").removeAttr("style");
});
});