diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000000..abe5d03bb0 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: Deploy to FTP + +on: + push: + branches: + - development # lub master, w zależności od domyślnej gałęzi + +jobs: + web-deploy: + name: Deploy + runs-on: ubuntu-latest + steps: + - name: Get code + uses: actions/checkout@v4 + + - name: Sync files + uses: SamKirkland/FTP-Deploy-Action@v4.3.5 + with: + server: ${{ secrets.FTP_SERVER }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + # server-dir: /public_html/ # odkomentuj, jeśli pliki mają trafić do konkretnego podkatalogu diff --git a/.htaccess b/.htaccess index 8ad2970b7b..4c1097d004 100644 --- a/.htaccess +++ b/.htaccess @@ -1,15 +1,6 @@ RewriteEngine On -# Set RewriteBase if your physical path is different from the URL. For example, if using an alias -# Uncomment the following two lines to force HTTPS -#RewriteCond %{HTTPS} off -#RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] - -# Redirect requests that are not already under /Web to /Web. -RewriteCond %{REQUEST_URI} !^/Web(/|$) -RewriteRule ^(.*)$ /Web/$1 [R=301,L] - -#Header Set Access-Control-Allow-Origin "*" -#Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" -#Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" -#php_value max_input_vars 10000 +# Do not redirect the read-only availability endpoint or its config/cache siblings. +RewriteCond %{REQUEST_URI} !^/rezerwacje/Web(/|$) +RewriteCond %{REQUEST_URI} !^/rezerwacje/availability\. +RewriteRule ^(.*)$ /rezerwacje/Web/$1 [R=301,L] diff --git a/availability.cache.json b/availability.cache.json new file mode 100644 index 0000000000..05e31799b8 --- /dev/null +++ b/availability.cache.json @@ -0,0 +1 @@ +{"version":2,"generatedAt":"2026-10-11T15:17:48+02:00","timezone":"Europe/Warsaw","today":"2026-10-11","axis":{"fromHour":6,"toHour":22},"days":[{"date":"2026-10-05","weekday":"mon","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-06","weekday":"tue","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-07","weekday":"wed","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-08","weekday":"thu","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-09","weekday":"fri","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-10","weekday":"sat","isToday":false,"isPast":true,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]},{"date":"2026-10-11","weekday":"sun","isToday":true,"isPast":false,"open":{"openMin":360,"closeMin":1320},"rooms":[{"id":"sala-maszyn","resourceId":1,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"sala-bokserska","resourceId":2,"capacity":2,"hours":[{"h":6,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":7,"bookedMin":60,"capMin":120,"ratio":0.5,"level":"medium"},{"h":8,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":11,"bookedMin":15,"capMin":120,"ratio":0.125,"level":"low"},{"h":12,"bookedMin":120,"capMin":120,"ratio":1,"level":"high"},{"h":13,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":120,"ratio":0,"level":"low"}]},{"id":"strefa-cardio","resourceId":3,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":60,"capMin":60,"ratio":1,"level":"high"},{"h":15,"bookedMin":15,"capMin":60,"ratio":0.25,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]},{"id":"gabinet-fizjo","resourceId":4,"capacity":1,"hours":[{"h":6,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":7,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":8,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":9,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":10,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":11,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":12,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":13,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":14,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":15,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":16,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":17,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":18,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":19,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":20,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"},{"h":21,"bookedMin":0,"capMin":60,"ratio":0,"level":"low"}]}]}]} \ No newline at end of file diff --git a/availability.ph b/availability.ph new file mode 100644 index 0000000000..7d99618542 --- /dev/null +++ b/availability.ph @@ -0,0 +1,185 @@ + CONTRACT_VERSION, 'error' => 'method_not_allowed']); + exit; +} + +try { + $config = require __DIR__ . '/availability.config.php'; + $cacheTtl = (int) ($config['cacheTtl'] ?? 300); + header('Cache-Control: public, max-age=' . $cacheTtl); + + $cacheFile = __DIR__ . '/availability.cache.json'; + if ($cacheTtl > 0 && is_file($cacheFile) && (time() - (int) filemtime($cacheFile)) < $cacheTtl) { + $cached = file_get_contents($cacheFile); + if ($cached !== false && $cached !== '') { + if ($method !== 'HEAD') { + echo $cached; + } + exit; + } + } + + $body = json_encode(buildFeed($config), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); + + if ($cacheTtl > 0) { + // Atomic best-effort write; caching is skipped silently on read-only dirs. + $tmp = @tempnam(__DIR__, 'avail'); + if ($tmp !== false && @file_put_contents($tmp, $body) !== false && @rename($tmp, $cacheFile)) { + // cached + } elseif ($tmp !== false) { + @unlink($tmp); + } + } + + if ($method !== 'HEAD') { + echo $body; + } +} catch (Throwable $e) { + // Never leak error messages or credentials to the public response. + http_response_code(503); + echo json_encode(['version' => CONTRACT_VERSION, 'error' => 'unavailable']); +} + +function buildFeed(array $config): array +{ + $tz = new DateTimeZone(TIMEZONE); + $now = new DateTimeImmutable('now', $tz); + $weekday = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'][(int) $now->format('N') - 1]; + $window = $config['openingHours'][$weekday] ?? null; + + $rooms = []; + foreach ($config['rooms'] as $resourceId => $room) { + $rooms[(int) $resourceId] = [ + 'id' => (string) $room['id'], + 'name' => (string) $room['name'], + 'resourceId' => (int) $resourceId, + 'capacity' => max(1, (int) ($room['capacity'] ?? 1)), + 'bookedMinutes' => 0, + 'openMinutes' => 0, + 'ratio' => 0.0, + 'level' => 'low', + ]; + } + + $open = null; + if (is_array($window) && count($window) === 2) { + $openMin = hhmmToMin($window[0]); + $closeMin = hhmmToMin($window[1]); + if ($closeMin > $openMin) { + $open = ['openMin' => $openMin, 'closeMin' => $closeMin]; + $windowMinutes = $closeMin - $openMin; + + // LibreBooking stores reservation datetimes in UTC — convert the + // Warsaw opening window before comparing. + $utc = new DateTimeZone('UTC'); + $winStart = $now->setTime(intdiv($openMin, 60), $openMin % 60, 0); + $winEnd = $now->setTime(intdiv($closeMin, 60), $closeMin % 60, 0); + $booked = queryBookedMinutes( + $config['db'], + array_keys($rooms), + $winStart->setTimezone($utc)->format('Y-m-d H:i:s'), + $winEnd->setTimezone($utc)->format('Y-m-d H:i:s'), + ); + + foreach ($rooms as $resourceId => &$room) { + // Denominator is the total slot-time for this room today: the + // opening window multiplied by capacity. A capacity-2 room over + // a 16h day has 32 slot-hours, so one 16h booking = 50% busy. + $capacityMinutes = $windowMinutes * $room['capacity']; + $minutes = min($booked[$resourceId] ?? 0, $capacityMinutes); + $ratio = $capacityMinutes > 0 ? $minutes / $capacityMinutes : 0.0; + $room['bookedMinutes'] = $minutes; + $room['openMinutes'] = $capacityMinutes; + $room['ratio'] = round($ratio, 3); + $room['level'] = $ratio < 1 / 3 ? 'low' : ($ratio < 2 / 3 ? 'medium' : 'high'); + } + unset($room); + } + } + + return [ + 'version' => CONTRACT_VERSION, + 'generatedAt' => $now->format(DateTimeInterface::ATOM), + 'timezone' => TIMEZONE, + 'date' => $now->format('Y-m-d'), + 'open' => $open, + 'rooms' => array_values($rooms), + ]; +} + +/** + * Sum of booked minutes per resource inside [winStart, winEnd) UTC. + * status_id 2 = Deleted is excluded; Pending (3) still occupies the room. + * Repeating reservations are pre-expanded into reservation_instances, so no + * recurrence math is needed. Blackouts are intentionally not counted — they + * represent closures, not busyness. + */ +function queryBookedMinutes(array $db, array $resourceIds, string $winStartUtc, string $winEndUtc): array +{ + if ($resourceIds === []) { + return []; + } + $pdo = new PDO( + sprintf('mysql:host=%s;dbname=%s;charset=utf8mb4', $db['host'], $db['name']), + $db['user'], + $db['password'], + [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION], + ); + + $in = implode(',', array_fill(0, count($resourceIds), '?')); + $sql = "SELECT rr.resource_id, + COALESCE(SUM(TIMESTAMPDIFF(MINUTE, + GREATEST(ri.start_date, ?), + LEAST(ri.end_date, ?))), 0) AS booked_minutes + FROM reservation_instances ri + INNER JOIN reservation_series rs ON rs.series_id = ri.series_id + INNER JOIN reservation_resources rr ON rr.series_id = rs.series_id + WHERE rs.status_id <> 2 + AND ri.start_date < ? + AND ri.end_date > ? + AND rr.resource_id IN ($in) + GROUP BY rr.resource_id"; + + $stmt = $pdo->prepare($sql); + $stmt->execute(array_merge([$winStartUtc, $winEndUtc, $winEndUtc, $winStartUtc], $resourceIds)); + + $booked = []; + foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) { + $booked[(int) $row['resource_id']] = max(0, (int) $row['booked_minutes']); + } + return $booked; +} + +function hhmmToMin(string $hhmm): int +{ + [$h, $m] = array_map('intval', explode(':', $hhmm)); + return $h * 60 + $m; +} diff --git a/availability.php b/availability.php new file mode 100644 index 0000000000..1ba4c9565d --- /dev/null +++ b/availability.php @@ -0,0 +1,278 @@ + h=6..21). Days closed on that weekday report + * open=null and hours=[]. + */ + +const CONTRACT_VERSION = 2; +const TIMEZONE = 'Europe/Warsaw'; + +header('Content-Type: application/json; charset=utf-8'); +header('Access-Control-Allow-Origin: *'); + +$method = $_SERVER['REQUEST_METHOD'] ?? 'GET'; +if ($method !== 'GET' && $method !== 'HEAD') { + http_response_code(405); + header('Allow: GET, HEAD'); + echo json_encode(['version' => CONTRACT_VERSION, 'error' => 'method_not_allowed']); + exit; +} + +try { + $config = require __DIR__ . '/availability.config.php'; + $cacheTtl = (int) ($config['cacheTtl'] ?? 300); + header('Cache-Control: public, max-age=' . $cacheTtl); + + $cacheFile = __DIR__ . '/availability.cache.json'; + if ($cacheTtl > 0 && is_file($cacheFile) && (time() - (int) filemtime($cacheFile)) < $cacheTtl) { + $cached = file_get_contents($cacheFile); + if ($cached !== false && $cached !== '') { + if ($method !== 'HEAD') { + echo $cached; + } + exit; + } + } + + $body = json_encode(buildFeed($config), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); + + if ($cacheTtl > 0) { + // Atomic best-effort write; caching is skipped silently on read-only dirs. + $tmp = @tempnam(__DIR__, 'avail'); + if ($tmp !== false && @file_put_contents($tmp, $body) !== false && @rename($tmp, $cacheFile)) { + // cached + } elseif ($tmp !== false) { + @unlink($tmp); + } + } + + if ($method !== 'HEAD') { + echo $body; + } +} catch (Throwable $e) { + // Never leak error messages or credentials to the public response. + http_response_code(503); + echo json_encode(['version' => CONTRACT_VERSION, 'error' => 'unavailable']); +} + +function buildFeed(array $config): array +{ + $tz = new DateTimeZone(TIMEZONE); + $utc = new DateTimeZone('UTC'); + $now = new DateTimeImmutable('now', $tz); + $today = $now->setTime(0, 0, 0); + + // Current calendar week Mon-Sun in Warsaw TZ. (ISO-8601: 1=Mon..7=Sun.) + $monday = $today->modify('-' . ((int) $today->format('N') - 1) . ' days'); + $weekEnd = $monday->modify('+7 days'); + + $weekdayKeys = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']; + + // Union of opening hours across the week determines the hour axis. + // Rooms are listed once (config['rooms']) and the shape stays constant + // across days for consistent client rendering. + [$axisFromHour, $axisToHour] = axisHours($config['openingHours'] ?? []); + + $roomsMeta = []; + foreach ($config['rooms'] as $resourceId => $room) { + $roomsMeta[(int) $resourceId] = [ + 'id' => (string) $room['id'], + 'name' => (string) $room['name'], + 'capacity' => max(1, (int) ($room['capacity'] ?? 1)), + ]; + } + + // Single DB round-trip: all reservations touching the week for our rooms. + $reservations = queryReservations( + $config['db'], + array_keys($roomsMeta), + $monday->setTimezone($utc)->format('Y-m-d H:i:s'), + $weekEnd->setTimezone($utc)->format('Y-m-d H:i:s'), + ); + + $days = []; + for ($i = 0; $i < 7; $i++) { + $dayStart = $monday->modify("+$i days"); + $weekdayKey = $weekdayKeys[$i]; + $window = $config['openingHours'][$weekdayKey] ?? null; + + $open = null; + $openMin = null; + $closeMin = null; + if (is_array($window) && count($window) === 2) { + $openMin = hhmmToMin($window[0]); + $closeMin = hhmmToMin($window[1]); + if ($closeMin > $openMin) { + $open = ['openMin' => $openMin, 'closeMin' => $closeMin]; + } else { + $openMin = null; + $closeMin = null; + } + } + + $daysRooms = []; + foreach ($roomsMeta as $resourceId => $meta) { + $capMin = 60 * $meta['capacity']; + $hours = []; + for ($h = $axisFromHour; $h < $axisToHour; $h++) { + $inOpenWindow = $open !== null && $h * 60 >= $openMin && ($h + 1) * 60 <= $closeMin; + $bookedMin = 0; + if ($inOpenWindow) { + $hourStart = $dayStart->setTime($h, 0, 0); + $hourEnd = $dayStart->setTime($h + 1, 0, 0); + $bookedMin = min($capMin, sumOverlapMinutes( + $reservations, + $resourceId, + $hourStart->setTimezone($utc), + $hourEnd->setTimezone($utc), + )); + } + $ratio = $capMin > 0 && $bookedMin > 0 ? $bookedMin / $capMin : 0.0; + $hours[] = [ + 'h' => $h, + 'bookedMin' => $bookedMin, + 'capMin' => $inOpenWindow ? $capMin : 0, + 'ratio' => round($ratio, 3), + 'level' => $ratio < 1 / 3 ? 'low' : ($ratio < 2 / 3 ? 'medium' : 'high'), + ]; + } + + $daysRooms[] = [ + 'id' => $meta['id'], + 'resourceId' => (int) $resourceId, + 'capacity' => $meta['capacity'], + 'hours' => $hours, + ]; + } + + $days[] = [ + 'date' => $dayStart->format('Y-m-d'), + 'weekday' => $weekdayKey, + 'isToday' => $dayStart->format('Y-m-d') === $today->format('Y-m-d'), + 'isPast' => $dayStart < $today, + 'open' => $open, + 'rooms' => $daysRooms, + ]; + } + + return [ + 'version' => CONTRACT_VERSION, + 'generatedAt' => $now->format(DateTimeInterface::ATOM), + 'timezone' => TIMEZONE, + 'today' => $today->format('Y-m-d'), + 'axis' => ['fromHour' => $axisFromHour, 'toHour' => $axisToHour], + 'days' => $days, + ]; +} + +/** + * Widest opening window observed across the week, floor to hour. + * Defaults to 06:00-22:00 if nothing configured. + */ +function axisHours(array $openingHours): array +{ + $minOpen = null; + $maxClose = null; + foreach ($openingHours as $win) { + if (!is_array($win) || count($win) !== 2) { + continue; + } + $o = intdiv(hhmmToMin($win[0]), 60); + $c = (int) ceil(hhmmToMin($win[1]) / 60); + $minOpen = $minOpen === null ? $o : min($minOpen, $o); + $maxClose = $maxClose === null ? $c : max($maxClose, $c); + } + return [$minOpen ?? 6, $maxClose ?? 22]; +} + +/** + * Fetch all reservation instances for the given resources overlapping the + * requested UTC window. Deleted (status_id 2) excluded. Pending (3) still + * occupies the room. reservation_instances already expands recurring series + * so no client-side recurrence math is needed. + */ +function queryReservations(array $db, array $resourceIds, string $winStartUtc, string $winEndUtc): array +{ + if ($resourceIds === []) { + return []; + } + $pdo = new PDO( + sprintf('mysql:host=%s;dbname=%s;charset=utf8mb4', $db['host'], $db['name']), + $db['user'], + $db['password'], + [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION], + ); + + $in = implode(',', array_fill(0, count($resourceIds), '?')); + $sql = "SELECT rr.resource_id, ri.start_date, ri.end_date + FROM reservation_instances ri + INNER JOIN reservation_series rs ON rs.series_id = ri.series_id + INNER JOIN reservation_resources rr ON rr.series_id = rs.series_id + WHERE rs.status_id <> 2 + AND ri.start_date < ? + AND ri.end_date > ? + AND rr.resource_id IN ($in)"; + + $stmt = $pdo->prepare($sql); + $stmt->execute(array_merge([$winEndUtc, $winStartUtc], $resourceIds)); + + $utc = new DateTimeZone('UTC'); + $byResource = []; + foreach ($stmt->fetchAll(PDO::FETCH_ASSOC) as $row) { + $rid = (int) $row['resource_id']; + $byResource[$rid] ??= []; + $byResource[$rid][] = [ + 'start' => new DateTimeImmutable($row['start_date'], $utc), + 'end' => new DateTimeImmutable($row['end_date'], $utc), + ]; + } + return $byResource; +} + +function sumOverlapMinutes(array $reservations, int $resourceId, DateTimeImmutable $winStart, DateTimeImmutable $winEnd): int +{ + $total = 0; + foreach ($reservations[$resourceId] ?? [] as $r) { + $start = $r['start'] > $winStart ? $r['start'] : $winStart; + $end = $r['end'] < $winEnd ? $r['end'] : $winEnd; + if ($end > $start) { + $total += (int) (($end->getTimestamp() - $start->getTimestamp()) / 60); + } + } + return $total; +} + +function hhmmToMin(string $hhmm): int +{ + [$h, $m] = array_map('intval', explode(':', $hhmm)); + return $h * 60 + $m; +} diff --git a/package-lock.json b/package-lock.json index d9b784626a..0b54d0d74c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,8 +15,8 @@ "eslint-config-prettier": "^10.1.8", "globals": "^17.12.0", "prettier": "^3.9.8", - "stylelint": "^17.15.0", - "stylelint-config-standard": "^40.0.0" + "stylelint": "^7.7.0", + "stylelint-config-standard": "^15.0.1" }, "engines": { "node": ">=20.19.0" @@ -393,168 +393,6 @@ "node": ">=22" } }, - "node_modules/@csstools/css-calc": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.3.0.tgz", - "integrity": "sha512-c5ihYsPkdG6JCkU2zTMm4+k6r7RXuGxtWYhu5DHMIiF1FHzrfmHL5so11AoFpUv/tu61xfcmT4AmKoFfMPoqdQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-tokenizer": "^4.0.0" - } - }, - "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz", - "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.0" - } - }, - "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.13.tgz", - "integrity": "sha512-i9ZylF5QNhmNfPA9l0vHAWK4kPrbIp6g9lKgaiIFsIBz2F/WNB7OLrzlNNcCOm+h42bkaSD2v1PG+IBPHhc3ZA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "peerDependencies": { - "css-tree": "^3.2.1" - }, - "peerDependenciesMeta": { - "css-tree": { - "optional": true - } - } - }, - "node_modules/@csstools/css-tokenizer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz", - "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - } - }, - "node_modules/@csstools/media-query-list-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-5.0.0.tgz", - "integrity": "sha512-T9lXmZOfnam3eMERPsszjY5NK0jX8RmThmmm99FZ8b7z8yMaFZWKwLWGZuTwdO3ddRY5fy13GmmEYZXB4I98Eg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-tokenizer": "^4.0.0" - } - }, - "node_modules/@csstools/selector-resolve-nested": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-4.0.1.tgz", - "integrity": "sha512-j3vdQu0XwLME5qOTWxm8cnmvsf423R2YL6DbKklCHZwkDm7UdKNu6RPlw4REIJhSlKBICY3B70/7QZdicLqZgg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "postcss-selector-parser": "^7.1.1" - } - }, - "node_modules/@csstools/selector-specificity": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-6.0.0.tgz", - "integrity": "sha512-4sSgl78OtOXEX/2d++8A83zHNTgwCJMaR24FvsYL7Uf/VS8HZk9PTwR51elTbGqMuwH3szLvvOXEaVnqn0Z3zA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "license": "MIT-0", - "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "postcss-selector-parser": "^7.1.1" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.9.1", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", @@ -773,44 +611,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/@simple-libs/child-process-utils": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@simple-libs/child-process-utils/-/child-process-utils-2.0.0.tgz", @@ -840,19 +640,6 @@ "url": "https://ko-fi.com/dangreen" } }, - "node_modules/@sindresorhus/merge-streams": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", - "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@types/esrecurse": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", @@ -1285,30 +1072,47 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, "license": "MIT", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==", + "dev": true, + "license": "BSD-3-Clause OR MIT", "engines": { - "node": ">=8" + "node": ">=0.4.2" } }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, "engines": { - "node": ">=8" + "node": ">=12" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" } }, "node_modules/argparse": { @@ -1331,14 +1135,72 @@ "url": "https://ko-fi.com/dangreen" } }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "node_modules/array-differ": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", + "integrity": "sha512-LeZY+DZDRnvP7eMuQ6LHfCzUGxAAIViUBliK24P3hWXL6y4SortgR6Nim6xrkfSLlmH0+k+9NYNwVC2s53ZrYQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=0.10.0" + } + }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-uniq": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/autoprefixer": { + "version": "6.7.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", + "integrity": "sha512-WKExI/eSGgGAkWAO+wMVdFObZV7hQen54UpD1kCCTN3tvlL3W1jL4+lPP/M7MwoP7Q4RHzKtO3JQ4HxYEcd+xQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^1.7.6", + "caniuse-db": "^1.0.30000634", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "postcss": "^5.2.16", + "postcss-value-parser": "^3.2.3" } }, "node_modules/balanced-match": { @@ -1352,29 +1214,31 @@ } }, "node_modules/brace-expansion": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz", - "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==", + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^4.0.2" }, "engines": { - "node": "18 || 20 || >=22" + "node": "20 || >=22" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "node_modules/browserslist": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz", + "integrity": "sha512-qHJblDE2bXVRYzuDetv/wAeHOJyO97+9wxC1cdCtyzgNuSozOyRCiiLaCR1f71AN66lQdVVBipWm63V+a7bPOw==", + "deprecated": "Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.", "dev": true, "license": "MIT", "dependencies": { - "fill-range": "^7.1.1" + "caniuse-db": "^1.0.30000639", + "electron-to-chromium": "^1.2.7" }, - "engines": { - "node": ">=8" + "bin": { + "browserslist": "cli.js" } }, "node_modules/cacheable": { @@ -1401,99 +1265,221 @@ "node": ">=6" } }, - "node_modules/cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "node_modules/camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==", "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, + "license": "MIT", "engines": { - "node": ">=20" + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "node_modules/camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==", "dev": true, "license": "MIT", - "engines": { - "node": ">=12" + "dependencies": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "node_modules/caniuse-db": { + "version": "1.0.30001815", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30001815.tgz", + "integrity": "sha512-sxwHqtoI0+CNqgHSws7VSs7fB5bHUjHA7wv6q/EA3HzxdRxQ2ySHD+bVVKyGNAOwBW6W9IFX2rQfZgwX1TUQgQ==", "dev": true, - "license": "MIT" + "license": "CC-BY-4.0" }, - "node_modules/cliui/node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", "dev": true, "license": "MIT", "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" }, "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "node_modules/chalk/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/chalk/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/chalk/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.2.2" + "ansi-regex": "^2.0.0" }, "engines": { - "node": ">=12" + "node": ">=0.10.0" + } + }, + "node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" }, "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "node_modules/clone-regexp": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/clone-regexp/-/clone-regexp-1.0.1.tgz", + "integrity": "sha512-Fcij9IwRW27XedRIJnSOEupS7RVcXtObJXbcUOX93UCLqqOdRpkvzKywOOSizmEK/Is3S/RHX9dLdfo6R1Q1mw==", "dev": true, "license": "MIT", "dependencies": { - "color-name": "~1.1.4" + "is-regexp": "^1.0.0", + "is-supported-regexp-flag": "^1.0.0" }, "engines": { - "node": ">=7.0.0" + "node": ">=0.10.0" + } + }, + "node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" } }, + "node_modules/color-diff": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/color-diff/-/color-diff-0.1.7.tgz", + "integrity": "sha512-Tuh3W2d3LdK3E8BhKltCuESgUva+oluFYqvzHg8a3tu5XzO/a4PF4W8islodUcqtiPgPdkg42PzL2bwtOUaJeQ==", + "dev": true, + "license": "BSD" + }, "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true, "license": "MIT" }, - "node_modules/colord": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/colord/-/colord-2.10.0.tgz", - "integrity": "sha512-AidJptpBJmjTclAp9BkLwJi0T93fo5epJnbaZslpg6QVzpHjAiveF55mE9AcUJiGMqRHgMDY8soMsQtuNYMHfw==", + "node_modules/colorguard": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/colorguard/-/colorguard-1.2.1.tgz", + "integrity": "sha512-qYVKTg626qpDg4/eBnPXidEPXn5+krbYqHVfyyEFBWV5z3IF4p44HKY/eE2t1ohlcrlIkDgHmFJMfQ8qMLnSFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.1", + "color-diff": "^0.1.3", + "log-symbols": "^1.0.2", + "object-assign": "^4.0.1", + "pipetteur": "^2.0.0", + "plur": "^2.0.0", + "postcss": "^5.0.4", + "postcss-reporter": "^1.2.1", + "text-table": "^0.2.0", + "yargs": "^1.2.6" + }, + "bin": { + "colorguard": "bin/colorguard" + } + }, + "node_modules/colorguard/node_modules/postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha512-h9yLwoenfn2GZFINc42nCJInko4rZom3Ud0aEQhOQLa3PlgOUbfQH7/yEwVQLUqX84BwX3ekcwUDic/mpNTx9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.0.0", + "lodash": "^4.1.0", + "log-symbols": "^1.0.2", + "postcss": "^5.0.0" + } + }, + "node_modules/colorguard/node_modules/yargs": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-1.3.3.tgz", + "integrity": "sha512-7OGt4xXoWJQh5ulgZ78rKaqY7dNWbjfK+UKxGcIlaM2j7C4fqGchyv8CPvEWdRPrHp6Ula/YU8yGRpYGOHrI+g==", + "dev": true, + "license": "MIT/X11" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true, "license": "MIT" }, @@ -1540,6 +1526,13 @@ "node": ">=22" } }, + "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==", + "dev": true, + "license": "MIT" + }, "node_modules/cosmiconfig": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz", @@ -1600,41 +1593,54 @@ "node": ">= 8" } }, - "node_modules/css-functions-list": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.3.3.tgz", - "integrity": "sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==", + "node_modules/css-color-names": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.3.tgz", + "integrity": "sha512-YuNAhKz60vZZCiFOP73K/EFaPCXZItFH9ScWoIXdzuxLFFkR7PvWv/faeP0scNJpfYcz956RQu5j+LP6cQC+gw==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" + "node": "*" } }, - "node_modules/css-tree": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", - "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", + "node_modules/css-rule-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/css-rule-stream/-/css-rule-stream-1.1.0.tgz", + "integrity": "sha512-qiio/Zkr8I19jh/XuzEkK8OKDQRTrEYaRyIHy4Bwh/tPUe0w8GcQs7r6x24Yc9lT+FbnZFYULxEIXCmaymguUQ==", "dev": true, "license": "MIT", "dependencies": { - "mdn-data": "2.27.1", - "source-map-js": "^1.2.1" + "css-tokenize": "^1.0.1", + "duplexer2": "0.0.2", + "ldjson-stream": "^1.2.1", + "through2": "^0.6.3" }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + "bin": { + "css-rule-stream": "index.js" } }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "node_modules/css-tokenize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-tokenize/-/css-tokenize-1.0.1.tgz", + "integrity": "sha512-gLmmbJdwH9HLY4bcA17lnZ8GgPwEXRbvxBJGHnkiB6gLhRpTzjkjtMIvz7YORGW/Ptv2oMk8b5g+u7mRD6Dd7A==", "dev": true, "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^1.0.33" + } + }, + "node_modules/currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-find-index": "^1.0.1" }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, "node_modules/debug": { @@ -1655,6 +1661,16 @@ } } }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -1662,13 +1678,154 @@ "dev": true, "license": "MIT" }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "node_modules/doiuse": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/doiuse/-/doiuse-2.6.0.tgz", + "integrity": "sha512-tSmlXvzdGTg+6nLibZnRbElSa5QsZWWlj6JimQ3vGEXtILfWLN4Ss/eXfBoIMr0Az2vOQWfnmFegF7b/TI4IBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^1.1.1", + "caniuse-db": "^1.0.30000187", + "css-rule-stream": "^1.1.0", + "duplexer2": "0.0.2", + "jsonfilter": "^1.1.2", + "ldjson-stream": "^1.2.1", + "lodash": "^4.0.0", + "multimatch": "^2.0.0", + "postcss": "^5.0.8", + "source-map": "^0.4.2", + "through2": "^0.6.3", + "yargs": "^3.5.4" + }, + "bin": { + "doiuse": "cli.js" + } + }, + "node_modules/doiuse/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/doiuse/node_modules/cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha512-0yayqDxWQbqk3ojkYqUKqaAQ6AfNKeKWRNA8kR0WXzAsdHpP4BIaOmMAG87JGuO6qcobyW4GjxHd9PmhEd+T9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "node_modules/doiuse/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/doiuse/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/doiuse/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/doiuse/node_modules/wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/doiuse/node_modules/y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/doiuse/node_modules/yargs": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz", + "integrity": "sha512-ONJZiimStfZzhKamYvR/xvmgW3uEkAUFSP91y2caTEPhzF6uP2JfPiVZcq66b/YR0C3uitxSV7+T1x8p5bkmMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^2.0.1", + "cliui": "^3.0.3", + "decamelize": "^1.1.1", + "os-locale": "^1.4.0", + "string-width": "^1.0.1", + "window-size": "^0.1.4", + "y18n": "^3.2.0" + } + }, + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", "dev": true, "license": "MIT" }, + "node_modules/duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha512-+AWBwjGadtksxjOQSFDhPNQbed7icNXApT4+2BNpsXzcCBiInq2H9XW0O8sfHFaPmnQRs7cg/P0fAr2IWQSW0g==", + "dev": true, + "license": "BSD", + "dependencies": { + "readable-stream": "~1.1.9" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.452", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.452.tgz", + "integrity": "sha512-cVvk1YBSj6571VmV6hdJTqj94Y79xSu8cj6Y9t6ae4Y4431z8/7EJFvu3rVp90xhfuv9BpPKUmaLfTo4+FOGBg==", + "dev": true, + "license": "ISC" + }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", @@ -1689,6 +1846,16 @@ "is-arrayish": "^0.2.1" } }, + "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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-toolkit": { "version": "1.51.0", "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.51.0.tgz", @@ -1850,6 +2017,20 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/esquery": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", @@ -1896,42 +2077,25 @@ "node": ">=0.10.0" } }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "node_modules/execall": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execall/-/execall-1.0.0.tgz", + "integrity": "sha512-/J0Q8CvOvlAdpvhfkD/WnTQ4H1eU0exze2nFGPj/RSC7jpQ0NkKe2r28T5eMkhEEs+fzepMZNy1kVRKNlC04nQ==", "dev": true, "license": "MIT", "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" + "clone-regexp": "^1.0.0" }, "engines": { - "node": ">=8.6.0" + "node": ">=0.10.0" } }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } + "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", @@ -1964,26 +2128,6 @@ ], "license": "BSD-3-Clause" }, - "node_modules/fastest-levenshtein": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.9.1" - } - }, - "node_modules/fastq": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", - "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, "node_modules/file-entry-cache": { "version": "11.1.5", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", @@ -1994,19 +2138,6 @@ "flat-cache": "^6.1.23" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -2043,6 +2174,38 @@ "dev": true, "license": "ISC" }, + "node_modules/flatten": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz", + "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==", + "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash.", + "dev": true, + "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==", + "dev": true, + "license": "ISC" + }, + "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==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gather-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gather-stream/-/gather-stream-1.0.0.tgz", + "integrity": "sha512-NspYMi3rN3EKmMdejUXbtluDYrcRlTEBBFhWzVRZVsOx94OPxlXp0AzyPKyLiT7iaurcoTE/KcHsHP/PowNEaA==", + "dev": true, + "license": "ISC" + }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -2066,8 +2229,40 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/glob-parent": { - "version": "6.0.2", + "node_modules/get-stdin": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", + "integrity": "sha512-jZV7n6jGE3Gt7fgSTJoz91Ak5MuTLwMwkoYdjxuJ/AmjIsE1UC03y/IWkZCQGEvVNS9qoRNwy5BCqxImv0FVeA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "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/glob-parent": { + "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, @@ -2079,6 +2274,37 @@ "node": ">=10.13.0" } }, + "node_modules/glob/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==", + "dev": true, + "license": "MIT" + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/global-directory": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-5.0.0.tgz", @@ -2105,47 +2331,6 @@ "node": "^20.17.0 || >=22.9.0" } }, - "node_modules/global-modules": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", - "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "global-prefix": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", - "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ini": "^1.3.5", - "kind-of": "^6.0.2", - "which": "^1.3.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, "node_modules/globals": { "version": "17.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-17.12.0.tgz", @@ -2160,35 +2345,20 @@ } }, "node_modules/globby": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-16.2.4.tgz", - "integrity": "sha512-c8B/VNLmxRcmqqenRA9t+9IyOjf9+V6lTxPaUJLqOCONdQkWZ0ETYgX0qbtJqPsgCNusT9MZ5Jeidw8Eb9tn2g==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==", "dev": true, "license": "MIT", "dependencies": { - "@sindresorhus/merge-streams": "^4.0.0", - "fast-glob": "^3.3.3", - "ignore": "^7.0.5", - "is-path-inside": "^4.0.0", - "micromatch": "^4.0.8", - "slash": "^5.1.0", - "unicorn-magic": "^0.4.0" - }, - "engines": { - "node": ">=20" + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby/node_modules/ignore": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.9.tgz", - "integrity": "sha512-brTTsvFRt5C1gGHtPst/281UjPD5t9fBqbgoMPlVWy11ZLTPfu7HxK4ZYqO9H7o/yC9rSTCI85EaQ4OoY12qYw==", - "dev": true, - "license": "MIT", "engines": { - "node": ">= 4" + "node": ">=0.10.0" } }, "node_modules/globjoin": { @@ -2198,17 +2368,44 @@ "dev": true, "license": "MIT" }, + "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==", + "dev": true, + "license": "ISC" + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/has-flag": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-5.0.1.tgz", - "integrity": "sha512-CsNUt5x9LUdx6hnk/E2SZLsDyvfqANZSUq4+D3D8RzDJ2M+HDTIkF60ibS1vHaK55vzgiZw1bEPFG9yH7l33wA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha512-DyYHfIYwAJmjAjSSPKANxI8bFY9YtFrgkAfinBojQ8YJTOuOuav64tMUJv584SES4xl74PmuaevIyaLESHdTAA==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, "node_modules/hashery": { @@ -2224,6 +2421,19 @@ "node": ">=20" } }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/hookified": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", @@ -2231,17 +2441,21 @@ "dev": true, "license": "MIT" }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "license": "ISC" + }, "node_modules/html-tags": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-5.1.0.tgz", - "integrity": "sha512-n6l5uca7/y5joxZ3LUePhzmBFUJ+U2YWzhMa8XUTecSeSlQiZdF5XAd/Q3/WUl0VsXgUwWi8I7CNIwdI5WN1SQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-1.2.0.tgz", + "integrity": "sha512-uVteDXUCs08M7QJx0eY6ue7qQztwIfknap81vAtNob2sdEPKa8PjPinx0vxbs2JONPamovZjMvKZWNW44/PBKg==", "dev": true, "license": "MIT", "engines": { - "node": ">=20.10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, "node_modules/ignore": { @@ -2271,17 +2485,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/import-meta-resolve": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", - "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -2292,13 +2495,65 @@ "node": ">=0.8.19" } }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "node_modules/indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==", + "dev": true, + "license": "MIT", + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha512-bup+4tap3Hympa+JBJUG7XuOsdNQ6fxt0MHyXMKuLBKn0OqsTfvUxkUrroEX1+B2VsSHvCjiIcZVxRtYa4nllA==", + "dev": true, + "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.", + "dev": true, + "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==", "dev": true, "license": "ISC" }, + "node_modules/invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha512-xgs2NH9AE66ucSq4cNG1nhSFghr5l6tdL15Pk+jl46bmmBapgoaY/AacXyaDznAqmGL99TiLSQgO/XazFSKYeQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/irregular-plurals": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-1.4.0.tgz", + "integrity": "sha512-kniTIJmaZYiwa17eTtWIfm0K342seyugl6vuC8DiiyiRAJWAVlLkqGCI0Im0neo0TkXw+pRcKaBPRdcKHnQJ6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -2306,6 +2561,32 @@ "dev": true, "license": "MIT" }, + "node_modules/is-core-module": { + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", + "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -2316,14 +2597,27 @@ "node": ">=0.10.0" } }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/is-glob": { @@ -2339,42 +2633,53 @@ "node": ">=0.10.0" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "dev": true, "license": "MIT", "engines": { - "node": ">=0.12.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-path-inside": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", - "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", + "node_modules/is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "node_modules/is-supported-regexp-flag": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz", + "integrity": "sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, + "node_modules/is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", + "dev": true, + "license": "MIT" + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -2392,6 +2697,13 @@ "jiti": "lib/jiti-cli.mjs" } }, + "node_modules/js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true, + "license": "BSD-3-Clause" + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -2443,6 +2755,48 @@ "dev": true, "license": "MIT" }, + "node_modules/jsonfilter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/jsonfilter/-/jsonfilter-1.1.2.tgz", + "integrity": "sha512-iTsXzY8hmwlPzTw+dsb9Al7hnlGxsWBPDf907Rc10TeuDWRMCTgaZaG6TT6Doy0kp0je3zuEKi7SeFKj+sJsVQ==", + "dev": true, + "license": "BSD", + "dependencies": { + "JSONStream": "^0.8.4", + "minimist": "^1.1.0", + "stream-combiner": "^0.2.1", + "through2": "^0.6.3" + }, + "bin": { + "jsonfilter": "cli.js" + } + }, + "node_modules/jsonparse": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-0.0.5.tgz", + "integrity": "sha512-fw7Q/8gFR8iSekUi9I+HqWIap6mywuoe7hQIg3buTVjuZgALKj4HAmm0X6f+TaL4c9NJbvyFQdaI2ppr5p6dnQ==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "license": "MIT" + }, + "node_modules/JSONStream": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", + "integrity": "sha512-l0NN3IcqrZfZBJp7JWDJIHsnPV7yzJWqsYxQzL8Fwdx1BmEMjLuvtYkv+P9pbvpyfP75/f4MeDZhWNU4is32uA==", + "dev": true, + "dependencies": { + "jsonparse": "0.0.5", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "index.js" + }, + "engines": { + "node": "*" + } + }, "node_modules/keyv": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", @@ -2453,16 +2807,37 @@ "@keyv/serialize": "^1.1.1" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "node_modules/known-css-properties": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.0.6.tgz", + "integrity": "sha512-rNRnB5eoSj98zeudXlS0UlEzMcs1RqM5UYt7pX43i4B3qbHgv5QRpXveV7ymyusSqxEAdB4vkX5kF+psUqeN9Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha512-YiGkH6EnGrDGqLMITnGjXtGmNtjoXw9SVUzcaos8RBi7Ps0VBylkq+vOcY9QE5poLasPCR849ucFUkl0UzUyOw==", "dev": true, "license": "MIT", + "dependencies": { + "invert-kv": "^1.0.0" + }, "engines": { "node": ">=0.10.0" } }, + "node_modules/ldjson-stream": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ldjson-stream/-/ldjson-stream-1.2.1.tgz", + "integrity": "sha512-xw/nNEXafuPSLu8NjjG3+atVVw+8U1APZAQylmwQn19Hgw6rC7QjHvP6MupnHWCrzSm9m0xs5QWkCLuRvBPjgQ==", + "dev": true, + "license": "BSD", + "dependencies": { + "split2": "^0.2.1", + "through2": "^0.6.1" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -2484,82 +2859,116 @@ "dev": true, "license": "MIT" }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==", "dev": true, "license": "MIT", "dependencies": { - "p-locate": "^5.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/lodash.truncate": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", + "node_modules/load-json-file/node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/mathml-tag-names": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-4.0.0.tgz", - "integrity": "sha512-aa6AU2Pcx0VP/XWnh8IGL0SYSgQHDT6Ucror2j2mXeFAlN3ahaNs8EZtG1YiticMkSLj3Gt6VPFfZogt7G5iFQ==", + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mdn-data": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", - "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "dev": true, - "license": "CC0-1.0" + "license": "MIT" }, - "node_modules/meow": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-14.1.0.tgz", - "integrity": "sha512-EDYo6VlmtnumlcBCbh1gLJ//9jvM/ndXHfVXIFrZVr6fGcwTUyCTFNTLCKuY3ffbK8L/+3Mzqnd58RojiZqHVw==", + "node_modules/log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha512-mmPrW0Fh2fxOzdBbFv4g1m6pR72haFLPJ2G5SJEELf1y+iaQrDG6cWCPjy54RHYbZAt7X+ls690Kw62AdWXBzQ==", "dev": true, "license": "MIT", + "dependencies": { + "chalk": "^1.0.0" + }, "engines": { - "node": ">=20" + "node": ">=0.10.0" + } + }, + "node_modules/loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", "dev": true, "license": "MIT", "engines": { - "node": ">= 8" + "node": ">=0.10.0" } }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "node_modules/meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==", "dev": true, "license": "MIT", "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" }, "engines": { - "node": ">=8.6" + "node": ">=0.10.0" } }, "node_modules/minimatch": { @@ -2578,6 +2987,16 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -2585,23 +3004,51 @@ "dev": true, "license": "MIT" }, - "node_modules/nanoid": { - "version": "3.3.18", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", - "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "node_modules/multimatch": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", + "integrity": "sha512-0mzK8ymiWdehTBiJh0vClAzGyQbdtyWqzSVx//EK4N/D+599RFlGfTAsKw2zMSABtDG9C6Ul2+t8f2Lbdjf5mA==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" + "dependencies": { + "array-differ": "^1.0.0", + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "minimatch": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/multimatch/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==", + "dev": true, + "license": "MIT" + }, + "node_modules/multimatch/node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/multimatch/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": "*" } }, "node_modules/natural-compare": { @@ -2611,16 +3058,93 @@ "dev": true, "license": "MIT" }, - "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==", + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-selector": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/normalize-selector/-/normalize-selector-0.2.0.tgz", + "integrity": "sha512-dxvWdI8gw6eAvk9BlPffgEoGfM7AdijoCwOEJge3e3ulT2XLgmU7KvvxprOaCu05Q1uGRHmOhHe1r6emZoKyFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==", + "dev": true, + "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==", "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" } }, + "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==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onecolor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/onecolor/-/onecolor-3.1.0.tgz", + "integrity": "sha512-YZSypViXzu3ul5LMu/m6XjJ9ol8qAy9S2VjHl5E6UlhUH1KGKWabyEJifn0Jjpw23bYDzC2ucKMPGiH5kfwSGQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.4.8" + } + }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -2639,6 +3163,29 @@ "node": ">= 0.8.0" } }, + "node_modules/os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha512-PRT7ZORmwu2MEFt4/fv3Q+mEfN4zetKxufQrkShY2oGvUms9r8otu5HfdyIFHkYXjO7laNsoVGmM2MANfuTA8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -2713,6 +3260,16 @@ "node": ">=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==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -2723,6 +3280,28 @@ "node": ">=8" } }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -2730,96 +3309,168 @@ "dev": true, "license": "ISC" }, - "node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "node": ">=0.10.0" } }, - "node_modules/postcss": { - "version": "8.5.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz", - "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==", + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.17", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "pinkie": "^2.0.0" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=0.10.0" } }, - "node_modules/postcss-safe-parser": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.1.tgz", - "integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==", + "node_modules/pipetteur": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pipetteur/-/pipetteur-2.0.3.tgz", + "integrity": "sha512-NIQqkmWwHApROleJH8qVRy2kap23Ev1nIUdAVJNLc3yoYe65Zz2RbBkZAYCAD20dt0DTSbP5yYtd7stUa6YlYw==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "license": "MIT", - "engines": { - "node": ">=18.0" + "dependencies": { + "onecolor": "^3.0.4", + "synesthesia": "^1.0.1" + } + }, + "node_modules/plur": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/plur/-/plur-2.1.2.tgz", + "integrity": "sha512-WhcHk576xg9y/iv6RWOuroZgsqvCbJN+XGvAypCJwLAYs2iWDp5LUmvaCdV6JR2O0SMBf8l6p7A94AyLCFVMlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "irregular-plurals": "^1.0.0" }, - "peerDependencies": { - "postcss": "^8.4.31" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/postcss-selector-parser": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", - "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", + "node_modules/postcss": { + "version": "5.2.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz", + "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==", "dev": true, "license": "MIT", "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" + "chalk": "^1.1.3", + "js-base64": "^2.1.9", + "source-map": "^0.5.6", + "supports-color": "^3.2.3" }, "engines": { - "node": ">=4" + "node": ">=0.12" + } + }, + "node_modules/postcss-less": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/postcss-less/-/postcss-less-0.14.0.tgz", + "integrity": "sha512-IWbNLrH6vk7vQmwbFp7gY4BlDwWpWsDrkS+V4TUzDOhY2nNzXP5QdxrZdr4Ss0uigxMKaXRLSWp7Kz8qhBSSsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "postcss": "^5.0.21" + } + }, + "node_modules/postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==", + "dev": true, + "license": "MIT" + }, + "node_modules/postcss-reporter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-3.0.0.tgz", + "integrity": "sha512-8MshGaWe9nUWOahNWwBOEMQumZ+/73nQUpDV9/SbKZlRd/WiLiCxxmaEHQTsh+fX9yaSPq8JXnQAdyG1C/TRAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.0.0", + "lodash": "^4.1.0", + "log-symbols": "^1.0.2", + "postcss": "^5.0.0" + } + }, + "node_modules/postcss-resolve-nested-selector": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.7.tgz", + "integrity": "sha512-lFcugRCQXWManq7nyZ0dDtir52wc7gKYJfWpSuz4GxvnGc7dtlpXcZYX4A0asatzTuqpQ3ngDdyD+QG/szeXWw==", + "dev": true, + "license": "MIT" + }, + "node_modules/postcss-scss": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-0.4.1.tgz", + "integrity": "sha512-forlh4dhF/pQdXLCc+3YcDN/O0v4QxfWkNf0yGjLEJIWgdLUMlVgyLGYS69KDbeZ5PysmnAkTPlonZ7bRWBgNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "postcss": "^5.2.13" + } + }, + "node_modules/postcss-selector-parser": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz", + "integrity": "sha512-3pqyakeGhrO0BQ5+/tGTfvi5IAUAhHRayGK8WFSu06aEv2BmHoXw/Mhb+w7VY5HERIuC+QoUI7wgrCcq2hqCVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatten": "^1.0.2", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" } }, "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", "dev": true, "license": "MIT" }, + "node_modules/postcss/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postcss/node_modules/supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha512-Jds2VIYDrlp5ui7t8abHN2bjAu4LV/q4N2KivFPpGH0lrka0BMq/33AmECUXlKPcHigkNaqfXRENFju+rlcy+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^1.0.0" + }, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -2876,80 +3527,152 @@ "dev": true, "license": "MIT" }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "node_modules/read-file-stdin": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/read-file-stdin/-/read-file-stdin-0.2.1.tgz", + "integrity": "sha512-dAqysQ4kfj9m5aejZOPr+aRGXZJXdLkMOLZ3BXMwMBQHiO+aylGBFJPh88AYPQrOf+D43F4Uc2oUIW9kBlItLA==", "dev": true, - "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" + "license": "MIT", + "dependencies": { + "gather-stream": "^1.0.0" + } }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "node_modules/read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==", "dev": true, "license": "MIT", + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, "engines": { "node": ">=0.10.0" } }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==", "dev": true, "license": "MIT", + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==", "dev": true, "license": "MIT", + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, "engines": { - "iojs": ">=1.0.0", "node": ">=0.10.0" } }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==", "dev": true, - "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": { - "queue-microtask": "^1.2.2" + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.13", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.13.tgz", + "integrity": "sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "is-core-module": "^2.17.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" } }, "node_modules/semver": { @@ -2989,329 +3712,623 @@ } }, "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/slice-ansi": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", + "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha512-Y8nIfcb1s/7DcobUz1yOO1GSp7gyL+D9zLHDehT7iRESqGSxjJ448Sg7rvfgsRJCnKLdSl11uGf0s9X80cH0/A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.24.tgz", + "integrity": "sha512-cLS9TtWkIQFyLkJ3/5aFQAOHOSKTlOs/7WDut/XPSdjom1fJhUdkepeJAKXa9Y05+FabHd0sti+Et559vDtkpQ==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/specificity": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/specificity/-/specificity-0.3.2.tgz", + "integrity": "sha512-Nc/QN/A425Qog7j9aHmwOrlwX2e7pNI47ciwxwy4jOlvbbMHkNNJchit+FX+UjF3IAdiaaV5BKeWuDUnws6G1A==", + "dev": true, + "license": "MIT", + "bin": { + "specificity": "bin/specificity" + } + }, + "node_modules/split2": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/split2/-/split2-0.2.1.tgz", + "integrity": "sha512-D/oTExYAkC9nWleOCTOyNmAuzfAT/6rHGBA9LIK7FVnGo13CSvrKCUzKenwH6U1s2znY9MqH6v0UQTEDa3vJmg==", "dev": true, "license": "ISC", + "dependencies": { + "through2": "~0.6.1" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/stream-combiner": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz", + "integrity": "sha512-6yHMqgLYDzQDcAkL+tjJDC5nSNuNIx0vZtRZeiPh7Saef7VHX9H5Ijn9l2VIol2zaNYlYEX6KyuT/237A58qEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "duplexer": "~0.1.1", + "through": "~2.3.4" + } + }, + "node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, "engines": { - "node": ">=14" + "node": ">=20" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/slash": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, "engines": { - "node": ">=14.16" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "node_modules/strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-stdin": "^4.0.1" + }, + "bin": { + "strip-indent": "cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-indent/node_modules/get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/style-search": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/style-search/-/style-search-0.1.0.tgz", + "integrity": "sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==", + "dev": true, + "license": "ISC" + }, + "node_modules/stylehacks": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-2.3.2.tgz", + "integrity": "sha512-cWtUu/KdmyR0J37V4wjD7x2DyMJykPYhRuv72WiV4n5GkDjbhSml/rqOqLqXVAVWiKZh0XbMO47sLdNJvBzKQQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^1.1.3", + "chalk": "^1.1.1", + "log-symbols": "^1.0.2", + "minimist": "^1.2.0", + "plur": "^2.1.2", + "postcss": "^5.0.18", + "postcss-reporter": "^1.3.3", + "postcss-selector-parser": "^2.0.0", + "read-file-stdin": "^0.2.1", + "text-table": "^0.2.0", + "write-file-stdout": "0.0.2" + }, + "bin": { + "stylehacks": "dist/cli.js" + } + }, + "node_modules/stylehacks/node_modules/postcss-reporter": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-1.4.1.tgz", + "integrity": "sha512-h9yLwoenfn2GZFINc42nCJInko4rZom3Ud0aEQhOQLa3PlgOUbfQH7/yEwVQLUqX84BwX3ekcwUDic/mpNTx9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.0.0", + "lodash": "^4.1.0", + "log-symbols": "^1.0.2", + "postcss": "^5.0.0" + } + }, + "node_modules/stylelint": { + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-7.7.0.tgz", + "integrity": "sha512-V+WYGMr0i+qrsZb/08cvYOAQOD3nOHfIonD39JmgA7hVfX7cmYhzsIZYVdfg4UU+hFNi1ixePHFFynlC+r7URw==", + "dev": true, + "license": "MIT", + "dependencies": { + "autoprefixer": "^6.0.0", + "balanced-match": "^0.4.0", + "chalk": "^1.1.1", + "colorguard": "^1.2.0", + "cosmiconfig": "^2.1.1", + "doiuse": "^2.4.1", + "execall": "^1.0.0", + "get-stdin": "^5.0.0", + "globby": "^6.0.0", + "globjoin": "^0.1.4", + "html-tags": "^1.1.1", + "ignore": "^3.2.0", + "known-css-properties": "^0.0.6", + "lodash": "^4.0.0", + "log-symbols": "^1.0.2", + "meow": "^3.3.0", + "multimatch": "^2.1.0", + "normalize-selector": "^0.2.0", + "postcss": "^5.0.20", + "postcss-less": "^0.14.0", + "postcss-media-query-parser": "^0.2.0", + "postcss-reporter": "^3.0.0", + "postcss-resolve-nested-selector": "^0.1.1", + "postcss-scss": "^0.4.0", + "postcss-selector-parser": "^2.1.1", + "postcss-value-parser": "^3.1.1", + "resolve-from": "^2.0.0", + "specificity": "^0.3.0", + "string-width": "^2.0.0", + "style-search": "^0.1.0", + "stylehacks": "^2.3.0", + "sugarss": "^0.2.0", + "svg-tags": "^1.0.0", + "table": "^4.0.1" + }, + "bin": { + "stylelint": "bin/stylelint.js" + }, + "engines": { + "node": ">=4.2.1" + } + }, + "node_modules/stylelint-config-standard": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-15.0.1.tgz", + "integrity": "sha512-ErnOpc+qDRaSGdjYrXQ0dbxutSNzzK9T1toIKp9jRinMJFSsIpUJijWFO7O5+ORsT8gpGQWK93qdOGdoftlFzQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "stylelint": "^7.6.0" + } + }, + "node_modules/stylelint/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/stylelint/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/stylelint/node_modules/balanced-match": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", + "integrity": "sha512-STw03mQKnGUYtoNjmowo4F2cRmIIxYEGiMsjjwla/u5P1lxadj/05WkNaFjNiKTgJkj8KiXbgAiRTmcQRwQNtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/stylelint/node_modules/cosmiconfig": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", + "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-directory": "^0.3.1", + "js-yaml": "^3.4.3", + "minimist": "^1.2.0", + "object-assign": "^4.1.0", + "os-homedir": "^1.0.1", + "parse-json": "^2.2.0", + "require-from-string": "^1.1.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/stylelint/node_modules/ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true, + "license": "MIT" + }, + "node_modules/stylelint/node_modules/js-yaml": { + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/stylelint/node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stylelint/node_modules/require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha512-H7AkJWMobeskkttHyhTVtS0fxpFLjxhbfMa6Bk3wimP7sdPRGL3EyCg3sAQenFfAe+xQ+oAc85Nmtvq0ROM83Q==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" + "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "node_modules/stylelint/node_modules/resolve-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", + "integrity": "sha512-qpFcKaXsq8+oRoLilkwyc7zHGF5i9Q2/25NIgLQQ/+VVv9rU4qvr6nXVAw1DsnXJyQkZsR4Ytfbtg5ehfcUssQ==", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/stylelint/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "license": "MIT", "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/stylelint/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/stylelint": { - "version": "17.15.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-17.15.0.tgz", - "integrity": "sha512-mWIkesYQvQjf4Kvdeu9ns0IL8/K/wtjaGxPqsPd6DlLZvaQxGysJsocxUDrBcyHQ5VleAk4uSMat4yMrVED7PA==", + "node_modules/sugarss": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/sugarss/-/sugarss-0.2.0.tgz", + "integrity": "sha512-gmAdmKbPFALbfAMVqr8lmoIn3HCdiXZMHYpZGbdbAiflg+YGqAfBbTogBMo9EFo5AWUVgOWGXeFajKtP8e0Xxw==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" - }, - { - "type": "github", - "url": "https://github.com/sponsors/stylelint" - } - ], "license": "MIT", "dependencies": { - "@csstools/css-calc": "^3.3.0", - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-syntax-patches-for-csstree": "^1.1.9", - "@csstools/css-tokenizer": "^4.0.0", - "@csstools/media-query-list-parser": "^5.0.0", - "@csstools/selector-resolve-nested": "^4.0.1", - "@csstools/selector-specificity": "^6.0.0", - "colord": "^2.10.0", - "cosmiconfig": "^9.0.2", - "css-functions-list": "^3.3.3", - "css-tree": "^3.2.1", - "debug": "^4.4.3", - "fast-glob": "^3.3.3", - "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^11.1.5", - "global-modules": "^2.0.0", - "globby": "^16.2.4", - "globjoin": "^0.1.4", - "html-tags": "^5.1.0", - "ignore": "^7.0.6", - "import-meta-resolve": "^4.2.0", - "mathml-tag-names": "^4.0.0", - "meow": "^14.1.0", - "micromatch": "^4.0.8", - "normalize-path": "^3.0.0", - "picocolors": "^1.1.1", - "postcss": "^8.5.26", - "postcss-safe-parser": "^7.0.1", - "postcss-selector-parser": "^7.1.5", - "postcss-value-parser": "^4.2.0", - "string-width": "^8.2.2", - "supports-hyperlinks": "^4.5.0", - "svg-tags": "^1.0.0", - "table": "^6.9.0", - "write-file-atomic": "^7.0.1" - }, - "bin": { - "stylelint": "bin/stylelint.mjs" - }, + "postcss": "^5.2.4" + } + }, + "node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=20.19.0" + "node": ">=0.8.0" } }, - "node_modules/stylelint-config-recommended": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-18.0.0.tgz", - "integrity": "sha512-mxgT2XY6YZ3HWWe3Di8umG6aBmWmHTblTgu/f10rqFXnyWxjKWwNdjSWkgkwCtxIKnqjSJzvFmPT5yabVIRxZg==", + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" - }, - { - "type": "github", - "url": "https://github.com/sponsors/stylelint" - } - ], "license": "MIT", "engines": { - "node": ">=20.19.0" + "node": ">= 0.4" }, - "peerDependencies": { - "stylelint": "^17.0.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/stylelint-config-standard": { - "version": "40.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-40.0.0.tgz", - "integrity": "sha512-EznGJxOUhtWck2r6dJpbgAdPATIzvpLdK9+i5qPd4Lx70es66TkBPljSg4wN3Qnc6c4h2n+WbUrUynQ3fanjHw==", + "node_modules/svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", + "dev": true + }, + "node_modules/synesthesia": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/synesthesia/-/synesthesia-1.0.1.tgz", + "integrity": "sha512-MSbkFiIg2TSlzPq0Ljufh2jukkzfyGcGPa0WPCznYzgCVLIgwEzSd+3K+wRJzQ/aQWFw4iR62U4WNVqRYFdBdQ==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" - }, - { - "type": "github", - "url": "https://github.com/sponsors/stylelint" - } - ], "license": "MIT", "dependencies": { - "stylelint-config-recommended": "^18.0.0" + "css-color-names": "0.0.3" + } + }, + "node_modules/table": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.3.tgz", + "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "ajv": "^6.0.1", + "ajv-keywords": "^3.0.0", + "chalk": "^2.1.0", + "lodash": "^4.17.4", + "slice-ansi": "1.0.0", + "string-width": "^2.1.1" }, "engines": { - "node": ">=20.19.0" - }, - "peerDependencies": { - "stylelint": "^17.0.0" + "node": ">=4.0.0" } }, - "node_modules/stylelint/node_modules/ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "node_modules/table/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=4" } }, - "node_modules/stylelint/node_modules/ignore": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.9.tgz", - "integrity": "sha512-brTTsvFRt5C1gGHtPst/281UjPD5t9fBqbgoMPlVWy11ZLTPfu7HxK4ZYqO9H7o/yC9rSTCI85EaQ4OoY12qYw==", + "node_modules/table/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, "engines": { - "node": ">= 4" + "node": ">=4" } }, - "node_modules/stylelint/node_modules/string-width": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", - "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", + "node_modules/table/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "license": "MIT", "dependencies": { - "get-east-asian-width": "^1.5.0", - "strip-ansi": "^7.1.2" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4" } }, - "node_modules/stylelint/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "node_modules/table/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" + "node": ">=0.8.0" } }, - "node_modules/supports-color": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "node_modules/table/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, "license": "MIT", "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "node": ">=4" } }, - "node_modules/supports-hyperlinks": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-4.5.0.tgz", - "integrity": "sha512-ZW2OvfeCXrNTbLakPUzjQG922EeGCOteFSVoek5DKStTh898wf7zgtuFlzQN8HfZCxC3Eh02yJVrRW51hADf+w==", + "node_modules/table/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^5.0.1", - "supports-color": "^10.2.2" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" }, "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" + "node": ">=4" } }, - "node_modules/svg-tags": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", - "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", - "dev": true - }, - "node_modules/table": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", - "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "node_modules/table/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", "dev": true, - "license": "BSD-3-Clause", + "license": "MIT", "dependencies": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" + "ansi-regex": "^3.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=4" } }, - "node_modules/table/node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "node_modules/table/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" + "has-flag": "^3.0.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "engines": { + "node": ">=4" } }, - "node_modules/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true, "license": "MIT" }, + "node_modules/through2": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, "node_modules/tinyexec": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz", @@ -3322,17 +4339,14 @@ "node": ">=18" } }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "node_modules/trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==", "dev": true, "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, "engines": { - "node": ">=8.0" + "node": ">=0.10.0" } }, "node_modules/type-check": { @@ -3392,18 +4406,12 @@ "license": "MIT", "peer": true }, - "node_modules/unicorn-magic": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", - "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", + "node_modules/uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "MIT" }, "node_modules/uri-js": { "version": "4.4.1", @@ -3415,12 +4423,16 @@ "punycode": "^2.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==", + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, - "license": "MIT" + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } }, "node_modules/which": { "version": "2.0.2", @@ -3438,6 +4450,19 @@ "node": ">= 8" } }, + "node_modules/window-size": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz", + "integrity": "sha512-2thx4pB0cV3h+Bw7QmMXcEbdmOzv9t0HFplJH/Lz6yu60hXYy5RT8rUu+wlIreVxWsGN20mo+MHeCSfUpQBwPw==", + "dev": true, + "license": "MIT", + "bin": { + "window-size": "cli.js" + }, + "engines": { + "node": ">= 0.10.0" + } + }, "node_modules/word-wrap": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", @@ -3466,19 +4491,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, "node_modules/wrap-ansi/node_modules/ansi-styles": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", @@ -3517,33 +4529,28 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "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==", "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } + "license": "ISC" }, - "node_modules/write-file-atomic": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-7.0.1.tgz", - "integrity": "sha512-OTIk8iR8/aCRWBqvxrzxR0hgxWpnYBblY1S5hDWBQfk/VFmJwzmJgQFN3WsoUKHISv2eAwe+PpbUzyL1CKTLXg==", + "node_modules/write-file-stdout": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/write-file-stdout/-/write-file-stdout-0.0.2.tgz", + "integrity": "sha512-KofbSPeePSre3soWCMaqcWHVZy9t/rbJaEMa2h19cupODsvc4eh7390Se1TjzZEL77rS+D6dznu0TLXyCbR+sw==", "dev": true, - "license": "ISC", - "dependencies": { - "signal-exit": "^4.0.1" - }, + "license": "MIT" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "license": "MIT", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": ">=0.4" } }, "node_modules/y18n": { @@ -3584,52 +4591,6 @@ "node": "^20.19.0 || ^22.12.0 || >=23" } }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/yargs/node_modules/string-width": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", - "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-east-asian-width": "^1.5.0", - "strip-ansi": "^7.1.2" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", diff --git a/package.json b/package.json index aaf6cd0032..797660d531 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "eslint-config-prettier": "^10.1.8", "globals": "^17.12.0", "prettier": "^3.9.8", - "stylelint": "^17.15.0", - "stylelint-config-standard": "^40.0.0" + "stylelint": "^7.7.0", + "stylelint-config-standard": "^15.0.1" } } diff --git a/tpl/Dashboard/resource_availability.tpl b/tpl/Dashboard/resource_availability.tpl index 306fff9c71..10b06284e0 100644 --- a/tpl/Dashboard/resource_availability.tpl +++ b/tpl/Dashboard/resource_availability.tpl @@ -3,117 +3,57 @@
- {* Section settings *} - {assign var=sections value=[ - [ - 'title' => 'Available', - 'data' => $Available, - 'dateField' => 'NextTime', - 'label' => 'AvailableUntil', - ], - [ - 'title' => 'Unavailable', - 'data' => $Unavailable, - 'dateField' => 'ReservationEnds', - 'label' => 'AvailableBeginningAt', - ], - [ - 'title' => 'UnavailableAllDay', - 'data' => $UnavailableAllDay, - 'dateField' => 'ReservationEnds', - 'label' => 'AvailableAt', - ] - ]} - - {* Main loop *} - {foreach from=$sections item=section} - -
- {translate key=$section.title} -
- - {assign var=hasData value=false} - - {foreach from=$Schedules item=s} - {assign var=availability value=$section.data[$s->GetId()]} - - {if is_array($availability) && $availability|count > 0} - {assign var=hasData value=true} - -
- {$s->GetName()} -
- - {foreach from=$availability item=i} - {if $section.dateField == 'NextTime'} - {assign var=date value=$i->NextTime()} - {else} - {assign var=date value=$i->ReservationEnds()} - {/if} - - {* Determine date format for future schedule availability *} - {assign var=dateFormat value='dashboard'} - {if $section.dateField == 'ReservationEnds' && $i->IsFutureScheduleAvailability()} - {assign var=dateFormat value='schedule_daily'} - {/if} - -
- - {* Resource name *} - - - {* Availability *} -
- {if $date != null} - {translate key=$section.label} - {format_date date=$date timezone=$Timezone key=$dateFormat} - {else} - - {translate key=AllNoUpcomingReservations args=30} - - {/if} -
- - {* Button *} -
- -
- -
- {/foreach} - {/if} - {/foreach} - - {* No data *} - {if !$hasData} -
- {translate key=None} -
+ {assign var=allFlatItems value=[]} + {foreach from=$Schedules item=s} + {if isset($Available[$s->GetId()]) && is_array($Available[$s->GetId()])} + {foreach from=$Available[$s->GetId()] item=i} + {$allFlatItems[] = $i} + {/foreach} + {/if} + {if isset($Unavailable[$s->GetId()]) && is_array($Unavailable[$s->GetId()])} + {foreach from=$Unavailable[$s->GetId()] item=i} + {$allFlatItems[] = $i} + {/foreach} + {/if} + {if isset($UnavailableAllDay[$s->GetId()]) && is_array($UnavailableAllDay[$s->GetId()])} + {foreach from=$UnavailableAllDay[$s->GetId()] item=i} + {$allFlatItems[] = $i} + {/foreach} {/if} - {/foreach} + {if $allFlatItems|count > 0} +
+ {foreach from=$allFlatItems item=i} + + {/foreach} +
+ {else} +
+ {translate key=None} +
+ {/if} +
diff --git a/tpl/dashboard.tpl b/tpl/dashboard.tpl index b56f3a2403..15935738e1 100644 --- a/tpl/dashboard.tpl +++ b/tpl/dashboard.tpl @@ -42,3 +42,45 @@ {include file='globalfooter.tpl'} + + diff --git a/tpl/globalfooter.tpl b/tpl/globalfooter.tpl index e744bfaa35..b0987b0ab1 100644 --- a/tpl/globalfooter.tpl +++ b/tpl/globalfooter.tpl @@ -73,3 +73,23 @@ + + diff --git a/tpl/globalheader.tpl b/tpl/globalheader.tpl index 5e7f0dcfb3..08484c922a 100644 --- a/tpl/globalheader.tpl +++ b/tpl/globalheader.tpl @@ -351,7 +351,7 @@ {/if} {if isset($CanViewAdmin) && $CanViewAdmin} -