From aa434703ed19e6389fbdece321d17ea60b78066c Mon Sep 17 00:00:00 2001 From: samarth Date: Tue, 27 May 2025 18:17:47 +0530 Subject: [PATCH 01/13] Added Dockerfile for Jenkins automation --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6e8acef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:alpine +COPY . /usr/share/nginx/html From ff92c9a90504871a04c760de2677573ab7c42087 Mon Sep 17 00:00:00 2001 From: samarth Date: Tue, 27 May 2025 19:53:10 +0530 Subject: [PATCH 02/13] Test webhook trigger --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a7c9cc6..a7b57db 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@

Trade-in-offer

-

Super value deals

+

SEXY VALUES

On all products

save more coupons & up to 70% off!

From b109284ad747db4d67c9ccfacce2cf0259094551 Mon Sep 17 00:00:00 2001 From: samarth Date: Wed, 28 May 2025 00:30:13 +0530 Subject: [PATCH 03/13] Testing CI/CD - Updated homepage --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a7b57db..0a49261 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@

Trade-in-offer

-

SEXY VALUES

+

super value

On all products

save more coupons & up to 70% off!

From d120d5448c285a009017afe199fcdc9f7eb958bc Mon Sep 17 00:00:00 2001 From: sanjana Date: Wed, 28 May 2025 11:23:35 +0530 Subject: [PATCH 04/13] Added new pages and updated index, script, and style files --- about.html | 164 +++++++++++ blog.html | 192 ++++++++++++ contact.html | 206 +++++++++++++ index.html | 102 +++---- script.js | 58 ++++ shop.html | 134 +++++++++ style.css | 813 +++++++++++++++++++++++++++++++++++++++++++++++++-- 7 files changed, 1603 insertions(+), 66 deletions(-) create mode 100644 about.html create mode 100644 blog.html create mode 100644 contact.html create mode 100644 shop.html diff --git a/about.html b/about.html new file mode 100644 index 0000000..21538f6 --- /dev/null +++ b/about.html @@ -0,0 +1,164 @@ + + + + + + + About - Ecommerce website + + + + + +
+ +
+ + +
+ + +
+ +
+

Who We Are?

+

+ We are a passionate team dedicated to providing high-quality fashion and accessories + to our customers. Our journey began with a simple idea: to make stylish clothing + accessible to everyone. Today, we're proud to offer a wide range of products + that combine style, comfort, and affordability. +

+ Create stunning images with as much or as little control as you like + thanks to a choice of Basic and Creative modes. + +

+ + + Create stunning images with as much or as little control as you like thanks + to a choice of Basic and Creative modes. + +
+
+ +
+

Download Our App

+
+ +
+
+ +
+
+ +
Free Shipping
+
+
+ +
Online Order
+
+
+ +
Save Money
+
+
+ +
Promotions
+
+
+ +
Happy Sell
+
+
+ +
24/7 Support
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..6db1be0 --- /dev/null +++ b/blog.html @@ -0,0 +1,192 @@ + + + + + + + Blog - Ecommerce website + + + + + +
+ +
+ + +
+ + +
+
+
+ Fashion Trends +
+
+

The Latest Fashion Trends for Summer 2024

+

Discover this season's must-have pieces and styling tips that will keep you looking fresh and fashionable all summer long. From vibrant colors to sustainable materials...

+
+ March 15, 2024 + 12 Comments +
+ CONTINUE READING +
+

15/03

+
+ +
+
+ Sustainable Fashion +
+
+

Sustainable Fashion: Making Better Choices

+

Learn how to build a sustainable wardrobe that's both stylish and environmentally conscious. We explore eco-friendly materials, ethical brands, and conscious consumption...

+
+ March 14, 2024 + 8 Comments +
+ CONTINUE READING +
+

14/03

+
+ +
+
+ Style Guide +
+
+

Essential Style Guide: Building Your Capsule Wardrobe

+

Create a versatile and timeless wardrobe with our comprehensive guide to capsule wardrobes. Learn how to mix and match key pieces for endless outfit possibilities...

+
+ March 13, 2024 + 15 Comments +
+ CONTINUE READING +
+

13/03

+
+ +
+
+ Fashion Tech +
+
+

The Future of Fashion: Technology Meets Style

+

Explore how technology is revolutionizing the fashion industry, from smart fabrics to virtual try-ons. Discover the latest innovations shaping the future of how we shop and wear clothes...

+
+ March 12, 2024 + 10 Comments +
+ CONTINUE READING +
+

12/03

+
+
+ +
+ 1 + 2 + 3 + +
+ +
+ +
+ + +
+
+
+ + + + + + + \ No newline at end of file diff --git a/contact.html b/contact.html new file mode 100644 index 0000000..7de0e65 --- /dev/null +++ b/contact.html @@ -0,0 +1,206 @@ + + + + + + + Contact - Ecommerce website + + + + + +
+ +
+ + +
+ + +
+
+ GET IN TOUCH +

Visit one of our agency locations or contact us today

+

Head Office

