diff --git a/README.md b/README.md index fb974fab..0c07ff19 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # zencss An open-source, website authoring and design toolkit that helps you build, -style, and debug websites. Current Release is v2.0.1-beta +style, and debug websites. Current Release is v2.0.2-beta ### Pre-Launch Installation diff --git a/dist/icons.css b/dist/icons.css index cc4b615d..e2703482 100644 --- a/dist/icons.css +++ b/dist/icons.css @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/dist/zen.css b/dist/zen.css index 7575e8e3..41d2de5c 100644 --- a/dist/zen.css +++ b/dist/zen.css @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -17,12 +17,12 @@ overflow-x: hidden; scroll-behavior: smooth; /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -36,22 +36,22 @@ Change colors, and this script will update the color value with a new compliant match for the font color. */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2023-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -67,54 +67,54 @@ /* Styles for tab content */ /* Hide tab content by default */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Mobile & Tablet Styles */ /* Styling for navigation and links */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Shrink and move label on input focus or if there is content in the input field */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Variables */ /* Mixin for hover styles */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Width and height */ /* Generate classes for gaps */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -124,95 +124,95 @@ /* Horizontal */ /* Contextual Classes */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Generate border color classes */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Mobile Styles */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Color for the fill effect on click */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Additional styling for better visualization */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Image Gallery Styles */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* RTL Enhancements */ /* Logical Properties for automatic RTL adaptation */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* Apply the mixin for each color */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -225,7 +225,7 @@ /* Flex Grow and Shrink Classes */ /* Order Classes */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -234,7 +234,7 @@ /* X-Large devices (large desktops, 1200px and up) */ /* XX-Large devices (larger desktops, 1400px and up) */ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/dist/zencss.js b/dist/zencss.js index 3e39159d..1f510448 100644 --- a/dist/zencss.js +++ b/dist/zencss.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -52,7 +52,7 @@ customElements.define("z-col", ZCol); !*** ./modules/carousel.js ***! \*****************************/ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -213,7 +213,7 @@ window.onclick = function (event) { !*** ./modules/image-gallery.js ***! \**********************************/ // /* -// * zenCSS v2.0.1-beta (https://zencss.com/) +// * zenCSS v2.0.2-beta (https://zencss.com/) // * Copyright 2022-2024 Shaun Mackey // * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) // */ @@ -619,7 +619,7 @@ document.addEventListener("DOMContentLoaded", function () { !*** ./modules/accordian.js ***! \******************************/ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ @@ -1263,7 +1263,7 @@ document.addEventListener("DOMContentLoaded", (event) => { !*** ./modules/modal.js ***! \**************************/ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/dist/zencss.js.map b/dist/zencss.js.map index e417a502..eb17fd20 100644 --- a/dist/zencss.js.map +++ b/dist/zencss.js.map @@ -1 +1 @@ -{"version":3,"file":"zencss.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,mBAAmB;;AAE5E;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB,cAAc;AACd;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;AC1GD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA,kEAAkE;AAClE,4BAA4B,iBAAiB;AAC7C;AACA,sEAAsE,aAAa,eAAe,EAAE,IAAI,EAAE;AAC1G;AACA;AACA,kEAAkE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iDAAiD,aAAa;AAC9D,kDAAkD,cAAc;;AAEhE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,kBAAkB;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mDAAmD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,YAAY;;AAEZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;;AAEA;AACA;AACA,qEAAqE;AACrE,+BAA+B,iBAAiB;AAChD;AACA,yEAAyE,aAAa,eAAe,EAAE,IAAI,EAAE;AAC7G;AACA;AACA,qEAAqE;AACrE;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oDAAoD,aAAa;AACjE,qDAAqD,cAAc;;AAEnE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA,IAAI;;;;;;;;;ACjZJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gEAAgE;AAChE,aAAa;;AAEb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA,SAAS;AACT,KAAK;AACL,CAAC;;;;;;;;;ACrDD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ,UAAU;;AAEV;AACA;AACA,UAAU;AACV;AACA,MAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB,YAAY;AACZ;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,6CAA6C,cAAc;AAC3D,2CAA2C,kBAAkB,MAAM,kBAAkB,MAAM,sBAAsB;AACjH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,oBAAoB;AAC5E,sDAAsD,kBAAkB,MAAM,kBAAkB,MAAM,sBAAsB;AAC5H;AACA;;AAEA;AACA,QAAQ;AACR,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B;;AAE/B;AACA;AACA;AACA,2CAA2C;AAC3C,oCAAoC;AACpC,qCAAqC;AACrC,4DAA4D;;AAE5D;AACA;;AAEA;AACA,mCAAmC;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,MAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;AACA,kDAAkD,cAAc;;AAEhE;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACvXA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;ACnCD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA,SAAS;AACT,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE;AAChE;;AAEA;AACA;AACA;AACA,+CAA+C;AAC/C,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA,gBAAgB;AAChB,YAAY;;AAEZ;AACA;AACA,YAAY;AACZ;AACA,IAAI;;;;;;;;;AChFJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;ACpBD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iEAAiE;AACjE,YAAY;AACZ;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC/CD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,cAAc;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,cAAc;AAC1C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wBAAwB,eAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;ACpED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,6CAA6C;AAC7C,aAAa;AACb,4CAA4C,WAAW;AACvD,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA,CAAC;;;;;;;;;ACvDD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,4CAA4C,0BAA0B;AACtE;AACA;AACA;AACA,2CAA2C,gCAAgC;AAC3E;AACA;AACA;;AAEA;AACA,8CAA8C;;AAE9C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iEAAiE,MAAM;AACvE;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4DAA4D,UAAU;AACtE;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,CAAC;;;;;;;;;ACtED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC7BD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC1ED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,mDAAmD,oBAAoB;AACvE;AACA,aAAa;AACb,SAAS;AACT;AACA,CAAC;;;;;;;;;AC3BD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;AAC5C;;AAEA;AACA;AACA;AACA,kEAAkE;AAClE,+CAA+C;AAC/C,aAAa;AACb;AACA;AACA,CAAC;;;;;;;;;AC3BD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT,KAAK;AACL","sources":["webpack:///./modules/custom-elements.js","webpack:///./modules/carousel.js","webpack:///./modules/dropdown.js","webpack:///./modules/image-gallery.js","webpack:///./modules/accordian.js","webpack:///./modules/misc.js","webpack:///./modules/dark-mode.js","webpack:///./modules/lazy-load.js","webpack:///./modules/background-image.js","webpack:///./modules/mobile-nav.js","webpack:///./modules/modal.js","webpack:///./modules/star-component.js","webpack:///./modules/exit-intent.js","webpack:///./modules/wizard.js","webpack:///./modules/multistep-wizard.js","webpack:///./modules/tabs.js","webpack:///./modules/spin.js","webpack:///./modules/poll.js","webpack:///./modules/link-scroll.js","webpack:///./modules/cookie-consent.js","webpack:///./modules/test-mode.js"],"sourcesContent":["/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Define zenCSS elements for use in JS\n// ----------------------------------------\n\n// Define z-container custom element\nclass ZContainer extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-container\", ZContainer);\n\n// Define z-row custom element\nclass ZRow extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-row\", ZRow);\n\n// Define z-col custom element\nclass ZCol extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-col\", ZCol);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const sliders = document.querySelectorAll(\".slider\");\n\n sliders.forEach((slider) => {\n const slidesContainer = slider.querySelector(\".slides-container\");\n const originalSlides = Array.from(slidesContainer.children);\n const totalOriginalSlides = originalSlides.length;\n const nextButton = slider.querySelector(\".next\");\n const prevButton = slider.querySelector(\".prev\");\n const shouldAutoRotate =\n slider.getAttribute(\"data-auto-rotate\") === \"true\";\n\n // Clone the first and last slides to create an infinite loop effect\n const firstSlideClone = originalSlides[0].cloneNode(true);\n const lastSlideClone =\n originalSlides[totalOriginalSlides - 1].cloneNode(true);\n slidesContainer.insertBefore(lastSlideClone, originalSlides[0]);\n slidesContainer.appendChild(firstSlideClone);\n\n let currentIndex = 1; // Start from the first original slide (not the clone)\n let isTransitioning = false;\n let autoRotate;\n\n // Function to start auto-rotating\n function startAutoRotate() {\n if (shouldAutoRotate) {\n autoRotate = setInterval(moveToNext, 4000);\n }\n }\n\n // Function to stop auto-rotating\n function stopAutoRotate() {\n clearInterval(autoRotate);\n }\n\n // Initialize position to the first original slide\n slidesContainer.style.transition = \"none\";\n slidesContainer.style.transform = `translateX(-${currentIndex * 100}%)`;\n\n // Re-enable transitions after initial positioning\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n\n function updateSlidePosition() {\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n }\n\n function moveToNext() {\n if (isTransitioning) return;\n currentIndex++;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n function moveToPrev() {\n if (isTransitioning) return;\n currentIndex--;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n slidesContainer.addEventListener(\"transitionend\", () => {\n if (currentIndex >= totalOriginalSlides + 1) {\n slidesContainer.style.transition = \"none\";\n currentIndex = 1;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n } else if (currentIndex === 0) {\n slidesContainer.style.transition = \"none\";\n currentIndex = totalOriginalSlides;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n }\n isTransitioning = false;\n });\n\n nextButton.addEventListener(\"click\", moveToNext);\n prevButton.addEventListener(\"click\", moveToPrev);\n\n // Event listeners to stop/start auto-rotating\n slidesContainer.addEventListener(\"mouseenter\", stopAutoRotate);\n slidesContainer.addEventListener(\"mouseleave\", startAutoRotate);\n nextButton.addEventListener(\"mouseenter\", stopAutoRotate);\n nextButton.addEventListener(\"mouseleave\", startAutoRotate);\n prevButton.addEventListener(\"mouseenter\", stopAutoRotate);\n prevButton.addEventListener(\"mouseleave\", startAutoRotate);\n\n // Start auto-rotating for this slider\n startAutoRotate();\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dropdown\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var dropdownLinks = document.querySelectorAll(\".dropdown .dropdown-link\");\n\n dropdownLinks.forEach(function (link) {\n link.addEventListener(\"click\", function (event) {\n event.preventDefault();\n\n // Toggle the dropdown content visibility\n var dropdownContent = link.nextElementSibling;\n if (dropdownContent.style.display === \"block\") {\n dropdownContent.style.display = \"none\";\n } else {\n // Close all open dropdowns before opening the new one\n closeAllDropdowns();\n dropdownContent.style.display = \"block\";\n }\n });\n });\n});\n\nfunction closeAllDropdowns() {\n var dropdowns = document.querySelectorAll(\".dropdown .dropdown-content\");\n dropdowns.forEach(function (dropdown) {\n dropdown.style.display = \"none\";\n });\n}\n\n// Close all dropdowns when clicking outside\nwindow.onclick = function (event) {\n if (!event.target.matches(\".dropdown-link\")) {\n closeAllDropdowns();\n }\n};\n","// /*\n// * zenCSS v2.0.1-beta (https://zencss.com/)\n// * Copyright 2022-2024 Shaun Mackey\n// * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n// */\n\n//12/29 removing lazy load\n\n/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\nfunction preloadImage(src) {\n const img = new Image();\n img.src = src;\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const gallery = document.querySelector(\".image-gallery\");\n const modal = document.querySelector(\"z-modal\");\n const paginationNav = document.querySelector(\".pagination-nav\");\n\n if (gallery && modal && paginationNav) {\n let currentPage = 1;\n const imagesPerPage = 15;\n let currentModalIndex = 0;\n const imageWrappers = [];\n\n Array.from(gallery.children).forEach((img, index) => {\n const wrapper = document.createElement(\"div\");\n wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n const clonedImg = img.cloneNode(true);\n clonedImg.addEventListener(\"click\", () => {\n currentModalIndex = index;\n openModal(\n clonedImg.src,\n clonedImg.getAttribute(\"data-text\"),\n index,\n );\n });\n wrapper.appendChild(clonedImg);\n imageWrappers.push(wrapper);\n });\n\n const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n function updateImagesForPage(pageNumber) {\n imageWrappers.forEach((wrapper, index) => {\n const start = (pageNumber - 1) * imagesPerPage;\n const end = start + imagesPerPage;\n wrapper.style.display =\n index >= start && index < end ? \"block\" : \"none\";\n });\n }\n\n function updatePaginationNav() {\n paginationNav.innerHTML =\n '«';\n for (let i = 1; i <= totalPages; i++) {\n const classCurrent = i === currentPage ? \"current\" : \"\";\n paginationNav.innerHTML += `${i}`;\n }\n paginationNav.innerHTML +=\n '»';\n }\n\n function openModal(src, text, index) {\n currentModalIndex = index;\n const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n if (modalBody && modalWrapper && modalHeader) {\n const currentWidth = modalWrapper.clientWidth;\n const currentHeight = modalWrapper.clientHeight;\n modalWrapper.style.minWidth = `${currentWidth}px`;\n modalWrapper.style.minHeight = `${currentHeight}px`;\n\n modalBody.innerHTML = \"\";\n const imageContainer = document.createElement(\"div\");\n imageContainer.style.display = \"flex\";\n imageContainer.style.position = \"relative\";\n imageContainer.style.justifyContent = \"center\";\n\n const prevArrow = document.createElement(\"div\");\n prevArrow.className = \"prev arrow theme-dark\";\n prevArrow.innerHTML = \"❮\";\n prevArrow.style.cursor = \"pointer\";\n prevArrow.style.position = \"absolute\";\n prevArrow.style.top = \"50%\";\n prevArrow.style.left = \"7px\";\n prevArrow.style.padding = \"10px\";\n prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n prevArrow.style.transform = \"translateY(-50%)\";\n prevArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex > 0\n ? currentModalIndex - 1\n : imageWrappers.length - 1;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(prevArrow);\n\n const modalImage = document.createElement(\"img\");\n modalImage.onload = () => {\n modalWrapper.style.minWidth = \"\";\n modalWrapper.style.minHeight = \"\";\n };\n modalImage.src = src;\n modalImage.style.maxWidth = \"100%\";\n modalImage.style.maxHeight = \"60vh\";\n modalImage.style.objectFit = \"contain\";\n modalImage.style.margin = \"auto\";\n imageContainer.appendChild(modalImage);\n\n const nextArrow = document.createElement(\"div\");\n nextArrow.className = \"next arrow theme-dark\";\n nextArrow.innerHTML = \"❯\";\n nextArrow.style.cursor = \"pointer\";\n nextArrow.style.position = \"absolute\";\n nextArrow.style.padding = \"10px\";\n nextArrow.style.top = \"50%\";\n nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n nextArrow.style.right = \"7px\";\n nextArrow.style.transform = \"translateY(-50%)\";\n nextArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex < imageWrappers.length - 1\n ? currentModalIndex + 1\n : 0;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(nextArrow);\n\n modalBody.appendChild(imageContainer);\n\n const modalText = document.createElement(\"p\");\n modalText.textContent = text;\n modalText.style.textAlign = \"center\";\n modalBody.appendChild(modalText);\n\n modalBody.style.overflowY = \"auto\";\n modalBody.style.maxHeight = \"80vh\";\n modalHeader.style.display = \"none\";\n\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n const nextIndex = (index + 1) % imageWrappers.length;\n const prevIndex =\n (index - 1 + imageWrappers.length) % imageWrappers.length;\n preloadImage(imageWrappers[nextIndex].firstChild.src);\n preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n modal.open();\n }\n }\n\n paginationNav.addEventListener(\"click\", function (event) {\n event.preventDefault();\n const target = event.target;\n if (target.tagName === \"A\" && target.dataset.page) {\n let newPage = currentPage;\n if (target.dataset.page === \"prev\") {\n newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n } else if (target.dataset.page === \"next\") {\n newPage = currentPage < totalPages ? currentPage + 1 : 1;\n } else {\n newPage = parseInt(target.dataset.page);\n }\n\n if (newPage !== currentPage) {\n currentPage = newPage;\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n }\n });\n\n window.addEventListener(\"resize\", function () {\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n if (modalWrapper) {\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n }\n });\n\n gallery.innerHTML = \"\";\n imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n});\n\n// function preloadImage(src) {\n// const img = new Image();\n// img.src = src;\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const gallery = document.querySelector(\".image-gallery\");\n// const modal = document.querySelector(\"z-modal\");\n// const paginationNav = document.querySelector(\".pagination-nav\");\n\n// if (gallery && modal && paginationNav) {\n// let currentPage = 1;\n// const imagesPerPage = 15;\n// let currentModalIndex = 0;\n// const imageWrappers = [];\n\n// Array.from(gallery.children).forEach((img, index) => {\n// const wrapper = document.createElement(\"div\");\n// wrapper.classList.add(\"lazy-load\"); // using the lazy-load class\n// wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n// const clonedImg = img.cloneNode(true);\n// clonedImg.addEventListener(\"click\", () => {\n// currentModalIndex = index;\n// openModal(\n// clonedImg.src,\n// clonedImg.getAttribute(\"data-text\"),\n// index,\n// );\n// });\n// wrapper.appendChild(clonedImg);\n// imageWrappers.push(wrapper);\n// });\n\n// const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n// function updateImagesForPage(pageNumber) {\n// imageWrappers.forEach((wrapper, index) => {\n// const start = (pageNumber - 1) * imagesPerPage;\n// const end = start + imagesPerPage;\n// wrapper.style.display =\n// index >= start && index < end ? \"block\" : \"none\";\n// });\n// }\n\n// function updatePaginationNav() {\n// paginationNav.innerHTML =\n// '«';\n// for (let i = 1; i <= totalPages; i++) {\n// const classCurrent = i === currentPage ? \"current\" : \"\";\n// paginationNav.innerHTML += `${i}`;\n// }\n// paginationNav.innerHTML +=\n// '»';\n// }\n\n// function openModal(src, text, index) {\n// currentModalIndex = index;\n// const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n// if (modalBody && modalWrapper && modalHeader) {\n// const currentWidth = modalWrapper.clientWidth;\n// const currentHeight = modalWrapper.clientHeight;\n// modalWrapper.style.minWidth = `${currentWidth}px`;\n// modalWrapper.style.minHeight = `${currentHeight}px`;\n\n// modalBody.innerHTML = \"\";\n// const imageContainer = document.createElement(\"div\");\n// imageContainer.style.display = \"flex\";\n// imageContainer.style.position = \"relative\";\n// imageContainer.style.justifyContent = \"center\";\n\n// const prevArrow = document.createElement(\"div\");\n// prevArrow.className = \"prev arrow theme-dark\";\n// prevArrow.innerHTML = \"❮\";\n// prevArrow.style.cursor = \"pointer\";\n// prevArrow.style.position = \"absolute\";\n// prevArrow.style.top = \"50%\";\n// prevArrow.style.left = \"7px\";\n// prevArrow.style.padding = \"10px\";\n// prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// prevArrow.style.transform = \"translateY(-50%)\";\n// prevArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex > 0\n// ? currentModalIndex - 1\n// : imageWrappers.length - 1;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(prevArrow);\n\n// const modalImage = document.createElement(\"img\");\n// modalImage.onload = () => {\n// modalWrapper.style.minWidth = \"\";\n// modalWrapper.style.minHeight = \"\";\n// };\n// modalImage.src = src;\n// modalImage.style.maxWidth = \"100%\";\n// modalImage.style.maxHeight = \"60vh\";\n// modalImage.style.objectFit = \"contain\";\n// modalImage.style.margin = \"auto\";\n// imageContainer.appendChild(modalImage);\n\n// const nextArrow = document.createElement(\"div\");\n// nextArrow.className = \"next arrow theme-dark\";\n// nextArrow.innerHTML = \"❯\";\n// nextArrow.style.cursor = \"pointer\";\n// nextArrow.style.position = \"absolute\";\n// nextArrow.style.padding = \"10px\";\n// nextArrow.style.top = \"50%\";\n// nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// nextArrow.style.right = \"7px\";\n// nextArrow.style.transform = \"translateY(-50%)\";\n// nextArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex < imageWrappers.length - 1\n// ? currentModalIndex + 1\n// : 0;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(nextArrow);\n\n// modalBody.appendChild(imageContainer);\n\n// const modalText = document.createElement(\"p\");\n// modalText.textContent = text;\n// modalText.style.textAlign = \"center\";\n// modalBody.appendChild(modalText);\n\n// modalBody.style.overflowY = \"auto\";\n// modalBody.style.maxHeight = \"80vh\";\n// modalHeader.style.display = \"none\";\n\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n// const nextIndex = (index + 1) % imageWrappers.length;\n// const prevIndex =\n// (index - 1 + imageWrappers.length) % imageWrappers.length;\n// preloadImage(imageWrappers[nextIndex].firstChild.src);\n// preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n// modal.open();\n// }\n// }\n\n// paginationNav.addEventListener(\"click\", function (event) {\n// event.preventDefault();\n// const target = event.target;\n// if (target.tagName === \"A\" && target.dataset.page) {\n// let newPage = currentPage;\n// if (target.dataset.page === \"prev\") {\n// newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n// } else if (target.dataset.page === \"next\") {\n// newPage = currentPage < totalPages ? currentPage + 1 : 1;\n// } else {\n// newPage = parseInt(target.dataset.page);\n// }\n\n// if (newPage !== currentPage) {\n// currentPage = newPage;\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// }\n// });\n\n// window.addEventListener(\"resize\", function () {\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// if (modalWrapper) {\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n// }\n// });\n\n// gallery.innerHTML = \"\";\n// imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// });\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var accordionToggles = document.querySelectorAll(\".accordion-toggle\");\n\n accordionToggles.forEach(function (accordionToggle) {\n accordionToggle.addEventListener(\"click\", function () {\n // Determine if the clicked toggle is being expanded\n var isExpanding = this.getAttribute(\"aria-expanded\") === \"false\";\n\n // Remove active class from all toggles and reset icons\n accordionToggles.forEach(function (otherToggle) {\n otherToggle.classList.remove(\"active-toggle\");\n otherToggle.setAttribute(\"aria-expanded\", \"false\");\n\n var otherIcon = otherToggle.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (otherIcon) {\n otherIcon.classList.remove(\"zenicon-keyboard-arrow-down\");\n otherIcon.classList.add(\"zenicon-keyboard-arrow-right\");\n }\n\n var otherPanel = otherToggle.nextElementSibling;\n otherPanel.style.maxHeight = null;\n otherPanel.setAttribute(\"aria-hidden\", \"true\"); // Hide other panels\n });\n\n // Set the clicked toggle as active if it's expanding\n if (isExpanding) {\n this.classList.add(\"active-toggle\");\n this.setAttribute(\"aria-expanded\", \"true\");\n\n var icon = this.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (icon) {\n icon.classList.remove(\"zenicon-keyboard-arrow-right\");\n icon.classList.add(\"zenicon-keyboard-arrow-down\");\n }\n\n var panel = this.nextElementSibling;\n panel.style.maxHeight =\n panel.scrollHeight > 200\n ? \"1000px\"\n : panel.scrollHeight + 10 + \"px\";\n panel.setAttribute(\"aria-hidden\", \"false\"); // Show the current panel\n }\n });\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dynamic year in footer\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const yearSpan = document.getElementById(\"current-year\");\n if (yearSpan) {\n const currentYear = new Date().getFullYear();\n yearSpan.textContent = currentYear;\n }\n});\n\n//-------------------------------------\n// icon toggle\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var iconToggles = document.querySelectorAll(\".icon-toggle\");\n\n iconToggles.forEach(function (toggle) {\n toggle.addEventListener(\"click\", function () {\n var iconOff = this.querySelector(\".icon-off\");\n var iconOn = this.querySelector(\".icon-on\");\n\n // Toggle the 'show' class\n iconOff.classList.toggle(\"show\");\n iconOn.classList.toggle(\"show\");\n });\n });\n});\n\n// New stuff here after modules were created. If we need to revert, include this stuff.\ndocument.querySelectorAll(\".accordion-toggle\").forEach((item) => {\n item.addEventListener(\"click\", (event) => {\n event.preventDefault();\n\n const contentId = item.getAttribute(\"aria-controls\");\n const content = document.getElementById(contentId);\n\n // Close other expanded contents\n document.querySelectorAll(\".expanded-content\").forEach((el) => {\n if (el.id !== contentId) {\n el.classList.remove(\"show\");\n el.style.overflowY = \"hidden\";\n }\n });\n\n // Toggle current content\n content.classList.toggle(\"show\");\n\n setTimeout(() => {\n if (content.scrollHeight > content.clientHeight) {\n content.style.overflowY = \"auto\";\n } else {\n content.style.overflowY = \"hidden\";\n }\n }, 500);\n });\n});\n\n//-------------------------------------\n// Corner Popup\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var cornerPopup = document.querySelector(\".corner-popup\");\n\n if (cornerPopup) {\n var button = cornerPopup.querySelector(\"button\");\n var popup = cornerPopup.querySelector(\"div\");\n\n popup.classList.add(\"card\");\n\n button.addEventListener(\"click\", function () {\n popup.classList.toggle(\"hidden\");\n console.log(\"Button clicked\");\n });\n }\n});\n\n//-------------------------------------\n// Responsive Table\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n // Function to apply data labels to a table\n function applyDataLabelsToTable(table) {\n // Get all the headers from the direct child thead of the table\n const headers = Array.from(\n table.querySelectorAll(\":scope > thead > tr > th\"),\n ).map((th) => th.textContent.trim());\n\n // Iterate over each row in the direct child tbody of the table\n table.querySelectorAll(\":scope > tbody > tr\").forEach((row) => {\n // Get all cells (td) in this row\n row.querySelectorAll(\":scope > td\").forEach((cell, index) => {\n // Assign the corresponding header text to the data-label attribute of the cell\n if (headers[index]) {\n cell.setAttribute(\"data-label\", headers[index]);\n }\n });\n });\n }\n\n // Select all tables with class 'responsive-table' and apply data labels to each\n document\n .querySelectorAll(\".responsive-table\")\n .forEach(applyDataLabelsToTable);\n});\n\n//-------------------------------------\n// Lazy Load Test - WIP\n//-------------------------------------\n\n// document.addEventListener(\"DOMContentLoaded\", function() {\n// const lazyLoadImages = document.querySelectorAll(\"img.lazy-load\");\n\n// if (lazyLoadImages.length > 0) {\n// const imageObserver = new IntersectionObserver(function(entries, observer) {\n// entries.forEach(function(entry) {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.src = image.dataset.src;\n// image.classList.remove(\"lazy-load\");\n// imageObserver.unobserve(image);\n// }\n// });\n// });\n\n// lazyLoadImages.forEach(function(image) {\n// imageObserver.observe(image);\n// });\n// }\n// });\n\n//-------------------------------------\n// Tabbed Card\n//-------------------------------------\n\n// function showTab(tabNumber) {\n// const tabbedCard = document.querySelector(\".tabbed-card\");\n// if (tabbedCard) {\n// const tabs = tabbedCard.querySelectorAll(\".tab\");\n// const tabContents = tabbedCard.querySelectorAll(\".tab-content\");\n\n// if (tabs.length && tabContents.length) {\n// tabs.forEach((tab, index) => {\n// if (index + 1 === tabNumber) {\n// tab.classList.add(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.add(\"active\");\n// }\n// } else {\n// tab.classList.remove(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.remove(\"active\");\n// }\n// }\n// });\n// }\n// }\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const tabs = document.querySelectorAll(\".tab\");\n// if (tabs.length) {\n// tabs.forEach((tab) => {\n// tab.addEventListener(\"click\", function () {\n// const tabNumber = parseInt(tab.getAttribute(\"data-tab\"));\n// showTab(tabNumber);\n// });\n// });\n// }\n// });\n\n//-------------------------------------\n// side menus\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n // Select all the menu items\n const menuItems = document.querySelectorAll(\".nav-menu li\");\n\n // Only proceed if menu items exist\n if (menuItems.length) {\n menuItems.forEach((item) => {\n // Add click event listener to each menu item\n item.addEventListener(\"click\", function () {\n // Remove the 'active' class from all items\n menuItems.forEach((i) => i.classList.remove(\"active\"));\n\n // Add the 'active' class to the clicked item\n this.classList.add(\"active\");\n });\n });\n }\n});\n\n//-------------------------------------\n// unread notifications\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var button = document.querySelector(\".btn-circle\");\n\n // Check if the button exists\n if (button) {\n // Restore the data-unread attribute if 24 hours have not passed\n var unreadResetTime = localStorage.getItem(\"unreadResetTime\");\n if (unreadResetTime && new Date().getTime() < unreadResetTime) {\n button.removeAttribute(\"data-unread\");\n }\n\n // Add click event listener to the button\n button.addEventListener(\"click\", function () {\n // Remove data-unread attribute and set the reset time in localStorage\n button.removeAttribute(\"data-unread\");\n var resetTime = new Date().getTime() + 24 * 60 * 60 * 1000; // 24 hours from now\n localStorage.setItem(\"unreadResetTime\", resetTime);\n });\n }\n});\n\n//-------------------------------------\n// fade in animation\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const elementsToAnimate = document.querySelectorAll(\".fade-in\");\n\n if (elementsToAnimate.length > 0) {\n const observer = new IntersectionObserver(\n (entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n entry.target.classList.add(\"visible\");\n }\n });\n },\n {\n threshold: 0.3,\n },\n );\n\n elementsToAnimate.forEach((el) => observer.observe(el));\n }\n});\n\n// //pie charts\n// document.addEventListener('DOMContentLoaded', () => {\n// const chart = document.querySelector('.zen-pie-chart');\n// let accumulatedRotation = 0;\n\n// document.querySelectorAll('.zen-pie-chart .zen-slice').forEach(slice => {\n// const percentage = parseFloat(slice.dataset.percentage);\n// const rotation = 360 * (percentage / 100);\n// const sliceRotation = accumulatedRotation + rotation / 2;\n\n// // Set styles and classes for the slice\n// slice.style.transform = `rotate(${sliceRotation}deg)`;\n// slice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// slice.style.backgroundColor = getComputedStyle(slice).backgroundColor;\n// slice.style.opacity = '1';\n\n// // For more than 50%, create an overlay slice to simulate the additional percentage\n// if (percentage > 50) {\n// let overlaySlice = document.createElement('div');\n// overlaySlice.classList.add('zen-slice', 'overlay');\n// overlaySlice.style.backgroundColor = slice.style.backgroundColor;\n// overlaySlice.style.position = 'absolute';\n// overlaySlice.style.width = '100%';\n// overlaySlice.style.height = '100%';\n// overlaySlice.style.transform = `rotate(${sliceRotation + 180}deg)`;\n// overlaySlice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// chart.appendChild(overlaySlice);\n// }\n\n// accumulatedRotation += rotation;\n// });\n// });\n\n//-------------------------------------\n// Pattern Interrupt\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// var modalShown = false;\n// var modal = document.querySelector('.pattern-interrupt');\n// var modal2 = document.querySelector('.modal');\n\n// function showModal() {\n// if (!modal) return; // Exit if no modal found\n\n// // Center the modal in the viewport\n// modal.style.display = 'block';\n// modal2.style.display = 'block';\n// modal.style.position = 'fixed'; // Fixed position\n// modal.style.top = '50%'; // Center vertically\n// modal.style.left = '50%'; // Center horizontally\n// modal.style.transform = 'translate(-50%, -50%)'; // Adjust for modal's dimensions\n\n// modalShown = true;\n// }\n\n// function checkScroll() {\n// if (modalShown) return; // Skip if the modal is already shown\n\n// var scrollPosition = window.pageYOffset || document.documentElement.scrollTop;\n// var totalHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;\n// var scrolledPercentage = (scrollPosition / totalHeight) * 100;\n\n// if (scrolledPercentage > 10) {\n// showModal();\n// }\n// }\n\n// // Attach the scroll event listener only if the modal exists\n// if (modal) {\n// window.addEventListener('scroll', checkScroll);\n// }\n// });\n\n//-------------------------------------\n// Dynamic Navigation\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// const header = document.querySelector('.header-sticky.slide-down');\n// console.log(\"Script running\");\n// if (header) {\n// fetch('../docs/navigation.html') // Assuming navigation.html is in the /docs folder\n// .then(response => response.text())\n// .then(data => {\n// header.innerHTML = data;\n// })\n// .catch(error => console.error('Error loading navigation:', error));\n// }\n// });\n\n// //-------------------------------------\n// // Video Player\n// //-------------------------------------\n\n// class VideoPlayer extends HTMLElement {\n// constructor() {\n// super();\n// const shadowRoot = this.attachShadow({ mode: 'open' });\n\n// const style = document.createElement('style');\n// style.textContent = `\n\n// `;\n\n// const container = document.createElement('div');\n// container.className = 'video-container';\n\n// const video = document.createElement('video');\n// video.className = 'video-player';\n// video.controls = true;\n\n// const src = this.getAttribute('src');\n// if (src) {\n// const source = document.createElement('source');\n// source.src = src;\n// source.type = 'video/mp4';\n// video.appendChild(source);\n// } else {\n// console.error('Video source not provided for .');\n// }\n\n// container.appendChild(video);\n// shadowRoot.appendChild(style);\n// shadowRoot.appendChild(container);\n// }\n// }\n\n// customElements.define('video-player', VideoPlayer);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Toggle Dark Mode Option\n//--------------------------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n function toggleDarkMode() {\n const zenElements = document.querySelectorAll(\".zen\");\n\n zenElements.forEach((element) => {\n element.classList.toggle(\"zen-dark\");\n });\n\n const isDarkModeEnabled = Array.from(zenElements).some((element) =>\n element.classList.contains(\"zen-dark\"),\n );\n localStorage.setItem(\"darkMode\", isDarkModeEnabled);\n }\n\n const toggleButton = document.getElementById(\"toggleDarkMode\");\n if (toggleButton) {\n toggleButton.addEventListener(\"click\", toggleDarkMode);\n }\n\n const storedDarkMode = localStorage.getItem(\"darkMode\");\n if (storedDarkMode === \"true\") {\n const zenElements = document.querySelectorAll(\".zen\");\n zenElements.forEach((element) => {\n element.classList.add(\"zen-dark\");\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var lazyImages = [].slice.call(\n document.querySelectorAll(\".zen img.lazy-load\"),\n );\n\n if (lazyImages.length === 0) {\n //console.log('No lazy-load images found.');\n return;\n }\n\n if (\"IntersectionObserver\" in window) {\n let lazyImageObserver = new IntersectionObserver(function (\n entries,\n observer,\n ) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n let lazyImage = entry.target;\n // Set onload before changing the src\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n lazyImageObserver.unobserve(lazyImage);\n }\n });\n });\n\n lazyImages.forEach(function (lazyImage) {\n lazyImageObserver.observe(lazyImage);\n });\n } else {\n lazyImages.forEach(function (lazyImage) {\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n });\n }\n});\n\n//old depricated - leaving for now to reference to what was done for image gallery\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const images = document.querySelectorAll(\".lazy-load\");\n\n// if (images.length > 0) {\n// const imageObserver = new IntersectionObserver((entries, observer) => {\n// entries.forEach((entry) => {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.setAttribute(\"aria-busy\", \"true\"); // Indicate loading\n// const newSrc = image.getAttribute(\"data-src\");\n\n// // Create a new Image to load in the background\n// const img = new Image();\n// img.onload = function () {\n// image.src = newSrc; // Set src when fully loaded\n// image.removeAttribute(\"aria-busy\"); // Remove loading indication\n// };\n// img.src = newSrc;\n\n// image.classList.remove(\"lazy-load\");\n// observer.unobserve(image);\n// }\n// });\n// });\n\n// images.forEach((image) => {\n// imageObserver.observe(image);\n// });\n// }\n// });\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Background image\n//--------------------------------------------------------\n\nwindow.addEventListener(\"DOMContentLoaded\", function () {\n var imageContainers = document.querySelectorAll(\".image-container\");\n imageContainers.forEach(function (container) {\n var img = container.querySelector(\"img\");\n var imgUrl = img.src;\n container.style.backgroundImage = \"url(\" + imgUrl + \")\";\n container.style.backgroundSize = \"cover\";\n container.style.backgroundPosition = \"center center\";\n img.style.display = \"none\";\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// //--------------------------------------------------------\n// // Mobile Nav\n// //--------------------------------------------------------\n// document.addEventListener(\"DOMContentLoaded\", (event) => {\n// const hamburgerButton = document.getElementById(\"hamburger-button\");\n// const closeButton = document.getElementById(\"close-button\");\n// const nav = document.querySelector(\"nav\");\n// const navLinks = document.querySelectorAll(\".nav-link\");\n\n// const toggleMenu = () => {\n// nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n// };\n\n// if (hamburgerButton && closeButton && nav) {\n// hamburgerButton.addEventListener(\"click\", toggleMenu);\n// closeButton.addEventListener(\"click\", toggleMenu);\n\n// navLinks.forEach((link) => {\n// // link.addEventListener(\"click\", toggleMenu); // Use toggleMenu to close the menu\n// });\n// }\n// });\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const hamburgerButton = document.getElementById(\"hamburger-button-2\");\n const closeButton = document.getElementById(\"close-button\");\n const nav = document.querySelector(\".top-nav\");\n const navLinks = document.querySelectorAll(\".nav-link\");\n\n const toggleMenu = () => {\n nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n };\n\n if (hamburgerButton && closeButton && nav) {\n hamburgerButton.addEventListener(\"click\", toggleMenu);\n closeButton.addEventListener(\"click\", toggleMenu);\n\n navLinks.forEach((link) => {\n link.addEventListener(\"click\", toggleMenu);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/shaunmackey/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Modal\n//--------------------------------------------------------\n\nclass ZModal extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n connectedCallback() {\n this.shadowRoot\n .querySelector(\".close\")\n .addEventListener(\"click\", () => {\n this.close();\n });\n this.shadowRoot\n .querySelector(\".modal\")\n .addEventListener(\"click\", (event) => {\n if (event.target === event.currentTarget) {\n this.close();\n }\n });\n document.addEventListener(\"click\", (event) => {\n if (event.target.classList.contains(\"modal-close\")) {\n this.close();\n }\n\n document.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Escape\") {\n this.close();\n }\n });\n });\n\n const openModalButton = document.querySelector(\".modal-open\");\n if (openModalButton) {\n openModalButton.addEventListener(\"click\", () => {\n this.open();\n });\n }\n }\n\n open() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"flex\";\n }\n\n close() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"none\";\n }\n\n render() {\n this.shadowRoot.innerHTML = `\n \n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n `;\n }\n}\n\ncustomElements.define(\"z-modal\", ZModal);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Star component\n// ----------------------------------------\nclass StarComponent extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n static get observedAttributes() {\n return [\"stars\", \"half\"];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n this.render();\n }\n\n render() {\n const starCount = parseInt(this.getAttribute(\"stars\")) || 1;\n const half = this.getAttribute(\"half\") === \"true\";\n const fragment = document.createDocumentFragment();\n\n for (let i = 0; i < starCount; i++) {\n const starImg = document.createElement(\"img\");\n starImg.src = \"../../img/icons/alerts/star-solid.svg\";\n starImg.alt = \"\";\n starImg.className = \"icon icon-gold\";\n fragment.appendChild(starImg);\n }\n\n if (half && starCount < 5) {\n const halfStarImg = document.createElement(\"img\");\n halfStarImg.src =\n \"../../img/icons/alerts/star-half-stroke-regular.svg\";\n halfStarImg.alt = \"\";\n halfStarImg.className = \"icon icon-gold\";\n fragment.appendChild(halfStarImg);\n }\n\n this.shadowRoot.innerHTML = `\n \n `;\n this.shadowRoot.appendChild(fragment);\n }\n}\n\ncustomElements.define(\"star-component\", StarComponent);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Exit Intent\n// ----------------------------------------\n// Get the modal\nvar modal = document.querySelector(\".exit\");\n\n// Function to show the modal if conditions are met\nfunction tryToShowModal() {\n if (modal && shouldShowModal() && !modalIsDisplayed()) {\n modal.style.display = \"block\";\n }\n}\n\n// Function to hide modal and set a flag in local storage\nfunction closeModal() {\n if (modal) {\n modal.style.display = \"none\";\n // Set the flag in local storage with the current timestamp\n localStorage.setItem(\"modalClosed\", new Date().getTime());\n }\n}\n\n// Check if the modal is currently displayed\nfunction modalIsDisplayed() {\n return modal.style.display === \"block\";\n}\n\n// Get the element that closes the modal\nvar span = document.querySelector(\".close\");\n\n// When the user clicks on (x), close the modal\nif (span) {\n span.onclick = closeModal;\n}\n\n// When the user clicks anywhere outside of the modal, close it\nwindow.onclick = function (event) {\n if (event.target == modal) {\n closeModal();\n }\n};\n\n// Check local storage to see if we should show the modal\nfunction shouldShowModal() {\n var modalClosedTime = localStorage.getItem(\"modalClosed\");\n if (modalClosedTime) {\n var now = new Date();\n var daysPassed =\n (now.getTime() - parseInt(modalClosedTime, 10)) /\n (1000 * 3600 * 24);\n return daysPassed >= 7;\n }\n return true;\n}\n\n// Trigger the modal after 8 seconds if the user hasn't closed it already\nsetTimeout(function () {\n document.addEventListener(\"mousemove\", function (e) {\n if (e.clientY <= 5) {\n tryToShowModal();\n }\n });\n}, 8000);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Wizard\n// ----------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const steps = document.querySelectorAll(\".wizard-step\");\n const navItems = document.querySelectorAll(\".wizard-nav\");\n\n if (steps.length > 0 && navItems.length > 0) {\n let currentStep = 1;\n const totalSteps = steps.length;\n\n function goToStep(stepNumber) {\n steps.forEach((step) => {\n step.style.display = \"none\"; // Hide all steps\n });\n document.getElementById(`step-${stepNumber}`).style.display =\n \"block\"; // Show the desired step\n\n // Update the current class on pagination\n navItems.forEach((item) => {\n if (item.dataset.step == stepNumber.toString()) {\n item.classList.add(\"current\");\n } else {\n item.classList.remove(\"current\");\n }\n });\n }\n\n navItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n e.preventDefault();\n let direction = item.dataset.direction;\n if (direction) {\n if (direction === \"next\" && currentStep < totalSteps) {\n currentStep++;\n } else if (direction === \"prev\" && currentStep > 1) {\n currentStep--;\n }\n } else if (item.dataset.step) {\n currentStep = parseInt(item.dataset.step);\n }\n goToStep(currentStep);\n });\n });\n\n // Initialize the wizard to the first step\n goToStep(currentStep);\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const mswizard = document.querySelector(\".mswizard\");\n if (!mswizard) return;\n const progressBar = mswizard.querySelector(\".mswizard-progress\");\n const currentStepSpan = mswizard.querySelector(\"#current-step\");\n const totalStepsSpan = mswizard.querySelector(\"#total-steps\");\n const progressPercentage = mswizard.querySelector(\".progress-percentage\");\n const steps = mswizard.querySelectorAll(\".mswizard-step\");\n const totalSteps = steps.length;\n totalStepsSpan.textContent = totalSteps;\n progressBar.max = 100;\n\n function updatemswizardStep(stepNumber) {\n steps.forEach((step) => (step.style.display = \"none\"));\n mswizard.querySelector(`#step-${stepNumber}`).style.display = \"block\";\n currentStepSpan.textContent = stepNumber;\n const progressValue = ((stepNumber - 1) / (totalSteps - 1)) * 100;\n progressBar.value = progressValue;\n progressPercentage.textContent = `${Math.round(progressValue)}%`;\n const percentagePosition =\n progressBar.offsetWidth * (progressValue / 100) -\n progressPercentage.offsetWidth / 2;\n progressPercentage.style.left = `${Math.max(0, percentagePosition)}px`;\n progressPercentage.style.visibility =\n progressValue >= 5 ? \"visible\" : \"hidden\";\n }\n\n steps.forEach((step, index) => {\n if (index === totalSteps - 1) return; // No buttons on the last step\n\n const buttonContainer = document.createElement(\"div\");\n buttonContainer.className = \"button-container\";\n\n // Always add the Previous button except on the last step\n const prevButton = document.createElement(\"button\");\n prevButton.textContent = \"Previous\";\n prevButton.className = \"prev-btn\";\n prevButton.setAttribute(\"role\", \"button\");\n prevButton.setAttribute(\"aria-label\", `Go back to step ${index}`);\n if (index === 0) {\n prevButton.disabled = true;\n prevButton.classList.add(\"disabled\");\n } else {\n prevButton.addEventListener(\"click\", () =>\n updatemswizardStep(index),\n );\n }\n buttonContainer.appendChild(prevButton);\n\n // Add the Next/Finish button to all steps except the last\n const nextButton = document.createElement(\"button\");\n nextButton.textContent = index === totalSteps - 2 ? \"Finish\" : \"Next\";\n nextButton.className = \"next-btn\";\n nextButton.setAttribute(\"role\", \"button\");\n nextButton.setAttribute(\"aria-label\", `Go to step ${index + 2}`);\n nextButton.addEventListener(\"click\", () =>\n updatemswizardStep(index + 2),\n );\n buttonContainer.appendChild(nextButton);\n\n step.appendChild(buttonContainer);\n });\n\n updatemswizardStep(1);\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Tabs\n// ----------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const tabs = document.querySelectorAll(\".tab-nav .item\");\n\n if (tabs.length > 0) {\n function removeCurrentClass() {\n tabs.forEach((tab) => {\n tab.classList.remove(\"current\");\n });\n }\n\n function setCurrentClass(event) {\n event.preventDefault();\n removeCurrentClass();\n event.target.classList.add(\"current\");\n }\n\n tabs.forEach((tab) => {\n tab.addEventListener(\"click\", setCurrentClass);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Spin\n//-------------------------------------\n\n// This function will apply the spinning effect to the spinner if it exists\nfunction startSpinning() {\n // Select the spinner element\n var spinner = document.querySelector(\".rotate-spinner\");\n\n // Check if the spinner exists to avoid errors\n if (spinner) {\n // Apply the CSS animation using inline styles\n spinner.style.animation = \"spin 1s linear infinite\";\n }\n}\n\n// This function will start the spinning when the document is loaded, if the spinner exists\ndocument.addEventListener(\"DOMContentLoaded\", startSpinning);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Poll\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var currentStep = 1;\n var results = { a: 0, b: 0, c: 0, d: 0 };\n\n function updateStepDisplay(step) {\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (stepDiv) {\n stepDiv.classList.remove(\"active\");\n });\n document.querySelector(\"#step-\" + step).classList.add(\"active\");\n }\n\n function handleOptionSelect(event) {\n var selectedOption = event.target.value;\n results[selectedOption]++;\n if (currentStep < 4) {\n currentStep++;\n updateStepDisplay(currentStep);\n } else {\n // Call the showResult function immediately after the last selection\n showResult();\n }\n }\n\n function showResult() {\n // Remove the active class from all steps\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (step) {\n step.classList.remove(\"active\");\n });\n\n // Calculate the most chosen answer\n var max = Math.max(...Object.values(results));\n var mostChosenResults = Object.keys(results).filter(function (key) {\n return results[key] === max;\n });\n\n // Take the first result if there's a tie\n var mostChosen = mostChosenResults[0];\n var resultElement = document.querySelector(\n '#result-types [data-result=\"' + mostChosen + '\"]',\n );\n var resultContent = resultElement\n ? resultElement.innerHTML\n : mostChosen;\n\n // Update the result div and make the result visible\n var resultDiv = document.getElementById(\"result-text\");\n if (resultDiv) {\n resultDiv.innerHTML = resultContent;\n }\n var resultContainer = document.getElementById(\"result\");\n if (resultContainer) {\n resultContainer.classList.add(\"active\"); // Ensure this class makes the element visible\n }\n }\n\n // Attaching change event listeners to radio buttons\n var wizard = document.querySelector(\".wizard\");\n if (wizard) {\n var radioButtons = wizard.querySelectorAll('input[type=\"radio\"]');\n radioButtons.forEach(function (radioButton) {\n radioButton.addEventListener(\"change\", handleOptionSelect);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const anchors = document.querySelectorAll('a[href^=\"#\"]');\n\n if (anchors.length > 0) {\n anchors.forEach((anchor) => {\n anchor.addEventListener(\"click\", function (e) {\n const hrefAttribute = this.getAttribute(\"href\");\n\n // Skip processing if href is only '#'\n if (hrefAttribute === \"#\") {\n return;\n }\n\n e.preventDefault();\n const targetElement = document.querySelector(hrefAttribute);\n\n if (targetElement) {\n targetElement.scrollIntoView({ behavior: \"smooth\" });\n }\n });\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const banner = document.querySelector(\".cookie-consent-banner\");\n\n // Check if the banner element exists\n if (banner) {\n const acceptBtn = document.querySelector(\".accept-cookies\");\n banner.style.zIndex = \"1100\";\n\n // Check if cookies are already accepted\n if (!localStorage.getItem(\"cookies-accepted\")) {\n banner.style.display = \"block\"; // Show banner if cookies not accepted\n }\n\n // Event listener for accept button\n if (acceptBtn) {\n acceptBtn.addEventListener(\"click\", () => {\n localStorage.setItem(\"cookies-accepted\", \"true\"); // Set flag in local storage\n banner.style.display = \"none\"; // Hide banner\n });\n }\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Toggle test mode\n//--------------------------------------------------------\n\nvar toggleButton = document.getElementById(\"toggleButton\");\n\nif (toggleButton) {\n toggleButton.addEventListener(\"click\", function () {\n const toggleClassOnElements = (selector, className) => {\n const elements = document.querySelectorAll(selector);\n elements.forEach((element) => {\n element.classList.toggle(className);\n });\n };\n\n const selectorsAndClasses = [\n [\"z-container\", \"z-container-outline-on\"],\n [\"z-container-fluid\", \"z-container-fluid-outline-on\"],\n [\"z-row\", \"z-row-outline-on\"],\n [\"z-col\", \"z-col-outline-on\"],\n [\"p\", \"p-outline-on\"],\n [\"h1\", \"h1-outline-on\"],\n [\"h2\", \"h2-outline-on\"],\n [\"h3\", \"h3-outline-on\"],\n [\"h4\", \"h4-outline-on\"],\n [\"h5\", \"h5-outline-on\"],\n [\"h6\", \"h6-outline-on\"],\n [\".center-line\", \"center-line-outline-on\"],\n ];\n\n selectorsAndClasses.forEach(([selector, className]) => {\n toggleClassOnElements(selector, className);\n });\n });\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"zencss.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,yDAAyD,mBAAmB;;AAE5E;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB,cAAc;AACd;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;AC1GD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;;AAET;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA,kEAAkE;AAClE,4BAA4B,iBAAiB;AAC7C;AACA,sEAAsE,aAAa,eAAe,EAAE,IAAI,EAAE;AAC1G;AACA;AACA,kEAAkE;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,iDAAiD,aAAa;AAC9D,kDAAkD,cAAc;;AAEhE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA,kBAAkB;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mDAAmD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA,YAAY;;AAEZ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;;AAEA;AACA;AACA,qEAAqE;AACrE,+BAA+B,iBAAiB;AAChD;AACA,yEAAyE,aAAa,eAAe,EAAE,IAAI,EAAE;AAC7G;AACA;AACA,qEAAqE;AACrE;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oDAAoD,aAAa;AACjE,qDAAqD,cAAc;;AAEnE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;;AAEZ;AACA;AACA;AACA;AACA;AACA,IAAI;;;;;;;;;ACjZJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gEAAgE;AAChE,aAAa;;AAEb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA,SAAS;AACT,KAAK;AACL,CAAC;;;;;;;;;ACrDD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA,SAAS;AACT,KAAK;AACL,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ,UAAU;;AAEV;AACA;AACA,UAAU;AACV;AACA,MAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB,YAAY;AACZ;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wEAAwE;AACxE;AACA,SAAS;AACT;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,6CAA6C,cAAc;AAC3D,2CAA2C,kBAAkB,MAAM,kBAAkB,MAAM,sBAAsB;AACjH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,oBAAoB;AAC5E,sDAAsD,kBAAkB,MAAM,kBAAkB,MAAM,sBAAsB;AAC5H;AACA;;AAEA;AACA,QAAQ;AACR,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B;;AAE/B;AACA;AACA;AACA,2CAA2C;AAC3C,oCAAoC;AACpC,qCAAqC;AACrC,4DAA4D;;AAE5D;AACA;;AAEA;AACA,mCAAmC;;AAEnC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,MAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;AACA,kDAAkD,cAAc;;AAEhE;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACvXA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;ACnCD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA,SAAS;AACT,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;AAED;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gEAAgE;AAChE;;AAEA;AACA;AACA;AACA,+CAA+C;AAC/C,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA,gBAAgB;AAChB,YAAY;;AAEZ;AACA;AACA,YAAY;AACZ;AACA,IAAI;;;;;;;;;AChFJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;ACpBD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iEAAiE;AACjE,YAAY;AACZ;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC/CD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B,cAAc;AAC1C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;AC7JA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,cAAc;AAC1C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,wBAAwB,eAAe;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;;;;;;;;;ACpED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,6CAA6C;AAC7C,aAAa;AACb,4CAA4C,WAAW;AACvD,yBAAyB;;AAEzB;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA,aAAa;AACb,SAAS;;AAET;AACA;AACA;AACA,CAAC;;;;;;;;;ACvDD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,4CAA4C,0BAA0B;AACtE;AACA;AACA;AACA,2CAA2C,gCAAgC;AAC3E;AACA;AACA;;AAEA;AACA,8CAA8C;;AAE9C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iEAAiE,MAAM;AACvE;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,4DAA4D,UAAU;AACtE;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,CAAC;;;;;;;;;ACtED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC7BD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,CAAC;;;;;;;;;AC1ED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,mDAAmD,oBAAoB;AACvE;AACA,aAAa;AACb,SAAS;AACT;AACA,CAAC;;;;;;;;;AC3BD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;AAC5C;;AAEA;AACA;AACA;AACA,kEAAkE;AAClE,+CAA+C;AAC/C,aAAa;AACb;AACA;AACA,CAAC;;;;;;;;;AC3BD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS;AACT,KAAK;AACL","sources":["webpack:///./modules/custom-elements.js","webpack:///./modules/carousel.js","webpack:///./modules/dropdown.js","webpack:///./modules/image-gallery.js","webpack:///./modules/accordian.js","webpack:///./modules/misc.js","webpack:///./modules/dark-mode.js","webpack:///./modules/lazy-load.js","webpack:///./modules/background-image.js","webpack:///./modules/mobile-nav.js","webpack:///./modules/modal.js","webpack:///./modules/star-component.js","webpack:///./modules/exit-intent.js","webpack:///./modules/wizard.js","webpack:///./modules/multistep-wizard.js","webpack:///./modules/tabs.js","webpack:///./modules/spin.js","webpack:///./modules/poll.js","webpack:///./modules/link-scroll.js","webpack:///./modules/cookie-consent.js","webpack:///./modules/test-mode.js"],"sourcesContent":["/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Define zenCSS elements for use in JS\n// ----------------------------------------\n\n// Define z-container custom element\nclass ZContainer extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-container\", ZContainer);\n\n// Define z-row custom element\nclass ZRow extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-row\", ZRow);\n\n// Define z-col custom element\nclass ZCol extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-col\", ZCol);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const sliders = document.querySelectorAll(\".slider\");\n\n sliders.forEach((slider) => {\n const slidesContainer = slider.querySelector(\".slides-container\");\n const originalSlides = Array.from(slidesContainer.children);\n const totalOriginalSlides = originalSlides.length;\n const nextButton = slider.querySelector(\".next\");\n const prevButton = slider.querySelector(\".prev\");\n const shouldAutoRotate =\n slider.getAttribute(\"data-auto-rotate\") === \"true\";\n\n // Clone the first and last slides to create an infinite loop effect\n const firstSlideClone = originalSlides[0].cloneNode(true);\n const lastSlideClone =\n originalSlides[totalOriginalSlides - 1].cloneNode(true);\n slidesContainer.insertBefore(lastSlideClone, originalSlides[0]);\n slidesContainer.appendChild(firstSlideClone);\n\n let currentIndex = 1; // Start from the first original slide (not the clone)\n let isTransitioning = false;\n let autoRotate;\n\n // Function to start auto-rotating\n function startAutoRotate() {\n if (shouldAutoRotate) {\n autoRotate = setInterval(moveToNext, 4000);\n }\n }\n\n // Function to stop auto-rotating\n function stopAutoRotate() {\n clearInterval(autoRotate);\n }\n\n // Initialize position to the first original slide\n slidesContainer.style.transition = \"none\";\n slidesContainer.style.transform = `translateX(-${currentIndex * 100}%)`;\n\n // Re-enable transitions after initial positioning\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n\n function updateSlidePosition() {\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n }\n\n function moveToNext() {\n if (isTransitioning) return;\n currentIndex++;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n function moveToPrev() {\n if (isTransitioning) return;\n currentIndex--;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n slidesContainer.addEventListener(\"transitionend\", () => {\n if (currentIndex >= totalOriginalSlides + 1) {\n slidesContainer.style.transition = \"none\";\n currentIndex = 1;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n } else if (currentIndex === 0) {\n slidesContainer.style.transition = \"none\";\n currentIndex = totalOriginalSlides;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n }\n isTransitioning = false;\n });\n\n nextButton.addEventListener(\"click\", moveToNext);\n prevButton.addEventListener(\"click\", moveToPrev);\n\n // Event listeners to stop/start auto-rotating\n slidesContainer.addEventListener(\"mouseenter\", stopAutoRotate);\n slidesContainer.addEventListener(\"mouseleave\", startAutoRotate);\n nextButton.addEventListener(\"mouseenter\", stopAutoRotate);\n nextButton.addEventListener(\"mouseleave\", startAutoRotate);\n prevButton.addEventListener(\"mouseenter\", stopAutoRotate);\n prevButton.addEventListener(\"mouseleave\", startAutoRotate);\n\n // Start auto-rotating for this slider\n startAutoRotate();\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dropdown\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var dropdownLinks = document.querySelectorAll(\".dropdown .dropdown-link\");\n\n dropdownLinks.forEach(function (link) {\n link.addEventListener(\"click\", function (event) {\n event.preventDefault();\n\n // Toggle the dropdown content visibility\n var dropdownContent = link.nextElementSibling;\n if (dropdownContent.style.display === \"block\") {\n dropdownContent.style.display = \"none\";\n } else {\n // Close all open dropdowns before opening the new one\n closeAllDropdowns();\n dropdownContent.style.display = \"block\";\n }\n });\n });\n});\n\nfunction closeAllDropdowns() {\n var dropdowns = document.querySelectorAll(\".dropdown .dropdown-content\");\n dropdowns.forEach(function (dropdown) {\n dropdown.style.display = \"none\";\n });\n}\n\n// Close all dropdowns when clicking outside\nwindow.onclick = function (event) {\n if (!event.target.matches(\".dropdown-link\")) {\n closeAllDropdowns();\n }\n};\n","// /*\n// * zenCSS v2.0.2-beta (https://zencss.com/)\n// * Copyright 2022-2024 Shaun Mackey\n// * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n// */\n\n//12/29 removing lazy load\n\n/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\nfunction preloadImage(src) {\n const img = new Image();\n img.src = src;\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const gallery = document.querySelector(\".image-gallery\");\n const modal = document.querySelector(\"z-modal\");\n const paginationNav = document.querySelector(\".pagination-nav\");\n\n if (gallery && modal && paginationNav) {\n let currentPage = 1;\n const imagesPerPage = 15;\n let currentModalIndex = 0;\n const imageWrappers = [];\n\n Array.from(gallery.children).forEach((img, index) => {\n const wrapper = document.createElement(\"div\");\n wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n const clonedImg = img.cloneNode(true);\n clonedImg.addEventListener(\"click\", () => {\n currentModalIndex = index;\n openModal(\n clonedImg.src,\n clonedImg.getAttribute(\"data-text\"),\n index,\n );\n });\n wrapper.appendChild(clonedImg);\n imageWrappers.push(wrapper);\n });\n\n const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n function updateImagesForPage(pageNumber) {\n imageWrappers.forEach((wrapper, index) => {\n const start = (pageNumber - 1) * imagesPerPage;\n const end = start + imagesPerPage;\n wrapper.style.display =\n index >= start && index < end ? \"block\" : \"none\";\n });\n }\n\n function updatePaginationNav() {\n paginationNav.innerHTML =\n '«';\n for (let i = 1; i <= totalPages; i++) {\n const classCurrent = i === currentPage ? \"current\" : \"\";\n paginationNav.innerHTML += `${i}`;\n }\n paginationNav.innerHTML +=\n '»';\n }\n\n function openModal(src, text, index) {\n currentModalIndex = index;\n const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n if (modalBody && modalWrapper && modalHeader) {\n const currentWidth = modalWrapper.clientWidth;\n const currentHeight = modalWrapper.clientHeight;\n modalWrapper.style.minWidth = `${currentWidth}px`;\n modalWrapper.style.minHeight = `${currentHeight}px`;\n\n modalBody.innerHTML = \"\";\n const imageContainer = document.createElement(\"div\");\n imageContainer.style.display = \"flex\";\n imageContainer.style.position = \"relative\";\n imageContainer.style.justifyContent = \"center\";\n\n const prevArrow = document.createElement(\"div\");\n prevArrow.className = \"prev arrow theme-dark\";\n prevArrow.innerHTML = \"❮\";\n prevArrow.style.cursor = \"pointer\";\n prevArrow.style.position = \"absolute\";\n prevArrow.style.top = \"50%\";\n prevArrow.style.left = \"7px\";\n prevArrow.style.padding = \"10px\";\n prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n prevArrow.style.transform = \"translateY(-50%)\";\n prevArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex > 0\n ? currentModalIndex - 1\n : imageWrappers.length - 1;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(prevArrow);\n\n const modalImage = document.createElement(\"img\");\n modalImage.onload = () => {\n modalWrapper.style.minWidth = \"\";\n modalWrapper.style.minHeight = \"\";\n };\n modalImage.src = src;\n modalImage.style.maxWidth = \"100%\";\n modalImage.style.maxHeight = \"60vh\";\n modalImage.style.objectFit = \"contain\";\n modalImage.style.margin = \"auto\";\n imageContainer.appendChild(modalImage);\n\n const nextArrow = document.createElement(\"div\");\n nextArrow.className = \"next arrow theme-dark\";\n nextArrow.innerHTML = \"❯\";\n nextArrow.style.cursor = \"pointer\";\n nextArrow.style.position = \"absolute\";\n nextArrow.style.padding = \"10px\";\n nextArrow.style.top = \"50%\";\n nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n nextArrow.style.right = \"7px\";\n nextArrow.style.transform = \"translateY(-50%)\";\n nextArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex < imageWrappers.length - 1\n ? currentModalIndex + 1\n : 0;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(nextArrow);\n\n modalBody.appendChild(imageContainer);\n\n const modalText = document.createElement(\"p\");\n modalText.textContent = text;\n modalText.style.textAlign = \"center\";\n modalBody.appendChild(modalText);\n\n modalBody.style.overflowY = \"auto\";\n modalBody.style.maxHeight = \"80vh\";\n modalHeader.style.display = \"none\";\n\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n const nextIndex = (index + 1) % imageWrappers.length;\n const prevIndex =\n (index - 1 + imageWrappers.length) % imageWrappers.length;\n preloadImage(imageWrappers[nextIndex].firstChild.src);\n preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n modal.open();\n }\n }\n\n paginationNav.addEventListener(\"click\", function (event) {\n event.preventDefault();\n const target = event.target;\n if (target.tagName === \"A\" && target.dataset.page) {\n let newPage = currentPage;\n if (target.dataset.page === \"prev\") {\n newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n } else if (target.dataset.page === \"next\") {\n newPage = currentPage < totalPages ? currentPage + 1 : 1;\n } else {\n newPage = parseInt(target.dataset.page);\n }\n\n if (newPage !== currentPage) {\n currentPage = newPage;\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n }\n });\n\n window.addEventListener(\"resize\", function () {\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n if (modalWrapper) {\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n }\n });\n\n gallery.innerHTML = \"\";\n imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n});\n\n// function preloadImage(src) {\n// const img = new Image();\n// img.src = src;\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const gallery = document.querySelector(\".image-gallery\");\n// const modal = document.querySelector(\"z-modal\");\n// const paginationNav = document.querySelector(\".pagination-nav\");\n\n// if (gallery && modal && paginationNav) {\n// let currentPage = 1;\n// const imagesPerPage = 15;\n// let currentModalIndex = 0;\n// const imageWrappers = [];\n\n// Array.from(gallery.children).forEach((img, index) => {\n// const wrapper = document.createElement(\"div\");\n// wrapper.classList.add(\"lazy-load\"); // using the lazy-load class\n// wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n// const clonedImg = img.cloneNode(true);\n// clonedImg.addEventListener(\"click\", () => {\n// currentModalIndex = index;\n// openModal(\n// clonedImg.src,\n// clonedImg.getAttribute(\"data-text\"),\n// index,\n// );\n// });\n// wrapper.appendChild(clonedImg);\n// imageWrappers.push(wrapper);\n// });\n\n// const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n// function updateImagesForPage(pageNumber) {\n// imageWrappers.forEach((wrapper, index) => {\n// const start = (pageNumber - 1) * imagesPerPage;\n// const end = start + imagesPerPage;\n// wrapper.style.display =\n// index >= start && index < end ? \"block\" : \"none\";\n// });\n// }\n\n// function updatePaginationNav() {\n// paginationNav.innerHTML =\n// '«';\n// for (let i = 1; i <= totalPages; i++) {\n// const classCurrent = i === currentPage ? \"current\" : \"\";\n// paginationNav.innerHTML += `${i}`;\n// }\n// paginationNav.innerHTML +=\n// '»';\n// }\n\n// function openModal(src, text, index) {\n// currentModalIndex = index;\n// const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n// if (modalBody && modalWrapper && modalHeader) {\n// const currentWidth = modalWrapper.clientWidth;\n// const currentHeight = modalWrapper.clientHeight;\n// modalWrapper.style.minWidth = `${currentWidth}px`;\n// modalWrapper.style.minHeight = `${currentHeight}px`;\n\n// modalBody.innerHTML = \"\";\n// const imageContainer = document.createElement(\"div\");\n// imageContainer.style.display = \"flex\";\n// imageContainer.style.position = \"relative\";\n// imageContainer.style.justifyContent = \"center\";\n\n// const prevArrow = document.createElement(\"div\");\n// prevArrow.className = \"prev arrow theme-dark\";\n// prevArrow.innerHTML = \"❮\";\n// prevArrow.style.cursor = \"pointer\";\n// prevArrow.style.position = \"absolute\";\n// prevArrow.style.top = \"50%\";\n// prevArrow.style.left = \"7px\";\n// prevArrow.style.padding = \"10px\";\n// prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// prevArrow.style.transform = \"translateY(-50%)\";\n// prevArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex > 0\n// ? currentModalIndex - 1\n// : imageWrappers.length - 1;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(prevArrow);\n\n// const modalImage = document.createElement(\"img\");\n// modalImage.onload = () => {\n// modalWrapper.style.minWidth = \"\";\n// modalWrapper.style.minHeight = \"\";\n// };\n// modalImage.src = src;\n// modalImage.style.maxWidth = \"100%\";\n// modalImage.style.maxHeight = \"60vh\";\n// modalImage.style.objectFit = \"contain\";\n// modalImage.style.margin = \"auto\";\n// imageContainer.appendChild(modalImage);\n\n// const nextArrow = document.createElement(\"div\");\n// nextArrow.className = \"next arrow theme-dark\";\n// nextArrow.innerHTML = \"❯\";\n// nextArrow.style.cursor = \"pointer\";\n// nextArrow.style.position = \"absolute\";\n// nextArrow.style.padding = \"10px\";\n// nextArrow.style.top = \"50%\";\n// nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// nextArrow.style.right = \"7px\";\n// nextArrow.style.transform = \"translateY(-50%)\";\n// nextArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex < imageWrappers.length - 1\n// ? currentModalIndex + 1\n// : 0;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(nextArrow);\n\n// modalBody.appendChild(imageContainer);\n\n// const modalText = document.createElement(\"p\");\n// modalText.textContent = text;\n// modalText.style.textAlign = \"center\";\n// modalBody.appendChild(modalText);\n\n// modalBody.style.overflowY = \"auto\";\n// modalBody.style.maxHeight = \"80vh\";\n// modalHeader.style.display = \"none\";\n\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n// const nextIndex = (index + 1) % imageWrappers.length;\n// const prevIndex =\n// (index - 1 + imageWrappers.length) % imageWrappers.length;\n// preloadImage(imageWrappers[nextIndex].firstChild.src);\n// preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n// modal.open();\n// }\n// }\n\n// paginationNav.addEventListener(\"click\", function (event) {\n// event.preventDefault();\n// const target = event.target;\n// if (target.tagName === \"A\" && target.dataset.page) {\n// let newPage = currentPage;\n// if (target.dataset.page === \"prev\") {\n// newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n// } else if (target.dataset.page === \"next\") {\n// newPage = currentPage < totalPages ? currentPage + 1 : 1;\n// } else {\n// newPage = parseInt(target.dataset.page);\n// }\n\n// if (newPage !== currentPage) {\n// currentPage = newPage;\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// }\n// });\n\n// window.addEventListener(\"resize\", function () {\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// if (modalWrapper) {\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n// }\n// });\n\n// gallery.innerHTML = \"\";\n// imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// });\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var accordionToggles = document.querySelectorAll(\".accordion-toggle\");\n\n accordionToggles.forEach(function (accordionToggle) {\n accordionToggle.addEventListener(\"click\", function () {\n // Determine if the clicked toggle is being expanded\n var isExpanding = this.getAttribute(\"aria-expanded\") === \"false\";\n\n // Remove active class from all toggles and reset icons\n accordionToggles.forEach(function (otherToggle) {\n otherToggle.classList.remove(\"active-toggle\");\n otherToggle.setAttribute(\"aria-expanded\", \"false\");\n\n var otherIcon = otherToggle.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (otherIcon) {\n otherIcon.classList.remove(\"zenicon-keyboard-arrow-down\");\n otherIcon.classList.add(\"zenicon-keyboard-arrow-right\");\n }\n\n var otherPanel = otherToggle.nextElementSibling;\n otherPanel.style.maxHeight = null;\n otherPanel.setAttribute(\"aria-hidden\", \"true\"); // Hide other panels\n });\n\n // Set the clicked toggle as active if it's expanding\n if (isExpanding) {\n this.classList.add(\"active-toggle\");\n this.setAttribute(\"aria-expanded\", \"true\");\n\n var icon = this.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (icon) {\n icon.classList.remove(\"zenicon-keyboard-arrow-right\");\n icon.classList.add(\"zenicon-keyboard-arrow-down\");\n }\n\n var panel = this.nextElementSibling;\n panel.style.maxHeight =\n panel.scrollHeight > 200\n ? \"1000px\"\n : panel.scrollHeight + 10 + \"px\";\n panel.setAttribute(\"aria-hidden\", \"false\"); // Show the current panel\n }\n });\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dynamic year in footer\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const yearSpan = document.getElementById(\"current-year\");\n if (yearSpan) {\n const currentYear = new Date().getFullYear();\n yearSpan.textContent = currentYear;\n }\n});\n\n//-------------------------------------\n// icon toggle\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var iconToggles = document.querySelectorAll(\".icon-toggle\");\n\n iconToggles.forEach(function (toggle) {\n toggle.addEventListener(\"click\", function () {\n var iconOff = this.querySelector(\".icon-off\");\n var iconOn = this.querySelector(\".icon-on\");\n\n // Toggle the 'show' class\n iconOff.classList.toggle(\"show\");\n iconOn.classList.toggle(\"show\");\n });\n });\n});\n\n// New stuff here after modules were created. If we need to revert, include this stuff.\ndocument.querySelectorAll(\".accordion-toggle\").forEach((item) => {\n item.addEventListener(\"click\", (event) => {\n event.preventDefault();\n\n const contentId = item.getAttribute(\"aria-controls\");\n const content = document.getElementById(contentId);\n\n // Close other expanded contents\n document.querySelectorAll(\".expanded-content\").forEach((el) => {\n if (el.id !== contentId) {\n el.classList.remove(\"show\");\n el.style.overflowY = \"hidden\";\n }\n });\n\n // Toggle current content\n content.classList.toggle(\"show\");\n\n setTimeout(() => {\n if (content.scrollHeight > content.clientHeight) {\n content.style.overflowY = \"auto\";\n } else {\n content.style.overflowY = \"hidden\";\n }\n }, 500);\n });\n});\n\n//-------------------------------------\n// Corner Popup\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var cornerPopup = document.querySelector(\".corner-popup\");\n\n if (cornerPopup) {\n var button = cornerPopup.querySelector(\"button\");\n var popup = cornerPopup.querySelector(\"div\");\n\n popup.classList.add(\"card\");\n\n button.addEventListener(\"click\", function () {\n popup.classList.toggle(\"hidden\");\n console.log(\"Button clicked\");\n });\n }\n});\n\n//-------------------------------------\n// Responsive Table\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n // Function to apply data labels to a table\n function applyDataLabelsToTable(table) {\n // Get all the headers from the direct child thead of the table\n const headers = Array.from(\n table.querySelectorAll(\":scope > thead > tr > th\"),\n ).map((th) => th.textContent.trim());\n\n // Iterate over each row in the direct child tbody of the table\n table.querySelectorAll(\":scope > tbody > tr\").forEach((row) => {\n // Get all cells (td) in this row\n row.querySelectorAll(\":scope > td\").forEach((cell, index) => {\n // Assign the corresponding header text to the data-label attribute of the cell\n if (headers[index]) {\n cell.setAttribute(\"data-label\", headers[index]);\n }\n });\n });\n }\n\n // Select all tables with class 'responsive-table' and apply data labels to each\n document\n .querySelectorAll(\".responsive-table\")\n .forEach(applyDataLabelsToTable);\n});\n\n//-------------------------------------\n// Lazy Load Test - WIP\n//-------------------------------------\n\n// document.addEventListener(\"DOMContentLoaded\", function() {\n// const lazyLoadImages = document.querySelectorAll(\"img.lazy-load\");\n\n// if (lazyLoadImages.length > 0) {\n// const imageObserver = new IntersectionObserver(function(entries, observer) {\n// entries.forEach(function(entry) {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.src = image.dataset.src;\n// image.classList.remove(\"lazy-load\");\n// imageObserver.unobserve(image);\n// }\n// });\n// });\n\n// lazyLoadImages.forEach(function(image) {\n// imageObserver.observe(image);\n// });\n// }\n// });\n\n//-------------------------------------\n// Tabbed Card\n//-------------------------------------\n\n// function showTab(tabNumber) {\n// const tabbedCard = document.querySelector(\".tabbed-card\");\n// if (tabbedCard) {\n// const tabs = tabbedCard.querySelectorAll(\".tab\");\n// const tabContents = tabbedCard.querySelectorAll(\".tab-content\");\n\n// if (tabs.length && tabContents.length) {\n// tabs.forEach((tab, index) => {\n// if (index + 1 === tabNumber) {\n// tab.classList.add(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.add(\"active\");\n// }\n// } else {\n// tab.classList.remove(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.remove(\"active\");\n// }\n// }\n// });\n// }\n// }\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const tabs = document.querySelectorAll(\".tab\");\n// if (tabs.length) {\n// tabs.forEach((tab) => {\n// tab.addEventListener(\"click\", function () {\n// const tabNumber = parseInt(tab.getAttribute(\"data-tab\"));\n// showTab(tabNumber);\n// });\n// });\n// }\n// });\n\n//-------------------------------------\n// side menus\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n // Select all the menu items\n const menuItems = document.querySelectorAll(\".nav-menu li\");\n\n // Only proceed if menu items exist\n if (menuItems.length) {\n menuItems.forEach((item) => {\n // Add click event listener to each menu item\n item.addEventListener(\"click\", function () {\n // Remove the 'active' class from all items\n menuItems.forEach((i) => i.classList.remove(\"active\"));\n\n // Add the 'active' class to the clicked item\n this.classList.add(\"active\");\n });\n });\n }\n});\n\n//-------------------------------------\n// unread notifications\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var button = document.querySelector(\".btn-circle\");\n\n // Check if the button exists\n if (button) {\n // Restore the data-unread attribute if 24 hours have not passed\n var unreadResetTime = localStorage.getItem(\"unreadResetTime\");\n if (unreadResetTime && new Date().getTime() < unreadResetTime) {\n button.removeAttribute(\"data-unread\");\n }\n\n // Add click event listener to the button\n button.addEventListener(\"click\", function () {\n // Remove data-unread attribute and set the reset time in localStorage\n button.removeAttribute(\"data-unread\");\n var resetTime = new Date().getTime() + 24 * 60 * 60 * 1000; // 24 hours from now\n localStorage.setItem(\"unreadResetTime\", resetTime);\n });\n }\n});\n\n//-------------------------------------\n// fade in animation\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const elementsToAnimate = document.querySelectorAll(\".fade-in\");\n\n if (elementsToAnimate.length > 0) {\n const observer = new IntersectionObserver(\n (entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n entry.target.classList.add(\"visible\");\n }\n });\n },\n {\n threshold: 0.3,\n },\n );\n\n elementsToAnimate.forEach((el) => observer.observe(el));\n }\n});\n\n// //pie charts\n// document.addEventListener('DOMContentLoaded', () => {\n// const chart = document.querySelector('.zen-pie-chart');\n// let accumulatedRotation = 0;\n\n// document.querySelectorAll('.zen-pie-chart .zen-slice').forEach(slice => {\n// const percentage = parseFloat(slice.dataset.percentage);\n// const rotation = 360 * (percentage / 100);\n// const sliceRotation = accumulatedRotation + rotation / 2;\n\n// // Set styles and classes for the slice\n// slice.style.transform = `rotate(${sliceRotation}deg)`;\n// slice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// slice.style.backgroundColor = getComputedStyle(slice).backgroundColor;\n// slice.style.opacity = '1';\n\n// // For more than 50%, create an overlay slice to simulate the additional percentage\n// if (percentage > 50) {\n// let overlaySlice = document.createElement('div');\n// overlaySlice.classList.add('zen-slice', 'overlay');\n// overlaySlice.style.backgroundColor = slice.style.backgroundColor;\n// overlaySlice.style.position = 'absolute';\n// overlaySlice.style.width = '100%';\n// overlaySlice.style.height = '100%';\n// overlaySlice.style.transform = `rotate(${sliceRotation + 180}deg)`;\n// overlaySlice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// chart.appendChild(overlaySlice);\n// }\n\n// accumulatedRotation += rotation;\n// });\n// });\n\n//-------------------------------------\n// Pattern Interrupt\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// var modalShown = false;\n// var modal = document.querySelector('.pattern-interrupt');\n// var modal2 = document.querySelector('.modal');\n\n// function showModal() {\n// if (!modal) return; // Exit if no modal found\n\n// // Center the modal in the viewport\n// modal.style.display = 'block';\n// modal2.style.display = 'block';\n// modal.style.position = 'fixed'; // Fixed position\n// modal.style.top = '50%'; // Center vertically\n// modal.style.left = '50%'; // Center horizontally\n// modal.style.transform = 'translate(-50%, -50%)'; // Adjust for modal's dimensions\n\n// modalShown = true;\n// }\n\n// function checkScroll() {\n// if (modalShown) return; // Skip if the modal is already shown\n\n// var scrollPosition = window.pageYOffset || document.documentElement.scrollTop;\n// var totalHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;\n// var scrolledPercentage = (scrollPosition / totalHeight) * 100;\n\n// if (scrolledPercentage > 10) {\n// showModal();\n// }\n// }\n\n// // Attach the scroll event listener only if the modal exists\n// if (modal) {\n// window.addEventListener('scroll', checkScroll);\n// }\n// });\n\n//-------------------------------------\n// Dynamic Navigation\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// const header = document.querySelector('.header-sticky.slide-down');\n// console.log(\"Script running\");\n// if (header) {\n// fetch('../docs/navigation.html') // Assuming navigation.html is in the /docs folder\n// .then(response => response.text())\n// .then(data => {\n// header.innerHTML = data;\n// })\n// .catch(error => console.error('Error loading navigation:', error));\n// }\n// });\n\n// //-------------------------------------\n// // Video Player\n// //-------------------------------------\n\n// class VideoPlayer extends HTMLElement {\n// constructor() {\n// super();\n// const shadowRoot = this.attachShadow({ mode: 'open' });\n\n// const style = document.createElement('style');\n// style.textContent = `\n\n// `;\n\n// const container = document.createElement('div');\n// container.className = 'video-container';\n\n// const video = document.createElement('video');\n// video.className = 'video-player';\n// video.controls = true;\n\n// const src = this.getAttribute('src');\n// if (src) {\n// const source = document.createElement('source');\n// source.src = src;\n// source.type = 'video/mp4';\n// video.appendChild(source);\n// } else {\n// console.error('Video source not provided for .');\n// }\n\n// container.appendChild(video);\n// shadowRoot.appendChild(style);\n// shadowRoot.appendChild(container);\n// }\n// }\n\n// customElements.define('video-player', VideoPlayer);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Toggle Dark Mode Option\n//--------------------------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n function toggleDarkMode() {\n const zenElements = document.querySelectorAll(\".zen\");\n\n zenElements.forEach((element) => {\n element.classList.toggle(\"zen-dark\");\n });\n\n const isDarkModeEnabled = Array.from(zenElements).some((element) =>\n element.classList.contains(\"zen-dark\"),\n );\n localStorage.setItem(\"darkMode\", isDarkModeEnabled);\n }\n\n const toggleButton = document.getElementById(\"toggleDarkMode\");\n if (toggleButton) {\n toggleButton.addEventListener(\"click\", toggleDarkMode);\n }\n\n const storedDarkMode = localStorage.getItem(\"darkMode\");\n if (storedDarkMode === \"true\") {\n const zenElements = document.querySelectorAll(\".zen\");\n zenElements.forEach((element) => {\n element.classList.add(\"zen-dark\");\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var lazyImages = [].slice.call(\n document.querySelectorAll(\".zen img.lazy-load\"),\n );\n\n if (lazyImages.length === 0) {\n //console.log('No lazy-load images found.');\n return;\n }\n\n if (\"IntersectionObserver\" in window) {\n let lazyImageObserver = new IntersectionObserver(function (\n entries,\n observer,\n ) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n let lazyImage = entry.target;\n // Set onload before changing the src\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n lazyImageObserver.unobserve(lazyImage);\n }\n });\n });\n\n lazyImages.forEach(function (lazyImage) {\n lazyImageObserver.observe(lazyImage);\n });\n } else {\n lazyImages.forEach(function (lazyImage) {\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n });\n }\n});\n\n//old depricated - leaving for now to reference to what was done for image gallery\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const images = document.querySelectorAll(\".lazy-load\");\n\n// if (images.length > 0) {\n// const imageObserver = new IntersectionObserver((entries, observer) => {\n// entries.forEach((entry) => {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.setAttribute(\"aria-busy\", \"true\"); // Indicate loading\n// const newSrc = image.getAttribute(\"data-src\");\n\n// // Create a new Image to load in the background\n// const img = new Image();\n// img.onload = function () {\n// image.src = newSrc; // Set src when fully loaded\n// image.removeAttribute(\"aria-busy\"); // Remove loading indication\n// };\n// img.src = newSrc;\n\n// image.classList.remove(\"lazy-load\");\n// observer.unobserve(image);\n// }\n// });\n// });\n\n// images.forEach((image) => {\n// imageObserver.observe(image);\n// });\n// }\n// });\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Background image\n//--------------------------------------------------------\n\nwindow.addEventListener(\"DOMContentLoaded\", function () {\n var imageContainers = document.querySelectorAll(\".image-container\");\n imageContainers.forEach(function (container) {\n var img = container.querySelector(\"img\");\n var imgUrl = img.src;\n container.style.backgroundImage = \"url(\" + imgUrl + \")\";\n container.style.backgroundSize = \"cover\";\n container.style.backgroundPosition = \"center center\";\n img.style.display = \"none\";\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// //--------------------------------------------------------\n// // Mobile Nav\n// //--------------------------------------------------------\n// document.addEventListener(\"DOMContentLoaded\", (event) => {\n// const hamburgerButton = document.getElementById(\"hamburger-button\");\n// const closeButton = document.getElementById(\"close-button\");\n// const nav = document.querySelector(\"nav\");\n// const navLinks = document.querySelectorAll(\".nav-link\");\n\n// const toggleMenu = () => {\n// nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n// };\n\n// if (hamburgerButton && closeButton && nav) {\n// hamburgerButton.addEventListener(\"click\", toggleMenu);\n// closeButton.addEventListener(\"click\", toggleMenu);\n\n// navLinks.forEach((link) => {\n// // link.addEventListener(\"click\", toggleMenu); // Use toggleMenu to close the menu\n// });\n// }\n// });\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const hamburgerButton = document.getElementById(\"hamburger-button-2\");\n const closeButton = document.getElementById(\"close-button\");\n const nav = document.querySelector(\".top-nav\");\n const navLinks = document.querySelectorAll(\".nav-link\");\n\n const toggleMenu = () => {\n nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n };\n\n if (hamburgerButton && closeButton && nav) {\n hamburgerButton.addEventListener(\"click\", toggleMenu);\n closeButton.addEventListener(\"click\", toggleMenu);\n\n navLinks.forEach((link) => {\n link.addEventListener(\"click\", toggleMenu);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/shaunmackey/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Modal\n//--------------------------------------------------------\n\nclass ZModal extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n connectedCallback() {\n this.shadowRoot\n .querySelector(\".close\")\n .addEventListener(\"click\", () => {\n this.close();\n });\n this.shadowRoot\n .querySelector(\".modal\")\n .addEventListener(\"click\", (event) => {\n if (event.target === event.currentTarget) {\n this.close();\n }\n });\n document.addEventListener(\"click\", (event) => {\n if (event.target.classList.contains(\"modal-close\")) {\n this.close();\n }\n\n document.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Escape\") {\n this.close();\n }\n });\n });\n\n const openModalButton = document.querySelector(\".modal-open\");\n if (openModalButton) {\n openModalButton.addEventListener(\"click\", () => {\n this.open();\n });\n }\n }\n\n open() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"flex\";\n }\n\n close() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"none\";\n }\n\n render() {\n this.shadowRoot.innerHTML = `\n \n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n `;\n }\n}\n\ncustomElements.define(\"z-modal\", ZModal);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Star component\n// ----------------------------------------\nclass StarComponent extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n static get observedAttributes() {\n return [\"stars\", \"half\"];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n this.render();\n }\n\n render() {\n const starCount = parseInt(this.getAttribute(\"stars\")) || 1;\n const half = this.getAttribute(\"half\") === \"true\";\n const fragment = document.createDocumentFragment();\n\n for (let i = 0; i < starCount; i++) {\n const starImg = document.createElement(\"img\");\n starImg.src = \"../../img/icons/alerts/star-solid.svg\";\n starImg.alt = \"\";\n starImg.className = \"icon icon-gold\";\n fragment.appendChild(starImg);\n }\n\n if (half && starCount < 5) {\n const halfStarImg = document.createElement(\"img\");\n halfStarImg.src =\n \"../../img/icons/alerts/star-half-stroke-regular.svg\";\n halfStarImg.alt = \"\";\n halfStarImg.className = \"icon icon-gold\";\n fragment.appendChild(halfStarImg);\n }\n\n this.shadowRoot.innerHTML = `\n \n `;\n this.shadowRoot.appendChild(fragment);\n }\n}\n\ncustomElements.define(\"star-component\", StarComponent);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Exit Intent\n// ----------------------------------------\n// Get the modal\nvar modal = document.querySelector(\".exit\");\n\n// Function to show the modal if conditions are met\nfunction tryToShowModal() {\n if (modal && shouldShowModal() && !modalIsDisplayed()) {\n modal.style.display = \"block\";\n }\n}\n\n// Function to hide modal and set a flag in local storage\nfunction closeModal() {\n if (modal) {\n modal.style.display = \"none\";\n // Set the flag in local storage with the current timestamp\n localStorage.setItem(\"modalClosed\", new Date().getTime());\n }\n}\n\n// Check if the modal is currently displayed\nfunction modalIsDisplayed() {\n return modal.style.display === \"block\";\n}\n\n// Get the element that closes the modal\nvar span = document.querySelector(\".close\");\n\n// When the user clicks on (x), close the modal\nif (span) {\n span.onclick = closeModal;\n}\n\n// When the user clicks anywhere outside of the modal, close it\nwindow.onclick = function (event) {\n if (event.target == modal) {\n closeModal();\n }\n};\n\n// Check local storage to see if we should show the modal\nfunction shouldShowModal() {\n var modalClosedTime = localStorage.getItem(\"modalClosed\");\n if (modalClosedTime) {\n var now = new Date();\n var daysPassed =\n (now.getTime() - parseInt(modalClosedTime, 10)) /\n (1000 * 3600 * 24);\n return daysPassed >= 7;\n }\n return true;\n}\n\n// Trigger the modal after 8 seconds if the user hasn't closed it already\nsetTimeout(function () {\n document.addEventListener(\"mousemove\", function (e) {\n if (e.clientY <= 5) {\n tryToShowModal();\n }\n });\n}, 8000);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Wizard\n// ----------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const steps = document.querySelectorAll(\".wizard-step\");\n const navItems = document.querySelectorAll(\".wizard-nav\");\n\n if (steps.length > 0 && navItems.length > 0) {\n let currentStep = 1;\n const totalSteps = steps.length;\n\n function goToStep(stepNumber) {\n steps.forEach((step) => {\n step.style.display = \"none\"; // Hide all steps\n });\n document.getElementById(`step-${stepNumber}`).style.display =\n \"block\"; // Show the desired step\n\n // Update the current class on pagination\n navItems.forEach((item) => {\n if (item.dataset.step == stepNumber.toString()) {\n item.classList.add(\"current\");\n } else {\n item.classList.remove(\"current\");\n }\n });\n }\n\n navItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n e.preventDefault();\n let direction = item.dataset.direction;\n if (direction) {\n if (direction === \"next\" && currentStep < totalSteps) {\n currentStep++;\n } else if (direction === \"prev\" && currentStep > 1) {\n currentStep--;\n }\n } else if (item.dataset.step) {\n currentStep = parseInt(item.dataset.step);\n }\n goToStep(currentStep);\n });\n });\n\n // Initialize the wizard to the first step\n goToStep(currentStep);\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const mswizard = document.querySelector(\".mswizard\");\n if (!mswizard) return;\n const progressBar = mswizard.querySelector(\".mswizard-progress\");\n const currentStepSpan = mswizard.querySelector(\"#current-step\");\n const totalStepsSpan = mswizard.querySelector(\"#total-steps\");\n const progressPercentage = mswizard.querySelector(\".progress-percentage\");\n const steps = mswizard.querySelectorAll(\".mswizard-step\");\n const totalSteps = steps.length;\n totalStepsSpan.textContent = totalSteps;\n progressBar.max = 100;\n\n function updatemswizardStep(stepNumber) {\n steps.forEach((step) => (step.style.display = \"none\"));\n mswizard.querySelector(`#step-${stepNumber}`).style.display = \"block\";\n currentStepSpan.textContent = stepNumber;\n const progressValue = ((stepNumber - 1) / (totalSteps - 1)) * 100;\n progressBar.value = progressValue;\n progressPercentage.textContent = `${Math.round(progressValue)}%`;\n const percentagePosition =\n progressBar.offsetWidth * (progressValue / 100) -\n progressPercentage.offsetWidth / 2;\n progressPercentage.style.left = `${Math.max(0, percentagePosition)}px`;\n progressPercentage.style.visibility =\n progressValue >= 5 ? \"visible\" : \"hidden\";\n }\n\n steps.forEach((step, index) => {\n if (index === totalSteps - 1) return; // No buttons on the last step\n\n const buttonContainer = document.createElement(\"div\");\n buttonContainer.className = \"button-container\";\n\n // Always add the Previous button except on the last step\n const prevButton = document.createElement(\"button\");\n prevButton.textContent = \"Previous\";\n prevButton.className = \"prev-btn\";\n prevButton.setAttribute(\"role\", \"button\");\n prevButton.setAttribute(\"aria-label\", `Go back to step ${index}`);\n if (index === 0) {\n prevButton.disabled = true;\n prevButton.classList.add(\"disabled\");\n } else {\n prevButton.addEventListener(\"click\", () =>\n updatemswizardStep(index),\n );\n }\n buttonContainer.appendChild(prevButton);\n\n // Add the Next/Finish button to all steps except the last\n const nextButton = document.createElement(\"button\");\n nextButton.textContent = index === totalSteps - 2 ? \"Finish\" : \"Next\";\n nextButton.className = \"next-btn\";\n nextButton.setAttribute(\"role\", \"button\");\n nextButton.setAttribute(\"aria-label\", `Go to step ${index + 2}`);\n nextButton.addEventListener(\"click\", () =>\n updatemswizardStep(index + 2),\n );\n buttonContainer.appendChild(nextButton);\n\n step.appendChild(buttonContainer);\n });\n\n updatemswizardStep(1);\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Tabs\n// ----------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const tabs = document.querySelectorAll(\".tab-nav .item\");\n\n if (tabs.length > 0) {\n function removeCurrentClass() {\n tabs.forEach((tab) => {\n tab.classList.remove(\"current\");\n });\n }\n\n function setCurrentClass(event) {\n event.preventDefault();\n removeCurrentClass();\n event.target.classList.add(\"current\");\n }\n\n tabs.forEach((tab) => {\n tab.addEventListener(\"click\", setCurrentClass);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Spin\n//-------------------------------------\n\n// This function will apply the spinning effect to the spinner if it exists\nfunction startSpinning() {\n // Select the spinner element\n var spinner = document.querySelector(\".rotate-spinner\");\n\n // Check if the spinner exists to avoid errors\n if (spinner) {\n // Apply the CSS animation using inline styles\n spinner.style.animation = \"spin 1s linear infinite\";\n }\n}\n\n// This function will start the spinning when the document is loaded, if the spinner exists\ndocument.addEventListener(\"DOMContentLoaded\", startSpinning);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Poll\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var currentStep = 1;\n var results = { a: 0, b: 0, c: 0, d: 0 };\n\n function updateStepDisplay(step) {\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (stepDiv) {\n stepDiv.classList.remove(\"active\");\n });\n document.querySelector(\"#step-\" + step).classList.add(\"active\");\n }\n\n function handleOptionSelect(event) {\n var selectedOption = event.target.value;\n results[selectedOption]++;\n if (currentStep < 4) {\n currentStep++;\n updateStepDisplay(currentStep);\n } else {\n // Call the showResult function immediately after the last selection\n showResult();\n }\n }\n\n function showResult() {\n // Remove the active class from all steps\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (step) {\n step.classList.remove(\"active\");\n });\n\n // Calculate the most chosen answer\n var max = Math.max(...Object.values(results));\n var mostChosenResults = Object.keys(results).filter(function (key) {\n return results[key] === max;\n });\n\n // Take the first result if there's a tie\n var mostChosen = mostChosenResults[0];\n var resultElement = document.querySelector(\n '#result-types [data-result=\"' + mostChosen + '\"]',\n );\n var resultContent = resultElement\n ? resultElement.innerHTML\n : mostChosen;\n\n // Update the result div and make the result visible\n var resultDiv = document.getElementById(\"result-text\");\n if (resultDiv) {\n resultDiv.innerHTML = resultContent;\n }\n var resultContainer = document.getElementById(\"result\");\n if (resultContainer) {\n resultContainer.classList.add(\"active\"); // Ensure this class makes the element visible\n }\n }\n\n // Attaching change event listeners to radio buttons\n var wizard = document.querySelector(\".wizard\");\n if (wizard) {\n var radioButtons = wizard.querySelectorAll('input[type=\"radio\"]');\n radioButtons.forEach(function (radioButton) {\n radioButton.addEventListener(\"change\", handleOptionSelect);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const anchors = document.querySelectorAll('a[href^=\"#\"]');\n\n if (anchors.length > 0) {\n anchors.forEach((anchor) => {\n anchor.addEventListener(\"click\", function (e) {\n const hrefAttribute = this.getAttribute(\"href\");\n\n // Skip processing if href is only '#'\n if (hrefAttribute === \"#\") {\n return;\n }\n\n e.preventDefault();\n const targetElement = document.querySelector(hrefAttribute);\n\n if (targetElement) {\n targetElement.scrollIntoView({ behavior: \"smooth\" });\n }\n });\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const banner = document.querySelector(\".cookie-consent-banner\");\n\n // Check if the banner element exists\n if (banner) {\n const acceptBtn = document.querySelector(\".accept-cookies\");\n banner.style.zIndex = \"1100\";\n\n // Check if cookies are already accepted\n if (!localStorage.getItem(\"cookies-accepted\")) {\n banner.style.display = \"block\"; // Show banner if cookies not accepted\n }\n\n // Event listener for accept button\n if (acceptBtn) {\n acceptBtn.addEventListener(\"click\", () => {\n localStorage.setItem(\"cookies-accepted\", \"true\"); // Set flag in local storage\n banner.style.display = \"none\"; // Hide banner\n });\n }\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Toggle test mode\n//--------------------------------------------------------\n\nvar toggleButton = document.getElementById(\"toggleButton\");\n\nif (toggleButton) {\n toggleButton.addEventListener(\"click\", function () {\n const toggleClassOnElements = (selector, className) => {\n const elements = document.querySelectorAll(selector);\n elements.forEach((element) => {\n element.classList.toggle(className);\n });\n };\n\n const selectorsAndClasses = [\n [\"z-container\", \"z-container-outline-on\"],\n [\"z-container-fluid\", \"z-container-fluid-outline-on\"],\n [\"z-row\", \"z-row-outline-on\"],\n [\"z-col\", \"z-col-outline-on\"],\n [\"p\", \"p-outline-on\"],\n [\"h1\", \"h1-outline-on\"],\n [\"h2\", \"h2-outline-on\"],\n [\"h3\", \"h3-outline-on\"],\n [\"h4\", \"h4-outline-on\"],\n [\"h5\", \"h5-outline-on\"],\n [\"h6\", \"h6-outline-on\"],\n [\".center-line\", \"center-line-outline-on\"],\n ];\n\n selectorsAndClasses.forEach(([selector, className]) => {\n toggleClassOnElements(selector, className);\n });\n });\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/dist/zencss.min.js.map b/dist/zencss.min.js.map index f47c0ac4..32bda724 100644 --- a/dist/zencss.min.js.map +++ b/dist/zencss.min.js.map @@ -1 +1 @@ -{"version":3,"file":"zencss.min.js","mappings":"UAUIA,E,MCCJ,MAAMC,UAAmBC,YACrB,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,cAAeL,GAGrC,MAAMM,UAAaL,YACf,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,QAASC,GAG/B,MAAMC,UAAaN,YACf,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,QAASE,E,KC9B/BC,SAASC,iBAAiB,oBAAoB,KAC1BD,SAASE,iBAAiB,WAElCC,SAASC,IACb,MAAMC,EAAkBD,EAAOE,cAAc,qBACvCC,EAAiBC,MAAMC,KAAKJ,EAAgBK,UAC5CC,EAAsBJ,EAAeK,OACrCC,EAAaT,EAAOE,cAAc,SAClCQ,EAAaV,EAAOE,cAAc,SAClCS,EAC0C,SAA5CX,EAAOY,aAAa,oBAGlBC,EAAkBV,EAAe,GAAGW,WAAU,GAC9CC,EACFZ,EAAeI,EAAsB,GAAGO,WAAU,GACtDb,EAAgBe,aAAaD,EAAgBZ,EAAe,IAC5DF,EAAgBgB,YAAYJ,GAE5B,IAEIK,EAFAC,EAAe,EACfC,GAAkB,EAItB,SAASC,IACDV,IACAO,EAAaI,YAAYC,EAAY,KAE7C,CAGA,SAASC,IACLC,cAAcP,EAClB,CAWA,SAASQ,IACLzB,EAAgB0B,MAAMC,UAAY,eACf,IAAfT,KAER,CAEA,SAASI,IACDH,IACJD,IACAC,GAAkB,EAClBM,IACJ,CAnBAzB,EAAgB0B,MAAME,WAAa,OACnC5B,EAAgB0B,MAAMC,UAAY,eAA8B,IAAfT,MA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iBACP,CAAC,KAAM,iBACP,CAAC,eAAgB,2BAGDE,SAAQ,EAAEuR,EAAUhM,MAtBV,EAACgM,EAAUhM,KACpB1F,SAASE,iBAAiBwR,GAClCvR,SAAS4K,IACdA,EAAQnD,UAAUc,OAAOhD,EAAU,GACrC,EAmBFiM,CAAsBD,EAAUhM,EAAU,GAElD,G","sources":["webpack:///./modules/test-mode.js","webpack:///./modules/custom-elements.js","webpack:///./modules/carousel.js","webpack:///./modules/dropdown.js","webpack:///./modules/image-gallery.js","webpack:///./modules/accordian.js","webpack:///./modules/misc.js","webpack:///./modules/dark-mode.js","webpack:///./modules/lazy-load.js","webpack:///./modules/background-image.js","webpack:///./modules/mobile-nav.js","webpack:///./modules/modal.js","webpack:///./modules/star-component.js","webpack:///./modules/exit-intent.js","webpack:///./modules/wizard.js","webpack:///./modules/multistep-wizard.js","webpack:///./modules/tabs.js","webpack:///./modules/spin.js","webpack:///./modules/poll.js","webpack:///./modules/link-scroll.js","webpack:///./modules/cookie-consent.js"],"sourcesContent":["/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Toggle test mode\n//--------------------------------------------------------\n\nvar toggleButton = document.getElementById(\"toggleButton\");\n\nif (toggleButton) {\n toggleButton.addEventListener(\"click\", function () {\n const toggleClassOnElements = (selector, className) => {\n const elements = document.querySelectorAll(selector);\n elements.forEach((element) => {\n element.classList.toggle(className);\n });\n };\n\n const selectorsAndClasses = [\n [\"z-container\", \"z-container-outline-on\"],\n [\"z-container-fluid\", \"z-container-fluid-outline-on\"],\n [\"z-row\", \"z-row-outline-on\"],\n [\"z-col\", \"z-col-outline-on\"],\n [\"p\", \"p-outline-on\"],\n [\"h1\", \"h1-outline-on\"],\n [\"h2\", \"h2-outline-on\"],\n [\"h3\", \"h3-outline-on\"],\n [\"h4\", \"h4-outline-on\"],\n [\"h5\", \"h5-outline-on\"],\n [\"h6\", \"h6-outline-on\"],\n [\".center-line\", \"center-line-outline-on\"],\n ];\n\n selectorsAndClasses.forEach(([selector, className]) => {\n toggleClassOnElements(selector, className);\n });\n });\n}\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Define zenCSS elements for use in JS\n// ----------------------------------------\n\n// Define z-container custom element\nclass ZContainer extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-container\", ZContainer);\n\n// Define z-row custom element\nclass ZRow extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-row\", ZRow);\n\n// Define z-col custom element\nclass ZCol extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-col\", ZCol);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const sliders = document.querySelectorAll(\".slider\");\n\n sliders.forEach((slider) => {\n const slidesContainer = slider.querySelector(\".slides-container\");\n const originalSlides = Array.from(slidesContainer.children);\n const totalOriginalSlides = originalSlides.length;\n const nextButton = slider.querySelector(\".next\");\n const prevButton = slider.querySelector(\".prev\");\n const shouldAutoRotate =\n slider.getAttribute(\"data-auto-rotate\") === \"true\";\n\n // Clone the first and last slides to create an infinite loop effect\n const firstSlideClone = originalSlides[0].cloneNode(true);\n const lastSlideClone =\n originalSlides[totalOriginalSlides - 1].cloneNode(true);\n slidesContainer.insertBefore(lastSlideClone, originalSlides[0]);\n slidesContainer.appendChild(firstSlideClone);\n\n let currentIndex = 1; // Start from the first original slide (not the clone)\n let isTransitioning = false;\n let autoRotate;\n\n // Function to start auto-rotating\n function startAutoRotate() {\n if (shouldAutoRotate) {\n autoRotate = setInterval(moveToNext, 4000);\n }\n }\n\n // Function to stop auto-rotating\n function stopAutoRotate() {\n clearInterval(autoRotate);\n }\n\n // Initialize position to the first original slide\n slidesContainer.style.transition = \"none\";\n slidesContainer.style.transform = `translateX(-${currentIndex * 100}%)`;\n\n // Re-enable transitions after initial positioning\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n\n function updateSlidePosition() {\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n }\n\n function moveToNext() {\n if (isTransitioning) return;\n currentIndex++;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n function moveToPrev() {\n if (isTransitioning) return;\n currentIndex--;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n slidesContainer.addEventListener(\"transitionend\", () => {\n if (currentIndex >= totalOriginalSlides + 1) {\n slidesContainer.style.transition = \"none\";\n currentIndex = 1;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n } else if (currentIndex === 0) {\n slidesContainer.style.transition = \"none\";\n currentIndex = totalOriginalSlides;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n }\n isTransitioning = false;\n });\n\n nextButton.addEventListener(\"click\", moveToNext);\n prevButton.addEventListener(\"click\", moveToPrev);\n\n // Event listeners to stop/start auto-rotating\n slidesContainer.addEventListener(\"mouseenter\", stopAutoRotate);\n slidesContainer.addEventListener(\"mouseleave\", startAutoRotate);\n nextButton.addEventListener(\"mouseenter\", stopAutoRotate);\n nextButton.addEventListener(\"mouseleave\", startAutoRotate);\n prevButton.addEventListener(\"mouseenter\", stopAutoRotate);\n prevButton.addEventListener(\"mouseleave\", startAutoRotate);\n\n // Start auto-rotating for this slider\n startAutoRotate();\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dropdown\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var dropdownLinks = document.querySelectorAll(\".dropdown .dropdown-link\");\n\n dropdownLinks.forEach(function (link) {\n link.addEventListener(\"click\", function (event) {\n event.preventDefault();\n\n // Toggle the dropdown content visibility\n var dropdownContent = link.nextElementSibling;\n if (dropdownContent.style.display === \"block\") {\n dropdownContent.style.display = \"none\";\n } else {\n // Close all open dropdowns before opening the new one\n closeAllDropdowns();\n dropdownContent.style.display = \"block\";\n }\n });\n });\n});\n\nfunction closeAllDropdowns() {\n var dropdowns = document.querySelectorAll(\".dropdown .dropdown-content\");\n dropdowns.forEach(function (dropdown) {\n dropdown.style.display = \"none\";\n });\n}\n\n// Close all dropdowns when clicking outside\nwindow.onclick = function (event) {\n if (!event.target.matches(\".dropdown-link\")) {\n closeAllDropdowns();\n }\n};\n","// /*\n// * zenCSS v2.0.1-beta (https://zencss.com/)\n// * Copyright 2022-2024 Shaun Mackey\n// * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n// */\n\n//12/29 removing lazy load\n\n/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\nfunction preloadImage(src) {\n const img = new Image();\n img.src = src;\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const gallery = document.querySelector(\".image-gallery\");\n const modal = document.querySelector(\"z-modal\");\n const paginationNav = document.querySelector(\".pagination-nav\");\n\n if (gallery && modal && paginationNav) {\n let currentPage = 1;\n const imagesPerPage = 15;\n let currentModalIndex = 0;\n const imageWrappers = [];\n\n Array.from(gallery.children).forEach((img, index) => {\n const wrapper = document.createElement(\"div\");\n wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n const clonedImg = img.cloneNode(true);\n clonedImg.addEventListener(\"click\", () => {\n currentModalIndex = index;\n openModal(\n clonedImg.src,\n clonedImg.getAttribute(\"data-text\"),\n index,\n );\n });\n wrapper.appendChild(clonedImg);\n imageWrappers.push(wrapper);\n });\n\n const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n function updateImagesForPage(pageNumber) {\n imageWrappers.forEach((wrapper, index) => {\n const start = (pageNumber - 1) * imagesPerPage;\n const end = start + imagesPerPage;\n wrapper.style.display =\n index >= start && index < end ? \"block\" : \"none\";\n });\n }\n\n function updatePaginationNav() {\n paginationNav.innerHTML =\n '«';\n for (let i = 1; i <= totalPages; i++) {\n const classCurrent = i === currentPage ? \"current\" : \"\";\n paginationNav.innerHTML += `${i}`;\n }\n paginationNav.innerHTML +=\n '»';\n }\n\n function openModal(src, text, index) {\n currentModalIndex = index;\n const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n if (modalBody && modalWrapper && modalHeader) {\n const currentWidth = modalWrapper.clientWidth;\n const currentHeight = modalWrapper.clientHeight;\n modalWrapper.style.minWidth = `${currentWidth}px`;\n modalWrapper.style.minHeight = `${currentHeight}px`;\n\n modalBody.innerHTML = \"\";\n const imageContainer = document.createElement(\"div\");\n imageContainer.style.display = \"flex\";\n imageContainer.style.position = \"relative\";\n imageContainer.style.justifyContent = \"center\";\n\n const prevArrow = document.createElement(\"div\");\n prevArrow.className = \"prev arrow theme-dark\";\n prevArrow.innerHTML = \"❮\";\n prevArrow.style.cursor = \"pointer\";\n prevArrow.style.position = \"absolute\";\n prevArrow.style.top = \"50%\";\n prevArrow.style.left = \"7px\";\n prevArrow.style.padding = \"10px\";\n prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n prevArrow.style.transform = \"translateY(-50%)\";\n prevArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex > 0\n ? currentModalIndex - 1\n : imageWrappers.length - 1;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(prevArrow);\n\n const modalImage = document.createElement(\"img\");\n modalImage.onload = () => {\n modalWrapper.style.minWidth = \"\";\n modalWrapper.style.minHeight = \"\";\n };\n modalImage.src = src;\n modalImage.style.maxWidth = \"100%\";\n modalImage.style.maxHeight = \"60vh\";\n modalImage.style.objectFit = \"contain\";\n modalImage.style.margin = \"auto\";\n imageContainer.appendChild(modalImage);\n\n const nextArrow = document.createElement(\"div\");\n nextArrow.className = \"next arrow theme-dark\";\n nextArrow.innerHTML = \"❯\";\n nextArrow.style.cursor = \"pointer\";\n nextArrow.style.position = \"absolute\";\n nextArrow.style.padding = \"10px\";\n nextArrow.style.top = \"50%\";\n nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n nextArrow.style.right = \"7px\";\n nextArrow.style.transform = \"translateY(-50%)\";\n nextArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex < imageWrappers.length - 1\n ? currentModalIndex + 1\n : 0;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(nextArrow);\n\n modalBody.appendChild(imageContainer);\n\n const modalText = document.createElement(\"p\");\n modalText.textContent = text;\n modalText.style.textAlign = \"center\";\n modalBody.appendChild(modalText);\n\n modalBody.style.overflowY = \"auto\";\n modalBody.style.maxHeight = \"80vh\";\n modalHeader.style.display = \"none\";\n\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n const nextIndex = (index + 1) % imageWrappers.length;\n const prevIndex =\n (index - 1 + imageWrappers.length) % imageWrappers.length;\n preloadImage(imageWrappers[nextIndex].firstChild.src);\n preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n modal.open();\n }\n }\n\n paginationNav.addEventListener(\"click\", function (event) {\n event.preventDefault();\n const target = event.target;\n if (target.tagName === \"A\" && target.dataset.page) {\n let newPage = currentPage;\n if (target.dataset.page === \"prev\") {\n newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n } else if (target.dataset.page === \"next\") {\n newPage = currentPage < totalPages ? currentPage + 1 : 1;\n } else {\n newPage = parseInt(target.dataset.page);\n }\n\n if (newPage !== currentPage) {\n currentPage = newPage;\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n }\n });\n\n window.addEventListener(\"resize\", function () {\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n if (modalWrapper) {\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n }\n });\n\n gallery.innerHTML = \"\";\n imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n});\n\n// function preloadImage(src) {\n// const img = new Image();\n// img.src = src;\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const gallery = document.querySelector(\".image-gallery\");\n// const modal = document.querySelector(\"z-modal\");\n// const paginationNav = document.querySelector(\".pagination-nav\");\n\n// if (gallery && modal && paginationNav) {\n// let currentPage = 1;\n// const imagesPerPage = 15;\n// let currentModalIndex = 0;\n// const imageWrappers = [];\n\n// Array.from(gallery.children).forEach((img, index) => {\n// const wrapper = document.createElement(\"div\");\n// wrapper.classList.add(\"lazy-load\"); // using the lazy-load class\n// wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n// const clonedImg = img.cloneNode(true);\n// clonedImg.addEventListener(\"click\", () => {\n// currentModalIndex = index;\n// openModal(\n// clonedImg.src,\n// clonedImg.getAttribute(\"data-text\"),\n// index,\n// );\n// });\n// wrapper.appendChild(clonedImg);\n// imageWrappers.push(wrapper);\n// });\n\n// const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n// function updateImagesForPage(pageNumber) {\n// imageWrappers.forEach((wrapper, index) => {\n// const start = (pageNumber - 1) * imagesPerPage;\n// const end = start + imagesPerPage;\n// wrapper.style.display =\n// index >= start && index < end ? \"block\" : \"none\";\n// });\n// }\n\n// function updatePaginationNav() {\n// paginationNav.innerHTML =\n// '«';\n// for (let i = 1; i <= totalPages; i++) {\n// const classCurrent = i === currentPage ? \"current\" : \"\";\n// paginationNav.innerHTML += `${i}`;\n// }\n// paginationNav.innerHTML +=\n// '»';\n// }\n\n// function openModal(src, text, index) {\n// currentModalIndex = index;\n// const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n// if (modalBody && modalWrapper && modalHeader) {\n// const currentWidth = modalWrapper.clientWidth;\n// const currentHeight = modalWrapper.clientHeight;\n// modalWrapper.style.minWidth = `${currentWidth}px`;\n// modalWrapper.style.minHeight = `${currentHeight}px`;\n\n// modalBody.innerHTML = \"\";\n// const imageContainer = document.createElement(\"div\");\n// imageContainer.style.display = \"flex\";\n// imageContainer.style.position = \"relative\";\n// imageContainer.style.justifyContent = \"center\";\n\n// const prevArrow = document.createElement(\"div\");\n// prevArrow.className = \"prev arrow theme-dark\";\n// prevArrow.innerHTML = \"❮\";\n// prevArrow.style.cursor = \"pointer\";\n// prevArrow.style.position = \"absolute\";\n// prevArrow.style.top = \"50%\";\n// prevArrow.style.left = \"7px\";\n// prevArrow.style.padding = \"10px\";\n// prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// prevArrow.style.transform = \"translateY(-50%)\";\n// prevArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex > 0\n// ? currentModalIndex - 1\n// : imageWrappers.length - 1;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(prevArrow);\n\n// const modalImage = document.createElement(\"img\");\n// modalImage.onload = () => {\n// modalWrapper.style.minWidth = \"\";\n// modalWrapper.style.minHeight = \"\";\n// };\n// modalImage.src = src;\n// modalImage.style.maxWidth = \"100%\";\n// modalImage.style.maxHeight = \"60vh\";\n// modalImage.style.objectFit = \"contain\";\n// modalImage.style.margin = \"auto\";\n// imageContainer.appendChild(modalImage);\n\n// const nextArrow = document.createElement(\"div\");\n// nextArrow.className = \"next arrow theme-dark\";\n// nextArrow.innerHTML = \"❯\";\n// nextArrow.style.cursor = \"pointer\";\n// nextArrow.style.position = \"absolute\";\n// nextArrow.style.padding = \"10px\";\n// nextArrow.style.top = \"50%\";\n// nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// nextArrow.style.right = \"7px\";\n// nextArrow.style.transform = \"translateY(-50%)\";\n// nextArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex < imageWrappers.length - 1\n// ? currentModalIndex + 1\n// : 0;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(nextArrow);\n\n// modalBody.appendChild(imageContainer);\n\n// const modalText = document.createElement(\"p\");\n// modalText.textContent = text;\n// modalText.style.textAlign = \"center\";\n// modalBody.appendChild(modalText);\n\n// modalBody.style.overflowY = \"auto\";\n// modalBody.style.maxHeight = \"80vh\";\n// modalHeader.style.display = \"none\";\n\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n// const nextIndex = (index + 1) % imageWrappers.length;\n// const prevIndex =\n// (index - 1 + imageWrappers.length) % imageWrappers.length;\n// preloadImage(imageWrappers[nextIndex].firstChild.src);\n// preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n// modal.open();\n// }\n// }\n\n// paginationNav.addEventListener(\"click\", function (event) {\n// event.preventDefault();\n// const target = event.target;\n// if (target.tagName === \"A\" && target.dataset.page) {\n// let newPage = currentPage;\n// if (target.dataset.page === \"prev\") {\n// newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n// } else if (target.dataset.page === \"next\") {\n// newPage = currentPage < totalPages ? currentPage + 1 : 1;\n// } else {\n// newPage = parseInt(target.dataset.page);\n// }\n\n// if (newPage !== currentPage) {\n// currentPage = newPage;\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// }\n// });\n\n// window.addEventListener(\"resize\", function () {\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// if (modalWrapper) {\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n// }\n// });\n\n// gallery.innerHTML = \"\";\n// imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// });\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var accordionToggles = document.querySelectorAll(\".accordion-toggle\");\n\n accordionToggles.forEach(function (accordionToggle) {\n accordionToggle.addEventListener(\"click\", function () {\n // Determine if the clicked toggle is being expanded\n var isExpanding = this.getAttribute(\"aria-expanded\") === \"false\";\n\n // Remove active class from all toggles and reset icons\n accordionToggles.forEach(function (otherToggle) {\n otherToggle.classList.remove(\"active-toggle\");\n otherToggle.setAttribute(\"aria-expanded\", \"false\");\n\n var otherIcon = otherToggle.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (otherIcon) {\n otherIcon.classList.remove(\"zenicon-keyboard-arrow-down\");\n otherIcon.classList.add(\"zenicon-keyboard-arrow-right\");\n }\n\n var otherPanel = otherToggle.nextElementSibling;\n otherPanel.style.maxHeight = null;\n otherPanel.setAttribute(\"aria-hidden\", \"true\"); // Hide other panels\n });\n\n // Set the clicked toggle as active if it's expanding\n if (isExpanding) {\n this.classList.add(\"active-toggle\");\n this.setAttribute(\"aria-expanded\", \"true\");\n\n var icon = this.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (icon) {\n icon.classList.remove(\"zenicon-keyboard-arrow-right\");\n icon.classList.add(\"zenicon-keyboard-arrow-down\");\n }\n\n var panel = this.nextElementSibling;\n panel.style.maxHeight =\n panel.scrollHeight > 200\n ? \"1000px\"\n : panel.scrollHeight + 10 + \"px\";\n panel.setAttribute(\"aria-hidden\", \"false\"); // Show the current panel\n }\n });\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dynamic year in footer\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const yearSpan = document.getElementById(\"current-year\");\n if (yearSpan) {\n const currentYear = new Date().getFullYear();\n yearSpan.textContent = currentYear;\n }\n});\n\n//-------------------------------------\n// icon toggle\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var iconToggles = document.querySelectorAll(\".icon-toggle\");\n\n iconToggles.forEach(function (toggle) {\n toggle.addEventListener(\"click\", function () {\n var iconOff = this.querySelector(\".icon-off\");\n var iconOn = this.querySelector(\".icon-on\");\n\n // Toggle the 'show' class\n iconOff.classList.toggle(\"show\");\n iconOn.classList.toggle(\"show\");\n });\n });\n});\n\n// New stuff here after modules were created. If we need to revert, include this stuff.\ndocument.querySelectorAll(\".accordion-toggle\").forEach((item) => {\n item.addEventListener(\"click\", (event) => {\n event.preventDefault();\n\n const contentId = item.getAttribute(\"aria-controls\");\n const content = document.getElementById(contentId);\n\n // Close other expanded contents\n document.querySelectorAll(\".expanded-content\").forEach((el) => {\n if (el.id !== contentId) {\n el.classList.remove(\"show\");\n el.style.overflowY = \"hidden\";\n }\n });\n\n // Toggle current content\n content.classList.toggle(\"show\");\n\n setTimeout(() => {\n if (content.scrollHeight > content.clientHeight) {\n content.style.overflowY = \"auto\";\n } else {\n content.style.overflowY = \"hidden\";\n }\n }, 500);\n });\n});\n\n//-------------------------------------\n// Corner Popup\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var cornerPopup = document.querySelector(\".corner-popup\");\n\n if (cornerPopup) {\n var button = cornerPopup.querySelector(\"button\");\n var popup = cornerPopup.querySelector(\"div\");\n\n popup.classList.add(\"card\");\n\n button.addEventListener(\"click\", function () {\n popup.classList.toggle(\"hidden\");\n console.log(\"Button clicked\");\n });\n }\n});\n\n//-------------------------------------\n// Responsive Table\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n // Function to apply data labels to a table\n function applyDataLabelsToTable(table) {\n // Get all the headers from the direct child thead of the table\n const headers = Array.from(\n table.querySelectorAll(\":scope > thead > tr > th\"),\n ).map((th) => th.textContent.trim());\n\n // Iterate over each row in the direct child tbody of the table\n table.querySelectorAll(\":scope > tbody > tr\").forEach((row) => {\n // Get all cells (td) in this row\n row.querySelectorAll(\":scope > td\").forEach((cell, index) => {\n // Assign the corresponding header text to the data-label attribute of the cell\n if (headers[index]) {\n cell.setAttribute(\"data-label\", headers[index]);\n }\n });\n });\n }\n\n // Select all tables with class 'responsive-table' and apply data labels to each\n document\n .querySelectorAll(\".responsive-table\")\n .forEach(applyDataLabelsToTable);\n});\n\n//-------------------------------------\n// Lazy Load Test - WIP\n//-------------------------------------\n\n// document.addEventListener(\"DOMContentLoaded\", function() {\n// const lazyLoadImages = document.querySelectorAll(\"img.lazy-load\");\n\n// if (lazyLoadImages.length > 0) {\n// const imageObserver = new IntersectionObserver(function(entries, observer) {\n// entries.forEach(function(entry) {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.src = image.dataset.src;\n// image.classList.remove(\"lazy-load\");\n// imageObserver.unobserve(image);\n// }\n// });\n// });\n\n// lazyLoadImages.forEach(function(image) {\n// imageObserver.observe(image);\n// });\n// }\n// });\n\n//-------------------------------------\n// Tabbed Card\n//-------------------------------------\n\n// function showTab(tabNumber) {\n// const tabbedCard = document.querySelector(\".tabbed-card\");\n// if (tabbedCard) {\n// const tabs = tabbedCard.querySelectorAll(\".tab\");\n// const tabContents = tabbedCard.querySelectorAll(\".tab-content\");\n\n// if (tabs.length && tabContents.length) {\n// tabs.forEach((tab, index) => {\n// if (index + 1 === tabNumber) {\n// tab.classList.add(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.add(\"active\");\n// }\n// } else {\n// tab.classList.remove(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.remove(\"active\");\n// }\n// }\n// });\n// }\n// }\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const tabs = document.querySelectorAll(\".tab\");\n// if (tabs.length) {\n// tabs.forEach((tab) => {\n// tab.addEventListener(\"click\", function () {\n// const tabNumber = parseInt(tab.getAttribute(\"data-tab\"));\n// showTab(tabNumber);\n// });\n// });\n// }\n// });\n\n//-------------------------------------\n// side menus\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n // Select all the menu items\n const menuItems = document.querySelectorAll(\".nav-menu li\");\n\n // Only proceed if menu items exist\n if (menuItems.length) {\n menuItems.forEach((item) => {\n // Add click event listener to each menu item\n item.addEventListener(\"click\", function () {\n // Remove the 'active' class from all items\n menuItems.forEach((i) => i.classList.remove(\"active\"));\n\n // Add the 'active' class to the clicked item\n this.classList.add(\"active\");\n });\n });\n }\n});\n\n//-------------------------------------\n// unread notifications\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var button = document.querySelector(\".btn-circle\");\n\n // Check if the button exists\n if (button) {\n // Restore the data-unread attribute if 24 hours have not passed\n var unreadResetTime = localStorage.getItem(\"unreadResetTime\");\n if (unreadResetTime && new Date().getTime() < unreadResetTime) {\n button.removeAttribute(\"data-unread\");\n }\n\n // Add click event listener to the button\n button.addEventListener(\"click\", function () {\n // Remove data-unread attribute and set the reset time in localStorage\n button.removeAttribute(\"data-unread\");\n var resetTime = new Date().getTime() + 24 * 60 * 60 * 1000; // 24 hours from now\n localStorage.setItem(\"unreadResetTime\", resetTime);\n });\n }\n});\n\n//-------------------------------------\n// fade in animation\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const elementsToAnimate = document.querySelectorAll(\".fade-in\");\n\n if (elementsToAnimate.length > 0) {\n const observer = new IntersectionObserver(\n (entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n entry.target.classList.add(\"visible\");\n }\n });\n },\n {\n threshold: 0.3,\n },\n );\n\n elementsToAnimate.forEach((el) => observer.observe(el));\n }\n});\n\n// //pie charts\n// document.addEventListener('DOMContentLoaded', () => {\n// const chart = document.querySelector('.zen-pie-chart');\n// let accumulatedRotation = 0;\n\n// document.querySelectorAll('.zen-pie-chart .zen-slice').forEach(slice => {\n// const percentage = parseFloat(slice.dataset.percentage);\n// const rotation = 360 * (percentage / 100);\n// const sliceRotation = accumulatedRotation + rotation / 2;\n\n// // Set styles and classes for the slice\n// slice.style.transform = `rotate(${sliceRotation}deg)`;\n// slice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// slice.style.backgroundColor = getComputedStyle(slice).backgroundColor;\n// slice.style.opacity = '1';\n\n// // For more than 50%, create an overlay slice to simulate the additional percentage\n// if (percentage > 50) {\n// let overlaySlice = document.createElement('div');\n// overlaySlice.classList.add('zen-slice', 'overlay');\n// overlaySlice.style.backgroundColor = slice.style.backgroundColor;\n// overlaySlice.style.position = 'absolute';\n// overlaySlice.style.width = '100%';\n// overlaySlice.style.height = '100%';\n// overlaySlice.style.transform = `rotate(${sliceRotation + 180}deg)`;\n// overlaySlice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// chart.appendChild(overlaySlice);\n// }\n\n// accumulatedRotation += rotation;\n// });\n// });\n\n//-------------------------------------\n// Pattern Interrupt\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// var modalShown = false;\n// var modal = document.querySelector('.pattern-interrupt');\n// var modal2 = document.querySelector('.modal');\n\n// function showModal() {\n// if (!modal) return; // Exit if no modal found\n\n// // Center the modal in the viewport\n// modal.style.display = 'block';\n// modal2.style.display = 'block';\n// modal.style.position = 'fixed'; // Fixed position\n// modal.style.top = '50%'; // Center vertically\n// modal.style.left = '50%'; // Center horizontally\n// modal.style.transform = 'translate(-50%, -50%)'; // Adjust for modal's dimensions\n\n// modalShown = true;\n// }\n\n// function checkScroll() {\n// if (modalShown) return; // Skip if the modal is already shown\n\n// var scrollPosition = window.pageYOffset || document.documentElement.scrollTop;\n// var totalHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;\n// var scrolledPercentage = (scrollPosition / totalHeight) * 100;\n\n// if (scrolledPercentage > 10) {\n// showModal();\n// }\n// }\n\n// // Attach the scroll event listener only if the modal exists\n// if (modal) {\n// window.addEventListener('scroll', checkScroll);\n// }\n// });\n\n//-------------------------------------\n// Dynamic Navigation\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// const header = document.querySelector('.header-sticky.slide-down');\n// console.log(\"Script running\");\n// if (header) {\n// fetch('../docs/navigation.html') // Assuming navigation.html is in the /docs folder\n// .then(response => response.text())\n// .then(data => {\n// header.innerHTML = data;\n// })\n// .catch(error => console.error('Error loading navigation:', error));\n// }\n// });\n\n// //-------------------------------------\n// // Video Player\n// //-------------------------------------\n\n// class VideoPlayer extends HTMLElement {\n// constructor() {\n// super();\n// const shadowRoot = this.attachShadow({ mode: 'open' });\n\n// const style = document.createElement('style');\n// style.textContent = `\n\n// `;\n\n// const container = document.createElement('div');\n// container.className = 'video-container';\n\n// const video = document.createElement('video');\n// video.className = 'video-player';\n// video.controls = true;\n\n// const src = this.getAttribute('src');\n// if (src) {\n// const source = document.createElement('source');\n// source.src = src;\n// source.type = 'video/mp4';\n// video.appendChild(source);\n// } else {\n// console.error('Video source not provided for .');\n// }\n\n// container.appendChild(video);\n// shadowRoot.appendChild(style);\n// shadowRoot.appendChild(container);\n// }\n// }\n\n// customElements.define('video-player', VideoPlayer);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Toggle Dark Mode Option\n//--------------------------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n function toggleDarkMode() {\n const zenElements = document.querySelectorAll(\".zen\");\n\n zenElements.forEach((element) => {\n element.classList.toggle(\"zen-dark\");\n });\n\n const isDarkModeEnabled = Array.from(zenElements).some((element) =>\n element.classList.contains(\"zen-dark\"),\n );\n localStorage.setItem(\"darkMode\", isDarkModeEnabled);\n }\n\n const toggleButton = document.getElementById(\"toggleDarkMode\");\n if (toggleButton) {\n toggleButton.addEventListener(\"click\", toggleDarkMode);\n }\n\n const storedDarkMode = localStorage.getItem(\"darkMode\");\n if (storedDarkMode === \"true\") {\n const zenElements = document.querySelectorAll(\".zen\");\n zenElements.forEach((element) => {\n element.classList.add(\"zen-dark\");\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var lazyImages = [].slice.call(\n document.querySelectorAll(\".zen img.lazy-load\"),\n );\n\n if (lazyImages.length === 0) {\n //console.log('No lazy-load images found.');\n return;\n }\n\n if (\"IntersectionObserver\" in window) {\n let lazyImageObserver = new IntersectionObserver(function (\n entries,\n observer,\n ) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n let lazyImage = entry.target;\n // Set onload before changing the src\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n lazyImageObserver.unobserve(lazyImage);\n }\n });\n });\n\n lazyImages.forEach(function (lazyImage) {\n lazyImageObserver.observe(lazyImage);\n });\n } else {\n lazyImages.forEach(function (lazyImage) {\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n });\n }\n});\n\n//old depricated - leaving for now to reference to what was done for image gallery\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const images = document.querySelectorAll(\".lazy-load\");\n\n// if (images.length > 0) {\n// const imageObserver = new IntersectionObserver((entries, observer) => {\n// entries.forEach((entry) => {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.setAttribute(\"aria-busy\", \"true\"); // Indicate loading\n// const newSrc = image.getAttribute(\"data-src\");\n\n// // Create a new Image to load in the background\n// const img = new Image();\n// img.onload = function () {\n// image.src = newSrc; // Set src when fully loaded\n// image.removeAttribute(\"aria-busy\"); // Remove loading indication\n// };\n// img.src = newSrc;\n\n// image.classList.remove(\"lazy-load\");\n// observer.unobserve(image);\n// }\n// });\n// });\n\n// images.forEach((image) => {\n// imageObserver.observe(image);\n// });\n// }\n// });\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Background image\n//--------------------------------------------------------\n\nwindow.addEventListener(\"DOMContentLoaded\", function () {\n var imageContainers = document.querySelectorAll(\".image-container\");\n imageContainers.forEach(function (container) {\n var img = container.querySelector(\"img\");\n var imgUrl = img.src;\n container.style.backgroundImage = \"url(\" + imgUrl + \")\";\n container.style.backgroundSize = \"cover\";\n container.style.backgroundPosition = \"center center\";\n img.style.display = \"none\";\n });\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// //--------------------------------------------------------\n// // Mobile Nav\n// //--------------------------------------------------------\n// document.addEventListener(\"DOMContentLoaded\", (event) => {\n// const hamburgerButton = document.getElementById(\"hamburger-button\");\n// const closeButton = document.getElementById(\"close-button\");\n// const nav = document.querySelector(\"nav\");\n// const navLinks = document.querySelectorAll(\".nav-link\");\n\n// const toggleMenu = () => {\n// nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n// };\n\n// if (hamburgerButton && closeButton && nav) {\n// hamburgerButton.addEventListener(\"click\", toggleMenu);\n// closeButton.addEventListener(\"click\", toggleMenu);\n\n// navLinks.forEach((link) => {\n// // link.addEventListener(\"click\", toggleMenu); // Use toggleMenu to close the menu\n// });\n// }\n// });\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const hamburgerButton = document.getElementById(\"hamburger-button-2\");\n const closeButton = document.getElementById(\"close-button\");\n const nav = document.querySelector(\".top-nav\");\n const navLinks = document.querySelectorAll(\".nav-link\");\n\n const toggleMenu = () => {\n nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n };\n\n if (hamburgerButton && closeButton && nav) {\n hamburgerButton.addEventListener(\"click\", toggleMenu);\n closeButton.addEventListener(\"click\", toggleMenu);\n\n navLinks.forEach((link) => {\n link.addEventListener(\"click\", toggleMenu);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/shaunmackey/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Modal\n//--------------------------------------------------------\n\nclass ZModal extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n connectedCallback() {\n this.shadowRoot\n .querySelector(\".close\")\n .addEventListener(\"click\", () => {\n this.close();\n });\n this.shadowRoot\n .querySelector(\".modal\")\n .addEventListener(\"click\", (event) => {\n if (event.target === event.currentTarget) {\n this.close();\n }\n });\n document.addEventListener(\"click\", (event) => {\n if (event.target.classList.contains(\"modal-close\")) {\n this.close();\n }\n\n document.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Escape\") {\n this.close();\n }\n });\n });\n\n const openModalButton = document.querySelector(\".modal-open\");\n if (openModalButton) {\n openModalButton.addEventListener(\"click\", () => {\n this.open();\n });\n }\n }\n\n open() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"flex\";\n }\n\n close() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"none\";\n }\n\n render() {\n this.shadowRoot.innerHTML = `\n \n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n `;\n }\n}\n\ncustomElements.define(\"z-modal\", ZModal);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Star component\n// ----------------------------------------\nclass StarComponent extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n static get observedAttributes() {\n return [\"stars\", \"half\"];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n this.render();\n }\n\n render() {\n const starCount = parseInt(this.getAttribute(\"stars\")) || 1;\n const half = this.getAttribute(\"half\") === \"true\";\n const fragment = document.createDocumentFragment();\n\n for (let i = 0; i < starCount; i++) {\n const starImg = document.createElement(\"img\");\n starImg.src = \"../../img/icons/alerts/star-solid.svg\";\n starImg.alt = \"\";\n starImg.className = \"icon icon-gold\";\n fragment.appendChild(starImg);\n }\n\n if (half && starCount < 5) {\n const halfStarImg = document.createElement(\"img\");\n halfStarImg.src =\n \"../../img/icons/alerts/star-half-stroke-regular.svg\";\n halfStarImg.alt = \"\";\n halfStarImg.className = \"icon icon-gold\";\n fragment.appendChild(halfStarImg);\n }\n\n this.shadowRoot.innerHTML = `\n \n `;\n this.shadowRoot.appendChild(fragment);\n }\n}\n\ncustomElements.define(\"star-component\", StarComponent);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Exit Intent\n// ----------------------------------------\n// Get the modal\nvar modal = document.querySelector(\".exit\");\n\n// Function to show the modal if conditions are met\nfunction tryToShowModal() {\n if (modal && shouldShowModal() && !modalIsDisplayed()) {\n modal.style.display = \"block\";\n }\n}\n\n// Function to hide modal and set a flag in local storage\nfunction closeModal() {\n if (modal) {\n modal.style.display = \"none\";\n // Set the flag in local storage with the current timestamp\n localStorage.setItem(\"modalClosed\", new Date().getTime());\n }\n}\n\n// Check if the modal is currently displayed\nfunction modalIsDisplayed() {\n return modal.style.display === \"block\";\n}\n\n// Get the element that closes the modal\nvar span = document.querySelector(\".close\");\n\n// When the user clicks on (x), close the modal\nif (span) {\n span.onclick = closeModal;\n}\n\n// When the user clicks anywhere outside of the modal, close it\nwindow.onclick = function (event) {\n if (event.target == modal) {\n closeModal();\n }\n};\n\n// Check local storage to see if we should show the modal\nfunction shouldShowModal() {\n var modalClosedTime = localStorage.getItem(\"modalClosed\");\n if (modalClosedTime) {\n var now = new Date();\n var daysPassed =\n (now.getTime() - parseInt(modalClosedTime, 10)) /\n (1000 * 3600 * 24);\n return daysPassed >= 7;\n }\n return true;\n}\n\n// Trigger the modal after 8 seconds if the user hasn't closed it already\nsetTimeout(function () {\n document.addEventListener(\"mousemove\", function (e) {\n if (e.clientY <= 5) {\n tryToShowModal();\n }\n });\n}, 8000);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Wizard\n// ----------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const steps = document.querySelectorAll(\".wizard-step\");\n const navItems = document.querySelectorAll(\".wizard-nav\");\n\n if (steps.length > 0 && navItems.length > 0) {\n let currentStep = 1;\n const totalSteps = steps.length;\n\n function goToStep(stepNumber) {\n steps.forEach((step) => {\n step.style.display = \"none\"; // Hide all steps\n });\n document.getElementById(`step-${stepNumber}`).style.display =\n \"block\"; // Show the desired step\n\n // Update the current class on pagination\n navItems.forEach((item) => {\n if (item.dataset.step == stepNumber.toString()) {\n item.classList.add(\"current\");\n } else {\n item.classList.remove(\"current\");\n }\n });\n }\n\n navItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n e.preventDefault();\n let direction = item.dataset.direction;\n if (direction) {\n if (direction === \"next\" && currentStep < totalSteps) {\n currentStep++;\n } else if (direction === \"prev\" && currentStep > 1) {\n currentStep--;\n }\n } else if (item.dataset.step) {\n currentStep = parseInt(item.dataset.step);\n }\n goToStep(currentStep);\n });\n });\n\n // Initialize the wizard to the first step\n goToStep(currentStep);\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const mswizard = document.querySelector(\".mswizard\");\n if (!mswizard) return;\n const progressBar = mswizard.querySelector(\".mswizard-progress\");\n const currentStepSpan = mswizard.querySelector(\"#current-step\");\n const totalStepsSpan = mswizard.querySelector(\"#total-steps\");\n const progressPercentage = mswizard.querySelector(\".progress-percentage\");\n const steps = mswizard.querySelectorAll(\".mswizard-step\");\n const totalSteps = steps.length;\n totalStepsSpan.textContent = totalSteps;\n progressBar.max = 100;\n\n function updatemswizardStep(stepNumber) {\n steps.forEach((step) => (step.style.display = \"none\"));\n mswizard.querySelector(`#step-${stepNumber}`).style.display = \"block\";\n currentStepSpan.textContent = stepNumber;\n const progressValue = ((stepNumber - 1) / (totalSteps - 1)) * 100;\n progressBar.value = progressValue;\n progressPercentage.textContent = `${Math.round(progressValue)}%`;\n const percentagePosition =\n progressBar.offsetWidth * (progressValue / 100) -\n progressPercentage.offsetWidth / 2;\n progressPercentage.style.left = `${Math.max(0, percentagePosition)}px`;\n progressPercentage.style.visibility =\n progressValue >= 5 ? \"visible\" : \"hidden\";\n }\n\n steps.forEach((step, index) => {\n if (index === totalSteps - 1) return; // No buttons on the last step\n\n const buttonContainer = document.createElement(\"div\");\n buttonContainer.className = \"button-container\";\n\n // Always add the Previous button except on the last step\n const prevButton = document.createElement(\"button\");\n prevButton.textContent = \"Previous\";\n prevButton.className = \"prev-btn\";\n prevButton.setAttribute(\"role\", \"button\");\n prevButton.setAttribute(\"aria-label\", `Go back to step ${index}`);\n if (index === 0) {\n prevButton.disabled = true;\n prevButton.classList.add(\"disabled\");\n } else {\n prevButton.addEventListener(\"click\", () =>\n updatemswizardStep(index),\n );\n }\n buttonContainer.appendChild(prevButton);\n\n // Add the Next/Finish button to all steps except the last\n const nextButton = document.createElement(\"button\");\n nextButton.textContent = index === totalSteps - 2 ? \"Finish\" : \"Next\";\n nextButton.className = \"next-btn\";\n nextButton.setAttribute(\"role\", \"button\");\n nextButton.setAttribute(\"aria-label\", `Go to step ${index + 2}`);\n nextButton.addEventListener(\"click\", () =>\n updatemswizardStep(index + 2),\n );\n buttonContainer.appendChild(nextButton);\n\n step.appendChild(buttonContainer);\n });\n\n updatemswizardStep(1);\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Tabs\n// ----------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const tabs = document.querySelectorAll(\".tab-nav .item\");\n\n if (tabs.length > 0) {\n function removeCurrentClass() {\n tabs.forEach((tab) => {\n tab.classList.remove(\"current\");\n });\n }\n\n function setCurrentClass(event) {\n event.preventDefault();\n removeCurrentClass();\n event.target.classList.add(\"current\");\n }\n\n tabs.forEach((tab) => {\n tab.addEventListener(\"click\", setCurrentClass);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Spin\n//-------------------------------------\n\n// This function will apply the spinning effect to the spinner if it exists\nfunction startSpinning() {\n // Select the spinner element\n var spinner = document.querySelector(\".rotate-spinner\");\n\n // Check if the spinner exists to avoid errors\n if (spinner) {\n // Apply the CSS animation using inline styles\n spinner.style.animation = \"spin 1s linear infinite\";\n }\n}\n\n// This function will start the spinning when the document is loaded, if the spinner exists\ndocument.addEventListener(\"DOMContentLoaded\", startSpinning);\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Poll\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var currentStep = 1;\n var results = { a: 0, b: 0, c: 0, d: 0 };\n\n function updateStepDisplay(step) {\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (stepDiv) {\n stepDiv.classList.remove(\"active\");\n });\n document.querySelector(\"#step-\" + step).classList.add(\"active\");\n }\n\n function handleOptionSelect(event) {\n var selectedOption = event.target.value;\n results[selectedOption]++;\n if (currentStep < 4) {\n currentStep++;\n updateStepDisplay(currentStep);\n } else {\n // Call the showResult function immediately after the last selection\n showResult();\n }\n }\n\n function showResult() {\n // Remove the active class from all steps\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (step) {\n step.classList.remove(\"active\");\n });\n\n // Calculate the most chosen answer\n var max = Math.max(...Object.values(results));\n var mostChosenResults = Object.keys(results).filter(function (key) {\n return results[key] === max;\n });\n\n // Take the first result if there's a tie\n var mostChosen = mostChosenResults[0];\n var resultElement = document.querySelector(\n '#result-types [data-result=\"' + mostChosen + '\"]',\n );\n var resultContent = resultElement\n ? resultElement.innerHTML\n : mostChosen;\n\n // Update the result div and make the result visible\n var resultDiv = document.getElementById(\"result-text\");\n if (resultDiv) {\n resultDiv.innerHTML = resultContent;\n }\n var resultContainer = document.getElementById(\"result\");\n if (resultContainer) {\n resultContainer.classList.add(\"active\"); // Ensure this class makes the element visible\n }\n }\n\n // Attaching change event listeners to radio buttons\n var wizard = document.querySelector(\".wizard\");\n if (wizard) {\n var radioButtons = wizard.querySelectorAll('input[type=\"radio\"]');\n radioButtons.forEach(function (radioButton) {\n radioButton.addEventListener(\"change\", handleOptionSelect);\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const anchors = document.querySelectorAll('a[href^=\"#\"]');\n\n if (anchors.length > 0) {\n anchors.forEach((anchor) => {\n anchor.addEventListener(\"click\", function (e) {\n const hrefAttribute = this.getAttribute(\"href\");\n\n // Skip processing if href is only '#'\n if (hrefAttribute === \"#\") {\n return;\n }\n\n e.preventDefault();\n const targetElement = document.querySelector(hrefAttribute);\n\n if (targetElement) {\n targetElement.scrollIntoView({ behavior: \"smooth\" });\n }\n });\n });\n }\n});\n","/*\n * zenCSS v2.0.1-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const banner = document.querySelector(\".cookie-consent-banner\");\n\n // Check if the banner element exists\n if (banner) {\n const acceptBtn = document.querySelector(\".accept-cookies\");\n banner.style.zIndex = \"1100\";\n\n // Check if cookies are already accepted\n if (!localStorage.getItem(\"cookies-accepted\")) {\n banner.style.display = \"block\"; // Show banner if cookies not accepted\n }\n\n // Event listener for accept button\n if (acceptBtn) {\n acceptBtn.addEventListener(\"click\", () => {\n localStorage.setItem(\"cookies-accepted\", \"true\"); // Set flag in local storage\n banner.style.display = \"none\"; // Hide banner\n });\n }\n }\n});\n"],"names":["toggleButton","ZContainer","HTMLElement","constructor","super","customElements","define","ZRow","ZCol","document","addEventListener","querySelectorAll","forEach","slider","slidesContainer","querySelector","originalSlides","Array","from","children","totalOriginalSlides","length","nextButton","prevButton","shouldAutoRotate","getAttribute","firstSlideClone","cloneNode","lastSlideClone","insertBefore","appendChild","autoRotate","currentIndex","isTransitioning","startAutoRotate","setInterval","moveToNext","stopAutoRotate","clearInterval","updateSlidePosition","style","transform","transition","setTimeout","closeAllDropdowns","dropdown","display","link","event","preventDefault","dropdownContent","nextElementSibling","window","onclick","target","matches","preloadImage","src","Image","gallery","modal","paginationNav","currentPage","imagesPerPage","currentModalIndex","imageWrappers","img","index","wrapper","createElement","clonedImg","openModal","push","totalPages","Math","ceil","updateImagesForPage","pageNumber","start","end","updatePaginationNav","innerHTML","i","classCurrent","text","modalBody","shadowRoot","modalWrapper","modalHeader","currentWidth","clientWidth","currentHeight","clientHeight","minWidth","minHeight","imageContainer","position","justifyContent","prevArrow","className","cursor","top","left","padding","backgroundColor","newImg","firstChild","modalImage","onload","maxWidth","maxHeight","objectFit","margin","nextArrow","right","modalText","textContent","textAlign","overflowY","innerWidth","nextIndex","prevIndex","open","tagName","dataset","page","newPage","parseInt","accordionToggles","accordionToggle","isExpanding","this","otherToggle","classList","remove","setAttribute","otherIcon","add","otherPanel","icon","panel","scrollHeight","yearSpan","getElementById","currentYear","Date","getFullYear","toggle","iconOff","iconOn","item","contentId","content","el","id","cornerPopup","button","popup","console","log","table","headers","map","th","trim","row","cell","menuItems","unreadResetTime","localStorage","getItem","getTime","removeAttribute","resetTime","setItem","elementsToAnimate","observer","IntersectionObserver","entries","entry","isIntersecting","threshold","observe","zenElements","element","isDarkModeEnabled","some","contains","lazyImages","slice","call","lazyImageObserver","lazyImage","unobserve","container","imgUrl","backgroundImage","backgroundSize","backgroundPosition","hamburgerButton","closeButton","nav","navLinks","toggleMenu","ZModal","attachShadow","mode","render","connectedCallback","close","currentTarget","key","openModalButton","StarComponent","observedAttributes","attributeChangedCallback","name","oldValue","newValue","starCount","half","fragment","createDocumentFragment","starImg","alt","halfStarImg","tryToShowModal","modalClosedTime","shouldShowModal","closeModal","span","e","clientY","steps","navItems","currentStep","totalSteps","goToStep","stepNumber","step","toString","direction","mswizard","progressBar","currentStepSpan","totalStepsSpan","progressPercentage","updatemswizardStep","progressValue","value","round","percentagePosition","offsetWidth","max","visibility","buttonContainer","disabled","tabs","setCurrentClass","tab","spinner","animation","results","a","b","c","d","handleOptionSelect","selectedOption","stepDiv","Object","values","mostChosen","keys","filter","resultElement","resultContent","resultDiv","resultContainer","showResult","wizard","radioButton","anchors","anchor","hrefAttribute","targetElement","scrollIntoView","behavior","banner","acceptBtn","zIndex","selector","toggleClassOnElements"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"zencss.min.js","mappings":"UAUIA,E,MCCJ,MAAMC,UAAmBC,YACrB,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,cAAeL,GAGrC,MAAMM,UAAaL,YACf,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,QAASC,GAG/B,MAAMC,UAAaN,YACf,WAAAC,GACIC,OACJ,EAGJC,eAAeC,OAAO,QAASE,E,KC9B/BC,SAASC,iBAAiB,oBAAoB,KAC1BD,SAASE,iBAAiB,WAElCC,SAASC,IACb,MAAMC,EAAkBD,EAAOE,cAAc,qBACvCC,EAAiBC,MAAMC,KAAKJ,EAAgBK,UAC5CC,EAAsBJ,EAAeK,OACrCC,EAAaT,EAAOE,cAAc,SAClCQ,EAAaV,EAAOE,cAAc,SAClCS,EAC0C,SAA5CX,EAAOY,aAAa,oBAGlBC,EAAkBV,EAAe,GAAGW,WAAU,GAC9CC,EACFZ,EAAeI,EAAsB,GAAGO,WAAU,GACtDb,EAAgBe,aAAaD,EAAgBZ,EAAe,IAC5DF,EAAgBgB,YAAYJ,GAE5B,IAEIK,EAF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zCkH,EAAOxP,MAAMM,QAAU,MAAM,GAGzC,MpBhBA9C,EAAeS,SAASsI,eAAe,kBAGvC/I,EAAaU,iBAAiB,SAAS,WAQP,CACxB,CAAC,cAAe,0BAChB,CAAC,oBAAqB,gCACtB,CAAC,QAAS,oBACV,CAAC,QAAS,oBACV,CAAC,IAAK,gBACN,CAAC,KAAM,iBACP,CAAC,KAAM,iBACP,CAAC,KAAM,iBACP,CAAC,KAAM,iBACP,CAAC,KAAM,iBACP,CAAC,KAAM,iBACP,CAAC,eAAgB,2BAGDE,SAAQ,EAAEuR,EAAUhM,MAtBV,EAACgM,EAAUhM,KACpB1F,SAASE,iBAAiBwR,GAClCvR,SAAS4K,IACdA,EAAQnD,UAAUc,OAAOhD,EAAU,GACrC,EAmBFiM,CAAsBD,EAAUhM,EAAU,GAElD,G","sources":["webpack:///./modules/test-mode.js","webpack:///./modules/custom-elements.js","webpack:///./modules/carousel.js","webpack:///./modules/dropdown.js","webpack:///./modules/image-gallery.js","webpack:///./modules/accordian.js","webpack:///./modules/misc.js","webpack:///./modules/dark-mode.js","webpack:///./modules/lazy-load.js","webpack:///./modules/background-image.js","webpack:///./modules/mobile-nav.js","webpack:///./modules/modal.js","webpack:///./modules/star-component.js","webpack:///./modules/exit-intent.js","webpack:///./modules/wizard.js","webpack:///./modules/multistep-wizard.js","webpack:///./modules/tabs.js","webpack:///./modules/spin.js","webpack:///./modules/poll.js","webpack:///./modules/link-scroll.js","webpack:///./modules/cookie-consent.js"],"sourcesContent":["/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Toggle test mode\n//--------------------------------------------------------\n\nvar toggleButton = document.getElementById(\"toggleButton\");\n\nif (toggleButton) {\n toggleButton.addEventListener(\"click\", function () {\n const toggleClassOnElements = (selector, className) => {\n const elements = document.querySelectorAll(selector);\n elements.forEach((element) => {\n element.classList.toggle(className);\n });\n };\n\n const selectorsAndClasses = [\n [\"z-container\", \"z-container-outline-on\"],\n [\"z-container-fluid\", \"z-container-fluid-outline-on\"],\n [\"z-row\", \"z-row-outline-on\"],\n [\"z-col\", \"z-col-outline-on\"],\n [\"p\", \"p-outline-on\"],\n [\"h1\", \"h1-outline-on\"],\n [\"h2\", \"h2-outline-on\"],\n [\"h3\", \"h3-outline-on\"],\n [\"h4\", \"h4-outline-on\"],\n [\"h5\", \"h5-outline-on\"],\n [\"h6\", \"h6-outline-on\"],\n [\".center-line\", \"center-line-outline-on\"],\n ];\n\n selectorsAndClasses.forEach(([selector, className]) => {\n toggleClassOnElements(selector, className);\n });\n });\n}\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Define zenCSS elements for use in JS\n// ----------------------------------------\n\n// Define z-container custom element\nclass ZContainer extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-container\", ZContainer);\n\n// Define z-row custom element\nclass ZRow extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-row\", ZRow);\n\n// Define z-col custom element\nclass ZCol extends HTMLElement {\n constructor() {\n super();\n }\n}\n\ncustomElements.define(\"z-col\", ZCol);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const sliders = document.querySelectorAll(\".slider\");\n\n sliders.forEach((slider) => {\n const slidesContainer = slider.querySelector(\".slides-container\");\n const originalSlides = Array.from(slidesContainer.children);\n const totalOriginalSlides = originalSlides.length;\n const nextButton = slider.querySelector(\".next\");\n const prevButton = slider.querySelector(\".prev\");\n const shouldAutoRotate =\n slider.getAttribute(\"data-auto-rotate\") === \"true\";\n\n // Clone the first and last slides to create an infinite loop effect\n const firstSlideClone = originalSlides[0].cloneNode(true);\n const lastSlideClone =\n originalSlides[totalOriginalSlides - 1].cloneNode(true);\n slidesContainer.insertBefore(lastSlideClone, originalSlides[0]);\n slidesContainer.appendChild(firstSlideClone);\n\n let currentIndex = 1; // Start from the first original slide (not the clone)\n let isTransitioning = false;\n let autoRotate;\n\n // Function to start auto-rotating\n function startAutoRotate() {\n if (shouldAutoRotate) {\n autoRotate = setInterval(moveToNext, 4000);\n }\n }\n\n // Function to stop auto-rotating\n function stopAutoRotate() {\n clearInterval(autoRotate);\n }\n\n // Initialize position to the first original slide\n slidesContainer.style.transition = \"none\";\n slidesContainer.style.transform = `translateX(-${currentIndex * 100}%)`;\n\n // Re-enable transitions after initial positioning\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n\n function updateSlidePosition() {\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n }\n\n function moveToNext() {\n if (isTransitioning) return;\n currentIndex++;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n function moveToPrev() {\n if (isTransitioning) return;\n currentIndex--;\n isTransitioning = true;\n updateSlidePosition();\n }\n\n slidesContainer.addEventListener(\"transitionend\", () => {\n if (currentIndex >= totalOriginalSlides + 1) {\n slidesContainer.style.transition = \"none\";\n currentIndex = 1;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n } else if (currentIndex === 0) {\n slidesContainer.style.transition = \"none\";\n currentIndex = totalOriginalSlides;\n slidesContainer.style.transform = `translateX(-${\n currentIndex * 100\n }%)`;\n setTimeout(() => {\n slidesContainer.style.transition = \"transform 0.5s ease\";\n }, 0);\n }\n isTransitioning = false;\n });\n\n nextButton.addEventListener(\"click\", moveToNext);\n prevButton.addEventListener(\"click\", moveToPrev);\n\n // Event listeners to stop/start auto-rotating\n slidesContainer.addEventListener(\"mouseenter\", stopAutoRotate);\n slidesContainer.addEventListener(\"mouseleave\", startAutoRotate);\n nextButton.addEventListener(\"mouseenter\", stopAutoRotate);\n nextButton.addEventListener(\"mouseleave\", startAutoRotate);\n prevButton.addEventListener(\"mouseenter\", stopAutoRotate);\n prevButton.addEventListener(\"mouseleave\", startAutoRotate);\n\n // Start auto-rotating for this slider\n startAutoRotate();\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dropdown\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var dropdownLinks = document.querySelectorAll(\".dropdown .dropdown-link\");\n\n dropdownLinks.forEach(function (link) {\n link.addEventListener(\"click\", function (event) {\n event.preventDefault();\n\n // Toggle the dropdown content visibility\n var dropdownContent = link.nextElementSibling;\n if (dropdownContent.style.display === \"block\") {\n dropdownContent.style.display = \"none\";\n } else {\n // Close all open dropdowns before opening the new one\n closeAllDropdowns();\n dropdownContent.style.display = \"block\";\n }\n });\n });\n});\n\nfunction closeAllDropdowns() {\n var dropdowns = document.querySelectorAll(\".dropdown .dropdown-content\");\n dropdowns.forEach(function (dropdown) {\n dropdown.style.display = \"none\";\n });\n}\n\n// Close all dropdowns when clicking outside\nwindow.onclick = function (event) {\n if (!event.target.matches(\".dropdown-link\")) {\n closeAllDropdowns();\n }\n};\n","// /*\n// * zenCSS v2.0.2-beta (https://zencss.com/)\n// * Copyright 2022-2024 Shaun Mackey\n// * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n// */\n\n//12/29 removing lazy load\n\n/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\nfunction preloadImage(src) {\n const img = new Image();\n img.src = src;\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const gallery = document.querySelector(\".image-gallery\");\n const modal = document.querySelector(\"z-modal\");\n const paginationNav = document.querySelector(\".pagination-nav\");\n\n if (gallery && modal && paginationNav) {\n let currentPage = 1;\n const imagesPerPage = 15;\n let currentModalIndex = 0;\n const imageWrappers = [];\n\n Array.from(gallery.children).forEach((img, index) => {\n const wrapper = document.createElement(\"div\");\n wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n const clonedImg = img.cloneNode(true);\n clonedImg.addEventListener(\"click\", () => {\n currentModalIndex = index;\n openModal(\n clonedImg.src,\n clonedImg.getAttribute(\"data-text\"),\n index,\n );\n });\n wrapper.appendChild(clonedImg);\n imageWrappers.push(wrapper);\n });\n\n const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n function updateImagesForPage(pageNumber) {\n imageWrappers.forEach((wrapper, index) => {\n const start = (pageNumber - 1) * imagesPerPage;\n const end = start + imagesPerPage;\n wrapper.style.display =\n index >= start && index < end ? \"block\" : \"none\";\n });\n }\n\n function updatePaginationNav() {\n paginationNav.innerHTML =\n '«';\n for (let i = 1; i <= totalPages; i++) {\n const classCurrent = i === currentPage ? \"current\" : \"\";\n paginationNav.innerHTML += `${i}`;\n }\n paginationNav.innerHTML +=\n '»';\n }\n\n function openModal(src, text, index) {\n currentModalIndex = index;\n const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n if (modalBody && modalWrapper && modalHeader) {\n const currentWidth = modalWrapper.clientWidth;\n const currentHeight = modalWrapper.clientHeight;\n modalWrapper.style.minWidth = `${currentWidth}px`;\n modalWrapper.style.minHeight = `${currentHeight}px`;\n\n modalBody.innerHTML = \"\";\n const imageContainer = document.createElement(\"div\");\n imageContainer.style.display = \"flex\";\n imageContainer.style.position = \"relative\";\n imageContainer.style.justifyContent = \"center\";\n\n const prevArrow = document.createElement(\"div\");\n prevArrow.className = \"prev arrow theme-dark\";\n prevArrow.innerHTML = \"❮\";\n prevArrow.style.cursor = \"pointer\";\n prevArrow.style.position = \"absolute\";\n prevArrow.style.top = \"50%\";\n prevArrow.style.left = \"7px\";\n prevArrow.style.padding = \"10px\";\n prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n prevArrow.style.transform = \"translateY(-50%)\";\n prevArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex > 0\n ? currentModalIndex - 1\n : imageWrappers.length - 1;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(prevArrow);\n\n const modalImage = document.createElement(\"img\");\n modalImage.onload = () => {\n modalWrapper.style.minWidth = \"\";\n modalWrapper.style.minHeight = \"\";\n };\n modalImage.src = src;\n modalImage.style.maxWidth = \"100%\";\n modalImage.style.maxHeight = \"60vh\";\n modalImage.style.objectFit = \"contain\";\n modalImage.style.margin = \"auto\";\n imageContainer.appendChild(modalImage);\n\n const nextArrow = document.createElement(\"div\");\n nextArrow.className = \"next arrow theme-dark\";\n nextArrow.innerHTML = \"❯\";\n nextArrow.style.cursor = \"pointer\";\n nextArrow.style.position = \"absolute\";\n nextArrow.style.padding = \"10px\";\n nextArrow.style.top = \"50%\";\n nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n nextArrow.style.right = \"7px\";\n nextArrow.style.transform = \"translateY(-50%)\";\n nextArrow.onclick = function () {\n currentModalIndex =\n currentModalIndex < imageWrappers.length - 1\n ? currentModalIndex + 1\n : 0;\n const newImg = imageWrappers[currentModalIndex].firstChild;\n openModal(\n newImg.src,\n newImg.getAttribute(\"data-text\"),\n currentModalIndex,\n );\n };\n imageContainer.appendChild(nextArrow);\n\n modalBody.appendChild(imageContainer);\n\n const modalText = document.createElement(\"p\");\n modalText.textContent = text;\n modalText.style.textAlign = \"center\";\n modalBody.appendChild(modalText);\n\n modalBody.style.overflowY = \"auto\";\n modalBody.style.maxHeight = \"80vh\";\n modalHeader.style.display = \"none\";\n\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n const nextIndex = (index + 1) % imageWrappers.length;\n const prevIndex =\n (index - 1 + imageWrappers.length) % imageWrappers.length;\n preloadImage(imageWrappers[nextIndex].firstChild.src);\n preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n modal.open();\n }\n }\n\n paginationNav.addEventListener(\"click\", function (event) {\n event.preventDefault();\n const target = event.target;\n if (target.tagName === \"A\" && target.dataset.page) {\n let newPage = currentPage;\n if (target.dataset.page === \"prev\") {\n newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n } else if (target.dataset.page === \"next\") {\n newPage = currentPage < totalPages ? currentPage + 1 : 1;\n } else {\n newPage = parseInt(target.dataset.page);\n }\n\n if (newPage !== currentPage) {\n currentPage = newPage;\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n }\n });\n\n window.addEventListener(\"resize\", function () {\n const modalWrapper =\n modal.shadowRoot.querySelector(\".modal-wrapper\");\n if (modalWrapper) {\n modalWrapper.style.maxWidth =\n window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n }\n });\n\n gallery.innerHTML = \"\";\n imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n updateImagesForPage(currentPage);\n updatePaginationNav();\n }\n});\n\n// function preloadImage(src) {\n// const img = new Image();\n// img.src = src;\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const gallery = document.querySelector(\".image-gallery\");\n// const modal = document.querySelector(\"z-modal\");\n// const paginationNav = document.querySelector(\".pagination-nav\");\n\n// if (gallery && modal && paginationNav) {\n// let currentPage = 1;\n// const imagesPerPage = 15;\n// let currentModalIndex = 0;\n// const imageWrappers = [];\n\n// Array.from(gallery.children).forEach((img, index) => {\n// const wrapper = document.createElement(\"div\");\n// wrapper.classList.add(\"lazy-load\"); // using the lazy-load class\n// wrapper.style.display = index < imagesPerPage ? \"block\" : \"none\";\n// const clonedImg = img.cloneNode(true);\n// clonedImg.addEventListener(\"click\", () => {\n// currentModalIndex = index;\n// openModal(\n// clonedImg.src,\n// clonedImg.getAttribute(\"data-text\"),\n// index,\n// );\n// });\n// wrapper.appendChild(clonedImg);\n// imageWrappers.push(wrapper);\n// });\n\n// const totalPages = Math.ceil(imageWrappers.length / imagesPerPage);\n\n// function updateImagesForPage(pageNumber) {\n// imageWrappers.forEach((wrapper, index) => {\n// const start = (pageNumber - 1) * imagesPerPage;\n// const end = start + imagesPerPage;\n// wrapper.style.display =\n// index >= start && index < end ? \"block\" : \"none\";\n// });\n// }\n\n// function updatePaginationNav() {\n// paginationNav.innerHTML =\n// '«';\n// for (let i = 1; i <= totalPages; i++) {\n// const classCurrent = i === currentPage ? \"current\" : \"\";\n// paginationNav.innerHTML += `${i}`;\n// }\n// paginationNav.innerHTML +=\n// '»';\n// }\n\n// function openModal(src, text, index) {\n// currentModalIndex = index;\n// const modalBody = modal.shadowRoot.querySelector(\".modal-body\");\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// const modalHeader = modal.shadowRoot.querySelector(\".modal-header\");\n\n// if (modalBody && modalWrapper && modalHeader) {\n// const currentWidth = modalWrapper.clientWidth;\n// const currentHeight = modalWrapper.clientHeight;\n// modalWrapper.style.minWidth = `${currentWidth}px`;\n// modalWrapper.style.minHeight = `${currentHeight}px`;\n\n// modalBody.innerHTML = \"\";\n// const imageContainer = document.createElement(\"div\");\n// imageContainer.style.display = \"flex\";\n// imageContainer.style.position = \"relative\";\n// imageContainer.style.justifyContent = \"center\";\n\n// const prevArrow = document.createElement(\"div\");\n// prevArrow.className = \"prev arrow theme-dark\";\n// prevArrow.innerHTML = \"❮\";\n// prevArrow.style.cursor = \"pointer\";\n// prevArrow.style.position = \"absolute\";\n// prevArrow.style.top = \"50%\";\n// prevArrow.style.left = \"7px\";\n// prevArrow.style.padding = \"10px\";\n// prevArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// prevArrow.style.transform = \"translateY(-50%)\";\n// prevArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex > 0\n// ? currentModalIndex - 1\n// : imageWrappers.length - 1;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(prevArrow);\n\n// const modalImage = document.createElement(\"img\");\n// modalImage.onload = () => {\n// modalWrapper.style.minWidth = \"\";\n// modalWrapper.style.minHeight = \"\";\n// };\n// modalImage.src = src;\n// modalImage.style.maxWidth = \"100%\";\n// modalImage.style.maxHeight = \"60vh\";\n// modalImage.style.objectFit = \"contain\";\n// modalImage.style.margin = \"auto\";\n// imageContainer.appendChild(modalImage);\n\n// const nextArrow = document.createElement(\"div\");\n// nextArrow.className = \"next arrow theme-dark\";\n// nextArrow.innerHTML = \"❯\";\n// nextArrow.style.cursor = \"pointer\";\n// nextArrow.style.position = \"absolute\";\n// nextArrow.style.padding = \"10px\";\n// nextArrow.style.top = \"50%\";\n// nextArrow.style.backgroundColor = \"rgba(255,255,255,.5)\";\n// nextArrow.style.right = \"7px\";\n// nextArrow.style.transform = \"translateY(-50%)\";\n// nextArrow.onclick = function () {\n// currentModalIndex =\n// currentModalIndex < imageWrappers.length - 1\n// ? currentModalIndex + 1\n// : 0;\n// const newImg = imageWrappers[currentModalIndex].firstChild;\n// openModal(\n// newImg.src,\n// newImg.getAttribute(\"data-text\"),\n// currentModalIndex,\n// );\n// };\n// imageContainer.appendChild(nextArrow);\n\n// modalBody.appendChild(imageContainer);\n\n// const modalText = document.createElement(\"p\");\n// modalText.textContent = text;\n// modalText.style.textAlign = \"center\";\n// modalBody.appendChild(modalText);\n\n// modalBody.style.overflowY = \"auto\";\n// modalBody.style.maxHeight = \"80vh\";\n// modalHeader.style.display = \"none\";\n\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n\n// const nextIndex = (index + 1) % imageWrappers.length;\n// const prevIndex =\n// (index - 1 + imageWrappers.length) % imageWrappers.length;\n// preloadImage(imageWrappers[nextIndex].firstChild.src);\n// preloadImage(imageWrappers[prevIndex].firstChild.src);\n\n// modal.open();\n// }\n// }\n\n// paginationNav.addEventListener(\"click\", function (event) {\n// event.preventDefault();\n// const target = event.target;\n// if (target.tagName === \"A\" && target.dataset.page) {\n// let newPage = currentPage;\n// if (target.dataset.page === \"prev\") {\n// newPage = currentPage > 1 ? currentPage - 1 : totalPages;\n// } else if (target.dataset.page === \"next\") {\n// newPage = currentPage < totalPages ? currentPage + 1 : 1;\n// } else {\n// newPage = parseInt(target.dataset.page);\n// }\n\n// if (newPage !== currentPage) {\n// currentPage = newPage;\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// }\n// });\n\n// window.addEventListener(\"resize\", function () {\n// const modalWrapper =\n// modal.shadowRoot.querySelector(\".modal-wrapper\");\n// if (modalWrapper) {\n// modalWrapper.style.maxWidth =\n// window.innerWidth >= 1070 ? \"860px\" : \"80%\";\n// }\n// });\n\n// gallery.innerHTML = \"\";\n// imageWrappers.forEach((wrapper) => gallery.appendChild(wrapper));\n// updateImagesForPage(currentPage);\n// updatePaginationNav();\n// }\n// });\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2023 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var accordionToggles = document.querySelectorAll(\".accordion-toggle\");\n\n accordionToggles.forEach(function (accordionToggle) {\n accordionToggle.addEventListener(\"click\", function () {\n // Determine if the clicked toggle is being expanded\n var isExpanding = this.getAttribute(\"aria-expanded\") === \"false\";\n\n // Remove active class from all toggles and reset icons\n accordionToggles.forEach(function (otherToggle) {\n otherToggle.classList.remove(\"active-toggle\");\n otherToggle.setAttribute(\"aria-expanded\", \"false\");\n\n var otherIcon = otherToggle.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (otherIcon) {\n otherIcon.classList.remove(\"zenicon-keyboard-arrow-down\");\n otherIcon.classList.add(\"zenicon-keyboard-arrow-right\");\n }\n\n var otherPanel = otherToggle.nextElementSibling;\n otherPanel.style.maxHeight = null;\n otherPanel.setAttribute(\"aria-hidden\", \"true\"); // Hide other panels\n });\n\n // Set the clicked toggle as active if it's expanding\n if (isExpanding) {\n this.classList.add(\"active-toggle\");\n this.setAttribute(\"aria-expanded\", \"true\");\n\n var icon = this.querySelector(\n \".zenicon-keyboard-arrow-right, .zenicon-keyboard-arrow-down\",\n );\n if (icon) {\n icon.classList.remove(\"zenicon-keyboard-arrow-right\");\n icon.classList.add(\"zenicon-keyboard-arrow-down\");\n }\n\n var panel = this.nextElementSibling;\n panel.style.maxHeight =\n panel.scrollHeight > 200\n ? \"1000px\"\n : panel.scrollHeight + 10 + \"px\";\n panel.setAttribute(\"aria-hidden\", \"false\"); // Show the current panel\n }\n });\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n// Dynamic year in footer\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const yearSpan = document.getElementById(\"current-year\");\n if (yearSpan) {\n const currentYear = new Date().getFullYear();\n yearSpan.textContent = currentYear;\n }\n});\n\n//-------------------------------------\n// icon toggle\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var iconToggles = document.querySelectorAll(\".icon-toggle\");\n\n iconToggles.forEach(function (toggle) {\n toggle.addEventListener(\"click\", function () {\n var iconOff = this.querySelector(\".icon-off\");\n var iconOn = this.querySelector(\".icon-on\");\n\n // Toggle the 'show' class\n iconOff.classList.toggle(\"show\");\n iconOn.classList.toggle(\"show\");\n });\n });\n});\n\n// New stuff here after modules were created. If we need to revert, include this stuff.\ndocument.querySelectorAll(\".accordion-toggle\").forEach((item) => {\n item.addEventListener(\"click\", (event) => {\n event.preventDefault();\n\n const contentId = item.getAttribute(\"aria-controls\");\n const content = document.getElementById(contentId);\n\n // Close other expanded contents\n document.querySelectorAll(\".expanded-content\").forEach((el) => {\n if (el.id !== contentId) {\n el.classList.remove(\"show\");\n el.style.overflowY = \"hidden\";\n }\n });\n\n // Toggle current content\n content.classList.toggle(\"show\");\n\n setTimeout(() => {\n if (content.scrollHeight > content.clientHeight) {\n content.style.overflowY = \"auto\";\n } else {\n content.style.overflowY = \"hidden\";\n }\n }, 500);\n });\n});\n\n//-------------------------------------\n// Corner Popup\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var cornerPopup = document.querySelector(\".corner-popup\");\n\n if (cornerPopup) {\n var button = cornerPopup.querySelector(\"button\");\n var popup = cornerPopup.querySelector(\"div\");\n\n popup.classList.add(\"card\");\n\n button.addEventListener(\"click\", function () {\n popup.classList.toggle(\"hidden\");\n console.log(\"Button clicked\");\n });\n }\n});\n\n//-------------------------------------\n// Responsive Table\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n // Function to apply data labels to a table\n function applyDataLabelsToTable(table) {\n // Get all the headers from the direct child thead of the table\n const headers = Array.from(\n table.querySelectorAll(\":scope > thead > tr > th\"),\n ).map((th) => th.textContent.trim());\n\n // Iterate over each row in the direct child tbody of the table\n table.querySelectorAll(\":scope > tbody > tr\").forEach((row) => {\n // Get all cells (td) in this row\n row.querySelectorAll(\":scope > td\").forEach((cell, index) => {\n // Assign the corresponding header text to the data-label attribute of the cell\n if (headers[index]) {\n cell.setAttribute(\"data-label\", headers[index]);\n }\n });\n });\n }\n\n // Select all tables with class 'responsive-table' and apply data labels to each\n document\n .querySelectorAll(\".responsive-table\")\n .forEach(applyDataLabelsToTable);\n});\n\n//-------------------------------------\n// Lazy Load Test - WIP\n//-------------------------------------\n\n// document.addEventListener(\"DOMContentLoaded\", function() {\n// const lazyLoadImages = document.querySelectorAll(\"img.lazy-load\");\n\n// if (lazyLoadImages.length > 0) {\n// const imageObserver = new IntersectionObserver(function(entries, observer) {\n// entries.forEach(function(entry) {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.src = image.dataset.src;\n// image.classList.remove(\"lazy-load\");\n// imageObserver.unobserve(image);\n// }\n// });\n// });\n\n// lazyLoadImages.forEach(function(image) {\n// imageObserver.observe(image);\n// });\n// }\n// });\n\n//-------------------------------------\n// Tabbed Card\n//-------------------------------------\n\n// function showTab(tabNumber) {\n// const tabbedCard = document.querySelector(\".tabbed-card\");\n// if (tabbedCard) {\n// const tabs = tabbedCard.querySelectorAll(\".tab\");\n// const tabContents = tabbedCard.querySelectorAll(\".tab-content\");\n\n// if (tabs.length && tabContents.length) {\n// tabs.forEach((tab, index) => {\n// if (index + 1 === tabNumber) {\n// tab.classList.add(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.add(\"active\");\n// }\n// } else {\n// tab.classList.remove(\"active\");\n// if (tabContents[index]) {\n// tabContents[index].classList.remove(\"active\");\n// }\n// }\n// });\n// }\n// }\n// }\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const tabs = document.querySelectorAll(\".tab\");\n// if (tabs.length) {\n// tabs.forEach((tab) => {\n// tab.addEventListener(\"click\", function () {\n// const tabNumber = parseInt(tab.getAttribute(\"data-tab\"));\n// showTab(tabNumber);\n// });\n// });\n// }\n// });\n\n//-------------------------------------\n// side menus\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n // Select all the menu items\n const menuItems = document.querySelectorAll(\".nav-menu li\");\n\n // Only proceed if menu items exist\n if (menuItems.length) {\n menuItems.forEach((item) => {\n // Add click event listener to each menu item\n item.addEventListener(\"click\", function () {\n // Remove the 'active' class from all items\n menuItems.forEach((i) => i.classList.remove(\"active\"));\n\n // Add the 'active' class to the clicked item\n this.classList.add(\"active\");\n });\n });\n }\n});\n\n//-------------------------------------\n// unread notifications\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var button = document.querySelector(\".btn-circle\");\n\n // Check if the button exists\n if (button) {\n // Restore the data-unread attribute if 24 hours have not passed\n var unreadResetTime = localStorage.getItem(\"unreadResetTime\");\n if (unreadResetTime && new Date().getTime() < unreadResetTime) {\n button.removeAttribute(\"data-unread\");\n }\n\n // Add click event listener to the button\n button.addEventListener(\"click\", function () {\n // Remove data-unread attribute and set the reset time in localStorage\n button.removeAttribute(\"data-unread\");\n var resetTime = new Date().getTime() + 24 * 60 * 60 * 1000; // 24 hours from now\n localStorage.setItem(\"unreadResetTime\", resetTime);\n });\n }\n});\n\n//-------------------------------------\n// fade in animation\n//-------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const elementsToAnimate = document.querySelectorAll(\".fade-in\");\n\n if (elementsToAnimate.length > 0) {\n const observer = new IntersectionObserver(\n (entries) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n entry.target.classList.add(\"visible\");\n }\n });\n },\n {\n threshold: 0.3,\n },\n );\n\n elementsToAnimate.forEach((el) => observer.observe(el));\n }\n});\n\n// //pie charts\n// document.addEventListener('DOMContentLoaded', () => {\n// const chart = document.querySelector('.zen-pie-chart');\n// let accumulatedRotation = 0;\n\n// document.querySelectorAll('.zen-pie-chart .zen-slice').forEach(slice => {\n// const percentage = parseFloat(slice.dataset.percentage);\n// const rotation = 360 * (percentage / 100);\n// const sliceRotation = accumulatedRotation + rotation / 2;\n\n// // Set styles and classes for the slice\n// slice.style.transform = `rotate(${sliceRotation}deg)`;\n// slice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// slice.style.backgroundColor = getComputedStyle(slice).backgroundColor;\n// slice.style.opacity = '1';\n\n// // For more than 50%, create an overlay slice to simulate the additional percentage\n// if (percentage > 50) {\n// let overlaySlice = document.createElement('div');\n// overlaySlice.classList.add('zen-slice', 'overlay');\n// overlaySlice.style.backgroundColor = slice.style.backgroundColor;\n// overlaySlice.style.position = 'absolute';\n// overlaySlice.style.width = '100%';\n// overlaySlice.style.height = '100%';\n// overlaySlice.style.transform = `rotate(${sliceRotation + 180}deg)`;\n// overlaySlice.style.clip = `rect(0px, ${chart.clientWidth}px, ${chart.clientWidth}px, ${chart.clientWidth / 2}px)`;\n// chart.appendChild(overlaySlice);\n// }\n\n// accumulatedRotation += rotation;\n// });\n// });\n\n//-------------------------------------\n// Pattern Interrupt\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// var modalShown = false;\n// var modal = document.querySelector('.pattern-interrupt');\n// var modal2 = document.querySelector('.modal');\n\n// function showModal() {\n// if (!modal) return; // Exit if no modal found\n\n// // Center the modal in the viewport\n// modal.style.display = 'block';\n// modal2.style.display = 'block';\n// modal.style.position = 'fixed'; // Fixed position\n// modal.style.top = '50%'; // Center vertically\n// modal.style.left = '50%'; // Center horizontally\n// modal.style.transform = 'translate(-50%, -50%)'; // Adjust for modal's dimensions\n\n// modalShown = true;\n// }\n\n// function checkScroll() {\n// if (modalShown) return; // Skip if the modal is already shown\n\n// var scrollPosition = window.pageYOffset || document.documentElement.scrollTop;\n// var totalHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight;\n// var scrolledPercentage = (scrollPosition / totalHeight) * 100;\n\n// if (scrolledPercentage > 10) {\n// showModal();\n// }\n// }\n\n// // Attach the scroll event listener only if the modal exists\n// if (modal) {\n// window.addEventListener('scroll', checkScroll);\n// }\n// });\n\n//-------------------------------------\n// Dynamic Navigation\n//-------------------------------------\n// document.addEventListener('DOMContentLoaded', function() {\n// const header = document.querySelector('.header-sticky.slide-down');\n// console.log(\"Script running\");\n// if (header) {\n// fetch('../docs/navigation.html') // Assuming navigation.html is in the /docs folder\n// .then(response => response.text())\n// .then(data => {\n// header.innerHTML = data;\n// })\n// .catch(error => console.error('Error loading navigation:', error));\n// }\n// });\n\n// //-------------------------------------\n// // Video Player\n// //-------------------------------------\n\n// class VideoPlayer extends HTMLElement {\n// constructor() {\n// super();\n// const shadowRoot = this.attachShadow({ mode: 'open' });\n\n// const style = document.createElement('style');\n// style.textContent = `\n\n// `;\n\n// const container = document.createElement('div');\n// container.className = 'video-container';\n\n// const video = document.createElement('video');\n// video.className = 'video-player';\n// video.controls = true;\n\n// const src = this.getAttribute('src');\n// if (src) {\n// const source = document.createElement('source');\n// source.src = src;\n// source.type = 'video/mp4';\n// video.appendChild(source);\n// } else {\n// console.error('Video source not provided for .');\n// }\n\n// container.appendChild(video);\n// shadowRoot.appendChild(style);\n// shadowRoot.appendChild(container);\n// }\n// }\n\n// customElements.define('video-player', VideoPlayer);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Toggle Dark Mode Option\n//--------------------------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n function toggleDarkMode() {\n const zenElements = document.querySelectorAll(\".zen\");\n\n zenElements.forEach((element) => {\n element.classList.toggle(\"zen-dark\");\n });\n\n const isDarkModeEnabled = Array.from(zenElements).some((element) =>\n element.classList.contains(\"zen-dark\"),\n );\n localStorage.setItem(\"darkMode\", isDarkModeEnabled);\n }\n\n const toggleButton = document.getElementById(\"toggleDarkMode\");\n if (toggleButton) {\n toggleButton.addEventListener(\"click\", toggleDarkMode);\n }\n\n const storedDarkMode = localStorage.getItem(\"darkMode\");\n if (storedDarkMode === \"true\") {\n const zenElements = document.querySelectorAll(\".zen\");\n zenElements.forEach((element) => {\n element.classList.add(\"zen-dark\");\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var lazyImages = [].slice.call(\n document.querySelectorAll(\".zen img.lazy-load\"),\n );\n\n if (lazyImages.length === 0) {\n //console.log('No lazy-load images found.');\n return;\n }\n\n if (\"IntersectionObserver\" in window) {\n let lazyImageObserver = new IntersectionObserver(function (\n entries,\n observer,\n ) {\n entries.forEach(function (entry) {\n if (entry.isIntersecting) {\n let lazyImage = entry.target;\n // Set onload before changing the src\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n lazyImageObserver.unobserve(lazyImage);\n }\n });\n });\n\n lazyImages.forEach(function (lazyImage) {\n lazyImageObserver.observe(lazyImage);\n });\n } else {\n lazyImages.forEach(function (lazyImage) {\n lazyImage.onload = function () {\n this.classList.remove(\"lazy-load\");\n //console.log('Lazy-load class removed:', this);\n };\n lazyImage.src = lazyImage.dataset.src;\n });\n }\n});\n\n//old depricated - leaving for now to reference to what was done for image gallery\n\n// document.addEventListener(\"DOMContentLoaded\", function () {\n// const images = document.querySelectorAll(\".lazy-load\");\n\n// if (images.length > 0) {\n// const imageObserver = new IntersectionObserver((entries, observer) => {\n// entries.forEach((entry) => {\n// if (entry.isIntersecting) {\n// const image = entry.target;\n// image.setAttribute(\"aria-busy\", \"true\"); // Indicate loading\n// const newSrc = image.getAttribute(\"data-src\");\n\n// // Create a new Image to load in the background\n// const img = new Image();\n// img.onload = function () {\n// image.src = newSrc; // Set src when fully loaded\n// image.removeAttribute(\"aria-busy\"); // Remove loading indication\n// };\n// img.src = newSrc;\n\n// image.classList.remove(\"lazy-load\");\n// observer.unobserve(image);\n// }\n// });\n// });\n\n// images.forEach((image) => {\n// imageObserver.observe(image);\n// });\n// }\n// });\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n//Background image\n//--------------------------------------------------------\n\nwindow.addEventListener(\"DOMContentLoaded\", function () {\n var imageContainers = document.querySelectorAll(\".image-container\");\n imageContainers.forEach(function (container) {\n var img = container.querySelector(\"img\");\n var imgUrl = img.src;\n container.style.backgroundImage = \"url(\" + imgUrl + \")\";\n container.style.backgroundSize = \"cover\";\n container.style.backgroundPosition = \"center center\";\n img.style.display = \"none\";\n });\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// //--------------------------------------------------------\n// // Mobile Nav\n// //--------------------------------------------------------\n// document.addEventListener(\"DOMContentLoaded\", (event) => {\n// const hamburgerButton = document.getElementById(\"hamburger-button\");\n// const closeButton = document.getElementById(\"close-button\");\n// const nav = document.querySelector(\"nav\");\n// const navLinks = document.querySelectorAll(\".nav-link\");\n\n// const toggleMenu = () => {\n// nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n// };\n\n// if (hamburgerButton && closeButton && nav) {\n// hamburgerButton.addEventListener(\"click\", toggleMenu);\n// closeButton.addEventListener(\"click\", toggleMenu);\n\n// navLinks.forEach((link) => {\n// // link.addEventListener(\"click\", toggleMenu); // Use toggleMenu to close the menu\n// });\n// }\n// });\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const hamburgerButton = document.getElementById(\"hamburger-button-2\");\n const closeButton = document.getElementById(\"close-button\");\n const nav = document.querySelector(\".top-nav\");\n const navLinks = document.querySelectorAll(\".nav-link\");\n\n const toggleMenu = () => {\n nav.style.left = nav.style.left === \"0px\" ? \"-250px\" : \"0px\";\n };\n\n if (hamburgerButton && closeButton && nav) {\n hamburgerButton.addEventListener(\"click\", toggleMenu);\n closeButton.addEventListener(\"click\", toggleMenu);\n\n navLinks.forEach((link) => {\n link.addEventListener(\"click\", toggleMenu);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/shaunmackey/zencss/blob/main/LICENSE)\n */\n\n//--------------------------------------------------------\n// Modal\n//--------------------------------------------------------\n\nclass ZModal extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n connectedCallback() {\n this.shadowRoot\n .querySelector(\".close\")\n .addEventListener(\"click\", () => {\n this.close();\n });\n this.shadowRoot\n .querySelector(\".modal\")\n .addEventListener(\"click\", (event) => {\n if (event.target === event.currentTarget) {\n this.close();\n }\n });\n document.addEventListener(\"click\", (event) => {\n if (event.target.classList.contains(\"modal-close\")) {\n this.close();\n }\n\n document.addEventListener(\"keydown\", (event) => {\n if (event.key === \"Escape\") {\n this.close();\n }\n });\n });\n\n const openModalButton = document.querySelector(\".modal-open\");\n if (openModalButton) {\n openModalButton.addEventListener(\"click\", () => {\n this.open();\n });\n }\n }\n\n open() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"flex\";\n }\n\n close() {\n this.shadowRoot.querySelector(\".modal\").style.display = \"none\";\n }\n\n render() {\n this.shadowRoot.innerHTML = `\n \n
\n
\n
\n \n
\n \n
\n
\n \n
\n
\n \n \n \n \n
\n
\n
\n `;\n }\n}\n\ncustomElements.define(\"z-modal\", ZModal);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Star component\n// ----------------------------------------\nclass StarComponent extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n this.render();\n }\n\n static get observedAttributes() {\n return [\"stars\", \"half\"];\n }\n\n attributeChangedCallback(name, oldValue, newValue) {\n this.render();\n }\n\n render() {\n const starCount = parseInt(this.getAttribute(\"stars\")) || 1;\n const half = this.getAttribute(\"half\") === \"true\";\n const fragment = document.createDocumentFragment();\n\n for (let i = 0; i < starCount; i++) {\n const starImg = document.createElement(\"img\");\n starImg.src = \"../../img/icons/alerts/star-solid.svg\";\n starImg.alt = \"\";\n starImg.className = \"icon icon-gold\";\n fragment.appendChild(starImg);\n }\n\n if (half && starCount < 5) {\n const halfStarImg = document.createElement(\"img\");\n halfStarImg.src =\n \"../../img/icons/alerts/star-half-stroke-regular.svg\";\n halfStarImg.alt = \"\";\n halfStarImg.className = \"icon icon-gold\";\n fragment.appendChild(halfStarImg);\n }\n\n this.shadowRoot.innerHTML = `\n \n `;\n this.shadowRoot.appendChild(fragment);\n }\n}\n\ncustomElements.define(\"star-component\", StarComponent);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Exit Intent\n// ----------------------------------------\n// Get the modal\nvar modal = document.querySelector(\".exit\");\n\n// Function to show the modal if conditions are met\nfunction tryToShowModal() {\n if (modal && shouldShowModal() && !modalIsDisplayed()) {\n modal.style.display = \"block\";\n }\n}\n\n// Function to hide modal and set a flag in local storage\nfunction closeModal() {\n if (modal) {\n modal.style.display = \"none\";\n // Set the flag in local storage with the current timestamp\n localStorage.setItem(\"modalClosed\", new Date().getTime());\n }\n}\n\n// Check if the modal is currently displayed\nfunction modalIsDisplayed() {\n return modal.style.display === \"block\";\n}\n\n// Get the element that closes the modal\nvar span = document.querySelector(\".close\");\n\n// When the user clicks on (x), close the modal\nif (span) {\n span.onclick = closeModal;\n}\n\n// When the user clicks anywhere outside of the modal, close it\nwindow.onclick = function (event) {\n if (event.target == modal) {\n closeModal();\n }\n};\n\n// Check local storage to see if we should show the modal\nfunction shouldShowModal() {\n var modalClosedTime = localStorage.getItem(\"modalClosed\");\n if (modalClosedTime) {\n var now = new Date();\n var daysPassed =\n (now.getTime() - parseInt(modalClosedTime, 10)) /\n (1000 * 3600 * 24);\n return daysPassed >= 7;\n }\n return true;\n}\n\n// Trigger the modal after 8 seconds if the user hasn't closed it already\nsetTimeout(function () {\n document.addEventListener(\"mousemove\", function (e) {\n if (e.clientY <= 5) {\n tryToShowModal();\n }\n });\n}, 8000);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Wizard\n// ----------------------------------------\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const steps = document.querySelectorAll(\".wizard-step\");\n const navItems = document.querySelectorAll(\".wizard-nav\");\n\n if (steps.length > 0 && navItems.length > 0) {\n let currentStep = 1;\n const totalSteps = steps.length;\n\n function goToStep(stepNumber) {\n steps.forEach((step) => {\n step.style.display = \"none\"; // Hide all steps\n });\n document.getElementById(`step-${stepNumber}`).style.display =\n \"block\"; // Show the desired step\n\n // Update the current class on pagination\n navItems.forEach((item) => {\n if (item.dataset.step == stepNumber.toString()) {\n item.classList.add(\"current\");\n } else {\n item.classList.remove(\"current\");\n }\n });\n }\n\n navItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n e.preventDefault();\n let direction = item.dataset.direction;\n if (direction) {\n if (direction === \"next\" && currentStep < totalSteps) {\n currentStep++;\n } else if (direction === \"prev\" && currentStep > 1) {\n currentStep--;\n }\n } else if (item.dataset.step) {\n currentStep = parseInt(item.dataset.step);\n }\n goToStep(currentStep);\n });\n });\n\n // Initialize the wizard to the first step\n goToStep(currentStep);\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const mswizard = document.querySelector(\".mswizard\");\n if (!mswizard) return;\n const progressBar = mswizard.querySelector(\".mswizard-progress\");\n const currentStepSpan = mswizard.querySelector(\"#current-step\");\n const totalStepsSpan = mswizard.querySelector(\"#total-steps\");\n const progressPercentage = mswizard.querySelector(\".progress-percentage\");\n const steps = mswizard.querySelectorAll(\".mswizard-step\");\n const totalSteps = steps.length;\n totalStepsSpan.textContent = totalSteps;\n progressBar.max = 100;\n\n function updatemswizardStep(stepNumber) {\n steps.forEach((step) => (step.style.display = \"none\"));\n mswizard.querySelector(`#step-${stepNumber}`).style.display = \"block\";\n currentStepSpan.textContent = stepNumber;\n const progressValue = ((stepNumber - 1) / (totalSteps - 1)) * 100;\n progressBar.value = progressValue;\n progressPercentage.textContent = `${Math.round(progressValue)}%`;\n const percentagePosition =\n progressBar.offsetWidth * (progressValue / 100) -\n progressPercentage.offsetWidth / 2;\n progressPercentage.style.left = `${Math.max(0, percentagePosition)}px`;\n progressPercentage.style.visibility =\n progressValue >= 5 ? \"visible\" : \"hidden\";\n }\n\n steps.forEach((step, index) => {\n if (index === totalSteps - 1) return; // No buttons on the last step\n\n const buttonContainer = document.createElement(\"div\");\n buttonContainer.className = \"button-container\";\n\n // Always add the Previous button except on the last step\n const prevButton = document.createElement(\"button\");\n prevButton.textContent = \"Previous\";\n prevButton.className = \"prev-btn\";\n prevButton.setAttribute(\"role\", \"button\");\n prevButton.setAttribute(\"aria-label\", `Go back to step ${index}`);\n if (index === 0) {\n prevButton.disabled = true;\n prevButton.classList.add(\"disabled\");\n } else {\n prevButton.addEventListener(\"click\", () =>\n updatemswizardStep(index),\n );\n }\n buttonContainer.appendChild(prevButton);\n\n // Add the Next/Finish button to all steps except the last\n const nextButton = document.createElement(\"button\");\n nextButton.textContent = index === totalSteps - 2 ? \"Finish\" : \"Next\";\n nextButton.className = \"next-btn\";\n nextButton.setAttribute(\"role\", \"button\");\n nextButton.setAttribute(\"aria-label\", `Go to step ${index + 2}`);\n nextButton.addEventListener(\"click\", () =>\n updatemswizardStep(index + 2),\n );\n buttonContainer.appendChild(nextButton);\n\n step.appendChild(buttonContainer);\n });\n\n updatemswizardStep(1);\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n// ----------------------------------------\n// Tabs\n// ----------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n const tabs = document.querySelectorAll(\".tab-nav .item\");\n\n if (tabs.length > 0) {\n function removeCurrentClass() {\n tabs.forEach((tab) => {\n tab.classList.remove(\"current\");\n });\n }\n\n function setCurrentClass(event) {\n event.preventDefault();\n removeCurrentClass();\n event.target.classList.add(\"current\");\n }\n\n tabs.forEach((tab) => {\n tab.addEventListener(\"click\", setCurrentClass);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Spin\n//-------------------------------------\n\n// This function will apply the spinning effect to the spinner if it exists\nfunction startSpinning() {\n // Select the spinner element\n var spinner = document.querySelector(\".rotate-spinner\");\n\n // Check if the spinner exists to avoid errors\n if (spinner) {\n // Apply the CSS animation using inline styles\n spinner.style.animation = \"spin 1s linear infinite\";\n }\n}\n\n// This function will start the spinning when the document is loaded, if the spinner exists\ndocument.addEventListener(\"DOMContentLoaded\", startSpinning);\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\n//-------------------------------------\n//Poll\n//-------------------------------------\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n var currentStep = 1;\n var results = { a: 0, b: 0, c: 0, d: 0 };\n\n function updateStepDisplay(step) {\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (stepDiv) {\n stepDiv.classList.remove(\"active\");\n });\n document.querySelector(\"#step-\" + step).classList.add(\"active\");\n }\n\n function handleOptionSelect(event) {\n var selectedOption = event.target.value;\n results[selectedOption]++;\n if (currentStep < 4) {\n currentStep++;\n updateStepDisplay(currentStep);\n } else {\n // Call the showResult function immediately after the last selection\n showResult();\n }\n }\n\n function showResult() {\n // Remove the active class from all steps\n var steps = document.querySelectorAll(\".wizard-step\");\n steps.forEach(function (step) {\n step.classList.remove(\"active\");\n });\n\n // Calculate the most chosen answer\n var max = Math.max(...Object.values(results));\n var mostChosenResults = Object.keys(results).filter(function (key) {\n return results[key] === max;\n });\n\n // Take the first result if there's a tie\n var mostChosen = mostChosenResults[0];\n var resultElement = document.querySelector(\n '#result-types [data-result=\"' + mostChosen + '\"]',\n );\n var resultContent = resultElement\n ? resultElement.innerHTML\n : mostChosen;\n\n // Update the result div and make the result visible\n var resultDiv = document.getElementById(\"result-text\");\n if (resultDiv) {\n resultDiv.innerHTML = resultContent;\n }\n var resultContainer = document.getElementById(\"result\");\n if (resultContainer) {\n resultContainer.classList.add(\"active\"); // Ensure this class makes the element visible\n }\n }\n\n // Attaching change event listeners to radio buttons\n var wizard = document.querySelector(\".wizard\");\n if (wizard) {\n var radioButtons = wizard.querySelectorAll('input[type=\"radio\"]');\n radioButtons.forEach(function (radioButton) {\n radioButton.addEventListener(\"change\", handleOptionSelect);\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const anchors = document.querySelectorAll('a[href^=\"#\"]');\n\n if (anchors.length > 0) {\n anchors.forEach((anchor) => {\n anchor.addEventListener(\"click\", function (e) {\n const hrefAttribute = this.getAttribute(\"href\");\n\n // Skip processing if href is only '#'\n if (hrefAttribute === \"#\") {\n return;\n }\n\n e.preventDefault();\n const targetElement = document.querySelector(hrefAttribute);\n\n if (targetElement) {\n targetElement.scrollIntoView({ behavior: \"smooth\" });\n }\n });\n });\n }\n});\n","/*\n * zenCSS v2.0.2-beta (https://zencss.com/)\n * Copyright 2022-2024 Shaun Mackey\n * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE)\n */\n\ndocument.addEventListener(\"DOMContentLoaded\", (event) => {\n const banner = document.querySelector(\".cookie-consent-banner\");\n\n // Check if the banner element exists\n if (banner) {\n const acceptBtn = document.querySelector(\".accept-cookies\");\n banner.style.zIndex = \"1100\";\n\n // Check if cookies are already accepted\n if (!localStorage.getItem(\"cookies-accepted\")) {\n banner.style.display = \"block\"; // Show banner if cookies not accepted\n }\n\n // Event listener for accept button\n if (acceptBtn) {\n acceptBtn.addEventListener(\"click\", () => {\n localStorage.setItem(\"cookies-accepted\", \"true\"); // Set flag in local storage\n banner.style.display = \"none\"; // Hide banner\n });\n }\n }\n});\n"],"names":["toggleButton","ZContainer","HTMLElement","constructor","super","customElements","define","ZRow","ZCol","document","addEventListener","querySelectorAll","forEach","slider","slidesContainer","querySelector","originalSlides","Array","from","children","totalOriginalSlides","length","nextButton","prevButton","shouldAutoRotate","getAttribute","firstSlideClone","cloneNode","lastSlideClone","insertBefore","appendChild","autoRotate","currentIndex","isTransitioning","startAutoRotate","setInterval","moveToNext","stopAutoRotate","clearInterval","updateSlidePosition","style","transform","transition","setTimeout","closeAllDropdowns","dropdown","display","link","event","preventDefault","dropdownContent","nextElementSibling","window","onclick","target","matches","preloadImage","src","Image","gallery","modal","paginationNav","currentPage","imagesPerPage","currentModalIndex","imageWrappers","img","index","wrapper","createElement","clonedImg","openModal","push","totalPages","Math","ceil","updateImagesForPage","pageNumber","start","end","updatePaginationNav","innerHTML","i","classCurrent","text","modalBody","shadowRoot","modalWrapper","modalHeader","currentWidth","clientWidth","currentHeight","clientHeight","minWidth","minHeight","imageContainer","position","justifyContent","prevArrow","className","cursor","top","left","padding","backgroundColor","newImg","firstChild","modalImage","onload","maxWidth","maxHeight","objectFit","margin","nextArrow","right","modalText","textContent","textAlign","overflowY","innerWidth","nextIndex","prevIndex","open","tagName","dataset","page","newPage","parseInt","accordionToggles","accordionToggle","isExpanding","this","otherToggle","classList","remove","setAttribute","otherIcon","add","otherPanel","icon","panel","scrollHeight","yearSpan","getElementById","currentYear","Date","getFullYear","toggle","iconOff","iconOn","item","contentId","content","el","id","cornerPopup","button","popup","console","log","table","headers","map","th","trim","row","cell","menuItems","unreadResetTime","localStorage","getItem","getTime","removeAttribute","resetTime","setItem","elementsToAnimate","observer","IntersectionObserver","entries","entry","isIntersecting","threshold","observe","zenElements","element","isDarkModeEnabled","some","contains","lazyImages","slice","call","lazyImageObserver","lazyImage","unobserve","container","imgUrl","backgroundImage","backgroundSize","backgroundPosition","hamburgerButton","closeButton","nav","navLinks","toggleMenu","ZModal","attachShadow","mode","render","connectedCallback","close","currentTarget","key","openModalButton","StarComponent","observedAttributes","attributeChangedCallback","name","oldValue","newValue","starCount","half","fragment","createDocumentFragment","starImg","alt","halfStarImg","tryToShowModal","modalClosedTime","shouldShowModal","closeModal","span","e","clientY","steps","navItems","currentStep","totalSteps","goToStep","stepNumber","step","toString","direction","mswizard","progressBar","currentStepSpan","totalStepsSpan","progressPercentage","updatemswizardStep","progressValue","value","round","percentagePosition","offsetWidth","max","visibility","buttonContainer","disabled","tabs","setCurrentClass","tab","spinner","animation","results","a","b","c","d","handleOptionSelect","selectedOption","stepDiv","Object","values","mostChosen","keys","filter","resultElement","resultContent","resultDiv","resultContainer","showResult","wizard","radioButton","anchors","anchor","hrefAttribute","targetElement","scrollIntoView","behavior","banner","acceptBtn","zIndex","selector","toggleClassOnElements"],"sourceRoot":""} \ No newline at end of file diff --git a/docs/help-desk/installation.html b/docs/help-desk/installation.html index c4ab0221..03811c04 100644 --- a/docs/help-desk/installation.html +++ b/docs/help-desk/installation.html @@ -59,7 +59,7 @@

