diff --git a/.env b/.env new file mode 100644 index 0000000..51e34b8 --- /dev/null +++ b/.env @@ -0,0 +1,77 @@ +APP_NAME=E-CommerceCore2 +APP_ENV=local +APP_KEY=base64:xM3NA9se6EwiVw4npD/a9Mg96+633gZWhOePesLUL+o= +APP_DEBUG=false +APP_URL=http://e-commercecore2.test + +APP_LOCALE=en +APP_FALLBACK_LOCALE=en +APP_FAKER_LOCALE=en_PH + +APP_MAINTENANCE_DRIVER=file +# APP_MAINTENANCE_STORE=database + +PHP_CLI_SERVER_WORKERS=4 + +BCRYPT_ROUNDS=12 + +LOG_CHANNEL=stack +LOG_STACK=single +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=core2 +DB_USERNAME=root +DB_PASSWORD= + +SESSION_DRIVER=database +SESSION_LIFETIME=120 +SESSION_ENCRYPT=false +SESSION_PATH=/ +SESSION_DOMAIN=null + +BROADCAST_CONNECTION=log +FILESYSTEM_DISK=local +QUEUE_CONNECTION=database + +CACHE_STORE=database +# CACHE_PREFIX= + +MEMCACHED_HOST=127.0.0.1 + +REDIS_CLIENT=phpredis +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_SCHEME=null +MAIL_HOST=127.0.0.1 +MAIL_PORT=1025 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +VITE_APP_NAME="${APP_NAME}" + +STRIPE_KEY=pk_test_51S556eB5iLhdsBMHrg7pMrOq7tiSJamLvbacm2VrMwLaWLnIyGTHXzVeHkrrKvCgQCaLwEAcNH3ZSbhpRdLKgBh600UUVQPI3z +STRIPE_SECRET=sk_test_51S556eB5iLhdsBMHb3AYPnt9Fj4qx1YPS1RIlhsXWrQHzgnz77dI0aigl9CE0DGZ8RAItbyixQVVjEgdyB5t9CRG00kdQcpxyk +STRIPE_WEBHOOK_SECRET= whsec_b9be31d3f3176f049433a9311c8cf0d725ff23967dbcce61b3f75b9f39358dff + +PAYMONGO_PUBLIC_KEY=pk_test_1DxrPucckC2Fpjo4WSAUXSWA +PAYMONGO_SECRET=sk_test_h5UZKMfb5ReEJQ4TFubFKH7c +PAYMONGO_WEBHOOK_SIG= + +ALGOLIA_APP_ID=D1HI4Y9076 +ALGOLIA_SECRET=8de552aea32720fbdf8e18efeccb87fd + diff --git a/.env.example b/.env.example index a584eb1..f97aeb9 100644 --- a/.env.example +++ b/.env.example @@ -1,8 +1,8 @@ -APP_NAME=Laravel +APP_NAME=E-CommerceCore2 APP_ENV=local APP_KEY= APP_DEBUG=true -APP_URL=http://localhost +APP_URL=http://e-commercecore2.test APP_LOCALE=en APP_FALLBACK_LOCALE=en @@ -23,7 +23,7 @@ LOG_LEVEL=debug DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=laravel_react_ecommerce +DB_DATABASE=core2 DB_USERNAME=root DB_PASSWORD= @@ -64,6 +64,13 @@ AWS_USE_PATH_STYLE_ENDPOINT=false VITE_APP_NAME="${APP_NAME}" +PAYMONGO_PUBLIC_KEY=your_public_key +PAYMONGO_SECRET_KEY=your_secret_key +PAYMONGO_WEBHOOK_SIG=your_webhook_signature + +STRIPE_KEY=stripe-key STRIPE_SECRET=stripe-secret-key STRIPE_WEBHOOK_SECRET=stripe-webhook-secret-key +ALGOLIA_APP_ID=algolia-app-id +ALGOLIA_SECRET=algolia-secret-key diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..cabf43b --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24 \ No newline at end of file diff --git a/app/Filament/Resources/DepartmentResource/RelationManagers/CategoriesRelationManager.php b/app/Filament/Resources/DepartmentResource/RelationManagers/CategoriesRelationManager.php index b4f604d..e0c87eb 100644 --- a/app/Filament/Resources/DepartmentResource/RelationManagers/CategoriesRelationManager.php +++ b/app/Filament/Resources/DepartmentResource/RelationManagers/CategoriesRelationManager.php @@ -39,7 +39,7 @@ public function form(Form $form): Form ->pluck('name', 'id') ->toArray(); }) - ->label('Prent Category') + ->label('Parent Category') ->preload() ->searchable(), diff --git a/app/Filament/Resources/ProductResource/Pages/ProductVariations.php b/app/Filament/Resources/ProductResource/Pages/ProductVariations.php index f7951a5..6bba9bb 100644 --- a/app/Filament/Resources/ProductResource/Pages/ProductVariations.php +++ b/app/Filament/Resources/ProductResource/Pages/ProductVariations.php @@ -258,8 +258,8 @@ protected function mutateFormDataBeforeSave(array $data): array $variationTypeOptionIds = []; // making the array [9,10] format - foreach ($this->record->variationTypes as $i => $variationType) { - $variationTypeOptionIds[] = $option['variation_type_' . ($variationType->id)]['id']; + foreach ($this->record->variationTypes as $id => $variationType) { + $variationTypeOptionIds[] = $option['variation_type_' . $variationType->id]['id']; } $quantity = $option['quantity']; diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 21d1d4f..6f23ced 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -23,10 +23,10 @@ class AppServiceProvider extends ServiceProvider */ public function register(): void { - if ($this->app->isLocal()) { - $this->app->register(DebugbarServiceProvider::class); - $this->app->register(TelescopeServiceProvider::class); - } + if (config('app.env') === 'local') { + $this->app->register(DebugbarServiceProvider::class); + $this->app->register(TelescopeServiceProvider::class); + } $this->app->singleton(CartInterface::class, function ($app) { return new CartService($app->make(CartRepositoryInterface::class)); diff --git a/composer.json b/composer.json index 43e22d1..ddbb90a 100644 --- a/composer.json +++ b/composer.json @@ -10,18 +10,20 @@ "license": "MIT", "require": { "php": "^8.2", + "algolia/algoliasearch-client-php": "^4.28", "filament/filament": "^3.3", - "filament/spatie-laravel-media-library-plugin": "3.3", + "filament/spatie-laravel-media-library-plugin": "^3.3", "inertiajs/inertia-laravel": "^2.0", "laravel/breeze": "^2.3", "laravel/framework": "^12.0", "laravel/sanctum": "^4.0", - "laravel/scout": "^10.15", + "laravel/scout": "^10.19", "laravel/tinker": "^2.10.1", + "luigel/laravel-paymongo": "2.x-dev", "php-http/curl-client": "^2.3", "simonhamp/laravel-stripe-connect": "dev-master", "spatie/laravel-permission": "^6.16", - "stripe/stripe-php": "^17.2", + "stripe/stripe-php": "^17.6", "tightenco/ziggy": "^2.0", "typesense/typesense-php": "^5.1" }, diff --git a/composer.lock b/composer.lock index d16fb61..296afe2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,87 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "21c422cc5670697be7f92eaf1d443607", + "content-hash": "e8660adc4b6c1f6ae149933bcdd71c97", "packages": [ + { + "name": "algolia/algoliasearch-client-php", + "version": "4.30.0", + "source": { + "type": "git", + "url": "https://github.com/algolia/algoliasearch-client-php.git", + "reference": "cd70e2d8370c96b7208a2db91f74fc4c844d5b7c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/algolia/algoliasearch-client-php/zipball/cd70e2d8370c96b7208a2db91f74fc4c844d5b7c", + "reference": "cd70e2d8370c96b7208a2db91f74fc4c844d5b7c", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "guzzlehttp/psr7": "^2.0", + "php": ">=8.1 !=8.3.0", + "psr/http-message": "^1.1 || ^2.0", + "psr/log": "^1.0 || ^2.0 || ^3.0", + "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.80.0", + "phpstan/phpstan": "^1.12", + "phpunit/phpunit": "^11.0", + "vlucas/phpdotenv": "^5.4" + }, + "suggest": { + "guzzlehttp/guzzle": "If you prefer to use Guzzle HTTP client instead of the Http Client implementation provided by the package" + }, + "type": "library", + "autoload": { + "files": [ + "lib/Http/Psr7/functions.php" + ], + "psr-4": { + "Algolia\\AlgoliaSearch\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Algolia Team", + "homepage": "https://alg.li/support" + } + ], + "description": "API powering the features of Algolia.", + "homepage": "https://github.com/algolia/algoliasearch-client-php", + "keywords": [ + "algolia", + "api", + "client", + "php", + "search" + ], + "support": { + "issues": "https://github.com/algolia/algoliasearch-client-php/issues", + "source": "https://github.com/algolia/algoliasearch-client-php/tree/4.30.0" + }, + "time": "2025-09-26T15:10:19+00:00" + }, { "name": "anourvalar/eloquent-serialize", - "version": "1.3.0", + "version": "1.3.4", "source": { "type": "git", "url": "https://github.com/AnourValar/eloquent-serialize.git", - "reference": "91188f82c5ec2842a5469fca6d7d64baa37ea593" + "reference": "0934a98866e02b73e38696961a9d7984b834c9d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/91188f82c5ec2842a5469fca6d7d64baa37ea593", - "reference": "91188f82c5ec2842a5469fca6d7d64baa37ea593", + "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/0934a98866e02b73e38696961a9d7984b834c9d9", + "reference": "0934a98866e02b73e38696961a9d7984b834c9d9", "shasum": "" }, "require": { @@ -68,21 +135,21 @@ ], "support": { "issues": "https://github.com/AnourValar/eloquent-serialize/issues", - "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.3.0" + "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.3.4" }, - "time": "2025-03-22T08:49:12+00:00" + "time": "2025-07-30T15:45:57+00:00" }, { "name": "blade-ui-kit/blade-heroicons", "version": "2.6.0", "source": { "type": "git", - "url": "https://github.com/blade-ui-kit/blade-heroicons.git", + "url": "https://github.com/driesvints/blade-heroicons.git", "reference": "4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-heroicons/zipball/4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19", + "url": "https://api.github.com/repos/driesvints/blade-heroicons/zipball/4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19", "reference": "4553b2a1f6c76f0ac7f3bc0de4c0cfa06a097d19", "shasum": "" }, @@ -126,8 +193,8 @@ "laravel" ], "support": { - "issues": "https://github.com/blade-ui-kit/blade-heroicons/issues", - "source": "https://github.com/blade-ui-kit/blade-heroicons/tree/2.6.0" + "issues": "https://github.com/driesvints/blade-heroicons/issues", + "source": "https://github.com/driesvints/blade-heroicons/tree/2.6.0" }, "funding": [ { @@ -146,12 +213,12 @@ "version": "1.8.0", "source": { "type": "git", - "url": "https://github.com/blade-ui-kit/blade-icons.git", + "url": "https://github.com/driesvints/blade-icons.git", "reference": "7b743f27476acb2ed04cb518213d78abe096e814" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/7b743f27476acb2ed04cb518213d78abe096e814", + "url": "https://api.github.com/repos/driesvints/blade-icons/zipball/7b743f27476acb2ed04cb518213d78abe096e814", "reference": "7b743f27476acb2ed04cb518213d78abe096e814", "shasum": "" }, @@ -224,25 +291,25 @@ }, { "name": "brick/math", - "version": "0.12.3", + "version": "0.14.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba" + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba", - "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba", + "url": "https://api.github.com/repos/brick/math/zipball/113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", + "reference": "113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22", + "phpunit/phpunit": "^11.5" }, "type": "library", "autoload": { @@ -272,7 +339,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.3" + "source": "https://github.com/brick/math/tree/0.14.0" }, "funding": [ { @@ -280,7 +347,7 @@ "type": "github" } ], - "time": "2025-02-28T13:11:00+00:00" + "time": "2025-08-29T12:40:03+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -419,16 +486,16 @@ }, { "name": "composer/semver", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", - "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "url": "https://api.github.com/repos/composer/semver/zipball/198166618906cb2de69b95d7d47e5fa8aa1b2b95", + "reference": "198166618906cb2de69b95d7d47e5fa8aa1b2b95", "shasum": "" }, "require": { @@ -480,7 +547,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.3" + "source": "https://github.com/composer/semver/tree/3.4.4" }, "funding": [ { @@ -490,13 +557,9 @@ { "url": "https://github.com/composer", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2024-09-19T14:15:21+00:00" + "time": "2025-08-20T19:15:30+00:00" }, { "name": "danharrin/date-format-converter", @@ -680,34 +743,34 @@ }, { "name": "doctrine/dbal", - "version": "4.2.3", + "version": "4.3.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "33d2d7fe1269b2301640c44cf2896ea607b30e3e" + "reference": "231959669bb2173194c95636eae7f1b41b2a8b19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/33d2d7fe1269b2301640c44cf2896ea607b30e3e", - "reference": "33d2d7fe1269b2301640c44cf2896ea607b30e3e", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/231959669bb2173194c95636eae7f1b41b2a8b19", + "reference": "231959669bb2173194c95636eae7f1b41b2a8b19", "shasum": "" }, "require": { - "doctrine/deprecations": "^0.5.3|^1", - "php": "^8.1", + "doctrine/deprecations": "^1.1.5", + "php": "^8.2", "psr/cache": "^1|^2|^3", "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "12.0.0", + "doctrine/coding-standard": "13.0.1", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.2", - "phpstan/phpstan": "2.1.1", - "phpstan/phpstan-phpunit": "2.0.3", + "phpstan/phpstan": "2.1.22", + "phpstan/phpstan-phpunit": "2.0.6", "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "10.5.39", - "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.10.2", + "phpunit/phpunit": "11.5.23", + "slevomat/coding-standard": "8.16.2", + "squizlabs/php_codesniffer": "3.13.1", "symfony/cache": "^6.3.8|^7.0", "symfony/console": "^5.4|^6.3|^7.0" }, @@ -766,7 +829,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/4.2.3" + "source": "https://github.com/doctrine/dbal/tree/4.3.3" }, "funding": [ { @@ -782,7 +845,7 @@ "type": "tidelift" } ], - "time": "2025-03-07T18:29:05+00:00" + "time": "2025-09-04T23:52:42+00:00" }, { "name": "doctrine/deprecations", @@ -834,33 +897,32 @@ }, { "name": "doctrine/inflector", - "version": "2.0.10", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", - "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/6d6c96277ea252fc1304627204c3d5e6e15faa3b", + "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11.0", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.3", - "phpunit/phpunit": "^8.5 || ^9.5", - "vimeo/psalm": "^4.25 || ^5.4" + "doctrine/coding-standard": "^12.0 || ^13.0", + "phpstan/phpstan": "^1.12 || ^2.0", + "phpstan/phpstan-phpunit": "^1.4 || ^2.0", + "phpstan/phpstan-strict-rules": "^1.6 || ^2.0", + "phpunit/phpunit": "^8.5 || ^12.2" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Doctrine\\Inflector\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -905,7 +967,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.10" + "source": "https://github.com/doctrine/inflector/tree/2.1.0" }, "funding": [ { @@ -921,7 +983,7 @@ "type": "tidelift" } ], - "time": "2024-02-18T20:23:39+00:00" + "time": "2025-08-10T19:31:58+00:00" }, { "name": "doctrine/lexer", @@ -1134,16 +1196,16 @@ }, { "name": "filament/actions", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "9d348cdc0e1231f59e642c980e7bc43509bc4e44" + "reference": "4582f2da9ed0660685b8e0849d32f106bc8a4b2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/9d348cdc0e1231f59e642c980e7bc43509bc4e44", - "reference": "9d348cdc0e1231f59e642c980e7bc43509bc4e44", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/4582f2da9ed0660685b8e0849d32f106bc8a4b2d", + "reference": "4582f2da9ed0660685b8e0849d32f106bc8a4b2d", "shasum": "" }, "require": { @@ -1183,20 +1245,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:54:03+00:00" + "time": "2025-09-28T22:06:00+00:00" }, { "name": "filament/filament", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "d2b533f349d55ed2e7928536e28798286d85801d" + "reference": "f61544ea879633e42e2ae8a2eafe034aecdad2b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/d2b533f349d55ed2e7928536e28798286d85801d", - "reference": "d2b533f349d55ed2e7928536e28798286d85801d", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/f61544ea879633e42e2ae8a2eafe034aecdad2b2", + "reference": "f61544ea879633e42e2ae8a2eafe034aecdad2b2", "shasum": "" }, "require": { @@ -1248,20 +1310,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:55:12+00:00" + "time": "2025-09-28T22:06:09+00:00" }, { "name": "filament/forms", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "cd6f8f560e075e8a6b87fd728ef9089dab77d061" + "reference": "3a42f619157c6101c3f5a4d0620f05bd9c687d62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/cd6f8f560e075e8a6b87fd728ef9089dab77d061", - "reference": "cd6f8f560e075e8a6b87fd728ef9089dab77d061", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/3a42f619157c6101c3f5a4d0620f05bd9c687d62", + "reference": "3a42f619157c6101c3f5a4d0620f05bd9c687d62", "shasum": "" }, "require": { @@ -1304,20 +1366,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:54:02+00:00" + "time": "2025-09-28T22:06:25+00:00" }, { "name": "filament/infolists", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "cdf80f01fd822cbd7830dbb5892a1d1245e237fa" + "reference": "4533c2ccb6ef06ab7f27d81e27be0cdd4f5e72de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/cdf80f01fd822cbd7830dbb5892a1d1245e237fa", - "reference": "cdf80f01fd822cbd7830dbb5892a1d1245e237fa", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/4533c2ccb6ef06ab7f27d81e27be0cdd4f5e72de", + "reference": "4533c2ccb6ef06ab7f27d81e27be0cdd4f5e72de", "shasum": "" }, "require": { @@ -1355,20 +1417,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-03-20T09:28:28+00:00" + "time": "2025-08-12T13:15:27+00:00" }, { "name": "filament/notifications", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "d4bb90c77a3e88ab833cab71d36b185b3670a314" + "reference": "adc118c7fc34a423f3c01d6936ad0316f489949c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/d4bb90c77a3e88ab833cab71d36b185b3670a314", - "reference": "d4bb90c77a3e88ab833cab71d36b185b3670a314", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/adc118c7fc34a423f3c01d6936ad0316f489949c", + "reference": "adc118c7fc34a423f3c01d6936ad0316f489949c", "shasum": "" }, "require": { @@ -1407,23 +1469,24 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:55:26+00:00" + "time": "2025-07-08T20:42:18+00:00" }, { "name": "filament/spatie-laravel-media-library-plugin", - "version": "v3.3.0", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/spatie-laravel-media-library-plugin.git", - "reference": "4c74e25399fed6f1524da50e2a925bc9b09fac6c" + "reference": "bd7c12baf30cc66b2f088bd0257b12071e15addf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/spatie-laravel-media-library-plugin/zipball/4c74e25399fed6f1524da50e2a925bc9b09fac6c", - "reference": "4c74e25399fed6f1524da50e2a925bc9b09fac6c", + "url": "https://api.github.com/repos/filamentphp/spatie-laravel-media-library-plugin/zipball/bd7c12baf30cc66b2f088bd0257b12071e15addf", + "reference": "bd7c12baf30cc66b2f088bd0257b12071e15addf", "shasum": "" }, "require": { + "filament/support": "self.version", "illuminate/support": "^10.45|^11.0|^12.0", "php": "^8.1", "spatie/laravel-medialibrary": "^10.0|^11.0" @@ -1444,20 +1507,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:18:59+00:00" + "time": "2025-07-08T20:42:14+00:00" }, { "name": "filament/support", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "19c40e9bd51e083705fa9a701b0e6d043ba1563c" + "reference": "afafd5e7a2f8cf052f70f989b52d82d0a1df5c78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/19c40e9bd51e083705fa9a701b0e6d043ba1563c", - "reference": "19c40e9bd51e083705fa9a701b0e6d043ba1563c", + "url": "https://api.github.com/repos/filamentphp/support/zipball/afafd5e7a2f8cf052f70f989b52d82d0a1df5c78", + "reference": "afafd5e7a2f8cf052f70f989b52d82d0a1df5c78", "shasum": "" }, "require": { @@ -1503,20 +1566,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:54:54+00:00" + "time": "2025-08-12T13:15:44+00:00" }, { "name": "filament/tables", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "bc12d7b312aaa5bfe9b89f2040ca08735a5a4af1" + "reference": "2e1e3aeeeccd6b74e5d038325af52635d1108e4c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/bc12d7b312aaa5bfe9b89f2040ca08735a5a4af1", - "reference": "bc12d7b312aaa5bfe9b89f2040ca08735a5a4af1", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/2e1e3aeeeccd6b74e5d038325af52635d1108e4c", + "reference": "2e1e3aeeeccd6b74e5d038325af52635d1108e4c", "shasum": "" }, "require": { @@ -1555,20 +1618,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-04-02T09:54:54+00:00" + "time": "2025-09-17T10:47:13+00:00" }, { "name": "filament/widgets", - "version": "v3.3.8", + "version": "v3.3.42", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "2d91f0d509b4ef497678b919e471e9099451bd21" + "reference": "5b956f884aaef479f6091463cb829e7c9f2afc2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/2d91f0d509b4ef497678b919e471e9099451bd21", - "reference": "2d91f0d509b4ef497678b919e471e9099451bd21", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/5b956f884aaef479f6091463cb829e7c9f2afc2c", + "reference": "5b956f884aaef479f6091463cb829e7c9f2afc2c", "shasum": "" }, "require": { @@ -1599,7 +1662,7 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-03-11T16:33:32+00:00" + "time": "2025-06-12T15:11:14+00:00" }, { "name": "fruitcake/php-cors", @@ -1736,22 +1799,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.9.3", + "version": "7.10.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", - "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.3", - "guzzlehttp/psr7": "^2.7.0", + "guzzlehttp/promises": "^2.3", + "guzzlehttp/psr7": "^2.8", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1842,7 +1905,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.3" + "source": "https://github.com/guzzle/guzzle/tree/7.10.0" }, "funding": [ { @@ -1858,20 +1921,20 @@ "type": "tidelift" } ], - "time": "2025-03-27T13:37:11+00:00" + "time": "2025-08-23T22:36:01+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c" + "reference": "481557b130ef3790cf82b713667b43030dc9c957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c", - "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c", + "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", + "reference": "481557b130ef3790cf82b713667b43030dc9c957", "shasum": "" }, "require": { @@ -1879,7 +1942,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "type": "library", "extra": { @@ -1925,7 +1988,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.2.0" + "source": "https://github.com/guzzle/promises/tree/2.3.0" }, "funding": [ { @@ -1941,20 +2004,20 @@ "type": "tidelift" } ], - "time": "2025-03-27T13:27:01+00:00" + "time": "2025-08-22T14:34:08+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.7.1", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" + "reference": "21dc724a0583619cd1652f673303492272778051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", - "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051", + "reference": "21dc724a0583619cd1652f673303492272778051", "shasum": "" }, "require": { @@ -1970,7 +2033,7 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "http-interop/http-factory-tests": "0.9.0", - "phpunit/phpunit": "^8.5.39 || ^9.6.20" + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -2041,7 +2104,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.1" + "source": "https://github.com/guzzle/psr7/tree/2.8.0" }, "funding": [ { @@ -2057,20 +2120,20 @@ "type": "tidelift" } ], - "time": "2025-03-27T12:30:47+00:00" + "time": "2025-08-23T21:21:41+00:00" }, { "name": "guzzlehttp/uri-template", - "version": "v1.0.4", + "version": "v1.0.5", "source": { "type": "git", "url": "https://github.com/guzzle/uri-template.git", - "reference": "30e286560c137526eccd4ce21b2de477ab0676d2" + "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/30e286560c137526eccd4ce21b2de477ab0676d2", - "reference": "30e286560c137526eccd4ce21b2de477ab0676d2", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/4f4bbd4e7172148801e76e3decc1e559bdee34e1", + "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1", "shasum": "" }, "require": { @@ -2079,7 +2142,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.44 || ^9.6.25", "uri-template/tests": "1.0.0" }, "type": "library", @@ -2127,7 +2190,7 @@ ], "support": { "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.4" + "source": "https://github.com/guzzle/uri-template/tree/v1.0.5" }, "funding": [ { @@ -2143,20 +2206,20 @@ "type": "tidelift" } ], - "time": "2025-02-03T10:55:03+00:00" + "time": "2025-08-22T14:27:06+00:00" }, { "name": "inertiajs/inertia-laravel", - "version": "v2.0.1", + "version": "v2.0.10", "source": { "type": "git", "url": "https://github.com/inertiajs/inertia-laravel.git", - "reference": "d855ad18bcaae883e307619370d8c3dcfb5adbaa" + "reference": "07da425d58a3a0e3ace9c296e67bd897a6e47009" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/d855ad18bcaae883e307619370d8c3dcfb5adbaa", - "reference": "d855ad18bcaae883e307619370d8c3dcfb5adbaa", + "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/07da425d58a3a0e3ace9c296e67bd897a6e47009", + "reference": "07da425d58a3a0e3ace9c296e67bd897a6e47009", "shasum": "" }, "require": { @@ -2166,10 +2229,12 @@ "symfony/console": "^6.2|^7.0" }, "require-dev": { + "guzzlehttp/guzzle": "^7.2", + "larastan/larastan": "^3.0", "laravel/pint": "^1.16", "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^8.0|^9.2", - "phpunit/phpunit": "^10.4|^11.0", + "orchestra/testbench": "^8.0|^9.2|^10.0", + "phpunit/phpunit": "^10.4|^11.5", "roave/security-advisories": "dev-master" }, "suggest": { @@ -2209,28 +2274,22 @@ ], "support": { "issues": "https://github.com/inertiajs/inertia-laravel/issues", - "source": "https://github.com/inertiajs/inertia-laravel/tree/v2.0.1" + "source": "https://github.com/inertiajs/inertia-laravel/tree/v2.0.10" }, - "funding": [ - { - "url": "https://github.com/reinink", - "type": "github" - } - ], - "time": "2025-02-18T19:00:36+00:00" + "time": "2025-09-28T21:21:36+00:00" }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "4.2.3", + "version": "4.2.8", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "d04e06b12e5e7864c303b8a8c6045bfcd4e2c641" + "reference": "d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/d04e06b12e5e7864c303b8a8c6045bfcd4e2c641", - "reference": "d04e06b12e5e7864c303b8a8c6045bfcd4e2c641", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390", + "reference": "d67c7e2efa886d2ef8bb29e86c3ddb9438ac6390", "shasum": "" }, "require": { @@ -2278,22 +2337,22 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.3" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.8" }, - "time": "2025-04-01T14:41:56+00:00" + "time": "2025-08-14T18:43:05+00:00" }, { "name": "laravel/breeze", - "version": "v2.3.6", + "version": "v2.3.8", "source": { "type": "git", "url": "https://github.com/laravel/breeze.git", - "reference": "390cbc433cb72fa6050965000b2d56c9ba6fd713" + "reference": "1a29c5792818bd4cddf70b5f743a227e02fbcfcd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/breeze/zipball/390cbc433cb72fa6050965000b2d56c9ba6fd713", - "reference": "390cbc433cb72fa6050965000b2d56c9ba6fd713", + "url": "https://api.github.com/repos/laravel/breeze/zipball/1a29c5792818bd4cddf70b5f743a227e02fbcfcd", + "reference": "1a29c5792818bd4cddf70b5f743a227e02fbcfcd", "shasum": "" }, "require": { @@ -2341,24 +2400,24 @@ "issues": "https://github.com/laravel/breeze/issues", "source": "https://github.com/laravel/breeze" }, - "time": "2025-03-06T14:02:32+00:00" + "time": "2025-07-18T18:49:59+00:00" }, { "name": "laravel/framework", - "version": "v12.9.2", + "version": "v12.32.5", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "3db59aa0f382c349c78a92f3e5b5522e00e3301b" + "reference": "77b2740391cd2a825ba59d6fada45e9b8b9bcc5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/3db59aa0f382c349c78a92f3e5b5522e00e3301b", - "reference": "3db59aa0f382c349c78a92f3e5b5522e00e3301b", + "url": "https://api.github.com/repos/laravel/framework/zipball/77b2740391cd2a825ba59d6fada45e9b8b9bcc5a", + "reference": "77b2740391cd2a825ba59d6fada45e9b8b9bcc5a", "shasum": "" }, "require": { - "brick/math": "^0.11|^0.12", + "brick/math": "^0.11|^0.12|^0.13|^0.14", "composer-runtime-api": "^2.2", "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.4", @@ -2375,7 +2434,7 @@ "guzzlehttp/uri-template": "^1.0", "laravel/prompts": "^0.3.0", "laravel/serializable-closure": "^1.3|^2.0", - "league/commonmark": "^2.6", + "league/commonmark": "^2.7", "league/flysystem": "^3.25.1", "league/flysystem-local": "^3.25.1", "league/uri": "^7.5.1", @@ -2394,7 +2453,9 @@ "symfony/http-kernel": "^7.2.0", "symfony/mailer": "^7.2.0", "symfony/mime": "^7.2.0", - "symfony/polyfill-php83": "^1.31", + "symfony/polyfill-php83": "^1.33", + "symfony/polyfill-php84": "^1.33", + "symfony/polyfill-php85": "^1.33", "symfony/process": "^7.2.0", "symfony/routing": "^7.2.0", "symfony/uid": "^7.2.0", @@ -2430,6 +2491,7 @@ "illuminate/filesystem": "self.version", "illuminate/hashing": "self.version", "illuminate/http": "self.version", + "illuminate/json-schema": "self.version", "illuminate/log": "self.version", "illuminate/macroable": "self.version", "illuminate/mail": "self.version", @@ -2462,12 +2524,13 @@ "league/flysystem-read-only": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^10.0.0", + "opis/json-schema": "^2.4.1", + "orchestra/testbench-core": "^10.6.5", "pda/pheanstalk": "^5.0.6|^7.0.0", "php-http/discovery": "^1.15", "phpstan/phpstan": "^2.0", "phpunit/phpunit": "^10.5.35|^11.5.3|^12.0.1", - "predis/predis": "^2.3", + "predis/predis": "^2.3|^3.0", "resend/resend-php": "^0.10.0", "symfony/cache": "^7.2.0", "symfony/http-client": "^7.2.0", @@ -2487,7 +2550,7 @@ "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", - "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "fakerphp/faker": "Required to generate fake data using the fake() helper (^1.23).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", "laravel/tinker": "Required to use the tinker console command (^2.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).", @@ -2499,7 +2562,7 @@ "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", "php-http/discovery": "Required to use PSR-7 bridging features (^1.15).", "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.5.3|^12.0.1).", - "predis/predis": "Required to use the predis connector (^2.3).", + "predis/predis": "Required to use the predis connector (^2.3|^3.0).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).", @@ -2556,20 +2619,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-04-16T15:44:19+00:00" + "time": "2025-09-30T17:39:22+00:00" }, { "name": "laravel/prompts", - "version": "v0.3.5", + "version": "v0.3.7", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1" + "reference": "a1891d362714bc40c8d23b0b1d7090f022ea27cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/57b8f7efe40333cdb925700891c7d7465325d3b1", - "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1", + "url": "https://api.github.com/repos/laravel/prompts/zipball/a1891d362714bc40c8d23b0b1d7090f022ea27cc", + "reference": "a1891d362714bc40c8d23b0b1d7090f022ea27cc", "shasum": "" }, "require": { @@ -2586,8 +2649,8 @@ "illuminate/collections": "^10.0|^11.0|^12.0", "mockery/mockery": "^1.5", "pestphp/pest": "^2.3|^3.4", - "phpstan/phpstan": "^1.11", - "phpstan/phpstan-mockery": "^1.1" + "phpstan/phpstan": "^1.12.28", + "phpstan/phpstan-mockery": "^1.1.3" }, "suggest": { "ext-pcntl": "Required for the spinner to be animated." @@ -2613,22 +2676,22 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.3.5" + "source": "https://github.com/laravel/prompts/tree/v0.3.7" }, - "time": "2025-02-11T13:34:40+00:00" + "time": "2025-09-19T13:47:56+00:00" }, { "name": "laravel/sanctum", - "version": "v4.0.8", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "ec1dd9ddb2ab370f79dfe724a101856e0963f43c" + "reference": "fd6df4f79f48a72992e8d29a9c0ee25422a0d677" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/ec1dd9ddb2ab370f79dfe724a101856e0963f43c", - "reference": "ec1dd9ddb2ab370f79dfe724a101856e0963f43c", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/fd6df4f79f48a72992e8d29a9c0ee25422a0d677", + "reference": "fd6df4f79f48a72992e8d29a9c0ee25422a0d677", "shasum": "" }, "require": { @@ -2679,20 +2742,20 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2025-01-26T19:34:36+00:00" + "time": "2025-07-09T19:45:24+00:00" }, { "name": "laravel/scout", - "version": "v10.15.0", + "version": "v10.19.0", "source": { "type": "git", "url": "https://github.com/laravel/scout.git", - "reference": "102fe09ae1c045c6f9cf1b3a2234e1fadb2198f2" + "reference": "996b2a8b5ccc583e7df667c8aac924a46bc8bdd3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/scout/zipball/102fe09ae1c045c6f9cf1b3a2234e1fadb2198f2", - "reference": "102fe09ae1c045c6f9cf1b3a2234e1fadb2198f2", + "url": "https://api.github.com/repos/laravel/scout/zipball/996b2a8b5ccc583e7df667c8aac924a46bc8bdd3", + "reference": "996b2a8b5ccc583e7df667c8aac924a46bc8bdd3", "shasum": "" }, "require": { @@ -2716,7 +2779,7 @@ "orchestra/testbench": "^7.31|^8.11|^9.0|^10.0", "php-http/guzzle7-adapter": "^1.0", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.3|^10.4", + "phpunit/phpunit": "^9.3|^10.4|^11.5", "typesense/typesense-php": "^4.9.3" }, "suggest": { @@ -2760,20 +2823,20 @@ "issues": "https://github.com/laravel/scout/issues", "source": "https://github.com/laravel/scout" }, - "time": "2025-05-13T13:34:05+00:00" + "time": "2025-08-26T14:24:24+00:00" }, { "name": "laravel/serializable-closure", - "version": "v2.0.4", + "version": "v2.0.5", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841" + "reference": "3832547db6e0e2f8bb03d4093857b378c66eceed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/b352cf0534aa1ae6b4d825d1e762e35d43f8a841", - "reference": "b352cf0534aa1ae6b4d825d1e762e35d43f8a841", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3832547db6e0e2f8bb03d4093857b378c66eceed", + "reference": "3832547db6e0e2f8bb03d4093857b378c66eceed", "shasum": "" }, "require": { @@ -2821,7 +2884,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2025-03-19T13:51:03+00:00" + "time": "2025-09-22T17:29:40+00:00" }, { "name": "laravel/tinker", @@ -2891,16 +2954,16 @@ }, { "name": "league/commonmark", - "version": "2.6.1", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "d990688c91cedfb69753ffc2512727ec646df2ad" + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d990688c91cedfb69753ffc2512727ec646df2ad", - "reference": "d990688c91cedfb69753ffc2512727ec646df2ad", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca", + "reference": "10732241927d3971d28e7ea7b5712721fa2296ca", "shasum": "" }, "require": { @@ -2929,7 +2992,7 @@ "symfony/process": "^5.4 | ^6.0 | ^7.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", - "vimeo/psalm": "^4.24.0 || ^5.0.0" + "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2937,7 +3000,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.7-dev" + "dev-main": "2.8-dev" } }, "autoload": { @@ -2994,7 +3057,7 @@ "type": "tidelift" } ], - "time": "2024-12-29T14:10:59+00:00" + "time": "2025-07-20T12:47:49+00:00" }, { "name": "league/config", @@ -3080,16 +3143,16 @@ }, { "name": "league/csv", - "version": "9.23.0", + "version": "9.26.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "774008ad8a634448e4f8e288905e070e8b317ff3" + "reference": "7fce732754d043f3938899e5183e2d0f3d31b571" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/774008ad8a634448e4f8e288905e070e8b317ff3", - "reference": "774008ad8a634448e4f8e288905e070e8b317ff3", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/7fce732754d043f3938899e5183e2d0f3d31b571", + "reference": "7fce732754d043f3938899e5183e2d0f3d31b571", "shasum": "" }, "require": { @@ -3099,14 +3162,14 @@ "require-dev": { "ext-dom": "*", "ext-xdebug": "*", - "friendsofphp/php-cs-fixer": "^3.69.0", - "phpbench/phpbench": "^1.4.0", - "phpstan/phpstan": "^1.12.18", + "friendsofphp/php-cs-fixer": "^3.75.0", + "phpbench/phpbench": "^1.4.1", + "phpstan/phpstan": "^1.12.27", "phpstan/phpstan-deprecation-rules": "^1.2.1", "phpstan/phpstan-phpunit": "^1.4.2", "phpstan/phpstan-strict-rules": "^1.6.2", - "phpunit/phpunit": "^10.5.16 || ^11.5.7", - "symfony/var-dumper": "^6.4.8 || ^7.2.3" + "phpunit/phpunit": "^10.5.16 || ^11.5.22 || ^12.3.6", + "symfony/var-dumper": "^6.4.8 || ^7.3.0" }, "suggest": { "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", @@ -3167,20 +3230,20 @@ "type": "github" } ], - "time": "2025-03-28T06:52:04+00:00" + "time": "2025-10-01T11:24:54+00:00" }, { "name": "league/flysystem", - "version": "3.29.1", + "version": "3.30.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" + "reference": "2203e3151755d874bb2943649dae1eb8533ac93e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", - "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/2203e3151755d874bb2943649dae1eb8533ac93e", + "reference": "2203e3151755d874bb2943649dae1eb8533ac93e", "shasum": "" }, "require": { @@ -3204,13 +3267,13 @@ "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", - "ext-mongodb": "^1.3", + "ext-mongodb": "^1.3|^2", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", - "mongodb/mongodb": "^1.2", + "mongodb/mongodb": "^1.2|^2", "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", @@ -3248,22 +3311,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" + "source": "https://github.com/thephpleague/flysystem/tree/3.30.0" }, - "time": "2024-10-08T08:58:34+00:00" + "time": "2025-06-25T13:29:59+00:00" }, { "name": "league/flysystem-local", - "version": "3.29.0", + "version": "3.30.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" + "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", - "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/6691915f77c7fb69adfb87dcd550052dc184ee10", + "reference": "6691915f77c7fb69adfb87dcd550052dc184ee10", "shasum": "" }, "require": { @@ -3297,9 +3360,9 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.30.0" }, - "time": "2024-08-09T21:24:39+00:00" + "time": "2025-05-21T10:34:19+00:00" }, { "name": "league/mime-type-detection", @@ -3533,16 +3596,16 @@ }, { "name": "livewire/livewire", - "version": "v3.6.2", + "version": "v3.6.4", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "8f8914731f5eb43b6bb145d87c8d5a9edfc89313" + "reference": "ef04be759da41b14d2d129e670533180a44987dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/8f8914731f5eb43b6bb145d87c8d5a9edfc89313", - "reference": "8f8914731f5eb43b6bb145d87c8d5a9edfc89313", + "url": "https://api.github.com/repos/livewire/livewire/zipball/ef04be759da41b14d2d129e670533180a44987dc", + "reference": "ef04be759da41b14d2d129e670533180a44987dc", "shasum": "" }, "require": { @@ -3597,7 +3660,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.6.2" + "source": "https://github.com/livewire/livewire/tree/v3.6.4" }, "funding": [ { @@ -3605,26 +3668,96 @@ "type": "github" } ], - "time": "2025-03-12T20:24:15+00:00" + "time": "2025-07-17T05:12:15+00:00" + }, + { + "name": "luigel/laravel-paymongo", + "version": "2.x-dev", + "source": { + "type": "git", + "url": "https://github.com/luigel/laravel-paymongo.git", + "reference": "98f66185c7a1955c5e54737ff1ff27c44febf373" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/luigel/laravel-paymongo/zipball/98f66185c7a1955c5e54737ff1ff27c44febf373", + "reference": "98f66185c7a1955c5e54737ff1ff27c44febf373", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^7.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0", + "php": "^8.0" + }, + "require-dev": { + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", + "pestphp/pest": "^2.34|^3.7" + }, + "default-branch": true, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "Paymongo": "Luigel\\Paymongo\\Facades\\Paymongo" + }, + "providers": [ + "Luigel\\Paymongo\\PaymongoServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Luigel\\Paymongo\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rigel Kent Carbonel", + "email": "rigel20.kent@gmail.com", + "role": "Developer" + } + ], + "description": "A laravel wrapper for Paymongo API", + "homepage": "https://github.com/luigel/laravel-paymongo", + "keywords": [ + "credit-cards", + "debit-cards", + "gcash", + "grabcar", + "laravel", + "laravel-paymongo", + "luigel", + "payment-gateway", + "paymongo" + ], + "support": { + "issues": "https://github.com/luigel/laravel-paymongo/issues", + "source": "https://github.com/luigel/laravel-paymongo/tree/2.x" + }, + "time": "2025-06-10T15:28:52+00:00" }, { "name": "maennchen/zipstream-php", - "version": "3.1.2", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/maennchen/ZipStream-PHP.git", - "reference": "aeadcf5c412332eb426c0f9b4485f6accba2a99f" + "reference": "9712d8fa4cdf9240380b01eb4be55ad8dcf71416" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/aeadcf5c412332eb426c0f9b4485f6accba2a99f", - "reference": "aeadcf5c412332eb426c0f9b4485f6accba2a99f", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/9712d8fa4cdf9240380b01eb4be55ad8dcf71416", + "reference": "9712d8fa4cdf9240380b01eb4be55ad8dcf71416", "shasum": "" }, "require": { "ext-mbstring": "*", "ext-zlib": "*", - "php-64bit": "^8.2" + "php-64bit": "^8.3" }, "require-dev": { "brianium/paratest": "^7.7", @@ -3633,7 +3766,7 @@ "guzzlehttp/guzzle": "^7.5", "mikey179/vfsstream": "^1.6", "php-coveralls/php-coveralls": "^2.5", - "phpunit/phpunit": "^11.0", + "phpunit/phpunit": "^12.0", "vimeo/psalm": "^6.0" }, "suggest": { @@ -3675,7 +3808,7 @@ ], "support": { "issues": "https://github.com/maennchen/ZipStream-PHP/issues", - "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.1.2" + "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.2.0" }, "funding": [ { @@ -3683,20 +3816,20 @@ "type": "github" } ], - "time": "2025-01-27T12:07:53+00:00" + "time": "2025-07-17T11:15:13+00:00" }, { "name": "masterminds/html5", - "version": "2.9.0", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/Masterminds/html5-php.git", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + "reference": "fcf91eb64359852f00d921887b219479b4f21251" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", - "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/fcf91eb64359852f00d921887b219479b4f21251", + "reference": "fcf91eb64359852f00d921887b219479b4f21251", "shasum": "" }, "require": { @@ -3748,9 +3881,9 @@ ], "support": { "issues": "https://github.com/Masterminds/html5-php/issues", - "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + "source": "https://github.com/Masterminds/html5-php/tree/2.10.0" }, - "time": "2024-03-31T07:05:07+00:00" + "time": "2025-07-25T09:04:22+00:00" }, { "name": "monolog/monolog", @@ -3857,16 +3990,16 @@ }, { "name": "nesbot/carbon", - "version": "3.9.0", + "version": "3.10.3", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon.git", - "reference": "6d16a8a015166fe54e22c042e0805c5363aef50d" + "reference": "8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/6d16a8a015166fe54e22c042e0805c5363aef50d", - "reference": "6d16a8a015166fe54e22c042e0805c5363aef50d", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f", + "reference": "8e3643dcd149ae0fe1d2ff4f2c8e4bbfad7c165f", "shasum": "" }, "require": { @@ -3874,9 +4007,9 @@ "ext-json": "*", "php": "^8.1", "psr/clock": "^1.0", - "symfony/clock": "^6.3 || ^7.0", + "symfony/clock": "^6.3.12 || ^7.0", "symfony/polyfill-mbstring": "^1.0", - "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0" + "symfony/translation": "^4.4.18 || ^5.2.1 || ^6.0 || ^7.0" }, "provide": { "psr/clock-implementation": "1.0" @@ -3884,14 +4017,13 @@ "require-dev": { "doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/orm": "^2.15.2 || ^3.0", - "friendsofphp/php-cs-fixer": "^3.57.2", + "friendsofphp/php-cs-fixer": "^v3.87.1", "kylekatarnls/multi-tester": "^2.5.3", - "ondrejmirtes/better-reflection": "^6.25.0.4", "phpmd/phpmd": "^2.15.0", - "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.11.2", - "phpunit/phpunit": "^10.5.20", - "squizlabs/php_codesniffer": "^3.9.0" + "phpstan/extension-installer": "^1.4.3", + "phpstan/phpstan": "^2.1.22", + "phpunit/phpunit": "^10.5.53", + "squizlabs/php_codesniffer": "^3.13.4" }, "bin": [ "bin/carbon" @@ -3959,7 +4091,7 @@ "type": "tidelift" } ], - "time": "2025-03-27T12:57:33+00:00" + "time": "2025-09-06T13:39:36+00:00" }, { "name": "nette/schema", @@ -4025,29 +4157,29 @@ }, { "name": "nette/utils", - "version": "v4.0.6", + "version": "v4.0.8", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "ce708655043c7050eb050df361c5e313cf708309" + "reference": "c930ca4e3cf4f17dcfb03037703679d2396d2ede" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/ce708655043c7050eb050df361c5e313cf708309", - "reference": "ce708655043c7050eb050df361c5e313cf708309", + "url": "https://api.github.com/repos/nette/utils/zipball/c930ca4e3cf4f17dcfb03037703679d2396d2ede", + "reference": "c930ca4e3cf4f17dcfb03037703679d2396d2ede", "shasum": "" }, "require": { - "php": "8.0 - 8.4" + "php": "8.0 - 8.5" }, "conflict": { "nette/finder": "<3", "nette/schema": "<1.2.2" }, "require-dev": { - "jetbrains/phpstorm-attributes": "dev-master", + "jetbrains/phpstorm-attributes": "^1.2", "nette/tester": "^2.5", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan-nette": "^2.0@stable", "tracy/tracy": "^2.9" }, "suggest": { @@ -4065,6 +4197,9 @@ } }, "autoload": { + "psr-4": { + "Nette\\": "src" + }, "classmap": [ "src/" ] @@ -4105,22 +4240,22 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.6" + "source": "https://github.com/nette/utils/tree/v4.0.8" }, - "time": "2025-03-30T21:06:30+00:00" + "time": "2025-08-06T21:43:34+00:00" }, { "name": "nikic/php-parser", - "version": "v5.4.0", + "version": "v5.6.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "447a020a1f875a434d62f2a401f53b82a396e494" + "reference": "f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", - "reference": "447a020a1f875a434d62f2a401f53b82a396e494", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2", + "reference": "f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2", "shasum": "" }, "require": { @@ -4139,7 +4274,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "5.x-dev" } }, "autoload": { @@ -4163,37 +4298,37 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.1" }, - "time": "2024-12-30T11:07:19+00:00" + "time": "2025-08-13T20:13:15+00:00" }, { "name": "nunomaduro/termwind", - "version": "v2.3.0", + "version": "v2.3.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda" + "reference": "dfa08f390e509967a15c22493dc0bac5733d9123" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/52915afe6a1044e8b9cee1bcff836fb63acf9cda", - "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/dfa08f390e509967a15c22493dc0bac5733d9123", + "reference": "dfa08f390e509967a15c22493dc0bac5733d9123", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.2", - "symfony/console": "^7.1.8" + "symfony/console": "^7.2.6" }, "require-dev": { - "illuminate/console": "^11.33.2", - "laravel/pint": "^1.18.2", + "illuminate/console": "^11.44.7", + "laravel/pint": "^1.22.0", "mockery/mockery": "^1.6.12", - "pestphp/pest": "^2.36.0", - "phpstan/phpstan": "^1.12.11", - "phpstan/phpstan-strict-rules": "^1.6.1", - "symfony/var-dumper": "^7.1.8", + "pestphp/pest": "^2.36.0 || ^3.8.2", + "phpstan/phpstan": "^1.12.25", + "phpstan/phpstan-strict-rules": "^1.6.2", + "symfony/var-dumper": "^7.2.6", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -4236,7 +4371,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v2.3.0" + "source": "https://github.com/nunomaduro/termwind/tree/v2.3.1" }, "funding": [ { @@ -4252,7 +4387,7 @@ "type": "github" } ], - "time": "2024-11-21T10:39:51+00:00" + "time": "2025-05-08T08:14:37+00:00" }, { "name": "nyholm/psr7", @@ -4334,16 +4469,16 @@ }, { "name": "openspout/openspout", - "version": "v4.28.5", + "version": "v4.32.0", "source": { "type": "git", "url": "https://github.com/openspout/openspout.git", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b" + "reference": "41f045c1f632e1474e15d4c7bc3abcb4a153563d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/ab05a09fe6fce57c90338f83280648a9786ce36b", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b", + "url": "https://api.github.com/repos/openspout/openspout/zipball/41f045c1f632e1474e15d4c7bc3abcb4a153563d", + "reference": "41f045c1f632e1474e15d4c7bc3abcb4a153563d", "shasum": "" }, "require": { @@ -4353,17 +4488,17 @@ "ext-libxml": "*", "ext-xmlreader": "*", "ext-zip": "*", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" + "php": "~8.3.0 || ~8.4.0 || ~8.5.0" }, "require-dev": { "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.68.3", - "infection/infection": "^0.29.10", - "phpbench/phpbench": "^1.4.0", - "phpstan/phpstan": "^2.1.2", - "phpstan/phpstan-phpunit": "^2.0.4", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "^11.5.4" + "friendsofphp/php-cs-fixer": "^3.86.0", + "infection/infection": "^0.31.2", + "phpbench/phpbench": "^1.4.1", + "phpstan/phpstan": "^2.1.22", + "phpstan/phpstan-phpunit": "^2.0.7", + "phpstan/phpstan-strict-rules": "^2.0.6", + "phpunit/phpunit": "^12.3.7" }, "suggest": { "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", @@ -4411,7 +4546,7 @@ ], "support": { "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.28.5" + "source": "https://github.com/openspout/openspout/tree/v4.32.0" }, "funding": [ { @@ -4423,7 +4558,7 @@ "type": "github" } ], - "time": "2025-01-30T13:51:11+00:00" + "time": "2025-09-03T16:03:54+00:00" }, { "name": "php-http/client-common", @@ -4818,16 +4953,16 @@ }, { "name": "phpoption/phpoption", - "version": "1.9.3", + "version": "1.9.4", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + "reference": "638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", - "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d", + "reference": "638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d", "shasum": "" }, "require": { @@ -4835,7 +4970,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + "phpunit/phpunit": "^8.5.44 || ^9.6.25 || ^10.5.53 || ^11.5.34" }, "type": "library", "extra": { @@ -4877,7 +5012,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.4" }, "funding": [ { @@ -4889,7 +5024,7 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:41:07+00:00" + "time": "2025-08-21T11:53:16+00:00" }, { "name": "psr/cache", @@ -5354,16 +5489,16 @@ }, { "name": "psy/psysh", - "version": "v0.12.8", + "version": "v0.12.12", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625" + "reference": "cd23863404a40ccfaf733e3af4db2b459837f7e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/85057ceedee50c49d4f6ecaff73ee96adb3b3625", - "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/cd23863404a40ccfaf733e3af4db2b459837f7e7", + "reference": "cd23863404a40ccfaf733e3af4db2b459837f7e7", "shasum": "" }, "require": { @@ -5413,12 +5548,11 @@ "authors": [ { "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" + "email": "justin@justinhileman.info" } ], "description": "An interactive shell for modern PHP.", - "homepage": "http://psysh.org", + "homepage": "https://psysh.org", "keywords": [ "REPL", "console", @@ -5427,9 +5561,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.8" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.12" }, - "time": "2025-03-16T03:05:19+00:00" + "time": "2025-09-20T13:46:31+00:00" }, { "name": "ralouphie/getallheaders", @@ -5553,21 +5687,20 @@ }, { "name": "ramsey/uuid", - "version": "4.7.6", + "version": "4.9.1", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", - "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/81f941f6f729b1e3ceea61d9d014f8b6c6800440", + "reference": "81f941f6f729b1e3ceea61d9d014f8b6c6800440", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", - "ext-json": "*", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" }, @@ -5575,26 +5708,23 @@ "rhumsaa/uuid": "self.version" }, "require-dev": { - "captainhook/captainhook": "^5.10", + "captainhook/captainhook": "^5.25", "captainhook/plugin-composer": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.8", - "ergebnis/composer-normalize": "^2.15", - "mockery/mockery": "^1.3", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "ergebnis/composer-normalize": "^2.47", + "mockery/mockery": "^1.6", "paragonie/random-lib": "^2", - "php-mock/php-mock": "^2.2", - "php-mock/php-mock-mockery": "^1.3", - "php-parallel-lint/php-parallel-lint": "^1.1", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-mockery": "^1.1", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^8.5 || ^9", - "ramsey/composer-repl": "^1.4", - "slevomat/coding-standard": "^8.4", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.9" + "php-mock/php-mock": "^2.6", + "php-mock/php-mock-mockery": "^1.5", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "phpbench/phpbench": "^1.2.14", + "phpstan/extension-installer": "^1.4", + "phpstan/phpstan": "^2.1", + "phpstan/phpstan-mockery": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpunit/phpunit": "^9.6", + "slevomat/coding-standard": "^8.18", + "squizlabs/php_codesniffer": "^3.13" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", @@ -5629,19 +5759,9 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.6" + "source": "https://github.com/ramsey/uuid/tree/4.9.1" }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", - "type": "tidelift" - } - ], - "time": "2024-04-27T21:32:50+00:00" + "time": "2025-09-04T20:59:21+00:00" }, { "name": "ryangjchandler/blade-capture-directive", @@ -5852,16 +5972,16 @@ }, { "name": "spatie/image", - "version": "3.8.1", + "version": "3.8.6", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "80e907bc64fbb7ce87346e97c14534d7dad5d559" + "reference": "0872c5968a7f044fe1e960c26433e54ceaede696" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/80e907bc64fbb7ce87346e97c14534d7dad5d559", - "reference": "80e907bc64fbb7ce87346e97c14534d7dad5d559", + "url": "https://api.github.com/repos/spatie/image/zipball/0872c5968a7f044fe1e960c26433e54ceaede696", + "reference": "0872c5968a7f044fe1e960c26433e54ceaede696", "shasum": "" }, "require": { @@ -5909,7 +6029,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/image/tree/3.8.1" + "source": "https://github.com/spatie/image/tree/3.8.6" }, "funding": [ { @@ -5921,7 +6041,7 @@ "type": "github" } ], - "time": "2025-03-27T13:01:00+00:00" + "time": "2025-09-25T12:06:17+00:00" }, { "name": "spatie/image-optimizer", @@ -6039,16 +6159,16 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "11.12.9", + "version": "11.15.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "2435e90009c36906c33668d26c96c86acdb39af7" + "reference": "9d1e9731d36817d1649bc584b2c40c0c9d4bcfac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/2435e90009c36906c33668d26c96c86acdb39af7", - "reference": "2435e90009c36906c33668d26c96c86acdb39af7", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/9d1e9731d36817d1649bc584b2c40c0c9d4bcfac", + "reference": "9d1e9731d36817d1649bc584b2c40c0c9d4bcfac", "shasum": "" }, "require": { @@ -6086,6 +6206,7 @@ "phpstan/extension-installer": "^1.3.1", "spatie/laravel-ray": "^1.33", "spatie/pdf-to-image": "^2.2|^3.0", + "spatie/pest-expectations": "^1.13", "spatie/pest-plugin-snapshots": "^2.1" }, "suggest": { @@ -6132,7 +6253,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/11.12.9" + "source": "https://github.com/spatie/laravel-medialibrary/tree/11.15.0" }, "funding": [ { @@ -6144,20 +6265,20 @@ "type": "github" } ], - "time": "2025-03-31T07:55:00+00:00" + "time": "2025-09-19T06:51:45+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.92.4", + "version": "1.92.7", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "d20b1969f836d210459b78683d85c9cd5c5f508c" + "reference": "f09a799850b1ed765103a4f0b4355006360c49a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/d20b1969f836d210459b78683d85c9cd5c5f508c", - "reference": "d20b1969f836d210459b78683d85c9cd5c5f508c", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/f09a799850b1ed765103a4f0b4355006360c49a5", + "reference": "f09a799850b1ed765103a4f0b4355006360c49a5", "shasum": "" }, "require": { @@ -6197,7 +6318,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.92.4" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.92.7" }, "funding": [ { @@ -6205,20 +6326,20 @@ "type": "github" } ], - "time": "2025-04-11T15:27:14+00:00" + "time": "2025-07-17T15:46:43+00:00" }, { "name": "spatie/laravel-permission", - "version": "6.16.0", + "version": "6.21.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "4fa03c06509e037a4d42c131d0f181e3e4bbd483" + "reference": "6a118e8855dfffcd90403aab77bbf35a03db51b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/4fa03c06509e037a4d42c131d0f181e3e4bbd483", - "reference": "4fa03c06509e037a4d42c131d0f181e3e4bbd483", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/6a118e8855dfffcd90403aab77bbf35a03db51b3", + "reference": "6a118e8855dfffcd90403aab77bbf35a03db51b3", "shasum": "" }, "require": { @@ -6280,7 +6401,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.16.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.21.0" }, "funding": [ { @@ -6288,7 +6409,7 @@ "type": "github" } ], - "time": "2025-02-28T20:29:57+00:00" + "time": "2025-07-23T16:08:05+00:00" }, { "name": "spatie/temporary-directory", @@ -6353,16 +6474,16 @@ }, { "name": "stripe/stripe-php", - "version": "v17.2.0", + "version": "v17.6.0", "source": { "type": "git", "url": "https://github.com/stripe/stripe-php.git", - "reference": "ff2364c75533b71116ea11994d6bd08989b7f67b" + "reference": "a6219df5df1324a0d3f1da25fb5e4b8a3307ea16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/stripe/stripe-php/zipball/ff2364c75533b71116ea11994d6bd08989b7f67b", - "reference": "ff2364c75533b71116ea11994d6bd08989b7f67b", + "url": "https://api.github.com/repos/stripe/stripe-php/zipball/a6219df5df1324a0d3f1da25fb5e4b8a3307ea16", + "reference": "a6219df5df1324a0d3f1da25fb5e4b8a3307ea16", "shasum": "" }, "require": { @@ -6406,13 +6527,13 @@ ], "support": { "issues": "https://github.com/stripe/stripe-php/issues", - "source": "https://github.com/stripe/stripe-php/tree/v17.2.0" + "source": "https://github.com/stripe/stripe-php/tree/v17.6.0" }, - "time": "2025-04-30T19:20:34+00:00" + "time": "2025-08-27T19:32:42+00:00" }, { "name": "symfony/clock", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/clock.git", @@ -6466,7 +6587,7 @@ "time" ], "support": { - "source": "https://github.com/symfony/clock/tree/v7.2.0" + "source": "https://github.com/symfony/clock/tree/v7.3.0" }, "funding": [ { @@ -6486,23 +6607,24 @@ }, { "name": "symfony/console", - "version": "v7.2.5", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "e51498ea18570c062e7df29d05a7003585b19b88" + "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/e51498ea18570c062e7df29d05a7003585b19b88", - "reference": "e51498ea18570c062e7df29d05a7003585b19b88", + "url": "https://api.github.com/repos/symfony/console/zipball/2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", + "reference": "2b9c5fafbac0399a20a2e82429e2bd735dcfb7db", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^6.4|^7.0" + "symfony/string": "^7.2" }, "conflict": { "symfony/dependency-injection": "<6.4", @@ -6559,7 +6681,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.2.5" + "source": "https://github.com/symfony/console/tree/v7.3.4" }, "funding": [ { @@ -6570,16 +6692,20 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-12T08:11:12+00:00" + "time": "2025-09-22T15:31:00+00:00" }, { "name": "symfony/css-selector", - "version": "v7.2.0", + "version": "v7.3.0", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -6624,7 +6750,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.2.0" + "source": "https://github.com/symfony/css-selector/tree/v7.3.0" }, "funding": [ { @@ -6644,16 +6770,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", - "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { @@ -6666,7 +6792,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -6691,7 +6817,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" }, "funding": [ { @@ -6707,20 +6833,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/error-handler", - "version": "v7.2.5", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "102be5e6a8e4f4f3eb3149bcbfa33a80d1ee374b" + "reference": "99f81bc944ab8e5dae4f21b4ca9972698bbad0e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/102be5e6a8e4f4f3eb3149bcbfa33a80d1ee374b", - "reference": "102be5e6a8e4f4f3eb3149bcbfa33a80d1ee374b", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/99f81bc944ab8e5dae4f21b4ca9972698bbad0e4", + "reference": "99f81bc944ab8e5dae4f21b4ca9972698bbad0e4", "shasum": "" }, "require": { @@ -6733,9 +6859,11 @@ "symfony/http-kernel": "<6.4" }, "require-dev": { + "symfony/console": "^6.4|^7.0", "symfony/deprecation-contracts": "^2.5|^3", "symfony/http-kernel": "^6.4|^7.0", - "symfony/serializer": "^6.4|^7.0" + "symfony/serializer": "^6.4|^7.0", + "symfony/webpack-encore-bundle": "^1.0|^2.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -6766,7 +6894,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v7.2.5" + "source": "https://github.com/symfony/error-handler/tree/v7.3.4" }, "funding": [ { @@ -6777,25 +6905,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-03T07:12:39+00:00" + "time": "2025-09-11T10:12:26+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.2.0", + "version": "v7.3.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1" + "reference": "b7dc69e71de420ac04bc9ab830cf3ffebba48191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/910c5db85a5356d0fea57680defec4e99eb9c8c1", - "reference": "910c5db85a5356d0fea57680defec4e99eb9c8c1", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b7dc69e71de420ac04bc9ab830cf3ffebba48191", + "reference": "b7dc69e71de420ac04bc9ab830cf3ffebba48191", "shasum": "" }, "require": { @@ -6846,7 +6978,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.2.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.3.3" }, "funding": [ { @@ -6857,25 +6989,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2025-08-13T11:49:31+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f" + "reference": "59eb412e93815df44f05f342958efa9f46b1e586" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7642f5e970b672283b7823222ae8ef8bbc160b9f", - "reference": "7642f5e970b672283b7823222ae8ef8bbc160b9f", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586", + "reference": "59eb412e93815df44f05f342958efa9f46b1e586", "shasum": "" }, "require": { @@ -6889,7 +7025,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -6922,7 +7058,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.6.0" }, "funding": [ { @@ -6938,20 +7074,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/finder", - "version": "v7.2.2", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "87a71856f2f56e4100373e92529eed3171695cfb" + "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb", - "reference": "87a71856f2f56e4100373e92529eed3171695cfb", + "url": "https://api.github.com/repos/symfony/finder/zipball/2a6614966ba1074fa93dae0bc804227422df4dfe", + "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe", "shasum": "" }, "require": { @@ -6986,7 +7122,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.2.2" + "source": "https://github.com/symfony/finder/tree/v7.3.2" }, "funding": [ { @@ -6997,25 +7133,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-12-30T19:00:17+00:00" + "time": "2025-07-15T13:41:35+00:00" }, { "name": "symfony/html-sanitizer", - "version": "v7.2.3", + "version": "v7.3.3", "source": { "type": "git", "url": "https://github.com/symfony/html-sanitizer.git", - "reference": "91443febe34cfa5e8e00425f892e6316db95bc23" + "reference": "8740fc48979f649dee8b8fc51a2698e5c190bf12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/91443febe34cfa5e8e00425f892e6316db95bc23", - "reference": "91443febe34cfa5e8e00425f892e6316db95bc23", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/8740fc48979f649dee8b8fc51a2698e5c190bf12", + "reference": "8740fc48979f649dee8b8fc51a2698e5c190bf12", "shasum": "" }, "require": { @@ -7055,7 +7195,7 @@ "sanitizer" ], "support": { - "source": "https://github.com/symfony/html-sanitizer/tree/v7.2.3" + "source": "https://github.com/symfony/html-sanitizer/tree/v7.3.3" }, "funding": [ { @@ -7066,25 +7206,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-01-27T11:08:17+00:00" + "time": "2025-08-12T10:34:03+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.2.5", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "371272aeb6286f8135e028ca535f8e4d6f114126" + "reference": "c061c7c18918b1b64268771aad04b40be41dd2e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/371272aeb6286f8135e028ca535f8e4d6f114126", - "reference": "371272aeb6286f8135e028ca535f8e4d6f114126", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c061c7c18918b1b64268771aad04b40be41dd2e6", + "reference": "c061c7c18918b1b64268771aad04b40be41dd2e6", "shasum": "" }, "require": { @@ -7101,6 +7245,7 @@ "doctrine/dbal": "^3.6|^4", "predis/predis": "^1.1|^2.0", "symfony/cache": "^6.4.12|^7.1.5", + "symfony/clock": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", "symfony/expression-language": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", @@ -7133,7 +7278,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.2.5" + "source": "https://github.com/symfony/http-foundation/tree/v7.3.4" }, "funding": [ { @@ -7144,25 +7289,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-25T15:54:33+00:00" + "time": "2025-09-16T08:38:17+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.2.5", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "b1fe91bc1fa454a806d3f98db4ba826eb9941a54" + "reference": "b796dffea7821f035047235e076b60ca2446e3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/b1fe91bc1fa454a806d3f98db4ba826eb9941a54", - "reference": "b1fe91bc1fa454a806d3f98db4ba826eb9941a54", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/b796dffea7821f035047235e076b60ca2446e3cf", + "reference": "b796dffea7821f035047235e076b60ca2446e3cf", "shasum": "" }, "require": { @@ -7170,8 +7319,8 @@ "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", "symfony/error-handler": "^6.4|^7.0", - "symfony/event-dispatcher": "^6.4|^7.0", - "symfony/http-foundation": "^6.4|^7.0", + "symfony/event-dispatcher": "^7.3", + "symfony/http-foundation": "^7.3", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -7247,7 +7396,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.2.5" + "source": "https://github.com/symfony/http-kernel/tree/v7.3.4" }, "funding": [ { @@ -7258,25 +7407,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-28T13:32:50+00:00" + "time": "2025-09-27T12:32:17+00:00" }, { "name": "symfony/mailer", - "version": "v7.2.3", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "f3871b182c44997cf039f3b462af4a48fb85f9d3" + "reference": "ab97ef2f7acf0216955f5845484235113047a31d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/f3871b182c44997cf039f3b462af4a48fb85f9d3", - "reference": "f3871b182c44997cf039f3b462af4a48fb85f9d3", + "url": "https://api.github.com/repos/symfony/mailer/zipball/ab97ef2f7acf0216955f5845484235113047a31d", + "reference": "ab97ef2f7acf0216955f5845484235113047a31d", "shasum": "" }, "require": { @@ -7327,7 +7480,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.2.3" + "source": "https://github.com/symfony/mailer/tree/v7.3.4" }, "funding": [ { @@ -7338,25 +7491,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-01-27T11:08:17+00:00" + "time": "2025-09-17T05:51:54+00:00" }, { "name": "symfony/mime", - "version": "v7.2.4", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "87ca22046b78c3feaff04b337f33b38510fd686b" + "reference": "b1b828f69cbaf887fa835a091869e55df91d0e35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/87ca22046b78c3feaff04b337f33b38510fd686b", - "reference": "87ca22046b78c3feaff04b337f33b38510fd686b", + "url": "https://api.github.com/repos/symfony/mime/zipball/b1b828f69cbaf887fa835a091869e55df91d0e35", + "reference": "b1b828f69cbaf887fa835a091869e55df91d0e35", "shasum": "" }, "require": { @@ -7411,7 +7568,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.2.4" + "source": "https://github.com/symfony/mime/tree/v7.3.4" }, "funding": [ { @@ -7422,25 +7579,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-02-19T08:51:20+00:00" + "time": "2025-09-16T08:38:17+00:00" }, { "name": "symfony/options-resolver", - "version": "v7.2.0", + "version": "v7.3.3", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50" + "reference": "0ff2f5c3df08a395232bbc3c2eb7e84912df911d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/7da8fbac9dcfef75ffc212235d76b2754ce0cf50", - "reference": "7da8fbac9dcfef75ffc212235d76b2754ce0cf50", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/0ff2f5c3df08a395232bbc3c2eb7e84912df911d", + "reference": "0ff2f5c3df08a395232bbc3c2eb7e84912df911d", "shasum": "" }, "require": { @@ -7478,7 +7639,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v7.2.0" + "source": "https://github.com/symfony/options-resolver/tree/v7.3.3" }, "funding": [ { @@ -7489,16 +7650,20 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-11-20T11:17:29+00:00" + "time": "2025-08-05T10:16:07+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -7557,7 +7722,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" }, "funding": [ { @@ -7568,6 +7733,10 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" @@ -7577,16 +7746,16 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", - "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70", + "reference": "380872130d3a5dd3ace2f4010d95125fde5d5c70", "shasum": "" }, "require": { @@ -7635,7 +7804,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.33.0" }, "funding": [ { @@ -7646,25 +7815,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2025-06-27T09:58:17+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", - "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3", + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3", "shasum": "" }, "require": { @@ -7718,7 +7891,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.33.0" }, "funding": [ { @@ -7729,16 +7902,20 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-09-10T14:38:51+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -7799,7 +7976,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.33.0" }, "funding": [ { @@ -7810,6 +7987,10 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" @@ -7819,19 +8000,20 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", - "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", "shasum": "" }, "require": { + "ext-iconv": "*", "php": ">=7.2" }, "provide": { @@ -7879,7 +8061,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" }, "funding": [ { @@ -7890,25 +8072,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2024-12-23T08:48:59+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", - "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608", + "reference": "0cc9dd0f17f61d8131e7df6b84bd344899fe2608", "shasum": "" }, "require": { @@ -7959,7 +8145,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.33.0" }, "funding": [ { @@ -7970,25 +8156,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2025-01-02T08:10:11+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", - "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/17f6f9a6b1735c0f163024d959f700cfbc5155e5", + "reference": "17f6f9a6b1735c0f163024d959f700cfbc5155e5", "shasum": "" }, "require": { @@ -8035,7 +8225,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.33.0" }, "funding": [ { @@ -8046,16 +8236,180 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-09-09T11:45:10+00:00" + "time": "2025-07-08T02:45:35+00:00" + }, + { + "name": "symfony/polyfill-php84", + "version": "v1.33.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php84.git", + "reference": "d8ced4d875142b6a7426000426b8abc631d6b191" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/d8ced4d875142b6a7426000426b8abc631d6b191", + "reference": "d8ced4d875142b6a7426000426b8abc631d6b191", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php84\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php84/tree/v1.33.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-06-24T13:30:11+00:00" + }, + { + "name": "symfony/polyfill-php85", + "version": "v1.33.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php85.git", + "reference": "d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91", + "reference": "d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php85\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.5+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php85/tree/v1.33.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2025-06-23T16:12:55+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.31.0", + "version": "v1.33.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", @@ -8114,7 +8468,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.33.0" }, "funding": [ { @@ -8125,6 +8479,10 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" @@ -8134,16 +8492,16 @@ }, { "name": "symfony/process", - "version": "v7.2.5", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "87b7c93e57df9d8e39a093d32587702380ff045d" + "reference": "f24f8f316367b30810810d4eb30c543d7003ff3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/87b7c93e57df9d8e39a093d32587702380ff045d", - "reference": "87b7c93e57df9d8e39a093d32587702380ff045d", + "url": "https://api.github.com/repos/symfony/process/zipball/f24f8f316367b30810810d4eb30c543d7003ff3b", + "reference": "f24f8f316367b30810810d4eb30c543d7003ff3b", "shasum": "" }, "require": { @@ -8175,7 +8533,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.2.5" + "source": "https://github.com/symfony/process/tree/v7.3.4" }, "funding": [ { @@ -8186,25 +8544,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-13T12:21:46+00:00" + "time": "2025-09-11T10:12:26+00:00" }, { "name": "symfony/routing", - "version": "v7.2.3", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "ee9a67edc6baa33e5fae662f94f91fd262930996" + "reference": "8dc648e159e9bac02b703b9fbd937f19ba13d07c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/ee9a67edc6baa33e5fae662f94f91fd262930996", - "reference": "ee9a67edc6baa33e5fae662f94f91fd262930996", + "url": "https://api.github.com/repos/symfony/routing/zipball/8dc648e159e9bac02b703b9fbd937f19ba13d07c", + "reference": "8dc648e159e9bac02b703b9fbd937f19ba13d07c", "shasum": "" }, "require": { @@ -8256,7 +8618,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v7.2.3" + "source": "https://github.com/symfony/routing/tree/v7.3.4" }, "funding": [ { @@ -8267,25 +8629,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-01-17T10:56:55+00:00" + "time": "2025-09-11T10:12:26+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0" + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e53260aabf78fb3d63f8d79d69ece59f80d5eda0", - "reference": "e53260aabf78fb3d63f8d79d69ece59f80d5eda0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4", + "reference": "f021b05a130d35510bd6b25fe9053c2a8a15d5d4", "shasum": "" }, "require": { @@ -8303,7 +8669,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -8339,7 +8705,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.6.0" }, "funding": [ { @@ -8355,20 +8721,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2025-04-25T09:37:31+00:00" }, { "name": "symfony/string", - "version": "v7.2.0", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" + "reference": "f96476035142921000338bad71e5247fbc138872" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", - "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", + "url": "https://api.github.com/repos/symfony/string/zipball/f96476035142921000338bad71e5247fbc138872", + "reference": "f96476035142921000338bad71e5247fbc138872", "shasum": "" }, "require": { @@ -8383,7 +8749,6 @@ }, "require-dev": { "symfony/emoji": "^7.1", - "symfony/error-handler": "^6.4|^7.0", "symfony/http-client": "^6.4|^7.0", "symfony/intl": "^6.4|^7.0", "symfony/translation-contracts": "^2.5|^3.0", @@ -8426,7 +8791,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.2.0" + "source": "https://github.com/symfony/string/tree/v7.3.4" }, "funding": [ { @@ -8437,25 +8802,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-11-13T13:31:26+00:00" + "time": "2025-09-11T14:36:48+00:00" }, { "name": "symfony/translation", - "version": "v7.2.4", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "283856e6981286cc0d800b53bd5703e8e363f05a" + "reference": "ec25870502d0c7072d086e8ffba1420c85965174" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/283856e6981286cc0d800b53bd5703e8e363f05a", - "reference": "283856e6981286cc0d800b53bd5703e8e363f05a", + "url": "https://api.github.com/repos/symfony/translation/zipball/ec25870502d0c7072d086e8ffba1420c85965174", + "reference": "ec25870502d0c7072d086e8ffba1420c85965174", "shasum": "" }, "require": { @@ -8465,6 +8834,7 @@ "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { + "nikic/php-parser": "<5.0", "symfony/config": "<6.4", "symfony/console": "<6.4", "symfony/dependency-injection": "<6.4", @@ -8478,7 +8848,7 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { - "nikic/php-parser": "^4.18|^5.0", + "nikic/php-parser": "^5.0", "psr/log": "^1|^2|^3", "symfony/config": "^6.4|^7.0", "symfony/console": "^6.4|^7.0", @@ -8521,7 +8891,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.2.4" + "source": "https://github.com/symfony/translation/tree/v7.3.4" }, "funding": [ { @@ -8532,25 +8902,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-02-13T10:27:23+00:00" + "time": "2025-09-07T11:39:36+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "4667ff3bd513750603a09c8dedbea942487fb07c" + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/4667ff3bd513750603a09c8dedbea942487fb07c", - "reference": "4667ff3bd513750603a09c8dedbea942487fb07c", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/df210c7a2573f1913b2d17cc95f90f53a73d8f7d", + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d", "shasum": "" }, "require": { @@ -8563,7 +8937,7 @@ "name": "symfony/contracts" }, "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" } }, "autoload": { @@ -8599,7 +8973,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.5.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.6.0" }, "funding": [ { @@ -8615,20 +8989,20 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-09-27T08:32:26+00:00" }, { "name": "symfony/uid", - "version": "v7.2.0", + "version": "v7.3.1", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "2d294d0c48df244c71c105a169d0190bfb080426" + "reference": "a69f69f3159b852651a6bf45a9fdd149520525bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/2d294d0c48df244c71c105a169d0190bfb080426", - "reference": "2d294d0c48df244c71c105a169d0190bfb080426", + "url": "https://api.github.com/repos/symfony/uid/zipball/a69f69f3159b852651a6bf45a9fdd149520525bb", + "reference": "a69f69f3159b852651a6bf45a9fdd149520525bb", "shasum": "" }, "require": { @@ -8673,7 +9047,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v7.2.0" + "source": "https://github.com/symfony/uid/tree/v7.3.1" }, "funding": [ { @@ -8689,31 +9063,31 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:21:43+00:00" + "time": "2025-06-27T19:55:54+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.2.3", + "version": "v7.3.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "82b478c69745d8878eb60f9a049a4d584996f73a" + "reference": "b8abe7daf2730d07dfd4b2ee1cecbf0dd2fbdabb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/82b478c69745d8878eb60f9a049a4d584996f73a", - "reference": "82b478c69745d8878eb60f9a049a4d584996f73a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b8abe7daf2730d07dfd4b2ee1cecbf0dd2fbdabb", + "reference": "b8abe7daf2730d07dfd4b2ee1cecbf0dd2fbdabb", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { "symfony/console": "<6.4" }, "require-dev": { - "ext-iconv": "*", "symfony/console": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", "symfony/process": "^6.4|^7.0", @@ -8756,7 +9130,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.2.3" + "source": "https://github.com/symfony/var-dumper/tree/v7.3.4" }, "funding": [ { @@ -8767,25 +9141,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-01-17T11:39:41+00:00" + "time": "2025-09-11T10:12:26+00:00" }, { "name": "tightenco/ziggy", - "version": "v2.5.2", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/tighten/ziggy.git", - "reference": "d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c" + "reference": "cccc6035c109daab03a33926b3a8499bedbed01f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tighten/ziggy/zipball/d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c", - "reference": "d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c", + "url": "https://api.github.com/repos/tighten/ziggy/zipball/cccc6035c109daab03a33926b3a8499bedbed01f", + "reference": "cccc6035c109daab03a33926b3a8499bedbed01f", "shasum": "" }, "require": { @@ -8840,9 +9218,9 @@ ], "support": { "issues": "https://github.com/tighten/ziggy/issues", - "source": "https://github.com/tighten/ziggy/tree/v2.5.2" + "source": "https://github.com/tighten/ziggy/tree/v2.6.0" }, - "time": "2025-02-27T15:43:52+00:00" + "time": "2025-09-15T00:00:26+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -8972,16 +9350,16 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.6.1", + "version": "v5.6.2", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", - "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af", + "reference": "24ac4c74f91ee2c193fa1aaa5c249cb0822809af", "shasum": "" }, "require": { @@ -9040,7 +9418,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.2" }, "funding": [ { @@ -9052,7 +9430,7 @@ "type": "tidelift" } ], - "time": "2024-07-20T21:52:34+00:00" + "time": "2025-04-30T23:37:27+00:00" }, { "name": "voku/portable-ascii", @@ -9190,16 +9568,16 @@ "packages-dev": [ { "name": "barryvdh/laravel-debugbar", - "version": "v3.15.4", + "version": "v3.16.0", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "c0667ea91f7185f1e074402c5788195e96bf8106" + "reference": "f265cf5e38577d42311f1a90d619bcd3740bea23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/c0667ea91f7185f1e074402c5788195e96bf8106", - "reference": "c0667ea91f7185f1e074402c5788195e96bf8106", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/f265cf5e38577d42311f1a90d619bcd3740bea23", + "reference": "f265cf5e38577d42311f1a90d619bcd3740bea23", "shasum": "" }, "require": { @@ -9207,7 +9585,7 @@ "illuminate/session": "^9|^10|^11|^12", "illuminate/support": "^9|^10|^11|^12", "php": "^8.1", - "php-debugbar/php-debugbar": "~2.1.1", + "php-debugbar/php-debugbar": "~2.2.0", "symfony/finder": "^6|^7" }, "require-dev": { @@ -9227,7 +9605,7 @@ ] }, "branch-alias": { - "dev-master": "3.15-dev" + "dev-master": "3.16-dev" } }, "autoload": { @@ -9259,7 +9637,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.15.4" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.16.0" }, "funding": [ { @@ -9271,20 +9649,20 @@ "type": "github" } ], - "time": "2025-04-16T06:32:06+00:00" + "time": "2025-07-14T11:56:43+00:00" }, { "name": "brianium/paratest", - "version": "v7.8.3", + "version": "v7.8.4", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "a585c346ddf1bec22e51e20b5387607905604a71" + "reference": "130a9bf0e269ee5f5b320108f794ad03e275cad4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/a585c346ddf1bec22e51e20b5387607905604a71", - "reference": "a585c346ddf1bec22e51e20b5387607905604a71", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/130a9bf0e269ee5f5b320108f794ad03e275cad4", + "reference": "130a9bf0e269ee5f5b320108f794ad03e275cad4", "shasum": "" }, "require": { @@ -9293,26 +9671,26 @@ "ext-reflection": "*", "ext-simplexml": "*", "fidry/cpu-core-counter": "^1.2.0", - "jean85/pretty-package-versions": "^2.1.0", + "jean85/pretty-package-versions": "^2.1.1", "php": "~8.2.0 || ~8.3.0 || ~8.4.0", - "phpunit/php-code-coverage": "^11.0.9 || ^12.0.4", - "phpunit/php-file-iterator": "^5.1.0 || ^6", - "phpunit/php-timer": "^7.0.1 || ^8", - "phpunit/phpunit": "^11.5.11 || ^12.0.6", - "sebastian/environment": "^7.2.0 || ^8", - "symfony/console": "^6.4.17 || ^7.2.1", - "symfony/process": "^6.4.19 || ^7.2.4" + "phpunit/php-code-coverage": "^11.0.10", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-timer": "^7.0.1", + "phpunit/phpunit": "^11.5.24", + "sebastian/environment": "^7.2.1", + "symfony/console": "^6.4.22 || ^7.3.0", + "symfony/process": "^6.4.20 || ^7.3.0" }, "require-dev": { "doctrine/coding-standard": "^12.0.0", "ext-pcov": "*", "ext-posix": "*", - "phpstan/phpstan": "^2.1.6", - "phpstan/phpstan-deprecation-rules": "^2.0.1", - "phpstan/phpstan-phpunit": "^2.0.4", - "phpstan/phpstan-strict-rules": "^2.0.3", - "squizlabs/php_codesniffer": "^3.11.3", - "symfony/filesystem": "^6.4.13 || ^7.2.0" + "phpstan/phpstan": "^2.1.17", + "phpstan/phpstan-deprecation-rules": "^2.0.3", + "phpstan/phpstan-phpunit": "^2.0.6", + "phpstan/phpstan-strict-rules": "^2.0.4", + "squizlabs/php_codesniffer": "^3.13.2", + "symfony/filesystem": "^6.4.13 || ^7.3.0" }, "bin": [ "bin/paratest", @@ -9352,7 +9730,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.8.3" + "source": "https://github.com/paratestphp/paratest/tree/v7.8.4" }, "funding": [ { @@ -9364,7 +9742,7 @@ "type": "paypal" } ], - "time": "2025-03-05T08:29:11+00:00" + "time": "2025-06-23T06:07:21+00:00" }, { "name": "fakerphp/faker", @@ -9431,16 +9809,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.2.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "8520451a140d3f46ac33042715115e290cf5785f" + "reference": "db9508f7b1474469d9d3c53b86f817e344732678" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", - "reference": "8520451a140d3f46ac33042715115e290cf5785f", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/db9508f7b1474469d9d3c53b86f817e344732678", + "reference": "db9508f7b1474469d9d3c53b86f817e344732678", "shasum": "" }, "require": { @@ -9450,10 +9828,10 @@ "fidry/makefile": "^0.2.0", "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", - "phpstan/phpstan": "^1.9.2", - "phpstan/phpstan-deprecation-rules": "^1.0.0", - "phpstan/phpstan-phpunit": "^1.2.2", - "phpstan/phpstan-strict-rules": "^1.4.4", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-deprecation-rules": "^2.0.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^8.5.31 || ^9.5.26", "webmozarts/strict-phpunit": "^7.5" }, @@ -9480,7 +9858,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.3.0" }, "funding": [ { @@ -9488,20 +9866,20 @@ "type": "github" } ], - "time": "2024-08-06T10:04:20+00:00" + "time": "2025-08-14T07:29:31+00:00" }, { "name": "filp/whoops", - "version": "2.18.0", + "version": "2.18.4", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e" + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", - "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e", + "url": "https://api.github.com/repos/filp/whoops/zipball/d2102955e48b9fd9ab24280a7ad12ed552752c4d", + "reference": "d2102955e48b9fd9ab24280a7ad12ed552752c4d", "shasum": "" }, "require": { @@ -9551,7 +9929,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.18.0" + "source": "https://github.com/filp/whoops/tree/2.18.4" }, "funding": [ { @@ -9559,24 +9937,24 @@ "type": "github" } ], - "time": "2025-03-15T12:00:00+00:00" + "time": "2025-08-08T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", + "version": "v2.1.1", "source": { "type": "git", "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", + "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487", "shasum": "" }, "require": { - "php": "^5.3|^7.0|^8.0" + "php": "^7.4|^8.0" }, "replace": { "cordoval/hamcrest-php": "*", @@ -9584,8 +9962,8 @@ "kodova/hamcrest-php": "*" }, "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + "phpunit/php-file-iterator": "^1.4 || ^2.0 || ^3.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { @@ -9608,9 +9986,9 @@ ], "support": { "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.1.1" }, - "time": "2020-07-09T08:09:16+00:00" + "time": "2025-04-30T06:54:44+00:00" }, { "name": "jean85/pretty-package-versions", @@ -9674,16 +10052,16 @@ }, { "name": "laravel/pail", - "version": "v1.2.2", + "version": "v1.2.3", "source": { "type": "git", "url": "https://github.com/laravel/pail.git", - "reference": "f31f4980f52be17c4667f3eafe034e6826787db2" + "reference": "8cc3d575c1f0e57eeb923f366a37528c50d2385a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pail/zipball/f31f4980f52be17c4667f3eafe034e6826787db2", - "reference": "f31f4980f52be17c4667f3eafe034e6826787db2", + "url": "https://api.github.com/repos/laravel/pail/zipball/8cc3d575c1f0e57eeb923f366a37528c50d2385a", + "reference": "8cc3d575c1f0e57eeb923f366a37528c50d2385a", "shasum": "" }, "require": { @@ -9703,7 +10081,7 @@ "orchestra/testbench-core": "^8.13|^9.0|^10.0", "pestphp/pest": "^2.20|^3.0", "pestphp/pest-plugin-type-coverage": "^2.3|^3.0", - "phpstan/phpstan": "^1.10", + "phpstan/phpstan": "^1.12.27", "symfony/var-dumper": "^6.3|^7.0" }, "type": "library", @@ -9739,6 +10117,7 @@ "description": "Easily delve into your Laravel application's log files directly from the command line.", "homepage": "https://github.com/laravel/pail", "keywords": [ + "dev", "laravel", "logs", "php", @@ -9748,20 +10127,20 @@ "issues": "https://github.com/laravel/pail/issues", "source": "https://github.com/laravel/pail" }, - "time": "2025-01-28T15:15:15+00:00" + "time": "2025-06-05T13:55:57+00:00" }, { "name": "laravel/pint", - "version": "v1.21.2", + "version": "v1.25.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "370772e7d9e9da087678a0edf2b11b6960e40558" + "reference": "5016e263f95d97670d71b9a987bd8996ade6d8d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/370772e7d9e9da087678a0edf2b11b6960e40558", - "reference": "370772e7d9e9da087678a0edf2b11b6960e40558", + "url": "https://api.github.com/repos/laravel/pint/zipball/5016e263f95d97670d71b9a987bd8996ade6d8d9", + "reference": "5016e263f95d97670d71b9a987bd8996ade6d8d9", "shasum": "" }, "require": { @@ -9772,12 +10151,12 @@ "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.72.0", - "illuminate/view": "^11.44.2", - "larastan/larastan": "^3.2.0", - "laravel-zero/framework": "^11.36.1", + "friendsofphp/php-cs-fixer": "^3.87.2", + "illuminate/view": "^11.46.0", + "larastan/larastan": "^3.7.1", + "laravel-zero/framework": "^11.45.0", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^2.3", + "nunomaduro/termwind": "^2.3.1", "pestphp/pest": "^2.36.0" }, "bin": [ @@ -9814,20 +10193,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2025-03-14T22:31:42+00:00" + "time": "2025-09-19T02:57:12+00:00" }, { "name": "laravel/sail", - "version": "v1.41.0", + "version": "v1.46.0", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "fe1a4ada0abb5e4bd99eb4e4b0d87906c00cdeec" + "reference": "eb90c4f113c4a9637b8fdd16e24cfc64f2b0ae6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/fe1a4ada0abb5e4bd99eb4e4b0d87906c00cdeec", - "reference": "fe1a4ada0abb5e4bd99eb4e4b0d87906c00cdeec", + "url": "https://api.github.com/repos/laravel/sail/zipball/eb90c4f113c4a9637b8fdd16e24cfc64f2b0ae6e", + "reference": "eb90c4f113c4a9637b8fdd16e24cfc64f2b0ae6e", "shasum": "" }, "require": { @@ -9877,20 +10256,20 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2025-01-24T15:45:36+00:00" + "time": "2025-09-23T13:44:39+00:00" }, { "name": "laravel/telescope", - "version": "v5.7.0", + "version": "v5.13.0", "source": { "type": "git", "url": "https://github.com/laravel/telescope.git", - "reference": "440908cb856cfbef9323244f7978ad4bf8cd2daa" + "reference": "ad5fadb26c1e4dc2e35958e6dc36191dcf1c10d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/440908cb856cfbef9323244f7978ad4bf8cd2daa", - "reference": "440908cb856cfbef9323244f7978ad4bf8cd2daa", + "url": "https://api.github.com/repos/laravel/telescope/zipball/ad5fadb26c1e4dc2e35958e6dc36191dcf1c10d8", + "reference": "ad5fadb26c1e4dc2e35958e6dc36191dcf1c10d8", "shasum": "" }, "require": { @@ -9944,9 +10323,9 @@ ], "support": { "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v5.7.0" + "source": "https://github.com/laravel/telescope/tree/v5.13.0" }, - "time": "2025-03-27T17:25:52+00:00" + "time": "2025-09-30T10:03:05+00:00" }, { "name": "mockery/mockery", @@ -10033,16 +10412,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.0", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "024473a478be9df5fdaca2c793f2232fe788e414" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414", - "reference": "024473a478be9df5fdaca2c793f2232fe788e414", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -10081,7 +10460,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -10089,27 +10468,27 @@ "type": "tidelift" } ], - "time": "2025-02-12T12:17:51+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nunomaduro/collision", - "version": "v8.8.0", + "version": "v8.8.2", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "4cf9f3b47afff38b139fb79ce54fc71799022ce8" + "reference": "60207965f9b7b7a4ce15a0f75d57f9dadb105bdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/4cf9f3b47afff38b139fb79ce54fc71799022ce8", - "reference": "4cf9f3b47afff38b139fb79ce54fc71799022ce8", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/60207965f9b7b7a4ce15a0f75d57f9dadb105bdb", + "reference": "60207965f9b7b7a4ce15a0f75d57f9dadb105bdb", "shasum": "" }, "require": { - "filp/whoops": "^2.18.0", - "nunomaduro/termwind": "^2.3.0", + "filp/whoops": "^2.18.1", + "nunomaduro/termwind": "^2.3.1", "php": "^8.2.0", - "symfony/console": "^7.2.5" + "symfony/console": "^7.3.0" }, "conflict": { "laravel/framework": "<11.44.2 || >=13.0.0", @@ -10117,15 +10496,15 @@ }, "require-dev": { "brianium/paratest": "^7.8.3", - "larastan/larastan": "^3.2", - "laravel/framework": "^11.44.2 || ^12.6", - "laravel/pint": "^1.21.2", - "laravel/sail": "^1.41.0", - "laravel/sanctum": "^4.0.8", + "larastan/larastan": "^3.4.2", + "laravel/framework": "^11.44.2 || ^12.18", + "laravel/pint": "^1.22.1", + "laravel/sail": "^1.43.1", + "laravel/sanctum": "^4.1.1", "laravel/tinker": "^2.10.1", - "orchestra/testbench-core": "^9.12.0 || ^10.1", - "pestphp/pest": "^3.8.0", - "sebastian/environment": "^7.2.0 || ^8.0" + "orchestra/testbench-core": "^9.12.0 || ^10.4", + "pestphp/pest": "^3.8.2", + "sebastian/environment": "^7.2.1 || ^8.0" }, "type": "library", "extra": { @@ -10188,42 +10567,42 @@ "type": "patreon" } ], - "time": "2025-04-03T14:33:09+00:00" + "time": "2025-06-25T02:12:12+00:00" }, { "name": "pestphp/pest", - "version": "v3.7.5", + "version": "v3.8.4", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "4969526ef2841118aa9d8b13ae2dad40f3d91492" + "reference": "72cf695554420e21858cda831d5db193db102574" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/4969526ef2841118aa9d8b13ae2dad40f3d91492", - "reference": "4969526ef2841118aa9d8b13ae2dad40f3d91492", + "url": "https://api.github.com/repos/pestphp/pest/zipball/72cf695554420e21858cda831d5db193db102574", + "reference": "72cf695554420e21858cda831d5db193db102574", "shasum": "" }, "require": { - "brianium/paratest": "^7.8.3", - "nunomaduro/collision": "^8.7.0", - "nunomaduro/termwind": "^2.3.0", + "brianium/paratest": "^7.8.4", + "nunomaduro/collision": "^8.8.2", + "nunomaduro/termwind": "^2.3.1", "pestphp/pest-plugin": "^3.0.0", - "pestphp/pest-plugin-arch": "^3.0.0", + "pestphp/pest-plugin-arch": "^3.1.1", "pestphp/pest-plugin-mutate": "^3.0.5", "php": "^8.2.0", - "phpunit/phpunit": "^11.5.15" + "phpunit/phpunit": "^11.5.33" }, "conflict": { "filp/whoops": "<2.16.0", - "phpunit/phpunit": ">11.5.15", + "phpunit/phpunit": ">11.5.33", "sebastian/exporter": "<6.0.0", "webmozart/assert": "<1.11.0" }, "require-dev": { "pestphp/pest-dev-tools": "^3.4.0", - "pestphp/pest-plugin-type-coverage": "^3.5.0", - "symfony/process": "^7.2.5" + "pestphp/pest-plugin-type-coverage": "^3.6.1", + "symfony/process": "^7.3.0" }, "bin": [ "bin/pest" @@ -10288,7 +10667,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v3.7.5" + "source": "https://github.com/pestphp/pest/tree/v3.8.4" }, "funding": [ { @@ -10300,7 +10679,7 @@ "type": "github" } ], - "time": "2025-03-29T17:57:53+00:00" + "time": "2025-08-20T19:12:42+00:00" }, { "name": "pestphp/pest-plugin", @@ -10374,16 +10753,16 @@ }, { "name": "pestphp/pest-plugin-arch", - "version": "v3.0.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-arch.git", - "reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0" + "reference": "db7bd9cb1612b223e16618d85475c6f63b9c8daa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/0a27e55a270cfe73d8cb70551b91002ee2cb64b0", - "reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0", + "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/db7bd9cb1612b223e16618d85475c6f63b9c8daa", + "reference": "db7bd9cb1612b223e16618d85475c6f63b9c8daa", "shasum": "" }, "require": { @@ -10392,8 +10771,8 @@ "ta-tikoma/phpunit-architecture-test": "^0.8.4" }, "require-dev": { - "pestphp/pest": "^3.0.0", - "pestphp/pest-dev-tools": "^3.0.0" + "pestphp/pest": "^3.8.1", + "pestphp/pest-dev-tools": "^3.4.0" }, "type": "library", "extra": { @@ -10428,7 +10807,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.0.0" + "source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.1.1" }, "funding": [ { @@ -10440,31 +10819,31 @@ "type": "github" } ], - "time": "2024-09-08T23:23:55+00:00" + "time": "2025-04-16T22:59:48+00:00" }, { "name": "pestphp/pest-plugin-laravel", - "version": "v3.1.0", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-laravel.git", - "reference": "1c4e994476375c72aa7aebaaa97aa98f5d5378cd" + "reference": "6801be82fd92b96e82dd72e563e5674b1ce365fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-laravel/zipball/1c4e994476375c72aa7aebaaa97aa98f5d5378cd", - "reference": "1c4e994476375c72aa7aebaaa97aa98f5d5378cd", + "url": "https://api.github.com/repos/pestphp/pest-plugin-laravel/zipball/6801be82fd92b96e82dd72e563e5674b1ce365fc", + "reference": "6801be82fd92b96e82dd72e563e5674b1ce365fc", "shasum": "" }, "require": { - "laravel/framework": "^11.39.1|^12.0.0", - "pestphp/pest": "^3.7.4", + "laravel/framework": "^11.39.1|^12.9.2", + "pestphp/pest": "^3.8.2", "php": "^8.2.0" }, "require-dev": { "laravel/dusk": "^8.2.13|dev-develop", - "orchestra/testbench": "^9.9.0|^10.0.0", - "pestphp/pest-dev-tools": "^3.3.0" + "orchestra/testbench": "^9.9.0|^10.2.1", + "pestphp/pest-dev-tools": "^3.4.0" }, "type": "library", "extra": { @@ -10502,7 +10881,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-laravel/tree/v3.1.0" + "source": "https://github.com/pestphp/pest-plugin-laravel/tree/v3.2.0" }, "funding": [ { @@ -10514,7 +10893,7 @@ "type": "github" } ], - "time": "2025-01-24T13:22:39+00:00" + "time": "2025-04-21T07:40:53+00:00" }, { "name": "pestphp/pest-plugin-mutate", @@ -10708,16 +11087,16 @@ }, { "name": "php-debugbar/php-debugbar", - "version": "v2.1.6", + "version": "v2.2.4", "source": { "type": "git", "url": "https://github.com/php-debugbar/php-debugbar.git", - "reference": "16fa68da5617220594aa5e33fa9de415f94784a0" + "reference": "3146d04671f51f69ffec2a4207ac3bdcf13a9f35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/16fa68da5617220594aa5e33fa9de415f94784a0", - "reference": "16fa68da5617220594aa5e33fa9de415f94784a0", + "url": "https://api.github.com/repos/php-debugbar/php-debugbar/zipball/3146d04671f51f69ffec2a4207ac3bdcf13a9f35", + "reference": "3146d04671f51f69ffec2a4207ac3bdcf13a9f35", "shasum": "" }, "require": { @@ -10725,6 +11104,9 @@ "psr/log": "^1|^2|^3", "symfony/var-dumper": "^4|^5|^6|^7" }, + "replace": { + "maximebf/debugbar": "self.version" + }, "require-dev": { "dbrekelmans/bdi": "^1", "phpunit/phpunit": "^8|^9", @@ -10739,7 +11121,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -10772,9 +11154,9 @@ ], "support": { "issues": "https://github.com/php-debugbar/php-debugbar/issues", - "source": "https://github.com/php-debugbar/php-debugbar/tree/v2.1.6" + "source": "https://github.com/php-debugbar/php-debugbar/tree/v2.2.4" }, - "time": "2025-02-21T17:47:03+00:00" + "time": "2025-07-22T14:01:30+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -10831,16 +11213,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.6.2", + "version": "5.6.3", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "92dde6a5919e34835c506ac8c523ef095a95ed62" + "reference": "94f8051919d1b0369a6bcc7931d679a511c03fe9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/92dde6a5919e34835c506ac8c523ef095a95ed62", - "reference": "92dde6a5919e34835c506ac8c523ef095a95ed62", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94f8051919d1b0369a6bcc7931d679a511c03fe9", + "reference": "94f8051919d1b0369a6bcc7931d679a511c03fe9", "shasum": "" }, "require": { @@ -10889,9 +11271,9 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.2" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.3" }, - "time": "2025-04-13T19:20:35+00:00" + "time": "2025-08-01T19:43:32+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -10953,16 +11335,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.1.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68" + "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", - "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/1e0cd5370df5dd2e556a36b9c62f62e555870495", + "reference": "1e0cd5370df5dd2e556a36b9c62f62e555870495", "shasum": "" }, "require": { @@ -10994,22 +11376,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.1.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.0" }, - "time": "2025-02-19T13:28:12+00:00" + "time": "2025-08-30T15:50:23+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "11.0.9", + "version": "11.0.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7" + "reference": "4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/14d63fbcca18457e49c6f8bebaa91a87e8e188d7", - "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4", + "reference": "4f7722aa9a7b76aa775e2d9d4e95d1ea16eeeef4", "shasum": "" }, "require": { @@ -11066,15 +11448,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.9" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.11" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/php-code-coverage", + "type": "tidelift" } ], - "time": "2025-02-25T13:26:39+00:00" + "time": "2025-08-27T14:37:49+00:00" }, { "name": "phpunit/php-file-iterator", @@ -11323,16 +11717,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.15", + "version": "11.5.33", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c" + "reference": "5965e9ff57546cb9137c0ff6aa78cb7442b05cf6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c", - "reference": "4b6a4ee654e5e0c5e1f17e2f83c0f4c91dee1f9c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5965e9ff57546cb9137c0ff6aa78cb7442b05cf6", + "reference": "5965e9ff57546cb9137c0ff6aa78cb7442b05cf6", "shasum": "" }, "require": { @@ -11342,24 +11736,24 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.13.0", + "myclabs/deep-copy": "^1.13.4", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.2", - "phpunit/php-code-coverage": "^11.0.9", + "phpunit/php-code-coverage": "^11.0.10", "phpunit/php-file-iterator": "^5.1.0", "phpunit/php-invoker": "^5.0.1", "phpunit/php-text-template": "^4.0.1", "phpunit/php-timer": "^7.0.1", "sebastian/cli-parser": "^3.0.2", "sebastian/code-unit": "^3.0.3", - "sebastian/comparator": "^6.3.1", + "sebastian/comparator": "^6.3.2", "sebastian/diff": "^6.0.2", - "sebastian/environment": "^7.2.0", + "sebastian/environment": "^7.2.1", "sebastian/exporter": "^6.3.0", "sebastian/global-state": "^7.0.2", "sebastian/object-enumerator": "^6.0.1", - "sebastian/type": "^5.1.2", + "sebastian/type": "^5.1.3", "sebastian/version": "^5.0.2", "staabm/side-effects-detector": "^1.0.5" }, @@ -11404,7 +11798,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.15" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.33" }, "funding": [ { @@ -11415,12 +11809,20 @@ "url": "https://github.com/sebastianbergmann", "type": "github" }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, { "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", "type": "tidelift" } ], - "time": "2025-03-23T16:02:11+00:00" + "time": "2025-08-16T05:19:02+00:00" }, { "name": "sebastian/cli-parser", @@ -11594,16 +11996,16 @@ }, { "name": "sebastian/comparator", - "version": "6.3.1", + "version": "6.3.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959" + "reference": "85c77556683e6eee4323e4c5468641ca0237e2e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/24b8fbc2c8e201bb1308e7b05148d6ab393b6959", - "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/85c77556683e6eee4323e4c5468641ca0237e2e8", + "reference": "85c77556683e6eee4323e4c5468641ca0237e2e8", "shasum": "" }, "require": { @@ -11662,15 +12064,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.2" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/comparator", + "type": "tidelift" } ], - "time": "2025-03-07T06:57:01+00:00" + "time": "2025-08-10T08:07:46+00:00" }, { "name": "sebastian/complexity", @@ -11799,23 +12213,23 @@ }, { "name": "sebastian/environment", - "version": "7.2.0", + "version": "7.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5" + "reference": "a5c75038693ad2e8d4b6c15ba2403532647830c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", - "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/a5c75038693ad2e8d4b6c15ba2403532647830c4", + "reference": "a5c75038693ad2e8d4b6c15ba2403532647830c4", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.3" }, "suggest": { "ext-posix": "*" @@ -11851,28 +12265,40 @@ "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/7.2.0" + "source": "https://github.com/sebastianbergmann/environment/tree/7.2.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/environment", + "type": "tidelift" } ], - "time": "2024-07-03T04:54:44+00:00" + "time": "2025-05-21T11:55:47+00:00" }, { "name": "sebastian/exporter", - "version": "6.3.0", + "version": "6.3.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3" + "reference": "70a298763b40b213ec087c51c739efcaa90bcd74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/3473f61172093b2da7de1fb5782e1f24cc036dc3", - "reference": "3473f61172093b2da7de1fb5782e1f24cc036dc3", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/70a298763b40b213ec087c51c739efcaa90bcd74", + "reference": "70a298763b40b213ec087c51c739efcaa90bcd74", "shasum": "" }, "require": { @@ -11886,7 +12312,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.1-dev" + "dev-main": "6.3-dev" } }, "autoload": { @@ -11929,15 +12355,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/6.3.0" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.3.2" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/exporter", + "type": "tidelift" } ], - "time": "2024-12-05T09:17:50+00:00" + "time": "2025-09-24T06:12:51+00:00" }, { "name": "sebastian/global-state", @@ -12175,23 +12613,23 @@ }, { "name": "sebastian/recursion-context", - "version": "6.0.2", + "version": "6.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "694d156164372abbd149a4b85ccda2e4670c0e16" + "reference": "f6458abbf32a6c8174f8f26261475dc133b3d9dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/694d156164372abbd149a4b85ccda2e4670c0e16", - "reference": "694d156164372abbd149a4b85ccda2e4670c0e16", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f6458abbf32a6c8174f8f26261475dc133b3d9dc", + "reference": "f6458abbf32a6c8174f8f26261475dc133b3d9dc", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { @@ -12227,28 +12665,40 @@ "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/6.0.2" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/6.0.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/recursion-context", + "type": "tidelift" } ], - "time": "2024-07-03T05:10:34+00:00" + "time": "2025-08-13T04:42:22+00:00" }, { "name": "sebastian/type", - "version": "5.1.2", + "version": "5.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e" + "reference": "f77d2d4e78738c98d9a68d2596fe5e8fa380f449" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", - "reference": "a8a7e30534b0eb0c77cd9d07e82de1a114389f5e", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/f77d2d4e78738c98d9a68d2596fe5e8fa380f449", + "reference": "f77d2d4e78738c98d9a68d2596fe5e8fa380f449", "shasum": "" }, "require": { @@ -12284,15 +12734,27 @@ "support": { "issues": "https://github.com/sebastianbergmann/type/issues", "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/5.1.2" + "source": "https://github.com/sebastianbergmann/type/tree/5.1.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/sebastian/type", + "type": "tidelift" } ], - "time": "2025-03-18T13:35:50+00:00" + "time": "2025-08-09T06:55:48+00:00" }, { "name": "sebastian/version", @@ -12402,16 +12864,16 @@ }, { "name": "symfony/yaml", - "version": "v7.2.5", + "version": "v7.3.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "4c4b6f4cfcd7e52053f0c8bfad0f7f30fb924912" + "reference": "d4f4a66866fe2451f61296924767280ab5732d9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/4c4b6f4cfcd7e52053f0c8bfad0f7f30fb924912", - "reference": "4c4b6f4cfcd7e52053f0c8bfad0f7f30fb924912", + "url": "https://api.github.com/repos/symfony/yaml/zipball/d4f4a66866fe2451f61296924767280ab5732d9d", + "reference": "d4f4a66866fe2451f61296924767280ab5732d9d", "shasum": "" }, "require": { @@ -12454,7 +12916,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.2.5" + "source": "https://github.com/symfony/yaml/tree/v7.3.3" }, "funding": [ { @@ -12465,32 +12927,36 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-03-03T07:12:39+00:00" + "time": "2025-08-27T11:34:33+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", - "version": "0.8.4", + "version": "0.8.5", "source": { "type": "git", "url": "https://github.com/ta-tikoma/phpunit-architecture-test.git", - "reference": "89f0dea1cb0f0d5744d3ec1764a286af5e006636" + "reference": "cf6fb197b676ba716837c886baca842e4db29005" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ta-tikoma/phpunit-architecture-test/zipball/89f0dea1cb0f0d5744d3ec1764a286af5e006636", - "reference": "89f0dea1cb0f0d5744d3ec1764a286af5e006636", + "url": "https://api.github.com/repos/ta-tikoma/phpunit-architecture-test/zipball/cf6fb197b676ba716837c886baca842e4db29005", + "reference": "cf6fb197b676ba716837c886baca842e4db29005", "shasum": "" }, "require": { "nikic/php-parser": "^4.18.0 || ^5.0.0", "php": "^8.1.0", "phpdocumentor/reflection-docblock": "^5.3.0", - "phpunit/phpunit": "^10.5.5 || ^11.0.0", + "phpunit/phpunit": "^10.5.5 || ^11.0.0 || ^12.0.0", "symfony/finder": "^6.4.0 || ^7.0.0" }, "require-dev": { @@ -12527,9 +12993,9 @@ ], "support": { "issues": "https://github.com/ta-tikoma/phpunit-architecture-test/issues", - "source": "https://github.com/ta-tikoma/phpunit-architecture-test/tree/0.8.4" + "source": "https://github.com/ta-tikoma/phpunit-architecture-test/tree/0.8.5" }, - "time": "2024-01-05T14:10:56+00:00" + "time": "2025-04-20T20:23:40+00:00" }, { "name": "theseer/tokenizer", @@ -12585,6 +13051,7 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { + "luigel/laravel-paymongo": 20, "simonhamp/laravel-stripe-connect": 20 }, "prefer-stable": true, @@ -12592,6 +13059,6 @@ "platform": { "php": "^8.2" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/config/paymongo.php b/config/paymongo.php new file mode 100644 index 0000000..e05d887 --- /dev/null +++ b/config/paymongo.php @@ -0,0 +1,67 @@ + env('PAYMONGO_LIVEMODE', false), + + /** + * Public and Secret keys from Paymongo. You can get the keys here https://dashboard.paymongo.com/developers. + */ + + /** + * Public keys are meant to be used for any requests coming from the frontend, such as generating tokens or sources, + * either using Javascript or through the mobile SDKs. + * Public keys cannot be used to trigger payments or modify any part of the transaction flow. + * They have the prefix pk_live_ for live mode and pk_test_ for test mode. + */ + 'public_key' => env('PAYMONGO_PUBLIC_KEY', null), + + /** + * Secret keys, on the other hand, are for triggering or modifying payments. Never share your secret keys anywhere + * that is publicly accessible: Github, client-side Javascript code, your website or even chat rooms. + * The prefixes for the secret keys are sk_live_ for live mode and sk_test_ for test mode. + */ + 'secret_key' => env('PAYMONGO_SECRET_KEY', null), + + /** + * Paymongo's team continuously adding more features and integrations to the API. + * Currently, the API supports doing payments via debit and credit cards issued by Visa and Mastercard. + */ + 'version' => env('PAYMONGO_VERSION', '2019-08-05'), + + /* + * This class is responsible for calculating the signature that will be added to + * the headers of the webhook request. A webhook client can use the signature + * to verify the request hasn't been tampered with. + */ + 'signer' => \Luigel\Paymongo\Signer\DefaultSigner::class, + + /** + * Paymongo webhooks signature secret. + */ + 'webhook_signatures' => [ + 'payment_paid' => env('PAYMONGO_WEBHOOK_SIG_PAYMENT_PAID', env('PAYMONGO_WEBHOOK_SIG')), + 'payment_failed' => env('PAYMONGO_WEBHOOK_SIG_PAYMENT_FAILED', env('PAYMONGO_WEBHOOK_SIG')), + 'source_chargeable' => env('PAYMONGO_WEBHOOK_SIG_SOURCE_CHARGABLE', env('PAYMONGO_WEBHOOK_SIG')), + 'payment_refunded' => env('PAYMONGO_WEBHOOK_SIG_PAYMENT_REFUNDED', env('PAYMONGO_WEBHOOK_SIG')), + 'payment_refund_updated' => env('PAYMONGO_WEBHOOK_SIG_PAYMENT_REFUND_UPDATED', env('PAYMONGO_WEBHOOK_SIG')), + ], + + /** + * Webhook signature configuration for backwards compatibility. + */ + 'webhook_signature' => env('PAYMONGO_WEBHOOK_SIG'), + + /* + * This is the name of the header where the signature will be added. + */ + 'signature_header_name' => env('PAYMONGO_SIG_HEADER', 'paymongo-signature'), + + /** + * This is the amount type to automatically convert the amount in your payload. + * The default is Paymongo::AMOUNT_TYPE_FLOAT. + * + * Choices are: Paymongo::AMOUNT_TYPE_FLOAT, or Paymongo::AMOUNT_TYPE_INT + */ + 'amount_type' => \Luigel\Paymongo\Paymongo::AMOUNT_TYPE_FLOAT, +]; diff --git a/config/scout.php b/config/scout.php index a77cd5a..d8812bd 100644 --- a/config/scout.php +++ b/config/scout.php @@ -44,7 +44,7 @@ | */ - 'queue' => env('SCOUT_QUEUE', false), + 'queue' => env('SCOUT_QUEUE', true), /* |-------------------------------------------------------------------------- diff --git a/mailpit/LICENSE b/mailpit/LICENSE new file mode 100644 index 0000000..66bfbe7 --- /dev/null +++ b/mailpit/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) +Copyright (c) 2022-Now() Ralph Slooten + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/mailpit/README.md b/mailpit/README.md new file mode 100644 index 0000000..9ebdf68 --- /dev/null +++ b/mailpit/README.md @@ -0,0 +1,117 @@ +

+ Mailpit - email testing for developers +

+ +
+ CI Tests status + CI build status + CI Docker build status + Code quality + Go Report Card +
+ Latest release + Docker pulls +
+
+

+ Website • + Documentation • + API +

+ +
+ +**Mailpit** is a small, fast, low memory, zero-dependency, multi-platform email testing tool & API for developers. + +It acts as an SMTP server, provides a modern web interface to view & test captured emails, and includes an API for automated integration testing. + +Mailpit was originally **inspired** by MailHog which is [no longer maintained](https://github.com/mailhog/MailHog/issues/442#issuecomment-1493415258) and hasn't seen active development or security updates for a few years now. + +![Mailpit](https://raw.githubusercontent.com/axllent/mailpit/develop/server/ui-src/screenshot.png) + + +## Features + +- Runs entirely from a single [static binary](https://mailpit.axllent.org/docs/install/) or multi-architecture [Docker images](https://mailpit.axllent.org/docs/install/docker/) +- Modern web UI with advanced [mail search](https://mailpit.axllent.org/docs/usage/search-filters/) to view emails (formatted HTML, highlighted HTML source, text, headers, raw source, and MIME attachments +including image thumbnails), including optional [HTTPS](https://mailpit.axllent.org/docs/configuration/http/) & [authentication](https://mailpit.axllent.org/docs/configuration/http/) +- [SMTP server](https://mailpit.axllent.org/docs/configuration/smtp/) with optional STARTTLS or SSL/TLS, authentication (including an "accept any" mode) +- A [REST API](https://mailpit.axllent.org/docs/api-v1/) for integration testing +- Real-time web UI updates using web sockets for new mail & optional [browser notifications](https://mailpit.axllent.org/docs/usage/notifications/) when new mail is received +- Optional [POP3 server](https://mailpit.axllent.org/docs/configuration/pop3/) to download captured message directly into your email client +- [HTML check](https://mailpit.axllent.org/docs/usage/html-check/) to test & score mail client compatibility with HTML emails +- [Link check](https://mailpit.axllent.org/docs/usage/link-check/) to test message links (HTML & text) & linked images +- [Spam check](https://mailpit.axllent.org/docs/usage/spamassassin/) to test message "spamminess" using a running SpamAssassin server +- [Create screenshots](https://mailpit.axllent.org/docs/usage/html-screenshots/) of HTML messages via web UI +- Mobile and tablet HTML preview toggle in desktop mode +- [Message tagging](https://mailpit.axllent.org/docs/usage/tagging/) including manual tagging or automated tagging using filtering and "plus addressing" +- [SMTP relaying](https://mailpit.axllent.org/docs/configuration/smtp-relay/) (message release) - relay messages via a different SMTP server including an optional allowlist of accepted recipients +- [SMTP forwarding](https://mailpit.axllent.org/docs/configuration/smtp-forward/) - automatically forward messages via a different SMTP server to predefined email addresses +- Fast message [storing & processing](https://mailpit.axllent.org/docs/configuration/email-storage/) - ingesting 100-200 emails per second over SMTP depending on CPU, network speed & email size, +easily handling tens of thousands of emails, with automatic email pruning (by default keeping the most recent 500 emails) +- [Chaos](https://mailpit.axllent.org/docs/integration/chaos/) feature to enable configurable SMTP errors to test application resilience +- `List-Unsubscribe` syntax validation +- Optional [webhook](https://mailpit.axllent.org/docs/integration/webhook/) for received messages + + +## Installation + +The Mailpit web UI listens by default on `http://0.0.0.0:8025` and the SMTP port on `0.0.0.0:1025`. + +Mailpit runs as a single binary and can be installed in different ways: + + +### Install via package managers + +- **Mac**: `brew install mailpit` (to run automatically in the background: `brew services start mailpit`) +- **Arch Linux**: available in the AUR as `mailpit` +- **FreeBSD**: `pkg install mailpit` + + +### Install via script (Linux & Mac) + +Linux & Mac users can install it directly to `/usr/local/bin/mailpit` with: + +```shell +sudo sh < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh) +``` + +You can also change the install path to something else by setting the `INSTALL_PATH` environment, for example: + +```shell +INSTALL_PATH=/usr/bin sudo sh < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh) +``` + + +### Download static binary (Windows, Linux and Mac) + +Static binaries can always be found on the [releases](https://github.com/axllent/mailpit/releases/latest). The `mailpit` binary can be extracted and copied to your `$PATH`, or simply run as `./mailpit`. + + +### Docker + +See [Docker instructions](https://mailpit.axllent.org/docs/install/docker/) for 386, amd64 & arm64 images. + + +### Compile from source + +To build Mailpit from source, see [Building from source](https://mailpit.axllent.org/docs/install/source/). + + +## Usage + +Run `mailpit -h` to see options. More information can be seen in [the docs](https://mailpit.axllent.org/docs/configuration/runtime-options/). + +If installed using homebrew, you may run `brew services start mailpit` to always run mailpit automatically. + + +### Testing Mailpit + +Please refer to [the documentation](https://mailpit.axllent.org/docs/install/testing/) on how to easily test email delivery to Mailpit. + + +### Configuring sendmail + +Mailpit's SMTP server (default on port 1025), so you will likely need to configure your sending application to deliver mail via that port. +A common MTA (Mail Transfer Agent) that delivers system emails to an SMTP server is `sendmail`, used by many applications, including PHP. +Mailpit can also act as substitute for sendmail. For instructions on how to set this up, please refer to the [sendmail documentation](https://mailpit.axllent.org/docs/install/sendmail/). diff --git a/mailpit/mailpit.exe b/mailpit/mailpit.exe new file mode 100644 index 0000000..db3e5f8 Binary files /dev/null and b/mailpit/mailpit.exe differ diff --git a/package-lock.json b/package-lock.json index 4efa22a..29b769f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "Laravel-React-E-Commerce", + "name": "E-CommerceCore2", "lockfileVersion": 3, "requires": true, "packages": { @@ -19,15 +19,15 @@ "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@vitejs/plugin-react": "^4.2.0", - "autoprefixer": "^10.4.12", + "autoprefixer": "^10.4.21", "axios": "^1.8.2", "concurrently": "^9.0.1", "daisyui": "^5.0.9", "laravel-vite-plugin": "^1.2.0", - "postcss": "^8.4.31", + "postcss": "^8.5.6", "react": "^18.2.0", "react-dom": "^18.2.0", - "tailwindcss": "^3.2.1", + "tailwindcss": "^3.4.18", "typescript": "^5.0.2", "vite": "^6.0.11" } @@ -1813,6 +1813,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "browserslist": "^4.24.4", "caniuse-lite": "^1.0.30001702", @@ -1832,13 +1833,14 @@ } }, "node_modules/axios": { - "version": "1.8.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", - "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz", + "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==", "dev": true, + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", + "form-data": "^4.0.4", "proxy-from-env": "^1.1.0" } }, @@ -1861,10 +1863,11 @@ } }, "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -1952,9 +1955,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001707", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001707.tgz", - "integrity": "sha512-3qtRjw/HQSMlDWf+X79N206fepf4SOOU6SQLMaq/0KkZLmSjPxAkBOQQ+FxbHKfHmYLZFfdWsO3KA90ceHPSnw==", + "version": "1.0.30001741", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001741.tgz", + "integrity": "sha512-QGUGitqsc8ARjLdgAfxETDhRbJ0REsP6O3I96TAth/mVjh2cYzN2u+3AzPP3aVSm2FehEItaJw1xd+IGBXWeSw==", "dev": true, "funding": [ { @@ -1969,7 +1972,8 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chalk": { "version": "4.1.2", @@ -2450,14 +2454,16 @@ } }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "dev": true, + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -3337,9 +3343,9 @@ } }, "node_modules/postcss": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", - "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "dev": true, "funding": [ { @@ -3355,8 +3361,9 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "nanoid": "^3.3.8", + "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -3946,10 +3953,11 @@ "dev": true }, "node_modules/tailwindcss": { - "version": "3.4.17", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", - "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.18.tgz", + "integrity": "sha512-6A2rnmW5xZMdw11LYjhcI5846rt9pbLSabY5XPxo+XWdxwZaFEn47Go4NzFiHu9sNNmr/kXivP1vStfvMaK1GQ==", "dev": true, + "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -3959,7 +3967,7 @@ "fast-glob": "^3.3.2", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "jiti": "^1.21.6", + "jiti": "^1.21.7", "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", @@ -3968,7 +3976,7 @@ "postcss": "^8.4.47", "postcss-import": "^15.1.0", "postcss-js": "^4.0.1", - "postcss-load-config": "^4.0.2", + "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0", "postcss-nested": "^6.2.0", "postcss-selector-parser": "^6.1.2", "resolve": "^1.22.8", @@ -4021,6 +4029,54 @@ "node": ">=0.8" } }, + "node_modules/tinyglobby": { + "version": "0.2.14", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", + "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -4110,14 +4166,18 @@ "dev": true }, "node_modules/vite": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.2.3.tgz", - "integrity": "sha512-IzwM54g4y9JA/xAeBPNaDXiBF8Jsgl3VBQ2YQ/wOY6fyW3xMdSoltIV3Bo59DErdqdE6RxUfv8W69DvUorE4Eg==", + "version": "6.3.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.6.tgz", + "integrity": "sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==", "dev": true, + "license": "MIT", "dependencies": { "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", "postcss": "^8.5.3", - "rollup": "^4.30.1" + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" }, "bin": { "vite": "bin/vite.js" @@ -4190,6 +4250,37 @@ "picomatch": "^2.3.1" } }, + "node_modules/vite/node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index 7344d5e..a838952 100644 --- a/package.json +++ b/package.json @@ -14,15 +14,15 @@ "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@vitejs/plugin-react": "^4.2.0", - "autoprefixer": "^10.4.12", + "autoprefixer": "^10.4.21", "axios": "^1.8.2", "concurrently": "^9.0.1", "daisyui": "^5.0.9", "laravel-vite-plugin": "^1.2.0", - "postcss": "^8.4.31", + "postcss": "^8.5.6", "react": "^18.2.0", "react-dom": "^18.2.0", - "tailwindcss": "^3.2.1", + "tailwindcss": "^3.4.18", "typescript": "^5.0.2", "vite": "^6.0.11" }, diff --git a/public/build/assets/AuthenticatedLayout-BLEx6Kke.js b/public/build/assets/AuthenticatedLayout-BLEx6Kke.js new file mode 100644 index 0000000..affc8ac --- /dev/null +++ b/public/build/assets/AuthenticatedLayout-BLEx6Kke.js @@ -0,0 +1 @@ +import{K as d,j as e,$ as o,r as n,m as f}from"./app-B6E0w6L4.js";function w(){const{departments:r}=d().props;return e.jsx("div",{className:"navbar bg-base-100 border-t min-h-4",children:e.jsx("div",{className:"navbar-center hidden lg:flex",children:e.jsx("ul",{className:"menu menu-horizontal menu-dropdown dropdown-hover px-1 z-20 py-0",children:r.map(s=>e.jsx("li",{children:e.jsx(o,{href:route("product.byDepartment",s.slug),children:s.name})},s.id))})})})}function y({isMenuOpen:r,toggleMenu:s,user:t,closeMenu:a}){const c=n.useRef(null),i=n.useRef(null);return n.useEffect(()=>{function l(x){r&&c.current&&!c.current.contains(x.target)&&i.current&&!i.current.contains(x.target)&&a()}return document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}},[r,a]),e.jsxs(e.Fragment,{children:[e.jsx("button",{ref:i,onClick:s,className:"lg:hidden text-gray-600 hover:text-gray-900","aria-label":"Toggle menu",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),r&&e.jsxs("ul",{ref:c,className:"absolute top-16 left-0 z-40 w-52 bg-white border rounded-md shadow-lg p-2 space-y-2",children:[e.jsx("li",{children:e.jsx(o,{href:route("dashboard"),className:"block px-3 py-1 text-sm hover:text-orange-600",children:"Home"})}),e.jsx("li",{children:e.jsx(o,{href:route("shop"),className:"block px-3 py-1 text-sm hover:text-orange-600",children:"Shop"})}),e.jsx("li",{children:e.jsx(o,{href:"/about",className:"block px-3 py-1 text-sm hover:text-orange-600",children:"About"})}),e.jsx("li",{children:e.jsx(o,{href:"/contact",className:"block px-3 py-1 text-sm hover:text-orange-600",children:"Contact"})}),!t&&e.jsxs("li",{className:"flex flex-col space-y-2 border-t border-gray-200 pt-2",children:[e.jsx(o,{href:route("login"),className:"text-sm font-medium text-white bg-orange-600 hover:bg-orange-700 px-3 py-1.5 rounded-md",children:"Log in"}),e.jsx(o,{href:route("register"),className:"text-sm font-medium text-white bg-orange-600 hover:bg-orange-700 px-3 py-1.5 rounded-md",children:"Register"})]})]})]})}function N(){return e.jsx(o,{href:"/",className:"flex-shrink-0",children:e.jsx("img",{src:"/images/logo-ecommerce-removebg.jpg",alt:"{{config('app.name')}}",className:"h-8 w-auto"})})}function k(){const r=[{name:"Home",routeName:"dashboard"},{name:"Shop",routeName:"shop"},{name:"About",routeName:"about"},{name:"Contact",routeName:"contact"}];return e.jsx("div",{className:"hidden lg:flex lg:space-x-6 justify-center flex-1",children:r.map(({name:s,routeName:t})=>e.jsx(o,{href:route(t),className:"px-3 py-2 text-sm font-medium text-gray-700 hover:text-orange-600",children:s},t))})}function S({title:r,titleId:s,...t},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},t),r?n.createElement("title",{id:s},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const g=n.forwardRef(S);function M({title:r,titleId:s,...t},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},t),r?n.createElement("title",{id:s},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const L=n.forwardRef(M);function R(){const{keyword:r}=d().props,s=f({keyword:r||""}),{url:t}=d(),a=c=>{c.preventDefault(),s.get(t,{preserveScroll:!0,preserveState:!0})};return e.jsx("div",{className:"hidden lg:block max-w-md w-full",children:e.jsxs("form",{onSubmit:a,className:"flex",children:[e.jsx("input",{type:"text",value:s.data.keyword,onChange:c=>s.setData("keyword",c.target.value),className:"flex-1 px-4 py-2 border border-gray-300 rounded-l-md focus:ring-orange-500 focus:border-orange-500 text-sm",placeholder:"Search products..."}),e.jsx("button",{type:"submit",className:"px-3 py-2 bg-orange-600 text-white border border-l-0 border-orange-600 rounded-r-md hover:bg-orange-700 text-sm",children:e.jsx(g,{className:"h-4 w-4"})})]})})}function C(){const[r,s]=n.useState(!1),{keyword:t}=d().props,a=f({keyword:t||""}),{url:c}=d(),i=l=>{l.preventDefault(),a.get(c,{preserveScroll:!0,preserveState:!0})};return e.jsxs(e.Fragment,{children:[e.jsx("button",{className:"lg:hidden text-gray-600 hover:text-gray-900",onClick:()=>s(l=>!l),"aria-label":"Toggle mobile search",children:r?e.jsx(L,{className:"h-5 w-5"}):e.jsx(g,{className:"h-5 w-5"})}),r&&e.jsxs("form",{onSubmit:i,className:"absolute top-16 left-0 right-0 z-40 bg-white px-4 py-2 shadow-md flex items-center space-x-2",children:[e.jsx("input",{type:"text",autoFocus:!0,value:a.data.keyword,onChange:l=>a.setData("keyword",l.target.value),className:"flex-1 px-3 py-2 border border-gray-300 rounded-md focus:ring-orange-500 focus:border-orange-500 text-sm",placeholder:"Search products..."}),e.jsx("button",{type:"submit",className:"px-3 py-2 bg-orange-600 text-white rounded-md hover:bg-orange-700 text-sm",children:e.jsx(g,{className:"h-4 w-4"})})]})]})}function m({active:r=!1,className:s="",children:t,...a}){return e.jsx(o,{...a,className:`flex w-full items-start border-l-4 py-2 pe-4 ps-3 ${r?"border-orange-400 bg-orange-50 text-orange-700 focus:border-orange-700 focus:bg-orange-100 focus:text-orange-800 dark:border-orange-600 dark:bg-orange-900/50 dark:text-orange-300 dark:focus:border-orange-300 dark:focus:bg-orange-900 dark:focus:text-orange-200":"border-transparent text-gray-600 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-800 focus:border-gray-300 focus:bg-gray-50 focus:text-gray-800 dark:text-gray-400 dark:hover:border-gray-600 dark:hover:bg-gray-700 dark:hover:text-gray-200 dark:focus:border-gray-600 dark:focus:bg-gray-700 dark:focus:text-gray-200"} text-xs transition duration-150 ease-in-out focus:outline-none ${s}`,children:t})}function E({user:r}){return r?e.jsxs("div",{className:"dropdown dropdown-end",children:[e.jsx("div",{tabIndex:0,className:"btn btn-ghost btn-circle avatar",children:e.jsx("div",{className:"w-8 rounded-full ring ring-orange-600 ring-offset-1",children:e.jsx("img",{alt:"User avatar",src:"https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp"})})}),e.jsxs("ul",{tabIndex:0,className:"menu menu-sm dropdown-content bg-base-100 rounded-box z-50 mt-3 w-52 p-2 shadow",children:[e.jsx("li",{children:e.jsx(m,{href:route("profile.edit"),className:"justify-between",children:"Profile"})}),e.jsx("li",{children:e.jsx(m,{href:"",children:"Settings"})}),e.jsx("li",{children:e.jsx(m,{method:"post",href:route("logout"),as:"button",children:"Log Out"})})]})]}):e.jsxs("div",{className:"hidden lg:flex lg:items-center lg:space-x-3",children:[e.jsx(o,{href:route("login"),className:"btn btn-ghost btn-sm rounded-lg hover:bg-orange-700 hover:text-white",children:"Log in"}),e.jsx(o,{href:route("register"),className:"text-sm font-medium text-white bg-orange-600 hover:bg-orange-700 px-3 py-1.5 rounded-md",children:"Register"})]})}function p({amount:r,currency:s="PHP",locale:t="en-PH"}){return new Intl.NumberFormat(t,{style:"currency",currency:s}).format(r)}const P=(r,s)=>r.length!==s.length?!1:r.every((t,a)=>t===s[a]),b=r=>{const s=new URLSearchParams;return Object.entries(r.option_ids).forEach(([t,a])=>{s.append(`options[${t}]`,a+"")}),route("product.show",r.slug)+"?"+s.toString()};function D(){const{totalQuantity:r,totalPrice:s,miniCartItems:t}=d().props;return e.jsx("div",{children:e.jsxs("div",{className:"dropdown dropdown-end mr-5",children:[e.jsx("div",{tabIndex:0,role:"button",className:"btn btn-ghost btn-circle",children:e.jsxs("div",{className:"indicator",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})}),e.jsx("span",{className:"badge badge-sm indicator-item bg-orange-800 text-white",children:r})]})}),e.jsx("div",{tabIndex:0,className:"card card-compact dropdown-content bg-base-100 z-[1] mt-3 w-[480px] shadow",children:e.jsxs("div",{className:"card-body",children:[e.jsxs("span",{className:"text-lg font-bold",children:[r," Items"]}),e.jsxs("div",{className:"my-1 max-h-[300px] overflow-auto",children:[t.length===0&&e.jsx("div",{className:"py-2 text-gray-500 text-center",children:"You don't have any items yet."}),t.map(a=>e.jsxs("div",{className:"flex gap-3 p-3 border-b items-start",children:[e.jsx(o,{href:b(a),children:e.jsx("img",{src:a.image,alt:a.title,className:"w-16 h-16 object-contain rounded"})}),e.jsxs("div",{className:"flex flex-col flex-1",children:[e.jsx("h3",{className:"font-semibold text-sm mb-1",children:e.jsx(o,{href:b(a),children:a.title})}),e.jsxs("div",{className:"flex justify-between text-xs text-gray-600",children:[e.jsxs("span",{children:["Quantity: ",a.quantity]}),e.jsx("span",{children:e.jsx(p,{amount:a.quantity*a.price})})]})]})]},a.id))]}),e.jsxs("span",{className:"text-lg font-semibold",children:["Subtotal: ",e.jsx(p,{amount:s})]}),e.jsx("div",{className:"card-actions",children:e.jsx(o,{href:route("cart.index"),className:"btn bg-orange-800 text-white hover:bg-orange-700 btn-block",children:"View cart"})})]})})]})})}function z({user:r}){return e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(R,{}),e.jsx(C,{}),e.jsx(D,{}),e.jsx(E,{user:r})]})}function F(){const[r,s]=n.useState(!1),{auth:t}=d().props,{user:a}=t,c=()=>s(!1);return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"shadow-sm border-b border-gray-200 bg-white sticky top-0 z-50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"flex items-center justify-between h-16 relative",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(y,{isMenuOpen:r,toggleMenu:()=>s(!r),closeMenu:c,user:a}),e.jsx(N,{})]}),e.jsx(k,{}),e.jsx(z,{user:a})]})})}),e.jsx(w,{})]})}function A({header:r,children:s}){const t=d().props;t.auth.user;const[a,c]=n.useState(!1),[i,l]=n.useState([]),x=n.useRef({});return n.useEffect(()=>{if(t.success.message){const u={...t.success,id:t.success.time};l(h=>[u,...h]);const j=setTimeout(()=>{l(h=>h.filter(v=>v.id!==u.id)),delete x.current[u.id]},1e4);x.current[u.id]=j}},[t.success]),e.jsxs("div",{className:"min-h-screen bg-orange-100 dark:bg-orange-900",children:[e.jsx(F,{}),t.error&&e.jsx("div",{className:"container mx-auto px-8 mt-8",children:e.jsx("div",{className:"alert alert-error",children:t.error})}),i.length>0&&e.jsx("div",{className:"toast toast-top toast-end z-[1000] mt-16",children:i.map(u=>e.jsx("div",{className:"alert alert-success text-white",children:e.jsx("span",{children:u.message})},u.id))}),e.jsx("main",{children:s})]})}export{A,p as C,b as P,P as a}; diff --git a/public/build/assets/AuthenticatedLayout-W4SJNb0d.js b/public/build/assets/AuthenticatedLayout-W4SJNb0d.js deleted file mode 100644 index 97af4b4..0000000 --- a/public/build/assets/AuthenticatedLayout-W4SJNb0d.js +++ /dev/null @@ -1 +0,0 @@ -import{K as d,j as e,$ as o,r as a,m as f}from"./app-kJd0IbDP.js";function w(){const{departments:r}=d().props;return e.jsx("div",{className:"navbar bg-base-100 border-t min-h-4",children:e.jsx("div",{className:"navbar-center hidden lg:flex",children:e.jsx("ul",{className:"menu menu-horizontal menu-dropdown dropdown-hover px-1 z-20 py-0",children:r.map(s=>e.jsx("li",{children:e.jsx(o,{href:route("product.byDepartment",s.slug),children:s.name})},s.id))})})})}function y({isMenuOpen:r,toggleMenu:s,user:t,closeMenu:n}){const l=a.useRef(null),i=a.useRef(null);return a.useEffect(()=>{function c(h){r&&l.current&&!l.current.contains(h.target)&&i.current&&!i.current.contains(h.target)&&n()}return document.addEventListener("mousedown",c),()=>{document.removeEventListener("mousedown",c)}},[r,n]),e.jsxs(e.Fragment,{children:[e.jsx("button",{ref:i,onClick:s,className:"lg:hidden text-gray-600 hover:text-gray-900","aria-label":"Toggle menu",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),r&&e.jsxs("ul",{ref:l,className:"absolute top-16 left-0 z-40 w-52 bg-white border rounded-md shadow-lg p-2 space-y-2",children:[e.jsx("li",{children:e.jsx(o,{href:route("dashboard"),className:"block px-3 py-1 text-sm hover:text-purple-600",children:"Home"})}),e.jsx("li",{children:e.jsx(o,{href:route("shop"),className:"block px-3 py-1 text-sm hover:text-purple-600",children:"Shop"})}),e.jsx("li",{children:e.jsx(o,{href:"/about",className:"block px-3 py-1 text-sm hover:text-purple-600",children:"About"})}),e.jsx("li",{children:e.jsx(o,{href:"/contact",className:"block px-3 py-1 text-sm hover:text-purple-600",children:"Contact"})}),!t&&e.jsxs("li",{className:"flex flex-col space-y-2 border-t border-gray-200 pt-2",children:[e.jsx(o,{href:route("login"),className:"btn btn-ghost btn-sm rounded-lg hover:bg-purple-700 hover:text-white",children:"Log in"}),e.jsx(o,{href:route("register"),className:"text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 px-3 py-1.5 rounded-md",children:"Register"})]})]})]})}function N(){return e.jsx(o,{href:"/",className:"flex-shrink-0",children:e.jsx("img",{src:"/images/logo-karthive-removebg.jpg",alt:"Karthive",className:"h-8 w-auto"})})}function k(){const r=[{name:"Home",routeName:"dashboard"},{name:"Shop",routeName:"shop"},{name:"About",routeName:"about"},{name:"Contact",routeName:"contact"}];return e.jsx("div",{className:"hidden lg:flex lg:space-x-6 justify-center flex-1",children:r.map(({name:s,routeName:t})=>e.jsx(o,{href:route(t),className:"px-3 py-2 text-sm font-medium text-gray-700 hover:text-purple-600",children:s},t))})}function S({title:r,titleId:s,...t},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},t),r?a.createElement("title",{id:s},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}const p=a.forwardRef(S);function M({title:r,titleId:s,...t},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":s},t),r?a.createElement("title",{id:s},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const L=a.forwardRef(M);function R(){const{keyword:r}=d().props,s=f({keyword:r||""}),{url:t}=d(),n=l=>{l.preventDefault(),s.get(t,{preserveScroll:!0,preserveState:!0})};return e.jsx("div",{className:"hidden lg:block max-w-md w-full",children:e.jsxs("form",{onSubmit:n,className:"flex",children:[e.jsx("input",{type:"text",value:s.data.keyword,onChange:l=>s.setData("keyword",l.target.value),className:"flex-1 px-4 py-2 border border-gray-300 rounded-l-md focus:ring-purple-500 focus:border-purple-500 text-sm",placeholder:"Search products..."}),e.jsx("button",{type:"submit",className:"px-3 py-2 bg-purple-600 text-white border border-l-0 border-purple-600 rounded-r-md hover:bg-purple-700 text-sm",children:e.jsx(p,{className:"h-4 w-4"})})]})})}function C(){const[r,s]=a.useState(!1),{keyword:t}=d().props,n=f({keyword:t||""}),{url:l}=d(),i=c=>{c.preventDefault(),n.get(l,{preserveScroll:!0,preserveState:!0})};return e.jsxs(e.Fragment,{children:[e.jsx("button",{className:"lg:hidden text-gray-600 hover:text-gray-900",onClick:()=>s(c=>!c),"aria-label":"Toggle mobile search",children:r?e.jsx(L,{className:"h-5 w-5"}):e.jsx(p,{className:"h-5 w-5"})}),r&&e.jsxs("form",{onSubmit:i,className:"absolute top-16 left-0 right-0 z-40 bg-white px-4 py-2 shadow-md flex items-center space-x-2",children:[e.jsx("input",{type:"text",autoFocus:!0,value:n.data.keyword,onChange:c=>n.setData("keyword",c.target.value),className:"flex-1 px-3 py-2 border border-gray-300 rounded-md focus:ring-purple-500 focus:border-purple-500 text-sm",placeholder:"Search products..."}),e.jsx("button",{type:"submit",className:"px-3 py-2 bg-purple-600 text-white rounded-md hover:bg-purple-700 text-sm",children:e.jsx(p,{className:"h-4 w-4"})})]})]})}function m({active:r=!1,className:s="",children:t,...n}){return e.jsx(o,{...n,className:`flex w-full items-start border-l-4 py-2 pe-4 ps-3 ${r?"border-indigo-400 bg-indigo-50 text-indigo-700 focus:border-indigo-700 focus:bg-indigo-100 focus:text-indigo-800 dark:border-indigo-600 dark:bg-indigo-900/50 dark:text-indigo-300 dark:focus:border-indigo-300 dark:focus:bg-indigo-900 dark:focus:text-indigo-200":"border-transparent text-gray-600 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-800 focus:border-gray-300 focus:bg-gray-50 focus:text-gray-800 dark:text-gray-400 dark:hover:border-gray-600 dark:hover:bg-gray-700 dark:hover:text-gray-200 dark:focus:border-gray-600 dark:focus:bg-gray-700 dark:focus:text-gray-200"} text-xs transition duration-150 ease-in-out focus:outline-none ${s}`,children:t})}function E({user:r}){return r?e.jsxs("div",{className:"dropdown dropdown-end",children:[e.jsx("div",{tabIndex:0,className:"btn btn-ghost btn-circle avatar",children:e.jsx("div",{className:"w-8 rounded-full ring ring-purple-600 ring-offset-1",children:e.jsx("img",{alt:"User avatar",src:"https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp"})})}),e.jsxs("ul",{tabIndex:0,className:"menu menu-sm dropdown-content bg-base-100 rounded-box z-50 mt-3 w-52 p-2 shadow",children:[e.jsx("li",{children:e.jsx(m,{href:route("profile.edit"),className:"justify-between",children:"Profile"})}),e.jsx("li",{children:e.jsx(m,{href:"",children:"Settings"})}),e.jsx("li",{children:e.jsx(m,{method:"post",href:route("logout"),as:"button",children:"Log Out"})})]})]}):e.jsxs("div",{className:"hidden lg:flex lg:items-center lg:space-x-3",children:[e.jsx(o,{href:route("login"),className:"btn btn-ghost btn-sm rounded-lg hover:bg-purple-700 hover:text-white",children:"Log in"}),e.jsx(o,{href:route("register"),className:"text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 px-3 py-1.5 rounded-md",children:"Register"})]})}function g({amount:r,currency:s="USD",locale:t="en-US"}){return new Intl.NumberFormat(t,{style:"currency",currency:s}).format(r)}const A=(r,s)=>r.length!==s.length?!1:r.every((t,n)=>t===s[n]),b=r=>{const s=new URLSearchParams;return Object.entries(r.option_ids).forEach(([t,n])=>{s.append(`options[${t}]`,n+"")}),route("product.show",r.slug)+"?"+s.toString()};function D(){const{totalQuantity:r,totalPrice:s,miniCartItems:t}=d().props;return e.jsx("div",{children:e.jsxs("div",{className:"dropdown dropdown-end mr-5",children:[e.jsx("div",{tabIndex:0,role:"button",className:"btn btn-ghost btn-circle",children:e.jsxs("div",{className:"indicator",children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})}),e.jsx("span",{className:"badge badge-sm indicator-item bg-purple-800 text-white",children:r})]})}),e.jsx("div",{tabIndex:0,className:"card card-compact dropdown-content bg-base-100 z-[1] mt-3 w-[480px] shadow",children:e.jsxs("div",{className:"card-body",children:[e.jsxs("span",{className:"text-lg font-bold",children:[r," Items"]}),e.jsxs("div",{className:"my-1 max-h-[300px] overflow-auto",children:[t.length===0&&e.jsx("div",{className:"py-2 text-gray-500 text-center",children:"You don't have any items yet."}),t.map(n=>e.jsxs("div",{className:"flex gap-3 p-3 border-b items-start",children:[e.jsx(o,{href:b(n),children:e.jsx("img",{src:n.image,alt:n.title,className:"w-16 h-16 object-contain rounded"})}),e.jsxs("div",{className:"flex flex-col flex-1",children:[e.jsx("h3",{className:"font-semibold text-sm mb-1",children:e.jsx(o,{href:b(n),children:n.title})}),e.jsxs("div",{className:"flex justify-between text-xs text-gray-600",children:[e.jsxs("span",{children:["Quantity: ",n.quantity]}),e.jsx("span",{children:e.jsx(g,{amount:n.quantity*n.price})})]})]})]},n.id))]}),e.jsxs("span",{className:"text-lg font-semibold",children:["Subtotal: ",e.jsx(g,{amount:s})]}),e.jsx("div",{className:"card-actions",children:e.jsx(o,{href:route("cart.index"),className:"btn bg-purple-800 text-white hover:bg-purple-700 btn-block",children:"View cart"})})]})})]})})}function z({user:r}){return e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(R,{}),e.jsx(C,{}),e.jsx(D,{}),e.jsx(E,{user:r})]})}function F(){const[r,s]=a.useState(!1),{auth:t}=d().props,{user:n}=t,l=()=>s(!1);return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"shadow-sm border-b border-gray-200 bg-white sticky top-0 z-50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"flex items-center justify-between h-16 relative",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(y,{isMenuOpen:r,toggleMenu:()=>s(!r),closeMenu:l,user:n}),e.jsx(N,{})]}),e.jsx(k,{}),e.jsx(z,{user:n})]})})}),e.jsx(w,{})]})}function B({header:r,children:s}){const t=d().props;t.auth.user;const[n,l]=a.useState(!1),[i,c]=a.useState([]),h=a.useRef({});return a.useEffect(()=>{if(t.success.message){const u={...t.success,id:t.success.time};c(x=>[u,...x]);const j=setTimeout(()=>{c(x=>x.filter(v=>v.id!==u.id)),delete h.current[u.id]},1e4);h.current[u.id]=j}},[t.success]),e.jsxs("div",{className:"min-h-screen bg-gray-100 dark:bg-gray-900",children:[e.jsx(F,{}),t.error&&e.jsx("div",{className:"container mx-auto px-8 mt-8",children:e.jsx("div",{className:"alert alert-error",children:t.error})}),i.length>0&&e.jsx("div",{className:"toast toast-top toast-end z-[1000] mt-16",children:i.map(u=>e.jsx("div",{className:"alert alert-success text-white",children:e.jsx("span",{children:u.message})},u.id))}),e.jsx("main",{children:s})]})}export{B as A,g as C,b as P,A as a}; diff --git a/public/build/assets/ConfirmPassword-DgUrP8YZ.js b/public/build/assets/ConfirmPassword-BJKefs1w.js similarity index 72% rename from public/build/assets/ConfirmPassword-DgUrP8YZ.js rename to public/build/assets/ConfirmPassword-BJKefs1w.js index c10339f..4386829 100644 --- a/public/build/assets/ConfirmPassword-DgUrP8YZ.js +++ b/public/build/assets/ConfirmPassword-BJKefs1w.js @@ -1 +1 @@ -import{m as d,j as s,L as p}from"./app-kJd0IbDP.js";import{I as l}from"./InputError-Bj0LQZBM.js";import{I as c}from"./InputLabel-BDH987uX.js";import{P as u}from"./PrimaryButton-BVnvhlTS.js";import{T as f}from"./TextInput-2Zxn4f6N.js";import{G as x}from"./GuestLayout-DGrv1UVs.js";function y(){const{data:a,setData:e,post:o,processing:t,errors:m,reset:i}=d({password:""}),n=r=>{r.preventDefault(),o(route("password.confirm"),{onFinish:()=>i("password")})};return s.jsxs(x,{children:[s.jsx(p,{title:"Confirm Password"}),s.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"This is a secure area of the application. Please confirm your password before continuing."}),s.jsxs("form",{onSubmit:n,children:[s.jsxs("div",{className:"mt-4",children:[s.jsx(c,{htmlFor:"password",value:"Password"}),s.jsx(f,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",isFocused:!0,onChange:r=>e("password",r.target.value)}),s.jsx(l,{message:m.password,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(u,{className:"ms-4",disabled:t,children:"Confirm"})})]})]})}export{y as default}; +import{m as d,j as s,L as p}from"./app-B6E0w6L4.js";import{I as l}from"./InputError-BK-bpf-Z.js";import{I as c}from"./InputLabel-D3zgZD4-.js";import{P as u}from"./PrimaryButton-Cl-9UxbA.js";import{T as f}from"./TextInput-CzFtGuNa.js";import{G as x}from"./GuestLayout-ZGVtllzz.js";function y(){const{data:a,setData:e,post:o,processing:t,errors:m,reset:i}=d({password:""}),n=r=>{r.preventDefault(),o(route("password.confirm"),{onFinish:()=>i("password")})};return s.jsxs(x,{children:[s.jsx(p,{title:"Confirm Password"}),s.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"This is a secure area of the application. Please confirm your password before continuing."}),s.jsxs("form",{onSubmit:n,children:[s.jsxs("div",{className:"mt-4",children:[s.jsx(c,{htmlFor:"password",value:"Password"}),s.jsx(f,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",isFocused:!0,onChange:r=>e("password",r.target.value)}),s.jsx(l,{message:m.password,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(u,{className:"ms-4",disabled:t,children:"Confirm"})})]})]})}export{y as default}; diff --git a/public/build/assets/Dashboard-C9YE3Avj.js b/public/build/assets/Dashboard-IGlOdbv9.js similarity index 79% rename from public/build/assets/Dashboard-C9YE3Avj.js rename to public/build/assets/Dashboard-IGlOdbv9.js index d614726..77bb008 100644 --- a/public/build/assets/Dashboard-C9YE3Avj.js +++ b/public/build/assets/Dashboard-IGlOdbv9.js @@ -1 +1 @@ -import{j as a,L as e}from"./app-kJd0IbDP.js";import{A as s}from"./AuthenticatedLayout-W4SJNb0d.js";function d(){return a.jsxs(s,{header:a.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200",children:"Dashboard"}),children:[a.jsx(e,{title:"Dashboard"}),a.jsx("div",{className:"py-12",children:a.jsx("div",{className:"mx-auto max-w-7xl sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-hidden bg-white shadow-sm sm:rounded-lg dark:bg-gray-800",children:a.jsx("div",{className:"p-6 text-gray-900 dark:text-gray-100",children:"You're logged in!"})})})})]})}export{d as default}; +import{j as a,L as e}from"./app-B6E0w6L4.js";import{A as s}from"./AuthenticatedLayout-BLEx6Kke.js";function d(){return a.jsxs(s,{header:a.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200",children:"Dashboard"}),children:[a.jsx(e,{title:"Dashboard"}),a.jsx("div",{className:"py-12",children:a.jsx("div",{className:"mx-auto max-w-7xl sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-hidden bg-white shadow-sm sm:rounded-lg dark:bg-gray-800",children:a.jsx("div",{className:"p-6 text-gray-900 dark:text-gray-100",children:"You're logged in!"})})})})]})}export{d as default}; diff --git a/public/build/assets/DeleteUserForm-Bjx0lrqS.js b/public/build/assets/DeleteUserForm-ClEwrIf0.js similarity index 87% rename from public/build/assets/DeleteUserForm-Bjx0lrqS.js rename to public/build/assets/DeleteUserForm-ClEwrIf0.js index 2611bd7..ec93960 100644 --- a/public/build/assets/DeleteUserForm-Bjx0lrqS.js +++ b/public/build/assets/DeleteUserForm-ClEwrIf0.js @@ -1 +1 @@ -import{j as e,r as d,m as w}from"./app-kJd0IbDP.js";import{I as j}from"./InputError-Bj0LQZBM.js";import{I as N}from"./InputLabel-BDH987uX.js";import{M as b,S as k}from"./SecondaryButton-DV5_lPRn.js";import{T as D}from"./TextInput-2Zxn4f6N.js";import"./transition-BXkMYQ9e.js";function i({className:o="",disabled:s,children:t,...r}){return e.jsx("button",{...r,className:`inline-flex items-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-xs font-semibold uppercase tracking-widest text-white transition duration-150 ease-in-out hover:bg-red-500 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 active:bg-red-700 dark:focus:ring-offset-gray-800 ${s&&"opacity-25"} `+o,disabled:s,children:t})}function A({className:o=""}){const[s,t]=d.useState(!1),r=d.useRef(null),{data:u,setData:m,delete:p,processing:x,reset:l,errors:f,clearErrors:y}=w({password:""}),g=()=>{t(!0)},h=n=>{n.preventDefault(),p(route("profile.destroy"),{preserveScroll:!0,onSuccess:()=>a(),onError:()=>{var c;return(c=r.current)==null?void 0:c.focus()},onFinish:()=>l()})},a=()=>{t(!1),y(),l()};return e.jsxs("section",{className:`space-y-6 ${o}`,children:[e.jsxs("header",{children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Delete Account"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain."})]}),e.jsx(i,{onClick:g,children:"Delete Account"}),e.jsx(b,{show:s,onClose:a,children:e.jsxs("form",{onSubmit:h,className:"p-6",children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Are you sure you want to delete your account?"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account."}),e.jsxs("div",{className:"mt-6",children:[e.jsx(N,{htmlFor:"password",value:"Password",className:"sr-only"}),e.jsx(D,{id:"password",type:"password",name:"password",ref:r,value:u.password,onChange:n=>m("password",n.target.value),className:"mt-1 block w-3/4",isFocused:!0,placeholder:"Password"}),e.jsx(j,{message:f.password,className:"mt-2"})]}),e.jsxs("div",{className:"mt-6 flex justify-end",children:[e.jsx(k,{onClick:a,children:"Cancel"}),e.jsx(i,{className:"ms-3",disabled:x,children:"Delete Account"})]})]})})]})}export{A as default}; +import{j as e,r as d,m as w}from"./app-B6E0w6L4.js";import{I as j}from"./InputError-BK-bpf-Z.js";import{I as N}from"./InputLabel-D3zgZD4-.js";import{M as b,S as k}from"./SecondaryButton-DxY62z5E.js";import{T as D}from"./TextInput-CzFtGuNa.js";import"./transition-CJNCwF2T.js";function i({className:o="",disabled:s,children:t,...r}){return e.jsx("button",{...r,className:`inline-flex items-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-xs font-semibold uppercase tracking-widest text-white transition duration-150 ease-in-out hover:bg-red-500 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 active:bg-red-700 dark:focus:ring-offset-gray-800 ${s&&"opacity-25"} `+o,disabled:s,children:t})}function A({className:o=""}){const[s,t]=d.useState(!1),r=d.useRef(null),{data:u,setData:m,delete:p,processing:x,reset:l,errors:f,clearErrors:y}=w({password:""}),g=()=>{t(!0)},h=n=>{n.preventDefault(),p(route("profile.destroy"),{preserveScroll:!0,onSuccess:()=>a(),onError:()=>{var c;return(c=r.current)==null?void 0:c.focus()},onFinish:()=>l()})},a=()=>{t(!1),y(),l()};return e.jsxs("section",{className:`space-y-6 ${o}`,children:[e.jsxs("header",{children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Delete Account"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain."})]}),e.jsx(i,{onClick:g,children:"Delete Account"}),e.jsx(b,{show:s,onClose:a,children:e.jsxs("form",{onSubmit:h,className:"p-6",children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Are you sure you want to delete your account?"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account."}),e.jsxs("div",{className:"mt-6",children:[e.jsx(N,{htmlFor:"password",value:"Password",className:"sr-only"}),e.jsx(D,{id:"password",type:"password",name:"password",ref:r,value:u.password,onChange:n=>m("password",n.target.value),className:"mt-1 block w-3/4",isFocused:!0,placeholder:"Password"}),e.jsx(j,{message:f.password,className:"mt-2"})]}),e.jsxs("div",{className:"mt-6 flex justify-end",children:[e.jsx(k,{onClick:a,children:"Cancel"}),e.jsx(i,{className:"ms-3",disabled:x,children:"Delete Account"})]})]})})]})}export{A as default}; diff --git a/public/build/assets/Edit-DgVBTl9e.js b/public/build/assets/Edit-RX-sAnJB.js similarity index 64% rename from public/build/assets/Edit-DgVBTl9e.js rename to public/build/assets/Edit-RX-sAnJB.js index c568c9c..749e6ee 100644 --- a/public/build/assets/Edit-DgVBTl9e.js +++ b/public/build/assets/Edit-RX-sAnJB.js @@ -1 +1 @@ -import{j as s,L as e}from"./app-kJd0IbDP.js";import{A as i}from"./AuthenticatedLayout-W4SJNb0d.js";import m from"./DeleteUserForm-Bjx0lrqS.js";import d from"./UpdatePasswordForm-C3ug_JPj.js";import o from"./UpdateProfileInformationForm-D0A1aBaG.js";import t from"./VendorDetails-ErwMJ8Pk.js";import"./InputError-Bj0LQZBM.js";import"./InputLabel-BDH987uX.js";import"./SecondaryButton-DV5_lPRn.js";import"./transition-BXkMYQ9e.js";import"./TextInput-2Zxn4f6N.js";import"./PrimaryButton-BVnvhlTS.js";function b({mustVerifyEmail:a,status:r}){return s.jsxs(i,{header:s.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200",children:"Profile"}),children:[s.jsx(e,{title:"Profile"}),"̥",s.jsx("div",{className:"py-8",children:s.jsxs("div",{className:"mx-auto max-w-7xl grid grid-cols-1 md:grid-cols-3 gap-4 p-4",children:[s.jsxs("div",{className:"space-y-6 col-span-2",children:[s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(o,{mustVerifyEmail:a,status:r,className:"max-w-xl"})}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(d,{className:"max-w-xl"})}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(m,{className:"max-w-xl"})})]}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(t,{})})]})})]})}export{b as default}; +import{j as s,L as e}from"./app-B6E0w6L4.js";import{A as i}from"./AuthenticatedLayout-BLEx6Kke.js";import m from"./DeleteUserForm-ClEwrIf0.js";import d from"./UpdatePasswordForm-D8WTbvGV.js";import o from"./UpdateProfileInformationForm-CyL58q6Z.js";import t from"./VendorDetails-_O7S3r4M.js";import"./InputError-BK-bpf-Z.js";import"./InputLabel-D3zgZD4-.js";import"./SecondaryButton-DxY62z5E.js";import"./transition-CJNCwF2T.js";import"./TextInput-CzFtGuNa.js";import"./PrimaryButton-Cl-9UxbA.js";function b({mustVerifyEmail:a,status:r}){return s.jsxs(i,{header:s.jsx("h2",{className:"text-xl font-semibold leading-tight text-gray-800 dark:text-gray-200",children:"Profile"}),children:[s.jsx(e,{title:"Profile"}),"̥",s.jsx("div",{className:"py-8",children:s.jsxs("div",{className:"mx-auto max-w-7xl grid grid-cols-1 md:grid-cols-3 gap-4 p-4",children:[s.jsxs("div",{className:"space-y-6 col-span-2",children:[s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(o,{mustVerifyEmail:a,status:r,className:"max-w-xl"})}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(d,{className:"max-w-xl"})}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(m,{className:"max-w-xl"})})]}),s.jsx("div",{className:"bg-white p-4 shadow sm:rounded-lg sm:p-8 dark:bg-gray-800",children:s.jsx(t,{})})]})})]})}export{b as default}; diff --git a/public/build/assets/Failure-BeRD8VCK.js b/public/build/assets/Failure-DoDaTNaI.js similarity index 75% rename from public/build/assets/Failure-BeRD8VCK.js rename to public/build/assets/Failure-DoDaTNaI.js index bf16b04..e7def22 100644 --- a/public/build/assets/Failure-BeRD8VCK.js +++ b/public/build/assets/Failure-DoDaTNaI.js @@ -1 +1 @@ -import{r as t,j as e,L as i,$ as a}from"./app-kJd0IbDP.js";import{A as o}from"./AuthenticatedLayout-W4SJNb0d.js";function d({title:s,titleId:r,...l},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},l),s?t.createElement("title",{id:r},s):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const c=t.forwardRef(d);function u(){return e.jsxs(o,{children:[e.jsx(i,{title:"Payment Failed"}),e.jsxs("div",{className:"w-[480px] mx-auto py-12",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"text-red-600",children:e.jsx(c,{className:"size-24"})}),e.jsx("div",{className:"text-3xl font-semibold mt-4",children:"Payment Failed"}),e.jsx("p",{className:"text-gray-600 mt-2 text-center",children:"Something went wrong during your payment process. Your payment was not completed."})]}),e.jsxs("div",{className:"mt-8 bg-white dark:bg-gray-800 p-6 rounded-lg shadow",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"What you can do"}),e.jsxs("ul",{className:"list-disc pl-5 space-y-2 text-gray-700 dark:text-gray-300",children:[e.jsx("li",{children:"Ensure your card details are correct."}),e.jsx("li",{children:"Try using a different payment method."}),e.jsx("li",{children:"Contact your bank if the issue persists."})]}),e.jsxs("div",{className:"flex justify-between mt-6",children:[e.jsx(a,{href:route("shop"),className:"btn bg-purple-800 hover:bg-purple-700 text-white rounded-full",children:"Back to Shop"}),e.jsx(a,{href:route("dashboard"),className:"btn btn-outline rounded-full",children:"Go to Dashboard"})]})]})]})]})}export{u as default}; +import{r as t,j as e,L as o,$ as a}from"./app-B6E0w6L4.js";import{A as i}from"./AuthenticatedLayout-BLEx6Kke.js";function d({title:s,titleId:r,...n},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},n),s?t.createElement("title",{id:r},s):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const c=t.forwardRef(d);function h(){return e.jsxs(i,{children:[e.jsx(o,{title:"Payment Failed"}),e.jsxs("div",{className:"w-[480px] mx-auto py-12",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("div",{className:"text-red-600",children:e.jsx(c,{className:"size-24"})}),e.jsx("div",{className:"text-3xl font-semibold mt-4",children:"Payment Failed"}),e.jsx("p",{className:"text-gray-600 mt-2 text-center",children:"Something went wrong during your payment process. Your payment was not completed."})]}),e.jsxs("div",{className:"mt-8 bg-white dark:bg-gray-800 p-6 rounded-lg shadow",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"What you can do"}),e.jsxs("ul",{className:"list-disc pl-5 space-y-2 text-gray-700 dark:text-gray-300",children:[e.jsx("li",{children:"Ensure your card details are correct."}),e.jsx("li",{children:"Try using a different payment method."}),e.jsx("li",{children:"Contact your bank if the issue persists."})]}),e.jsxs("div",{className:"flex justify-between mt-6",children:[e.jsx(a,{href:route("shop"),className:"btn bg-orange-800 hover:bg-orange-700 text-white rounded-full",children:"Back to Shop"}),e.jsx(a,{href:route("dashboard"),className:"btn btn-outline rounded-full",children:"Go to Dashboard"})]})]})]})]})}export{h as default}; diff --git a/public/build/assets/ForgotPassword-CjAqECjj.js b/public/build/assets/ForgotPassword-BeWfe9li.js similarity index 78% rename from public/build/assets/ForgotPassword-CjAqECjj.js rename to public/build/assets/ForgotPassword-BeWfe9li.js index 4a25c11..9ad04f4 100644 --- a/public/build/assets/ForgotPassword-CjAqECjj.js +++ b/public/build/assets/ForgotPassword-BeWfe9li.js @@ -1 +1 @@ -import{m as n,j as e,L as d}from"./app-kJd0IbDP.js";import{I as u}from"./InputError-Bj0LQZBM.js";import{P as c}from"./PrimaryButton-BVnvhlTS.js";import{T as x}from"./TextInput-2Zxn4f6N.js";import{G as p}from"./GuestLayout-DGrv1UVs.js";function y({status:t}){const{data:a,setData:r,post:o,processing:m,errors:i}=n({email:""}),l=s=>{s.preventDefault(),o(route("password.email"))};return e.jsxs(p,{children:[e.jsx(d,{title:"Forgot Password"}),e.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one."}),t&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600 dark:text-green-400",children:t}),e.jsxs("form",{onSubmit:l,children:[e.jsx(x,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:s=>r("email",s.target.value)}),e.jsx(u,{message:i.email,className:"mt-2"}),e.jsx("div",{className:"mt-4 flex items-center justify-end",children:e.jsx(c,{className:"ms-4",disabled:m,children:"Email Password Reset Link"})})]})]})}export{y as default}; +import{m as n,j as e,L as d}from"./app-B6E0w6L4.js";import{I as u}from"./InputError-BK-bpf-Z.js";import{P as c}from"./PrimaryButton-Cl-9UxbA.js";import{T as x}from"./TextInput-CzFtGuNa.js";import{G as p}from"./GuestLayout-ZGVtllzz.js";function y({status:t}){const{data:a,setData:r,post:o,processing:m,errors:i}=n({email:""}),l=s=>{s.preventDefault(),o(route("password.email"))};return e.jsxs(p,{children:[e.jsx(d,{title:"Forgot Password"}),e.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one."}),t&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600 dark:text-green-400",children:t}),e.jsxs("form",{onSubmit:l,children:[e.jsx(x,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:s=>r("email",s.target.value)}),e.jsx(u,{message:i.email,className:"mt-2"}),e.jsx("div",{className:"mt-4 flex items-center justify-end",children:e.jsx(c,{className:"ms-4",disabled:m,children:"Email Password Reset Link"})})]})]})}export{y as default}; diff --git a/public/build/assets/GuestLayout-DGrv1UVs.js b/public/build/assets/GuestLayout-ZGVtllzz.js similarity index 90% rename from public/build/assets/GuestLayout-DGrv1UVs.js rename to public/build/assets/GuestLayout-ZGVtllzz.js index 84c42bf..213d974 100644 --- a/public/build/assets/GuestLayout-DGrv1UVs.js +++ b/public/build/assets/GuestLayout-ZGVtllzz.js @@ -1 +1 @@ -import{j as C,$ as s}from"./app-kJd0IbDP.js";function e(L){return C.jsx("svg",{...L,viewBox:"0 0 316 316",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{d:"M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z"})})}function t({children:L}){return C.jsxs("div",{className:"flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0 dark:bg-gray-900",children:[C.jsx("div",{children:C.jsx(s,{href:"/",children:C.jsx(e,{className:"h-20 w-20 fill-current text-gray-500"})})}),C.jsx("div",{className:"mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg dark:bg-gray-800",children:L})]})}export{t as G}; +import{j as C,$ as e}from"./app-B6E0w6L4.js";function s(L){return C.jsx("svg",{...L,viewBox:"0 0 316 316",xmlns:"http://www.w3.org/2000/svg",children:C.jsx("path",{d:"M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z"})})}function t({children:L}){return C.jsxs("div",{className:"flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0 dark:bg-gray-900",children:[C.jsx("div",{children:C.jsx(e,{href:"/",children:C.jsx(s,{className:"h-20 w-20 fill-current text-gray-500"})})}),C.jsx("div",{className:"mt-6 w-full overflow-hidden bg-orange px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg dark:bg-orange-800",children:L})]})}export{t as G}; diff --git a/public/build/assets/Home-D4BA1ao3.js b/public/build/assets/Home-D4BA1ao3.js new file mode 100644 index 0000000..70db1b3 --- /dev/null +++ b/public/build/assets/Home-D4BA1ao3.js @@ -0,0 +1 @@ +import{j as e,L as t}from"./app-B6E0w6L4.js";import{P as o}from"./ProductItem-DnYtUqCr.js";import{A as a}from"./AuthenticatedLayout-BLEx6Kke.js";import"./iconBase-DdwgI4CQ.js";function m({products:r}){return e.jsxs(a,{children:[e.jsx(t,{title:"Home"}),e.jsx("div",{className:"hero bg-orange-200 h-[300px]",children:e.jsx("div",{className:"hero-content text-center",children:e.jsxs("div",{className:"max-w-md",children:[e.jsx("h1",{className:"text-5xl font-bold",children:"Welcome to E-Commerce Core 2"}),e.jsx("p",{className:"py-6",children:"Get 50% off on your first purchase! Explore our wide range of products and enjoy exclusive deals."}),e.jsx("button",{className:"btn btn-primary",children:"Get Started"})]})})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6 p-8",children:r.data.map(s=>e.jsx(o,{product:s},s.id))})]})}export{m as default}; diff --git a/public/build/assets/Home-OhMdNZei.js b/public/build/assets/Home-OhMdNZei.js deleted file mode 100644 index e0a643e..0000000 --- a/public/build/assets/Home-OhMdNZei.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,L as i}from"./app-kJd0IbDP.js";import{P as s}from"./ProductItem-BWjSD-RP.js";import{A as r}from"./AuthenticatedLayout-W4SJNb0d.js";import"./iconBase-Brf-aoCc.js";function o({products:a}){return e.jsxs(r,{children:[e.jsx(i,{title:"Home"}),e.jsx("div",{className:"hero bg-gray-200 h-[300px]",children:e.jsx("div",{className:"hero-content text-center",children:e.jsxs("div",{className:"max-w-md",children:[e.jsx("h1",{className:"text-5xl font-bold",children:"Hello there"}),e.jsx("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e.jsx("button",{className:"btn btn-primary",children:"Get Started"})]})})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6 p-8",children:a.data.map(t=>e.jsx(s,{product:t},t.id))})]})}export{o as default}; diff --git a/public/build/assets/Index-Btro4ScU.js b/public/build/assets/Index-DvMMcpNN.js similarity index 60% rename from public/build/assets/Index-Btro4ScU.js rename to public/build/assets/Index-DvMMcpNN.js index ed4ff61..dd4c8e8 100644 --- a/public/build/assets/Index-Btro4ScU.js +++ b/public/build/assets/Index-DvMMcpNN.js @@ -1 +1 @@ -import{j as e,L as i}from"./app-kJd0IbDP.js";import{P as r}from"./ProductItem-BWjSD-RP.js";import{P as o}from"./Pagination-Cc2qlCXO.js";import{A as l}from"./AuthenticatedLayout-W4SJNb0d.js";import"./iconBase-Brf-aoCc.js";function g({appName:n,department:t,products:a}){return e.jsxs(l,{children:[e.jsxs(i,{children:[e.jsx("title",{children:t.name}),e.jsx("meta",{name:"title",content:t.meta_title}),e.jsx("meta",{name:"description",content:t.meta_description}),e.jsx("link",{rel:"canonical",href:route("product.byDepartment",t.slug)}),e.jsx("meta",{property:"og:title",content:t.name}),e.jsx("meta",{property:"og:description",content:t.meta_description}),e.jsx("meta",{property:"og:url",content:route("product.byDepartment",t.slug)}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:n})]}),e.jsx("div",{className:"container mx-auto",children:e.jsx("div",{className:"hero bg-base-200 min-h-[120px]",children:e.jsx("div",{className:"hero-content text-center",children:e.jsx("div",{className:"max-w-lg",children:e.jsx("h1",{className:"text-5xl font-bold",children:t.name})})})})}),a.data.length===0&&e.jsx("div",{className:"py-16 px-8 text-center text-gray-300 text-3xl",children:"No products found"}),e.jsx("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 p-8",children:a.data.map(s=>e.jsx(r,{product:s},s.id))}),e.jsx(o,{links:a.links,currentPage:a.meta.current_page,lastPage:a.meta.last_page})]})}export{g as default}; +import{j as e,L as i}from"./app-B6E0w6L4.js";import{P as o}from"./ProductItem-DnYtUqCr.js";import{P as r}from"./Pagination-C3ZWC7TT.js";import{A as l}from"./AuthenticatedLayout-BLEx6Kke.js";import"./iconBase-DdwgI4CQ.js";function j({appName:n,department:t,products:a}){return e.jsxs(l,{children:[e.jsxs(i,{children:[e.jsx("title",{children:t.name}),e.jsx("meta",{name:"title",content:t.meta_title}),e.jsx("meta",{name:"description",content:t.meta_description}),e.jsx("link",{rel:"canonical",href:route("product.byDepartment",t.slug)}),e.jsx("meta",{property:"og:title",content:t.name}),e.jsx("meta",{property:"og:description",content:t.meta_description}),e.jsx("meta",{property:"og:url",content:route("product.byDepartment",t.slug)}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:n})]}),e.jsx("div",{className:"container mx-auto",children:e.jsx("div",{className:"hero bg-base-200 min-h-[120px]",children:e.jsx("div",{className:"hero-content text-center",children:e.jsx("div",{className:"max-w-lg",children:e.jsx("h1",{className:"text-5xl font-bold",children:t.name})})})})}),a.data.length===0&&e.jsx("div",{className:"py-16 px-8 text-center text-black-300 text-3xl",children:"No products found"}),e.jsx("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 p-8",children:a.data.map(s=>e.jsx(o,{product:s},s.id))}),e.jsx(r,{links:a.links,currentPage:a.meta.current_page,lastPage:a.meta.last_page})]})}export{j as default}; diff --git a/public/build/assets/Index-DEl7ceIm.js b/public/build/assets/Index-MEMR_GxU.js similarity index 80% rename from public/build/assets/Index-DEl7ceIm.js rename to public/build/assets/Index-MEMR_GxU.js index c8f4148..1f12b2d 100644 --- a/public/build/assets/Index-DEl7ceIm.js +++ b/public/build/assets/Index-MEMR_GxU.js @@ -1 +1 @@ -import{r as l,m as f,S as b,j as e,$ as c,L as g}from"./app-kJd0IbDP.js";import{P as x,C as u,A as y}from"./AuthenticatedLayout-W4SJNb0d.js";import{T as v}from"./TextInput-2Zxn4f6N.js";import{l as N}from"./lodash-iefIKYHf.js";import{P as w}from"./PrimaryButton-BVnvhlTS.js";function k({title:s,titleId:t,...n},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},n),s?l.createElement("title",{id:t},s):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const m=l.forwardRef(k);function C({item:s}){const t=f({option_ids:s.option_ids}),[n,o]=l.useState(""),[r,i]=l.useState(s.quantity),h=()=>{t.delete(route("cart.destroy",s.product_id),{preserveScroll:!0})},p=l.useCallback(N.debounce(a=>{b.put(route("cart.update",s.product_id),{quantity:a,option_ids:s.option_ids},{preserveScroll:!0,onError:d=>{d.quantity&&o(Object.values(d.quantity)[0])}})},700),[]),j=a=>{const d=Number(a.target.value);o(""),i(d),p(d)};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"flex flex-col md:flex-row items-start gap-6 p-6 w-full bg-white shadow-md rounded-xl border border-gray-200 hover:shadow-lg transition",children:[e.jsx(c,{href:x(s),className:"w-full md:w-32 h-32 flex justify-center items-center bg-gray-50 border rounded-lg overflow-hidden",children:e.jsx("img",{src:s.image,alt:s.title,className:"max-w-full max-h-full object-contain transition-transform duration-200 hover:scale-105"})}),e.jsxs("div",{className:"flex flex-col justify-between flex-1 w-full",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"mb-2 text-lg font-semibold text-gray-900 hover:underline",children:e.jsx(c,{href:x(s),children:s.title})}),e.jsx("div",{className:"text-sm text-gray-600 space-y-1",children:s.options.map(a=>e.jsxs("div",{children:[e.jsxs("span",{className:"font-bold",children:[a.type.name,":"]})," ",e.jsx("span",{className:"",children:a.name})]},a.id))})]}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center mt-5 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[e.jsx("div",{className:"text-sm font-medium",children:"Qty:"}),e.jsx("div",{className:n?"tooltip tooltip-open tooltip-error":"","data-tip":n,children:e.jsx(v,{type:"number",defaultValue:r,onChange:j,className:"input-sm w-16"})}),e.jsx("button",{onClick:()=>h(),className:"btn btn-sm btn-ghost text-red-500",children:"Delete"}),e.jsx("button",{className:"btn btn-sm btn-ghost text-purple-600",children:"Save for Later"})]}),e.jsx("div",{className:"text-lg font-bold text-gray-800 min-w-max",children:e.jsx(u,{amount:s.price*s.quantity})})]})]})]},s.id)})}function P({csrf_token:s,cartItems:t,totalQuantity:n,totalPrice:o}){return e.jsxs(y,{children:[e.jsx(g,{title:"Your Cart"}),e.jsxs("div",{className:"container max-auto p-8 flex flex-col lg:flex-row gap-4",children:[e.jsx("div",{className:"card flex-1 bg-white dark:bg-gray-800 order-2 lg:order-1",children:e.jsxs("div",{className:"card-body",children:[e.jsx("h2",{className:"text-lg font-bold",children:"Shopping Cart"}),e.jsxs("div",{className:"my-4",children:[Object.keys(t).length===0&&e.jsx("div",{className:"py-2 text-gray-500 text-center",children:"You don't have any items yet."}),Object.values(t).map(r=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between pb-4 border-b border-gray-300 mb-4",children:[e.jsx(c,{href:"/",className:"underline",children:r.user.name}),e.jsx("div",{children:e.jsxs("form",{action:route("cart.checkout"),method:"post",children:[e.jsx("input",{type:"hidden",name:"_token",value:s}),e.jsx("input",{type:"hidden",name:"vendor_id",value:r.user.id}),e.jsxs("button",{className:"btn btn-sm btn-ghost",children:[e.jsx(m,{className:"size-6"}),"Pay Only for this seller"]})]})})]}),e.jsx("div",{className:"mb-6",children:e.jsx("div",{className:"flex flex-col gap-4 w-full pb-4 border-b border-gray-300 mb-4",children:r.items.map(i=>e.jsx(C,{item:i},i.id))})},r.user.id)]},r.user.id))]})]})}),e.jsx("div",{className:"card bg-white dark:bg-gray-800 lg:min-w-[260px] order-1 lg:order-2",children:e.jsxs("div",{className:"card-body",children:[e.jsxs("span",{children:["Subtotal (",n," items):  "]}),e.jsx(u,{amount:o}),e.jsxs("form",{action:route("cart.checkout"),method:"post",children:[e.jsx("input",{type:"hidden",name:"_token",value:s}),e.jsxs(w,{className:"rounded-full",children:[e.jsx(m,{className:"size-6 pr-2"}),"Proceed to checkout"]})]})]})})]})]})}export{P as default}; +import{r as n,m as f,S as b,j as e,$ as c,L as g}from"./app-B6E0w6L4.js";import{P as x,C as u,A as y}from"./AuthenticatedLayout-BLEx6Kke.js";import{T as v}from"./TextInput-CzFtGuNa.js";import{l as N}from"./lodash-CODVm1d2.js";import{P as w}from"./PrimaryButton-Cl-9UxbA.js";function k({title:s,titleId:t,...l},o){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},l),s?n.createElement("title",{id:t},s):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Z"}))}const m=n.forwardRef(k);function C({item:s}){const t=f({option_ids:s.option_ids}),[l,o]=n.useState(""),[r,i]=n.useState(s.quantity),h=()=>{t.delete(route("cart.destroy",s.product_id),{preserveScroll:!0})},p=n.useCallback(N.debounce(a=>{b.put(route("cart.update",s.product_id),{quantity:a,option_ids:s.option_ids},{preserveScroll:!0,onError:d=>{d.quantity&&o(Object.values(d.quantity)[0])}})},700),[]),j=a=>{const d=Number(a.target.value);o(""),i(d),p(d)};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:"flex flex-col md:flex-row items-start gap-6 p-6 w-full bg-white shadow-md rounded-xl border border-gray-200 hover:shadow-lg transition",children:[e.jsx(c,{href:x(s),className:"w-full md:w-32 h-32 flex justify-center items-center bg-gray-50 border rounded-lg overflow-hidden",children:e.jsx("img",{src:s.image,alt:s.title,className:"max-w-full max-h-full object-contain transition-transform duration-200 hover:scale-105"})}),e.jsxs("div",{className:"flex flex-col justify-between flex-1 w-full",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"mb-2 text-lg font-semibold text-gray-900 hover:underline",children:e.jsx(c,{href:x(s),children:s.title})}),e.jsx("div",{className:"text-sm text-gray-600 space-y-1",children:s.options.map(a=>e.jsxs("div",{children:[e.jsxs("span",{className:"font-bold",children:[a.type.name,":"]})," ",e.jsx("span",{className:"",children:a.name})]},a.id))})]}),e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center mt-5 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3 flex-wrap",children:[e.jsx("div",{className:"text-sm font-medium",children:"Qty:"}),e.jsx("div",{className:l?"tooltip tooltip-open tooltip-error":"","data-tip":l,children:e.jsx(v,{type:"number",defaultValue:r,onChange:j,className:"input-sm w-16"})}),e.jsx("button",{onClick:()=>h(),className:"btn btn-sm btn-ghost text-red-500",children:"Delete"}),e.jsx("button",{className:"btn btn-sm btn-ghost text-orange-600",children:"Save for Later"})]}),e.jsx("div",{className:"text-lg font-bold text-gray-800 min-w-max",children:e.jsx(u,{amount:s.price*s.quantity})})]})]})]},s.id)})}function P({csrf_token:s,cartItems:t,totalQuantity:l,totalPrice:o}){return e.jsxs(y,{children:[e.jsx(g,{title:"Your Cart"}),e.jsxs("div",{className:"container max-auto p-8 flex flex-col lg:flex-row gap-4",children:[e.jsx("div",{className:"card flex-1 bg-white dark:bg-gray-800 order-2 lg:order-1",children:e.jsxs("div",{className:"card-body",children:[e.jsx("h2",{className:"text-lg font-bold",children:"Shopping Cart"}),e.jsxs("div",{className:"my-4",children:[Object.keys(t).length===0&&e.jsx("div",{className:"py-2 text-gray-500 text-center",children:"You don't have any items yet."}),Object.values(t).map(r=>e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between pb-4 border-b border-gray-300 mb-4",children:[e.jsx(c,{href:"/",className:"underline",children:r.user.name}),e.jsx("div",{children:e.jsxs("form",{action:route("cart.checkout"),method:"post",children:[e.jsx("input",{type:"hidden",name:"_token",value:s}),e.jsx("input",{type:"hidden",name:"vendor_id",value:r.user.id}),e.jsxs("button",{className:"btn btn-sm btn-ghost",children:[e.jsx(m,{className:"size-6"}),"Pay Only for this seller"]})]})})]}),e.jsx("div",{className:"mb-6",children:e.jsx("div",{className:"flex flex-col gap-4 w-full pb-4 border-b border-gray-300 mb-4",children:r.items.map(i=>e.jsx(C,{item:i},i.id))})},r.user.id)]},r.user.id))]})]})}),e.jsx("div",{className:"card bg-white dark:bg-gray-800 lg:min-w-[260px] order-1 lg:order-2",children:e.jsxs("div",{className:"card-body",children:[e.jsxs("span",{children:["Subtotal (",l," items):  "]}),e.jsx(u,{amount:o}),e.jsxs("form",{action:route("cart.checkout"),method:"post",children:[e.jsx("input",{type:"hidden",name:"_token",value:s}),e.jsxs(w,{className:"rounded-full",children:[e.jsx(m,{className:"size-6 pr-2"}),"Proceed to checkout"]})]})]})})]})]})}export{P as default}; diff --git a/public/build/assets/InputError-Bj0LQZBM.js b/public/build/assets/InputError-BK-bpf-Z.js similarity index 67% rename from public/build/assets/InputError-Bj0LQZBM.js rename to public/build/assets/InputError-BK-bpf-Z.js index f3964c0..f2f9373 100644 --- a/public/build/assets/InputError-Bj0LQZBM.js +++ b/public/build/assets/InputError-BK-bpf-Z.js @@ -1 +1 @@ -import{j as n}from"./app-kJd0IbDP.js";function o({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:"text-sm text-red-600 dark:text-red-400 "+t,children:r}):null}export{o as I}; +import{j as n}from"./app-B6E0w6L4.js";function o({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:"text-sm text-red-600 dark:text-red-400 "+t,children:r}):null}export{o as I}; diff --git a/public/build/assets/InputLabel-BDH987uX.js b/public/build/assets/InputLabel-D3zgZD4-.js similarity index 72% rename from public/build/assets/InputLabel-BDH987uX.js rename to public/build/assets/InputLabel-D3zgZD4-.js index c980a50..2bb434d 100644 --- a/public/build/assets/InputLabel-BDH987uX.js +++ b/public/build/assets/InputLabel-D3zgZD4-.js @@ -1 +1 @@ -import{j as s}from"./app-kJd0IbDP.js";function r({value:e,className:l="",children:a,...n}){return s.jsx("label",{...n,className:"label fieldset"+l,children:s.jsx("span",{className:"fieldset-legend",children:e||a})})}export{r as I}; +import{j as s}from"./app-B6E0w6L4.js";function r({value:e,className:l="",children:a,...n}){return s.jsx("label",{...n,className:"label fieldset"+l,children:s.jsx("span",{className:"fieldset-legend",children:e||a})})}export{r as I}; diff --git a/public/build/assets/Login-Dk8DJQfD.js b/public/build/assets/Login-B4_A5Xkv.js similarity index 64% rename from public/build/assets/Login-Dk8DJQfD.js rename to public/build/assets/Login-B4_A5Xkv.js index fbade5f..bb3379c 100644 --- a/public/build/assets/Login-Dk8DJQfD.js +++ b/public/build/assets/Login-B4_A5Xkv.js @@ -1 +1 @@ -import{j as e,m as g,L as h,$ as p}from"./app-kJd0IbDP.js";import{I as i}from"./InputError-Bj0LQZBM.js";import{I as d}from"./InputLabel-BDH987uX.js";import{P as f}from"./PrimaryButton-BVnvhlTS.js";import{T as l}from"./TextInput-2Zxn4f6N.js";import{A as j}from"./AuthenticatedLayout-W4SJNb0d.js";function b({className:a="",...r}){return e.jsx("input",{...r,type:"checkbox",className:"checkbox checkbox-sm checked:bg-violet-900 checked:text-white border-gray-300 shadow-sm focus:ring-indigo-500 dark:border-gray-700 dark:bg-gray-900 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800 "+a})}function C({status:a,canResetPassword:r}){const{data:t,setData:o,post:n,processing:c,errors:m,reset:u}=g({email:"",password:"",remember:!1}),x=s=>{s.preventDefault(),n(route("login"),{onFinish:()=>u("password")})};return e.jsxs(j,{children:[e.jsx(h,{title:"Log in"}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"card bg-white shadow max-w-[420px] mx-auto",children:e.jsxs("div",{className:"card-body",children:[a&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600",children:a}),e.jsxs("form",{onSubmit:x,children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"email",value:"Email"}),e.jsx(l,{id:"email",type:"email",name:"email",value:t.email,className:"mt-1 block w-full",autoComplete:"username",isFocused:!0,onChange:s=>o("email",s.target.value)}),e.jsx(i,{message:m.email,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(d,{htmlFor:"password",value:"Password"}),e.jsx(l,{id:"password",type:"password",name:"password",value:t.password,className:"mt-1 block w-full",autoComplete:"current-password",onChange:s=>o("password",s.target.value)}),e.jsx(i,{message:m.password,className:"mt-2"})]}),e.jsx("div",{className:"mt-4 block",children:e.jsxs("label",{className:"flex items-center",children:[e.jsx(b,{name:"remember",checked:t.remember,onChange:s=>o("remember",s.target.checked||!1)}),e.jsx("span",{className:"ms-2 text-sm text-gray-600 dark:text-gray-400",children:"Remember me"})]})}),e.jsxs("div",{className:"mt-4 flex items-center justify-end",children:[r&&e.jsx(p,{href:route("password.request"),className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Forgot your password?"}),e.jsx(f,{className:"ms-4",disabled:c,children:"Log in"})]})]})]})})})]})}export{C as default}; +import{j as e,m as g,L as h,$ as p}from"./app-B6E0w6L4.js";import{I as i}from"./InputError-BK-bpf-Z.js";import{I as n}from"./InputLabel-D3zgZD4-.js";import{P as f}from"./PrimaryButton-Cl-9UxbA.js";import{T as l}from"./TextInput-CzFtGuNa.js";import{A as j}from"./AuthenticatedLayout-BLEx6Kke.js";function b({className:a="",...r}){return e.jsx("input",{...r,type:"checkbox",className:"checkbox checkbox-sm checked:bg-orange-900 checked:text-white border-gray-300 shadow-sm focus:ring-orange-500 dark:border-gray-700 dark:bg-gray-900 dark:focus:ring-orange-600 dark:focus:ring-offset-gray-800 "+a})}function C({status:a,canResetPassword:r}){const{data:t,setData:o,post:c,processing:d,errors:m,reset:u}=g({email:"",password:"",remember:!1}),x=s=>{s.preventDefault(),c(route("login"),{onFinish:()=>u("password")})};return e.jsxs(j,{children:[e.jsx(h,{title:"Log in"}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"card bg-white shadow max-w-[420px] mx-auto",children:e.jsxs("div",{className:"card-body",children:[a&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600",children:a}),e.jsxs("form",{onSubmit:x,children:[e.jsxs("div",{children:[e.jsx(n,{htmlFor:"email",value:"Email"}),e.jsx(l,{id:"email",type:"email",name:"email",value:t.email,className:"mt-1 block w-full",autoComplete:"username",isFocused:!0,onChange:s=>o("email",s.target.value)}),e.jsx(i,{message:m.email,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(n,{htmlFor:"password",value:"Password"}),e.jsx(l,{id:"password",type:"password",name:"password",value:t.password,className:"mt-1 block w-full",autoComplete:"current-password",onChange:s=>o("password",s.target.value)}),e.jsx(i,{message:m.password,className:"mt-2"})]}),e.jsx("div",{className:"mt-4 block",children:e.jsxs("label",{className:"flex items-center",children:[e.jsx(b,{name:"remember",checked:t.remember,onChange:s=>o("remember",s.target.checked||!1)}),e.jsx("span",{className:"ms-2 text-sm text-gray-600 dark:text-gray-400",children:"Remember me"})]})}),e.jsxs("div",{className:"mt-4 flex items-center justify-end",children:[r&&e.jsx(p,{href:route("password.request"),className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Forgot your password?"}),e.jsx(f,{className:"ms-4",disabled:d,children:"Log in"})]})]})]})})})]})}export{C as default}; diff --git a/public/build/assets/Pagination-Cc2qlCXO.js b/public/build/assets/Pagination-C3ZWC7TT.js similarity index 95% rename from public/build/assets/Pagination-Cc2qlCXO.js rename to public/build/assets/Pagination-C3ZWC7TT.js index 53388dd..bf7d421 100644 --- a/public/build/assets/Pagination-Cc2qlCXO.js +++ b/public/build/assets/Pagination-C3ZWC7TT.js @@ -1 +1 @@ -import{j as r,$ as s}from"./app-kJd0IbDP.js";function m({links:t,currentPage:i,lastPage:n}){var a,l;return n<=1?null:r.jsxs("nav",{className:"flex items-center justify-between border-t border-gray-200 px-4 sm:px-0 mt-6",children:[r.jsxs("div",{className:"flex flex-1 justify-between sm:hidden",children:[i>1&&r.jsx(s,{href:((a=t.find(e=>e.label.toLowerCase().includes("previous")))==null?void 0:a.url)||"",preserveState:!0,className:"inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700",children:"Previous"}),ie.label.toLowerCase().includes("next")))==null?void 0:l.url)||"",preserveState:!0,className:"inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700",children:"Next"})]}),r.jsx("div",{className:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-center",children:r.jsx("div",{children:r.jsx("nav",{className:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination",children:t.map((e,o)=>e.url?r.jsx(s,{href:e.url,preserveState:!0,className:`relative inline-flex items-center px-4 py-2 text-sm font-medium ${e.active?"z-10 bg-primary text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary":"text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:outline-offset-0"}`,dangerouslySetInnerHTML:{__html:e.label}},o):null)})})})]})}export{m as P}; +import{j as r,$ as s}from"./app-B6E0w6L4.js";function m({links:t,currentPage:i,lastPage:n}){var a,l;return n<=1?null:r.jsxs("nav",{className:"flex items-center justify-between border-t border-gray-200 px-4 sm:px-0 mt-6",children:[r.jsxs("div",{className:"flex flex-1 justify-between sm:hidden",children:[i>1&&r.jsx(s,{href:((a=t.find(e=>e.label.toLowerCase().includes("previous")))==null?void 0:a.url)||"",preserveState:!0,className:"inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700",children:"Previous"}),ie.label.toLowerCase().includes("next")))==null?void 0:l.url)||"",preserveState:!0,className:"inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-gray-500 hover:border-gray-300 hover:text-gray-700",children:"Next"})]}),r.jsx("div",{className:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-center",children:r.jsx("div",{children:r.jsx("nav",{className:"isolate inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination",children:t.map((e,o)=>e.url?r.jsx(s,{href:e.url,preserveState:!0,className:`relative inline-flex items-center px-4 py-2 text-sm font-medium ${e.active?"z-10 bg-primary text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary":"text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:outline-offset-0"}`,dangerouslySetInnerHTML:{__html:e.label}},o):null)})})})]})}export{m as P}; diff --git a/public/build/assets/PrimaryButton-BVnvhlTS.js b/public/build/assets/PrimaryButton-BVnvhlTS.js deleted file mode 100644 index 55434f1..0000000 --- a/public/build/assets/PrimaryButton-BVnvhlTS.js +++ /dev/null @@ -1 +0,0 @@ -import{j as u}from"./app-kJd0IbDP.js";function s(e){return/\brounded(-[a-z]+)?\b/.test(e)}function i(e){return/\b(?:uppercase|lowercase|capitalize|normal-case)\b/.test(e)}function a({className:e="",disabled:t,children:r,...o}){const n=["inline-flex items-center border border-transparent bg-purple-800 px-4 py-2 text-xs font-semibold tracking-widest text-white transition duration-150 ease-in-out hover:bg-purple-700 focus:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 active:bg-purple-800 dark:bg-purple-200 dark:text-purple-700 dark:hover:bg-white dark:focus:bg-white dark:focus:ring-offset-purple-700 dark:active:bg-purple-300",t?"opacity-25":"",s(e)?"":"rounded-md",i(e)?"text-[13px]":"uppercase",e].filter(Boolean).join(" ");return u.jsx("button",{...o,className:n,disabled:t,children:r})}export{a as P}; diff --git a/public/build/assets/PrimaryButton-Cl-9UxbA.js b/public/build/assets/PrimaryButton-Cl-9UxbA.js new file mode 100644 index 0000000..cba3fb2 --- /dev/null +++ b/public/build/assets/PrimaryButton-Cl-9UxbA.js @@ -0,0 +1 @@ +import{j as a}from"./app-B6E0w6L4.js";function s(e){return/\brounded(-[a-z]+)?\b/.test(e)}function i(e){return/\b(?:uppercase|lowercase|capitalize|normal-case)\b/.test(e)}function g({className:e="",disabled:t,children:o,...r}){const n=["inline-flex items-center border border-transparent bg-orange-800 px-4 py-2 text-xs font-semibold tracking-widest text-white transition duration-150 ease-in-out hover:bg-orange-700 focus:bg-orange-700 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 active:bg-orange-800 dark:bg-orange-200 dark:text-orange-700 dark:hover:bg-white dark:focus:bg-white dark:focus:ring-offset-orange-700 dark:active:bg-orange-300",t?"opacity-25":"",s(e)?"":"rounded-md",i(e)?"text-[13px]":"uppercase",e].filter(Boolean).join(" ");return a.jsx("button",{...r,className:n,disabled:t,children:o})}export{g as P}; diff --git a/public/build/assets/ProductItem-BWjSD-RP.js b/public/build/assets/ProductItem-DnYtUqCr.js similarity index 57% rename from public/build/assets/ProductItem-BWjSD-RP.js rename to public/build/assets/ProductItem-DnYtUqCr.js index 8c3c359..88f0f0b 100644 --- a/public/build/assets/ProductItem-BWjSD-RP.js +++ b/public/build/assets/ProductItem-DnYtUqCr.js @@ -1,9 +1,9 @@ -import{r as c,m as w,j as t,$ as n}from"./app-kJd0IbDP.js";import{G as d}from"./iconBase-Brf-aoCc.js";import{C as x}from"./AuthenticatedLayout-W4SJNb0d.js";function v(e){return d({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z"},child:[]}]})(e)}function P(e){return d({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function S(e){return d({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function j(e){return d({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},child:[]}]})(e)}function y(e){return d({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},child:[]}]})(e)}/** +import{r as l,m as f,j as t,$ as i}from"./app-B6E0w6L4.js";import{G as h}from"./iconBase-DdwgI4CQ.js";import{C as w}from"./AuthenticatedLayout-BLEx6Kke.js";function v(e){return h({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z"},child:[]}]})(e)}function F(e){return h({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function P(e){return h({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function j(e){return h({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},child:[]}]})(e)}function y(e){return h({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},child:[]}]})(e)}/** * @license lucide-react v0.507.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const C=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),b=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,r,a)=>a?a.toUpperCase():r.toLowerCase()),u=e=>{const s=b(e);return s.charAt(0).toUpperCase()+s.slice(1)},m=(...e)=>e.filter((s,r,a)=>!!s&&s.trim()!==""&&a.indexOf(s)===r).join(" ").trim(),N=e=>{for(const s in e)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};/** + */const C=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),N=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,s)=>s?s.toUpperCase():a.toLowerCase()),u=e=>{const r=N(e);return r.charAt(0).toUpperCase()+r.slice(1)},m=(...e)=>e.filter((r,a,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===a).join(" ").trim(),b=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/** * @license lucide-react v0.507.0 - ISC * * This source code is licensed under the ISC license. @@ -13,14 +13,14 @@ import{r as c,m as w,j as t,$ as n}from"./app-kJd0IbDP.js";import{G as d}from"./ * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const A=c.forwardRef(({color:e="currentColor",size:s=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:i="",children:l,iconNode:o,...h},p)=>c.createElement("svg",{ref:p,...L,width:s,height:s,stroke:e,strokeWidth:a?Number(r)*24/Number(s):r,className:m("lucide",i),...!l&&!N(h)&&{"aria-hidden":"true"},...h},[...o.map(([g,f])=>c.createElement(g,f)),...Array.isArray(l)?l:[l]]));/** + */const A=l.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:n="",children:o,iconNode:c,...d},x)=>l.createElement("svg",{ref:x,...L,width:r,height:r,stroke:e,strokeWidth:s?Number(a)*24/Number(r):a,className:m("lucide",n),...!o&&!b(d)&&{"aria-hidden":"true"},...d},[...c.map(([p,g])=>l.createElement(p,g)),...Array.isArray(o)?o:[o]]));/** * @license lucide-react v0.507.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const k=(e,s)=>{const r=c.forwardRef(({className:a,...i},l)=>c.createElement(A,{ref:l,iconNode:s,className:m(`lucide-${C(u(e))}`,`lucide-${e}`,a),...i}));return r.displayName=u(e),r};/** + */const k=(e,r)=>{const a=l.forwardRef(({className:s,...n},o)=>l.createElement(A,{ref:o,iconNode:r,className:m(`lucide-${C(u(e))}`,`lucide-${e}`,s),...n}));return a.displayName=u(e),a};/** * @license lucide-react v0.507.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const M=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],z=k("eye",M);function F({product:e}){const[s,r]=c.useState(!1),a=o=>{o.preventDefault(),o.stopPropagation(),r(!s)},i=w({option_ids:{},quantity:1}),l=()=>{i.post(route("cart.store",e.id),{preserveScroll:!0,preserveState:!0,onError:o=>console.log(o)})};return t.jsxs("div",{className:"bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-shadow duration-300 overflow-hidden group relative",children:[t.jsxs("figure",{className:"relative group aspect-[4/3] w-full overflow-hidden",children:[t.jsx(n,{href:route("product.show",e.slug),children:t.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-contain transition-transform duration-500 group-hover:scale-105"})}),t.jsxs("div",{className:"absolute top-3 right-3 flex flex-col gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[t.jsx("button",{onClick:a,title:"Wishlist",className:"bg-white p-2 rounded-full shadow hover:bg-rose-100",children:s?t.jsx(j,{className:"text-red-500 w-5 h-5"}):t.jsx(y,{className:"text-gray-600 w-5 h-5"})}),t.jsx("button",{onClick:l,title:"Add to Cart",className:"bg-white p-2 rounded-full shadow hover:bg-blue-100",children:t.jsx(v,{className:"text-gray-600 w-5 h-5"})}),t.jsx(n,{href:route("product.show",e.slug),title:"Quick View",className:"bg-white p-2 rounded-full shadow hover:bg-cyan-100",onClick:o=>o.stopPropagation(),children:t.jsx(z,{className:"text-gray-600 w-5 h-5"})})]})]}),t.jsxs("div",{className:"p-4 space-y-2",children:[t.jsx("h3",{className:"text-base font-semibold text-gray-800 hover:text-indigo-600",children:t.jsx(n,{href:route("product.show",e.slug),children:e.title})}),t.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs text-gray-500",children:[t.jsx(n,{href:route("product.byDepartment",e.department.slug),children:t.jsx("span",{className:"bg-indigo-100 text-indigo-600 px-2 py-0.5 rounded-full",children:e.department.name})}),t.jsx("span",{className:"bg-cyan-100 text-cyan-600 px-2 py-0.5 rounded-full",children:e.category.name})]}),t.jsx("p",{className:"text-sm text-gray-600 line-clamp-2",children:e.description||"High-quality product crafted with modern design for your needs."}),t.jsxs("div",{className:"flex items-center gap-3 pt-2",children:[t.jsx("span",{className:"text-lg font-bold text-indigo-600",children:t.jsx(x,{amount:e.price})}),e.price+20>e.price&&t.jsx("span",{className:"text-xs text-gray-500 line-through",children:t.jsx(x,{amount:e.price+20})})]}),t.jsxs("div",{className:"flex items-center gap-1 text-yellow-500 text-sm",children:[t.jsx("span",{children:"★ 4.5"}),t.jsx("span",{className:"text-gray-400",children:"(120 reviews)"})]}),e.user.store_name&&t.jsxs("div",{className:"pt-1 text-sm",children:[t.jsx("span",{className:"text-gray-500",children:"Sold by "}),t.jsx(n,{href:route("vendor.profile",e.user.store_name),className:"text-blue-600 hover:underline",children:e.user.name})]})]}),t.jsx("div",{className:"absolute top-3 left-3 bg-green-100 text-green-800 text-xs font-semibold px-2 py-0.5 rounded-full",children:"Bestseller"})]})}export{S as F,F as P,P as a}; + */const M=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],z=k("eye",M);function S({product:e}){const[r,a]=l.useState(!1),s=c=>{c.preventDefault(),c.stopPropagation(),a(!r)},n=f({option_ids:{},quantity:1}),o=()=>{n.post(route("cart.store",e.id),{preserveScroll:!0,preserveState:!0,onError:c=>console.log(c)})};return t.jsxs("div",{className:"bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-shadow duration-300 overflow-hidden group relative",children:[t.jsxs("figure",{className:"relative group aspect-[4/3] w-full overflow-hidden",children:[t.jsx(i,{href:route("product.show",e.slug),children:t.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-contain transition-transform duration-500 group-hover:scale-105"})}),t.jsxs("div",{className:"absolute top-3 right-3 flex flex-col gap-2 opacity-0 group-hover:opacity-100 transition-opacity",children:[t.jsx("button",{onClick:s,title:"Wishlist",className:"bg-white p-2 rounded-full shadow hover:bg-rose-100",children:r?t.jsx(j,{className:"text-red-500 w-5 h-5"}):t.jsx(y,{className:"text-gray-600 w-5 h-5"})}),t.jsx("button",{onClick:o,title:"Add to Cart",className:"bg-white p-2 rounded-full shadow hover:bg-orange-100",children:t.jsx(v,{className:"text-gray-600 w-5 h-5"})}),t.jsx(i,{href:route("product.show",e.slug),title:"Quick View",className:"bg-white p-2 rounded-full shadow hover:bg-cyan-100",onClick:c=>c.stopPropagation(),children:t.jsx(z,{className:"text-gray-600 w-5 h-5"})})]})]}),t.jsxs("div",{className:"p-4 space-y-2",children:[t.jsx("h3",{className:"text-base font-semibold text-gray-800 hover:text-orange-600",children:t.jsx(i,{href:route("product.show",e.slug),children:e.title})}),t.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs text-gray-500",children:[t.jsx(i,{href:route("product.byDepartment",e.department.slug),children:t.jsx("span",{className:"bg-orange-100 text-orange-600 px-2 py-0.5 rounded-full",children:e.department.name})}),t.jsx("span",{className:"bg-cyan-100 text-cyan-600 px-2 py-0.5 rounded-full",children:e.category.name})]}),t.jsx("p",{className:"text-sm text-gray-600 line-clamp-2",children:e.description||"High-quality product crafted with modern design for your needs."}),t.jsx("div",{className:"flex items-center gap-3 pt-2",children:t.jsx("span",{className:"text-lg font-bold text-orange-600",children:t.jsx(w,{amount:e.price})})}),e.user.store_name&&t.jsxs("div",{className:"pt-1 text-sm",children:[t.jsx("span",{className:"text-gray-500",children:"From "}),t.jsx(i,{href:route("vendor.profile",e.user.store_name),className:"text-orange-600 hover:underline",children:e.user.name})]})]})]})}export{P as F,S as P,F as a}; diff --git a/public/build/assets/Profile-C05QObsH.js b/public/build/assets/Profile-DWtbW8PS.js similarity index 78% rename from public/build/assets/Profile-C05QObsH.js rename to public/build/assets/Profile-DWtbW8PS.js index 8d91ade..2c08a1d 100644 --- a/public/build/assets/Profile-C05QObsH.js +++ b/public/build/assets/Profile-DWtbW8PS.js @@ -1 +1 @@ -import{j as e,L as i}from"./app-kJd0IbDP.js";import{A as r}from"./AuthenticatedLayout-W4SJNb0d.js";import{P as l}from"./ProductItem-BWjSD-RP.js";import{P as o}from"./Pagination-Cc2qlCXO.js";import"./iconBase-Brf-aoCc.js";function h({vendor:s,products:a}){return e.jsxs(r,{children:[e.jsx(i,{title:s.store_name+" Profile Page"}),e.jsxs("div",{className:"hero min-h-[320px]",style:{backgroundImage:"url(https://20.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)"},children:[e.jsx("div",{className:"hero-overlay bg-opacity-60"}),e.jsx("div",{className:"hero-content text-neutral-content text-center",children:e.jsx("div",{className:"max-w-md",children:e.jsx("h1",{className:"mb-5 text-5xl font-bold",children:s.store_name})})})]}),a.data.length>0?e.jsxs("div",{className:"container mx-auto",children:[e.jsx("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 p-8",children:a.data.map(t=>e.jsx(l,{product:t},t.id))}),e.jsx(o,{links:a.links,currentPage:a.meta.current_page,lastPage:a.meta.last_page})]}):e.jsx("div",{className:"bg-white p-8 text-center rounded shadow",children:e.jsx("p",{className:"text-gray-500",children:"No products found."})})]})}export{h as default}; +import{j as e,L as i}from"./app-B6E0w6L4.js";import{A as r}from"./AuthenticatedLayout-BLEx6Kke.js";import{P as l}from"./ProductItem-DnYtUqCr.js";import{P as o}from"./Pagination-C3ZWC7TT.js";import"./iconBase-DdwgI4CQ.js";function h({vendor:s,products:a}){return e.jsxs(r,{children:[e.jsx(i,{title:s.store_name+" Profile Page"}),e.jsxs("div",{className:"hero min-h-[320px]",style:{backgroundImage:"url(https://20.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)"},children:[e.jsx("div",{className:"hero-overlay bg-opacity-60"}),e.jsx("div",{className:"hero-content text-neutral-content text-center",children:e.jsx("div",{className:"max-w-md",children:e.jsx("h1",{className:"mb-5 text-5xl font-bold",children:s.store_name})})})]}),a.data.length>0?e.jsxs("div",{className:"container mx-auto",children:[e.jsx("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4 p-8",children:a.data.map(t=>e.jsx(l,{product:t},t.id))}),e.jsx(o,{links:a.links,currentPage:a.meta.current_page,lastPage:a.meta.last_page})]}):e.jsx("div",{className:"bg-white p-8 text-center rounded shadow",children:e.jsx("p",{className:"text-gray-500",children:"No products found."})})]})}export{h as default}; diff --git a/public/build/assets/Register-ZTFuVtjd.js b/public/build/assets/Register-D3HwLnm2.js similarity index 84% rename from public/build/assets/Register-ZTFuVtjd.js rename to public/build/assets/Register-D3HwLnm2.js index 83d7bd6..056b15a 100644 --- a/public/build/assets/Register-ZTFuVtjd.js +++ b/public/build/assets/Register-D3HwLnm2.js @@ -1 +1 @@ -import{m as c,j as e,L as p,$ as x}from"./app-kJd0IbDP.js";import{I as o}from"./InputError-Bj0LQZBM.js";import{I as m}from"./InputLabel-BDH987uX.js";import{P as f}from"./PrimaryButton-BVnvhlTS.js";import{T as i}from"./TextInput-2Zxn4f6N.js";import{A as w}from"./AuthenticatedLayout-W4SJNb0d.js";function b(){const{data:a,setData:r,post:n,processing:l,errors:t,reset:d}=c({name:"",email:"",password:"",password_confirmation:""}),u=s=>{s.preventDefault(),n(route("register"),{onFinish:()=>d("password","password_confirmation")})};return e.jsxs(w,{children:[e.jsx(p,{title:"Register"}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"card bg-white shadow max-w-[420px] mx-auto",children:e.jsx("div",{className:"card-body",children:e.jsxs("form",{onSubmit:u,children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"name",value:"Name"}),e.jsx(i,{id:"name",name:"name",value:a.name,className:"mt-1 block w-full",autoComplete:"name",isFocused:!0,onChange:s=>r("name",s.target.value),required:!0}),e.jsx(o,{message:t.name,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"email",value:"Email"}),e.jsx(i,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",autoComplete:"username",onChange:s=>r("email",s.target.value),required:!0}),e.jsx(o,{message:t.email,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password",value:"Password"}),e.jsx(i,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password",s.target.value),required:!0}),e.jsx(o,{message:t.password,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password_confirmation",value:"Confirm Password"}),e.jsx(i,{id:"password_confirmation",type:"password",name:"password_confirmation",value:a.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password_confirmation",s.target.value),required:!0}),e.jsx(o,{message:t.password_confirmation,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4 flex items-center justify-end",children:[e.jsx(x,{href:route("login"),className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Already registered?"}),e.jsx(f,{className:"ms-4",disabled:l,children:"Register"})]})]})})})})]})}export{b as default}; +import{m as c,j as e,L as p,$ as x}from"./app-B6E0w6L4.js";import{I as o}from"./InputError-BK-bpf-Z.js";import{I as m}from"./InputLabel-D3zgZD4-.js";import{P as f}from"./PrimaryButton-Cl-9UxbA.js";import{T as i}from"./TextInput-CzFtGuNa.js";import{A as w}from"./AuthenticatedLayout-BLEx6Kke.js";function b(){const{data:a,setData:r,post:n,processing:l,errors:t,reset:d}=c({name:"",email:"",password:"",password_confirmation:""}),u=s=>{s.preventDefault(),n(route("register"),{onFinish:()=>d("password","password_confirmation")})};return e.jsxs(w,{children:[e.jsx(p,{title:"Register"}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"card bg-white shadow max-w-[420px] mx-auto",children:e.jsx("div",{className:"card-body",children:e.jsxs("form",{onSubmit:u,children:[e.jsxs("div",{children:[e.jsx(m,{htmlFor:"name",value:"Name"}),e.jsx(i,{id:"name",name:"name",value:a.name,className:"mt-1 block w-full",autoComplete:"name",isFocused:!0,onChange:s=>r("name",s.target.value),required:!0}),e.jsx(o,{message:t.name,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"email",value:"Email"}),e.jsx(i,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",autoComplete:"username",onChange:s=>r("email",s.target.value),required:!0}),e.jsx(o,{message:t.email,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password",value:"Password"}),e.jsx(i,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password",s.target.value),required:!0}),e.jsx(o,{message:t.password,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(m,{htmlFor:"password_confirmation",value:"Confirm Password"}),e.jsx(i,{id:"password_confirmation",type:"password",name:"password_confirmation",value:a.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:s=>r("password_confirmation",s.target.value),required:!0}),e.jsx(o,{message:t.password_confirmation,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4 flex items-center justify-end",children:[e.jsx(x,{href:route("login"),className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Already registered?"}),e.jsx(f,{className:"ms-4",disabled:l,children:"Register"})]})]})})})})]})}export{b as default}; diff --git a/public/build/assets/ResetPassword-CLGY63n6.js b/public/build/assets/ResetPassword-Cb-FNz7H.js similarity index 81% rename from public/build/assets/ResetPassword-CLGY63n6.js rename to public/build/assets/ResetPassword-Cb-FNz7H.js index 0052c16..e0c140e 100644 --- a/public/build/assets/ResetPassword-CLGY63n6.js +++ b/public/build/assets/ResetPassword-Cb-FNz7H.js @@ -1 +1 @@ -import{m as w,j as s,L as f}from"./app-kJd0IbDP.js";import{I as t}from"./InputError-Bj0LQZBM.js";import{I as m}from"./InputLabel-BDH987uX.js";import{P as x}from"./PrimaryButton-BVnvhlTS.js";import{T as i}from"./TextInput-2Zxn4f6N.js";import{G as j}from"./GuestLayout-DGrv1UVs.js";function P({token:l,email:n}){const{data:e,setData:o,post:d,processing:p,errors:r,reset:c}=w({token:l,email:n,password:"",password_confirmation:""}),u=a=>{a.preventDefault(),d(route("password.store"),{onFinish:()=>c("password","password_confirmation")})};return s.jsxs(j,{children:[s.jsx(f,{title:"Reset Password"}),s.jsxs("form",{onSubmit:u,children:[s.jsxs("div",{children:[s.jsx(m,{htmlFor:"email",value:"Email"}),s.jsx(i,{id:"email",type:"email",name:"email",value:e.email,className:"mt-1 block w-full",autoComplete:"username",onChange:a=>o("email",a.target.value)}),s.jsx(t,{message:r.email,className:"mt-2"})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(m,{htmlFor:"password",value:"Password"}),s.jsx(i,{id:"password",type:"password",name:"password",value:e.password,className:"mt-1 block w-full",autoComplete:"new-password",isFocused:!0,onChange:a=>o("password",a.target.value)}),s.jsx(t,{message:r.password,className:"mt-2"})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(m,{htmlFor:"password_confirmation",value:"Confirm Password"}),s.jsx(i,{type:"password",name:"password_confirmation",value:e.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:a=>o("password_confirmation",a.target.value)}),s.jsx(t,{message:r.password_confirmation,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(x,{className:"ms-4",disabled:p,children:"Reset Password"})})]})]})}export{P as default}; +import{m as w,j as s,L as f}from"./app-B6E0w6L4.js";import{I as t}from"./InputError-BK-bpf-Z.js";import{I as m}from"./InputLabel-D3zgZD4-.js";import{P as x}from"./PrimaryButton-Cl-9UxbA.js";import{T as i}from"./TextInput-CzFtGuNa.js";import{G as j}from"./GuestLayout-ZGVtllzz.js";function P({token:l,email:n}){const{data:e,setData:o,post:d,processing:p,errors:r,reset:c}=w({token:l,email:n,password:"",password_confirmation:""}),u=a=>{a.preventDefault(),d(route("password.store"),{onFinish:()=>c("password","password_confirmation")})};return s.jsxs(j,{children:[s.jsx(f,{title:"Reset Password"}),s.jsxs("form",{onSubmit:u,children:[s.jsxs("div",{children:[s.jsx(m,{htmlFor:"email",value:"Email"}),s.jsx(i,{id:"email",type:"email",name:"email",value:e.email,className:"mt-1 block w-full",autoComplete:"username",onChange:a=>o("email",a.target.value)}),s.jsx(t,{message:r.email,className:"mt-2"})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(m,{htmlFor:"password",value:"Password"}),s.jsx(i,{id:"password",type:"password",name:"password",value:e.password,className:"mt-1 block w-full",autoComplete:"new-password",isFocused:!0,onChange:a=>o("password",a.target.value)}),s.jsx(t,{message:r.password,className:"mt-2"})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(m,{htmlFor:"password_confirmation",value:"Confirm Password"}),s.jsx(i,{type:"password",name:"password_confirmation",value:e.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:a=>o("password_confirmation",a.target.value)}),s.jsx(t,{message:r.password_confirmation,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(x,{className:"ms-4",disabled:p,children:"Reset Password"})})]})]})}export{P as default}; diff --git a/public/build/assets/SecondaryButton-DV5_lPRn.js b/public/build/assets/SecondaryButton-DxY62z5E.js similarity index 99% rename from public/build/assets/SecondaryButton-DV5_lPRn.js rename to public/build/assets/SecondaryButton-DxY62z5E.js index 8e14643..18734c6 100644 --- a/public/build/assets/SecondaryButton-DV5_lPRn.js +++ b/public/build/assets/SecondaryButton-DxY62z5E.js @@ -1 +1 @@ -import{a as Ze,r as s,U as f,j as D}from"./app-kJd0IbDP.js";import{s as oe,K as y,L as x,y as S,n as O,o as w,a as X,b as U,u as Y,t as le,T as Je,l as ae,p as Qe,f as ye,F as G,c as xe,z as $e,i as V,d as et,O as pe}from"./transition-BXkMYQ9e.js";var tt=Ze();function z(e){return oe.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let nt=s.createContext(void 0);function rt(){return s.useContext(nt)}let ot="span";var q=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(q||{});function lt(e,t){var n;let{features:r=1,...o}=e,l={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return x()({ourProps:l,theirProps:o,slot:{},defaultTag:ot,name:"Hidden"})}let ee=y(lt),ue=s.createContext(null);ue.displayName="DescriptionContext";function Te(){let e=s.useContext(ue);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Te),t}return e}function at(){let[e,t]=s.useState([]);return[e.length>0?e.join(" "):void 0,s.useMemo(()=>function(n){let r=w(l=>(t(u=>[...u,l]),()=>t(u=>{let i=u.slice(),a=i.indexOf(l);return a!==-1&&i.splice(a,1),i}))),o=s.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return f.createElement(ue.Provider,{value:o},n.children)},[t])]}let ut="p";function it(e,t){let n=s.useId(),r=rt(),{id:o=`headlessui-description-${n}`,...l}=e,u=Te(),i=S(t);O(()=>u.register(o),[o,u.register]);let a=r||!1,d=s.useMemo(()=>({...u.slot,disabled:a}),[u.slot,a]),c={ref:i,...u.props,id:o};return x()({ourProps:c,theirProps:l,slot:d,defaultTag:ut,name:u.name||"Description"})}let st=y(it),ct=Object.assign(st,{});var Fe=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Fe||{});let dt=s.createContext(()=>{});function ft({value:e,children:t}){return f.createElement(dt.Provider,{value:e},t)}let mt=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Pe(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let u=t[o].call(n,...l);u&&(n=u,r.forEach(i=>i()))}}}function Le(e){return s.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let pt=new mt(()=>Pe(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function N(e,t){let n=pt.get(t),r=s.useId(),o=Le(n);if(O(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let l=o.indexOf(r),u=o.length;return l===-1&&(l=u,u+=1),l===u-1}let te=new Map,_=new Map;function ve(e){var t;let n=(t=_.get(e))!=null?t:0;return _.set(e,n+1),n!==0?()=>he(e):(te.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>he(e))}function he(e){var t;let n=(t=_.get(e))!=null?t:1;if(n===1?_.delete(e):_.set(e,n-1),n!==1)return;let r=te.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,te.delete(e))}function vt(e,{allowed:t,disallowed:n}={}){let r=N(e,"inert-others");O(()=>{var o,l;if(!r)return;let u=X();for(let a of(o=n==null?void 0:n())!=null?o:[])a&&u.add(ve(a));let i=(l=t==null?void 0:t())!=null?l:[];for(let a of i){if(!a)continue;let d=z(a);if(!d)continue;let c=a.parentElement;for(;c&&c!==d.body;){for(let m of c.children)i.some(v=>m.contains(v))||u.add(ve(m));c=c.parentElement}}return u.dispose},[r,t,n])}function ht(e,t,n){let r=U(o=>{let l=o.getBoundingClientRect();l.x===0&&l.y===0&&l.width===0&&l.height===0&&n()});s.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let l=X();if(typeof ResizeObserver<"u"){let u=new ResizeObserver(()=>r.current(o));u.observe(o),l.add(()=>u.disconnect())}if(typeof IntersectionObserver<"u"){let u=new IntersectionObserver(()=>r.current(o));u.observe(o),l.add(()=>u.disconnect())}return()=>l.dispose()},[t,r,e])}let K=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),gt=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var T=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(T||{}),ne=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ne||{}),Et=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Et||{});function wt(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(K)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function bt(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(gt)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Se=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Se||{});function yt(e,t=0){var n;return e===((n=z(e))==null?void 0:n.body)?!1:Y(t,{0(){return e.matches(K)},1(){let r=e;for(;r!==null;){if(r.matches(K))return!0;r=r.parentElement}return!1}})}var xt=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(xt||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function F(e){e==null||e.focus({preventScroll:!0})}let $t=["textarea","input"].join(",");function Tt(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,$t))!=null?n:!1}function Ft(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),l=t(r);if(o===null||l===null)return 0;let u=o.compareDocumentPosition(l);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function B(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?Ft(e):e:t&64?bt(e):wt(e);o.length>0&&u.length>1&&(u=u.filter(p=>!o.some(h=>h!=null&&"current"in h?(h==null?void 0:h.current)===p:h===p))),r=r??l.activeElement;let i=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(r))-1;if(t&4)return Math.max(0,u.indexOf(r))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},c=0,m=u.length,v;do{if(c>=m||c+m<=0)return 0;let p=a+c;if(t&16)p=(p+m)%m;else{if(p<0)return 3;if(p>=m)return 1}v=u[p],v==null||v.focus(d),c+=i}while(v!==l.activeElement);return t&6&&Tt(v)&&v.select(),2}function Me(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pt(){return/Android/gi.test(window.navigator.userAgent)}function Lt(){return Me()||Pt()}function H(e,t,n,r){let o=U(n);s.useEffect(()=>{if(!e)return;function l(u){o.current(u)}return document.addEventListener(t,l,r),()=>document.removeEventListener(t,l,r)},[e,t,r])}function Ce(e,t,n,r){let o=U(n);s.useEffect(()=>{if(!e)return;function l(u){o.current(u)}return window.addEventListener(t,l,r),()=>window.removeEventListener(t,l,r)},[e,t,r])}const ge=30;function St(e,t,n){let r=N(e,"outside-click"),o=U(n),l=s.useCallback(function(a,d){if(a.defaultPrevented)return;let c=d(a);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let m=function v(p){return typeof p=="function"?v(p()):Array.isArray(p)||p instanceof Set?p:[p]}(t);for(let v of m)if(v!==null&&(v.contains(c)||a.composed&&a.composedPath().includes(v)))return;return!yt(c,Se.Loose)&&c.tabIndex!==-1&&a.preventDefault(),o.current(a,c)},[o,t]),u=s.useRef(null);H(r,"pointerdown",a=>{var d,c;u.current=((c=(d=a.composedPath)==null?void 0:d.call(a))==null?void 0:c[0])||a.target},!0),H(r,"mousedown",a=>{var d,c;u.current=((c=(d=a.composedPath)==null?void 0:d.call(a))==null?void 0:c[0])||a.target},!0),H(r,"click",a=>{Lt()||u.current&&(l(a,()=>u.current),u.current=null)},!0);let i=s.useRef({x:0,y:0});H(r,"touchstart",a=>{i.current.x=a.touches[0].clientX,i.current.y=a.touches[0].clientY},!0),H(r,"touchend",a=>{let d={x:a.changedTouches[0].clientX,y:a.changedTouches[0].clientY};if(!(Math.abs(d.x-i.current.x)>=ge||Math.abs(d.y-i.current.y)>=ge))return l(a,()=>a.target instanceof HTMLElement?a.target:null)},!0),Ce(r,"blur",a=>l(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function W(...e){return s.useMemo(()=>z(...e),[...e])}function De(e,t,n,r){let o=U(n);s.useEffect(()=>{e=e??window;function l(u){o.current(u)}return e.addEventListener(t,l,r),()=>e.removeEventListener(t,l,r)},[e,t,r])}function Mt(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),l=Math.max(0,e-o);n.style(r,"paddingRight",`${l}px`)}}}function Ct(){return Me()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(l=>l()).some(l=>l.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let i=X();i.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>i.dispose()))}let l=(o=window.scrollY)!=null?o:window.pageYOffset,u=null;t.addEventListener(e,"click",i=>{if(i.target instanceof HTMLElement)try{let a=i.target.closest("a");if(!a)return;let{hash:d}=new URL(a.href),c=e.querySelector(d);c&&!r(c)&&(u=c)}catch{}},!0),t.addEventListener(e,"touchstart",i=>{if(i.target instanceof HTMLElement)if(r(i.target)){let a=i.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(i.target,"touchAction","none")}),t.addEventListener(e,"touchmove",i=>{if(i.target instanceof HTMLElement){if(i.target.tagName==="INPUT")return;if(r(i.target)){let a=i.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&i.preventDefault()}else i.preventDefault()}},{passive:!1}),t.add(()=>{var i;let a=(i=window.scrollY)!=null?i:window.pageYOffset;l!==a&&window.scrollTo(0,l),u&&u.isConnected&&(u.scrollIntoView({block:"nearest"}),u=null)})})}}:{}}function Dt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function At(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let k=Pe(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:X(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:At(n)},o=[Ct(),Mt(),Dt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});k.subscribe(()=>{let e=k.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&k.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&k.dispatch("TEARDOWN",n)}});function kt(e,t,n=()=>({containers:[]})){let r=Le(k),o=t?r.get(t):void 0,l=o?o.count>0:!1;return O(()=>{if(!(!t||!e))return k.dispatch("PUSH",t,n),()=>k.dispatch("POP",t,n)},[e,t]),l}function Ot(e,t,n=()=>[document.body]){let r=N(e,"scroll-lock");kt(r,t,o=>{var l;return{containers:[...(l=o.containers)!=null?l:[],n]}})}function ie(e,t){let n=s.useRef([]),r=w(e);s.useEffect(()=>{let o=[...n.current];for(let[l,u]of t.entries())if(n.current[l]!==u){let i=r(t,o);return n.current=t,i}},[r,...t])}function Rt(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let L=[];Rt(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||L[0]===t.target)return;let n=t.target;n=n.closest(K),L.unshift(n??t.target),L=L.filter(r=>r!=null&&r.isConnected),L.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ae(e){let t=w(e),n=s.useRef(!1);s.useEffect(()=>(n.current=!1,()=>{n.current=!0,le(()=>{n.current&&t()})}),[t])}let ke=s.createContext(!1);function Nt(){return s.useContext(ke)}function Ee(e){return f.createElement(ke.Provider,{value:e.force},e.children)}function It(e){let t=Nt(),n=s.useContext(Re),r=W(e),[o,l]=s.useState(()=>{var u;if(!t&&n!==null)return(u=n.current)!=null?u:null;if(oe.isServer)return null;let i=r==null?void 0:r.getElementById("headlessui-portal-root");if(i)return i;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return s.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),s.useEffect(()=>{t||n!==null&&l(n.current)},[n,l,t]),o}let Oe=s.Fragment,Ht=y(function(e,t){let n=e,r=s.useRef(null),o=S(Je(m=>{r.current=m}),t),l=W(r),u=It(r),[i]=s.useState(()=>{var m;return oe.isServer?null:(m=l==null?void 0:l.createElement("div"))!=null?m:null}),a=s.useContext(re),d=ae();O(()=>{!u||!i||u.contains(i)||(i.setAttribute("data-headlessui-portal",""),u.appendChild(i))},[u,i]),O(()=>{if(i&&a)return a.register(i)},[a,i]),Ae(()=>{var m;!u||!i||(i instanceof Node&&u.contains(i)&&u.removeChild(i),u.childNodes.length<=0&&((m=u.parentElement)==null||m.removeChild(u)))});let c=x();return d?!u||!i?null:tt.createPortal(c({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:Oe,name:"Portal"}),i):null});function jt(e,t){let n=S(t),{enabled:r=!0,...o}=e,l=x();return r?f.createElement(Ht,{...o,ref:n}):l({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Oe,name:"Portal"})}let _t=s.Fragment,Re=s.createContext(null);function Bt(e,t){let{target:n,...r}=e,o={ref:S(t)},l=x();return f.createElement(Re.Provider,{value:n},l({ourProps:o,theirProps:r,defaultTag:_t,name:"Popover.Group"}))}let re=s.createContext(null);function Ut(){let e=s.useContext(re),t=s.useRef([]),n=w(l=>(t.current.push(l),e&&e.register(l),()=>r(l))),r=w(l=>{let u=t.current.indexOf(l);u!==-1&&t.current.splice(u,1),e&&e.unregister(l)}),o=s.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,s.useMemo(()=>function({children:l}){return f.createElement(re.Provider,{value:o},l)},[o])]}let Wt=y(jt),Ne=y(Bt),Vt=Object.assign(Wt,{Group:Ne});function Yt(e,t=typeof document<"u"?document.defaultView:null,n){let r=N(e,"escape");De(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Fe.Escape&&n(o))})}function Gt(){var e;let[t]=s.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=s.useState((e=t==null?void 0:t.matches)!=null?e:!1);return O(()=>{if(!t)return;function o(l){r(l.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function qt({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=W(n),o=w(()=>{var l,u;let i=[];for(let a of e)a!==null&&(a instanceof HTMLElement?i.push(a):"current"in a&&a.current instanceof HTMLElement&&i.push(a.current));if(t!=null&&t.current)for(let a of t.current)i.push(a);for(let a of(l=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?l:[])a!==document.body&&a!==document.head&&a instanceof HTMLElement&&a.id!=="headlessui-portal-root"&&(n&&(a.contains(n)||a.contains((u=n==null?void 0:n.getRootNode())==null?void 0:u.host))||i.some(d=>a.contains(d))||i.push(a));return i});return{resolveContainers:o,contains:w(l=>o().some(u=>u.contains(l)))}}let Ie=s.createContext(null);function we({children:e,node:t}){let[n,r]=s.useState(null),o=He(t??n);return f.createElement(Ie.Provider,{value:o},e,o===null&&f.createElement(ee,{features:q.Hidden,ref:l=>{var u,i;if(l){for(let a of(i=(u=z(l))==null?void 0:u.querySelectorAll("html > *, body > *"))!=null?i:[])if(a!==document.body&&a!==document.head&&a instanceof HTMLElement&&a!=null&&a.contains(l)){r(a);break}}}}))}function He(e=null){var t;return(t=s.useContext(Ie))!=null?t:e}var j=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(j||{});function Kt(){let e=s.useRef(0);return Ce(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function je(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let Xt="div";var A=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(A||{});function zt(e,t){let n=s.useRef(null),r=S(n,t),{initialFocus:o,initialFocusFallback:l,containers:u,features:i=15,...a}=e;ae()||(i=0);let d=W(n);en(i,{ownerDocument:d});let c=tn(i,{ownerDocument:d,container:n,initialFocus:o,initialFocusFallback:l});nn(i,{ownerDocument:d,container:n,containers:u,previousActiveElement:c});let m=Kt(),v=w(E=>{let P=n.current;P&&(b=>b())(()=>{Y(m.current,{[j.Forwards]:()=>{B(P,T.First,{skipElements:[E.relatedTarget,l]})},[j.Backwards]:()=>{B(P,T.Last,{skipElements:[E.relatedTarget,l]})}})})}),p=N(!!(i&2),"focus-trap#tab-lock"),h=Qe(),M=s.useRef(!1),C={ref:r,onKeyDown(E){E.key=="Tab"&&(M.current=!0,h.requestAnimationFrame(()=>{M.current=!1}))},onBlur(E){if(!(i&4))return;let P=je(u);n.current instanceof HTMLElement&&P.add(n.current);let b=E.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(_e(P,b)||(M.current?B(n.current,Y(m.current,{[j.Forwards]:()=>T.Next,[j.Backwards]:()=>T.Previous})|T.WrapAround,{relativeTo:E.target}):E.target instanceof HTMLElement&&F(E.target)))}},$=x();return f.createElement(f.Fragment,null,p&&f.createElement(ee,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:q.Focusable}),$({ourProps:C,theirProps:a,defaultTag:Xt,name:"FocusTrap"}),p&&f.createElement(ee,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:q.Focusable}))}let Zt=y(zt),Jt=Object.assign(Zt,{features:A});function Qt(e=!0){let t=s.useRef(L.slice());return ie(([n],[r])=>{r===!0&&n===!1&&le(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=L.slice())},[e,L,t]),w(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function en(e,{ownerDocument:t}){let n=!!(e&8),r=Qt(n);ie(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&F(r())},[n]),Ae(()=>{n&&F(r())})}function tn(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let l=s.useRef(null),u=N(!!(e&1),"focus-trap#initial-focus"),i=ye();return ie(()=>{if(e===0)return;if(!u){o!=null&&o.current&&F(o.current);return}let a=n.current;a&&le(()=>{if(!i.current)return;let d=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===d){l.current=d;return}}else if(a.contains(d)){l.current=d;return}if(r!=null&&r.current)F(r.current);else{if(e&16){if(B(a,T.First|T.AutoFocus)!==ne.Error)return}else if(B(a,T.First)!==ne.Error)return;if(o!=null&&o.current&&(F(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the ")}l.current=t==null?void 0:t.activeElement})},[o,u,e]),l}function nn(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=ye(),u=!!(e&4);De(t==null?void 0:t.defaultView,"focus",i=>{if(!u||!l.current)return;let a=je(r);n.current instanceof HTMLElement&&a.add(n.current);let d=o.current;if(!d)return;let c=i.target;c&&c instanceof HTMLElement?_e(a,c)?(o.current=c,F(c)):(i.preventDefault(),i.stopPropagation(),F(d)):F(o.current)},!0)}function _e(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var rn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rn||{}),on=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(on||{});let ln={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},se=s.createContext(null);se.displayName="DialogContext";function Z(e){let t=s.useContext(se);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Z),n}return t}function an(e,t){return Y(t.type,ln,e,t)}let be=y(function(e,t){let n=s.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:u,role:i="dialog",autoFocus:a=!0,__demoMode:d=!1,unmount:c=!1,...m}=e,v=s.useRef(!1);i=function(){return i==="dialog"||i==="alertdialog"?i:(v.current||(v.current=!0,console.warn(`Invalid role [${i}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let p=xe();o===void 0&&p!==null&&(o=(p&V.Open)===V.Open);let h=s.useRef(null),M=S(h,t),C=W(h),$=o?0:1,[E,P]=s.useReducer(an,{titleId:null,descriptionId:null,panelRef:s.createRef()}),b=w(()=>l(!1)),ce=w(g=>P({type:0,id:g})),R=ae()?$===0:!1,[Ue,We]=Ut(),Ve={get current(){var g;return(g=E.panelRef.current)!=null?g:h.current}},J=He(),{resolveContainers:Q}=qt({mainTreeNode:J,portals:Ue,defaultContainers:[Ve]}),de=p!==null?(p&V.Closing)===V.Closing:!1;vt(d||de?!1:R,{allowed:w(()=>{var g,me;return[(me=(g=h.current)==null?void 0:g.closest("[data-headlessui-portal]"))!=null?me:null]}),disallowed:w(()=>{var g;return[(g=J==null?void 0:J.closest("body > *:not(#headlessui-portal-root)"))!=null?g:null]})}),St(R,Q,g=>{g.preventDefault(),b()}),Yt(R,C==null?void 0:C.defaultView,g=>{g.preventDefault(),g.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),b()}),Ot(d||de?!1:R,C,Q),ht(R,h,b);let[Ye,Ge]=at(),qe=s.useMemo(()=>[{dialogState:$,close:b,setTitleId:ce,unmount:c},E],[$,E,b,ce,c]),fe=s.useMemo(()=>({open:$===0}),[$]),Ke={ref:M,id:r,role:i,tabIndex:-1,"aria-modal":d?void 0:$===0?!0:void 0,"aria-labelledby":E.titleId,"aria-describedby":Ye,unmount:c},Xe=!Gt(),I=A.None;R&&!d&&(I|=A.RestoreFocus,I|=A.TabLock,a&&(I|=A.AutoFocus),Xe&&(I|=A.InitialFocus));let ze=x();return f.createElement(et,null,f.createElement(Ee,{force:!0},f.createElement(Vt,null,f.createElement(se.Provider,{value:qe},f.createElement(Ne,{target:h},f.createElement(Ee,{force:!1},f.createElement(Ge,{slot:fe},f.createElement(We,null,f.createElement(Jt,{initialFocus:u,initialFocusFallback:h,containers:Q,features:I},f.createElement(ft,{value:b},ze({ourProps:Ke,theirProps:m,slot:fe,defaultTag:un,features:sn,visible:$===0,name:"Dialog"})))))))))))}),un="div",sn=pe.RenderStrategy|pe.Static;function cn(e,t){let{transition:n=!1,open:r,...o}=e,l=xe(),u=e.hasOwnProperty("open")||l!==null,i=e.hasOwnProperty("onClose");if(!u&&!i)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?f.createElement(we,null,f.createElement($e,{show:r,transition:n,unmount:o.unmount},f.createElement(be,{ref:t,...o}))):f.createElement(we,null,f.createElement(be,{ref:t,open:r,...o}))}let dn="div";function fn(e,t){let n=s.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:u,unmount:i},a]=Z("Dialog.Panel"),d=S(t,a.panelRef),c=s.useMemo(()=>({open:u===0}),[u]),m=w(C=>{C.stopPropagation()}),v={ref:d,id:r,onClick:m},p=o?G:s.Fragment,h=o?{unmount:i}:{},M=x();return f.createElement(p,{...h},M({ourProps:v,theirProps:l,slot:c,defaultTag:dn,name:"Dialog.Panel"}))}let mn="div";function pn(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=Z("Dialog.Backdrop"),u=s.useMemo(()=>({open:o===0}),[o]),i={ref:t,"aria-hidden":!0},a=n?G:s.Fragment,d=n?{unmount:l}:{},c=x();return f.createElement(a,{...d},c({ourProps:i,theirProps:r,slot:u,defaultTag:mn,name:"Dialog.Backdrop"}))}let vn="h2";function hn(e,t){let n=s.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:u}]=Z("Dialog.Title"),i=S(t);s.useEffect(()=>(u(r),()=>u(null)),[r,u]);let a=s.useMemo(()=>({open:l===0}),[l]),d={ref:i,id:r};return x()({ourProps:d,theirProps:o,slot:a,defaultTag:vn,name:"Dialog.Title"})}let gn=y(cn),Be=y(fn);y(pn);let En=y(hn),wn=Object.assign(gn,{Panel:Be,Title:En,Description:ct});function $n({children:e,show:t=!1,maxWidth:n="2xl",closeable:r=!0,onClose:o=()=>{}}){const l=()=>{r&&o()},u={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[n];return D.jsx($e,{show:t,leave:"duration-200",children:D.jsxs(wn,{as:"div",id:"modal",className:"fixed inset-0 z-50 flex transform items-center overflow-y-auto px-4 py-6 transition-all sm:px-0",onClose:l,children:[D.jsx(G,{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:D.jsx("div",{className:"absolute inset-0 bg-gray-500/75 dark:bg-gray-900/75"})}),D.jsx(G,{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:D.jsx(Be,{className:`mb-6 transform overflow-hidden rounded-lg bg-white shadow-xl transition-all sm:mx-auto sm:w-full dark:bg-gray-800 ${u}`,children:e})})]})})}function Tn({type:e="button",className:t="",disabled:n,children:r,...o}){return D.jsx("button",{...o,type:e,className:`inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-xs font-semibold uppercase tracking-widest text-gray-700 shadow-sm transition duration-150 ease-in-out hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:opacity-25 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:focus:ring-offset-gray-800 ${n&&"opacity-25"} `+t,disabled:n,children:r})}export{$n as M,Tn as S}; +import{a as Ze,r as s,U as f,j as D}from"./app-B6E0w6L4.js";import{s as oe,K as y,L as x,y as S,n as O,o as w,a as X,b as U,u as Y,t as le,T as Je,l as ae,p as Qe,f as ye,F as G,c as xe,z as $e,i as V,d as et,O as pe}from"./transition-CJNCwF2T.js";var tt=Ze();function z(e){return oe.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let nt=s.createContext(void 0);function rt(){return s.useContext(nt)}let ot="span";var q=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(q||{});function lt(e,t){var n;let{features:r=1,...o}=e,l={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return x()({ourProps:l,theirProps:o,slot:{},defaultTag:ot,name:"Hidden"})}let ee=y(lt),ue=s.createContext(null);ue.displayName="DescriptionContext";function Te(){let e=s.useContext(ue);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Te),t}return e}function at(){let[e,t]=s.useState([]);return[e.length>0?e.join(" "):void 0,s.useMemo(()=>function(n){let r=w(l=>(t(u=>[...u,l]),()=>t(u=>{let i=u.slice(),a=i.indexOf(l);return a!==-1&&i.splice(a,1),i}))),o=s.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return f.createElement(ue.Provider,{value:o},n.children)},[t])]}let ut="p";function it(e,t){let n=s.useId(),r=rt(),{id:o=`headlessui-description-${n}`,...l}=e,u=Te(),i=S(t);O(()=>u.register(o),[o,u.register]);let a=r||!1,d=s.useMemo(()=>({...u.slot,disabled:a}),[u.slot,a]),c={ref:i,...u.props,id:o};return x()({ourProps:c,theirProps:l,slot:d,defaultTag:ut,name:u.name||"Description"})}let st=y(it),ct=Object.assign(st,{});var Fe=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Fe||{});let dt=s.createContext(()=>{});function ft({value:e,children:t}){return f.createElement(dt.Provider,{value:e},t)}let mt=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Pe(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let u=t[o].call(n,...l);u&&(n=u,r.forEach(i=>i()))}}}function Le(e){return s.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let pt=new mt(()=>Pe(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function N(e,t){let n=pt.get(t),r=s.useId(),o=Le(n);if(O(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let l=o.indexOf(r),u=o.length;return l===-1&&(l=u,u+=1),l===u-1}let te=new Map,_=new Map;function ve(e){var t;let n=(t=_.get(e))!=null?t:0;return _.set(e,n+1),n!==0?()=>he(e):(te.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>he(e))}function he(e){var t;let n=(t=_.get(e))!=null?t:1;if(n===1?_.delete(e):_.set(e,n-1),n!==1)return;let r=te.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,te.delete(e))}function vt(e,{allowed:t,disallowed:n}={}){let r=N(e,"inert-others");O(()=>{var o,l;if(!r)return;let u=X();for(let a of(o=n==null?void 0:n())!=null?o:[])a&&u.add(ve(a));let i=(l=t==null?void 0:t())!=null?l:[];for(let a of i){if(!a)continue;let d=z(a);if(!d)continue;let c=a.parentElement;for(;c&&c!==d.body;){for(let m of c.children)i.some(v=>m.contains(v))||u.add(ve(m));c=c.parentElement}}return u.dispose},[r,t,n])}function ht(e,t,n){let r=U(o=>{let l=o.getBoundingClientRect();l.x===0&&l.y===0&&l.width===0&&l.height===0&&n()});s.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let l=X();if(typeof ResizeObserver<"u"){let u=new ResizeObserver(()=>r.current(o));u.observe(o),l.add(()=>u.disconnect())}if(typeof IntersectionObserver<"u"){let u=new IntersectionObserver(()=>r.current(o));u.observe(o),l.add(()=>u.disconnect())}return()=>l.dispose()},[t,r,e])}let K=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),gt=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var T=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(T||{}),ne=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(ne||{}),Et=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Et||{});function wt(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(K)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function bt(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(gt)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Se=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Se||{});function yt(e,t=0){var n;return e===((n=z(e))==null?void 0:n.body)?!1:Y(t,{0(){return e.matches(K)},1(){let r=e;for(;r!==null;){if(r.matches(K))return!0;r=r.parentElement}return!1}})}var xt=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(xt||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function F(e){e==null||e.focus({preventScroll:!0})}let $t=["textarea","input"].join(",");function Tt(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,$t))!=null?n:!1}function Ft(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),l=t(r);if(o===null||l===null)return 0;let u=o.compareDocumentPosition(l);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function B(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?Ft(e):e:t&64?bt(e):wt(e);o.length>0&&u.length>1&&(u=u.filter(p=>!o.some(h=>h!=null&&"current"in h?(h==null?void 0:h.current)===p:h===p))),r=r??l.activeElement;let i=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(r))-1;if(t&4)return Math.max(0,u.indexOf(r))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=t&32?{preventScroll:!0}:{},c=0,m=u.length,v;do{if(c>=m||c+m<=0)return 0;let p=a+c;if(t&16)p=(p+m)%m;else{if(p<0)return 3;if(p>=m)return 1}v=u[p],v==null||v.focus(d),c+=i}while(v!==l.activeElement);return t&6&&Tt(v)&&v.select(),2}function Me(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pt(){return/Android/gi.test(window.navigator.userAgent)}function Lt(){return Me()||Pt()}function H(e,t,n,r){let o=U(n);s.useEffect(()=>{if(!e)return;function l(u){o.current(u)}return document.addEventListener(t,l,r),()=>document.removeEventListener(t,l,r)},[e,t,r])}function Ce(e,t,n,r){let o=U(n);s.useEffect(()=>{if(!e)return;function l(u){o.current(u)}return window.addEventListener(t,l,r),()=>window.removeEventListener(t,l,r)},[e,t,r])}const ge=30;function St(e,t,n){let r=N(e,"outside-click"),o=U(n),l=s.useCallback(function(a,d){if(a.defaultPrevented)return;let c=d(a);if(c===null||!c.getRootNode().contains(c)||!c.isConnected)return;let m=function v(p){return typeof p=="function"?v(p()):Array.isArray(p)||p instanceof Set?p:[p]}(t);for(let v of m)if(v!==null&&(v.contains(c)||a.composed&&a.composedPath().includes(v)))return;return!yt(c,Se.Loose)&&c.tabIndex!==-1&&a.preventDefault(),o.current(a,c)},[o,t]),u=s.useRef(null);H(r,"pointerdown",a=>{var d,c;u.current=((c=(d=a.composedPath)==null?void 0:d.call(a))==null?void 0:c[0])||a.target},!0),H(r,"mousedown",a=>{var d,c;u.current=((c=(d=a.composedPath)==null?void 0:d.call(a))==null?void 0:c[0])||a.target},!0),H(r,"click",a=>{Lt()||u.current&&(l(a,()=>u.current),u.current=null)},!0);let i=s.useRef({x:0,y:0});H(r,"touchstart",a=>{i.current.x=a.touches[0].clientX,i.current.y=a.touches[0].clientY},!0),H(r,"touchend",a=>{let d={x:a.changedTouches[0].clientX,y:a.changedTouches[0].clientY};if(!(Math.abs(d.x-i.current.x)>=ge||Math.abs(d.y-i.current.y)>=ge))return l(a,()=>a.target instanceof HTMLElement?a.target:null)},!0),Ce(r,"blur",a=>l(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function W(...e){return s.useMemo(()=>z(...e),[...e])}function De(e,t,n,r){let o=U(n);s.useEffect(()=>{e=e??window;function l(u){o.current(u)}return e.addEventListener(t,l,r),()=>e.removeEventListener(t,l,r)},[e,t,r])}function Mt(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),l=Math.max(0,e-o);n.style(r,"paddingRight",`${l}px`)}}}function Ct(){return Me()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(l=>l()).some(l=>l.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let i=X();i.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>i.dispose()))}let l=(o=window.scrollY)!=null?o:window.pageYOffset,u=null;t.addEventListener(e,"click",i=>{if(i.target instanceof HTMLElement)try{let a=i.target.closest("a");if(!a)return;let{hash:d}=new URL(a.href),c=e.querySelector(d);c&&!r(c)&&(u=c)}catch{}},!0),t.addEventListener(e,"touchstart",i=>{if(i.target instanceof HTMLElement)if(r(i.target)){let a=i.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(i.target,"touchAction","none")}),t.addEventListener(e,"touchmove",i=>{if(i.target instanceof HTMLElement){if(i.target.tagName==="INPUT")return;if(r(i.target)){let a=i.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&i.preventDefault()}else i.preventDefault()}},{passive:!1}),t.add(()=>{var i;let a=(i=window.scrollY)!=null?i:window.pageYOffset;l!==a&&window.scrollTo(0,l),u&&u.isConnected&&(u.scrollIntoView({block:"nearest"}),u=null)})})}}:{}}function Dt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function At(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let k=Pe(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:X(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:At(n)},o=[Ct(),Mt(),Dt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});k.subscribe(()=>{let e=k.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&k.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&k.dispatch("TEARDOWN",n)}});function kt(e,t,n=()=>({containers:[]})){let r=Le(k),o=t?r.get(t):void 0,l=o?o.count>0:!1;return O(()=>{if(!(!t||!e))return k.dispatch("PUSH",t,n),()=>k.dispatch("POP",t,n)},[e,t]),l}function Ot(e,t,n=()=>[document.body]){let r=N(e,"scroll-lock");kt(r,t,o=>{var l;return{containers:[...(l=o.containers)!=null?l:[],n]}})}function ie(e,t){let n=s.useRef([]),r=w(e);s.useEffect(()=>{let o=[...n.current];for(let[l,u]of t.entries())if(n.current[l]!==u){let i=r(t,o);return n.current=t,i}},[r,...t])}function Rt(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let L=[];Rt(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||L[0]===t.target)return;let n=t.target;n=n.closest(K),L.unshift(n??t.target),L=L.filter(r=>r!=null&&r.isConnected),L.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ae(e){let t=w(e),n=s.useRef(!1);s.useEffect(()=>(n.current=!1,()=>{n.current=!0,le(()=>{n.current&&t()})}),[t])}let ke=s.createContext(!1);function Nt(){return s.useContext(ke)}function Ee(e){return f.createElement(ke.Provider,{value:e.force},e.children)}function It(e){let t=Nt(),n=s.useContext(Re),r=W(e),[o,l]=s.useState(()=>{var u;if(!t&&n!==null)return(u=n.current)!=null?u:null;if(oe.isServer)return null;let i=r==null?void 0:r.getElementById("headlessui-portal-root");if(i)return i;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return s.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),s.useEffect(()=>{t||n!==null&&l(n.current)},[n,l,t]),o}let Oe=s.Fragment,Ht=y(function(e,t){let n=e,r=s.useRef(null),o=S(Je(m=>{r.current=m}),t),l=W(r),u=It(r),[i]=s.useState(()=>{var m;return oe.isServer?null:(m=l==null?void 0:l.createElement("div"))!=null?m:null}),a=s.useContext(re),d=ae();O(()=>{!u||!i||u.contains(i)||(i.setAttribute("data-headlessui-portal",""),u.appendChild(i))},[u,i]),O(()=>{if(i&&a)return a.register(i)},[a,i]),Ae(()=>{var m;!u||!i||(i instanceof Node&&u.contains(i)&&u.removeChild(i),u.childNodes.length<=0&&((m=u.parentElement)==null||m.removeChild(u)))});let c=x();return d?!u||!i?null:tt.createPortal(c({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:Oe,name:"Portal"}),i):null});function jt(e,t){let n=S(t),{enabled:r=!0,...o}=e,l=x();return r?f.createElement(Ht,{...o,ref:n}):l({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Oe,name:"Portal"})}let _t=s.Fragment,Re=s.createContext(null);function Bt(e,t){let{target:n,...r}=e,o={ref:S(t)},l=x();return f.createElement(Re.Provider,{value:n},l({ourProps:o,theirProps:r,defaultTag:_t,name:"Popover.Group"}))}let re=s.createContext(null);function Ut(){let e=s.useContext(re),t=s.useRef([]),n=w(l=>(t.current.push(l),e&&e.register(l),()=>r(l))),r=w(l=>{let u=t.current.indexOf(l);u!==-1&&t.current.splice(u,1),e&&e.unregister(l)}),o=s.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,s.useMemo(()=>function({children:l}){return f.createElement(re.Provider,{value:o},l)},[o])]}let Wt=y(jt),Ne=y(Bt),Vt=Object.assign(Wt,{Group:Ne});function Yt(e,t=typeof document<"u"?document.defaultView:null,n){let r=N(e,"escape");De(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Fe.Escape&&n(o))})}function Gt(){var e;let[t]=s.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=s.useState((e=t==null?void 0:t.matches)!=null?e:!1);return O(()=>{if(!t)return;function o(l){r(l.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function qt({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=W(n),o=w(()=>{var l,u;let i=[];for(let a of e)a!==null&&(a instanceof HTMLElement?i.push(a):"current"in a&&a.current instanceof HTMLElement&&i.push(a.current));if(t!=null&&t.current)for(let a of t.current)i.push(a);for(let a of(l=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?l:[])a!==document.body&&a!==document.head&&a instanceof HTMLElement&&a.id!=="headlessui-portal-root"&&(n&&(a.contains(n)||a.contains((u=n==null?void 0:n.getRootNode())==null?void 0:u.host))||i.some(d=>a.contains(d))||i.push(a));return i});return{resolveContainers:o,contains:w(l=>o().some(u=>u.contains(l)))}}let Ie=s.createContext(null);function we({children:e,node:t}){let[n,r]=s.useState(null),o=He(t??n);return f.createElement(Ie.Provider,{value:o},e,o===null&&f.createElement(ee,{features:q.Hidden,ref:l=>{var u,i;if(l){for(let a of(i=(u=z(l))==null?void 0:u.querySelectorAll("html > *, body > *"))!=null?i:[])if(a!==document.body&&a!==document.head&&a instanceof HTMLElement&&a!=null&&a.contains(l)){r(a);break}}}}))}function He(e=null){var t;return(t=s.useContext(Ie))!=null?t:e}var j=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(j||{});function Kt(){let e=s.useRef(0);return Ce(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function je(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let Xt="div";var A=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(A||{});function zt(e,t){let n=s.useRef(null),r=S(n,t),{initialFocus:o,initialFocusFallback:l,containers:u,features:i=15,...a}=e;ae()||(i=0);let d=W(n);en(i,{ownerDocument:d});let c=tn(i,{ownerDocument:d,container:n,initialFocus:o,initialFocusFallback:l});nn(i,{ownerDocument:d,container:n,containers:u,previousActiveElement:c});let m=Kt(),v=w(E=>{let P=n.current;P&&(b=>b())(()=>{Y(m.current,{[j.Forwards]:()=>{B(P,T.First,{skipElements:[E.relatedTarget,l]})},[j.Backwards]:()=>{B(P,T.Last,{skipElements:[E.relatedTarget,l]})}})})}),p=N(!!(i&2),"focus-trap#tab-lock"),h=Qe(),M=s.useRef(!1),C={ref:r,onKeyDown(E){E.key=="Tab"&&(M.current=!0,h.requestAnimationFrame(()=>{M.current=!1}))},onBlur(E){if(!(i&4))return;let P=je(u);n.current instanceof HTMLElement&&P.add(n.current);let b=E.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(_e(P,b)||(M.current?B(n.current,Y(m.current,{[j.Forwards]:()=>T.Next,[j.Backwards]:()=>T.Previous})|T.WrapAround,{relativeTo:E.target}):E.target instanceof HTMLElement&&F(E.target)))}},$=x();return f.createElement(f.Fragment,null,p&&f.createElement(ee,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:q.Focusable}),$({ourProps:C,theirProps:a,defaultTag:Xt,name:"FocusTrap"}),p&&f.createElement(ee,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:q.Focusable}))}let Zt=y(zt),Jt=Object.assign(Zt,{features:A});function Qt(e=!0){let t=s.useRef(L.slice());return ie(([n],[r])=>{r===!0&&n===!1&&le(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=L.slice())},[e,L,t]),w(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function en(e,{ownerDocument:t}){let n=!!(e&8),r=Qt(n);ie(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&F(r())},[n]),Ae(()=>{n&&F(r())})}function tn(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let l=s.useRef(null),u=N(!!(e&1),"focus-trap#initial-focus"),i=ye();return ie(()=>{if(e===0)return;if(!u){o!=null&&o.current&&F(o.current);return}let a=n.current;a&&le(()=>{if(!i.current)return;let d=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===d){l.current=d;return}}else if(a.contains(d)){l.current=d;return}if(r!=null&&r.current)F(r.current);else{if(e&16){if(B(a,T.First|T.AutoFocus)!==ne.Error)return}else if(B(a,T.First)!==ne.Error)return;if(o!=null&&o.current&&(F(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the ")}l.current=t==null?void 0:t.activeElement})},[o,u,e]),l}function nn(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=ye(),u=!!(e&4);De(t==null?void 0:t.defaultView,"focus",i=>{if(!u||!l.current)return;let a=je(r);n.current instanceof HTMLElement&&a.add(n.current);let d=o.current;if(!d)return;let c=i.target;c&&c instanceof HTMLElement?_e(a,c)?(o.current=c,F(c)):(i.preventDefault(),i.stopPropagation(),F(d)):F(o.current)},!0)}function _e(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var rn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rn||{}),on=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(on||{});let ln={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},se=s.createContext(null);se.displayName="DialogContext";function Z(e){let t=s.useContext(se);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Z),n}return t}function an(e,t){return Y(t.type,ln,e,t)}let be=y(function(e,t){let n=s.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:u,role:i="dialog",autoFocus:a=!0,__demoMode:d=!1,unmount:c=!1,...m}=e,v=s.useRef(!1);i=function(){return i==="dialog"||i==="alertdialog"?i:(v.current||(v.current=!0,console.warn(`Invalid role [${i}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let p=xe();o===void 0&&p!==null&&(o=(p&V.Open)===V.Open);let h=s.useRef(null),M=S(h,t),C=W(h),$=o?0:1,[E,P]=s.useReducer(an,{titleId:null,descriptionId:null,panelRef:s.createRef()}),b=w(()=>l(!1)),ce=w(g=>P({type:0,id:g})),R=ae()?$===0:!1,[Ue,We]=Ut(),Ve={get current(){var g;return(g=E.panelRef.current)!=null?g:h.current}},J=He(),{resolveContainers:Q}=qt({mainTreeNode:J,portals:Ue,defaultContainers:[Ve]}),de=p!==null?(p&V.Closing)===V.Closing:!1;vt(d||de?!1:R,{allowed:w(()=>{var g,me;return[(me=(g=h.current)==null?void 0:g.closest("[data-headlessui-portal]"))!=null?me:null]}),disallowed:w(()=>{var g;return[(g=J==null?void 0:J.closest("body > *:not(#headlessui-portal-root)"))!=null?g:null]})}),St(R,Q,g=>{g.preventDefault(),b()}),Yt(R,C==null?void 0:C.defaultView,g=>{g.preventDefault(),g.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),b()}),Ot(d||de?!1:R,C,Q),ht(R,h,b);let[Ye,Ge]=at(),qe=s.useMemo(()=>[{dialogState:$,close:b,setTitleId:ce,unmount:c},E],[$,E,b,ce,c]),fe=s.useMemo(()=>({open:$===0}),[$]),Ke={ref:M,id:r,role:i,tabIndex:-1,"aria-modal":d?void 0:$===0?!0:void 0,"aria-labelledby":E.titleId,"aria-describedby":Ye,unmount:c},Xe=!Gt(),I=A.None;R&&!d&&(I|=A.RestoreFocus,I|=A.TabLock,a&&(I|=A.AutoFocus),Xe&&(I|=A.InitialFocus));let ze=x();return f.createElement(et,null,f.createElement(Ee,{force:!0},f.createElement(Vt,null,f.createElement(se.Provider,{value:qe},f.createElement(Ne,{target:h},f.createElement(Ee,{force:!1},f.createElement(Ge,{slot:fe},f.createElement(We,null,f.createElement(Jt,{initialFocus:u,initialFocusFallback:h,containers:Q,features:I},f.createElement(ft,{value:b},ze({ourProps:Ke,theirProps:m,slot:fe,defaultTag:un,features:sn,visible:$===0,name:"Dialog"})))))))))))}),un="div",sn=pe.RenderStrategy|pe.Static;function cn(e,t){let{transition:n=!1,open:r,...o}=e,l=xe(),u=e.hasOwnProperty("open")||l!==null,i=e.hasOwnProperty("onClose");if(!u&&!i)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?f.createElement(we,null,f.createElement($e,{show:r,transition:n,unmount:o.unmount},f.createElement(be,{ref:t,...o}))):f.createElement(we,null,f.createElement(be,{ref:t,open:r,...o}))}let dn="div";function fn(e,t){let n=s.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:u,unmount:i},a]=Z("Dialog.Panel"),d=S(t,a.panelRef),c=s.useMemo(()=>({open:u===0}),[u]),m=w(C=>{C.stopPropagation()}),v={ref:d,id:r,onClick:m},p=o?G:s.Fragment,h=o?{unmount:i}:{},M=x();return f.createElement(p,{...h},M({ourProps:v,theirProps:l,slot:c,defaultTag:dn,name:"Dialog.Panel"}))}let mn="div";function pn(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=Z("Dialog.Backdrop"),u=s.useMemo(()=>({open:o===0}),[o]),i={ref:t,"aria-hidden":!0},a=n?G:s.Fragment,d=n?{unmount:l}:{},c=x();return f.createElement(a,{...d},c({ourProps:i,theirProps:r,slot:u,defaultTag:mn,name:"Dialog.Backdrop"}))}let vn="h2";function hn(e,t){let n=s.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:u}]=Z("Dialog.Title"),i=S(t);s.useEffect(()=>(u(r),()=>u(null)),[r,u]);let a=s.useMemo(()=>({open:l===0}),[l]),d={ref:i,id:r};return x()({ourProps:d,theirProps:o,slot:a,defaultTag:vn,name:"Dialog.Title"})}let gn=y(cn),Be=y(fn);y(pn);let En=y(hn),wn=Object.assign(gn,{Panel:Be,Title:En,Description:ct});function $n({children:e,show:t=!1,maxWidth:n="2xl",closeable:r=!0,onClose:o=()=>{}}){const l=()=>{r&&o()},u={sm:"sm:max-w-sm",md:"sm:max-w-md",lg:"sm:max-w-lg",xl:"sm:max-w-xl","2xl":"sm:max-w-2xl"}[n];return D.jsx($e,{show:t,leave:"duration-200",children:D.jsxs(wn,{as:"div",id:"modal",className:"fixed inset-0 z-50 flex transform items-center overflow-y-auto px-4 py-6 transition-all sm:px-0",onClose:l,children:[D.jsx(G,{enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:D.jsx("div",{className:"absolute inset-0 bg-gray-500/75 dark:bg-gray-900/75"})}),D.jsx(G,{enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:D.jsx(Be,{className:`mb-6 transform overflow-hidden rounded-lg bg-white shadow-xl transition-all sm:mx-auto sm:w-full dark:bg-gray-800 ${u}`,children:e})})]})})}function Tn({type:e="button",className:t="",disabled:n,children:r,...o}){return D.jsx("button",{...o,type:e,className:`inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-xs font-semibold uppercase tracking-widest text-gray-700 shadow-sm transition duration-150 ease-in-out hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 disabled:opacity-25 dark:border-gray-500 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:focus:ring-offset-gray-800 ${n&&"opacity-25"} `+t,disabled:n,children:r})}export{$n as M,Tn as S}; diff --git a/public/build/assets/Shop-DXkrL95M.js b/public/build/assets/Shop-IZHZfXaI.js similarity index 95% rename from public/build/assets/Shop-DXkrL95M.js rename to public/build/assets/Shop-IZHZfXaI.js index e88e80a..a26460d 100644 --- a/public/build/assets/Shop-DXkrL95M.js +++ b/public/build/assets/Shop-IZHZfXaI.js @@ -1 +1 @@ -import{j as e,r as d,S as y,L as S}from"./app-kJd0IbDP.js";import{A as C}from"./AuthenticatedLayout-W4SJNb0d.js";import{F as j,a as k,P}from"./ProductItem-BWjSD-RP.js";import{P as F}from"./Pagination-Cc2qlCXO.js";import{l as L}from"./lodash-iefIKYHf.js";import"./iconBase-Brf-aoCc.js";function _(){return e.jsx("div",{className:"relative w-full h-64 bg-cover bg-center",style:{backgroundImage:"url('/images/shop-hero.jpg')"},children:e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center",children:e.jsx("h1",{className:"text-white text-3xl font-bold",children:"Welcome to Our Shop"})})})}function M({categories:s,selectedCategory:l,setSelectedCategory:t,setShowCategoryModal:n}){const r=s==null?void 0:s.slice(0,5);return e.jsxs("div",{className:"mb-6",children:[e.jsxs("div",{className:"flex justify-between items-center mb-3",children:[e.jsx("h2",{className:"text-md font-semibold",children:"Categories"}),(s==null?void 0:s.length)>5&&e.jsx("button",{onClick:()=>n(!0),className:"text-sm text-blue-500",children:"Browse All"})]}),e.jsx("ul",{className:"space-y-1",children:r==null?void 0:r.map(a=>e.jsx("li",{children:e.jsx("button",{className:`w-full text-left text-sm flex justify-between items-center p-1 ${l===a.id?"font-semibold text-primary":"text-gray-700"}`,onClick:()=>t(l===a.id?null:a.id),children:e.jsxs("span",{children:[a.name," (",a.products_count,")"]})})},a.id))}),l&&e.jsx("div",{className:"mt-3 pt-2 border-t border-gray-100",children:e.jsx("button",{onClick:()=>t(null),className:"w-full text-left text-sm text-blue-500 font-medium p-1 hover:bg-gray-50 rounded",children:"Show All Products"})})]})}function A({priceRange:s,handlePriceChange:l}){return e.jsxs("div",{className:"mb-6",children:[e.jsx("h2",{className:"text-md font-semibold mb-3",children:"Price Range"}),e.jsx("div",{className:"space-y-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"number",min:"0",max:"10000",value:s[0],onChange:t=>l(t,0),className:"w-full p-2 border rounded text-sm",placeholder:"Min"}),e.jsx("span",{className:"text-gray-500",children:"to"}),e.jsx("input",{type:"number",min:"0",max:"10000",value:s[1],onChange:t=>l(t,1),className:"w-full p-2 border rounded text-sm",placeholder:"Max"})]})})]})}function E({show:s,onClose:l,categories:t,selectedCategory:n,setSelectedCategory:r,searchTerm:a,setSearchTerm:c}){const m=t==null?void 0:t.filter(i=>i.name.toLowerCase().includes(a.toLowerCase()));return s?e.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:e.jsxs("div",{className:"bg-white rounded-lg w-full max-w-md max-h-[80vh] flex flex-col",children:[e.jsxs("div",{className:"p-4 border-b",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Select Category"}),e.jsx("button",{onClick:l,className:"text-gray-500",children:e.jsx(j,{})})]}),e.jsxs("div",{className:"relative mt-2",children:[e.jsx("input",{type:"text",placeholder:"Search categories...",value:a,onChange:i=>c(i.target.value),className:"w-full p-2 pl-8 border rounded text-sm"}),e.jsx(k,{className:"absolute left-2 top-3 text-gray-400"})]})]}),e.jsx("div",{className:"overflow-y-auto flex-1",children:e.jsx("ul",{className:"divide-y",children:m==null?void 0:m.map(i=>e.jsx("li",{children:e.jsxs("button",{className:`w-full text-left p-3 text-sm ${n===i.id?"bg-blue-50 text-primary font-medium":"text-gray-700"}`,onClick:()=>{r(i.id),l()},children:[i.name," (",i.products_count,")"]})},i.id))})}),e.jsx("div",{className:"p-4 border-t",children:e.jsx("button",{onClick:()=>{r(null),l()},className:"w-full py-2 text-sm text-blue-500",children:"Clear Selection"})})]})}):null}function I({isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n}){var r,a;return e.jsxs("div",{className:"flex items-center space-x-2",children:[s&&e.jsx("div",{className:"text-sm text-gray-500",children:"Applying filters..."}),l&&e.jsxs("div",{className:"flex items-center bg-gray-100 rounded px-2 py-1 text-sm",children:["Category:"," ",(a=(r=t.categories)==null?void 0:r.find(c=>c.id===l))==null?void 0:a.name,e.jsx("button",{onClick:n,className:"ml-1 text-gray-500 hover:text-gray-700",children:e.jsx(j,{size:12})})]})]})}function H({selectedSort:s,onSortChange:l,disabled:t}){return e.jsxs("select",{value:s,onChange:n=>l(n.target.value),className:"p-2 rounded border text-sm",disabled:t,children:[e.jsx("option",{value:"",children:"Sort By"}),e.jsx("option",{value:"price_asc",children:"Price Low to High"}),e.jsx("option",{value:"price_desc",children:"Price High to Low"}),e.jsx("option",{value:"latest",children:"Latest"})]})}function R({isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n,selectedSort:r,onSortChange:a}){return e.jsxs("div",{className:"flex justify-between items-center mb-4 bg-white p-3 rounded shadow",children:[e.jsx(I,{isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n}),e.jsx(H,{selectedSort:r,onSortChange:a,disabled:s})]})}function V({products:s,filters:l}){const[t,n]=d.useState(null),[r,a]=d.useState(""),[c,m]=d.useState([0,1e4]),[i,x]=d.useState(!1),[f,b]=d.useState(""),[g,u]=d.useState(!1),h=d.useCallback(L.debounce(o=>{y.get(route("shop"),o,{preserveScroll:!0,preserveState:!0,onFinish:()=>u(!1)})},600),[]);d.useEffect(()=>{u(!0),h({category:t,sort:r,price_min:c[0],price_max:c[1]})},[t,r,c,h]);const v=(o,N)=>{const p=[...c],w=parseInt(o.target.value)||0;p[N]=Math.min(Math.max(w,0),1e4),m(p)};return e.jsxs(C,{children:[e.jsx(S,{title:"Shop"}),e.jsx(_,{}),e.jsxs("div",{className:"flex flex-col md:flex-row px-4 py-6 gap-6 bg-gray-50",children:[e.jsxs("div",{className:"w-full md:w-1/5 bg-white p-4 rounded shadow",children:[e.jsx(M,{categories:l.categories,selectedCategory:t,setSelectedCategory:n,setShowCategoryModal:x}),e.jsx(A,{priceRange:c,handlePriceChange:v})]}),e.jsxs("div",{className:"w-full md:w-4/5",children:[e.jsx(R,{isFiltering:g,selectedCategory:t,filters:l,onClearCategory:()=>n(null),selectedSort:r,onSortChange:o=>a(o)}),s.data.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:s.data.map(o=>e.jsx(P,{product:o},o.id))}),e.jsx(F,{links:s.links,currentPage:s.meta.current_page,lastPage:s.meta.last_page})]}):e.jsxs("div",{className:"bg-white p-8 text-center rounded shadow",children:[e.jsx("p",{className:"text-gray-500",children:"No products found matching your filters."}),e.jsx("button",{onClick:()=>{n(null),a(""),m([0,1e4])},className:"mt-4 text-primary text-sm font-medium",children:"Clear all filters"})]})]})]}),e.jsx(E,{show:i,onClose:()=>x(!1),categories:l.categories,selectedCategory:t,setSelectedCategory:n,searchTerm:f,setSearchTerm:b})]})}export{V as default}; +import{j as e,r as d,S as y,L as S}from"./app-B6E0w6L4.js";import{A as C}from"./AuthenticatedLayout-BLEx6Kke.js";import{F as j,a as k,P}from"./ProductItem-DnYtUqCr.js";import{P as F}from"./Pagination-C3ZWC7TT.js";import{l as L}from"./lodash-CODVm1d2.js";import"./iconBase-DdwgI4CQ.js";function _(){return e.jsx("div",{className:"relative w-full h-64 bg-cover bg-center",style:{backgroundImage:"url('/images/shop-hero.jpg')"},children:e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center",children:e.jsx("h1",{className:"text-white text-3xl font-bold",children:"Welcome to Our Shop"})})})}function M({categories:s,selectedCategory:l,setSelectedCategory:t,setShowCategoryModal:n}){const r=s==null?void 0:s.slice(0,5);return e.jsxs("div",{className:"mb-6",children:[e.jsxs("div",{className:"flex justify-between items-center mb-3",children:[e.jsx("h2",{className:"text-md font-semibold",children:"Categories"}),(s==null?void 0:s.length)>5&&e.jsx("button",{onClick:()=>n(!0),className:"text-sm text-blue-500",children:"Browse All"})]}),e.jsx("ul",{className:"space-y-1",children:r==null?void 0:r.map(a=>e.jsx("li",{children:e.jsx("button",{className:`w-full text-left text-sm flex justify-between items-center p-1 ${l===a.id?"font-semibold text-primary":"text-gray-700"}`,onClick:()=>t(l===a.id?null:a.id),children:e.jsxs("span",{children:[a.name," (",a.products_count,")"]})})},a.id))}),l&&e.jsx("div",{className:"mt-3 pt-2 border-t border-gray-100",children:e.jsx("button",{onClick:()=>t(null),className:"w-full text-left text-sm text-blue-500 font-medium p-1 hover:bg-gray-50 rounded",children:"Show All Products"})})]})}function A({priceRange:s,handlePriceChange:l}){return e.jsxs("div",{className:"mb-6",children:[e.jsx("h2",{className:"text-md font-semibold mb-3",children:"Price Range"}),e.jsx("div",{className:"space-y-2",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"number",min:"0",max:"10000",value:s[0],onChange:t=>l(t,0),className:"w-full p-2 border rounded text-sm",placeholder:"Min"}),e.jsx("span",{className:"text-gray-500",children:"to"}),e.jsx("input",{type:"number",min:"0",max:"10000",value:s[1],onChange:t=>l(t,1),className:"w-full p-2 border rounded text-sm",placeholder:"Max"})]})})]})}function E({show:s,onClose:l,categories:t,selectedCategory:n,setSelectedCategory:r,searchTerm:a,setSearchTerm:c}){const m=t==null?void 0:t.filter(i=>i.name.toLowerCase().includes(a.toLowerCase()));return s?e.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4",children:e.jsxs("div",{className:"bg-white rounded-lg w-full max-w-md max-h-[80vh] flex flex-col",children:[e.jsxs("div",{className:"p-4 border-b",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("h3",{className:"text-lg font-semibold",children:"Select Category"}),e.jsx("button",{onClick:l,className:"text-gray-500",children:e.jsx(j,{})})]}),e.jsxs("div",{className:"relative mt-2",children:[e.jsx("input",{type:"text",placeholder:"Search categories...",value:a,onChange:i=>c(i.target.value),className:"w-full p-2 pl-8 border rounded text-sm"}),e.jsx(k,{className:"absolute left-2 top-3 text-gray-400"})]})]}),e.jsx("div",{className:"overflow-y-auto flex-1",children:e.jsx("ul",{className:"divide-y",children:m==null?void 0:m.map(i=>e.jsx("li",{children:e.jsxs("button",{className:`w-full text-left p-3 text-sm ${n===i.id?"bg-blue-50 text-primary font-medium":"text-gray-700"}`,onClick:()=>{r(i.id),l()},children:[i.name," (",i.products_count,")"]})},i.id))})}),e.jsx("div",{className:"p-4 border-t",children:e.jsx("button",{onClick:()=>{r(null),l()},className:"w-full py-2 text-sm text-blue-500",children:"Clear Selection"})})]})}):null}function I({isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n}){var r,a;return e.jsxs("div",{className:"flex items-center space-x-2",children:[s&&e.jsx("div",{className:"text-sm text-gray-500",children:"Applying filters..."}),l&&e.jsxs("div",{className:"flex items-center bg-gray-100 rounded px-2 py-1 text-sm",children:["Category:"," ",(a=(r=t.categories)==null?void 0:r.find(c=>c.id===l))==null?void 0:a.name,e.jsx("button",{onClick:n,className:"ml-1 text-gray-500 hover:text-gray-700",children:e.jsx(j,{size:12})})]})]})}function H({selectedSort:s,onSortChange:l,disabled:t}){return e.jsxs("select",{value:s,onChange:n=>l(n.target.value),className:"p-2 rounded border text-sm",disabled:t,children:[e.jsx("option",{value:"",children:"Sort By"}),e.jsx("option",{value:"price_asc",children:"Price Low to High"}),e.jsx("option",{value:"price_desc",children:"Price High to Low"}),e.jsx("option",{value:"latest",children:"Latest"})]})}function R({isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n,selectedSort:r,onSortChange:a}){return e.jsxs("div",{className:"flex justify-between items-center mb-4 bg-white p-3 rounded shadow",children:[e.jsx(I,{isFiltering:s,selectedCategory:l,filters:t,onClearCategory:n}),e.jsx(H,{selectedSort:r,onSortChange:a,disabled:s})]})}function V({products:s,filters:l}){const[t,n]=d.useState(null),[r,a]=d.useState(""),[c,m]=d.useState([0,1e4]),[i,x]=d.useState(!1),[f,b]=d.useState(""),[g,u]=d.useState(!1),h=d.useCallback(L.debounce(o=>{y.get(route("shop"),o,{preserveScroll:!0,preserveState:!0,onFinish:()=>u(!1)})},600),[]);d.useEffect(()=>{u(!0),h({category:t,sort:r,price_min:c[0],price_max:c[1]})},[t,r,c,h]);const v=(o,N)=>{const p=[...c],w=parseInt(o.target.value)||0;p[N]=Math.min(Math.max(w,0),1e4),m(p)};return e.jsxs(C,{children:[e.jsx(S,{title:"Shop"}),e.jsx(_,{}),e.jsxs("div",{className:"flex flex-col md:flex-row px-4 py-6 gap-6 bg-gray-50",children:[e.jsxs("div",{className:"w-full md:w-1/5 bg-white p-4 rounded shadow",children:[e.jsx(M,{categories:l.categories,selectedCategory:t,setSelectedCategory:n,setShowCategoryModal:x}),e.jsx(A,{priceRange:c,handlePriceChange:v})]}),e.jsxs("div",{className:"w-full md:w-4/5",children:[e.jsx(R,{isFiltering:g,selectedCategory:t,filters:l,onClearCategory:()=>n(null),selectedSort:r,onSortChange:o=>a(o)}),s.data.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4",children:s.data.map(o=>e.jsx(P,{product:o},o.id))}),e.jsx(F,{links:s.links,currentPage:s.meta.current_page,lastPage:s.meta.last_page})]}):e.jsxs("div",{className:"bg-white p-8 text-center rounded shadow",children:[e.jsx("p",{className:"text-gray-500",children:"No products found matching your filters."}),e.jsx("button",{onClick:()=>{n(null),a(""),m([0,1e4])},className:"mt-4 text-primary text-sm font-medium",children:"Clear all filters"})]})]})]}),e.jsx(E,{show:i,onClose:()=>x(!1),categories:l.categories,selectedCategory:t,setSelectedCategory:n,searchTerm:f,setSearchTerm:b})]})}export{V as default}; diff --git a/public/build/assets/Show-DNnZWPQ2.js b/public/build/assets/Show-DNnZWPQ2.js new file mode 100644 index 0000000..b4ab20f --- /dev/null +++ b/public/build/assets/Show-DNnZWPQ2.js @@ -0,0 +1 @@ +import{r as d,j as e,m as f,K as q,S as C,L as O,$ as j}from"./app-B6E0w6L4.js";import{a as I,A as S,C as A}from"./AuthenticatedLayout-BLEx6Kke.js";import{G as k}from"./iconBase-DdwgI4CQ.js";function E({images:c}){var l;const[s,u]=d.useState(0);return e.jsxs("div",{className:"flex flex-col md:flex-row h-full gap-4",children:[e.jsx("div",{className:"flex md:flex-col gap-2 overflow-x-auto md:overflow-x-visible md:overflow-y-auto py-2 px-1 md:px-0",children:c.map((x,r)=>e.jsx("button",{onClick:()=>u(r),className:`flex-shrink-0 w-14 h-14 border-2 rounded-md overflow-hidden ${r===s?"border-orange-500":"border-transparent"}`,children:e.jsx("img",{src:x.thumb,alt:"",className:"w-full h-full object-cover"})},x.id))}),e.jsx("div",{className:"flex-1 bg-gray-50 rounded-lg overflow-hidden min-h-[300px] md:min-h-0",children:e.jsx("img",{src:((l=c[s])==null?void 0:l.large)||"",alt:"",className:"w-full h-full object-contain"})})]})}function L(c){return k({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M0 24C0 10.7 10.7 0 24 0L69.5 0c22 0 41.5 12.8 50.6 32l411 0c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM252 160c0 11 9 20 20 20l44 0 0 44c0 11 9 20 20 20s20-9 20-20l0-44 44 0c11 0 20-9 20-20s-9-20-20-20l-44 0 0-44c0-11-9-20-20-20s-20 9-20 20l0 44-44 0c-11 0-20 9-20 20z"},child:[]}]})(c)}function F({appName:c,product:s,variationOptions:u}){var g;const l=f({option_ids:{},quantity:1,price:null}),{url:x}=q(),[r,v]=d.useState([]),h=d.useMemo(()=>{for(let t in r){const n=r[t];if(n.images.length>0)return n.images}return s.images},[s,r]),m=d.useMemo(()=>{const t=Object.values(r).map(n=>n.id).sort();for(let n of s.variations){const a=n.variation_type_option_ids.sort();if(I(t,a))return{price:n.price,quantity:n.quantity===null?Number.MAX_VALUE:n.quantity}}return{price:s.price,quantity:s.quantity}},[s,r]);d.useEffect(()=>{for(let t of s.variationTypes){const n=u[t.id];p(t.id,t.options.find(a=>a.id==n)||t.options[0],!1)}},[]);const b=t=>Object.fromEntries(Object.entries(t).map(([n,a])=>[n,a.id])),p=(t,n,a=!0)=>{v(o=>{const i={...o,[t]:n};return a&&C.get(x,{options:b(i)},{preserveScroll:!0,preserveState:!0}),i})},{data:M,setData:T}=f({quantity:1}),y=t=>{const n=parseInt(t.target.value);l.setData("quantity",n)},N=()=>{l.post(route("cart.store",s.id),{preserveScroll:!0,preserveState:!0,onError:t=>{console.log(t)}})},w=()=>s.variationTypes.map((t,n)=>e.jsxs("div",{className:"flex flex-col mb-4",children:[e.jsx("b",{className:"mb-2",children:t.name}),t.type==="Image"&&e.jsx("div",{className:"flex gap-2",children:t.options.map(a=>{var o,i;return e.jsx("div",{onClick:()=>p(t.id,a),className:`cursor-pointer border rounded p-1 ${((o=r[t.id])==null?void 0:o.id)===a.id?"border-2 border-orange-600":"border-gray-300"}`,children:((i=a.images)==null?void 0:i.length)>0&&e.jsx("img",{src:a.images[0].thumb,alt:a.name,className:"w-[50px] h-[50px] object-cover rounded"})},a.id)})}),t.type==="Radio"&&e.jsx("div",{className:"flex join",children:t.options.map(a=>{var o,i;return e.jsx("input",{onChange:()=>p(t.id,a),className:`joint-item btn rounded-md ${((o=r[t.id])==null?void 0:o.id)===a.id?"primary":""}`,type:"radio",value:a.id,checked:((i=r[t.id])==null?void 0:i.id)===a.id,name:"variation_type_"+t.id,"aria-label":a.name},a.id)})})]},t.id)),_=()=>e.jsxs("div",{className:"mb-6 flex flex-wrap items-center gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"quantity",className:"text-sm font-medium",children:"Qty:"}),e.jsx("select",{id:"quantity",value:l.data.quantity,onChange:y,className:"text-sm px-2 py-1 rounded-md border border-gray-300 focus:outline-none focus:ring-1 focus:ring-orange-500",children:Array.from({length:m.quantity},(t,n)=>n+1).map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsxs("button",{onClick:N,className:"bg-orange-800 hover:bg-orange-700 text-white text-sm font-medium px-3 py-2 rounded-md transition flex items-center gap-1.5 shadow-sm",children:[e.jsx(L,{className:"w-4 h-4"}),"Add to Cart"]})]});return d.useEffect(()=>{const t=Object.fromEntries(Object.entries(r).map(([n,a])=>[n,a.id]));l.setData("option_ids",t),console.log("selected option",r)},[r]),e.jsxs(S,{children:[e.jsxs(O,{children:[e.jsx("title",{children:s.title}),e.jsx("meta",{name:"title",content:s.meta_title||s.title}),e.jsx("meta",{name:"description",content:s.meta_description}),e.jsx("link",{rel:"canonical",href:route("product.show",s.slug)}),e.jsx("meta",{property:"og:title",content:s.title}),e.jsx("meta",{property:"og:description",content:s.meta_description}),e.jsx("meta",{property:"og:image",content:(g=h[0])==null?void 0:g.small}),e.jsx("meta",{property:"og:url",content:route("product.show",s.slug)}),e.jsx("meta",{property:"og:type",content:"product"}),e.jsx("meta",{property:"og:site_name",content:c})]}),e.jsx("div",{className:"container mx-auto p-4 md:p-8 min-h-[calc(100vh-150px)]",children:e.jsxs("div",{className:"grid gap-8 grid-cols-1 lg:grid-cols-12",children:[e.jsx("div",{className:"lg:col-span-6 lg:sticky lg:top-4 lg:self-start",children:e.jsx(E,{images:h})}),e.jsxs("div",{className:"lg:col-span-6 lg:overflow-y-auto scrollbar-hide",children:[e.jsx("h1",{className:"text-2xl font-bold",children:s.title}),e.jsxs("p",{className:"mb-4",children:["by"," ",e.jsx(j,{href:route("vendor.profile",s.user.store_name),className:"hover:underline",children:s.user.name})," ","in"," ",e.jsx(j,{href:route("product.byDepartment",s.department.slug),className:"hover:underline",children:s.department.name})]}),e.jsx("div",{className:"text-3xl font-semibold mb-6",children:e.jsx(A,{amount:m.price})}),s.variationTypes.length>0&&e.jsx("div",{children:w()}),m.quantity!=null&&m.quantity<10&&e.jsxs("div",{className:"text-red-600 my-4",children:["Only ",m.quantity," left"]}),e.jsx("div",{className:"my-6 sticky bottom-0 bg-white py-4 z-10 lg:static lg:bg-transparent lg:py-0",children:_()}),e.jsxs("div",{className:"product-description pb-8",children:[e.jsx("h2",{className:"text-xl font-bold mb-2",children:"About the Item"}),e.jsx("div",{className:"prose max-w-none text-gray-700 ck-content-output",dangerouslySetInnerHTML:{__html:s.description}})]})]})]})})]})}export{F as default}; diff --git a/public/build/assets/Show-Dn0ta4ct.js b/public/build/assets/Show-Dn0ta4ct.js deleted file mode 100644 index 37d2673..0000000 --- a/public/build/assets/Show-Dn0ta4ct.js +++ /dev/null @@ -1 +0,0 @@ -import{r as d,j as e,m as g,K as q,S as C,L as O,$ as j}from"./app-kJd0IbDP.js";import{a as I,A as S,C as A}from"./AuthenticatedLayout-W4SJNb0d.js";import{G as k}from"./iconBase-Brf-aoCc.js";function E({images:c}){var l;const[s,u]=d.useState(0);return e.jsxs("div",{className:"flex flex-col md:flex-row h-full gap-4",children:[e.jsx("div",{className:"flex md:flex-col gap-2 overflow-x-auto md:overflow-x-visible md:overflow-y-auto py-2 px-1 md:px-0",children:c.map((x,n)=>e.jsx("button",{onClick:()=>u(n),className:`flex-shrink-0 w-14 h-14 border-2 rounded-md overflow-hidden ${n===s?"border-blue-500":"border-transparent"}`,children:e.jsx("img",{src:x.thumb,alt:"",className:"w-full h-full object-cover"})},x.id))}),e.jsx("div",{className:"flex-1 bg-gray-50 rounded-lg overflow-hidden min-h-[300px] md:min-h-0",children:e.jsx("img",{src:((l=c[s])==null?void 0:l.large)||"",alt:"",className:"w-full h-full object-contain"})})]})}function L(c){return k({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M0 24C0 10.7 10.7 0 24 0L69.5 0c22 0 41.5 12.8 50.6 32l411 0c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM252 160c0 11 9 20 20 20l44 0 0 44c0 11 9 20 20 20s20-9 20-20l0-44 44 0c11 0 20-9 20-20s-9-20-20-20l-44 0 0-44c0-11-9-20-20-20s-20 9-20 20l0 44-44 0c-11 0-20 9-20 20z"},child:[]}]})(c)}function F({appName:c,product:s,variationOptions:u}){var f;const l=g({option_ids:{},quantity:1,price:null}),{url:x}=q(),[n,v]=d.useState([]),h=d.useMemo(()=>{for(let t in n){const r=n[t];if(r.images.length>0)return r.images}return s.images},[s,n]),m=d.useMemo(()=>{const t=Object.values(n).map(r=>r.id).sort();for(let r of s.variations){const a=r.variation_type_option_ids.sort();if(I(t,a))return{price:r.price,quantity:r.quantity===null?Number.MAX_VALUE:r.quantity}}return{price:s.price,quantity:s.quantity}},[s,n]);d.useEffect(()=>{for(let t of s.variationTypes){const r=u[t.id];p(t.id,t.options.find(a=>a.id==r)||t.options[0],!1)}},[]);const b=t=>Object.fromEntries(Object.entries(t).map(([r,a])=>[r,a.id])),p=(t,r,a=!0)=>{v(o=>{const i={...o,[t]:r};return a&&C.get(x,{options:b(i)},{preserveScroll:!0,preserveState:!0}),i})},{data:M,setData:T}=g({quantity:1}),y=t=>{const r=parseInt(t.target.value);l.setData("quantity",r)},N=()=>{l.post(route("cart.store",s.id),{preserveScroll:!0,preserveState:!0,onError:t=>{console.log(t)}})},w=()=>s.variationTypes.map((t,r)=>e.jsxs("div",{className:"flex flex-col mb-4",children:[e.jsx("b",{className:"mb-2",children:t.name}),t.type==="Image"&&e.jsx("div",{className:"flex gap-2",children:t.options.map(a=>{var o,i;return e.jsx("div",{onClick:()=>p(t.id,a),className:`cursor-pointer border rounded p-1 ${((o=n[t.id])==null?void 0:o.id)===a.id?"border-2 border-violet-600":"border-gray-300"}`,children:((i=a.images)==null?void 0:i.length)>0&&e.jsx("img",{src:a.images[0].thumb,alt:a.name,className:"w-[50px] h-[50px] object-cover rounded"})},a.id)})}),t.type==="Radio"&&e.jsx("div",{className:"flex join",children:t.options.map(a=>{var o,i;return e.jsx("input",{onChange:()=>p(t.id,a),className:`joint-item btn rounded-md ${((o=n[t.id])==null?void 0:o.id)===a.id?"primary":""}`,type:"radio",value:a.id,checked:((i=n[t.id])==null?void 0:i.id)===a.id,name:"variation_type_"+t.id,"aria-label":a.name},a.id)})})]},t.id)),_=()=>e.jsxs("div",{className:"mb-6 flex flex-wrap items-center gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"quantity",className:"text-sm font-medium",children:"Qty:"}),e.jsx("select",{id:"quantity",value:l.data.quantity,onChange:y,className:"text-sm px-2 py-1 rounded-md border border-gray-300 focus:outline-none focus:ring-1 focus:ring-purple-500",children:Array.from({length:m.quantity},(t,r)=>r+1).map(t=>e.jsx("option",{value:t,children:t},t))})]}),e.jsxs("button",{onClick:N,className:"bg-purple-800 hover:bg-purple-700 text-white text-sm font-medium px-3 py-2 rounded-md transition flex items-center gap-1.5 shadow-sm",children:[e.jsx(L,{className:"w-4 h-4"}),"Add to Cart"]})]});return d.useEffect(()=>{const t=Object.fromEntries(Object.entries(n).map(([r,a])=>[r,a.id]));l.setData("option_ids",t),console.log("selected option",n)},[n]),e.jsxs(S,{children:[e.jsxs(O,{children:[e.jsx("title",{children:s.title}),e.jsx("meta",{name:"title",content:s.meta_title||s.title}),e.jsx("meta",{name:"description",content:s.meta_description}),e.jsx("link",{rel:"canonical",href:route("product.show",s.slug)}),e.jsx("meta",{property:"og:title",content:s.title}),e.jsx("meta",{property:"og:description",content:s.meta_description}),e.jsx("meta",{property:"og:image",content:(f=h[0])==null?void 0:f.small}),e.jsx("meta",{property:"og:url",content:route("product.show",s.slug)}),e.jsx("meta",{property:"og:type",content:"product"}),e.jsx("meta",{property:"og:site_name",content:c})]}),e.jsx("div",{className:"container mx-auto p-4 md:p-8 min-h-[calc(100vh-150px)]",children:e.jsxs("div",{className:"grid gap-8 grid-cols-1 lg:grid-cols-12",children:[e.jsx("div",{className:"lg:col-span-6 lg:sticky lg:top-4 lg:self-start",children:e.jsx(E,{images:h})}),e.jsxs("div",{className:"lg:col-span-6 lg:overflow-y-auto scrollbar-hide",children:[e.jsx("h1",{className:"text-2xl font-bold",children:s.title}),e.jsxs("p",{className:"mb-4",children:["by"," ",e.jsx(j,{href:route("vendor.profile",s.user.store_name),className:"hover:underline",children:s.user.name})," ","in"," ",e.jsx(j,{href:route("product.byDepartment",s.department.slug),className:"hover:underline",children:s.department.name})]}),e.jsx("div",{className:"text-3xl font-semibold mb-6",children:e.jsx(A,{amount:m.price})}),s.variationTypes.length>0&&e.jsx("div",{children:w()}),m.quantity!=null&&m.quantity<10&&e.jsxs("div",{className:"text-red-600 my-4",children:["Only ",m.quantity," left"]}),e.jsx("div",{className:"my-6 sticky bottom-0 bg-white py-4 z-10 lg:static lg:bg-transparent lg:py-0",children:_()}),e.jsxs("div",{className:"product-description pb-8",children:[e.jsx("h2",{className:"text-xl font-bold mb-2",children:"About the Item"}),e.jsx("div",{className:"prose max-w-none text-gray-700 ck-content-output",dangerouslySetInnerHTML:{__html:s.description}})]})]})]})})]})}export{F as default}; diff --git a/public/build/assets/Success-IbmVzAHH.js b/public/build/assets/Success-CIbnBwjG.js similarity index 80% rename from public/build/assets/Success-IbmVzAHH.js rename to public/build/assets/Success-CIbnBwjG.js index ea8fdc8..dfd899e 100644 --- a/public/build/assets/Success-IbmVzAHH.js +++ b/public/build/assets/Success-CIbnBwjG.js @@ -1 +1 @@ -import{r as a,j as e,L as i,$ as r}from"./app-kJd0IbDP.js";import{A as d,C as x}from"./AuthenticatedLayout-W4SJNb0d.js";function c({title:s,titleId:t,...l},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},l),s?a.createElement("title",{id:t},s):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const o=a.forwardRef(c);function u({orders:s}){return e.jsxs(d,{children:[e.jsx(i,{title:"Payment Completed"}),e.jsxs("div",{className:"max-w-3xl mx-auto py-12 px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col items-center text-center mb-10",children:[e.jsx(o,{className:"w-24 h-24 text-green-500 mb-4"}),e.jsx("h1",{className:"text-4xl font-bold mb-2",children:"Payment Successful"}),e.jsx("p",{className:"text-gray-600 dark:text-gray-300 text-lg",children:"Thank you for your purchase! Below is your order summary."})]}),s.map(t=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 shadow-md rounded-2xl p-6 mb-8",children:[e.jsxs("h2",{className:"text-2xl font-semibold mb-4 text-gray-800 dark:text-white",children:["Order #",t.id]}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Seller"}),e.jsx(r,{href:"#",className:"text-indigo-600 hover:underline dark:text-indigo-400",children:t.vendorUser.store_name})]}),e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Items"}),e.jsx("span",{children:t.orderItems.length})]}),e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Total"}),e.jsx("span",{className:"font-bold text-gray-800 dark:text-white",children:e.jsx(x,{amount:t.total_price})})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:justify-between gap-3",children:[e.jsx(r,{href:"#",className:"btn bg-purple-800 hover:bg-purple-700 text-white rounded-full",children:"View Order Details"}),e.jsx(r,{href:route("dashboard"),className:"w-full sm:w-auto inline-flex justify-center items-center px-5 py-2.5 bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 text-sm font-medium rounded-full text-gray-800 dark:text-white transition",children:"Back to Home"})]})]},t.id))]})]})}export{u as default}; +import{r as a,j as e,L as i,$ as r}from"./app-B6E0w6L4.js";import{A as d,C as x}from"./AuthenticatedLayout-BLEx6Kke.js";function o({title:s,titleId:t,...l},n){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},l),s?a.createElement("title",{id:t},s):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const c=a.forwardRef(o);function u({orders:s}){return e.jsxs(d,{children:[e.jsx(i,{title:"Payment Completed"}),e.jsxs("div",{className:"max-w-3xl mx-auto py-12 px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"flex flex-col items-center text-center mb-10",children:[e.jsx(c,{className:"w-24 h-24 text-green-500 mb-4"}),e.jsx("h1",{className:"text-4xl font-bold mb-2",children:"Payment Successful"}),e.jsx("p",{className:"text-gray-600 dark:text-gray-300 text-lg",children:"Thank you for your purchase! Below is your order summary."})]}),s.map(t=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 shadow-md rounded-2xl p-6 mb-8",children:[e.jsxs("h2",{className:"text-2xl font-semibold mb-4 text-gray-800 dark:text-white",children:["Order #",t.id]}),e.jsxs("div",{className:"space-y-3 mb-6",children:[e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Seller"}),e.jsx(r,{href:"#",className:"text-orange-600 hover:underline dark:text-orange-400",children:t.vendorUser.store_name})]}),e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Items"}),e.jsx("span",{children:t.orderItems.length})]}),e.jsxs("div",{className:"flex justify-between text-gray-500 dark:text-gray-400",children:[e.jsx("span",{className:"font-medium",children:"Total"}),e.jsx("span",{className:"font-bold text-gray-800 dark:text-white",children:e.jsx(x,{amount:t.total_price})})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:justify-between gap-3",children:[e.jsx(r,{href:"#",className:"btn bg-orange-800 hover:bg-orange-700 text-white rounded-full",children:"View Order Details"}),e.jsx(r,{href:route("dashboard"),className:"w-full sm:w-auto inline-flex justify-center items-center px-5 py-2.5 bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 text-sm font-medium rounded-full text-gray-800 dark:text-white transition",children:"Back to Home"})]})]},t.id))]})]})}export{u as default}; diff --git a/public/build/assets/TextInput-2Zxn4f6N.js b/public/build/assets/TextInput-2Zxn4f6N.js deleted file mode 100644 index 7f4fb63..0000000 --- a/public/build/assets/TextInput-2Zxn4f6N.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,j as f}from"./app-kJd0IbDP.js";const d=o.forwardRef(function({type:n="text",className:s="",isFocused:t=!1,...u},a){const e=o.useRef(null);return o.useImperativeHandle(a,()=>({focus:()=>{var r;return(r=e.current)==null?void 0:r.focus()}})),o.useEffect(()=>{var r;t&&((r=e.current)==null||r.focus())},[t]),f.jsx("input",{...u,type:n,className:"input rounded-md border border-gray-300 shadow-sm dark:text-gray-300 focus:border-violet-900 focus:ring-1 focus:ring-violet-900 dark:focus:border-indigo-600 dark:focus:ring-1 dark:focus:ring-indigo-600 focus:outline-none transition-all duration-200 ease-in-out "+s,ref:e})});export{d as T}; diff --git a/public/build/assets/TextInput-CzFtGuNa.js b/public/build/assets/TextInput-CzFtGuNa.js new file mode 100644 index 0000000..b0a7c8a --- /dev/null +++ b/public/build/assets/TextInput-CzFtGuNa.js @@ -0,0 +1 @@ +import{r as e,j as f}from"./app-B6E0w6L4.js";const d=e.forwardRef(function({type:t="text",className:s="",isFocused:n=!1,...a},u){const o=e.useRef(null);return e.useImperativeHandle(u,()=>({focus:()=>{var r;return(r=o.current)==null?void 0:r.focus()}})),e.useEffect(()=>{var r;n&&((r=o.current)==null||r.focus())},[n]),f.jsx("input",{...a,type:t,className:"input rounded-md border border-gray-300 shadow-sm dark:text-gray-300 focus:border-orange-900 focus:ring-1 focus:ring-orange-900 dark:focus:border-orange-600 dark:focus:ring-1 dark:focus:ring-orange-600 focus:outline-none transition-all duration-200 ease-in-out "+s,ref:o})});export{d as T}; diff --git a/public/build/assets/UpdatePasswordForm-C3ug_JPj.js b/public/build/assets/UpdatePasswordForm-D8WTbvGV.js similarity index 87% rename from public/build/assets/UpdatePasswordForm-C3ug_JPj.js rename to public/build/assets/UpdatePasswordForm-D8WTbvGV.js index a5512c1..a899390 100644 --- a/public/build/assets/UpdatePasswordForm-C3ug_JPj.js +++ b/public/build/assets/UpdatePasswordForm-D8WTbvGV.js @@ -1 +1 @@ -import{r as w,m as v,j as s}from"./app-kJd0IbDP.js";import{I as n}from"./InputError-Bj0LQZBM.js";import{I as d}from"./InputLabel-BDH987uX.js";import{P as y}from"./PrimaryButton-BVnvhlTS.js";import{T as c}from"./TextInput-2Zxn4f6N.js";import{z as _}from"./transition-BXkMYQ9e.js";function S({className:x=""}){const p=w.useRef(null),l=w.useRef(null),{data:e,setData:a,errors:t,put:f,reset:o,processing:j,recentlySuccessful:h}=v({current_password:"",password:"",password_confirmation:""}),g=r=>{r.preventDefault(),f(route("password.update"),{preserveScroll:!0,onSuccess:()=>o(),onError:m=>{var u,i;m.password&&(o("password","password_confirmation"),(u=p.current)==null||u.focus()),m.current_password&&(o("current_password"),(i=l.current)==null||i.focus())}})};return s.jsxs("section",{className:x,children:[s.jsxs("header",{children:[s.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Update Password"}),s.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Ensure your account is using a long, random password to stay secure."})]}),s.jsxs("form",{onSubmit:g,className:"mt-6 space-y-6",children:[s.jsxs("div",{children:[s.jsx(d,{htmlFor:"current_password",value:"Current Password"}),s.jsx(c,{id:"current_password",ref:l,value:e.current_password,onChange:r=>a("current_password",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"current-password"}),s.jsx(n,{message:t.current_password,className:"mt-2"})]}),s.jsxs("div",{children:[s.jsx(d,{htmlFor:"password",value:"New Password"}),s.jsx(c,{id:"password",ref:p,value:e.password,onChange:r=>a("password",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"new-password"}),s.jsx(n,{message:t.password,className:"mt-2"})]}),s.jsxs("div",{children:[s.jsx(d,{htmlFor:"password_confirmation",value:"Confirm Password"}),s.jsx(c,{id:"password_confirmation",value:e.password_confirmation,onChange:r=>a("password_confirmation",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"new-password"}),s.jsx(n,{message:t.password_confirmation,className:"mt-2"})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(y,{disabled:j,children:"Save"}),s.jsx(_,{show:h,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:s.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Saved."})})]})]})]})}export{S as default}; +import{r as w,m as v,j as s}from"./app-B6E0w6L4.js";import{I as n}from"./InputError-BK-bpf-Z.js";import{I as d}from"./InputLabel-D3zgZD4-.js";import{P as y}from"./PrimaryButton-Cl-9UxbA.js";import{T as c}from"./TextInput-CzFtGuNa.js";import{z as _}from"./transition-CJNCwF2T.js";function S({className:x=""}){const p=w.useRef(null),l=w.useRef(null),{data:e,setData:a,errors:t,put:f,reset:o,processing:j,recentlySuccessful:h}=v({current_password:"",password:"",password_confirmation:""}),g=r=>{r.preventDefault(),f(route("password.update"),{preserveScroll:!0,onSuccess:()=>o(),onError:m=>{var u,i;m.password&&(o("password","password_confirmation"),(u=p.current)==null||u.focus()),m.current_password&&(o("current_password"),(i=l.current)==null||i.focus())}})};return s.jsxs("section",{className:x,children:[s.jsxs("header",{children:[s.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Update Password"}),s.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Ensure your account is using a long, random password to stay secure."})]}),s.jsxs("form",{onSubmit:g,className:"mt-6 space-y-6",children:[s.jsxs("div",{children:[s.jsx(d,{htmlFor:"current_password",value:"Current Password"}),s.jsx(c,{id:"current_password",ref:l,value:e.current_password,onChange:r=>a("current_password",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"current-password"}),s.jsx(n,{message:t.current_password,className:"mt-2"})]}),s.jsxs("div",{children:[s.jsx(d,{htmlFor:"password",value:"New Password"}),s.jsx(c,{id:"password",ref:p,value:e.password,onChange:r=>a("password",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"new-password"}),s.jsx(n,{message:t.password,className:"mt-2"})]}),s.jsxs("div",{children:[s.jsx(d,{htmlFor:"password_confirmation",value:"Confirm Password"}),s.jsx(c,{id:"password_confirmation",value:e.password_confirmation,onChange:r=>a("password_confirmation",r.target.value),type:"password",className:"mt-1 block w-full",autoComplete:"new-password"}),s.jsx(n,{message:t.password_confirmation,className:"mt-2"})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(y,{disabled:j,children:"Save"}),s.jsx(_,{show:h,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:s.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Saved."})})]})]})]})}export{S as default}; diff --git a/public/build/assets/UpdateProfileInformationForm-D0A1aBaG.js b/public/build/assets/UpdateProfileInformationForm-CyL58q6Z.js similarity index 84% rename from public/build/assets/UpdateProfileInformationForm-D0A1aBaG.js rename to public/build/assets/UpdateProfileInformationForm-CyL58q6Z.js index cfb5aea..95af749 100644 --- a/public/build/assets/UpdateProfileInformationForm-D0A1aBaG.js +++ b/public/build/assets/UpdateProfileInformationForm-CyL58q6Z.js @@ -1 +1 @@ -import{K as h,m as g,j as e,$ as v}from"./app-kJd0IbDP.js";import{I as n}from"./InputError-Bj0LQZBM.js";import{I as o}from"./InputLabel-BDH987uX.js";import{P as j}from"./PrimaryButton-BVnvhlTS.js";import{T as m}from"./TextInput-2Zxn4f6N.js";import{z as y}from"./transition-BXkMYQ9e.js";function F({mustVerifyEmail:l,status:d,className:c=""}){const t=h().props.auth.user,{data:r,setData:s,patch:u,errors:i,processing:x,recentlySuccessful:f}=g({name:t.name,email:t.email}),p=a=>{a.preventDefault(),u(route("profile.update"))};return e.jsxs("section",{className:c,children:[e.jsxs("header",{children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Profile Information"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Update your account's profile information and email address."})]}),e.jsxs("form",{onSubmit:p,className:"mt-6 space-y-6",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",value:"Name"}),e.jsx(m,{id:"name",className:"mt-1 block w-full",value:r.name,onChange:a=>s("name",a.target.value),required:!0,isFocused:!0,autoComplete:"name"}),e.jsx(n,{className:"mt-2",message:i.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"email",value:"Email"}),e.jsx(m,{id:"email",type:"email",className:"mt-1 block w-full",value:r.email,onChange:a=>s("email",a.target.value),required:!0,autoComplete:"username"}),e.jsx(n,{className:"mt-2",message:i.email})]}),l&&t.email_verified_at===null&&e.jsxs("div",{children:[e.jsxs("p",{className:"mt-2 text-sm text-gray-800 dark:text-gray-200",children:["Your email address is unverified.",e.jsx(v,{href:route("verification.send"),method:"post",as:"button",className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Click here to re-send the verification email."})]}),d==="verification-link-sent"&&e.jsx("div",{className:"mt-2 text-sm font-medium text-green-600 dark:text-green-400",children:"A new verification link has been sent to your email address."})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(j,{disabled:x,children:"Save"}),e.jsx(y,{show:f,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Saved."})})]})]})]})}export{F as default}; +import{K as h,m as g,j as e,$ as v}from"./app-B6E0w6L4.js";import{I as n}from"./InputError-BK-bpf-Z.js";import{I as o}from"./InputLabel-D3zgZD4-.js";import{P as j}from"./PrimaryButton-Cl-9UxbA.js";import{T as m}from"./TextInput-CzFtGuNa.js";import{z as y}from"./transition-CJNCwF2T.js";function F({mustVerifyEmail:l,status:d,className:c=""}){const t=h().props.auth.user,{data:r,setData:s,patch:u,errors:i,processing:x,recentlySuccessful:f}=g({name:t.name,email:t.email}),p=a=>{a.preventDefault(),u(route("profile.update"))};return e.jsxs("section",{className:c,children:[e.jsxs("header",{children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Profile Information"}),e.jsx("p",{className:"mt-1 text-sm text-gray-600 dark:text-gray-400",children:"Update your account's profile information and email address."})]}),e.jsxs("form",{onSubmit:p,className:"mt-6 space-y-6",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"name",value:"Name"}),e.jsx(m,{id:"name",className:"mt-1 block w-full",value:r.name,onChange:a=>s("name",a.target.value),required:!0,isFocused:!0,autoComplete:"name"}),e.jsx(n,{className:"mt-2",message:i.name})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"email",value:"Email"}),e.jsx(m,{id:"email",type:"email",className:"mt-1 block w-full",value:r.email,onChange:a=>s("email",a.target.value),required:!0,autoComplete:"username"}),e.jsx(n,{className:"mt-2",message:i.email})]}),l&&t.email_verified_at===null&&e.jsxs("div",{children:[e.jsxs("p",{className:"mt-2 text-sm text-gray-800 dark:text-gray-200",children:["Your email address is unverified.",e.jsx(v,{href:route("verification.send"),method:"post",as:"button",className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Click here to re-send the verification email."})]}),d==="verification-link-sent"&&e.jsx("div",{className:"mt-2 text-sm font-medium text-green-600 dark:text-green-400",children:"A new verification link has been sent to your email address."})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(j,{disabled:x,children:"Save"}),e.jsx(y,{show:f,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Saved."})})]})]})]})}export{F as default}; diff --git a/public/build/assets/VendorDetails-ErwMJ8Pk.js b/public/build/assets/VendorDetails-_O7S3r4M.js similarity index 78% rename from public/build/assets/VendorDetails-ErwMJ8Pk.js rename to public/build/assets/VendorDetails-_O7S3r4M.js index 25af554..f7013aa 100644 --- a/public/build/assets/VendorDetails-ErwMJ8Pk.js +++ b/public/build/assets/VendorDetails-_O7S3r4M.js @@ -1 +1 @@ -import{r as h,K as f,m as k,j as e}from"./app-kJd0IbDP.js";import{P as a}from"./PrimaryButton-BVnvhlTS.js";import{M as V,S as E}from"./SecondaryButton-DV5_lPRn.js";import{I as j}from"./InputLabel-BDH987uX.js";import{T as B}from"./TextInput-2Zxn4f6N.js";import{I as v}from"./InputError-Bj0LQZBM.js";import"./transition-BXkMYQ9e.js";function P({className:g=""}){var u,x,p;const[b,n]=h.useState(!1),[N,c]=h.useState(""),s=f().props.auth.user,S=f().props.csrf_token,{data:d,setData:l,errors:i,post:m,processing:o,recentlySuccessful:_}=k({store_name:((u=s.vendor)==null?void 0:u.store_name)||s.name.toLowerCase().replace(/\s+/g,"-"),store_address:((x=s.vendor)==null?void 0:x.store_address)||""}),y=r=>{l("store_name",r.target.value.toLowerCase().replace(/\s+/g,"-"))},w=r=>{r.preventDefault(),m(route("vendor.store"),{preserveScroll:!0,onSuccess:()=>{t(),c("You can now create and publish products.")},onError:()=>{}})},C=r=>{r.preventDefault(),m(route("vendor.store"),{preserveScroll:!0,onSuccess:()=>{t(),c("Your details were updated.")},onError:()=>{}})},t=()=>{n(!1)};return e.jsxs("section",{className:g,children:[_&&e.jsx("div",{className:"toast toast-top toast-end z-[1000]",children:e.jsx("div",{className:"alert alert-success text-white",children:e.jsx("span",{children:N})})}),e.jsx("header",{children:e.jsxs("h2",{className:"flex justify-between mb-8 text-lg font-medium text-gray-900 dark:text-gray-100",children:["Vendor Details",((p=s.vendor)==null?void 0:p.status)&&e.jsx("span",{className:`badge text-white ${{pending:"badge-warning",rejected:"badge-error",approved:"badge-success"}[s.vendor.status]||""}`,children:s.vendor.status_label})]})}),e.jsxs("div",{children:[!s.vendor&&e.jsx(a,{onClick:r=>n(!0),disabled:o,children:"Become a Vendor"}),s.vendor&&e.jsxs(e.Fragment,{children:[e.jsxs("form",{onSubmit:C,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(j,{htmlFor:"name",value:"Store Name"}),e.jsx(B,{id:"store_name",value:d.store_name,onChange:y,required:!0,isFocused:!0,autoComplete:"store_name",className:"mt-1 block w-full"}),e.jsx(v,{className:"mt-2",message:i.store_name})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(j,{htmlFor:"name",value:"Store Address"}),e.jsx("textarea",{value:d.store_address,onChange:r=>l("store_address",r.target.value),className:"textarea textarea-bordered w-full mt-1 focus:border-violet-900 focus:ring-1 focus:ring-violet-900 dark:focus:border-indigo-600 dark:focus:ring-1 dark:focus:ring-indigo-600 focus:outline-none transition-all duration-200 ease-in-out",placeholder:"Enter Your Store Address"}),e.jsx(v,{className:"mt-2",message:i.store_address})]}),e.jsx("div",{className:"flex items-center gap-4",children:e.jsx(a,{disabled:o,children:"Update"})})]}),e.jsxs("form",{action:route("stripe.connect"),method:"post",className:"my-8",children:[e.jsx("input",{type:"hidden",name:"_token",value:S}),s.stripe_account_active&&e.jsx("div",{className:"text-center text-gray-600 my-4 text-sm",children:"Yor are successfully connected to Stripe"}),e.jsx("div",{className:"w-full",children:e.jsx(a,{className:"w-full justify-center",disabled:s.stripe_account_active,children:"Connect to Stripe"})})]})]})]}),e.jsx(V,{show:b,onClose:t,children:e.jsxs("form",{onSubmit:w,className:"p-8",children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Are you sure you want to become a Vendor?"}),e.jsxs("div",{className:"mt-6 flex justify-end space-x-3",children:[e.jsx(E,{onClick:t,className:"normal-case",children:"Cancel"}),e.jsx(a,{disabled:o,className:"normal-case",children:"Confirm"})]})]})})]})}export{P as default}; +import{r as h,K as f,m as k,j as e}from"./app-B6E0w6L4.js";import{P as a}from"./PrimaryButton-Cl-9UxbA.js";import{M as V,S as E}from"./SecondaryButton-DxY62z5E.js";import{I as j}from"./InputLabel-D3zgZD4-.js";import{T as B}from"./TextInput-CzFtGuNa.js";import{I as g}from"./InputError-BK-bpf-Z.js";import"./transition-CJNCwF2T.js";function P({className:v=""}){var u,x,p;const[b,n]=h.useState(!1),[N,c]=h.useState(""),s=f().props.auth.user,S=f().props.csrf_token,{data:d,setData:l,errors:i,post:m,processing:o,recentlySuccessful:_}=k({store_name:((u=s.vendor)==null?void 0:u.store_name)||s.name.toLowerCase().replace(/\s+/g,"-"),store_address:((x=s.vendor)==null?void 0:x.store_address)||""}),y=r=>{l("store_name",r.target.value.toLowerCase().replace(/\s+/g,"-"))},w=r=>{r.preventDefault(),m(route("vendor.store"),{preserveScroll:!0,onSuccess:()=>{t(),c("You can now create and publish products.")},onError:()=>{}})},C=r=>{r.preventDefault(),m(route("vendor.store"),{preserveScroll:!0,onSuccess:()=>{t(),c("Your details were updated.")},onError:()=>{}})},t=()=>{n(!1)};return e.jsxs("section",{className:v,children:[_&&e.jsx("div",{className:"toast toast-top toast-end z-[1000]",children:e.jsx("div",{className:"alert alert-success text-white",children:e.jsx("span",{children:N})})}),e.jsx("header",{children:e.jsxs("h2",{className:"flex justify-between mb-8 text-lg font-medium text-gray-900 dark:text-gray-100",children:["Vendor Details",((p=s.vendor)==null?void 0:p.status)&&e.jsx("span",{className:`badge text-white ${{pending:"badge-warning",rejected:"badge-error",approved:"badge-success"}[s.vendor.status]||""}`,children:s.vendor.status_label})]})}),e.jsxs("div",{children:[!s.vendor&&e.jsx(a,{onClick:r=>n(!0),disabled:o,children:"Become a Vendor"}),s.vendor&&e.jsxs(e.Fragment,{children:[e.jsxs("form",{onSubmit:C,children:[e.jsxs("div",{className:"mb-4",children:[e.jsx(j,{htmlFor:"name",value:"Store Name"}),e.jsx(B,{id:"store_name",value:d.store_name,onChange:y,required:!0,isFocused:!0,autoComplete:"store_name",className:"mt-1 block w-full"}),e.jsx(g,{className:"mt-2",message:i.store_name})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx(j,{htmlFor:"name",value:"Store Address"}),e.jsx("textarea",{value:d.store_address,onChange:r=>l("store_address",r.target.value),className:"textarea textarea-bordered w-full mt-1 focus:border-orange-900 focus:ring-1 focus:ring-orange-900 dark:focus:border-orange-600 dark:focus:ring-1 dark:focus:ring-orange-600 focus:outline-none transition-all duration-200 ease-in-out",placeholder:"Enter Your Store Address"}),e.jsx(g,{className:"mt-2",message:i.store_address})]}),e.jsx("div",{className:"flex items-center gap-4",children:e.jsx(a,{disabled:o,children:"Update"})})]}),e.jsxs("form",{action:route("stripe.connect"),method:"post",className:"my-8",children:[e.jsx("input",{type:"hidden",name:"_token",value:S}),s.stripe_account_active&&e.jsx("div",{className:"text-center text-gray-600 my-4 text-sm",children:"Yor are successfully connected to Stripe"}),e.jsx("div",{className:"w-full",children:e.jsx(a,{className:"w-full justify-center",disabled:s.stripe_account_active,children:"Connect to Stripe"})})]})]})]}),e.jsx(V,{show:b,onClose:t,children:e.jsxs("form",{onSubmit:w,className:"p-8",children:[e.jsx("h2",{className:"text-lg font-medium text-gray-900 dark:text-gray-100",children:"Are you sure you want to become a Vendor?"}),e.jsxs("div",{className:"mt-6 flex justify-end space-x-3",children:[e.jsx(E,{onClick:t,className:"normal-case",children:"Cancel"}),e.jsx(a,{disabled:o,className:"normal-case",children:"Confirm"})]})]})})]})}export{P as default}; diff --git a/public/build/assets/VerifyEmail-J-xkGcDB.js b/public/build/assets/VerifyEmail-BVV51JxW.js similarity index 80% rename from public/build/assets/VerifyEmail-J-xkGcDB.js rename to public/build/assets/VerifyEmail-BVV51JxW.js index 94fce65..2b9cbe1 100644 --- a/public/build/assets/VerifyEmail-J-xkGcDB.js +++ b/public/build/assets/VerifyEmail-BVV51JxW.js @@ -1 +1 @@ -import{m as o,j as e,L as a,$ as d}from"./app-kJd0IbDP.js";import{P as l}from"./PrimaryButton-BVnvhlTS.js";import{G as m}from"./GuestLayout-DGrv1UVs.js";function g({status:t}){const{post:i,processing:r}=o({}),s=n=>{n.preventDefault(),i(route("verification.send"))};return e.jsxs(m,{children:[e.jsx(a,{title:"Email Verification"}),e.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another."}),t==="verification-link-sent"&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600 dark:text-green-400",children:"A new verification link has been sent to the email address you provided during registration."}),e.jsx("form",{onSubmit:s,children:e.jsxs("div",{className:"mt-4 flex items-center justify-between",children:[e.jsx(l,{disabled:r,children:"Resend Verification Email"}),e.jsx(d,{href:route("logout"),method:"post",as:"button",className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Log Out"})]})})]})}export{g as default}; +import{m as o,j as e,L as a,$ as d}from"./app-B6E0w6L4.js";import{P as l}from"./PrimaryButton-Cl-9UxbA.js";import{G as m}from"./GuestLayout-ZGVtllzz.js";function g({status:t}){const{post:i,processing:r}=o({}),s=n=>{n.preventDefault(),i(route("verification.send"))};return e.jsxs(m,{children:[e.jsx(a,{title:"Email Verification"}),e.jsx("div",{className:"mb-4 text-sm text-gray-600 dark:text-gray-400",children:"Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another."}),t==="verification-link-sent"&&e.jsx("div",{className:"mb-4 text-sm font-medium text-green-600 dark:text-green-400",children:"A new verification link has been sent to the email address you provided during registration."}),e.jsx("form",{onSubmit:s,children:e.jsxs("div",{className:"mt-4 flex items-center justify-between",children:[e.jsx(l,{disabled:r,children:"Resend Verification Email"}),e.jsx(d,{href:route("logout"),method:"post",as:"button",className:"rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800",children:"Log Out"})]})})]})}export{g as default}; diff --git a/public/build/assets/app-B6E0w6L4.js b/public/build/assets/app-B6E0w6L4.js new file mode 100644 index 0000000..460250c --- /dev/null +++ b/public/build/assets/app-B6E0w6L4.js @@ -0,0 +1,114 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ConfirmPassword-BJKefs1w.js","assets/InputError-BK-bpf-Z.js","assets/InputLabel-D3zgZD4-.js","assets/PrimaryButton-Cl-9UxbA.js","assets/TextInput-CzFtGuNa.js","assets/GuestLayout-ZGVtllzz.js","assets/ForgotPassword-BeWfe9li.js","assets/Login-B4_A5Xkv.js","assets/AuthenticatedLayout-BLEx6Kke.js","assets/Register-D3HwLnm2.js","assets/ResetPassword-Cb-FNz7H.js","assets/VerifyEmail-BVV51JxW.js","assets/Index-MEMR_GxU.js","assets/lodash-CODVm1d2.js","assets/Dashboard-IGlOdbv9.js","assets/Index-DvMMcpNN.js","assets/ProductItem-DnYtUqCr.js","assets/iconBase-DdwgI4CQ.js","assets/Pagination-C3ZWC7TT.js","assets/Home-D4BA1ao3.js","assets/Shop-IZHZfXaI.js","assets/Show-DNnZWPQ2.js","assets/Edit-RX-sAnJB.js","assets/DeleteUserForm-ClEwrIf0.js","assets/SecondaryButton-DxY62z5E.js","assets/transition-CJNCwF2T.js","assets/UpdatePasswordForm-D8WTbvGV.js","assets/UpdateProfileInformationForm-CyL58q6Z.js","assets/VendorDetails-_O7S3r4M.js","assets/Failure-DoDaTNaI.js","assets/Success-CIbnBwjG.js","assets/Profile-DWtbW8PS.js"])))=>i.map(i=>d[i]); +function yy(n,o){for(var l=0;lu[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}const vy="modulepreload",gy=function(n){return"/build/"+n},pd={},pt=function(o,l,u){let c=Promise.resolve();if(l&&l.length>0){let d=function(S){return Promise.all(S.map(v=>Promise.resolve(v).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),x=(m==null?void 0:m.nonce)||(m==null?void 0:m.getAttribute("nonce"));c=d(l.map(S=>{if(S=gy(S),S in pd)return;pd[S]=!0;const v=S.endsWith(".css"),_=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${_}`))return;const F=document.createElement("link");if(F.rel=v?"stylesheet":vy,v||(F.as="script"),F.crossOrigin="",F.href=S,x&&F.setAttribute("nonce",x),document.head.appendChild(F),v)return new Promise((R,E)=>{F.addEventListener("load",R),F.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${S}`)))})}))}function p(d){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=d,window.dispatchEvent(m),!m.defaultPrevented)throw d}return c.then(d=>{for(const m of d||[])m.status==="rejected"&&p(m.reason);return o().catch(p)})};var qi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ku(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function wy(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var o=n.default;if(typeof o=="function"){var l=function u(){return this instanceof u?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};l.prototype=o.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(n).forEach(function(u){var c=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(l,u,c.get?c:{enumerable:!0,get:function(){return n[u]}})}),l}var Fs={exports:{}},Oo={},Ds={exports:{}},Te={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hd;function Sy(){if(hd)return Te;hd=1;var n=Symbol.for("react.element"),o=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),_=Symbol.iterator;function F(w){return w===null||typeof w!="object"?null:(w=_&&w[_]||w["@@iterator"],typeof w=="function"?w:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,L={};function g(w,z,b){this.props=w,this.context=z,this.refs=L,this.updater=b||R}g.prototype.isReactComponent={},g.prototype.setState=function(w,z){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,z,"setState")},g.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function C(){}C.prototype=g.prototype;function T(w,z,b){this.props=w,this.context=z,this.refs=L,this.updater=b||R}var $=T.prototype=new C;$.constructor=T,E($,g.prototype),$.isPureReactComponent=!0;var B=Array.isArray,H=Object.prototype.hasOwnProperty,K={current:null},Q={key:!0,ref:!0,__self:!0,__source:!0};function oe(w,z,b){var re,J={},me=null,Ae=null;if(z!=null)for(re in z.ref!==void 0&&(Ae=z.ref),z.key!==void 0&&(me=""+z.key),z)H.call(z,re)&&!Q.hasOwnProperty(re)&&(J[re]=z[re]);var ye=arguments.length-2;if(ye===1)J.children=b;else if(1o=>{const l=Cy.call(o);return n[l]||(n[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=n=>(n=n.toLowerCase(),o=>Kl(o)===n),Ql=n=>o=>typeof o===n,{isArray:Wi}=Array,Hi=Ql("undefined");function Fo(n){return n!==null&&!Hi(n)&&n.constructor!==null&&!Hi(n.constructor)&&Jt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const Vp=Ur("ArrayBuffer");function ky(n){let o;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?o=ArrayBuffer.isView(n):o=n&&n.buffer&&Vp(n.buffer),o}const xy=Ql("string"),Jt=Ql("function"),Wp=Ql("number"),Do=n=>n!==null&&typeof n=="object",Ry=n=>n===!0||n===!1,jl=n=>{if(Kl(n)!=="object")return!1;const o=Gu(n);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Hp in n)&&!(Wl in n)},Oy=n=>{if(!Do(n)||Fo(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},Ty=Ur("Date"),Ay=Ur("File"),Ny=Ur("Blob"),Ly=Ur("FileList"),Iy=n=>Do(n)&&Jt(n.pipe),Fy=n=>{let o;return n&&(typeof FormData=="function"&&n instanceof FormData||Jt(n.append)&&((o=Kl(n))==="formdata"||o==="object"&&Jt(n.toString)&&n.toString()==="[object FormData]"))},Dy=Ur("URLSearchParams"),[My,Uy,zy,jy]=["ReadableStream","Request","Response","Headers"].map(Ur),$y=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mo(n,o,{allOwnKeys:l=!1}={}){if(n===null||typeof n>"u")return;let u,c;if(typeof n!="object"&&(n=[n]),Wi(n))for(u=0,c=n.length;u0;)if(c=l[u],o===c.toLowerCase())return c;return null}const ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Qp=n=>!Hi(n)&&n!==ri;function Mu(){const{caseless:n,skipUndefined:o}=Qp(this)&&this||{},l={},u=(c,p)=>{const d=n&&Kp(l,p)||p;jl(l[d])&&jl(c)?l[d]=Mu(l[d],c):jl(c)?l[d]=Mu({},c):Wi(c)?l[d]=c.slice():(!o||!Hi(c))&&(l[d]=c)};for(let c=0,p=arguments.length;c(Mo(o,(c,p)=>{l&&Jt(c)?n[p]=bp(c,l):n[p]=c},{allOwnKeys:u}),n),qy=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),by=(n,o,l,u)=>{n.prototype=Object.create(o.prototype,u),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:o.prototype}),l&&Object.assign(n.prototype,l)},Hy=(n,o,l,u)=>{let c,p,d;const m={};if(o=o||{},n==null)return o;do{for(c=Object.getOwnPropertyNames(n),p=c.length;p-- >0;)d=c[p],(!u||u(d,n,o))&&!m[d]&&(o[d]=n[d],m[d]=!0);n=l!==!1&&Gu(n)}while(n&&(!l||l(n,o))&&n!==Object.prototype);return o},Vy=(n,o,l)=>{n=String(n),(l===void 0||l>n.length)&&(l=n.length),l-=o.length;const u=n.indexOf(o,l);return u!==-1&&u===l},Wy=n=>{if(!n)return null;if(Wi(n))return n;let o=n.length;if(!Wp(o))return null;const l=new Array(o);for(;o-- >0;)l[o]=n[o];return l},Ky=(n=>o=>n&&o instanceof n)(typeof Uint8Array<"u"&&Gu(Uint8Array)),Qy=(n,o)=>{const u=(n&&n[Wl]).call(n);let c;for(;(c=u.next())&&!c.done;){const p=c.value;o.call(n,p[0],p[1])}},Gy=(n,o)=>{let l;const u=[];for(;(l=n.exec(o))!==null;)u.push(l);return u},Jy=Ur("HTMLFormElement"),Xy=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,u,c){return u.toUpperCase()+c}),gd=(({hasOwnProperty:n})=>(o,l)=>n.call(o,l))(Object.prototype),Yy=Ur("RegExp"),Gp=(n,o)=>{const l=Object.getOwnPropertyDescriptors(n),u={};Mo(l,(c,p)=>{let d;(d=o(c,p,n))!==!1&&(u[p]=d||c)}),Object.defineProperties(n,u)},Zy=n=>{Gp(n,(o,l)=>{if(Jt(n)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const u=n[l];if(Jt(u)){if(o.enumerable=!1,"writable"in o){o.writable=!1;return}o.set||(o.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},ev=(n,o)=>{const l={},u=c=>{c.forEach(p=>{l[p]=!0})};return Wi(n)?u(n):u(String(n).split(o)),l},tv=()=>{},rv=(n,o)=>n!=null&&Number.isFinite(n=+n)?n:o;function nv(n){return!!(n&&Jt(n.append)&&n[Hp]==="FormData"&&n[Wl])}const iv=n=>{const o=new Array(10),l=(u,c)=>{if(Do(u)){if(o.indexOf(u)>=0)return;if(Fo(u))return u;if(!("toJSON"in u)){o[c]=u;const p=Wi(u)?[]:{};return Mo(u,(d,m)=>{const x=l(d,c+1);!Hi(x)&&(p[m]=x)}),o[c]=void 0,p}}return u};return l(n,0)},ov=Ur("AsyncFunction"),lv=n=>n&&(Do(n)||Jt(n))&&Jt(n.then)&&Jt(n.catch),Jp=((n,o)=>n?setImmediate:o?((l,u)=>(ri.addEventListener("message",({source:c,data:p})=>{c===ri&&p===l&&u.length&&u.shift()()},!1),c=>{u.push(c),ri.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",Jt(ri.postMessage)),av=typeof queueMicrotask<"u"?queueMicrotask.bind(ri):typeof process<"u"&&process.nextTick||Jp,sv=n=>n!=null&&Jt(n[Wl]),U={isArray:Wi,isArrayBuffer:Vp,isBuffer:Fo,isFormData:Fy,isArrayBufferView:ky,isString:xy,isNumber:Wp,isBoolean:Ry,isObject:Do,isPlainObject:jl,isEmptyObject:Oy,isReadableStream:My,isRequest:Uy,isResponse:zy,isHeaders:jy,isUndefined:Hi,isDate:Ty,isFile:Ay,isBlob:Ny,isRegExp:Yy,isFunction:Jt,isStream:Iy,isURLSearchParams:Dy,isTypedArray:Ky,isFileList:Ly,forEach:Mo,merge:Mu,extend:By,trim:$y,stripBOM:qy,inherits:by,toFlatObject:Hy,kindOf:Kl,kindOfTest:Ur,endsWith:Vy,toArray:Wy,forEachEntry:Qy,matchAll:Gy,isHTMLForm:Jy,hasOwnProperty:gd,hasOwnProp:gd,reduceDescriptors:Gp,freezeMethods:Zy,toObjectSet:ev,toCamelCase:Xy,noop:tv,toFiniteNumber:rv,findKey:Kp,global:ri,isContextDefined:Qp,isSpecCompliantForm:nv,toJSONObject:iv,isAsyncFn:ov,isThenable:lv,setImmediate:Jp,asap:av,isIterable:sv};function Re(n,o,l,u,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",o&&(this.code=o),l&&(this.config=l),u&&(this.request=u),c&&(this.response=c,this.status=c.status?c.status:null)}U.inherits(Re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:U.toJSONObject(this.config),code:this.code,status:this.status}}});const Xp=Re.prototype,Yp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{Yp[n]={value:n}});Object.defineProperties(Re,Yp);Object.defineProperty(Xp,"isAxiosError",{value:!0});Re.from=(n,o,l,u,c,p)=>{const d=Object.create(Xp);U.toFlatObject(n,d,function(v){return v!==Error.prototype},S=>S!=="isAxiosError");const m=n&&n.message?n.message:"Error",x=o==null&&n?n.code:o;return Re.call(d,m,x,l,u,c),n&&d.cause==null&&Object.defineProperty(d,"cause",{value:n,configurable:!0}),d.name=n&&n.name||"Error",p&&Object.assign(d,p),d};const uv=null;function Uu(n){return U.isPlainObject(n)||U.isArray(n)}function Zp(n){return U.endsWith(n,"[]")?n.slice(0,-2):n}function wd(n,o,l){return n?n.concat(o).map(function(c,p){return c=Zp(c),!l&&p?"["+c+"]":c}).join(l?".":""):o}function cv(n){return U.isArray(n)&&!n.some(Uu)}const fv=U.toFlatObject(U,{},null,function(o){return/^is[A-Z]/.test(o)});function Gl(n,o,l){if(!U.isObject(n))throw new TypeError("target must be an object");o=o||new FormData,l=U.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,g){return!U.isUndefined(g[L])});const u=l.metaTokens,c=l.visitor||v,p=l.dots,d=l.indexes,x=(l.Blob||typeof Blob<"u"&&Blob)&&U.isSpecCompliantForm(o);if(!U.isFunction(c))throw new TypeError("visitor must be a function");function S(E){if(E===null)return"";if(U.isDate(E))return E.toISOString();if(U.isBoolean(E))return E.toString();if(!x&&U.isBlob(E))throw new Re("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(E)||U.isTypedArray(E)?x&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function v(E,L,g){let C=E;if(E&&!g&&typeof E=="object"){if(U.endsWith(L,"{}"))L=u?L:L.slice(0,-2),E=JSON.stringify(E);else if(U.isArray(E)&&cv(E)||(U.isFileList(E)||U.endsWith(L,"[]"))&&(C=U.toArray(E)))return L=Zp(L),C.forEach(function($,B){!(U.isUndefined($)||$===null)&&o.append(d===!0?wd([L],B,p):d===null?L:L+"[]",S($))}),!1}return Uu(E)?!0:(o.append(wd(g,L,p),S(E)),!1)}const _=[],F=Object.assign(fv,{defaultVisitor:v,convertValue:S,isVisitable:Uu});function R(E,L){if(!U.isUndefined(E)){if(_.indexOf(E)!==-1)throw Error("Circular reference detected in "+L.join("."));_.push(E),U.forEach(E,function(C,T){(!(U.isUndefined(C)||C===null)&&c.call(o,C,U.isString(T)?T.trim():T,L,F))===!0&&R(C,L?L.concat(T):[T])}),_.pop()}}if(!U.isObject(n))throw new TypeError("data must be an object");return R(n),o}function Sd(n){const o={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(u){return o[u]})}function Ju(n,o){this._pairs=[],n&&Gl(n,this,o)}const eh=Ju.prototype;eh.append=function(o,l){this._pairs.push([o,l])};eh.toString=function(o){const l=o?function(u){return o.call(this,u,Sd)}:Sd;return this._pairs.map(function(c){return l(c[0])+"="+l(c[1])},"").join("&")};function dv(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function th(n,o,l){if(!o)return n;const u=l&&l.encode||dv;U.isFunction(l)&&(l={serialize:l});const c=l&&l.serialize;let p;if(c?p=c(o,l):p=U.isURLSearchParams(o)?o.toString():new Ju(o,l).toString(u),p){const d=n.indexOf("#");d!==-1&&(n=n.slice(0,d)),n+=(n.indexOf("?")===-1?"?":"&")+p}return n}class Ed{constructor(){this.handlers=[]}use(o,l,u){return this.handlers.push({fulfilled:o,rejected:l,synchronous:u?u.synchronous:!1,runWhen:u?u.runWhen:null}),this.handlers.length-1}eject(o){this.handlers[o]&&(this.handlers[o]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(o){U.forEach(this.handlers,function(u){u!==null&&o(u)})}}const rh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pv=typeof URLSearchParams<"u"?URLSearchParams:Ju,hv=typeof FormData<"u"?FormData:null,mv=typeof Blob<"u"?Blob:null,yv={isBrowser:!0,classes:{URLSearchParams:pv,FormData:hv,Blob:mv},protocols:["http","https","file","blob","url","data"]},Xu=typeof window<"u"&&typeof document<"u",zu=typeof navigator=="object"&&navigator||void 0,vv=Xu&&(!zu||["ReactNative","NativeScript","NS"].indexOf(zu.product)<0),gv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",wv=Xu&&window.location.href||"http://localhost",Sv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xu,hasStandardBrowserEnv:vv,hasStandardBrowserWebWorkerEnv:gv,navigator:zu,origin:wv},Symbol.toStringTag,{value:"Module"})),Dt={...Sv,...yv};function Ev(n,o){return Gl(n,new Dt.classes.URLSearchParams,{visitor:function(l,u,c,p){return Dt.isNode&&U.isBuffer(l)?(this.append(u,l.toString("base64")),!1):p.defaultVisitor.apply(this,arguments)},...o})}function Pv(n){return U.matchAll(/\w+|\[(\w*)]/g,n).map(o=>o[0]==="[]"?"":o[1]||o[0])}function _v(n){const o={},l=Object.keys(n);let u;const c=l.length;let p;for(u=0;u=l.length;return d=!d&&U.isArray(c)?c.length:d,x?(U.hasOwnProp(c,d)?c[d]=[c[d],u]:c[d]=u,!m):((!c[d]||!U.isObject(c[d]))&&(c[d]=[]),o(l,u,c[d],p)&&U.isArray(c[d])&&(c[d]=_v(c[d])),!m)}if(U.isFormData(n)&&U.isFunction(n.entries)){const l={};return U.forEachEntry(n,(u,c)=>{o(Pv(u),c,l,0)}),l}return null}function Cv(n,o,l){if(U.isString(n))try{return(o||JSON.parse)(n),U.trim(n)}catch(u){if(u.name!=="SyntaxError")throw u}return(l||JSON.stringify)(n)}const Uo={transitional:rh,adapter:["xhr","http","fetch"],transformRequest:[function(o,l){const u=l.getContentType()||"",c=u.indexOf("application/json")>-1,p=U.isObject(o);if(p&&U.isHTMLForm(o)&&(o=new FormData(o)),U.isFormData(o))return c?JSON.stringify(nh(o)):o;if(U.isArrayBuffer(o)||U.isBuffer(o)||U.isStream(o)||U.isFile(o)||U.isBlob(o)||U.isReadableStream(o))return o;if(U.isArrayBufferView(o))return o.buffer;if(U.isURLSearchParams(o))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),o.toString();let m;if(p){if(u.indexOf("application/x-www-form-urlencoded")>-1)return Ev(o,this.formSerializer).toString();if((m=U.isFileList(o))||u.indexOf("multipart/form-data")>-1){const x=this.env&&this.env.FormData;return Gl(m?{"files[]":o}:o,x&&new x,this.formSerializer)}}return p||c?(l.setContentType("application/json",!1),Cv(o)):o}],transformResponse:[function(o){const l=this.transitional||Uo.transitional,u=l&&l.forcedJSONParsing,c=this.responseType==="json";if(U.isResponse(o)||U.isReadableStream(o))return o;if(o&&U.isString(o)&&(u&&!this.responseType||c)){const d=!(l&&l.silentJSONParsing)&&c;try{return JSON.parse(o,this.parseReviver)}catch(m){if(d)throw m.name==="SyntaxError"?Re.from(m,Re.ERR_BAD_RESPONSE,this,null,this.response):m}}return o}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dt.classes.FormData,Blob:Dt.classes.Blob},validateStatus:function(o){return o>=200&&o<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch"],n=>{Uo.headers[n]={}});const kv=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xv=n=>{const o={};let l,u,c;return n&&n.split(` +`).forEach(function(d){c=d.indexOf(":"),l=d.substring(0,c).trim().toLowerCase(),u=d.substring(c+1).trim(),!(!l||o[l]&&kv[l])&&(l==="set-cookie"?o[l]?o[l].push(u):o[l]=[u]:o[l]=o[l]?o[l]+", "+u:u)}),o},Pd=Symbol("internals");function To(n){return n&&String(n).trim().toLowerCase()}function $l(n){return n===!1||n==null?n:U.isArray(n)?n.map($l):String(n)}function Rv(n){const o=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let u;for(;u=l.exec(n);)o[u[1]]=u[2];return o}const Ov=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Ms(n,o,l,u,c){if(U.isFunction(u))return u.call(this,o,l);if(c&&(o=l),!!U.isString(o)){if(U.isString(u))return o.indexOf(u)!==-1;if(U.isRegExp(u))return u.test(o)}}function Tv(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(o,l,u)=>l.toUpperCase()+u)}function Av(n,o){const l=U.toCamelCase(" "+o);["get","set","has"].forEach(u=>{Object.defineProperty(n,u+l,{value:function(c,p,d){return this[u].call(this,o,c,p,d)},configurable:!0})})}let Xt=class{constructor(o){o&&this.set(o)}set(o,l,u){const c=this;function p(m,x,S){const v=To(x);if(!v)throw new Error("header name must be a non-empty string");const _=U.findKey(c,v);(!_||c[_]===void 0||S===!0||S===void 0&&c[_]!==!1)&&(c[_||x]=$l(m))}const d=(m,x)=>U.forEach(m,(S,v)=>p(S,v,x));if(U.isPlainObject(o)||o instanceof this.constructor)d(o,l);else if(U.isString(o)&&(o=o.trim())&&!Ov(o))d(xv(o),l);else if(U.isObject(o)&&U.isIterable(o)){let m={},x,S;for(const v of o){if(!U.isArray(v))throw TypeError("Object iterator must return a key-value pair");m[S=v[0]]=(x=m[S])?U.isArray(x)?[...x,v[1]]:[x,v[1]]:v[1]}d(m,l)}else o!=null&&p(l,o,u);return this}get(o,l){if(o=To(o),o){const u=U.findKey(this,o);if(u){const c=this[u];if(!l)return c;if(l===!0)return Rv(c);if(U.isFunction(l))return l.call(this,c,u);if(U.isRegExp(l))return l.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(o,l){if(o=To(o),o){const u=U.findKey(this,o);return!!(u&&this[u]!==void 0&&(!l||Ms(this,this[u],u,l)))}return!1}delete(o,l){const u=this;let c=!1;function p(d){if(d=To(d),d){const m=U.findKey(u,d);m&&(!l||Ms(u,u[m],m,l))&&(delete u[m],c=!0)}}return U.isArray(o)?o.forEach(p):p(o),c}clear(o){const l=Object.keys(this);let u=l.length,c=!1;for(;u--;){const p=l[u];(!o||Ms(this,this[p],p,o,!0))&&(delete this[p],c=!0)}return c}normalize(o){const l=this,u={};return U.forEach(this,(c,p)=>{const d=U.findKey(u,p);if(d){l[d]=$l(c),delete l[p];return}const m=o?Tv(p):String(p).trim();m!==p&&delete l[p],l[m]=$l(c),u[m]=!0}),this}concat(...o){return this.constructor.concat(this,...o)}toJSON(o){const l=Object.create(null);return U.forEach(this,(u,c)=>{u!=null&&u!==!1&&(l[c]=o&&U.isArray(u)?u.join(", "):u)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([o,l])=>o+": "+l).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(o){return o instanceof this?o:new this(o)}static concat(o,...l){const u=new this(o);return l.forEach(c=>u.set(c)),u}static accessor(o){const u=(this[Pd]=this[Pd]={accessors:{}}).accessors,c=this.prototype;function p(d){const m=To(d);u[m]||(Av(c,d),u[m]=!0)}return U.isArray(o)?o.forEach(p):p(o),this}};Xt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.reduceDescriptors(Xt.prototype,({value:n},o)=>{let l=o[0].toUpperCase()+o.slice(1);return{get:()=>n,set(u){this[l]=u}}});U.freezeMethods(Xt);function Us(n,o){const l=this||Uo,u=o||l,c=Xt.from(u.headers);let p=u.data;return U.forEach(n,function(m){p=m.call(l,p,c.normalize(),o?o.status:void 0)}),c.normalize(),p}function ih(n){return!!(n&&n.__CANCEL__)}function Ki(n,o,l){Re.call(this,n??"canceled",Re.ERR_CANCELED,o,l),this.name="CanceledError"}U.inherits(Ki,Re,{__CANCEL__:!0});function oh(n,o,l){const u=l.config.validateStatus;!l.status||!u||u(l.status)?n(l):o(new Re("Request failed with status code "+l.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function Nv(n){const o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return o&&o[1]||""}function Lv(n,o){n=n||10;const l=new Array(n),u=new Array(n);let c=0,p=0,d;return o=o!==void 0?o:1e3,function(x){const S=Date.now(),v=u[p];d||(d=S),l[c]=x,u[c]=S;let _=p,F=0;for(;_!==c;)F+=l[_++],_=_%n;if(c=(c+1)%n,c===p&&(p=(p+1)%n),S-d{l=v,c=null,p&&(clearTimeout(p),p=null),n(...S)};return[(...S)=>{const v=Date.now(),_=v-l;_>=u?d(S,v):(c=S,p||(p=setTimeout(()=>{p=null,d(c)},u-_)))},()=>c&&d(c)]}const Hl=(n,o,l=3)=>{let u=0;const c=Lv(50,250);return Iv(p=>{const d=p.loaded,m=p.lengthComputable?p.total:void 0,x=d-u,S=c(x),v=d<=m;u=d;const _={loaded:d,total:m,progress:m?d/m:void 0,bytes:x,rate:S||void 0,estimated:S&&m&&v?(m-d)/S:void 0,event:p,lengthComputable:m!=null,[o?"download":"upload"]:!0};n(_)},l)},_d=(n,o)=>{const l=n!=null;return[u=>o[0]({lengthComputable:l,total:n,loaded:u}),o[1]]},Cd=n=>(...o)=>U.asap(()=>n(...o)),Fv=Dt.hasStandardBrowserEnv?((n,o)=>l=>(l=new URL(l,Dt.origin),n.protocol===l.protocol&&n.host===l.host&&(o||n.port===l.port)))(new URL(Dt.origin),Dt.navigator&&/(msie|trident)/i.test(Dt.navigator.userAgent)):()=>!0,Dv=Dt.hasStandardBrowserEnv?{write(n,o,l,u,c,p){const d=[n+"="+encodeURIComponent(o)];U.isNumber(l)&&d.push("expires="+new Date(l).toGMTString()),U.isString(u)&&d.push("path="+u),U.isString(c)&&d.push("domain="+c),p===!0&&d.push("secure"),document.cookie=d.join("; ")},read(n){const o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mv(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Uv(n,o){return o?n.replace(/\/?\/$/,"")+"/"+o.replace(/^\/+/,""):n}function lh(n,o,l){let u=!Mv(o);return n&&(u||l==!1)?Uv(n,o):o}const kd=n=>n instanceof Xt?{...n}:n;function oi(n,o){o=o||{};const l={};function u(S,v,_,F){return U.isPlainObject(S)&&U.isPlainObject(v)?U.merge.call({caseless:F},S,v):U.isPlainObject(v)?U.merge({},v):U.isArray(v)?v.slice():v}function c(S,v,_,F){if(U.isUndefined(v)){if(!U.isUndefined(S))return u(void 0,S,_,F)}else return u(S,v,_,F)}function p(S,v){if(!U.isUndefined(v))return u(void 0,v)}function d(S,v){if(U.isUndefined(v)){if(!U.isUndefined(S))return u(void 0,S)}else return u(void 0,v)}function m(S,v,_){if(_ in o)return u(S,v);if(_ in n)return u(void 0,S)}const x={url:p,method:p,data:p,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:m,headers:(S,v,_)=>c(kd(S),kd(v),_,!0)};return U.forEach(Object.keys({...n,...o}),function(v){const _=x[v]||c,F=_(n[v],o[v],v);U.isUndefined(F)&&_!==m||(l[v]=F)}),l}const ah=n=>{const o=oi({},n);let{data:l,withXSRFToken:u,xsrfHeaderName:c,xsrfCookieName:p,headers:d,auth:m}=o;if(o.headers=d=Xt.from(d),o.url=th(lh(o.baseURL,o.url,o.allowAbsoluteUrls),n.params,n.paramsSerializer),m&&d.set("Authorization","Basic "+btoa((m.username||"")+":"+(m.password?unescape(encodeURIComponent(m.password)):""))),U.isFormData(l)){if(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(U.isFunction(l.getHeaders)){const x=l.getHeaders(),S=["content-type","content-length"];Object.entries(x).forEach(([v,_])=>{S.includes(v.toLowerCase())&&d.set(v,_)})}}if(Dt.hasStandardBrowserEnv&&(u&&U.isFunction(u)&&(u=u(o)),u||u!==!1&&Fv(o.url))){const x=c&&p&&Dv.read(p);x&&d.set(c,x)}return o},zv=typeof XMLHttpRequest<"u",jv=zv&&function(n){return new Promise(function(l,u){const c=ah(n);let p=c.data;const d=Xt.from(c.headers).normalize();let{responseType:m,onUploadProgress:x,onDownloadProgress:S}=c,v,_,F,R,E;function L(){R&&R(),E&&E(),c.cancelToken&&c.cancelToken.unsubscribe(v),c.signal&&c.signal.removeEventListener("abort",v)}let g=new XMLHttpRequest;g.open(c.method.toUpperCase(),c.url,!0),g.timeout=c.timeout;function C(){if(!g)return;const $=Xt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),H={data:!m||m==="text"||m==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:$,config:n,request:g};oh(function(Q){l(Q),L()},function(Q){u(Q),L()},H),g=null}"onloadend"in g?g.onloadend=C:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(C)},g.onabort=function(){g&&(u(new Re("Request aborted",Re.ECONNABORTED,n,g)),g=null)},g.onerror=function(B){const H=B&&B.message?B.message:"Network Error",K=new Re(H,Re.ERR_NETWORK,n,g);K.event=B||null,u(K),g=null},g.ontimeout=function(){let B=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded";const H=c.transitional||rh;c.timeoutErrorMessage&&(B=c.timeoutErrorMessage),u(new Re(B,H.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,n,g)),g=null},p===void 0&&d.setContentType(null),"setRequestHeader"in g&&U.forEach(d.toJSON(),function(B,H){g.setRequestHeader(H,B)}),U.isUndefined(c.withCredentials)||(g.withCredentials=!!c.withCredentials),m&&m!=="json"&&(g.responseType=c.responseType),S&&([F,E]=Hl(S,!0),g.addEventListener("progress",F)),x&&g.upload&&([_,R]=Hl(x),g.upload.addEventListener("progress",_),g.upload.addEventListener("loadend",R)),(c.cancelToken||c.signal)&&(v=$=>{g&&(u(!$||$.type?new Ki(null,n,g):$),g.abort(),g=null)},c.cancelToken&&c.cancelToken.subscribe(v),c.signal&&(c.signal.aborted?v():c.signal.addEventListener("abort",v)));const T=Nv(c.url);if(T&&Dt.protocols.indexOf(T)===-1){u(new Re("Unsupported protocol "+T+":",Re.ERR_BAD_REQUEST,n));return}g.send(p||null)})},$v=(n,o)=>{const{length:l}=n=n?n.filter(Boolean):[];if(o||l){let u=new AbortController,c;const p=function(S){if(!c){c=!0,m();const v=S instanceof Error?S:this.reason;u.abort(v instanceof Re?v:new Ki(v instanceof Error?v.message:v))}};let d=o&&setTimeout(()=>{d=null,p(new Re(`timeout ${o} of ms exceeded`,Re.ETIMEDOUT))},o);const m=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(S=>{S.unsubscribe?S.unsubscribe(p):S.removeEventListener("abort",p)}),n=null)};n.forEach(S=>S.addEventListener("abort",p));const{signal:x}=u;return x.unsubscribe=()=>U.asap(m),x}},Bv=function*(n,o){let l=n.byteLength;if(l{const c=qv(n,o);let p=0,d,m=x=>{d||(d=!0,u&&u(x))};return new ReadableStream({async pull(x){try{const{done:S,value:v}=await c.next();if(S){m(),x.close();return}let _=v.byteLength;if(l){let F=p+=_;l(F)}x.enqueue(new Uint8Array(v))}catch(S){throw m(S),S}},cancel(x){return m(x),c.return()}},{highWaterMark:2})},Rd=64*1024,{isFunction:Ul}=U,Hv=(({Request:n,Response:o})=>({Request:n,Response:o}))(U.global),{ReadableStream:Od,TextEncoder:Td}=U.global,Ad=(n,...o)=>{try{return!!n(...o)}catch{return!1}},Vv=n=>{n=U.merge.call({skipUndefined:!0},Hv,n);const{fetch:o,Request:l,Response:u}=n,c=o?Ul(o):typeof fetch=="function",p=Ul(l),d=Ul(u);if(!c)return!1;const m=c&&Ul(Od),x=c&&(typeof Td=="function"?(E=>L=>E.encode(L))(new Td):async E=>new Uint8Array(await new l(E).arrayBuffer())),S=p&&m&&Ad(()=>{let E=!1;const L=new l(Dt.origin,{body:new Od,method:"POST",get duplex(){return E=!0,"half"}}).headers.has("Content-Type");return E&&!L}),v=d&&m&&Ad(()=>U.isReadableStream(new u("").body)),_={stream:v&&(E=>E.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!_[E]&&(_[E]=(L,g)=>{let C=L&&L[E];if(C)return C.call(L);throw new Re(`Response type '${E}' is not supported`,Re.ERR_NOT_SUPPORT,g)})});const F=async E=>{if(E==null)return 0;if(U.isBlob(E))return E.size;if(U.isSpecCompliantForm(E))return(await new l(Dt.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(U.isArrayBufferView(E)||U.isArrayBuffer(E))return E.byteLength;if(U.isURLSearchParams(E)&&(E=E+""),U.isString(E))return(await x(E)).byteLength},R=async(E,L)=>{const g=U.toFiniteNumber(E.getContentLength());return g??F(L)};return async E=>{let{url:L,method:g,data:C,signal:T,cancelToken:$,timeout:B,onDownloadProgress:H,onUploadProgress:K,responseType:Q,headers:oe,withCredentials:pe="same-origin",fetchOptions:ae}=ah(E),Pe=o||fetch;Q=Q?(Q+"").toLowerCase():"text";let Z=$v([T,$&&$.toAbortSignal()],B),we=null;const Se=Z&&Z.unsubscribe&&(()=>{Z.unsubscribe()});let Le;try{if(K&&S&&g!=="get"&&g!=="head"&&(Le=await R(oe,C))!==0){let w=new l(L,{method:"POST",body:C,duplex:"half"}),z;if(U.isFormData(C)&&(z=w.headers.get("content-type"))&&oe.setContentType(z),w.body){const[b,re]=_d(Le,Hl(Cd(K)));C=xd(w.body,Rd,b,re)}}U.isString(pe)||(pe=pe?"include":"omit");const xe=p&&"credentials"in l.prototype,Ce={...ae,signal:Z,method:g.toUpperCase(),headers:oe.normalize().toJSON(),body:C,duplex:"half",credentials:xe?pe:void 0};we=p&&new l(L,Ce);let j=await(p?Pe(we,ae):Pe(L,Ce));const ee=v&&(Q==="stream"||Q==="response");if(v&&(H||ee&&Se)){const w={};["status","statusText","headers"].forEach(J=>{w[J]=j[J]});const z=U.toFiniteNumber(j.headers.get("content-length")),[b,re]=H&&_d(z,Hl(Cd(H),!0))||[];j=new u(xd(j.body,Rd,b,()=>{re&&re(),Se&&Se()}),w)}Q=Q||"text";let Y=await _[U.findKey(_,Q)||"text"](j,E);return!ee&&Se&&Se(),await new Promise((w,z)=>{oh(w,z,{data:Y,headers:Xt.from(j.headers),status:j.status,statusText:j.statusText,config:E,request:we})})}catch(xe){throw Se&&Se(),xe&&xe.name==="TypeError"&&/Load failed|fetch/i.test(xe.message)?Object.assign(new Re("Network Error",Re.ERR_NETWORK,E,we),{cause:xe.cause||xe}):Re.from(xe,xe&&xe.code,E,we)}}},Wv=new Map,sh=n=>{let o=n?n.env:{};const{fetch:l,Request:u,Response:c}=o,p=[u,c,l];let d=p.length,m=d,x,S,v=Wv;for(;m--;)x=p[m],S=v.get(x),S===void 0&&v.set(x,S=m?new Map:Vv(o)),v=S;return S};sh();const ju={http:uv,xhr:jv,fetch:{get:sh}};U.forEach(ju,(n,o)=>{if(n){try{Object.defineProperty(n,"name",{value:o})}catch{}Object.defineProperty(n,"adapterName",{value:o})}});const Nd=n=>`- ${n}`,Kv=n=>U.isFunction(n)||n===null||n===!1,uh={getAdapter:(n,o)=>{n=U.isArray(n)?n:[n];const{length:l}=n;let u,c;const p={};for(let d=0;d`adapter ${x} `+(S===!1?"is not supported by the environment":"is not available in the build"));let m=l?d.length>1?`since : +`+d.map(Nd).join(` +`):" "+Nd(d[0]):"as no adapter specified";throw new Re("There is no suitable adapter to dispatch the request "+m,"ERR_NOT_SUPPORT")}return c},adapters:ju};function zs(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Ki(null,n)}function Ld(n){return zs(n),n.headers=Xt.from(n.headers),n.data=Us.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),uh.getAdapter(n.adapter||Uo.adapter,n)(n).then(function(u){return zs(n),u.data=Us.call(n,n.transformResponse,u),u.headers=Xt.from(u.headers),u},function(u){return ih(u)||(zs(n),u&&u.response&&(u.response.data=Us.call(n,n.transformResponse,u.response),u.response.headers=Xt.from(u.response.headers))),Promise.reject(u)})}const ch="1.12.2",Jl={};["object","boolean","number","function","string","symbol"].forEach((n,o)=>{Jl[n]=function(u){return typeof u===n||"a"+(o<1?"n ":" ")+n}});const Id={};Jl.transitional=function(o,l,u){function c(p,d){return"[Axios v"+ch+"] Transitional option '"+p+"'"+d+(u?". "+u:"")}return(p,d,m)=>{if(o===!1)throw new Re(c(d," has been removed"+(l?" in "+l:"")),Re.ERR_DEPRECATED);return l&&!Id[d]&&(Id[d]=!0,console.warn(c(d," has been deprecated since v"+l+" and will be removed in the near future"))),o?o(p,d,m):!0}};Jl.spelling=function(o){return(l,u)=>(console.warn(`${u} is likely a misspelling of ${o}`),!0)};function Qv(n,o,l){if(typeof n!="object")throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const u=Object.keys(n);let c=u.length;for(;c-- >0;){const p=u[c],d=o[p];if(d){const m=n[p],x=m===void 0||d(m,p,n);if(x!==!0)throw new Re("option "+p+" must be "+x,Re.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new Re("Unknown option "+p,Re.ERR_BAD_OPTION)}}const Bl={assertOptions:Qv,validators:Jl},Xr=Bl.validators;let ii=class{constructor(o){this.defaults=o||{},this.interceptors={request:new Ed,response:new Ed}}async request(o,l){try{return await this._request(o,l)}catch(u){if(u instanceof Error){let c={};Error.captureStackTrace?Error.captureStackTrace(c):c=new Error;const p=c.stack?c.stack.replace(/^.+\n/,""):"";try{u.stack?p&&!String(u.stack).endsWith(p.replace(/^.+\n.+\n/,""))&&(u.stack+=` +`+p):u.stack=p}catch{}}throw u}}_request(o,l){typeof o=="string"?(l=l||{},l.url=o):l=o||{},l=oi(this.defaults,l);const{transitional:u,paramsSerializer:c,headers:p}=l;u!==void 0&&Bl.assertOptions(u,{silentJSONParsing:Xr.transitional(Xr.boolean),forcedJSONParsing:Xr.transitional(Xr.boolean),clarifyTimeoutError:Xr.transitional(Xr.boolean)},!1),c!=null&&(U.isFunction(c)?l.paramsSerializer={serialize:c}:Bl.assertOptions(c,{encode:Xr.function,serialize:Xr.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),Bl.assertOptions(l,{baseUrl:Xr.spelling("baseURL"),withXsrfToken:Xr.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let d=p&&U.merge(p.common,p[l.method]);p&&U.forEach(["delete","get","head","post","put","patch","common"],E=>{delete p[E]}),l.headers=Xt.concat(d,p);const m=[];let x=!0;this.interceptors.request.forEach(function(L){typeof L.runWhen=="function"&&L.runWhen(l)===!1||(x=x&&L.synchronous,m.unshift(L.fulfilled,L.rejected))});const S=[];this.interceptors.response.forEach(function(L){S.push(L.fulfilled,L.rejected)});let v,_=0,F;if(!x){const E=[Ld.bind(this),void 0];for(E.unshift(...m),E.push(...S),F=E.length,v=Promise.resolve(l);_{if(!u._listeners)return;let p=u._listeners.length;for(;p-- >0;)u._listeners[p](c);u._listeners=null}),this.promise.then=c=>{let p;const d=new Promise(m=>{u.subscribe(m),p=m}).then(c);return d.cancel=function(){u.unsubscribe(p)},d},o(function(p,d,m){u.reason||(u.reason=new Ki(p,d,m),l(u.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(o){if(this.reason){o(this.reason);return}this._listeners?this._listeners.push(o):this._listeners=[o]}unsubscribe(o){if(!this._listeners)return;const l=this._listeners.indexOf(o);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const o=new AbortController,l=u=>{o.abort(u)};return this.subscribe(l),o.signal.unsubscribe=()=>this.unsubscribe(l),o.signal}static source(){let o;return{token:new fh(function(c){o=c}),cancel:o}}};function Jv(n){return function(l){return n.apply(null,l)}}function Xv(n){return U.isObject(n)&&n.isAxiosError===!0}const $u={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($u).forEach(([n,o])=>{$u[o]=n});function dh(n){const o=new ii(n),l=bp(ii.prototype.request,o);return U.extend(l,ii.prototype,o,{allOwnKeys:!0}),U.extend(l,o,null,{allOwnKeys:!0}),l.create=function(c){return dh(oi(n,c))},l}const Ze=dh(Uo);Ze.Axios=ii;Ze.CanceledError=Ki;Ze.CancelToken=Gv;Ze.isCancel=ih;Ze.VERSION=ch;Ze.toFormData=Gl;Ze.AxiosError=Re;Ze.Cancel=Ze.CanceledError;Ze.all=function(o){return Promise.all(o)};Ze.spread=Jv;Ze.isAxiosError=Xv;Ze.mergeConfig=oi;Ze.AxiosHeaders=Xt;Ze.formToJSON=n=>nh(U.isHTMLForm(n)?new FormData(n):n);Ze.getAdapter=uh.getAdapter;Ze.HttpStatusCode=$u;Ze.default=Ze;const{Axios:b0,AxiosError:H0,CanceledError:V0,isCancel:W0,CancelToken:K0,VERSION:Q0,all:G0,Cancel:J0,isAxiosError:X0,spread:Y0,toFormData:Z0,AxiosHeaders:ew,HttpStatusCode:tw,formToJSON:rw,getAdapter:nw,mergeConfig:iw}=Ze;window.axios=Ze;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var js,Fd;function Yv(){if(Fd)return js;Fd=1;var n=function(T){return o(T)&&!l(T)};function o(C){return!!C&&typeof C=="object"}function l(C){var T=Object.prototype.toString.call(C);return T==="[object RegExp]"||T==="[object Date]"||p(C)}var u=typeof Symbol=="function"&&Symbol.for,c=u?Symbol.for("react.element"):60103;function p(C){return C.$$typeof===c}function d(C){return Array.isArray(C)?[]:{}}function m(C,T){return T.clone!==!1&&T.isMergeableObject(C)?L(d(C),C,T):C}function x(C,T,$){return C.concat(T).map(function(B){return m(B,$)})}function S(C,T){if(!T.customMerge)return L;var $=T.customMerge(C);return typeof $=="function"?$:L}function v(C){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(C).filter(function(T){return Object.propertyIsEnumerable.call(C,T)}):[]}function _(C){return Object.keys(C).concat(v(C))}function F(C,T){try{return T in C}catch{return!1}}function R(C,T){return F(C,T)&&!(Object.hasOwnProperty.call(C,T)&&Object.propertyIsEnumerable.call(C,T))}function E(C,T,$){var B={};return $.isMergeableObject(C)&&_(C).forEach(function(H){B[H]=m(C[H],$)}),_(T).forEach(function(H){R(C,H)||(F(C,H)&&$.isMergeableObject(T[H])?B[H]=S(H,$)(C[H],T[H],$):B[H]=m(T[H],$))}),B}function L(C,T,$){$=$||{},$.arrayMerge=$.arrayMerge||x,$.isMergeableObject=$.isMergeableObject||n,$.cloneUnlessOtherwiseSpecified=m;var B=Array.isArray(T),H=Array.isArray(C),K=B===H;return K?B?$.arrayMerge(C,T,$):E(C,T,$):m(T,$)}L.all=function(T,$){if(!Array.isArray(T))throw new Error("first argument should be an array");return T.reduce(function(B,H){return L(B,H,$)},{})};var g=L;return js=g,js}var Zv=Yv();const eg=Ku(Zv);var $s,Dd;function Qi(){return Dd||(Dd=1,$s=TypeError),$s}const tg={},rg=Object.freeze(Object.defineProperty({__proto__:null,default:tg},Symbol.toStringTag,{value:"Module"})),ng=wy(rg);var Bs,Md;function Xl(){if(Md)return Bs;Md=1;var n=typeof Map=="function"&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,l=n&&o&&typeof o.get=="function"?o.get:null,u=n&&Map.prototype.forEach,c=typeof Set=="function"&&Set.prototype,p=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=c&&p&&typeof p.get=="function"?p.get:null,m=c&&Set.prototype.forEach,x=typeof WeakMap=="function"&&WeakMap.prototype,S=x?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,_=v?WeakSet.prototype.has:null,F=typeof WeakRef=="function"&&WeakRef.prototype,R=F?WeakRef.prototype.deref:null,E=Boolean.prototype.valueOf,L=Object.prototype.toString,g=Function.prototype.toString,C=String.prototype.match,T=String.prototype.slice,$=String.prototype.replace,B=String.prototype.toUpperCase,H=String.prototype.toLowerCase,K=RegExp.prototype.test,Q=Array.prototype.concat,oe=Array.prototype.join,pe=Array.prototype.slice,ae=Math.floor,Pe=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Z=Object.getOwnPropertySymbols,we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Se=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Le=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Se||!0)?Symbol.toStringTag:null,xe=Object.prototype.propertyIsEnumerable,Ce=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(N){return N.__proto__}:null);function j(N,D){if(N===1/0||N===-1/0||N!==N||N&&N>-1e3&&N<1e3||K.call(/e/,D))return D;var Ne=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof N=="number"){var Oe=N<0?-ae(-N):ae(N);if(Oe!==N){var Me=String(Oe),ve=T.call(D,Me.length+1);return $.call(Me,Ne,"$&_")+"."+$.call($.call(ve,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $.call(D,Ne,"$&_")}var ee=ng,Y=ee.custom,w=Ge(Y)?Y:null,z={__proto__:null,double:'"',single:"'"},b={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Bs=function N(D,Ne,Oe,Me){var ve=Ne||{};if(ut(ve,"quoteStyle")&&!ut(z,ve.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ut(ve,"maxStringLength")&&(typeof ve.maxStringLength=="number"?ve.maxStringLength<0&&ve.maxStringLength!==1/0:ve.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var _t=ut(ve,"customInspect")?ve.customInspect:!0;if(typeof _t!="boolean"&&_t!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ut(ve,"indent")&&ve.indent!==null&&ve.indent!==" "&&!(parseInt(ve.indent,10)===ve.indent&&ve.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ut(ve,"numericSeparator")&&typeof ve.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var qt=ve.numericSeparator;if(typeof D>"u")return"undefined";if(D===null)return"null";if(typeof D=="boolean")return D?"true":"false";if(typeof D=="string")return Sr(D,ve);if(typeof D=="number"){if(D===0)return 1/0/D>0?"0":"-0";var et=String(D);return qt?j(D,et):et}if(typeof D=="bigint"){var Mt=String(D)+"n";return qt?j(D,Mt):Mt}var $r=typeof ve.depth>"u"?5:ve.depth;if(typeof Oe>"u"&&(Oe=0),Oe>=$r&&$r>0&&typeof D=="object")return Ae(D)?"[Array]":"[Object]";var Yt=ui(ve,Oe);if(typeof Me>"u")Me=[];else if(Rt(Me,D)>=0)return"[Circular]";function it(Cr,Zr,pi){if(Zr&&(Me=pe.call(Me),Me.push(Zr)),pi){var rr={depth:ve.depth};return ut(ve,"quoteStyle")&&(rr.quoteStyle=ve.quoteStyle),N(Cr,rr,Oe+1,Me)}return N(Cr,ve,Oe+1,Me)}if(typeof D=="function"&&!_e(D)){var In=ar(D),Br=_r(D,it);return"[Function"+(In?": "+In:" (anonymous)")+"]"+(Br.length>0?" { "+oe.call(Br,", ")+" }":"")}if(Ge(D)){var fn=Se?$.call(String(D),/^(Symbol\(.*\))_[^)]*$/,"$1"):we.call(D);return typeof D=="object"&&!Se?Er(fn):fn}if(ai(D)){for(var Zt="<"+H.call(String(D.nodeName)),Fn=D.attributes||[],er=0;er",Zt}if(Ae(D)){if(D.length===0)return"[]";var ur=_r(D,it);return Yt&&!si(ur)?"["+Yr(ur,Yt)+"]":"[ "+oe.call(ur,", ")+" ]"}if(he(D)){var Ot=_r(D,it);return!("cause"in Error.prototype)&&"cause"in D&&!xe.call(D,"cause")?"{ ["+String(D)+"] "+oe.call(Q.call("[cause]: "+it(D.cause),Ot),", ")+" }":Ot.length===0?"["+String(D)+"]":"{ ["+String(D)+"] "+oe.call(Ot,", ")+" }"}if(typeof D=="object"&&_t){if(w&&typeof D[w]=="function"&&ee)return ee(D,{depth:$r-Oe});if(_t!=="symbol"&&typeof D.inspect=="function")return D.inspect()}if(ct(D)){var dn=[];return u&&u.call(D,function(Cr,Zr){dn.push(it(Zr,D,!0)+" => "+it(Cr,D))}),Pr("Map",l.call(D),dn,Yt)}if(wr(D)){var ci=[];return m&&m.call(D,function(Cr){ci.push(it(Cr,D))}),Pr("Set",d.call(D),ci,Yt)}if(sr(D))return ft("WeakMap");if(li(D))return ft("WeakSet");if(gr(D))return ft("WeakRef");if(Fe(D))return Er(it(Number(D)));if(Et(D))return Er(it(Pe.call(D)));if(Be(D))return Er(E.call(D));if(je(D))return Er(it(String(D)));if(typeof window<"u"&&D===window)return"{ [object Window] }";if(typeof globalThis<"u"&&D===globalThis||typeof qi<"u"&&D===qi)return"{ [object globalThis] }";if(!ye(D)&&!_e(D)){var Dn=_r(D,it),fi=Ce?Ce(D)===Object.prototype:D instanceof Object||D.constructor===Object,tr=D instanceof Object?"":"null prototype",Ut=!fi&&Le&&Object(D)===D&&Le in D?T.call(Pt(D),8,-1):tr?"Object":"",di=fi||typeof D.constructor!="function"?"":D.constructor.name?D.constructor.name+" ":"",Mn=di+(Ut||tr?"["+oe.call(Q.call([],Ut||[],tr||[]),": ")+"] ":"");return Dn.length===0?Mn+"{}":Yt?Mn+"{"+Yr(Dn,Yt)+"}":Mn+"{ "+oe.call(Dn,", ")+" }"}return String(D)};function re(N,D,Ne){var Oe=Ne.quoteStyle||D,Me=z[Oe];return Me+N+Me}function J(N){return $.call(String(N),/"/g,""")}function me(N){return!Le||!(typeof N=="object"&&(Le in N||typeof N[Le]<"u"))}function Ae(N){return Pt(N)==="[object Array]"&&me(N)}function ye(N){return Pt(N)==="[object Date]"&&me(N)}function _e(N){return Pt(N)==="[object RegExp]"&&me(N)}function he(N){return Pt(N)==="[object Error]"&&me(N)}function je(N){return Pt(N)==="[object String]"&&me(N)}function Fe(N){return Pt(N)==="[object Number]"&&me(N)}function Be(N){return Pt(N)==="[object Boolean]"&&me(N)}function Ge(N){if(Se)return N&&typeof N=="object"&&N instanceof Symbol;if(typeof N=="symbol")return!0;if(!N||typeof N!="object"||!we)return!1;try{return we.call(N),!0}catch{}return!1}function Et(N){if(!N||typeof N!="object"||!Pe)return!1;try{return Pe.call(N),!0}catch{}return!1}var nt=Object.prototype.hasOwnProperty||function(N){return N in this};function ut(N,D){return nt.call(N,D)}function Pt(N){return L.call(N)}function ar(N){if(N.name)return N.name;var D=C.call(g.call(N),/^function\s*([\w$]+)/);return D?D[1]:null}function Rt(N,D){if(N.indexOf)return N.indexOf(D);for(var Ne=0,Oe=N.length;NeD.maxStringLength){var Ne=N.length-D.maxStringLength,Oe="... "+Ne+" more character"+(Ne>1?"s":"");return Sr(T.call(N,0,D.maxStringLength),D)+Oe}var Me=b[D.quoteStyle||"single"];Me.lastIndex=0;var ve=$.call($.call(N,Me,"\\$1"),/[\x00-\x1f]/g,jr);return re(ve,"single",D)}function jr(N){var D=N.charCodeAt(0),Ne={8:"b",9:"t",10:"n",12:"f",13:"r"}[D];return Ne?"\\"+Ne:"\\x"+(D<16?"0":"")+B.call(D.toString(16))}function Er(N){return"Object("+N+")"}function ft(N){return N+" { ? }"}function Pr(N,D,Ne,Oe){var Me=Oe?Yr(Ne,Oe):oe.call(Ne,", ");return N+" ("+D+") {"+Me+"}"}function si(N){for(var D=0;D=0)return!1;return!0}function ui(N,D){var Ne;if(N.indent===" ")Ne=" ";else if(typeof N.indent=="number"&&N.indent>0)Ne=oe.call(Array(N.indent+1)," ");else return null;return{base:Ne,prev:oe.call(Array(D+1),Ne)}}function Yr(N,D){if(N.length===0)return"";var Ne=` +`+D.prev+D.base;return Ne+oe.call(N,","+Ne)+` +`+D.prev}function _r(N,D){var Ne=Ae(N),Oe=[];if(Ne){Oe.length=N.length;for(var Me=0;Me"u"||!Q?n:Q(Uint8Array),Se={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":K&&Q?Q([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":Z,"%AsyncGenerator%":Z,"%AsyncGeneratorFunction%":Z,"%AsyncIteratorPrototype%":Z,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":l,"%eval%":eval,"%EvalError%":u,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":Z,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":K&&Q?Q(Q([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!K||!Q?n:Q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":c,"%ReferenceError%":p,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!K||!Q?n:Q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":K&&Q?Q(""[Symbol.iterator]()):n,"%Symbol%":K?Symbol:n,"%SyntaxError%":d,"%ThrowTypeError%":H,"%TypedArray%":we,"%TypeError%":m,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":x,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":Pe,"%Function.prototype.apply%":ae,"%Object.defineProperty%":$,"%Object.getPrototypeOf%":oe,"%Math.abs%":S,"%Math.floor%":v,"%Math.max%":_,"%Math.min%":F,"%Math.pow%":R,"%Math.round%":E,"%Math.sign%":L,"%Reflect.getPrototypeOf%":pe};if(Q)try{null.error}catch(_e){var Le=Q(Q(_e));Se["%Error.prototype%"]=Le}var xe=function _e(he){var je;if(he==="%AsyncFunction%")je=C("async function () {}");else if(he==="%GeneratorFunction%")je=C("function* () {}");else if(he==="%AsyncGeneratorFunction%")je=C("async function* () {}");else if(he==="%AsyncGenerator%"){var Fe=_e("%AsyncGeneratorFunction%");Fe&&(je=Fe.prototype)}else if(he==="%AsyncIteratorPrototype%"){var Be=_e("%AsyncGenerator%");Be&&Q&&(je=Q(Be.prototype))}return Se[he]=je,je},Ce={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=Yl(),ee=Og(),Y=j.call(Pe,Array.prototype.concat),w=j.call(ae,Array.prototype.splice),z=j.call(Pe,String.prototype.replace),b=j.call(Pe,String.prototype.slice),re=j.call(Pe,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,Ae=function(he){var je=b(he,0,1),Fe=b(he,-1);if(je==="%"&&Fe!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(Fe==="%"&&je!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var Be=[];return z(he,J,function(Ge,Et,nt,ut){Be[Be.length]=nt?z(ut,me,"$1"):Et||Ge}),Be},ye=function(he,je){var Fe=he,Be;if(ee(Ce,Fe)&&(Be=Ce[Fe],Fe="%"+Be[0]+"%"),ee(Se,Fe)){var Ge=Se[Fe];if(Ge===Z&&(Ge=xe(Fe)),typeof Ge>"u"&&!je)throw new m("intrinsic "+he+" exists, but is not available. Please file an issue!");return{alias:Be,name:Fe,value:Ge}}throw new d("intrinsic "+he+" does not exist!")};return Eu=function(he,je){if(typeof he!="string"||he.length===0)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof je!="boolean")throw new m('"allowMissing" argument must be a boolean');if(re(/^%?[^%]*%?$/,he)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Fe=Ae(he),Be=Fe.length>0?Fe[0]:"",Ge=ye("%"+Be+"%",je),Et=Ge.name,nt=Ge.value,ut=!1,Pt=Ge.alias;Pt&&(Be=Pt[0],w(Fe,Y([0,1],Pt)));for(var ar=1,Rt=!0;ar=Fe.length){var wr=T(nt,ct);Rt=!!wr,Rt&&"get"in wr&&!("originalValue"in wr.get)?nt=wr.get:nt=nt[ct]}else Rt=ee(nt,ct),nt=nt[ct];Rt&&!ut&&(Se[Et]=nt)}}return nt},Eu}var Pu,vp;function wh(){if(vp)return Pu;vp=1;var n=Zu(),o=gh(),l=o([n("%String.prototype.indexOf%")]);return Pu=function(c,p){var d=n(c,!!p);return typeof d=="function"&&l(c,".prototype.")>-1?o([d]):d},Pu}var _u,gp;function Sh(){if(gp)return _u;gp=1;var n=Zu(),o=wh(),l=Xl(),u=Qi(),c=n("%Map%",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),m=o("Map.prototype.has",!0),x=o("Map.prototype.delete",!0),S=o("Map.prototype.size",!0);return _u=!!c&&function(){var _,F={assert:function(R){if(!F.has(R))throw new u("Side channel does not contain "+l(R))},delete:function(R){if(_){var E=x(_,R);return S(_)===0&&(_=void 0),E}return!1},get:function(R){if(_)return p(_,R)},has:function(R){return _?m(_,R):!1},set:function(R,E){_||(_=new c),d(_,R,E)}};return F},_u}var Cu,wp;function Tg(){if(wp)return Cu;wp=1;var n=Zu(),o=wh(),l=Xl(),u=Sh(),c=Qi(),p=n("%WeakMap%",!0),d=o("WeakMap.prototype.get",!0),m=o("WeakMap.prototype.set",!0),x=o("WeakMap.prototype.has",!0),S=o("WeakMap.prototype.delete",!0);return Cu=p?function(){var _,F,R={assert:function(E){if(!R.has(E))throw new c("Side channel does not contain "+l(E))},delete:function(E){if(p&&E&&(typeof E=="object"||typeof E=="function")){if(_)return S(_,E)}else if(u&&F)return F.delete(E);return!1},get:function(E){return p&&E&&(typeof E=="object"||typeof E=="function")&&_?d(_,E):F&&F.get(E)},has:function(E){return p&&E&&(typeof E=="object"||typeof E=="function")&&_?x(_,E):!!F&&F.has(E)},set:function(E,L){p&&E&&(typeof E=="object"||typeof E=="function")?(_||(_=new p),m(_,E,L)):u&&(F||(F=u()),F.set(E,L))}};return R}:u,Cu}var ku,Sp;function Ag(){if(Sp)return ku;Sp=1;var n=Qi(),o=Xl(),l=ig(),u=Sh(),c=Tg(),p=c||u||l;return ku=function(){var m,x={assert:function(S){if(!x.has(S))throw new n("Side channel does not contain "+o(S))},delete:function(S){return!!m&&m.delete(S)},get:function(S){return m&&m.get(S)},has:function(S){return!!m&&m.has(S)},set:function(S,v){m||(m=p()),m.set(S,v)}};return x},ku}var xu,Ep;function ec(){if(Ep)return xu;Ep=1;var n=String.prototype.replace,o=/%20/g,l={RFC1738:"RFC1738",RFC3986:"RFC3986"};return xu={default:l.RFC3986,formatters:{RFC1738:function(u){return n.call(u,o,"+")},RFC3986:function(u){return String(u)}},RFC1738:l.RFC1738,RFC3986:l.RFC3986},xu}var Ru,Pp;function Eh(){if(Pp)return Ru;Pp=1;var n=ec(),o=Object.prototype.hasOwnProperty,l=Array.isArray,u=function(){for(var g=[],C=0;C<256;++C)g.push("%"+((C<16?"0":"")+C.toString(16)).toUpperCase());return g}(),c=function(C){for(;C.length>1;){var T=C.pop(),$=T.obj[T.prop];if(l($)){for(var B=[],H=0;H<$.length;++H)typeof $[H]<"u"&&B.push($[H]);T.obj[T.prop]=B}}},p=function(C,T){for(var $=T&&T.plainObjects?{__proto__:null}:{},B=0;B=S?K.slice(oe,oe+S):K,ae=[],Pe=0;Pe=48&&Z<=57||Z>=65&&Z<=90||Z>=97&&Z<=122||H===n.RFC1738&&(Z===40||Z===41)){ae[ae.length]=pe.charAt(Pe);continue}if(Z<128){ae[ae.length]=u[Z];continue}if(Z<2048){ae[ae.length]=u[192|Z>>6]+u[128|Z&63];continue}if(Z<55296||Z>=57344){ae[ae.length]=u[224|Z>>12]+u[128|Z>>6&63]+u[128|Z&63];continue}Pe+=1,Z=65536+((Z&1023)<<10|pe.charCodeAt(Pe)&1023),ae[ae.length]=u[240|Z>>18]+u[128|Z>>12&63]+u[128|Z>>6&63]+u[128|Z&63]}Q+=ae.join("")}return Q},_=function(C){for(var T=[{obj:{o:C},prop:"o"}],$=[],B=0;B"u"&&(Y=0)}if(typeof pe=="function"?j=pe(C,j):j instanceof Date?j=Z(j):T==="comma"&&p(j)&&(j=o.maybeMap(j,function(Et){return Et instanceof Date?Z(Et):Et})),j===null){if(H)return oe&&!Le?oe(C,v.encoder,xe,"key",we):C;j=""}if(_(j)||o.isBuffer(j)){if(oe){var b=Le?C:oe(C,v.encoder,xe,"key",we);return[Se(b)+"="+Se(oe(j,v.encoder,xe,"value",we))]}return[Se(C)+"="+Se(String(j))]}var re=[];if(typeof j>"u")return re;var J;if(T==="comma"&&p(j))Le&&oe&&(j=o.maybeMap(j,oe)),J=[{value:j.length>0?j.join(",")||null:void 0}];else if(p(pe))J=pe;else{var me=Object.keys(j);J=ae?me.sort(ae):me}var Ae=Q?String(C).replace(/\./g,"%2E"):String(C),ye=$&&p(j)&&j.length===1?Ae+"[]":Ae;if(B&&p(j)&&j.length===0)return ye+"[]";for(var _e=0;_e"u"?g.encodeDotInKeys===!0?!0:v.allowDots:!!g.allowDots;return{addQueryPrefix:typeof g.addQueryPrefix=="boolean"?g.addQueryPrefix:v.addQueryPrefix,allowDots:K,allowEmptyArrays:typeof g.allowEmptyArrays=="boolean"?!!g.allowEmptyArrays:v.allowEmptyArrays,arrayFormat:H,charset:C,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:v.charsetSentinel,commaRoundTrip:!!g.commaRoundTrip,delimiter:typeof g.delimiter>"u"?v.delimiter:g.delimiter,encode:typeof g.encode=="boolean"?g.encode:v.encode,encodeDotInKeys:typeof g.encodeDotInKeys=="boolean"?g.encodeDotInKeys:v.encodeDotInKeys,encoder:typeof g.encoder=="function"?g.encoder:v.encoder,encodeValuesOnly:typeof g.encodeValuesOnly=="boolean"?g.encodeValuesOnly:v.encodeValuesOnly,filter:B,format:T,formatter:$,serializeDate:typeof g.serializeDate=="function"?g.serializeDate:v.serializeDate,skipNulls:typeof g.skipNulls=="boolean"?g.skipNulls:v.skipNulls,sort:typeof g.sort=="function"?g.sort:null,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:v.strictNullHandling}};return Ou=function(L,g){var C=L,T=E(g),$,B;typeof T.filter=="function"?(B=T.filter,C=B("",C)):p(T.filter)&&(B=T.filter,$=B);var H=[];if(typeof C!="object"||C===null)return"";var K=c[T.arrayFormat],Q=K==="comma"&&T.commaRoundTrip;$||($=Object.keys(C)),T.sort&&$.sort(T.sort);for(var oe=n(),pe=0;pe<$.length;++pe){var ae=$[pe],Pe=C[ae];T.skipNulls&&Pe===null||m(H,R(Pe,ae,K,Q,T.allowEmptyArrays,T.strictNullHandling,T.skipNulls,T.encodeDotInKeys,T.encode?T.encoder:null,T.filter,T.sort,T.allowDots,T.serializeDate,T.format,T.formatter,T.encodeValuesOnly,T.charset,oe))}var Z=H.join(T.delimiter),we=T.addQueryPrefix===!0?"?":"";return T.charsetSentinel&&(T.charset==="iso-8859-1"?we+="utf8=%26%2310003%3B&":we+="utf8=%E2%9C%93&"),Z.length>0?we+Z:""},Ou}var Tu,Cp;function Lg(){if(Cp)return Tu;Cp=1;var n=Eh(),o=Object.prototype.hasOwnProperty,l=Array.isArray,u={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},c=function(F){return F.replace(/&#(\d+);/g,function(R,E){return String.fromCharCode(parseInt(E,10))})},p=function(F,R,E){if(F&&typeof F=="string"&&R.comma&&F.indexOf(",")>-1)return F.split(",");if(R.throwOnLimitExceeded&&E>=R.arrayLimit)throw new RangeError("Array limit exceeded. Only "+R.arrayLimit+" element"+(R.arrayLimit===1?"":"s")+" allowed in an array.");return F},d="utf8=%26%2310003%3B",m="utf8=%E2%9C%93",x=function(R,E){var L={__proto__:null},g=E.ignoreQueryPrefix?R.replace(/^\?/,""):R;g=g.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var C=E.parameterLimit===1/0?void 0:E.parameterLimit,T=g.split(E.delimiter,E.throwOnLimitExceeded?C+1:C);if(E.throwOnLimitExceeded&&T.length>C)throw new RangeError("Parameter limit exceeded. Only "+C+" parameter"+(C===1?"":"s")+" allowed.");var $=-1,B,H=E.charset;if(E.charsetSentinel)for(B=0;B-1&&(ae=l(ae)?[ae]:ae);var Pe=o.call(L,pe);Pe&&E.duplicates==="combine"?L[pe]=n.combine(L[pe],ae):(!Pe||E.duplicates==="last")&&(L[pe]=ae)}return L},S=function(F,R,E,L){var g=0;if(F.length>0&&F[F.length-1]==="[]"){var C=F.slice(0,-1).join("");g=Array.isArray(R)&&R[C]?R[C].length:0}for(var T=L?R:p(R,E,g),$=F.length-1;$>=0;--$){var B,H=F[$];if(H==="[]"&&E.parseArrays)B=E.allowEmptyArrays&&(T===""||E.strictNullHandling&&T===null)?[]:n.combine([],T);else{B=E.plainObjects?{__proto__:null}:{};var K=H.charAt(0)==="["&&H.charAt(H.length-1)==="]"?H.slice(1,-1):H,Q=E.decodeDotInKeys?K.replace(/%2E/g,"."):K,oe=parseInt(Q,10);!E.parseArrays&&Q===""?B={0:T}:!isNaN(oe)&&H!==Q&&String(oe)===Q&&oe>=0&&E.parseArrays&&oe<=E.arrayLimit?(B=[],B[oe]=T):Q!=="__proto__"&&(B[Q]=T)}T=B}return T},v=function(R,E,L,g){if(R){var C=L.allowDots?R.replace(/\.([^.[]+)/g,"[$1]"):R,T=/(\[[^[\]]*])/,$=/(\[[^[\]]*])/g,B=L.depth>0&&T.exec(C),H=B?C.slice(0,B.index):C,K=[];if(H){if(!L.plainObjects&&o.call(Object.prototype,H)&&!L.allowPrototypes)return;K.push(H)}for(var Q=0;L.depth>0&&(B=$.exec(C))!==null&&Q"u"?u.charset:R.charset,L=typeof R.duplicates>"u"?u.duplicates:R.duplicates;if(L!=="combine"&&L!=="first"&&L!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var g=typeof R.allowDots>"u"?R.decodeDotInKeys===!0?!0:u.allowDots:!!R.allowDots;return{allowDots:g,allowEmptyArrays:typeof R.allowEmptyArrays=="boolean"?!!R.allowEmptyArrays:u.allowEmptyArrays,allowPrototypes:typeof R.allowPrototypes=="boolean"?R.allowPrototypes:u.allowPrototypes,allowSparse:typeof R.allowSparse=="boolean"?R.allowSparse:u.allowSparse,arrayLimit:typeof R.arrayLimit=="number"?R.arrayLimit:u.arrayLimit,charset:E,charsetSentinel:typeof R.charsetSentinel=="boolean"?R.charsetSentinel:u.charsetSentinel,comma:typeof R.comma=="boolean"?R.comma:u.comma,decodeDotInKeys:typeof R.decodeDotInKeys=="boolean"?R.decodeDotInKeys:u.decodeDotInKeys,decoder:typeof R.decoder=="function"?R.decoder:u.decoder,delimiter:typeof R.delimiter=="string"||n.isRegExp(R.delimiter)?R.delimiter:u.delimiter,depth:typeof R.depth=="number"||R.depth===!1?+R.depth:u.depth,duplicates:L,ignoreQueryPrefix:R.ignoreQueryPrefix===!0,interpretNumericEntities:typeof R.interpretNumericEntities=="boolean"?R.interpretNumericEntities:u.interpretNumericEntities,parameterLimit:typeof R.parameterLimit=="number"?R.parameterLimit:u.parameterLimit,parseArrays:R.parseArrays!==!1,plainObjects:typeof R.plainObjects=="boolean"?R.plainObjects:u.plainObjects,strictDepth:typeof R.strictDepth=="boolean"?!!R.strictDepth:u.strictDepth,strictNullHandling:typeof R.strictNullHandling=="boolean"?R.strictNullHandling:u.strictNullHandling,throwOnLimitExceeded:typeof R.throwOnLimitExceeded=="boolean"?R.throwOnLimitExceeded:!1}};return Tu=function(F,R){var E=_(R);if(F===""||F===null||typeof F>"u")return E.plainObjects?{__proto__:null}:{};for(var L=typeof F=="string"?x(F,E):F,g=E.plainObjects?{__proto__:null}:{},C=Object.keys(L),T=0;Tn.apply(this,u),o)}}function zr(n,o){return document.dispatchEvent(new CustomEvent(`inertia:${n}`,o))}var Rp=n=>zr("before",{cancelable:!0,detail:{visit:n}}),Fg=n=>zr("error",{detail:{errors:n}}),Dg=n=>zr("exception",{cancelable:!0,detail:{exception:n}}),Mg=n=>zr("finish",{detail:{visit:n}}),Ug=n=>zr("invalid",{cancelable:!0,detail:{response:n}}),Io=n=>zr("navigate",{detail:{page:n}}),zg=n=>zr("progress",{detail:{progress:n}}),jg=n=>zr("start",{detail:{visit:n}}),$g=n=>zr("success",{detail:{page:n}}),Bg=(n,o)=>zr("prefetched",{detail:{fetchedAt:Date.now(),response:n.data,visit:o}}),qg=n=>zr("prefetching",{detail:{visit:n}}),Bt=class{static set(n,o){typeof window<"u"&&window.sessionStorage.setItem(n,JSON.stringify(o))}static get(n){if(typeof window<"u")return JSON.parse(window.sessionStorage.getItem(n)||"null")}static merge(n,o){let l=this.get(n);l===null?this.set(n,o):this.set(n,{...l,...o})}static remove(n){typeof window<"u"&&window.sessionStorage.removeItem(n)}static removeNested(n,o){let l=this.get(n);l!==null&&(delete l[o],this.set(n,l))}static exists(n){try{return this.get(n)!==null}catch{return!1}}static clear(){typeof window<"u"&&window.sessionStorage.clear()}};Bt.locationVisitKey="inertiaLocationVisit";var bg=async n=>{if(typeof window>"u")throw new Error("Unable to encrypt history");let o=Ph(),l=await _h(),u=await Gg(l);if(!u)throw new Error("Unable to encrypt history");return await Vg(o,u,n)},Vi={key:"historyKey",iv:"historyIv"},Hg=async n=>{let o=Ph(),l=await _h();if(!l)throw new Error("Unable to decrypt history");return await Wg(o,l,n)},Vg=async(n,o,l)=>{if(typeof window>"u")throw new Error("Unable to encrypt history");if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(l);let u=new TextEncoder,c=JSON.stringify(l),p=new Uint8Array(c.length*3),d=u.encodeInto(c,p);return window.crypto.subtle.encrypt({name:"AES-GCM",iv:n},o,p.subarray(0,d.written))},Wg=async(n,o,l)=>{if(typeof window.crypto.subtle>"u")return console.warn("Decryption is not supported in this environment. SSL is required."),Promise.resolve(l);let u=await window.crypto.subtle.decrypt({name:"AES-GCM",iv:n},o,l);return JSON.parse(new TextDecoder().decode(u))},Ph=()=>{let n=Bt.get(Vi.iv);if(n)return new Uint8Array(n);let o=window.crypto.getRandomValues(new Uint8Array(12));return Bt.set(Vi.iv,Array.from(o)),o},Kg=async()=>typeof window.crypto.subtle>"u"?(console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(null)):window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]),Qg=async n=>{if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve();let o=await window.crypto.subtle.exportKey("raw",n);Bt.set(Vi.key,Array.from(new Uint8Array(o)))},Gg=async n=>{if(n)return n;let o=await Kg();return o?(await Qg(o),o):null},_h=async()=>{let n=Bt.get(Vi.key);return n?await window.crypto.subtle.importKey("raw",new Uint8Array(n),{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]):null},Dr=class{static save(){ze.saveScrollPositions(Array.from(this.regions()).map(n=>({top:n.scrollTop,left:n.scrollLeft})))}static regions(){return document.querySelectorAll("[scroll-region]")}static reset(){typeof window<"u"&&window.scrollTo(0,0),this.regions().forEach(n=>{typeof n.scrollTo=="function"?n.scrollTo(0,0):(n.scrollTop=0,n.scrollLeft=0)}),this.save(),window.location.hash&&setTimeout(()=>{var n;return(n=document.getElementById(window.location.hash.slice(1)))==null?void 0:n.scrollIntoView()})}static restore(n){this.restoreDocument(),this.regions().forEach((o,l)=>{let u=n[l];u&&(typeof o.scrollTo=="function"?o.scrollTo(u.left,u.top):(o.scrollTop=u.top,o.scrollLeft=u.left))})}static restoreDocument(){let n=ze.getDocumentScrollPosition();typeof window<"u"&&window.scrollTo(n.left,n.top)}static onScroll(n){let o=n.target;typeof o.hasAttribute=="function"&&o.hasAttribute("scroll-region")&&this.save()}static onWindowScroll(){ze.saveDocumentScrollPosition({top:window.scrollY,left:window.scrollX})}};function qu(n){return n instanceof File||n instanceof Blob||n instanceof FileList&&n.length>0||n instanceof FormData&&Array.from(n.values()).some(o=>qu(o))||typeof n=="object"&&n!==null&&Object.values(n).some(o=>qu(o))}var Op=n=>n instanceof FormData;function Ch(n,o=new FormData,l=null){n=n||{};for(let u in n)Object.prototype.hasOwnProperty.call(n,u)&&xh(o,kh(l,u),n[u]);return o}function kh(n,o){return n?n+"["+o+"]":o}function xh(n,o,l){if(Array.isArray(l))return Array.from(l.keys()).forEach(u=>xh(n,kh(o,u.toString()),l[u]));if(l instanceof Date)return n.append(o,l.toISOString());if(l instanceof File)return n.append(o,l,l.name);if(l instanceof Blob)return n.append(o,l);if(typeof l=="boolean")return n.append(o,l?"1":"0");if(typeof l=="string")return n.append(o,l);if(typeof l=="number")return n.append(o,`${l}`);if(l==null)return n.append(o,"");Ch(l,n,o)}function Nn(n){return new URL(n.toString(),typeof window>"u"?void 0:window.location.toString())}var Jg=(n,o,l,u,c)=>{let p=typeof n=="string"?Nn(n):n;if((qu(o)||u)&&!Op(o)&&(o=Ch(o)),Op(o))return[p,o];let[d,m]=Rh(l,p,o,c);return[Nn(d),m]};function Rh(n,o,l,u="brackets"){let c=/^https?:\/\//.test(o.toString()),p=c||o.toString().startsWith("/"),d=!p&&!o.toString().startsWith("#")&&!o.toString().startsWith("?"),m=o.toString().includes("?")||n==="get"&&Object.keys(l).length,x=o.toString().includes("#"),S=new URL(o.toString(),"http://localhost");return n==="get"&&Object.keys(l).length&&(S.search=xp.stringify(eg(xp.parse(S.search,{ignoreQueryPrefix:!0}),l),{encodeValuesOnly:!0,arrayFormat:u}),l={}),[[c?`${S.protocol}//${S.host}`:"",p?S.pathname:"",d?S.pathname.substring(1):"",m?S.search:"",x?S.hash:""].join(""),l]}function Vl(n){return n=new URL(n.href),n.hash="",n}var Tp=(n,o)=>{n.hash&&!o.hash&&Vl(n).href===o.href&&(o.hash=n.hash)},bu=(n,o)=>Vl(n).href===Vl(o).href,Xg=class{constructor(){this.componentId={},this.listeners=[],this.isFirstPageLoad=!0,this.cleared=!1}init({initialPage:n,swapComponent:o,resolveComponent:l}){return this.page=n,this.swapComponent=o,this.resolveComponent=l,this}set(n,{replace:o=!1,preserveScroll:l=!1,preserveState:u=!1}={}){this.componentId={};let c=this.componentId;return n.clearHistory&&ze.clear(),this.resolve(n.component).then(p=>{if(c!==this.componentId)return;n.rememberedState??(n.rememberedState={});let d=typeof window<"u"?window.location:new URL(n.url);return o=o||bu(Nn(n.url),d),new Promise(m=>{o?ze.replaceState(n,()=>m(null)):ze.pushState(n,()=>m(null))}).then(()=>{let m=!this.isTheSame(n);return this.page=n,this.cleared=!1,m&&this.fireEventsFor("newComponent"),this.isFirstPageLoad&&this.fireEventsFor("firstLoad"),this.isFirstPageLoad=!1,this.swap({component:p,page:n,preserveState:u}).then(()=>{l||Dr.reset(),ni.fireInternalEvent("loadDeferredProps"),o||Io(n)})})})}setQuietly(n,{preserveState:o=!1}={}){return this.resolve(n.component).then(l=>(this.page=n,this.cleared=!1,ze.setCurrent(n),this.swap({component:l,page:n,preserveState:o})))}clear(){this.cleared=!0}isCleared(){return this.cleared}get(){return this.page}merge(n){this.page={...this.page,...n}}setUrlHash(n){this.page.url.includes(n)||(this.page.url+=n)}remember(n){this.page.rememberedState=n}swap({component:n,page:o,preserveState:l}){return this.swapComponent({component:n,page:o,preserveState:l})}resolve(n){return Promise.resolve(this.resolveComponent(n))}isTheSame(n){return this.page.component===n.component}on(n,o){return this.listeners.push({event:n,callback:o}),()=>{this.listeners=this.listeners.filter(l=>l.event!==n&&l.callback!==o)}}fireEventsFor(n){this.listeners.filter(o=>o.event===n).forEach(o=>o.callback())}},ke=new Xg,Oh=class{constructor(){this.items=[],this.processingPromise=null}add(n){return this.items.push(n),this.process()}process(){return this.processingPromise??(this.processingPromise=this.processNext().then(()=>{this.processingPromise=null})),this.processingPromise}processNext(){let n=this.items.shift();return n?Promise.resolve(n()).then(()=>this.processNext()):Promise.resolve()}},No=typeof window>"u",Ao=new Oh,Ap=!No&&/CriOS/.test(window.navigator.userAgent),Yg=class{constructor(){this.rememberedState="rememberedState",this.scrollRegions="scrollRegions",this.preserveUrl=!1,this.current={},this.initialState=null}remember(n,o){var l;this.replaceState({...ke.get(),rememberedState:{...((l=ke.get())==null?void 0:l.rememberedState)??{},[o]:n}})}restore(n){var o,l;if(!No)return(l=(o=this.initialState)==null?void 0:o[this.rememberedState])==null?void 0:l[n]}pushState(n,o=null){if(!No){if(this.preserveUrl){o&&o();return}this.current=n,Ao.add(()=>this.getPageData(n).then(l=>{let u=()=>{this.doPushState({page:l},n.url),o&&o()};Ap?setTimeout(u):u()}))}}getPageData(n){return new Promise(o=>n.encryptHistory?bg(n).then(o):o(n))}processQueue(){return Ao.process()}decrypt(n=null){var l;if(No)return Promise.resolve(n??ke.get());let o=n??((l=window.history.state)==null?void 0:l.page);return this.decryptPageData(o).then(u=>{if(!u)throw new Error("Unable to decrypt history");return this.initialState===null?this.initialState=u??void 0:this.current=u??{},u})}decryptPageData(n){return n instanceof ArrayBuffer?Hg(n):Promise.resolve(n)}saveScrollPositions(n){Ao.add(()=>Promise.resolve().then(()=>{var o;(o=window.history.state)!=null&&o.page&&this.doReplaceState({page:window.history.state.page,scrollRegions:n},this.current.url)}))}saveDocumentScrollPosition(n){Ao.add(()=>Promise.resolve().then(()=>{var o;(o=window.history.state)!=null&&o.page&&this.doReplaceState({page:window.history.state.page,documentScrollPosition:n},this.current.url)}))}getScrollRegions(){var n;return((n=window.history.state)==null?void 0:n.scrollRegions)||[]}getDocumentScrollPosition(){var n;return((n=window.history.state)==null?void 0:n.documentScrollPosition)||{top:0,left:0}}replaceState(n,o=null){if(ke.merge(n),!No){if(this.preserveUrl){o&&o();return}this.current=n,Ao.add(()=>this.getPageData(n).then(l=>{let u=()=>{this.doReplaceState({page:l},n.url),o&&o()};Ap?setTimeout(u):u()}))}}doReplaceState(n,o){var l,u;window.history.replaceState({...n,scrollRegions:n.scrollRegions??((l=window.history.state)==null?void 0:l.scrollRegions),documentScrollPosition:n.documentScrollPosition??((u=window.history.state)==null?void 0:u.documentScrollPosition)},"",o)}doPushState(n,o){window.history.pushState(n,"",o)}getState(n,o){var l;return((l=this.current)==null?void 0:l[n])??o}deleteState(n){this.current[n]!==void 0&&(delete this.current[n],this.replaceState(this.current))}hasAnyState(){return!!this.getAllState()}clear(){Bt.remove(Vi.key),Bt.remove(Vi.iv)}setCurrent(n){this.current=n}isValidState(n){return!!n.page}getAllState(){return this.current}};typeof window<"u"&&window.history.scrollRestoration&&(window.history.scrollRestoration="manual");var ze=new Yg,Zg=class{constructor(){this.internalListeners=[]}init(){typeof window<"u"&&(window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),window.addEventListener("scroll",Bu(Dr.onWindowScroll.bind(Dr),100),!0)),typeof document<"u"&&document.addEventListener("scroll",Bu(Dr.onScroll.bind(Dr),100),!0)}onGlobalEvent(o,l){let u=c=>{let p=l(c);c.cancelable&&!c.defaultPrevented&&p===!1&&c.preventDefault()};return this.registerListener(`inertia:${o}`,u)}on(o,l){return this.internalListeners.push({event:o,listener:l}),()=>{this.internalListeners=this.internalListeners.filter(u=>u.listener!==l)}}onMissingHistoryItem(){ke.clear(),this.fireInternalEvent("missingHistoryItem")}fireInternalEvent(o){this.internalListeners.filter(l=>l.event===o).forEach(l=>l.listener())}registerListener(o,l){return document.addEventListener(o,l),()=>document.removeEventListener(o,l)}handlePopstateEvent(o){let l=o.state||null;if(l===null){let u=Nn(ke.get().url);u.hash=window.location.hash,ze.replaceState({...ke.get(),url:u.href}),Dr.reset();return}if(!ze.isValidState(l))return this.onMissingHistoryItem();ze.decrypt(l.page).then(u=>{ke.setQuietly(u,{preserveState:!1}).then(()=>{Dr.restore(ze.getScrollRegions()),Io(ke.get())})}).catch(()=>{this.onMissingHistoryItem()})}},ni=new Zg,e0=class{constructor(){this.type=this.resolveType()}resolveType(){return typeof window>"u"?"navigate":window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}get(){return this.type}isBackForward(){return this.type==="back_forward"}isReload(){return this.type==="reload"}},Nu=new e0,t0=class{static handle(){this.clearRememberedStateOnReload(),[this.handleBackForward,this.handleLocation,this.handleDefault].find(n=>n.bind(this)())}static clearRememberedStateOnReload(){Nu.isReload()&&ze.deleteState(ze.rememberedState)}static handleBackForward(){if(!Nu.isBackForward()||!ze.hasAnyState())return!1;let n=ze.getScrollRegions();return ze.decrypt().then(o=>{ke.set(o,{preserveScroll:!0,preserveState:!0}).then(()=>{Dr.restore(n),Io(ke.get())})}).catch(()=>{ni.onMissingHistoryItem()}),!0}static handleLocation(){if(!Bt.exists(Bt.locationVisitKey))return!1;let n=Bt.get(Bt.locationVisitKey)||{};return Bt.remove(Bt.locationVisitKey),typeof window<"u"&&ke.setUrlHash(window.location.hash),ze.decrypt().then(()=>{let o=ze.getState(ze.rememberedState,{}),l=ze.getScrollRegions();ke.remember(o),ke.set(ke.get(),{preserveScroll:n.preserveScroll,preserveState:!0}).then(()=>{n.preserveScroll&&Dr.restore(l),Io(ke.get())})}).catch(()=>{ni.onMissingHistoryItem()}),!0}static handleDefault(){typeof window<"u"&&ke.setUrlHash(window.location.hash),ke.set(ke.get(),{preserveScroll:!0,preserveState:!0}).then(()=>{Nu.isReload()&&Dr.restore(ze.getScrollRegions()),Io(ke.get())})}},r0=class{constructor(n,o,l){this.id=null,this.throttle=!1,this.keepAlive=!1,this.cbCount=0,this.keepAlive=l.keepAlive??!1,this.cb=o,this.interval=n,(l.autoStart??!0)&&this.start()}stop(){this.id&&clearInterval(this.id)}start(){typeof window>"u"||(this.stop(),this.id=window.setInterval(()=>{(!this.throttle||this.cbCount%10===0)&&this.cb(),this.throttle&&this.cbCount++},this.interval))}isInBackground(n){this.throttle=this.keepAlive?!1:n,this.throttle&&(this.cbCount=0)}},n0=class{constructor(){this.polls=[],this.setupVisibilityListener()}add(o,l,u){let c=new r0(o,l,u);return this.polls.push(c),{stop:()=>c.stop(),start:()=>c.start()}}clear(){this.polls.forEach(o=>o.stop()),this.polls=[]}setupVisibilityListener(){typeof document>"u"||document.addEventListener("visibilitychange",()=>{this.polls.forEach(o=>o.isInBackground(document.hidden))},!1)}},i0=new n0,Th=(n,o,l)=>{if(n===o)return!0;for(let u in n)if(!l.includes(u)&&n[u]!==o[u]&&!o0(n[u],o[u]))return!1;return!0},o0=(n,o)=>{switch(typeof n){case"object":return Th(n,o,[]);case"function":return n.toString()===o.toString();default:return n===o}},l0={ms:1,s:1e3,m:6e4,h:36e5,d:864e5},Np=n=>{if(typeof n=="number")return n;for(let[o,l]of Object.entries(l0))if(n.endsWith(o))return parseFloat(n)*l;return parseInt(n)},a0=class{constructor(){this.cached=[],this.inFlightRequests=[],this.removalTimers=[],this.currentUseId=null}add(n,o,{cacheFor:l}){if(this.findInFlight(n))return Promise.resolve();let u=this.findCached(n);if(!n.fresh&&u&&u.staleTimestamp>Date.now())return Promise.resolve();let[c,p]=this.extractStaleValues(l),d=new Promise((m,x)=>{o({...n,onCancel:()=>{this.remove(n),n.onCancel(),x()},onError:S=>{this.remove(n),n.onError(S),x()},onPrefetching(S){n.onPrefetching(S)},onPrefetched(S,v){n.onPrefetched(S,v)},onPrefetchResponse(S){m(S)}})}).then(m=>(this.remove(n),this.cached.push({params:{...n},staleTimestamp:Date.now()+c,response:d,singleUse:l===0,timestamp:Date.now(),inFlight:!1}),this.scheduleForRemoval(n,p),this.inFlightRequests=this.inFlightRequests.filter(x=>!this.paramsAreEqual(x.params,n)),m.handlePrefetch(),m));return this.inFlightRequests.push({params:{...n},response:d,staleTimestamp:null,inFlight:!0}),d}removeAll(){this.cached=[],this.removalTimers.forEach(n=>{clearTimeout(n.timer)}),this.removalTimers=[]}remove(n){this.cached=this.cached.filter(o=>!this.paramsAreEqual(o.params,n)),this.clearTimer(n)}extractStaleValues(n){let[o,l]=this.cacheForToStaleAndExpires(n);return[Np(o),Np(l)]}cacheForToStaleAndExpires(n){if(!Array.isArray(n))return[n,n];switch(n.length){case 0:return[0,0];case 1:return[n[0],n[0]];default:return[n[0],n[1]]}}clearTimer(n){let o=this.removalTimers.find(l=>this.paramsAreEqual(l.params,n));o&&(clearTimeout(o.timer),this.removalTimers=this.removalTimers.filter(l=>l!==o))}scheduleForRemoval(n,o){if(!(typeof window>"u")&&(this.clearTimer(n),o>0)){let l=window.setTimeout(()=>this.remove(n),o);this.removalTimers.push({params:n,timer:l})}}get(n){return this.findCached(n)||this.findInFlight(n)}use(n,o){let l=`${o.url.pathname}-${Date.now()}-${Math.random().toString(36).substring(7)}`;return this.currentUseId=l,n.response.then(u=>{if(this.currentUseId===l)return u.mergeParams({...o,onPrefetched:()=>{}}),this.removeSingleUseItems(o),u.handle()})}removeSingleUseItems(n){this.cached=this.cached.filter(o=>this.paramsAreEqual(o.params,n)?!o.singleUse:!0)}findCached(n){return this.cached.find(o=>this.paramsAreEqual(o.params,n))||null}findInFlight(n){return this.inFlightRequests.find(o=>this.paramsAreEqual(o.params,n))||null}paramsAreEqual(n,o){return Th(n,o,["showProgress","replace","prefetch","onBefore","onStart","onProgress","onFinish","onCancel","onSuccess","onError","onPrefetched","onCancelToken","onPrefetching","async"])}},ti=new a0,s0=class Ah{constructor(o){if(this.callbacks=[],!o.prefetch)this.params=o;else{let l={onBefore:this.wrapCallback(o,"onBefore"),onStart:this.wrapCallback(o,"onStart"),onProgress:this.wrapCallback(o,"onProgress"),onFinish:this.wrapCallback(o,"onFinish"),onCancel:this.wrapCallback(o,"onCancel"),onSuccess:this.wrapCallback(o,"onSuccess"),onError:this.wrapCallback(o,"onError"),onCancelToken:this.wrapCallback(o,"onCancelToken"),onPrefetched:this.wrapCallback(o,"onPrefetched"),onPrefetching:this.wrapCallback(o,"onPrefetching")};this.params={...o,...l,onPrefetchResponse:o.onPrefetchResponse||(()=>{})}}}static create(o){return new Ah(o)}data(){return this.params.method==="get"?{}:this.params.data}queryParams(){return this.params.method==="get"?this.params.data:{}}isPartial(){return this.params.only.length>0||this.params.except.length>0||this.params.reset.length>0}onCancelToken(o){this.params.onCancelToken({cancel:o})}markAsFinished(){this.params.completed=!0,this.params.cancelled=!1,this.params.interrupted=!1}markAsCancelled({cancelled:o=!0,interrupted:l=!1}){this.params.onCancel(),this.params.completed=!1,this.params.cancelled=o,this.params.interrupted=l}wasCancelledAtAll(){return this.params.cancelled||this.params.interrupted}onFinish(){this.params.onFinish(this.params)}onStart(){this.params.onStart(this.params)}onPrefetching(){this.params.onPrefetching(this.params)}onPrefetchResponse(o){this.params.onPrefetchResponse&&this.params.onPrefetchResponse(o)}all(){return this.params}headers(){let o={...this.params.headers};this.isPartial()&&(o["X-Inertia-Partial-Component"]=ke.get().component);let l=this.params.only.concat(this.params.reset);return l.length>0&&(o["X-Inertia-Partial-Data"]=l.join(",")),this.params.except.length>0&&(o["X-Inertia-Partial-Except"]=this.params.except.join(",")),this.params.reset.length>0&&(o["X-Inertia-Reset"]=this.params.reset.join(",")),this.params.errorBag&&this.params.errorBag.length>0&&(o["X-Inertia-Error-Bag"]=this.params.errorBag),o}setPreserveOptions(o){this.params.preserveScroll=this.resolvePreserveOption(this.params.preserveScroll,o),this.params.preserveState=this.resolvePreserveOption(this.params.preserveState,o)}runCallbacks(){this.callbacks.forEach(({name:o,args:l})=>{this.params[o](...l)})}merge(o){this.params={...this.params,...o}}wrapCallback(o,l){return(...u)=>{this.recordCallback(l,u),o[l](...u)}}recordCallback(o,l){this.callbacks.push({name:o,args:l})}resolvePreserveOption(o,l){return typeof o=="function"?o(l):o==="errors"?Object.keys(l.props.errors||{}).length>0:o}},u0={modal:null,listener:null,show(n){typeof n=="object"&&(n=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.
${JSON.stringify(n)}`);let o=document.createElement("html");o.innerHTML=n,o.querySelectorAll("a").forEach(u=>u.setAttribute("target","_top")),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide());let l=document.createElement("iframe");if(l.style.backgroundColor="white",l.style.borderRadius="5px",l.style.width="100%",l.style.height="100%",this.modal.appendChild(l),document.body.prepend(this.modal),document.body.style.overflow="hidden",!l.contentWindow)throw new Error("iframe not yet ready.");l.contentWindow.document.open(),l.contentWindow.document.write(o.outerHTML),l.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(n){n.keyCode===27&&this.hide()}},c0=new Oh,Lp=class Nh{constructor(o,l,u){this.requestParams=o,this.response=l,this.originatingPage=u}static create(o,l,u){return new Nh(o,l,u)}async handlePrefetch(){bu(this.requestParams.all().url,window.location)&&this.handle()}async handle(){return c0.add(()=>this.process())}async process(){if(this.requestParams.all().prefetch)return this.requestParams.all().prefetch=!1,this.requestParams.all().onPrefetched(this.response,this.requestParams.all()),Bg(this.response,this.requestParams.all()),Promise.resolve();if(this.requestParams.runCallbacks(),!this.isInertiaResponse())return this.handleNonInertiaResponse();await ze.processQueue(),ze.preserveUrl=this.requestParams.all().preserveUrl,await this.setPage();let o=ke.get().props.errors||{};if(Object.keys(o).length>0){let l=this.getScopedErrors(o);return Fg(l),this.requestParams.all().onError(l)}$g(ke.get()),await this.requestParams.all().onSuccess(ke.get()),ze.preserveUrl=!1}mergeParams(o){this.requestParams.merge(o)}async handleNonInertiaResponse(){if(this.isLocationVisit()){let l=Nn(this.getHeader("x-inertia-location"));return Tp(this.requestParams.all().url,l),this.locationVisit(l)}let o={...this.response,data:this.getDataFromResponse(this.response.data)};if(Ug(o))return u0.show(o.data)}isInertiaResponse(){return this.hasHeader("x-inertia")}hasStatus(o){return this.response.status===o}getHeader(o){return this.response.headers[o]}hasHeader(o){return this.getHeader(o)!==void 0}isLocationVisit(){return this.hasStatus(409)&&this.hasHeader("x-inertia-location")}locationVisit(o){try{if(Bt.set(Bt.locationVisitKey,{preserveScroll:this.requestParams.all().preserveScroll===!0}),typeof window>"u")return;bu(window.location,o)?window.location.reload():window.location.href=o.href}catch{return!1}}async setPage(){let o=this.getDataFromResponse(this.response.data);return this.shouldSetPage(o)?(this.mergeProps(o),await this.setRememberedState(o),this.requestParams.setPreserveOptions(o),o.url=ze.preserveUrl?ke.get().url:this.pageUrl(o),ke.set(o,{replace:this.requestParams.all().replace,preserveScroll:this.requestParams.all().preserveScroll,preserveState:this.requestParams.all().preserveState})):Promise.resolve()}getDataFromResponse(o){if(typeof o!="string")return o;try{return JSON.parse(o)}catch{return o}}shouldSetPage(o){if(!this.requestParams.all().async||this.originatingPage.component!==o.component)return!0;if(this.originatingPage.component!==ke.get().component)return!1;let l=Nn(this.originatingPage.url),u=Nn(ke.get().url);return l.origin===u.origin&&l.pathname===u.pathname}pageUrl(o){let l=Nn(o.url);return Tp(this.requestParams.all().url,l),l.pathname+l.search+l.hash}mergeProps(o){this.requestParams.isPartial()&&o.component===ke.get().component&&((o.mergeProps||[]).forEach(l=>{let u=o.props[l];Array.isArray(u)?o.props[l]=[...ke.get().props[l]||[],...u]:typeof u=="object"&&(o.props[l]={...ke.get().props[l]||[],...u})}),o.props={...ke.get().props,...o.props})}async setRememberedState(o){let l=await ze.getState(ze.rememberedState,{});this.requestParams.all().preserveState&&l&&o.component===ke.get().component&&(o.rememberedState=l)}getScopedErrors(o){return this.requestParams.all().errorBag?o[this.requestParams.all().errorBag||""]||{}:o}},Ip=class Lh{constructor(o,l){this.page=l,this.requestHasFinished=!1,this.requestParams=s0.create(o),this.cancelToken=new AbortController}static create(o,l){return new Lh(o,l)}async send(){this.requestParams.onCancelToken(()=>this.cancel({cancelled:!0})),jg(this.requestParams.all()),this.requestParams.onStart(),this.requestParams.all().prefetch&&(this.requestParams.onPrefetching(),qg(this.requestParams.all()));let o=this.requestParams.all().prefetch;return Ze({method:this.requestParams.all().method,url:Vl(this.requestParams.all().url).href,data:this.requestParams.data(),params:this.requestParams.queryParams(),signal:this.cancelToken.signal,headers:this.getHeaders(),onUploadProgress:this.onProgress.bind(this),responseType:"text"}).then(l=>(this.response=Lp.create(this.requestParams,l,this.page),this.response.handle())).catch(l=>l!=null&&l.response?(this.response=Lp.create(this.requestParams,l.response,this.page),this.response.handle()):Promise.reject(l)).catch(l=>{if(!Ze.isCancel(l)&&Dg(l))return Promise.reject(l)}).finally(()=>{this.finish(),o&&this.response&&this.requestParams.onPrefetchResponse(this.response)})}finish(){this.requestParams.wasCancelledAtAll()||(this.requestParams.markAsFinished(),this.fireFinishEvents())}fireFinishEvents(){this.requestHasFinished||(this.requestHasFinished=!0,Mg(this.requestParams.all()),this.requestParams.onFinish())}cancel({cancelled:o=!1,interrupted:l=!1}){this.requestHasFinished||(this.cancelToken.abort(),this.requestParams.markAsCancelled({cancelled:o,interrupted:l}),this.fireFinishEvents())}onProgress(o){this.requestParams.data()instanceof FormData&&(o.percentage=o.progress?Math.round(o.progress*100):0,zg(o),this.requestParams.all().onProgress(o))}getHeaders(){let o={...this.requestParams.headers(),Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0};return ke.get().version&&(o["X-Inertia-Version"]=ke.get().version),o}},Fp=class{constructor({maxConcurrent:n,interruptible:o}){this.requests=[],this.maxConcurrent=n,this.interruptible=o}send(n){this.requests.push(n),n.send().then(()=>{this.requests=this.requests.filter(o=>o!==n)})}interruptInFlight(){this.cancel({interrupted:!0},!1)}cancelInFlight(){this.cancel({cancelled:!0},!0)}cancel({cancelled:n=!1,interrupted:o=!1}={},l){var u;this.shouldCancel(l)&&((u=this.requests.shift())==null||u.cancel({interrupted:o,cancelled:n}))}shouldCancel(n){return n?!0:this.interruptible&&this.requests.length>=this.maxConcurrent}},f0=class{constructor(){this.syncRequestStream=new Fp({maxConcurrent:1,interruptible:!0}),this.asyncRequestStream=new Fp({maxConcurrent:1/0,interruptible:!1})}init({initialPage:n,resolveComponent:o,swapComponent:l}){ke.init({initialPage:n,resolveComponent:o,swapComponent:l}),t0.handle(),ni.init(),ni.on("missingHistoryItem",()=>{typeof window<"u"&&this.visit(window.location.href,{preserveState:!0,preserveScroll:!0,replace:!0})}),ni.on("loadDeferredProps",()=>{this.loadDeferredProps()})}get(n,o={},l={}){return this.visit(n,{...l,method:"get",data:o})}post(n,o={},l={}){return this.visit(n,{preserveState:!0,...l,method:"post",data:o})}put(n,o={},l={}){return this.visit(n,{preserveState:!0,...l,method:"put",data:o})}patch(n,o={},l={}){return this.visit(n,{preserveState:!0,...l,method:"patch",data:o})}delete(n,o={}){return this.visit(n,{preserveState:!0,...o,method:"delete"})}reload(n={}){if(!(typeof window>"u"))return this.visit(window.location.href,{...n,preserveScroll:!0,preserveState:!0,async:!0,headers:{...n.headers||{},"Cache-Control":"no-cache"}})}remember(n,o="default"){ze.remember(n,o)}restore(n="default"){return ze.restore(n)}on(n,o){return typeof window>"u"?()=>{}:ni.onGlobalEvent(n,o)}cancel(){this.syncRequestStream.cancelInFlight()}cancelAll(){this.asyncRequestStream.cancelInFlight(),this.syncRequestStream.cancelInFlight()}poll(n,o={},l={}){return i0.add(n,()=>this.reload(o),{autoStart:l.autoStart??!0,keepAlive:l.keepAlive??!1})}visit(n,o={}){let l=this.getPendingVisit(n,{...o,showProgress:o.showProgress??!o.async}),u=this.getVisitEvents(o);if(u.onBefore(l)===!1||!Rp(l))return;let c=l.async?this.asyncRequestStream:this.syncRequestStream;c.interruptInFlight(),!ke.isCleared()&&!l.preserveUrl&&Dr.save();let p={...l,...u},d=ti.get(p);d?(Dp(d.inFlight),ti.use(d,p)):(Dp(!0),c.send(Ip.create(p,ke.get())))}getCached(n,o={}){return ti.findCached(this.getPrefetchParams(n,o))}flush(n,o={}){ti.remove(this.getPrefetchParams(n,o))}flushAll(){ti.removeAll()}getPrefetching(n,o={}){return ti.findInFlight(this.getPrefetchParams(n,o))}prefetch(n,o={},{cacheFor:l=3e4}){if(o.method!=="get")throw new Error("Prefetch requests must use the GET method");let u=this.getPendingVisit(n,{...o,async:!0,showProgress:!1,prefetch:!0}),c=u.url.origin+u.url.pathname+u.url.search,p=window.location.origin+window.location.pathname+window.location.search;if(c===p)return;let d=this.getVisitEvents(o);if(d.onBefore(u)===!1||!Rp(u))return;jh(),this.asyncRequestStream.interruptInFlight();let m={...u,...d};new Promise(x=>{let S=()=>{ke.get()?x():setTimeout(S,50)};S()}).then(()=>{ti.add(m,x=>{this.asyncRequestStream.send(Ip.create(x,ke.get()))},{cacheFor:l})})}clearHistory(){ze.clear()}decryptHistory(){return ze.decrypt()}replace(n){this.clientVisit(n,{replace:!0})}push(n){this.clientVisit(n)}clientVisit(n,{replace:o=!1}={}){let l=ke.get(),u=typeof n.props=="function"?n.props(l.props):n.props??l.props;ke.set({...l,...n,props:u},{replace:o,preserveScroll:n.preserveScroll,preserveState:n.preserveState})}getPrefetchParams(n,o){return{...this.getPendingVisit(n,{...o,async:!0,showProgress:!1,prefetch:!0}),...this.getVisitEvents(o)}}getPendingVisit(n,o,l={}){let u={method:"get",data:{},replace:!1,preserveScroll:!1,preserveState:!1,only:[],except:[],headers:{},errorBag:"",forceFormData:!1,queryStringArrayFormat:"brackets",async:!1,showProgress:!0,fresh:!1,reset:[],preserveUrl:!1,prefetch:!1,...o},[c,p]=Jg(n,u.data,u.method,u.forceFormData,u.queryStringArrayFormat);return{cancelled:!1,completed:!1,interrupted:!1,...u,...l,url:c,data:p}}getVisitEvents(n){return{onCancelToken:n.onCancelToken||(()=>{}),onBefore:n.onBefore||(()=>{}),onStart:n.onStart||(()=>{}),onProgress:n.onProgress||(()=>{}),onFinish:n.onFinish||(()=>{}),onCancel:n.onCancel||(()=>{}),onSuccess:n.onSuccess||(()=>{}),onError:n.onError||(()=>{}),onPrefetched:n.onPrefetched||(()=>{}),onPrefetching:n.onPrefetching||(()=>{})}}loadDeferredProps(){var o;let n=(o=ke.get())==null?void 0:o.deferredProps;n&&Object.entries(n).forEach(([l,u])=>{this.reload({only:u})})}},d0={buildDOMElement(n){let o=document.createElement("template");o.innerHTML=n;let l=o.content.firstChild;if(!n.startsWith("