+
+
  • + +

    562 Wellington Road, Street 32, San Francisco

    +
  • +
  • + +

    contact@example.com

    +
  • +
  • + +

    +01 2222 365 /(+91) 01 2345 6789

    +
  • +
  • + +

    Monday to Saturday: 9:00am to 16:00pm

    +
  • +
    +
    + +
    + +
    +
    + +
    +
    + LEAVE A MESSAGE +

    Share Your Thoughts

    + + + + + +
    + + +
    + +
    +

    Our Team

    +

    Get in touch with our experienced team members

    +
    +
    +
    + John Doe +
    +
    +

    John Doe

    + Senior Marketing Manager +
    +

    + 000 123 000 77 88

    +

    contact@example.com

    +
    +
    +
    + +
    +
    + William Smith +
    +
    +

    William Smith

    + Senior Marketing Manager +
    +

    + 000 123 000 77 88

    +

    contact@example.com

    +
    +
    +
    + +
    +
    + Emma Stone +
    +
    +

    Emma Stone

    + Senior Marketing Manager +
    +

    + 000 123 000 77 88

    +

    contact@example.com

    +
    +
    +
    +
    +
    +
    + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index 0a49261..1e43443 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@

    Trade-in-offer

    -

    super value

    +

    Super value deals

    On all products

    save more coupons & up to 70% off!

    @@ -364,58 +364,62 @@
    get e-mail updates about out latest shop and special offers
    -
    - diff --git a/blog.html b/blog.html index 6db1be0..cdc1c0e 100644 --- a/blog.html +++ b/blog.html @@ -29,7 +29,7 @@
    - +
    diff --git a/cart.html b/cart.html new file mode 100644 index 0000000..5fb0c05 --- /dev/null +++ b/cart.html @@ -0,0 +1,179 @@ + + + + + + + Cart - Ecommerce website + + + + + +
    + +
    + +
    +
    +

    Shopping Cart

    +
    + +
    +
    +
    +

    Cart Total

    +

    Total Items: 0

    +

    Total Amount: ₹0

    +
    + +
    +
    + + + +
    + + + + + + + \ No newline at end of file diff --git a/contact.html b/contact.html index 7de0e65..79346aa 100644 --- a/contact.html +++ b/contact.html @@ -29,7 +29,7 @@
    - +
    diff --git a/index.html b/index.html index 1e43443..32f9ea6 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@
    - +
    @@ -79,9 +79,9 @@

    Featured Products

    Summer Collection New Morden Design

    - product image + Floral Print T-Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Floral Print Summer T-Shirt

    @@ -89,13 +89,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,499

    +
    - product image + Tropical Leaf T-Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Tropical Leaf Pattern Shirt

    @@ -103,13 +105,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,799

    +
    - product image + Floral White Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    White Floral Casual Shirt

    @@ -117,13 +121,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,299

    +
    - product image + Flower Print Blouse adidas -

    Cartoon Astronaut T-Shirts

    +

    Cherry Blossom Print Blouse

    @@ -131,13 +137,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹999

    +
    - product image + Navy Floral Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Navy Blue Floral Shirt

    @@ -145,13 +153,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,599

    +
    - product image + Classic Jacket adidas -

    Cartoon Astronaut T-Shirts

    +

    Vintage Style Jacket

    @@ -159,13 +169,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹2,499

    +
    - product image + Floral Pants adidas -

    Cartoon Astronaut T-Shirts

    +

    Floral Print Palazzo Pants

    @@ -173,13 +185,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,899

    +
    - product image + Floral Top adidas -

    Cartoon Astronaut T-Shirts

    +

    Elegant Floral Top

    @@ -187,8 +201,10 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,199

    +
    @@ -204,9 +220,9 @@

    New Arrivals

    Summer Collection New Morden Design

    - product image + Classic Blue Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Classic Blue Button-Down Shirt

    @@ -214,13 +230,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,699

    +
    - product image + Gray Casual Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Modern Gray Casual Shirt

    @@ -228,13 +246,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,399

    +
    - product image + White Casual Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Classic White Casual Shirt

    @@ -242,13 +262,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,299

    +
    - product image + Embroidered Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Embroidered Pattern Shirt

    @@ -256,13 +278,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,999

    +
    - product image + Denim Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Classic Denim Button-Up

    @@ -270,13 +294,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹1,799

    +
    - product image + Cargo Shorts adidas -

    Cartoon Astronaut T-Shirts

    +

    Casual Cargo Shorts

    @@ -284,13 +310,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹899

    +
    - product image + Brown Jacket adidas -

    Cartoon Astronaut T-Shirts

    +

    Classic Brown Jacket

    @@ -298,13 +326,15 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹2,999

    +
    - product image + Plain T-Shirt adidas -

    Cartoon Astronaut T-Shirts

    +

    Essential Plain T-Shirt

    @@ -312,8 +342,10 @@

    Cartoon Astronaut T-Shirts

    -

    $78

    - +

    ₹799

    +
    diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..fc2ccff --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1819 @@ +{ + "name": "ecommerce-website", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "ecommerce-website", + "version": "1.0.0", + "dependencies": { + "cors": "^2.8.5", + "exceljs": "^4.3.0", + "express": "^4.18.2" + } + }, + "node_modules/@fast-csv/format": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@fast-csv/format/-/format-4.3.5.tgz", + "integrity": "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==", + "license": "MIT", + "dependencies": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isboolean": "^3.0.3", + "lodash.isequal": "^4.5.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0" + } + }, + "node_modules/@fast-csv/parse": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@fast-csv/parse/-/parse-4.3.6.tgz", + "integrity": "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==", + "license": "MIT", + "dependencies": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.groupby": "^4.6.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0", + "lodash.isundefined": "^3.0.1", + "lodash.uniq": "^4.5.0" + } + }, + "node_modules/@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "license": "MIT" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/archiver": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.2.tgz", + "integrity": "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==", + "license": "MIT", + "dependencies": { + "archiver-utils": "^2.1.0", + "async": "^3.2.4", + "buffer-crc32": "^0.2.1", + "readable-stream": "^3.6.0", + "readdir-glob": "^1.1.2", + "tar-stream": "^2.2.0", + "zip-stream": "^4.1.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/archiver-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", + "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "license": "MIT", + "dependencies": { + "glob": "^7.1.4", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^2.0.0" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/archiver-utils/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/archiver-utils/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/archiver-utils/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "license": "MIT" + }, + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/big-integer": { + "version": "1.6.52", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", + "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==", + "license": "Unlicense", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/binary": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", + "integrity": "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==", + "license": "MIT", + "dependencies": { + "buffers": "~0.1.1", + "chainsaw": "~0.1.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bluebird": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", + "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==", + "license": "MIT" + }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/buffer-indexof-polyfill": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", + "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==", + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/buffers": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz", + "integrity": "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==", + "engines": { + "node": ">=0.2.0" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chainsaw": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", + "integrity": "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==", + "license": "MIT/X11", + "dependencies": { + "traverse": ">=0.3.0 <0.4" + }, + "engines": { + "node": "*" + } + }, + "node_modules/compress-commons": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.2.tgz", + "integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==", + "license": "MIT", + "dependencies": { + "buffer-crc32": "^0.2.13", + "crc32-stream": "^4.0.2", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "license": "MIT" + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==", + "license": "Apache-2.0", + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/crc32-stream": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.3.tgz", + "integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==", + "license": "MIT", + "dependencies": { + "crc-32": "^1.2.0", + "readable-stream": "^3.4.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==", + "license": "MIT" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "license": "BSD-3-Clause", + "dependencies": { + "readable-stream": "^2.0.2" + } + }, + "node_modules/duplexer2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/duplexer2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/duplexer2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/exceljs": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/exceljs/-/exceljs-4.4.0.tgz", + "integrity": "sha512-XctvKaEMaj1Ii9oDOqbW/6e1gXknSY4g/aLCDicOXqBE4M0nRWkUu0PTp++UPNzoFY12BNHMfs/VadKIS6llvg==", + "license": "MIT", + "dependencies": { + "archiver": "^5.0.0", + "dayjs": "^1.8.34", + "fast-csv": "^4.3.1", + "jszip": "^3.10.1", + "readable-stream": "^3.6.0", + "saxes": "^5.0.1", + "tmp": "^0.2.0", + "unzipper": "^0.10.11", + "uuid": "^8.3.0" + }, + "engines": { + "node": ">=8.3.0" + } + }, + "node_modules/express": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.12", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fast-csv": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fast-csv/-/fast-csv-4.3.6.tgz", + "integrity": "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==", + "license": "MIT", + "dependencies": { + "@fast-csv/format": "4.3.5", + "@fast-csv/parse": "4.3.6" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "license": "MIT" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" + }, + "node_modules/fstream": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "deprecated": "This package is no longer supported.", + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==", + "license": "MIT" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" + }, + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "license": "(MIT OR GPL-3.0-or-later)", + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "node_modules/jszip/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/jszip/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/jszip/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/lazystream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", + "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", + "license": "MIT", + "dependencies": { + "readable-stream": "^2.0.5" + }, + "engines": { + "node": ">= 0.6.3" + } + }, + "node_modules/lazystream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/lazystream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/lazystream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "license": "MIT", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/listenercount": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/listenercount/-/listenercount-1.0.1.tgz", + "integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==", + "license": "ISC" + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" + }, + "node_modules/lodash.difference": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", + "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==", + "license": "MIT" + }, + "node_modules/lodash.escaperegexp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", + "license": "MIT" + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" + }, + "node_modules/lodash.groupby": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.groupby/-/lodash.groupby-4.6.0.tgz", + "integrity": "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==", + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "license": "MIT" + }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==", + "deprecated": "This package is deprecated. Use require('node:util').isDeepStrictEqual instead.", + "license": "MIT" + }, + "node_modules/lodash.isfunction": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", + "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==", + "license": "MIT" + }, + "node_modules/lodash.isnil": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnil/-/lodash.isnil-4.0.0.tgz", + "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==", + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "license": "MIT" + }, + "node_modules/lodash.isundefined": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", + "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==", + "license": "MIT" + }, + "node_modules/lodash.union": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", + "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==", + "license": "MIT" + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "license": "MIT" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "license": "(MIT AND Zlib)" + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", + "license": "MIT" + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "license": "MIT" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdir-glob": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz", + "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==", + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.1.0" + } + }, + "node_modules/readdir-glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/readdir-glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "license": "MIT" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tmp": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/traverse": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", + "integrity": "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==", + "license": "MIT/X11", + "engines": { + "node": "*" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/unzipper": { + "version": "0.10.14", + "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.10.14.tgz", + "integrity": "sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g==", + "license": "MIT", + "dependencies": { + "big-integer": "^1.6.17", + "binary": "~0.3.0", + "bluebird": "~3.4.1", + "buffer-indexof-polyfill": "~1.0.0", + "duplexer2": "~0.1.4", + "fstream": "^1.0.12", + "graceful-fs": "^4.2.2", + "listenercount": "~1.0.1", + "readable-stream": "~2.3.6", + "setimmediate": "~1.0.4" + } + }, + "node_modules/unzipper/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/unzipper/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "license": "MIT" + }, + "node_modules/unzipper/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "license": "MIT" + }, + "node_modules/zip-stream": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.1.tgz", + "integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==", + "license": "MIT", + "dependencies": { + "archiver-utils": "^3.0.4", + "compress-commons": "^4.1.2", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/zip-stream/node_modules/archiver-utils": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-3.0.4.tgz", + "integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==", + "license": "MIT", + "dependencies": { + "glob": "^7.2.3", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">= 10" + } + } + } + } + \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..660e7e0 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "ecommerce-website", + "version": "1.0.0", + "description": "E-commerce website with cart functionality", + "main": "server.js", + "scripts": { + "start": "node server.js" + }, + "dependencies": { + "cors": "^2.8.5", + "express": "^4.18.2", + "exceljs": "^4.3.0" + } + } \ No newline at end of file diff --git a/script.js b/script.js index 9631187..8c3cfaf 100644 --- a/script.js +++ b/script.js @@ -1,8 +1,10 @@ // focus the cursor on the email-address input const emailField = document.getElementById("email-address-input"); -emailField.focus({ - preventScroll: true, -}); +if (emailField) { + emailField.focus({ + preventScroll: true, + }); +} // Store feedback in localStorage let feedbacks = JSON.parse(localStorage.getItem('feedbacks')) || []; @@ -61,3 +63,385 @@ function displayFeedbacks() { // Display feedbacks when page loads document.addEventListener('DOMContentLoaded', displayFeedbacks); + +// Cart functionality +document.addEventListener('DOMContentLoaded', function() { + console.log('DOM Content Loaded'); + + // Initialize cart from localStorage or empty array + let cart = JSON.parse(localStorage.getItem('cart') || '[]'); + console.log('Initial cart:', cart); + + // Handle adding items to cart + document.body.addEventListener('click', function(e) { + const cartBtn = e.target.closest('.cart-btn'); + if (cartBtn) { + e.preventDefault(); + + // Get product info + const product = cartBtn.closest('.product-cart'); + if (!product) { + console.error('Product element not found'); + return; + } + + const nameElement = product.querySelector('h4:not(.price)'); + const priceElement = product.querySelector('.price'); + const imageElement = product.querySelector('img'); + + if (!nameElement || !priceElement || !imageElement) { + console.error('Required product elements not found'); + return; + } + + const item = { + name: nameElement.textContent, + price: parseFloat(priceElement.textContent.replace('₹', '').replace(',', '')), + image: imageElement.src, + quantity: 1, + id: Date.now() + }; + + console.log('Adding item with price:', item.price); + + // Add to cart + cart.push(item); + + // Save to localStorage + try { + localStorage.setItem('cart', JSON.stringify(cart)); + console.log('Added item:', item); + console.log('Updated cart:', cart); + + // Update UI + updateCartCount(); + displayCart(); + alert('Added to cart: ' + item.name); + } catch (error) { + console.error('Error saving to localStorage:', error); + alert('Error adding item to cart'); + } + } + }); + + // Handle removing items from cart + window.removeFromCart = function(index) { + cart.splice(index, 1); + localStorage.setItem('cart', JSON.stringify(cart)); + displayCart(); + updateCartCount(); + }; + + // Update cart count in header + function updateCartCount() { + const count = cart.length; + console.log('Updating cart count:', count); + const cartIcon = document.querySelector('.header-list-icon .fa-bag-shopping'); + if (cartIcon) { + let badge = cartIcon.querySelector('.cart-count'); + if (count > 0) { + if (!badge) { + badge = document.createElement('span'); + badge.className = 'cart-count'; + cartIcon.parentElement.appendChild(badge); + } + badge.textContent = count; + } else if (badge) { + badge.remove(); + } + } + } + + // Display cart on cart page + function displayCart() { + const cartContainer = document.getElementById('cart-items'); + const totalItemsElement = document.getElementById('total-items'); + const totalAmountElement = document.getElementById('total-amount'); + + console.log('Display cart called'); + console.log('Cart container:', cartContainer); + console.log('Total items element:', totalItemsElement); + console.log('Total amount element:', totalAmountElement); + console.log('Current cart:', cart); + + // If not on cart page, just return + if (!cartContainer) { + console.log('Not on cart page'); + return; + } + + // Handle empty cart + if (cart.length === 0) { + console.log('Cart is empty'); + cartContainer.innerHTML = '

    Your cart is empty

    '; + if (totalItemsElement) totalItemsElement.textContent = '0'; + if (totalAmountElement) totalAmountElement.textContent = '0'; + return; + } + + // Calculate totals + let totalAmount = 0; + const cartHTML = cart.map((item, index) => { + const itemTotal = item.price * item.quantity; + totalAmount += itemTotal; + console.log(`Item ${index}:`, item.name, 'Price:', item.price, 'Total:', itemTotal); + + return ` +
    + ${item.name} +
    +

    ${item.name}

    +

    Price: ₹${item.price.toLocaleString('en-IN')}

    +

    Quantity: ${item.quantity}

    +
    +
    ₹${itemTotal.toLocaleString('en-IN')}
    + +
    + `; + }).join(''); + + // Update DOM + console.log('Total amount calculated:', totalAmount); + cartContainer.innerHTML = cartHTML; + + if (totalItemsElement) { + console.log('Updating total items:', cart.length); + totalItemsElement.textContent = cart.length.toString(); + } + + if (totalAmountElement) { + console.log('Updating total amount:', totalAmount); + totalAmountElement.textContent = totalAmount.toLocaleString('en-IN'); + } + } + + // Handle checkout + window.proceedToCheckout = function() { + if (cart.length === 0) { + alert('Your cart is empty!'); + return; + } + const modal = document.getElementById('registration-modal'); + if (modal) modal.style.display = 'block'; + }; + + // Close modal + const closeBtn = document.querySelector('.close'); + if (closeBtn) { + closeBtn.onclick = function() { + document.getElementById('registration-modal').style.display = 'none'; + }; + } + + // Close modal when clicking outside + window.onclick = function(e) { + const modal = document.getElementById('registration-modal'); + if (e.target === modal) { + modal.style.display = 'none'; + } + }; + + // Handle registration form submission + const registrationForm = document.getElementById('registration-form'); + if (registrationForm) { + // Validate phone number + const phoneInput = document.getElementById('phone'); + if (phoneInput) { + phoneInput.addEventListener('input', function(e) { + let value = e.target.value.replace(/\D/g, ''); + if (value.length > 10) value = value.slice(0, 10); + e.target.value = value; + }); + } + + // Validate ZIP code + const zipInput = document.getElementById('zip'); + if (zipInput) { + zipInput.addEventListener('input', function(e) { + let value = e.target.value.replace(/\D/g, ''); + if (value.length > 6) value = value.slice(0, 6); + e.target.value = value; + }); + } + + // Format card number with spaces + const cardNumberInput = document.getElementById('card-number'); + if (cardNumberInput) { + cardNumberInput.addEventListener('input', function(e) { + let value = e.target.value.replace(/\s/g, '').replace(/[^0-9]/gi, ''); + let formattedValue = ''; + for (let i = 0; i < value.length; i++) { + if (i > 0 && i % 4 === 0) { + formattedValue += ' '; + } + formattedValue += value[i]; + } + e.target.value = formattedValue.slice(0, 19); + }); + } + + // Format expiry date + const expiryInput = document.getElementById('expiry'); + if (expiryInput) { + expiryInput.addEventListener('input', function(e) { + let value = e.target.value.replace(/\s/g, '').replace(/[^0-9]/gi, ''); + if (value.length > 2) { + value = value.slice(0, 2) + '/' + value.slice(2); + } + e.target.value = value.slice(0, 5); + }); + } + + // Format CVV + const cvvInput = document.getElementById('cvv'); + if (cvvInput) { + cvvInput.addEventListener('input', function(e) { + let value = e.target.value.replace(/\s/g, '').replace(/[^0-9]/gi, ''); + e.target.value = value.slice(0, 3); + }); + } + + registrationForm.onsubmit = async function(e) { + e.preventDefault(); + + // Get all form inputs + const name = document.getElementById('name').value.trim(); + const email = document.getElementById('email').value.trim(); + const phone = phoneInput.value.trim(); + const street = document.getElementById('street').value.trim(); + const city = document.getElementById('city').value.trim(); + const state = document.getElementById('state').value.trim(); + const zip = zipInput.value.trim(); + const country = document.getElementById('country').value.trim(); + const cardNumber = cardNumberInput.value.replace(/\s/g, ''); + const expiry = expiryInput.value; + const cvv = cvvInput.value; + const cardName = document.getElementById('card-name').value.trim(); + + // Validation rules + if (name.length < 3) { + alert('Please enter a valid name (at least 3 characters)'); + return; + } + + if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) { + alert('Please enter a valid email address'); + return; + } + + if (phone.length < 10) { + alert('Please enter a valid phone number (10 digits)'); + return; + } + + if (street.length < 5) { + alert('Please enter a valid street address'); + return; + } + + if (city.length < 2) { + alert('Please enter a valid city name'); + return; + } + + if (state.length < 2) { + alert('Please enter a valid state name'); + return; + } + + if (zip.length < 5) { + alert('Please enter a valid ZIP code'); + return; + } + + if (country.length < 2) { + alert('Please enter a valid country name'); + return; + } + + // Card validation + if (cardNumber.length !== 16) { + alert('Please enter a valid 16-digit card number'); + return; + } + + if (!/^\d{2}\/\d{2}$/.test(expiry)) { + alert('Please enter a valid expiry date (MM/YY)'); + return; + } + + const [month, year] = expiry.split('/'); + const currentDate = new Date(); + const currentYear = currentDate.getFullYear() % 100; + const currentMonth = currentDate.getMonth() + 1; + + if (parseInt(year) < currentYear || + (parseInt(year) === currentYear && parseInt(month) < currentMonth) || + parseInt(month) > 12) { + alert('Please enter a valid expiry date'); + return; + } + + if (cvv.length !== 3) { + alert('Please enter a valid 3-digit CVV'); + return; + } + + if (cardName.length < 3) { + alert('Please enter the name as it appears on your card'); + return; + } + + try { + // Calculate total amount + const total = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0); + + // Send order data to server + const response = await fetch('http://localhost:3000/save-order', { + method: 'POST', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify({ + name, + email, + phone, + street, + city, + state, + zip, + country, + cardNumber, + cardName, + items: cart, + total + }) + }); + + const result = await response.json(); + + if (result.success) { + alert('Order placed successfully! Thank you for your purchase.'); + cart = []; + localStorage.setItem('cart', JSON.stringify(cart)); + document.getElementById('registration-modal').style.display = 'none'; + displayCart(); + updateCartCount(); + } else { + throw new Error(result.message || 'Failed to save order'); + } + } catch (error) { + console.error('Error processing order:', error); + alert('There was an error processing your order. Please try again.'); + } + }; + } + + // Initial setup - Call both functions + console.log('Running initial setup'); + updateCartCount(); + displayCart(); // Always try to display cart +}); + diff --git a/server.js b/server.js new file mode 100644 index 0000000..2aa6cb1 --- /dev/null +++ b/server.js @@ -0,0 +1,143 @@ +const express = require('express'); +const cors = require('cors'); +const ExcelJS = require('exceljs'); +const path = require('path'); +const fs = require('fs'); + +const app = express(); +app.use(cors()); +app.use(express.json()); + +// Serve static files +app.use(express.static(__dirname)); + +const EXCEL_FILE = 'orders.xlsx'; + +// Function to create and format worksheet +async function createWorksheet(workbook) { + const worksheet = workbook.addWorksheet('Orders'); + + // Define columns with specific widths and styles + worksheet.columns = [ + { header: 'Order Date', key: 'date', width: 20 }, + { header: 'Name', key: 'name', width: 25 }, + { header: 'Email', key: 'email', width: 30 }, + { header: 'Phone', key: 'phone', width: 15 }, + { header: 'Street', key: 'street', width: 30 }, + { header: 'City', key: 'city', width: 20 }, + { header: 'State', key: 'state', width: 15 }, + { header: 'ZIP', key: 'zip', width: 10 }, + { header: 'Country', key: 'country', width: 20 }, + { header: 'Card Number', key: 'cardNumber', width: 20 }, + { header: 'Card Name', key: 'cardName', width: 25 }, + { header: 'Items', key: 'items', width: 40 }, + { header: 'Total Amount', key: 'total', width: 15 } + ]; + + // Style the header row + worksheet.getRow(1).font = { + bold: true, + size: 12 + }; + + // Add background color to header + worksheet.getRow(1).fill = { + type: 'pattern', + pattern: 'solid', + fgColor: { argb: 'FFE0E0E0' } + }; + + // Add borders to header + worksheet.getRow(1).border = { + top: { style: 'thin' }, + left: { style: 'thin' }, + bottom: { style: 'double' }, + right: { style: 'thin' } + }; + + return worksheet; +} + +app.post('/save-order', async (req, res) => { + try { + const workbook = new ExcelJS.Workbook(); + let worksheet; + + // Check if file exists + if (fs.existsSync(EXCEL_FILE)) { + await workbook.xlsx.readFile(EXCEL_FILE); + worksheet = workbook.getWorksheet('Orders'); + + // If worksheet doesn't exist, create it + if (!worksheet) { + worksheet = await createWorksheet(workbook); + } + } else { + // Create new worksheet with formatting + worksheet = await createWorksheet(workbook); + } + + // Format the total amount + const totalAmount = parseFloat(req.body.total).toFixed(2); + + // Add the new order + const newRow = worksheet.addRow({ + date: new Date().toLocaleString(), + name: req.body.name, + email: req.body.email, + phone: req.body.phone, + street: req.body.street, + city: req.body.city, + state: req.body.state, + zip: req.body.zip, + country: req.body.country, + cardNumber: `****-****-****-${req.body.cardNumber.slice(-4)}`, + cardName: req.body.cardName, + items: JSON.stringify(req.body.items), + total: totalAmount + }); + + // Style the new row + newRow.border = { + top: { style: 'thin' }, + left: { style: 'thin' }, + bottom: { style: 'thin' }, + right: { style: 'thin' } + }; + + // Align total amount to right + newRow.getCell('total').alignment = { horizontal: 'right' }; + + // Save the file + await workbook.xlsx.writeFile(EXCEL_FILE); + console.log('Order saved successfully'); + res.json({ success: true, message: 'Order saved successfully' }); + } catch (error) { + console.error('Error saving order:', error); + res.status(500).json({ success: false, message: 'Failed to save order' }); + } +}); + +// Try different ports if 3000 is in use +const ports = [3000, 3001, 3002, 3003]; + +function startServer(portIndex = 0) { + if (portIndex >= ports.length) { + console.error('No available ports found'); + return; + } + + const PORT = ports[portIndex]; + app.listen(PORT, () => { + console.log(`Server running on http://localhost:${PORT}`); + }).on('error', (err) => { + if (err.code === 'EADDRINUSE') { + console.log(`Port ${PORT} is busy, trying next port...`); + startServer(portIndex + 1); + } else { + console.error('Server error:', err); + } + }); +} + +startServer(); \ No newline at end of file diff --git a/shop.html b/shop.html index 25fafa6..35d1215 100644 --- a/shop.html +++ b/shop.html @@ -29,7 +29,7 @@
    - +
    @@ -56,7 +56,7 @@

    Cartoon Astronaut T-Shirts

    $78

    - + diff --git a/style.css b/style.css index 224c6b5..b92a0f2 100644 --- a/style.css +++ b/style.css @@ -267,6 +267,43 @@ body { position: absolute; right: 10px; bottom: 10px; + cursor: pointer; + transition: all 0.3s ease; +} + +.product-section .product-cart .buy-icon:hover { + background-color: #088178; + color: #fff; +} + +.cart-btn { + position: absolute; + bottom: 15px; + right: 15px; + width: 40px; + height: 40px; + border-radius: 50%; + background: #e8f6f6; + border: none; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.3s ease; +} + +.cart-btn i { + color: #088178; + font-size: 16px; + transition: color 0.3s ease; +} + +.cart-btn:hover { + background: #088178; +} + +.cart-btn:hover i { + color: #fff; } /* off banner section styles */ @@ -1234,3 +1271,287 @@ footer .social-icons a:hover { } } +/* Cart Styles */ +#cart { + padding: 40px 80px; + margin-top: 80px; +} + +#cart h1 { + text-align: center; + margin-bottom: 40px; +} + +#cart-items { + max-width: 1200px; + margin: 0 auto; +} + +.cart-item { + display: flex; + align-items: center; + padding: 20px; + margin-bottom: 20px; + border: 1px solid #e1e1e1; + border-radius: 8px; + background: #fff; + box-shadow: 0 2px 5px rgba(0,0,0,0.05); +} + +.cart-item img { + width: 100px; + height: 100px; + object-fit: cover; + margin-right: 20px; + border-radius: 4px; +} + +.cart-item-details { + flex: 1; +} + +.cart-item-details h4 { + margin: 0 0 10px 0; + color: #1a1a1a; +} + +.cart-item-details p { + margin: 5px 0; + color: #666; +} + +.cart-item-price { + font-size: 18px; + font-weight: 600; + color: #088178; + margin: 0 20px; +} + +.remove-item { + background: none; + border: none; + color: #ff0000; + cursor: pointer; + padding: 8px; + transition: all 0.3s ease; +} + +.remove-item:hover { + color: #cc0000; + transform: scale(1.1); +} + +#cart-summary { + max-width: 1200px; + margin: 40px auto; + padding: 20px; + background: #f8f9fa; + border-radius: 8px; + display: flex; + justify-content: space-between; + align-items: center; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.summary-details { + flex: 1; +} + +.summary-details h3 { + margin-bottom: 15px; + color: #1a1a1a; + font-size: 20px; +} + +.summary-details p { + margin: 10px 0; + font-size: 16px; + color: #1a1a1a; + font-weight: 500; +} + +.summary-details span { + color: #088178; + font-weight: 600; +} + +#total-amount { + color: #088178; + font-size: 18px; + font-weight: bold; +} + +#total-items { + color: #088178; + font-weight: 600; +} + +#checkout-btn { + background-color: #088178; + color: #fff; + padding: 15px 30px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + font-weight: 600; + transition: all 0.3s ease; +} + +#checkout-btn:hover { + background-color: #066661; + transform: translateY(-2px); +} + +.cart-count { + position: absolute; + top: -8px; + right: -8px; + background: #088178; + color: white; + font-size: 12px; + padding: 2px 6px; + border-radius: 50%; + min-width: 18px; + text-align: center; +} + +.header-list-icon { + position: relative; +} + +/* Modal Styles */ +.modal { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.5); + z-index: 1000; + overflow-y: auto; +} + +.modal-content { + position: relative; + background: #fff; + margin: 5% auto; + padding: 30px; + width: 90%; + max-width: 600px; + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); +} + +.close { + position: absolute; + right: 20px; + top: 15px; + font-size: 24px; + cursor: pointer; + color: #666; + transition: color 0.3s ease; +} + +.close:hover { + color: #000; +} + +.form-section { + margin-bottom: 30px; + padding-bottom: 20px; + border-bottom: 1px solid #eee; +} + +.form-section:last-child { + border-bottom: none; +} + +.form-section h3 { + color: #088178; + margin-bottom: 20px; + font-size: 18px; +} + +.form-row { + display: flex; + gap: 15px; + margin-bottom: 15px; +} + +.form-row .form-group { + flex: 1; + margin-bottom: 0; +} + +.form-group { + margin-bottom: 20px; +} + +.form-group label { + display: block; + margin-bottom: 8px; + color: #1a1a1a; + font-weight: 500; +} + +.form-group input, +.form-group textarea { + width: 100%; + padding: 12px; + border: 1px solid #ddd; + border-radius: 4px; + font-size: 14px; + transition: all 0.3s ease; +} + +.form-group input:focus, +.form-group textarea:focus { + border-color: #088178; + box-shadow: 0 0 5px rgba(8, 129, 120, 0.2); + outline: none; +} + +.form-group textarea { + height: 100px; + resize: vertical; +} + +#registration-form button[type="submit"] { + width: 100%; + padding: 15px; + background: #088178; + color: #fff; + border: none; + border-radius: 4px; + font-size: 16px; + font-weight: 600; + cursor: pointer; + transition: all 0.3s ease; + margin-top: 20px; +} + +#registration-form button[type="submit"]:hover { + background: #066661; + transform: translateY(-2px); +} + +/* Responsive styles for the form */ +@media (max-width: 768px) { + .modal-content { + margin: 10% auto; + padding: 20px; + width: 95%; + } + + .form-row { + flex-direction: column; + gap: 0; + } + + .form-row .form-group { + margin-bottom: 20px; + } +} + From e44b254b213adb299297f3c6a7741aafbe934caf Mon Sep 17 00:00:00 2001 From: khushi Date: Thu, 29 May 2025 21:03:31 +0530 Subject: [PATCH 06/13] Updated Dockerfile, script.js, style.css, and cart.html --- Dockerfile | 1 + cart.html | 38 +++++++++++++++++++ script.js | 102 +++++++++++++++++++++++++++++---------------------- style.css | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 202 insertions(+), 44 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e8acef..8df3cbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ FROM nginx:alpine COPY . /usr/share/nginx/html + diff --git a/cart.html b/cart.html index 5fb0c05..b83e540 100644 --- a/cart.html +++ b/cart.html @@ -130,6 +130,44 @@

    Payment Information

    + + +
    diff --git a/script.js b/script.js index 8c3cfaf..64c4aee 100644 --- a/script.js +++ b/script.js @@ -303,9 +303,39 @@ document.addEventListener('DOMContentLoaded', function() { }); } - registrationForm.onsubmit = async function(e) { - e.preventDefault(); + // Function to show bill + function showBill(orderData) { + // Update customer details + document.getElementById('bill-name').textContent = orderData.name; + document.getElementById('bill-email').textContent = orderData.email; + document.getElementById('bill-phone').textContent = orderData.phone; + + // Update shipping address + document.getElementById('bill-address').textContent = `${orderData.street}, ${orderData.city}, ${orderData.state} ${orderData.zip}, ${orderData.country}`; + + // Update order items + const itemsHtml = orderData.items.map(item => ` +
    + ${item.name} x ${item.quantity} + ₹${item.price.toLocaleString('en-IN')} +
    + `).join(''); + + document.getElementById('bill-items').innerHTML = itemsHtml; + + // Update totals + document.getElementById('bill-total-items').textContent = orderData.items.length; + document.getElementById('bill-total-amount').textContent = orderData.total.toLocaleString('en-IN'); + + // Hide registration modal and show bill modal + document.getElementById('registration-modal').style.display = 'none'; + document.getElementById('bill-modal').style.display = 'block'; + } + // Update the registration form submission + registrationForm.onsubmit = function(e) { + e.preventDefault(); + // Get all form inputs const name = document.getElementById('name').value.trim(); const email = document.getElementById('email').value.trim(); @@ -394,48 +424,32 @@ document.addEventListener('DOMContentLoaded', function() { return; } - try { - // Calculate total amount - const total = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0); - - // Send order data to server - const response = await fetch('http://localhost:3000/save-order', { - method: 'POST', - headers: { - 'Content-Type': 'application/json' - }, - body: JSON.stringify({ - name, - email, - phone, - street, - city, - state, - zip, - country, - cardNumber, - cardName, - items: cart, - total - }) - }); - - const result = await response.json(); - - if (result.success) { - alert('Order placed successfully! Thank you for your purchase.'); - cart = []; - localStorage.setItem('cart', JSON.stringify(cart)); - document.getElementById('registration-modal').style.display = 'none'; - displayCart(); - updateCartCount(); - } else { - throw new Error(result.message || 'Failed to save order'); - } - } catch (error) { - console.error('Error processing order:', error); - alert('There was an error processing your order. Please try again.'); - } + // Calculate total amount + const total = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0); + + const orderData = { + name, + email, + phone, + street, + city, + state, + zip, + country, + cardNumber, + cardName, + items: cart, + total + }; + + // Show bill directly + showBill(orderData); + + // Clear cart + cart = []; + localStorage.setItem('cart', JSON.stringify(cart)); + displayCart(); + updateCartCount(); }; } diff --git a/style.css b/style.css index b92a0f2..baf4b17 100644 --- a/style.css +++ b/style.css @@ -1555,3 +1555,108 @@ footer .social-icons a:hover { } } +/* Bill Modal Styles */ +#bill-content { + padding: 20px; +} + +.bill-header { + text-align: center; + margin-bottom: 30px; + border-bottom: 2px solid #088178; + padding-bottom: 20px; +} + +.bill-header h2 { + color: #088178; + margin: 15px 0; +} + +.bill-details { + margin: 20px 0; +} + +.bill-details h3 { + color: #088178; + margin-bottom: 15px; + font-size: 18px; +} + +.customer-info, .shipping-info, .order-info { + margin-bottom: 25px; + padding: 15px; + background: #f8f9fa; + border-radius: 8px; +} + +.bill-items { + margin: 15px 0; +} + +.bill-item { + display: flex; + justify-content: space-between; + padding: 10px 0; + border-bottom: 1px solid #eee; +} + +.bill-item span { + color: #1a1a1a; +} + +.bill-total { + margin-top: 20px; + padding-top: 15px; + border-top: 2px solid #088178; +} + +.bill-total p { + display: flex; + justify-content: space-between; + font-weight: 600; + margin: 10px 0; + color: #1a1a1a; +} + +.bill-total span { + color: #088178; + font-weight: bold; +} + +.bill-footer { + margin-top: 30px; + display: flex; + gap: 15px; + justify-content: center; +} + +.bill-footer button { + min-width: 150px; +} + +/* Print Styles */ +@media print { + body * { + visibility: hidden; + } + #bill-modal, #bill-modal * { + visibility: visible; + } + #bill-modal { + position: absolute; + left: 0; + top: 0; + width: 100%; + background: white; + } + .bill-footer { + display: none; + } + .modal-content { + box-shadow: none; + } + .close { + display: none; + } +} + From bdbb9fa1e90be88b3fbfc8862121d6e66cb19aa6 Mon Sep 17 00:00:00 2001 From: samarth Date: Mon, 2 Jun 2025 18:57:16 +0530 Subject: [PATCH 07/13] Add login page and update script.js --- login.html | 407 +++++++++++++++++++++++++++++++++++++++++++++++++++++ script.js | 40 ++++++ 2 files changed, 447 insertions(+) create mode 100644 login.html diff --git a/login.html b/login.html new file mode 100644 index 0000000..6193b15 --- /dev/null +++ b/login.html @@ -0,0 +1,407 @@ + + + + + + Login - Ecommerce + + + + + + + + + + \ No newline at end of file diff --git a/script.js b/script.js index 64c4aee..e827beb 100644 --- a/script.js +++ b/script.js @@ -1,3 +1,43 @@ +// Authentication check +function checkAuth() { + const isLoggedIn = localStorage.getItem('isLoggedIn') === 'true'; + const currentPage = window.location.pathname.split('/').pop(); + + // If not logged in and not on login page, redirect to login + if (!isLoggedIn && currentPage !== 'login.html') { + window.location.href = 'login.html'; + return false; + } + + // If logged in and on login page, redirect to home + if (isLoggedIn && currentPage === 'login.html') { + window.location.href = 'index.html'; + return false; + } + + return isLoggedIn; +} + +// Logout function +function logout() { + localStorage.removeItem('isLoggedIn'); + localStorage.removeItem('userEmail'); + window.location.href = 'login.html'; +} + +// Check authentication on page load +document.addEventListener('DOMContentLoaded', function() { + checkAuth(); + + // Add logout button to header if user is logged in + const headerList = document.querySelector('.header-list'); + if (headerList && localStorage.getItem('isLoggedIn') === 'true') { + const logoutBtn = document.createElement('li'); + logoutBtn.innerHTML = 'Logout'; + headerList.appendChild(logoutBtn); + } +}); + // focus the cursor on the email-address input const emailField = document.getElementById("email-address-input"); if (emailField) { From 99be4517f191315c3d4dcf30f633faebd3cc65c7 Mon Sep 17 00:00:00 2001 From: khushi Date: Thu, 12 Jun 2025 22:09:55 +0530 Subject: [PATCH 08/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 32f9ea6..f72d0db 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer

    +

    Trade-in-offer exclusively

    Super value deals

    On all products

    save more coupons & up to 70% off!

    From b591a2c6ec2d6dcc4b25ad88faba177239576941 Mon Sep 17 00:00:00 2001 From: khushi Date: Thu, 12 Jun 2025 22:39:44 +0530 Subject: [PATCH 09/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index f72d0db..a156482 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer exclusively

    +

    Trade-in-offer

    Super value deals

    On all products

    save more coupons & up to 70% off!

    From b739cceba650b677f41aaa898a207abccbe0f489 Mon Sep 17 00:00:00 2001 From: khushi Date: Thu, 12 Jun 2025 23:16:10 +0530 Subject: [PATCH 10/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a156482..bcc98f8 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer

    +

    Trade-in-offer exclusively

    Super value deals

    On all products

    save more coupons & up to 70% off!

    From 238e0a157703504626db9e5a50f87f890cf8b38c Mon Sep 17 00:00:00 2001 From: khushi Date: Fri, 13 Jun 2025 08:30:54 +0530 Subject: [PATCH 11/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bcc98f8..0a74a42 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer exclusively

    +

    Trade-in-offer

    Super value deals

    On all products

    save more coupons & up to 70% off!

    From f1c60c0c1643a1d57ea90e1592aee3e0627bcc1c Mon Sep 17 00:00:00 2001 From: khushi Date: Fri, 13 Jun 2025 09:25:28 +0530 Subject: [PATCH 12/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0a74a42..c0d7377 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer

    +

    Trade-in-offer exclusive super

    Super value deals

    On all products

    save more coupons & up to 70% off!

    From c5f4d9da41787c1816d5ab48129c81512dbbbbe1 Mon Sep 17 00:00:00 2001 From: khushi Date: Fri, 13 Jun 2025 09:27:41 +0530 Subject: [PATCH 13/13] upadated index page --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index c0d7377..28f2a50 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@
    -

    Trade-in-offer exclusive super

    +

    Trade-in-offer exclusive

    Super value deals

    On all products

    save more coupons & up to 70% off!