Installation

Download zenCSS

- Get the latest 2.0.1-beta pre-release + Get the latest 2.0.2-beta pre-release here.

zenCSS Software Releases 12/31/2023 - 2.0.1-Beta + 2.0.2-beta - Github Link + Github Link @@ -117,7 +117,7 @@

zenCSS Software Releases

-

Version 2.0.1-beta

+

Version 2.0.2-beta

🐛 Fix prettier errors

🐛 Fix image text link in site sections

🐛 Fix logo bar/prettier update

diff --git a/index.html b/index.html index 9bd601f8..c0f8e21d 100644 --- a/index.html +++ b/index.html @@ -268,7 +268,7 @@

- Current Version: 2.0.1-beta + Current Version: 2.0.2-beta

diff --git a/js/modules/accordian.js b/js/modules/accordian.js index 559f2486..9266f34b 100644 --- a/js/modules/accordian.js +++ b/js/modules/accordian.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/background-image.js b/js/modules/background-image.js index 49bf687e..b58805c7 100644 --- a/js/modules/background-image.js +++ b/js/modules/background-image.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/carousel.js b/js/modules/carousel.js index 5b73a9f2..c7b31e31 100644 --- a/js/modules/carousel.js +++ b/js/modules/carousel.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/cookie-consent.js b/js/modules/cookie-consent.js index d05f596b..f274cc7d 100644 --- a/js/modules/cookie-consent.js +++ b/js/modules/cookie-consent.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/custom-elements.js b/js/modules/custom-elements.js index 46da1e4a..cb8986b0 100644 --- a/js/modules/custom-elements.js +++ b/js/modules/custom-elements.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/dark-mode.js b/js/modules/dark-mode.js index 51fadf67..5f5593f6 100644 --- a/js/modules/dark-mode.js +++ b/js/modules/dark-mode.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/dropdown.js b/js/modules/dropdown.js index 055c8624..0668fb1e 100644 --- a/js/modules/dropdown.js +++ b/js/modules/dropdown.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/exit-intent.js b/js/modules/exit-intent.js index 06612cc5..49ae46ed 100644 --- a/js/modules/exit-intent.js +++ b/js/modules/exit-intent.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/image-gallery.js b/js/modules/image-gallery.js index 2f26cd2e..a22ed13f 100644 --- a/js/modules/image-gallery.js +++ b/js/modules/image-gallery.js @@ -1,5 +1,5 @@ // /* -// * zenCSS v2.0.1-beta (https://zencss.com/) +// * zenCSS v2.0.2-beta (https://zencss.com/) // * Copyright 2022-2024 Shaun Mackey // * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) // */ @@ -7,7 +7,7 @@ //12/29 removing lazy load /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/lazy-load.js b/js/modules/lazy-load.js index d7c4259c..fa228666 100644 --- a/js/modules/lazy-load.js +++ b/js/modules/lazy-load.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/link-scroll.js b/js/modules/link-scroll.js index 0ff2dad2..49c29e95 100644 --- a/js/modules/link-scroll.js +++ b/js/modules/link-scroll.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/misc.js b/js/modules/misc.js index 523eb3de..38076357 100644 --- a/js/modules/misc.js +++ b/js/modules/misc.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/mobile-nav.js b/js/modules/mobile-nav.js index 426bf7e2..53cb7106 100644 --- a/js/modules/mobile-nav.js +++ b/js/modules/mobile-nav.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/modal.js b/js/modules/modal.js index 5202974f..953f7227 100644 --- a/js/modules/modal.js +++ b/js/modules/modal.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/multistep-wizard.js b/js/modules/multistep-wizard.js index 18a123ee..eeeb0313 100644 --- a/js/modules/multistep-wizard.js +++ b/js/modules/multistep-wizard.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/poll.js b/js/modules/poll.js index 08cc1d84..8af5603d 100644 --- a/js/modules/poll.js +++ b/js/modules/poll.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/spin.js b/js/modules/spin.js index f526242f..1b2edb1c 100644 --- a/js/modules/spin.js +++ b/js/modules/spin.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/star-component.js b/js/modules/star-component.js index 4400d153..9b808eb9 100644 --- a/js/modules/star-component.js +++ b/js/modules/star-component.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/tabs.js b/js/modules/tabs.js index c78d2c14..4d2507f4 100644 --- a/js/modules/tabs.js +++ b/js/modules/tabs.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/test-mode.js b/js/modules/test-mode.js index bb0e126a..e557e8ed 100644 --- a/js/modules/test-mode.js +++ b/js/modules/test-mode.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/js/modules/wizard.js b/js/modules/wizard.js index c39a239e..5a48768c 100644 --- a/js/modules/wizard.js +++ b/js/modules/wizard.js @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/package-lock.json b/package-lock.json index 47f95c1f..9b74de4b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zencss", - "version": "v2.0.1-beta", + "version": "v2.0.2-beta", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "zencss", - "version": "v2.0.1-beta", + "version": "v2.0.2-beta", "license": "MIT", "devDependencies": { "autoprefixer": "^10.4.16", diff --git a/package.json b/package.json index d63c94c6..fd3c930e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zencss", - "version": "2.0.1-beta", + "version": "2.0.2-beta", "description": "An intelligent web development framework, design system and toolkit.", "main": "index.html", "scripts": { diff --git a/scss/_user-settings.scss b/scss/_user-settings.scss index cb0298cd..89e926e3 100644 --- a/scss/_user-settings.scss +++ b/scss/_user-settings.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_color-contrast-checker.scss b/scss/core/_color-contrast-checker.scss index b8192d08..5e71cc69 100644 --- a/scss/core/_color-contrast-checker.scss +++ b/scss/core/_color-contrast-checker.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_config.scss b/scss/core/_config.scss index 8ad1b07a..b48801f1 100644 --- a/scss/core/_config.scss +++ b/scss/core/_config.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_flex.scss b/scss/core/_flex.scss index c14ad2a7..e10d5889 100644 --- a/scss/core/_flex.scss +++ b/scss/core/_flex.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_footer.scss b/scss/core/_footer.scss index 081a745c..3b3faae5 100644 --- a/scss/core/_footer.scss +++ b/scss/core/_footer.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_formatting.scss b/scss/core/_formatting.scss index adf12dd2..47b7c45c 100644 --- a/scss/core/_formatting.scss +++ b/scss/core/_formatting.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_framework.scss b/scss/core/_framework.scss index 4dfe84a9..02f39bbd 100644 --- a/scss/core/_framework.scss +++ b/scss/core/_framework.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_header.scss b/scss/core/_header.scss index f72aeaab..12ae2f89 100644 --- a/scss/core/_header.scss +++ b/scss/core/_header.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_media-query.scss b/scss/core/_media-query.scss index 87d62705..b540a9f4 100644 --- a/scss/core/_media-query.scss +++ b/scss/core/_media-query.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_mixins.scss b/scss/core/_mixins.scss index 0d96e4aa..f89c07cc 100644 --- a/scss/core/_mixins.scss +++ b/scss/core/_mixins.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2023-2023 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_scaffold.scss b/scss/core/_scaffold.scss index 3b096e6b..bba2dee5 100644 --- a/scss/core/_scaffold.scss +++ b/scss/core/_scaffold.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/core/_wip.scss b/scss/core/_wip.scss index 3c6286d0..2ec7fec9 100644 --- a/scss/core/_wip.scss +++ b/scss/core/_wip.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_bg-color.scss b/scss/design/_bg-color.scss index 5118f07c..42b95160 100644 --- a/scss/design/_bg-color.scss +++ b/scss/design/_bg-color.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_border-color.scss b/scss/design/_border-color.scss index 66562d60..39b39adf 100644 --- a/scss/design/_border-color.scss +++ b/scss/design/_border-color.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_buttons.scss b/scss/design/_buttons.scss index 379bade2..c3856ba3 100644 --- a/scss/design/_buttons.scss +++ b/scss/design/_buttons.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_text-color.scss b/scss/design/_text-color.scss index b2286bf5..7ea36ecd 100644 --- a/scss/design/_text-color.scss +++ b/scss/design/_text-color.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_text.scss b/scss/design/_text.scss index 837325c9..96c30a2a 100644 --- a/scss/design/_text.scss +++ b/scss/design/_text.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/design/_themes.scss b/scss/design/_themes.scss index a141071c..9eb91f1f 100644 --- a/scss/design/_themes.scss +++ b/scss/design/_themes.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/general/_components.scss b/scss/general/_components.scss index 3d9530c6..b9307628 100644 --- a/scss/general/_components.scss +++ b/scss/general/_components.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/general/_form.scss b/scss/general/_form.scss index d0765950..48868c84 100644 --- a/scss/general/_form.scss +++ b/scss/general/_form.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/general/_margin-padding.scss b/scss/general/_margin-padding.scss index 3b817e6b..e8da3e46 100644 --- a/scss/general/_margin-padding.scss +++ b/scss/general/_margin-padding.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/general/_test.scss b/scss/general/_test.scss index b081952f..0f6de6d3 100644 --- a/scss/general/_test.scss +++ b/scss/general/_test.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_accessability.scss b/scss/optional/_accessability.scss index a608907f..b3c8cc3b 100644 --- a/scss/optional/_accessability.scss +++ b/scss/optional/_accessability.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_alert.scss b/scss/optional/_alert.scss index f50d3910..c3838c27 100644 --- a/scss/optional/_alert.scss +++ b/scss/optional/_alert.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_animation.scss b/scss/optional/_animation.scss index 19610f0f..b8a7912b 100644 --- a/scss/optional/_animation.scss +++ b/scss/optional/_animation.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_decoration.scss b/scss/optional/_decoration.scss index c43f7e9b..dd2f957b 100644 --- a/scss/optional/_decoration.scss +++ b/scss/optional/_decoration.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_image-gallery.scss b/scss/optional/_image-gallery.scss index e677cf21..962cbf41 100644 --- a/scss/optional/_image-gallery.scss +++ b/scss/optional/_image-gallery.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_menus.scss b/scss/optional/_menus.scss index dc5db5d7..0d0a622b 100644 --- a/scss/optional/_menus.scss +++ b/scss/optional/_menus.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_multistep-wizard.scss b/scss/optional/_multistep-wizard.scss index 5d75afaa..0d8158a5 100644 --- a/scss/optional/_multistep-wizard.scss +++ b/scss/optional/_multistep-wizard.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_slider.scss b/scss/optional/_slider.scss index 54b84413..d0150c40 100644 --- a/scss/optional/_slider.scss +++ b/scss/optional/_slider.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/_stacking.scss b/scss/optional/_stacking.scss index b338cd45..a8dc19d8 100644 --- a/scss/optional/_stacking.scss +++ b/scss/optional/_stacking.scss @@ -1,5 +1,5 @@ // /* -// * zenCSS v2.0.1-beta (https://zencss.com/) +// * zenCSS v2.0.2-beta (https://zencss.com/) // * Copyright 2022-2024 Shaun Mackey // * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) // */ diff --git a/scss/optional/_table.scss b/scss/optional/_table.scss index 8198eab2..a8e42820 100644 --- a/scss/optional/_table.scss +++ b/scss/optional/_table.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/marketing/_contact-form.scss b/scss/optional/marketing/_contact-form.scss index e94ee877..9abb85de 100644 --- a/scss/optional/marketing/_contact-form.scss +++ b/scss/optional/marketing/_contact-form.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/marketing/_exit-intent.scss b/scss/optional/marketing/_exit-intent.scss index 53118754..48066bfe 100644 --- a/scss/optional/marketing/_exit-intent.scss +++ b/scss/optional/marketing/_exit-intent.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/optional/marketing/_marketing-promos.scss b/scss/optional/marketing/_marketing-promos.scss index 4d90b551..bf9c7fa0 100644 --- a/scss/optional/marketing/_marketing-promos.scss +++ b/scss/optional/marketing/_marketing-promos.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */ diff --git a/scss/zen.scss b/scss/zen.scss index bd05b184..e62a9e6f 100644 --- a/scss/zen.scss +++ b/scss/zen.scss @@ -1,5 +1,5 @@ /* - * zenCSS v2.0.1-beta (https://zencss.com/) + * zenCSS v2.0.2-beta (https://zencss.com/) * Copyright 2022-2024 Shaun Mackey * Licensed under MIT (https://github.com/zen-solutions/zencss/blob/main/LICENSE) */