From 7c09fc48969fd2c82bf4b41c0be4801ac2287e52 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sun, 13 Nov 2022 21:04:45 -0300 Subject: [PATCH] feat: broadcasting item to refresh pages --- app/Events/RefreshPage.php | 53 ++ app/Events/ReturnItem.php | 15 +- app/Http/Controllers/TakeController.php | 5 +- composer.json | 3 +- composer.lock | 736 +++++++++++++++++- config/app.php | 2 +- .../2022_11_13_183613_create_jobs_table.php | 36 + package-lock.json | 490 ++++++++++-- package.json | 5 +- public/build/assets/app.95ac02f4.js | 1 - public/build/assets/app.d3c19ffe.js | 1 + public/build/assets/bootstrap.a2e087ef.js | 35 + public/build/assets/pusher.ff5f8d5b.js | 1 + public/build/manifest.json | 18 +- resources/js/app.js | 2 +- resources/js/bootstrap.js | 54 +- resources/js/pusher.js | 10 + resources/views/home.blade.php | 12 +- resources/views/layouts/app.blade.php | 4 +- routes/channels.php | 5 + vite.config.js | 1 + 21 files changed, 1354 insertions(+), 135 deletions(-) create mode 100644 app/Events/RefreshPage.php create mode 100644 database/migrations/2022_11_13_183613_create_jobs_table.php delete mode 100644 public/build/assets/app.95ac02f4.js create mode 100644 public/build/assets/app.d3c19ffe.js create mode 100644 public/build/assets/bootstrap.a2e087ef.js create mode 100644 public/build/assets/pusher.ff5f8d5b.js create mode 100644 resources/js/pusher.js diff --git a/app/Events/RefreshPage.php b/app/Events/RefreshPage.php new file mode 100644 index 0000000..7841ccc --- /dev/null +++ b/app/Events/RefreshPage.php @@ -0,0 +1,53 @@ +item = $item; + } + + /** + * Get the channels the event should broadcast on. + * + * @return \Illuminate\Broadcasting\Channel|array + */ + public function broadcastOn() + { + return ['touchedItem']; + } + + public function broadcastAs() + { + return 'RefreshPage'; + } + +} diff --git a/app/Events/ReturnItem.php b/app/Events/ReturnItem.php index 714a26e..74b653e 100644 --- a/app/Events/ReturnItem.php +++ b/app/Events/ReturnItem.php @@ -5,12 +5,20 @@ namespace App\Events; use \App\Item; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PrivateChannel; +use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class ReturnItem { use Dispatchable, InteractsWithSockets, SerializesModels; + + + /** + * Item + * + * @var Item + */ public $item; /** @@ -32,6 +40,11 @@ class ReturnItem */ public function broadcastOn() { - return new PrivateChannel('channel-name'); + return new PrivateChannel('touchedItem'); + } + + public function broadcastAs() + { + return 'ReturnItem'; } } diff --git a/app/Http/Controllers/TakeController.php b/app/Http/Controllers/TakeController.php index 2dd44a9..e6c055c 100644 --- a/app/Http/Controllers/TakeController.php +++ b/app/Http/Controllers/TakeController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers; +use App\Events\RefreshPage; use App\Events\ReturnItem; use App\Item; use App\User; @@ -32,6 +33,7 @@ class TakeController extends Controller ); } + RefreshPage::dispatch($item); return redirect('home'); } @@ -55,7 +57,8 @@ class TakeController extends Controller ); } - event(new ReturnItem($item)); + RefreshPage::dispatch($item); + ReturnItem::dispatch($item); return redirect('home'); } } diff --git a/composer.json b/composer.json index 0a76dc5..85cd8a9 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ "laravel/framework": "^9.19.0", "laravel/helpers": "^1.4", "laravel/tinker": "^2.4.1", - "laravel/ui": "^3.0" + "laravel/ui": "^3.0", + "pusher/pusher-php-server": "^7.2" }, "require-dev": { "beyondcode/laravel-dump-server": "^1.0", diff --git a/composer.lock b/composer.lock index d718f51..a4d5b29 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b4a4e74907709d1b7b277af158906dfb", + "content-hash": "ed0d1511e65bce100a5fcd22fea8cde1", "packages": [ { "name": "brick/math", @@ -566,6 +566,337 @@ ], "time": "2022-07-30T15:56:11+00:00" }, + { + "name": "guzzlehttp/guzzle", + "version": "7.5.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5", + "guzzlehttp/psr7": "^1.9 || ^2.4", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "ext-curl": "*", + "php-http/client-integration-tests": "^3.0", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "7.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle is a PHP HTTP client library", + "keywords": [ + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" + ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2022-08-28T15:39:27+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "1.5.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "b94b2807d85443f9719887892882d0329d1e2598" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "symfony/phpunit-bridge": "^4.4 || ^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + } + ], + "description": "Guzzle promises library", + "keywords": [ + "promise" + ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/1.5.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2022-08-28T14:55:35+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.4.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "67c26b443f348a51926030c83481b85718457d3d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", + "reference": "67c26b443f348a51926030c83481b85718457d3d", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.29 || ^9.5.23" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "2.4-dev" + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.4.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2022-10-26T14:07:24+00:00" + }, { "name": "inertiajs/inertia-laravel", "version": "v0.6.4", @@ -1894,6 +2225,142 @@ ], "time": "2022-10-28T22:51:32+00:00" }, + { + "name": "paragonie/random_compat", + "version": "v9.99.100", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", + "shasum": "" + }, + "require": { + "php": ">= 7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "polyfill", + "pseudorandom", + "random" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/random_compat/issues", + "source": "https://github.com/paragonie/random_compat" + }, + "time": "2020-10-15T08:29:30+00:00" + }, + { + "name": "paragonie/sodium_compat", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/paragonie/sodium_compat.git", + "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/sodium_compat/zipball/cb15e403ecbe6a6cc515f855c310eb6b1872a933", + "reference": "cb15e403ecbe6a6cc515f855c310eb6b1872a933", + "shasum": "" + }, + "require": { + "paragonie/random_compat": ">=1", + "php": "^5.2.4|^5.3|^5.4|^5.5|^5.6|^7|^8" + }, + "require-dev": { + "phpunit/phpunit": "^3|^4|^5|^6|^7|^8|^9" + }, + "suggest": { + "ext-libsodium": "PHP < 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security.", + "ext-sodium": "PHP >= 7.0: Better performance, password hashing (Argon2i), secure memory management (memzero), and better security." + }, + "type": "library", + "autoload": { + "files": [ + "autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com" + }, + { + "name": "Frank Denis", + "email": "jedisct1@pureftpd.org" + } + ], + "description": "Pure PHP implementation of libsodium; uses the PHP extension if it exists", + "keywords": [ + "Authentication", + "BLAKE2b", + "ChaCha20", + "ChaCha20-Poly1305", + "Chapoly", + "Curve25519", + "Ed25519", + "EdDSA", + "Edwards-curve Digital Signature Algorithm", + "Elliptic Curve Diffie-Hellman", + "Poly1305", + "Pure-PHP cryptography", + "RFC 7748", + "RFC 8032", + "Salpoly", + "Salsa20", + "X25519", + "XChaCha20-Poly1305", + "XSalsa20-Poly1305", + "Xchacha20", + "Xsalsa20", + "aead", + "cryptography", + "ecdh", + "elliptic curve", + "elliptic curve cryptography", + "encryption", + "libsodium", + "php", + "public-key cryptography", + "secret-key cryptography", + "side-channel resistant" + ], + "support": { + "issues": "https://github.com/paragonie/sodium_compat/issues", + "source": "https://github.com/paragonie/sodium_compat/tree/v1.19.0" + }, + "time": "2022-09-26T03:40:35+00:00" + }, { "name": "phpoption/phpoption", "version": "1.9.0", @@ -2072,6 +2539,166 @@ }, "time": "2019-01-08T18:20:26+00:00" }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, { "name": "psr/log", "version": "3.0.0", @@ -2249,6 +2876,111 @@ }, "time": "2022-11-06T15:29:46+00:00" }, + { + "name": "pusher/pusher-php-server", + "version": "7.2.1", + "source": { + "type": "git", + "url": "https://github.com/pusher/pusher-http-php.git", + "reference": "5d708d43d774218e1068037c56a887658a4930ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pusher/pusher-http-php/zipball/5d708d43d774218e1068037c56a887658a4930ac", + "reference": "5d708d43d774218e1068037c56a887658a4930ac", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "guzzlehttp/guzzle": "^7.2", + "paragonie/sodium_compat": "^1.6", + "php": "^7.3|^8.0", + "psr/log": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "overtrue/phplint": "^2.3", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "Pusher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Library for interacting with the Pusher REST API", + "keywords": [ + "events", + "messaging", + "php-pusher-server", + "publish", + "push", + "pusher", + "real time", + "real-time", + "realtime", + "rest", + "trigger" + ], + "support": { + "issues": "https://github.com/pusher/pusher-http-php/issues", + "source": "https://github.com/pusher/pusher-http-php/tree/7.2.1" + }, + "time": "2022-10-17T08:33:16+00:00" + }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, { "name": "ramsey/collection", "version": "1.2.2", @@ -9564,5 +10296,5 @@ "php": "^8.0.2" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/config/app.php b/config/app.php index a0bea79..646b3df 100644 --- a/config/app.php +++ b/config/app.php @@ -156,7 +156,7 @@ return [ */ App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, - // App\Providers\BroadcastServiceProvider::class, + App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, diff --git a/database/migrations/2022_11_13_183613_create_jobs_table.php b/database/migrations/2022_11_13_183613_create_jobs_table.php new file mode 100644 index 0000000..a786a89 --- /dev/null +++ b/database/migrations/2022_11_13_183613_create_jobs_table.php @@ -0,0 +1,36 @@ +bigIncrements('id'); + $table->string('queue')->index(); + $table->longText('payload'); + $table->unsignedTinyInteger('attempts'); + $table->unsignedInteger('reserved_at')->nullable(); + $table->unsignedInteger('available_at'); + $table->unsignedInteger('created_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('jobs'); + } +}; diff --git a/package-lock.json b/package-lock.json index 0bf5723..c9d4438 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,18 +4,17 @@ "requires": true, "packages": { "": { - "dependencies": { - "webpack": "^5.75.0" - }, "devDependencies": { "axios": "^1.1.3", "bootstrap": "^4.6.0", "cross-env": "^5.2.1", "jquery": "^3.5.1", + "laravel-echo": "^1.14.1", "laravel-vite-plugin": "^0.7.0", "lodash": "^4.17.21", "popper.js": "^1.16.1", "postcss": "^8.4.19", + "pusher-js": "^7.4.1", "resolve-url-loader": "^3.1.3", "sass": "^1.56.1", "sass-loader": "^8.0.2", @@ -58,6 +57,8 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true, + "peer": true, "engines": { "node": ">=6.0.0" } @@ -66,6 +67,8 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "peer": true, "engines": { "node": ">=6.0.0" } @@ -74,6 +77,8 @@ "version": "0.3.2", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -83,6 +88,8 @@ "version": "0.3.2", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "peer": true, "dependencies": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -95,12 +102,16 @@ "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.14", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true, + "peer": true }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "dev": true, + "peer": true, "dependencies": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" @@ -110,6 +121,8 @@ "version": "8.4.10", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "dev": true, + "peer": true, "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -119,6 +132,8 @@ "version": "3.7.4", "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", + "dev": true, + "peer": true, "dependencies": { "@types/eslint": "*", "@types/estree": "*" @@ -127,22 +142,29 @@ "node_modules/@types/estree": { "version": "0.0.51", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==" + "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "dev": true, + "peer": true }, "node_modules/@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "dev": true }, "node_modules/@types/node": { "version": "18.11.9", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==" + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/helper-numbers": "1.11.1", "@webassemblyjs/helper-wasm-bytecode": "1.11.1" @@ -151,22 +173,30 @@ "node_modules/@webassemblyjs/floating-point-hex-parser": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==" + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/helper-api-error": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==" + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/helper-buffer": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==" + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/helper-numbers": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/floating-point-hex-parser": "1.11.1", "@webassemblyjs/helper-api-error": "1.11.1", @@ -176,12 +206,16 @@ "node_modules/@webassemblyjs/helper-wasm-bytecode": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==" + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/helper-wasm-section": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -193,6 +227,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "peer": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } @@ -201,6 +237,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "peer": true, "dependencies": { "@xtuc/long": "4.2.2" } @@ -208,12 +246,16 @@ "node_modules/@webassemblyjs/utf8": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==" + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true, + "peer": true }, "node_modules/@webassemblyjs/wasm-edit": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -229,6 +271,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-wasm-bytecode": "1.11.1", @@ -241,6 +285,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -252,6 +298,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-api-error": "1.11.1", @@ -265,6 +313,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "peer": true, "dependencies": { "@webassemblyjs/ast": "1.11.1", "@xtuc/long": "4.2.2" @@ -273,17 +323,23 @@ "node_modules/@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "peer": true }, "node_modules/@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "peer": true }, "node_modules/acorn": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "dev": true, + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -295,6 +351,8 @@ "version": "1.8.0", "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "peer": true, "peerDependencies": { "acorn": "^8" } @@ -316,6 +374,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -331,6 +390,7 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, "peerDependencies": { "ajv": "^6.9.1" } @@ -437,6 +497,7 @@ "version": "4.21.4", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "dev": true, "funding": [ { "type": "opencollective", @@ -447,6 +508,7 @@ "url": "https://tidelift.com/funding/github/npm/browserslist" } ], + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001400", "electron-to-chromium": "^1.4.251", @@ -463,7 +525,9 @@ "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "peer": true }, "node_modules/camelcase": { "version": "5.3.1", @@ -478,6 +542,7 @@ "version": "1.0.30001431", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "dev": true, "funding": [ { "type": "opencollective", @@ -487,7 +552,8 @@ "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" } - ] + ], + "peer": true }, "node_modules/chokidar": { "version": "3.5.3", @@ -520,6 +586,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "peer": true, "engines": { "node": ">=6.0" } @@ -634,7 +702,9 @@ "node_modules/electron-to-chromium": { "version": "1.4.284", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==" + "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", + "dev": true, + "peer": true }, "node_modules/emojis-list": { "version": "3.0.0", @@ -649,6 +719,8 @@ "version": "5.10.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", + "dev": true, + "peer": true, "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -660,7 +732,9 @@ "node_modules/es-module-lexer": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==" + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true, + "peer": true }, "node_modules/es5-ext": { "version": "0.10.62", @@ -1059,6 +1133,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "peer": true, "engines": { "node": ">=6" } @@ -1076,6 +1152,8 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "peer": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -1088,6 +1166,8 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "peer": true, "dependencies": { "estraverse": "^5.2.0" }, @@ -1099,6 +1179,8 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "peer": true, "engines": { "node": ">=4.0" } @@ -1107,6 +1189,8 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "peer": true, "engines": { "node": ">=4.0" } @@ -1115,6 +1199,8 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "peer": true, "engines": { "node": ">=0.8.x" } @@ -1137,12 +1223,14 @@ "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "node_modules/fill-range": { "version": "7.0.1", @@ -1225,12 +1313,16 @@ "node_modules/glob-to-regexp": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "peer": true }, "node_modules/graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true, + "peer": true }, "node_modules/has": { "version": "1.0.3", @@ -1248,6 +1340,8 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true, "engines": { "node": ">=8" } @@ -1349,6 +1443,8 @@ "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "peer": true, "dependencies": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -1362,6 +1458,8 @@ "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -1381,12 +1479,15 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "peer": true }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, "node_modules/json5": { "version": "2.2.1", @@ -1409,6 +1510,15 @@ "node": ">=0.10.0" } }, + "node_modules/laravel-echo": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/laravel-echo/-/laravel-echo-1.14.1.tgz", + "integrity": "sha512-elCwcgBy0QxWUJN6b+hF5bqBZrQb1AdwGx7puv+eh3cBN3UHkJ+Jvjy1cHjaOBkkuPNA+GLJl13rp2QG/HsSfQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/laravel-vite-plugin": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.0.tgz", @@ -1428,6 +1538,8 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "peer": true, "engines": { "node": ">=6.11.5" } @@ -1455,12 +1567,15 @@ "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "peer": true }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -1469,6 +1584,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "dependencies": { "mime-db": "1.52.0" }, @@ -1500,7 +1616,8 @@ "node_modules/neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, "node_modules/next-tick": { "version": "1.1.0", @@ -1517,7 +1634,9 @@ "node_modules/node-releases": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "dev": true, + "peer": true }, "node_modules/normalize-path": { "version": "3.0.0", @@ -1546,7 +1665,8 @@ "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -1601,10 +1721,28 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "dev": true }, + "node_modules/pusher-js": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/pusher-js/-/pusher-js-7.4.1.tgz", + "integrity": "sha512-M+i3Q+Lqnql6g1/AQwIkriJ2NG28cngQgarRbtQCe0r/+Gcx3Z5yIQqd318qhHDq3HpU+k1JOE7z8bydAcG0WQ==", + "dev": true, + "dependencies": { + "@types/node": "^14.14.31", + "tweetnacl": "^1.0.3" + } + }, + "node_modules/pusher-js/node_modules/@types/node": { + "version": "14.18.33", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.33.tgz", + "integrity": "sha512-qelS/Ra6sacc4loe/3MSjXNL1dNQ/GjxNHVzuChwMfmk7HuycRLVQN2qNY3XahK+fZc5E2szqQSKUyAF0E+2bg==", + "dev": true + }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "peer": true, "dependencies": { "safe-buffer": "^5.1.0" } @@ -1855,6 +1993,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -1868,7 +2007,8 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "peer": true }, "node_modules/sass": { "version": "1.56.1", @@ -1990,6 +2130,8 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "peer": true, "dependencies": { "randombytes": "^2.1.0" } @@ -2031,6 +2173,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -2062,6 +2205,8 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "peer": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -2090,6 +2235,8 @@ "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "peer": true, "engines": { "node": ">=6" } @@ -2098,6 +2245,8 @@ "version": "5.15.1", "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "peer": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -2115,6 +2264,8 @@ "version": "5.3.6", "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz", "integrity": "sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==", + "dev": true, + "peer": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.14", "jest-worker": "^27.4.5", @@ -2148,6 +2299,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -2164,7 +2317,9 @@ "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "peer": true }, "node_modules/to-regex-range": { "version": "5.0.1", @@ -2178,6 +2333,12 @@ "node": ">=8.0" } }, + "node_modules/tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", + "dev": true + }, "node_modules/type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", @@ -2188,6 +2349,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "dev": true, "funding": [ { "type": "opencollective", @@ -2198,6 +2360,7 @@ "url": "https://tidelift.com/funding/github/npm/browserslist" } ], + "peer": true, "dependencies": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -2213,6 +2376,7 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "dependencies": { "punycode": "^2.1.0" } @@ -2221,6 +2385,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, "engines": { "node": ">=6" } @@ -2298,6 +2463,8 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dev": true, + "peer": true, "dependencies": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -2310,6 +2477,8 @@ "version": "5.75.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", + "dev": true, + "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -2356,6 +2525,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "peer": true, "dependencies": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -2373,6 +2544,8 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "peer": true, "engines": { "node": ">=10.13.0" } @@ -2408,17 +2581,23 @@ "@jridgewell/resolve-uri": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==" + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true, + "peer": true }, "@jridgewell/set-array": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "peer": true }, "@jridgewell/source-map": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "peer": true, "requires": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -2428,6 +2607,8 @@ "version": "0.3.2", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "peer": true, "requires": { "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -2439,12 +2620,16 @@ "@jridgewell/sourcemap-codec": { "version": "1.4.14", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true, + "peer": true }, "@jridgewell/trace-mapping": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "dev": true, + "peer": true, "requires": { "@jridgewell/resolve-uri": "3.1.0", "@jridgewell/sourcemap-codec": "1.4.14" @@ -2454,6 +2639,8 @@ "version": "8.4.10", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.10.tgz", "integrity": "sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==", + "dev": true, + "peer": true, "requires": { "@types/estree": "*", "@types/json-schema": "*" @@ -2463,6 +2650,8 @@ "version": "3.7.4", "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", + "dev": true, + "peer": true, "requires": { "@types/eslint": "*", "@types/estree": "*" @@ -2471,22 +2660,29 @@ "@types/estree": { "version": "0.0.51", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==" + "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "dev": true, + "peer": true }, "@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "dev": true }, "@types/node": { "version": "18.11.9", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.9.tgz", - "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==" + "integrity": "sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==", + "dev": true, + "peer": true }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/helper-numbers": "1.11.1", "@webassemblyjs/helper-wasm-bytecode": "1.11.1" @@ -2495,22 +2691,30 @@ "@webassemblyjs/floating-point-hex-parser": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==" + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true, + "peer": true }, "@webassemblyjs/helper-api-error": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==" + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true, + "peer": true }, "@webassemblyjs/helper-buffer": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==" + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true, + "peer": true }, "@webassemblyjs/helper-numbers": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/floating-point-hex-parser": "1.11.1", "@webassemblyjs/helper-api-error": "1.11.1", @@ -2520,12 +2724,16 @@ "@webassemblyjs/helper-wasm-bytecode": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==" + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true, + "peer": true }, "@webassemblyjs/helper-wasm-section": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -2537,6 +2745,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "dev": true, + "peer": true, "requires": { "@xtuc/ieee754": "^1.2.0" } @@ -2545,6 +2755,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "dev": true, + "peer": true, "requires": { "@xtuc/long": "4.2.2" } @@ -2552,12 +2764,16 @@ "@webassemblyjs/utf8": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==" + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "dev": true, + "peer": true }, "@webassemblyjs/wasm-edit": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -2573,6 +2789,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-wasm-bytecode": "1.11.1", @@ -2585,6 +2803,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-buffer": "1.11.1", @@ -2596,6 +2816,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/helper-api-error": "1.11.1", @@ -2609,6 +2831,8 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "dev": true, + "peer": true, "requires": { "@webassemblyjs/ast": "1.11.1", "@xtuc/long": "4.2.2" @@ -2617,22 +2841,30 @@ "@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "peer": true }, "@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "peer": true }, "acorn": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==" + "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "dev": true, + "peer": true }, "acorn-import-assertions": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "dev": true, + "peer": true, "requires": {} }, "adjust-sourcemap-loader": { @@ -2649,6 +2881,7 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -2660,6 +2893,7 @@ "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, "requires": {} }, "anymatch": { @@ -2733,6 +2967,8 @@ "version": "4.21.4", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "dev": true, + "peer": true, "requires": { "caniuse-lite": "^1.0.30001400", "electron-to-chromium": "^1.4.251", @@ -2743,7 +2979,9 @@ "buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "peer": true }, "camelcase": { "version": "5.3.1", @@ -2754,7 +2992,9 @@ "caniuse-lite": { "version": "1.0.30001431", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", - "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==" + "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "dev": true, + "peer": true }, "chokidar": { "version": "3.5.3", @@ -2775,7 +3015,9 @@ "chrome-trace-event": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", + "dev": true, + "peer": true }, "clone-deep": { "version": "4.0.1", @@ -2865,7 +3107,9 @@ "electron-to-chromium": { "version": "1.4.284", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==" + "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", + "dev": true, + "peer": true }, "emojis-list": { "version": "3.0.0", @@ -2877,6 +3121,8 @@ "version": "5.10.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz", "integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==", + "dev": true, + "peer": true, "requires": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -2885,7 +3131,9 @@ "es-module-lexer": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==" + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "dev": true, + "peer": true }, "es5-ext": { "version": "0.10.62", @@ -3092,7 +3340,9 @@ "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "peer": true }, "escape-string-regexp": { "version": "1.0.5", @@ -3104,6 +3354,8 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "peer": true, "requires": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" @@ -3113,6 +3365,8 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "peer": true, "requires": { "estraverse": "^5.2.0" }, @@ -3120,19 +3374,25 @@ "estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "peer": true } } }, "estraverse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "peer": true }, "events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "peer": true }, "ext": { "version": "1.7.0", @@ -3154,12 +3414,14 @@ "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "fill-range": { "version": "7.0.1", @@ -3212,12 +3474,16 @@ "glob-to-regexp": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "peer": true }, "graceful-fs": { "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true, + "peer": true }, "has": { "version": "1.0.3", @@ -3231,7 +3497,9 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true }, "immutable": { "version": "4.1.0", @@ -3309,6 +3577,8 @@ "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "peer": true, "requires": { "@types/node": "*", "merge-stream": "^2.0.0", @@ -3319,6 +3589,8 @@ "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "peer": true, "requires": { "has-flag": "^4.0.0" } @@ -3334,12 +3606,15 @@ "json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "peer": true }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true }, "json5": { "version": "2.2.1", @@ -3353,6 +3628,12 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, + "laravel-echo": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/laravel-echo/-/laravel-echo-1.14.1.tgz", + "integrity": "sha512-elCwcgBy0QxWUJN6b+hF5bqBZrQb1AdwGx7puv+eh3cBN3UHkJ+Jvjy1cHjaOBkkuPNA+GLJl13rp2QG/HsSfQ==", + "dev": true + }, "laravel-vite-plugin": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.0.tgz", @@ -3365,7 +3646,9 @@ "loader-runner": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==" + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "peer": true }, "loader-utils": { "version": "2.0.4", @@ -3387,17 +3670,21 @@ "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "peer": true }, "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true }, "mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "requires": { "mime-db": "1.52.0" } @@ -3417,7 +3704,8 @@ "neo-async": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true }, "next-tick": { "version": "1.1.0", @@ -3434,7 +3722,9 @@ "node-releases": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "dev": true, + "peer": true }, "normalize-path": { "version": "3.0.0", @@ -3457,7 +3747,8 @@ "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "picomatch": { "version": "2.3.1", @@ -3488,10 +3779,30 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", "dev": true }, + "pusher-js": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/pusher-js/-/pusher-js-7.4.1.tgz", + "integrity": "sha512-M+i3Q+Lqnql6g1/AQwIkriJ2NG28cngQgarRbtQCe0r/+Gcx3Z5yIQqd318qhHDq3HpU+k1JOE7z8bydAcG0WQ==", + "dev": true, + "requires": { + "@types/node": "^14.14.31", + "tweetnacl": "^1.0.3" + }, + "dependencies": { + "@types/node": { + "version": "14.18.33", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.33.tgz", + "integrity": "sha512-qelS/Ra6sacc4loe/3MSjXNL1dNQ/GjxNHVzuChwMfmk7HuycRLVQN2qNY3XahK+fZc5E2szqQSKUyAF0E+2bg==", + "dev": true + } + } + }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "peer": true, "requires": { "safe-buffer": "^5.1.0" } @@ -3697,7 +4008,9 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "peer": true }, "sass": { "version": "1.56.1", @@ -3772,6 +4085,8 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "peer": true, "requires": { "randombytes": "^2.1.0" } @@ -3803,7 +4118,8 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true }, "source-map-js": { "version": "1.0.2", @@ -3828,6 +4144,8 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "peer": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -3848,12 +4166,16 @@ "tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "peer": true }, "terser": { "version": "5.15.1", "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "dev": true, + "peer": true, "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -3864,7 +4186,9 @@ "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "peer": true } } }, @@ -3872,6 +4196,8 @@ "version": "5.3.6", "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz", "integrity": "sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==", + "dev": true, + "peer": true, "requires": { "@jridgewell/trace-mapping": "^0.3.14", "jest-worker": "^27.4.5", @@ -3884,6 +4210,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -3901,6 +4229,12 @@ "is-number": "^7.0.0" } }, + "tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", + "dev": true + }, "type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", @@ -3911,6 +4245,8 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "dev": true, + "peer": true, "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -3920,6 +4256,7 @@ "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "requires": { "punycode": "^2.1.0" }, @@ -3927,7 +4264,8 @@ "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true } } }, @@ -3964,6 +4302,8 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", + "dev": true, + "peer": true, "requires": { "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.1.2" @@ -3973,6 +4313,8 @@ "version": "5.75.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.75.0.tgz", "integrity": "sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==", + "dev": true, + "peer": true, "requires": { "@types/eslint-scope": "^3.7.3", "@types/estree": "^0.0.51", @@ -4004,6 +4346,8 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "peer": true, "requires": { "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", @@ -4013,7 +4357,9 @@ "webpack-sources": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", - "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==" + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "peer": true } } }, diff --git a/package.json b/package.json index 1756a3a..228a0ad 100644 --- a/package.json +++ b/package.json @@ -9,16 +9,15 @@ "bootstrap": "^4.6.0", "cross-env": "^5.2.1", "jquery": "^3.5.1", + "laravel-echo": "^1.14.1", "laravel-vite-plugin": "^0.7.0", "lodash": "^4.17.21", "popper.js": "^1.16.1", "postcss": "^8.4.19", + "pusher-js": "^7.4.1", "resolve-url-loader": "^3.1.3", "sass": "^1.56.1", "sass-loader": "^8.0.2", "vite": "^3.2.3" - }, - "dependencies": { - "webpack": "^5.75.0" } } diff --git a/public/build/assets/app.95ac02f4.js b/public/build/assets/app.95ac02f4.js deleted file mode 100644 index 702132d..0000000 --- a/public/build/assets/app.95ac02f4.js +++ /dev/null @@ -1 +0,0 @@ -require("./bootstrap"); diff --git a/public/build/assets/app.d3c19ffe.js b/public/build/assets/app.d3c19ffe.js new file mode 100644 index 0000000..7b3eabb --- /dev/null +++ b/public/build/assets/app.d3c19ffe.js @@ -0,0 +1 @@ +import"./bootstrap.a2e087ef.js"; diff --git a/public/build/assets/bootstrap.a2e087ef.js b/public/build/assets/bootstrap.a2e087ef.js new file mode 100644 index 0000000..155ac1f --- /dev/null +++ b/public/build/assets/bootstrap.a2e087ef.js @@ -0,0 +1,35 @@ +var Zr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kv(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Wu={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(a,h){(function(){var s,p="4.17.21",g=200,w="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",N="Invalid `variable` option passed into `_.template`",D="__lodash_hash_undefined__",R=500,q="__lodash_placeholder__",z=1,j=2,B=4,U=1,F=2,k=1,I=2,J=4,Q=8,gt=16,pt=32,Ct=64,St=128,Rt=256,It=512,oe=30,Bo="...",Fo=800,Mo=16,Je=1,xn=2,Ho=3,Pe=1/0,me=9007199254740991,qo=17976931348623157e292,Cn=0/0,Yt=4294967295,ii=Yt-1,Wo=Yt>>>1,zo=[["ary",St],["bind",k],["bindKey",I],["curry",Q],["curryRight",gt],["flip",It],["partial",pt],["partialRight",Ct],["rearg",Rt]],Wt="[object Arguments]",En="[object Array]",jo="[object AsyncFunction]",_t="[object Boolean]",wt="[object Date]",Jo="[object DOMException]",sn="[object Error]",zt="[object Function]",er="[object GeneratorFunction]",Zt="[object Map]",he="[object Number]",oi="[object Null]",pe="[object Object]",nr="[object Promise]",si="[object Proxy]",un="[object RegExp]",jt="[object Set]",an="[object String]",An="[object Symbol]",Xo="[object Undefined]",cn="[object WeakMap]",On="[object WeakSet]",fn="[object ArrayBuffer]",ut="[object DataView]",rr="[object Float32Array]",ir="[object Float64Array]",or="[object Int8Array]",sr="[object Int16Array]",ur="[object Int32Array]",ar="[object Uint8Array]",cr="[object Uint8ClampedArray]",fr="[object Uint16Array]",lr="[object Uint32Array]",hr=/\b__p \+= '';/g,pr=/\b(__p \+=) '' \+/g,Go=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ui=/&(?:amp|lt|gt|quot|#39);/g,ai=/[&<>"']/g,Ko=RegExp(ui.source),$o=RegExp(ai.source),dr=/<%-([\s\S]+?)%>/g,Vo=/<%([\s\S]+?)%>/g,de=/<%=([\s\S]+?)%>/g,Yo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zo=/^\w*$/,Qo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gr=/[\\^$.*+?()[\]{}|]/g,Xe=RegExp(gr.source),vr=/^\s+/,ci=/\s/,fi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,li=/\{\n\/\* \[wrapped with (.+)\] \*/,hi=/,? & /,ts=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,es=/[()=,{}\[\]\/\s]/,ns=/\\(\\)?/g,Pn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pi=/\w*$/,di=/^[-+]0x[0-9a-f]+$/i,rs=/^0b[01]+$/i,is=/^\[object .+?Constructor\]$/,os=/^0o[0-7]+$/i,ss=/^(?:0|[1-9]\d*)$/,us=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rn=/($^)/,as=/['\n\r\u2028\u2029\\]/g,kn="\\ud800-\\udfff",gi="\\u0300-\\u036f",Re="\\ufe20-\\ufe2f",cs="\\u20d0-\\u20ff",vi=gi+Re+cs,_i="\\u2700-\\u27bf",yi="a-z\\xdf-\\xf6\\xf8-\\xff",fs="\\xac\\xb1\\xd7\\xf7",ls="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hs="\\u2000-\\u206f",ps=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mi="A-Z\\xc0-\\xd6\\xd8-\\xde",Ln="\\ufe0e\\ufe0f",bi=fs+ls+hs+ps,_r="['\u2019]",yr="["+kn+"]",wi="["+bi+"]",In="["+vi+"]",Si="\\d+",ds="["+_i+"]",Ti="["+yi+"]",xi="[^"+kn+bi+Si+_i+yi+mi+"]",mr="\\ud83c[\\udffb-\\udfff]",gs="(?:"+In+"|"+mr+")",Nn="[^"+kn+"]",br="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+mi+"]",Ci="\\u200d",Ei="(?:"+Ti+"|"+xi+")",vs="(?:"+Ge+"|"+xi+")",Ai="(?:"+_r+"(?:d|ll|m|re|s|t|ve))?",Oi="(?:"+_r+"(?:D|LL|M|RE|S|T|VE))?",Pi=gs+"?",Ri="["+Ln+"]?",ge="(?:"+Ci+"(?:"+[Nn,br,wr].join("|")+")"+Ri+Pi+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ki="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Li=Ri+Pi+ge,ke="(?:"+[ds,br,wr].join("|")+")"+Li,ys="(?:"+[Nn+In+"?",In,br,wr,yr].join("|")+")",Sr=RegExp(_r,"g"),ms=RegExp(In,"g"),Tr=RegExp(mr+"(?="+mr+")|"+ys+Li,"g"),bs=RegExp([Ge+"?"+Ti+"+"+Ai+"(?="+[wi,Ge,"$"].join("|")+")",vs+"+"+Oi+"(?="+[wi,Ge+Ei,"$"].join("|")+")",Ge+"?"+Ei+"+"+Ai,Ge+"+"+Oi,ki,_s,Si,ke].join("|"),"g"),ws=RegExp("["+Ci+kn+vi+Ln+"]"),Ss=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ts=-1,ht={};ht[rr]=ht[ir]=ht[or]=ht[sr]=ht[ur]=ht[ar]=ht[cr]=ht[fr]=ht[lr]=!0,ht[Wt]=ht[En]=ht[fn]=ht[_t]=ht[ut]=ht[wt]=ht[sn]=ht[zt]=ht[Zt]=ht[he]=ht[pe]=ht[un]=ht[jt]=ht[an]=ht[cn]=!1;var ft={};ft[Wt]=ft[En]=ft[fn]=ft[ut]=ft[_t]=ft[wt]=ft[rr]=ft[ir]=ft[or]=ft[sr]=ft[ur]=ft[Zt]=ft[he]=ft[pe]=ft[un]=ft[jt]=ft[an]=ft[An]=ft[ar]=ft[cr]=ft[fr]=ft[lr]=!0,ft[sn]=ft[zt]=ft[cn]=!1;var xs={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Dn={"&":"&","<":"<",">":">",'"':""","'":"'"},Cs={"&":"&","<":"<",">":">",""":'"',"'":"'"},ln={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Es=parseFloat,As=parseInt,Ke=typeof Zr=="object"&&Zr&&Zr.Object===Object&&Zr,Os=typeof self=="object"&&self&&self.Object===Object&&self,Tt=Ke||Os||Function("return this")(),Cr=h&&!h.nodeType&&h,Le=Cr&&!0&&a&&!a.nodeType&&a,Ii=Le&&Le.exports===Cr,Er=Ii&&Ke.process,Jt=function(){try{var v=Le&&Le.require&&Le.require("util").types;return v||Er&&Er.binding&&Er.binding("util")}catch{}}(),Ni=Jt&&Jt.isArrayBuffer,Di=Jt&&Jt.isDate,Un=Jt&&Jt.isMap,be=Jt&&Jt.isRegExp,Ui=Jt&&Jt.isSet,Bi=Jt&&Jt.isTypedArray;function Nt(v,S,x){switch(x.length){case 0:return v.call(S);case 1:return v.call(S,x[0]);case 2:return v.call(S,x[0],x[1]);case 3:return v.call(S,x[0],x[1],x[2])}return v.apply(S,x)}function Ps(v,S,x,E){for(var M=-1,X=v==null?0:v.length;++M-1}function Or(v,S,x){for(var E=-1,M=v==null?0:v.length;++E-1;);return x}function ji(v,S){for(var x=v.length;x--&&Te(S,v[x],0)>-1;);return x}function $e(v,S){for(var x=v.length,E=0;x--;)v[x]===S&&++E;return E}var Us=Lr(xs),Bs=Lr(Dn);function Fs(v){return"\\"+ln[v]}function Ji(v,S){return v==null?s:v[S]}function Ve(v){return ws.test(v)}function Ms(v){return Ss.test(v)}function Hs(v){for(var S,x=[];!(S=v.next()).done;)x.push(S.value);return x}function Br(v){var S=-1,x=Array(v.size);return v.forEach(function(E,M){x[++S]=[M,E]}),x}function Xi(v,S){return function(x){return v(S(x))}}function xe(v,S){for(var x=-1,E=v.length,M=0,X=[];++x-1}function nl(t,e){var n=this.__data__,u=so(n,t);return u<0?(++this.size,n.push([t,e])):n[u][1]=e,this}Ne.prototype.clear=Zf,Ne.prototype.delete=Qf,Ne.prototype.get=tl,Ne.prototype.has=el,Ne.prototype.set=nl;function De(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e=e?t:e)),t}function ue(t,e,n,u,f,_){var b,T=e&z,C=e&j,A=e&B;if(n&&(b=f?n(t,u,f,_):n(t)),b!==s)return b;if(!vt(t))return t;var O=Y(t);if(O){if(b=sh(t),!T)return Xt(t,b)}else{var L=Lt(t),H=L==zt||L==er;if(rn(t))return Ua(t,T);if(L==pe||L==Wt||H&&!f){if(b=C||H?{}:ec(t),!T)return C?$l(t,yl(b,t)):Kl(t,ha(b,t))}else{if(!ft[L])return f?t:{};b=uh(t,L,T)}}_||(_=new ve);var W=_.get(t);if(W)return W;_.set(t,b),Rc(t)?t.forEach(function($){b.add(ue($,e,n,$,t,_))}):Oc(t)&&t.forEach(function($,nt){b.set(nt,ue($,e,n,nt,t,_))});var K=A?C?_u:vu:C?Kt:Et,tt=O?s:K(t);return Dt(tt||t,function($,nt){tt&&(nt=$,$=t[nt]),zr(b,nt,ue($,e,n,nt,t,_))}),b}function ml(t){var e=Et(t);return function(n){return pa(n,t,e)}}function pa(t,e,n){var u=n.length;if(t==null)return!u;for(t=lt(t);u--;){var f=n[u],_=e[f],b=t[f];if(b===s&&!(f in t)||!_(b))return!1}return!0}function da(t,e,n){if(typeof t!="function")throw new Ft(m);return Vr(function(){t.apply(s,n)},e)}function jr(t,e,n,u){var f=-1,_=Bn,b=!0,T=t.length,C=[],A=e.length;if(!T)return C;n&&(e=dt(e,Ut(n))),u?(_=Or,b=!1):e.length>=g&&(_=hn,b=!1,e=new _n(e));t:for(;++ff?0:f+n),u=u===s||u>f?f:Z(u),u<0&&(u+=f),u=n>u?0:Lc(u);n0&&n(T)?e>1?At(T,e-1,n,u,f):Se(f,T):u||(f[f.length]=T)}return f}var Zs=Wa(),_a=Wa(!0);function Ee(t,e){return t&&Zs(t,e,Et)}function Qs(t,e){return t&&_a(t,e,Et)}function ao(t,e){return we(e,function(n){return He(t[n])})}function mn(t,e){e=en(e,t);for(var n=0,u=e.length;t!=null&&ne}function Sl(t,e){return t!=null&&ot.call(t,e)}function Tl(t,e){return t!=null&&e in lt(t)}function xl(t,e,n){return t>=kt(e,n)&&t=120&&O.length>=120)?new _n(b&&O):s}O=t[0];var L=-1,H=T[0];t:for(;++L-1;)T!==t&&Zi.call(T,C,1),Zi.call(t,C,1);return t}function Oa(t,e){for(var n=t?e.length:0,u=n-1;n--;){var f=e[n];if(n==u||f!==_){var _=f;Me(f)?Zi.call(t,f,1):cu(t,f)}}return t}function su(t,e){return t+eo(aa()*(e-t+1))}function Bl(t,e,n,u){for(var f=-1,_=xt(to((e-t)/(n||1)),0),b=x(_);_--;)b[u?_:++f]=t,t+=n;return b}function uu(t,e){var n="";if(!t||e<1||e>me)return n;do e%2&&(n+=t),e=eo(e/2),e&&(t+=t);while(e);return n}function et(t,e){return xu(ic(t,e,$t),t+"")}function Fl(t){return la(Zn(t))}function Ml(t,e){var n=Zn(t);return bo(n,yn(e,0,n.length))}function Gr(t,e,n,u){if(!vt(t))return t;e=en(e,t);for(var f=-1,_=e.length,b=_-1,T=t;T!=null&&++f<_;){var C=Oe(e[f]),A=n;if(C==="__proto__"||C==="constructor"||C==="prototype")return t;if(f!=b){var O=T[C];A=u?u(O,C,T):s,A===s&&(A=vt(O)?O:Me(e[f+1])?[]:{})}zr(T,C,A),T=T[C]}return t}var Pa=no?function(t,e){return no.set(t,e),t}:$t,Hl=Qi?function(t,e){return Qi(t,"toString",{configurable:!0,enumerable:!1,value:Nu(e),writable:!0})}:$t;function ql(t){return bo(Zn(t))}function ae(t,e,n){var u=-1,f=t.length;e<0&&(e=-e>f?0:f+e),n=n>f?f:n,n<0&&(n+=f),f=e>n?0:n-e>>>0,e>>>=0;for(var _=x(f);++u>>1,b=t[_];b!==null&&!te(b)&&(n?b<=e:b=g){var A=e?null:Ql(t);if(A)return Mn(A);b=!1,f=hn,C=new _n}else C=e?[]:T;t:for(;++u<_;){var O=t[u],L=e?e(O):O;if(O=n||O!==0?O:0,b&&L===L){for(var H=C.length;H--;)if(C[H]===L)continue t;e&&C.push(L),T.push(O)}else f(C,L,n)||(C!==T&&C.push(L),T.push(O))}return T}function cu(t,e){return e=en(e,t),t=oc(t,e),t==null||delete t[Oe(ce(e))]}function La(t,e,n,u){return Gr(t,e,n(mn(t,e)),u)}function lo(t,e,n,u){for(var f=t.length,_=u?f:-1;(u?_--:++_=u?t:ae(t,e,n)}var Da=Rf||function(t){return Tt.clearTimeout(t)};function Ua(t,e){if(e)return t.slice();var n=t.length,u=ra?ra(n):new t.constructor(n);return t.copy(u),u}function pu(t){var e=new t.constructor(t.byteLength);return new dn(e).set(new dn(t)),e}function jl(t,e){var n=e?pu(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Jl(t){var e=new t.constructor(t.source,pi.exec(t));return e.lastIndex=t.lastIndex,e}function Xl(t){return Wr?lt(Wr.call(t)):{}}function Ba(t,e){var n=e?pu(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Fa(t,e){if(t!==e){var n=t!==s,u=t===null,f=t===t,_=te(t),b=e!==s,T=e===null,C=e===e,A=te(e);if(!T&&!A&&!_&&t>e||_&&b&&C&&!T&&!A||u&&b&&C||!n&&C||!f)return 1;if(!u&&!_&&!A&&t=T)return C;var A=n[u];return C*(A=="desc"?-1:1)}}return t.index-e.index}function Ma(t,e,n,u){for(var f=-1,_=t.length,b=n.length,T=-1,C=e.length,A=xt(_-b,0),O=x(C+A),L=!u;++T1?n[f-1]:s,b=f>2?n[2]:s;for(_=t.length>3&&typeof _=="function"?(f--,_):s,b&&Ht(n[0],n[1],b)&&(_=f<3?s:_,f=1),e=lt(e);++u-1?f[_?e[b]:b]:s}}function Ja(t){return Fe(function(e){var n=e.length,u=n,f=se.prototype.thru;for(t&&e.reverse();u--;){var _=e[u];if(typeof _!="function")throw new Ft(m);if(f&&!b&&yo(_)=="wrapper")var b=new se([],!0)}for(u=b?u:n;++u1&&it.reverse(),O&&CT))return!1;var A=_.get(t),O=_.get(e);if(A&&O)return A==e&&O==t;var L=-1,H=!0,W=n&F?new _n:s;for(_.set(t,e),_.set(e,t);++L1?"& ":"")+e[u],e=e.join(n>2?", ":" "),t.replace(fi,`{ +/* [wrapped with `+e+`] */ +`)}function ch(t){return Y(t)||Sn(t)||!!(sa&&t&&t[sa])}function Me(t,e){var n=typeof t;return e=e==null?me:e,!!e&&(n=="number"||n!="symbol"&&ss.test(t))&&t>-1&&t%1==0&&t0){if(++e>=Fo)return arguments[0]}else e=0;return t.apply(s,arguments)}}function bo(t,e){var n=-1,u=t.length,f=u-1;for(e=e===s?u:e;++n1?t[e-1]:s;return n=typeof n=="function"?(t.pop(),n):s,vc(t,n)});function _c(t){var e=d(t);return e.__chain__=!0,e}function bp(t,e){return e(t),t}function wo(t,e){return e(t)}var wp=Fe(function(t){var e=t.length,n=e?t[0]:0,u=this.__wrapped__,f=function(_){return Ys(_,t)};return e>1||this.__actions__.length||!(u instanceof rt)||!Me(n)?this.thru(f):(u=u.slice(n,+n+(e?1:0)),u.__actions__.push({func:wo,args:[f],thisArg:s}),new se(u,this.__chain__).thru(function(_){return e&&!_.length&&_.push(s),_}))});function Sp(){return _c(this)}function Tp(){return new se(this.value(),this.__chain__)}function xp(){this.__values__===s&&(this.__values__=kc(this.value()));var t=this.__index__>=this.__values__.length,e=t?s:this.__values__[this.__index__++];return{done:t,value:e}}function Cp(){return this}function Ep(t){for(var e,n=this;n instanceof oo;){var u=fc(n);u.__index__=0,u.__values__=s,e?f.__wrapped__=u:e=u;var f=u;n=n.__wrapped__}return f.__wrapped__=t,e}function Ap(){var t=this.__wrapped__;if(t instanceof rt){var e=t;return this.__actions__.length&&(e=new rt(this)),e=e.reverse(),e.__actions__.push({func:wo,args:[Cu],thisArg:s}),new se(e,this.__chain__)}return this.thru(Cu)}function Op(){return Ia(this.__wrapped__,this.__actions__)}var Pp=ho(function(t,e,n){ot.call(t,n)?++t[n]:Ue(t,n,1)});function Rp(t,e,n){var u=Y(t)?Ar:bl;return n&&Ht(t,e,n)&&(e=s),u(t,G(e,3))}function kp(t,e){var n=Y(t)?we:va;return n(t,G(e,3))}var Lp=ja(lc),Ip=ja(hc);function Np(t,e){return At(So(t,e),1)}function Dp(t,e){return At(So(t,e),Pe)}function Up(t,e,n){return n=n===s?1:Z(n),At(So(t,e),n)}function yc(t,e){var n=Y(t)?Dt:Qe;return n(t,G(e,3))}function mc(t,e){var n=Y(t)?Rs:ga;return n(t,G(e,3))}var Bp=ho(function(t,e,n){ot.call(t,n)?t[n].push(e):Ue(t,n,[e])});function Fp(t,e,n,u){t=Gt(t)?t:Zn(t),n=n&&!u?Z(n):0;var f=t.length;return n<0&&(n=xt(f+n,0)),Ao(t)?n<=f&&t.indexOf(e,n)>-1:!!f&&Te(t,e,n)>-1}var Mp=et(function(t,e,n){var u=-1,f=typeof e=="function",_=Gt(t)?x(t.length):[];return Qe(t,function(b){_[++u]=f?Nt(e,b,n):Jr(b,e,n)}),_}),Hp=ho(function(t,e,n){Ue(t,n,e)});function So(t,e){var n=Y(t)?dt:Sa;return n(t,G(e,3))}function qp(t,e,n,u){return t==null?[]:(Y(e)||(e=e==null?[]:[e]),n=u?s:n,Y(n)||(n=n==null?[]:[n]),Ea(t,e,n))}var Wp=ho(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});function zp(t,e,n){var u=Y(t)?Pr:Ir,f=arguments.length<3;return u(t,G(e,4),n,f,Qe)}function jp(t,e,n){var u=Y(t)?ks:Ir,f=arguments.length<3;return u(t,G(e,4),n,f,ga)}function Jp(t,e){var n=Y(t)?we:va;return n(t,Co(G(e,3)))}function Xp(t){var e=Y(t)?la:Fl;return e(t)}function Gp(t,e,n){(n?Ht(t,e,n):e===s)?e=1:e=Z(e);var u=Y(t)?gl:Ml;return u(t,e)}function Kp(t){var e=Y(t)?vl:ql;return e(t)}function $p(t){if(t==null)return 0;if(Gt(t))return Ao(t)?Ie(t):t.length;var e=Lt(t);return e==Zt||e==jt?t.size:ru(t).length}function Vp(t,e,n){var u=Y(t)?Rr:Wl;return n&&Ht(t,e,n)&&(e=s),u(t,G(e,3))}var Yp=et(function(t,e){if(t==null)return[];var n=e.length;return n>1&&Ht(t,e[0],e[1])?e=[]:n>2&&Ht(e[0],e[1],e[2])&&(e=[e[0]]),Ea(t,At(e,1),[])}),To=kf||function(){return Tt.Date.now()};function Zp(t,e){if(typeof e!="function")throw new Ft(m);return t=Z(t),function(){if(--t<1)return e.apply(this,arguments)}}function bc(t,e,n){return e=n?s:e,e=t&&e==null?t.length:e,Be(t,St,s,s,s,s,e)}function wc(t,e){var n;if(typeof e!="function")throw new Ft(m);return t=Z(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=s),n}}var Au=et(function(t,e,n){var u=k;if(n.length){var f=xe(n,Vn(Au));u|=pt}return Be(t,u,e,n,f)}),Sc=et(function(t,e,n){var u=k|I;if(n.length){var f=xe(n,Vn(Sc));u|=pt}return Be(e,u,t,n,f)});function Tc(t,e,n){e=n?s:e;var u=Be(t,Q,s,s,s,s,s,e);return u.placeholder=Tc.placeholder,u}function xc(t,e,n){e=n?s:e;var u=Be(t,gt,s,s,s,s,s,e);return u.placeholder=xc.placeholder,u}function Cc(t,e,n){var u,f,_,b,T,C,A=0,O=!1,L=!1,H=!0;if(typeof t!="function")throw new Ft(m);e=fe(e)||0,vt(n)&&(O=!!n.leading,L="maxWait"in n,_=L?xt(fe(n.maxWait)||0,e):_,H="trailing"in n?!!n.trailing:H);function W(bt){var ye=u,We=f;return u=f=s,A=bt,b=t.apply(We,ye),b}function K(bt){return A=bt,T=Vr(nt,e),O?W(bt):b}function tt(bt){var ye=bt-C,We=bt-A,jc=e-ye;return L?kt(jc,_-We):jc}function $(bt){var ye=bt-C,We=bt-A;return C===s||ye>=e||ye<0||L&&We>=_}function nt(){var bt=To();if($(bt))return it(bt);T=Vr(nt,tt(bt))}function it(bt){return T=s,H&&u?W(bt):(u=f=s,b)}function ee(){T!==s&&Da(T),A=0,u=C=f=T=s}function qt(){return T===s?b:it(To())}function ne(){var bt=To(),ye=$(bt);if(u=arguments,f=this,C=bt,ye){if(T===s)return K(C);if(L)return Da(T),T=Vr(nt,e),W(C)}return T===s&&(T=Vr(nt,e)),b}return ne.cancel=ee,ne.flush=qt,ne}var Qp=et(function(t,e){return da(t,1,e)}),td=et(function(t,e,n){return da(t,fe(e)||0,n)});function ed(t){return Be(t,It)}function xo(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new Ft(m);var n=function(){var u=arguments,f=e?e.apply(this,u):u[0],_=n.cache;if(_.has(f))return _.get(f);var b=t.apply(this,u);return n.cache=_.set(f,b)||_,b};return n.cache=new(xo.Cache||De),n}xo.Cache=De;function Co(t){if(typeof t!="function")throw new Ft(m);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function nd(t){return wc(2,t)}var rd=zl(function(t,e){e=e.length==1&&Y(e[0])?dt(e[0],Ut(G())):dt(At(e,1),Ut(G()));var n=e.length;return et(function(u){for(var f=-1,_=kt(u.length,n);++f<_;)u[f]=e[f].call(this,u[f]);return Nt(t,this,u)})}),Ou=et(function(t,e){var n=xe(e,Vn(Ou));return Be(t,pt,s,e,n)}),Ec=et(function(t,e){var n=xe(e,Vn(Ec));return Be(t,Ct,s,e,n)}),id=Fe(function(t,e){return Be(t,Rt,s,s,s,e)});function od(t,e){if(typeof t!="function")throw new Ft(m);return e=e===s?e:Z(e),et(t,e)}function sd(t,e){if(typeof t!="function")throw new Ft(m);return e=e==null?0:xt(Z(e),0),et(function(n){var u=n[e],f=nn(n,0,e);return u&&Se(f,u),Nt(t,this,f)})}function ud(t,e,n){var u=!0,f=!0;if(typeof t!="function")throw new Ft(m);return vt(n)&&(u="leading"in n?!!n.leading:u,f="trailing"in n?!!n.trailing:f),Cc(t,e,{leading:u,maxWait:e,trailing:f})}function ad(t){return bc(t,1)}function cd(t,e){return Ou(hu(e),t)}function fd(){if(!arguments.length)return[];var t=arguments[0];return Y(t)?t:[t]}function ld(t){return ue(t,B)}function hd(t,e){return e=typeof e=="function"?e:s,ue(t,B,e)}function pd(t){return ue(t,z|B)}function dd(t,e){return e=typeof e=="function"?e:s,ue(t,z|B,e)}function gd(t,e){return e==null||pa(t,e,Et(e))}function _e(t,e){return t===e||t!==t&&e!==e}var vd=_o(tu),_d=_o(function(t,e){return t>=e}),Sn=ma(function(){return arguments}())?ma:function(t){return yt(t)&&ot.call(t,"callee")&&!oa.call(t,"callee")},Y=x.isArray,yd=Ni?Ut(Ni):El;function Gt(t){return t!=null&&Eo(t.length)&&!He(t)}function mt(t){return yt(t)&&Gt(t)}function md(t){return t===!0||t===!1||yt(t)&&Mt(t)==_t}var rn=If||Mu,bd=Di?Ut(Di):Al;function wd(t){return yt(t)&&t.nodeType===1&&!Yr(t)}function Sd(t){if(t==null)return!0;if(Gt(t)&&(Y(t)||typeof t=="string"||typeof t.splice=="function"||rn(t)||Yn(t)||Sn(t)))return!t.length;var e=Lt(t);if(e==Zt||e==jt)return!t.size;if($r(t))return!ru(t).length;for(var n in t)if(ot.call(t,n))return!1;return!0}function Td(t,e){return Xr(t,e)}function xd(t,e,n){n=typeof n=="function"?n:s;var u=n?n(t,e):s;return u===s?Xr(t,e,s,n):!!u}function Pu(t){if(!yt(t))return!1;var e=Mt(t);return e==sn||e==Jo||typeof t.message=="string"&&typeof t.name=="string"&&!Yr(t)}function Cd(t){return typeof t=="number"&&ua(t)}function He(t){if(!vt(t))return!1;var e=Mt(t);return e==zt||e==er||e==jo||e==si}function Ac(t){return typeof t=="number"&&t==Z(t)}function Eo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=me}function vt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function yt(t){return t!=null&&typeof t=="object"}var Oc=Un?Ut(Un):Pl;function Ed(t,e){return t===e||nu(t,e,mu(e))}function Ad(t,e,n){return n=typeof n=="function"?n:s,nu(t,e,mu(e),n)}function Od(t){return Pc(t)&&t!=+t}function Pd(t){if(hh(t))throw new M(w);return ba(t)}function Rd(t){return t===null}function kd(t){return t==null}function Pc(t){return typeof t=="number"||yt(t)&&Mt(t)==he}function Yr(t){if(!yt(t)||Mt(t)!=pe)return!1;var e=Yi(t);if(e===null)return!0;var n=ot.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&pn.call(n)==Vi}var Ru=be?Ut(be):Rl;function Ld(t){return Ac(t)&&t>=-me&&t<=me}var Rc=Ui?Ut(Ui):kl;function Ao(t){return typeof t=="string"||!Y(t)&&yt(t)&&Mt(t)==an}function te(t){return typeof t=="symbol"||yt(t)&&Mt(t)==An}var Yn=Bi?Ut(Bi):Ll;function Id(t){return t===s}function Nd(t){return yt(t)&&Lt(t)==cn}function Dd(t){return yt(t)&&Mt(t)==On}var Ud=_o(iu),Bd=_o(function(t,e){return t<=e});function kc(t){if(!t)return[];if(Gt(t))return Ao(t)?Bt(t):Xt(t);if(Fr&&t[Fr])return Hs(t[Fr]());var e=Lt(t),n=e==Zt?Br:e==jt?Mn:Zn;return n(t)}function qe(t){if(!t)return t===0?t:0;if(t=fe(t),t===Pe||t===-Pe){var e=t<0?-1:1;return e*qo}return t===t?t:0}function Z(t){var e=qe(t),n=e%1;return e===e?n?e-n:e:0}function Lc(t){return t?yn(Z(t),0,Yt):0}function fe(t){if(typeof t=="number")return t;if(te(t))return Cn;if(vt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=vt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=Wi(t);var n=rs.test(t);return n||os.test(t)?As(t.slice(2),n?2:8):di.test(t)?Cn:+t}function Ic(t){return Ae(t,Kt(t))}function Fd(t){return t?yn(Z(t),-me,me):t===0?t:0}function ct(t){return t==null?"":Qt(t)}var Md=Kn(function(t,e){if($r(e)||Gt(e)){Ae(e,Et(e),t);return}for(var n in e)ot.call(e,n)&&zr(t,n,e[n])}),Nc=Kn(function(t,e){Ae(e,Kt(e),t)}),Oo=Kn(function(t,e,n,u){Ae(e,Kt(e),t,u)}),Hd=Kn(function(t,e,n,u){Ae(e,Et(e),t,u)}),qd=Fe(Ys);function Wd(t,e){var n=Gn(t);return e==null?n:ha(n,e)}var zd=et(function(t,e){t=lt(t);var n=-1,u=e.length,f=u>2?e[2]:s;for(f&&Ht(e[0],e[1],f)&&(u=1);++n1),_}),Ae(t,_u(t),n),u&&(n=ue(n,z|j|B,th));for(var f=e.length;f--;)cu(n,e[f]);return n});function ug(t,e){return Uc(t,Co(G(e)))}var ag=Fe(function(t,e){return t==null?{}:Dl(t,e)});function Uc(t,e){if(t==null)return{};var n=dt(_u(t),function(u){return[u]});return e=G(e),Aa(t,n,function(u,f){return e(u,f[0])})}function cg(t,e,n){e=en(e,t);var u=-1,f=e.length;for(f||(f=1,t=s);++ue){var u=t;t=e,e=u}if(n||t%1||e%1){var f=aa();return kt(t+f*(e-t+Es("1e-"+((f+"").length-1))),e)}return su(t,e)}var bg=$n(function(t,e,n){return e=e.toLowerCase(),t+(n?Mc(e):e)});function Mc(t){return Iu(ct(t).toLowerCase())}function Hc(t){return t=ct(t),t&&t.replace(us,Us).replace(ms,"")}function wg(t,e,n){t=ct(t),e=Qt(e);var u=t.length;n=n===s?u:yn(Z(n),0,u);var f=n;return n-=e.length,n>=0&&t.slice(n,f)==e}function Sg(t){return t=ct(t),t&&$o.test(t)?t.replace(ai,Bs):t}function Tg(t){return t=ct(t),t&&Xe.test(t)?t.replace(gr,"\\$&"):t}var xg=$n(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Cg=$n(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Eg=za("toLowerCase");function Ag(t,e,n){t=ct(t),e=Z(e);var u=e?Ie(t):0;if(!e||u>=e)return t;var f=(e-u)/2;return vo(eo(f),n)+t+vo(to(f),n)}function Og(t,e,n){t=ct(t),e=Z(e);var u=e?Ie(t):0;return e&&u>>0,n?(t=ct(t),t&&(typeof e=="string"||e!=null&&!Ru(e))&&(e=Qt(e),!e&&Ve(t))?nn(Bt(t),0,n):t.split(e,n)):[]}var Dg=$n(function(t,e,n){return t+(n?" ":"")+Iu(e)});function Ug(t,e,n){return t=ct(t),n=n==null?0:yn(Z(n),0,t.length),e=Qt(e),t.slice(n,n+e.length)==e}function Bg(t,e,n){var u=d.templateSettings;n&&Ht(t,e,n)&&(e=s),t=ct(t),e=Oo({},e,u,Va);var f=Oo({},e.imports,u.imports,Va),_=Et(f),b=Ur(f,_),T,C,A=0,O=e.interpolate||Rn,L="__p += '",H=Hn((e.escape||Rn).source+"|"+O.source+"|"+(O===de?Pn:Rn).source+"|"+(e.evaluate||Rn).source+"|$","g"),W="//# sourceURL="+(ot.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ts+"]")+` +`;t.replace(H,function($,nt,it,ee,qt,ne){return it||(it=ee),L+=t.slice(A,ne).replace(as,Fs),nt&&(T=!0,L+=`' + +__e(`+nt+`) + +'`),qt&&(C=!0,L+=`'; +`+qt+`; +__p += '`),it&&(L+=`' + +((__t = (`+it+`)) == null ? '' : __t) + +'`),A=ne+$.length,$}),L+=`'; +`;var K=ot.call(e,"variable")&&e.variable;if(!K)L=`with (obj) { +`+L+` +} +`;else if(es.test(K))throw new M(N);L=(C?L.replace(hr,""):L).replace(pr,"$1").replace(Go,"$1;"),L="function("+(K||"obj")+`) { +`+(K?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(T?", __e = _.escape":"")+(C?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+L+`return __p +}`;var tt=Wc(function(){return X(_,W+"return "+L).apply(s,b)});if(tt.source=L,Pu(tt))throw tt;return tt}function Fg(t){return ct(t).toLowerCase()}function Mg(t){return ct(t).toUpperCase()}function Hg(t,e,n){if(t=ct(t),t&&(n||e===s))return Wi(t);if(!t||!(e=Qt(e)))return t;var u=Bt(t),f=Bt(e),_=zi(u,f),b=ji(u,f)+1;return nn(u,_,b).join("")}function qg(t,e,n){if(t=ct(t),t&&(n||e===s))return t.slice(0,Gi(t)+1);if(!t||!(e=Qt(e)))return t;var u=Bt(t),f=ji(u,Bt(e))+1;return nn(u,0,f).join("")}function Wg(t,e,n){if(t=ct(t),t&&(n||e===s))return t.replace(vr,"");if(!t||!(e=Qt(e)))return t;var u=Bt(t),f=zi(u,Bt(e));return nn(u,f).join("")}function zg(t,e){var n=oe,u=Bo;if(vt(e)){var f="separator"in e?e.separator:f;n="length"in e?Z(e.length):n,u="omission"in e?Qt(e.omission):u}t=ct(t);var _=t.length;if(Ve(t)){var b=Bt(t);_=b.length}if(n>=_)return t;var T=n-Ie(u);if(T<1)return u;var C=b?nn(b,0,T).join(""):t.slice(0,T);if(f===s)return C+u;if(b&&(T+=C.length-T),Ru(f)){if(t.slice(T).search(f)){var A,O=C;for(f.global||(f=Hn(f.source,ct(pi.exec(f))+"g")),f.lastIndex=0;A=f.exec(O);)var L=A.index;C=C.slice(0,L===s?T:L)}}else if(t.indexOf(Qt(f),T)!=T){var H=C.lastIndexOf(f);H>-1&&(C=C.slice(0,H))}return C+u}function jg(t){return t=ct(t),t&&Ko.test(t)?t.replace(ui,i):t}var Jg=$n(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Iu=za("toUpperCase");function qc(t,e,n){return t=ct(t),e=n?s:e,e===s?Ms(t)?c(t):Is(t):t.match(e)||[]}var Wc=et(function(t,e){try{return Nt(t,s,e)}catch(n){return Pu(n)?n:new M(n)}}),Xg=Fe(function(t,e){return Dt(e,function(n){n=Oe(n),Ue(t,n,Au(t[n],t))}),t});function Gg(t){var e=t==null?0:t.length,n=G();return t=e?dt(t,function(u){if(typeof u[1]!="function")throw new Ft(m);return[n(u[0]),u[1]]}):[],et(function(u){for(var f=-1;++fme)return[];var n=Yt,u=kt(t,Yt);e=G(e),t-=Yt;for(var f=Dr(u,e);++n0||e<0)?new rt(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==s&&(e=Z(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},rt.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},rt.prototype.toArray=function(){return this.take(Yt)},Ee(rt.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),u=/^(?:head|last)$/.test(e),f=d[u?"take"+(e=="last"?"Right":""):e],_=u||/^find/.test(e);!f||(d.prototype[e]=function(){var b=this.__wrapped__,T=u?[1]:arguments,C=b instanceof rt,A=T[0],O=C||Y(b),L=function(nt){var it=f.apply(d,Se([nt],T));return u&&H?it[0]:it};O&&n&&typeof A=="function"&&A.length!=1&&(C=O=!1);var H=this.__chain__,W=!!this.__actions__.length,K=_&&!H,tt=C&&!W;if(!_&&O){b=tt?b:new rt(this);var $=t.apply(b,T);return $.__actions__.push({func:wo,args:[L],thisArg:s}),new se($,H)}return K&&tt?t.apply(this,T):($=this.thru(L),K?u?$.value()[0]:$.value():$)})}),Dt(["pop","push","shift","sort","splice","unshift"],function(t){var e=qn[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);d.prototype[t]=function(){var f=arguments;if(u&&!this.__chain__){var _=this.value();return e.apply(Y(_)?_:[],f)}return this[n](function(b){return e.apply(Y(b)?b:[],f)})}}),Ee(rt.prototype,function(t,e){var n=d[e];if(n){var u=n.name+"";ot.call(Xn,u)||(Xn[u]=[]),Xn[u].push({name:e,func:n})}}),Xn[po(s,I).name]=[{name:"wrapper",func:s}],rt.prototype.clone=jf,rt.prototype.reverse=Jf,rt.prototype.value=Xf,d.prototype.at=wp,d.prototype.chain=Sp,d.prototype.commit=Tp,d.prototype.next=xp,d.prototype.plant=Ep,d.prototype.reverse=Ap,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=Op,d.prototype.first=d.prototype.head,Fr&&(d.prototype[Fr]=Cp),d},y=l();Le?((Le.exports=y)._=y,Cr._=y):Tt._=y}).call(Zr)})(Wu,Wu.exports);const Lv=Wu.exports;function af(a,h){return function(){return a.apply(h,arguments)}}const{toString:cf}=Object.prototype,{getPrototypeOf:Vu}=Object,Yu=(a=>h=>{const s=cf.call(h);return a[s]||(a[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),je=a=>(a=a.toLowerCase(),h=>Yu(h)===a),Io=a=>h=>typeof h===a,{isArray:ni}=Array,zu=Io("undefined");function Iv(a){return a!==null&&!zu(a)&&a.constructor!==null&&!zu(a.constructor)&&Qn(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const ff=je("ArrayBuffer");function Nv(a){let h;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?h=ArrayBuffer.isView(a):h=a&&a.buffer&&ff(a.buffer),h}const Dv=Io("string"),Qn=Io("function"),lf=Io("number"),hf=a=>a!==null&&typeof a=="object",Uv=a=>a===!0||a===!1,Po=a=>{if(Yu(a)!=="object")return!1;const h=Vu(a);return(h===null||h===Object.prototype||Object.getPrototypeOf(h)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)},Bv=je("Date"),Fv=je("File"),Mv=je("Blob"),Hv=je("FileList"),qv=a=>hf(a)&&Qn(a.pipe),Wv=a=>{const h="[object FormData]";return a&&(typeof FormData=="function"&&a instanceof FormData||cf.call(a)===h||Qn(a.toString)&&a.toString()===h)},zv=je("URLSearchParams"),jv=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function No(a,h,{allOwnKeys:s=!1}={}){if(a===null||typeof a>"u")return;let p,g;if(typeof a!="object"&&(a=[a]),ni(a))for(p=0,g=a.length;p{Po(a[p])&&Po(s)?a[p]=ju(a[p],s):Po(s)?a[p]=ju({},s):ni(s)?a[p]=s.slice():a[p]=s};for(let s=0,p=arguments.length;s(No(h,(g,w)=>{s&&Qn(g)?a[w]=af(g,s):a[w]=g},{allOwnKeys:p}),a),Xv=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),Gv=(a,h,s,p)=>{a.prototype=Object.create(h.prototype,p),a.prototype.constructor=a,Object.defineProperty(a,"super",{value:h.prototype}),s&&Object.assign(a.prototype,s)},Kv=(a,h,s,p)=>{let g,w,m;const N={};if(h=h||{},a==null)return h;do{for(g=Object.getOwnPropertyNames(a),w=g.length;w-- >0;)m=g[w],(!p||p(m,a,h))&&!N[m]&&(h[m]=a[m],N[m]=!0);a=s!==!1&&Vu(a)}while(a&&(!s||s(a,h))&&a!==Object.prototype);return h},$v=(a,h,s)=>{a=String(a),(s===void 0||s>a.length)&&(s=a.length),s-=h.length;const p=a.indexOf(h,s);return p!==-1&&p===s},Vv=a=>{if(!a)return null;if(ni(a))return a;let h=a.length;if(!lf(h))return null;const s=new Array(h);for(;h-- >0;)s[h]=a[h];return s},Yv=(a=>h=>a&&h instanceof a)(typeof Uint8Array<"u"&&Vu(Uint8Array)),Zv=(a,h)=>{const p=(a&&a[Symbol.iterator]).call(a);let g;for(;(g=p.next())&&!g.done;){const w=g.value;h.call(a,w[0],w[1])}},Qv=(a,h)=>{let s;const p=[];for(;(s=a.exec(h))!==null;)p.push(s);return p},t_=je("HTMLFormElement"),e_=a=>a.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(s,p,g){return p.toUpperCase()+g}),Jc=(({hasOwnProperty:a})=>(h,s)=>a.call(h,s))(Object.prototype),n_=je("RegExp"),pf=(a,h)=>{const s=Object.getOwnPropertyDescriptors(a),p={};No(s,(g,w)=>{h(g,w,a)!==!1&&(p[w]=g)}),Object.defineProperties(a,p)},r_=a=>{pf(a,(h,s)=>{const p=a[s];if(!!Qn(p)){if(h.enumerable=!1,"writable"in h){h.writable=!1;return}h.set||(h.set=()=>{throw Error("Can not read-only method '"+s+"'")})}})},i_=(a,h)=>{const s={},p=g=>{g.forEach(w=>{s[w]=!0})};return ni(a)?p(a):p(String(a).split(h)),s},o_=()=>{},s_=(a,h)=>(a=+a,Number.isFinite(a)?a:h),P={isArray:ni,isArrayBuffer:ff,isBuffer:Iv,isFormData:Wv,isArrayBufferView:Nv,isString:Dv,isNumber:lf,isBoolean:Uv,isObject:hf,isPlainObject:Po,isUndefined:zu,isDate:Bv,isFile:Fv,isBlob:Mv,isRegExp:n_,isFunction:Qn,isStream:qv,isURLSearchParams:zv,isTypedArray:Yv,isFileList:Hv,forEach:No,merge:ju,extend:Jv,trim:jv,stripBOM:Xv,inherits:Gv,toFlatObject:Kv,kindOf:Yu,kindOfTest:je,endsWith:$v,toArray:Vv,forEachEntry:Zv,matchAll:Qv,isHTMLForm:t_,hasOwnProperty:Jc,hasOwnProp:Jc,reduceDescriptors:pf,freezeMethods:r_,toObjectSet:i_,toCamelCase:e_,noop:o_,toFiniteNumber:s_};function st(a,h,s,p,g){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=a,this.name="AxiosError",h&&(this.code=h),s&&(this.config=s),p&&(this.request=p),g&&(this.response=g)}P.inherits(st,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const df=st.prototype,gf={};["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(a=>{gf[a]={value:a}});Object.defineProperties(st,gf);Object.defineProperty(df,"isAxiosError",{value:!0});st.from=(a,h,s,p,g,w)=>{const m=Object.create(df);return P.toFlatObject(a,m,function(D){return D!==Error.prototype},N=>N!=="isAxiosError"),st.call(m,a.message,h,s,p,g),m.cause=a,m.name=a.name,w&&Object.assign(m,w),m};var u_=typeof self=="object"?self.FormData:window.FormData;function Ju(a){return P.isPlainObject(a)||P.isArray(a)}function vf(a){return P.endsWith(a,"[]")?a.slice(0,-2):a}function Xc(a,h,s){return a?a.concat(h).map(function(g,w){return g=vf(g),!s&&w?"["+g+"]":g}).join(s?".":""):h}function a_(a){return P.isArray(a)&&!a.some(Ju)}const c_=P.toFlatObject(P,{},null,function(h){return/^is[A-Z]/.test(h)});function f_(a){return a&&P.isFunction(a.append)&&a[Symbol.toStringTag]==="FormData"&&a[Symbol.iterator]}function Do(a,h,s){if(!P.isObject(a))throw new TypeError("target must be an object");h=h||new(u_||FormData),s=P.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(F,k){return!P.isUndefined(k[F])});const p=s.metaTokens,g=s.visitor||q,w=s.dots,m=s.indexes,D=(s.Blob||typeof Blob<"u"&&Blob)&&f_(h);if(!P.isFunction(g))throw new TypeError("visitor must be a function");function R(U){if(U===null)return"";if(P.isDate(U))return U.toISOString();if(!D&&P.isBlob(U))throw new st("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(U)||P.isTypedArray(U)?D&&typeof Blob=="function"?new Blob([U]):Buffer.from(U):U}function q(U,F,k){let I=U;if(U&&!k&&typeof U=="object"){if(P.endsWith(F,"{}"))F=p?F:F.slice(0,-2),U=JSON.stringify(U);else if(P.isArray(U)&&a_(U)||P.isFileList(U)||P.endsWith(F,"[]")&&(I=P.toArray(U)))return F=vf(F),I.forEach(function(Q,gt){!(P.isUndefined(Q)||Q===null)&&h.append(m===!0?Xc([F],gt,w):m===null?F:F+"[]",R(Q))}),!1}return Ju(U)?!0:(h.append(Xc(k,F,w),R(U)),!1)}const z=[],j=Object.assign(c_,{defaultVisitor:q,convertValue:R,isVisitable:Ju});function B(U,F){if(!P.isUndefined(U)){if(z.indexOf(U)!==-1)throw Error("Circular reference detected in "+F.join("."));z.push(U),P.forEach(U,function(I,J){(!(P.isUndefined(I)||I===null)&&g.call(h,I,P.isString(J)?J.trim():J,F,j))===!0&&B(I,F?F.concat(J):[J])}),z.pop()}}if(!P.isObject(a))throw new TypeError("data must be an object");return B(a),h}function Gc(a){const h={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(a).replace(/[!'()~]|%20|%00/g,function(p){return h[p]})}function Zu(a,h){this._pairs=[],a&&Do(a,this,h)}const _f=Zu.prototype;_f.append=function(h,s){this._pairs.push([h,s])};_f.toString=function(h){const s=h?function(p){return h.call(this,p,Gc)}:Gc;return this._pairs.map(function(g){return s(g[0])+"="+s(g[1])},"").join("&")};function l_(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yf(a,h,s){if(!h)return a;const p=s&&s.encode||l_,g=s&&s.serialize;let w;if(g?w=g(h,s):w=P.isURLSearchParams(h)?h.toString():new Zu(h,s).toString(p),w){const m=a.indexOf("#");m!==-1&&(a=a.slice(0,m)),a+=(a.indexOf("?")===-1?"?":"&")+w}return a}class Kc{constructor(){this.handlers=[]}use(h,s,p){return this.handlers.push({fulfilled:h,rejected:s,synchronous:p?p.synchronous:!1,runWhen:p?p.runWhen:null}),this.handlers.length-1}eject(h){this.handlers[h]&&(this.handlers[h]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(h){P.forEach(this.handlers,function(p){p!==null&&h(p)})}}const mf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h_=typeof URLSearchParams<"u"?URLSearchParams:Zu,p_=FormData,d_=(()=>{let a;return typeof navigator<"u"&&((a=navigator.product)==="ReactNative"||a==="NativeScript"||a==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ze={isBrowser:!0,classes:{URLSearchParams:h_,FormData:p_,Blob},isStandardBrowserEnv:d_,protocols:["http","https","file","blob","url","data"]};function g_(a,h){return Do(a,new ze.classes.URLSearchParams,Object.assign({visitor:function(s,p,g,w){return ze.isNode&&P.isBuffer(s)?(this.append(p,s.toString("base64")),!1):w.defaultVisitor.apply(this,arguments)}},h))}function v_(a){return P.matchAll(/\w+|\[(\w*)]/g,a).map(h=>h[0]==="[]"?"":h[1]||h[0])}function __(a){const h={},s=Object.keys(a);let p;const g=s.length;let w;for(p=0;p=s.length;return m=!m&&P.isArray(g)?g.length:m,D?(P.hasOwnProp(g,m)?g[m]=[g[m],p]:g[m]=p,!N):((!g[m]||!P.isObject(g[m]))&&(g[m]=[]),h(s,p,g[m],w)&&P.isArray(g[m])&&(g[m]=__(g[m])),!N)}if(P.isFormData(a)&&P.isFunction(a.entries)){const s={};return P.forEachEntry(a,(p,g)=>{h(v_(p),g,s,0)}),s}return null}function y_(a,h,s){const p=s.config.validateStatus;!s.status||!p||p(s.status)?a(s):h(new st("Request failed with status code "+s.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}const m_=ze.isStandardBrowserEnv?function(){return{write:function(s,p,g,w,m,N){const D=[];D.push(s+"="+encodeURIComponent(p)),P.isNumber(g)&&D.push("expires="+new Date(g).toGMTString()),P.isString(w)&&D.push("path="+w),P.isString(m)&&D.push("domain="+m),N===!0&&D.push("secure"),document.cookie=D.join("; ")},read:function(s){const p=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return p?decodeURIComponent(p[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function b_(a){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a)}function w_(a,h){return h?a.replace(/\/+$/,"")+"/"+h.replace(/^\/+/,""):a}function wf(a,h){return a&&!b_(h)?w_(a,h):h}const S_=ze.isStandardBrowserEnv?function(){const h=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");let p;function g(w){let m=w;return h&&(s.setAttribute("href",m),m=s.href),s.setAttribute("href",m),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return p=g(window.location.href),function(m){const N=P.isString(m)?g(m):m;return N.protocol===p.protocol&&N.host===p.host}}():function(){return function(){return!0}}();function ri(a,h,s){st.call(this,a==null?"canceled":a,st.ERR_CANCELED,h,s),this.name="CanceledError"}P.inherits(ri,st,{__CANCEL__:!0});function T_(a){const h=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a);return h&&h[1]||""}const x_=P.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"]),C_=a=>{const h={};let s,p,g;return a&&a.split(` +`).forEach(function(m){g=m.indexOf(":"),s=m.substring(0,g).trim().toLowerCase(),p=m.substring(g+1).trim(),!(!s||h[s]&&x_[s])&&(s==="set-cookie"?h[s]?h[s].push(p):h[s]=[p]:h[s]=h[s]?h[s]+", "+p:p)}),h},$c=Symbol("internals"),Sf=Symbol("defaults");function ti(a){return a&&String(a).trim().toLowerCase()}function Ro(a){return a===!1||a==null?a:P.isArray(a)?a.map(Ro):String(a)}function E_(a){const h=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let p;for(;p=s.exec(a);)h[p[1]]=p[2];return h}function Vc(a,h,s,p){if(P.isFunction(p))return p.call(this,h,s);if(!!P.isString(h)){if(P.isString(p))return h.indexOf(p)!==-1;if(P.isRegExp(p))return p.test(h)}}function A_(a){return a.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(h,s,p)=>s.toUpperCase()+p)}function O_(a,h){const s=P.toCamelCase(" "+h);["get","set","has"].forEach(p=>{Object.defineProperty(a,p+s,{value:function(g,w,m){return this[p].call(this,h,g,w,m)},configurable:!0})})}function Qr(a,h){h=h.toLowerCase();const s=Object.keys(a);let p=s.length,g;for(;p-- >0;)if(g=s[p],h===g.toLowerCase())return g;return null}function le(a,h){a&&this.set(a),this[Sf]=h||null}Object.assign(le.prototype,{set:function(a,h,s){const p=this;function g(w,m,N){const D=ti(m);if(!D)throw new Error("header name must be a non-empty string");const R=Qr(p,D);R&&N!==!0&&(p[R]===!1||N===!1)||(p[R||m]=Ro(w))}return P.isPlainObject(a)?P.forEach(a,(w,m)=>{g(w,m,h)}):g(h,a,s),this},get:function(a,h){if(a=ti(a),!a)return;const s=Qr(this,a);if(s){const p=this[s];if(!h)return p;if(h===!0)return E_(p);if(P.isFunction(h))return h.call(this,p,s);if(P.isRegExp(h))return h.exec(p);throw new TypeError("parser must be boolean|regexp|function")}},has:function(a,h){if(a=ti(a),a){const s=Qr(this,a);return!!(s&&(!h||Vc(this,this[s],s,h)))}return!1},delete:function(a,h){const s=this;let p=!1;function g(w){if(w=ti(w),w){const m=Qr(s,w);m&&(!h||Vc(s,s[m],m,h))&&(delete s[m],p=!0)}}return P.isArray(a)?a.forEach(g):g(a),p},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(a){const h=this,s={};return P.forEach(this,(p,g)=>{const w=Qr(s,g);if(w){h[w]=Ro(p),delete h[g];return}const m=a?A_(g):String(g).trim();m!==g&&delete h[g],h[m]=Ro(p),s[m]=!0}),this},toJSON:function(a){const h=Object.create(null);return P.forEach(Object.assign({},this[Sf]||null,this),(s,p)=>{s==null||s===!1||(h[p]=a&&P.isArray(s)?s.join(", "):s)}),h}});Object.assign(le,{from:function(a){return P.isString(a)?new this(C_(a)):a instanceof this?a:new this(a)},accessor:function(a){const s=(this[$c]=this[$c]={accessors:{}}).accessors,p=this.prototype;function g(w){const m=ti(w);s[m]||(O_(p,w),s[m]=!0)}return P.isArray(a)?a.forEach(g):g(a),this}});le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);P.freezeMethods(le.prototype);P.freezeMethods(le);function P_(a,h){a=a||10;const s=new Array(a),p=new Array(a);let g=0,w=0,m;return h=h!==void 0?h:1e3,function(D){const R=Date.now(),q=p[w];m||(m=R),s[g]=D,p[g]=R;let z=w,j=0;for(;z!==g;)j+=s[z++],z=z%a;if(g=(g+1)%a,g===w&&(w=(w+1)%a),R-m{const w=g.loaded,m=g.lengthComputable?g.total:void 0,N=w-s,D=p(N),R=w<=m;s=w;const q={loaded:w,total:m,progress:m?w/m:void 0,bytes:N,rate:D||void 0,estimated:D&&m&&R?(m-w)/D:void 0};q[h?"download":"upload"]=!0,a(q)}}function Zc(a){return new Promise(function(s,p){let g=a.data;const w=le.from(a.headers).normalize(),m=a.responseType;let N;function D(){a.cancelToken&&a.cancelToken.unsubscribe(N),a.signal&&a.signal.removeEventListener("abort",N)}P.isFormData(g)&&ze.isStandardBrowserEnv&&w.setContentType(!1);let R=new XMLHttpRequest;if(a.auth){const B=a.auth.username||"",U=a.auth.password?unescape(encodeURIComponent(a.auth.password)):"";w.set("Authorization","Basic "+btoa(B+":"+U))}const q=wf(a.baseURL,a.url);R.open(a.method.toUpperCase(),yf(q,a.params,a.paramsSerializer),!0),R.timeout=a.timeout;function z(){if(!R)return;const B=le.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),F={data:!m||m==="text"||m==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:B,config:a,request:R};y_(function(I){s(I),D()},function(I){p(I),D()},F),R=null}if("onloadend"in R?R.onloadend=z:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(z)},R.onabort=function(){!R||(p(new st("Request aborted",st.ECONNABORTED,a,R)),R=null)},R.onerror=function(){p(new st("Network Error",st.ERR_NETWORK,a,R)),R=null},R.ontimeout=function(){let U=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const F=a.transitional||mf;a.timeoutErrorMessage&&(U=a.timeoutErrorMessage),p(new st(U,F.clarifyTimeoutError?st.ETIMEDOUT:st.ECONNABORTED,a,R)),R=null},ze.isStandardBrowserEnv){const B=(a.withCredentials||S_(q))&&a.xsrfCookieName&&m_.read(a.xsrfCookieName);B&&w.set(a.xsrfHeaderName,B)}g===void 0&&w.setContentType(null),"setRequestHeader"in R&&P.forEach(w.toJSON(),function(U,F){R.setRequestHeader(F,U)}),P.isUndefined(a.withCredentials)||(R.withCredentials=!!a.withCredentials),m&&m!=="json"&&(R.responseType=a.responseType),typeof a.onDownloadProgress=="function"&&R.addEventListener("progress",Yc(a.onDownloadProgress,!0)),typeof a.onUploadProgress=="function"&&R.upload&&R.upload.addEventListener("progress",Yc(a.onUploadProgress)),(a.cancelToken||a.signal)&&(N=B=>{!R||(p(!B||B.type?new ri(null,a,R):B),R.abort(),R=null)},a.cancelToken&&a.cancelToken.subscribe(N),a.signal&&(a.signal.aborted?N():a.signal.addEventListener("abort",N)));const j=T_(q);if(j&&ze.protocols.indexOf(j)===-1){p(new st("Unsupported protocol "+j+":",st.ERR_BAD_REQUEST,a));return}R.send(g||null)})}const Qc={http:Zc,xhr:Zc},tf={getAdapter:a=>{if(P.isString(a)){const h=Qc[a];if(!a)throw Error(P.hasOwnProp(a)?`Adapter '${a}' is not available in the build`:`Can not resolve adapter '${a}'`);return h}if(!P.isFunction(a))throw new TypeError("adapter is not a function");return a},adapters:Qc},R_={"Content-Type":"application/x-www-form-urlencoded"};function k_(){let a;return typeof XMLHttpRequest<"u"?a=tf.getAdapter("xhr"):typeof process<"u"&&P.kindOf(process)==="process"&&(a=tf.getAdapter("http")),a}function L_(a,h,s){if(P.isString(a))try{return(h||JSON.parse)(a),P.trim(a)}catch(p){if(p.name!=="SyntaxError")throw p}return(s||JSON.stringify)(a)}const tr={transitional:mf,adapter:k_(),transformRequest:[function(h,s){const p=s.getContentType()||"",g=p.indexOf("application/json")>-1,w=P.isObject(h);if(w&&P.isHTMLForm(h)&&(h=new FormData(h)),P.isFormData(h))return g&&g?JSON.stringify(bf(h)):h;if(P.isArrayBuffer(h)||P.isBuffer(h)||P.isStream(h)||P.isFile(h)||P.isBlob(h))return h;if(P.isArrayBufferView(h))return h.buffer;if(P.isURLSearchParams(h))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),h.toString();let N;if(w){if(p.indexOf("application/x-www-form-urlencoded")>-1)return g_(h,this.formSerializer).toString();if((N=P.isFileList(h))||p.indexOf("multipart/form-data")>-1){const D=this.env&&this.env.FormData;return Do(N?{"files[]":h}:h,D&&new D,this.formSerializer)}}return w||g?(s.setContentType("application/json",!1),L_(h)):h}],transformResponse:[function(h){const s=this.transitional||tr.transitional,p=s&&s.forcedJSONParsing,g=this.responseType==="json";if(h&&P.isString(h)&&(p&&!this.responseType||g)){const m=!(s&&s.silentJSONParsing)&&g;try{return JSON.parse(h)}catch(N){if(m)throw N.name==="SyntaxError"?st.from(N,st.ERR_BAD_RESPONSE,this,null,this.response):N}}return h}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(h){return h>=200&&h<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};P.forEach(["delete","get","head"],function(h){tr.headers[h]={}});P.forEach(["post","put","patch"],function(h){tr.headers[h]=P.merge(R_)});function Hu(a,h){const s=this||tr,p=h||s,g=le.from(p.headers);let w=p.data;return P.forEach(a,function(N){w=N.call(s,w,g.normalize(),h?h.status:void 0)}),g.normalize(),w}function Tf(a){return!!(a&&a.__CANCEL__)}function qu(a){if(a.cancelToken&&a.cancelToken.throwIfRequested(),a.signal&&a.signal.aborted)throw new ri}function ef(a){return qu(a),a.headers=le.from(a.headers),a.data=Hu.call(a,a.transformRequest),(a.adapter||tr.adapter)(a).then(function(p){return qu(a),p.data=Hu.call(a,a.transformResponse,p),p.headers=le.from(p.headers),p},function(p){return Tf(p)||(qu(a),p&&p.response&&(p.response.data=Hu.call(a,a.transformResponse,p.response),p.response.headers=le.from(p.response.headers))),Promise.reject(p)})}function ei(a,h){h=h||{};const s={};function p(R,q){return P.isPlainObject(R)&&P.isPlainObject(q)?P.merge(R,q):P.isPlainObject(q)?P.merge({},q):P.isArray(q)?q.slice():q}function g(R){if(P.isUndefined(h[R])){if(!P.isUndefined(a[R]))return p(void 0,a[R])}else return p(a[R],h[R])}function w(R){if(!P.isUndefined(h[R]))return p(void 0,h[R])}function m(R){if(P.isUndefined(h[R])){if(!P.isUndefined(a[R]))return p(void 0,a[R])}else return p(void 0,h[R])}function N(R){if(R in h)return p(a[R],h[R]);if(R in a)return p(void 0,a[R])}const D={url:w,method:w,data:w,baseURL:m,transformRequest:m,transformResponse:m,paramsSerializer:m,timeout:m,timeoutMessage:m,withCredentials:m,adapter:m,responseType:m,xsrfCookieName:m,xsrfHeaderName:m,onUploadProgress:m,onDownloadProgress:m,decompress:m,maxContentLength:m,maxBodyLength:m,beforeRedirect:m,transport:m,httpAgent:m,httpsAgent:m,cancelToken:m,socketPath:m,responseEncoding:m,validateStatus:N};return P.forEach(Object.keys(a).concat(Object.keys(h)),function(q){const z=D[q]||g,j=z(q);P.isUndefined(j)&&z!==N||(s[q]=j)}),s}const xf="1.1.3",Qu={};["object","boolean","number","function","string","symbol"].forEach((a,h)=>{Qu[a]=function(p){return typeof p===a||"a"+(h<1?"n ":" ")+a}});const nf={};Qu.transitional=function(h,s,p){function g(w,m){return"[Axios v"+xf+"] Transitional option '"+w+"'"+m+(p?". "+p:"")}return(w,m,N)=>{if(h===!1)throw new st(g(m," has been removed"+(s?" in "+s:"")),st.ERR_DEPRECATED);return s&&!nf[m]&&(nf[m]=!0,console.warn(g(m," has been deprecated since v"+s+" and will be removed in the near future"))),h?h(w,m,N):!0}};function I_(a,h,s){if(typeof a!="object")throw new st("options must be an object",st.ERR_BAD_OPTION_VALUE);const p=Object.keys(a);let g=p.length;for(;g-- >0;){const w=p[g],m=h[w];if(m){const N=a[w],D=N===void 0||m(N,w,a);if(D!==!0)throw new st("option "+w+" must be "+D,st.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new st("Unknown option "+w,st.ERR_BAD_OPTION)}}const Xu={assertOptions:I_,validators:Qu},on=Xu.validators;class Tn{constructor(h){this.defaults=h,this.interceptors={request:new Kc,response:new Kc}}request(h,s){typeof h=="string"?(s=s||{},s.url=h):s=h||{},s=ei(this.defaults,s);const{transitional:p,paramsSerializer:g}=s;p!==void 0&&Xu.assertOptions(p,{silentJSONParsing:on.transitional(on.boolean),forcedJSONParsing:on.transitional(on.boolean),clarifyTimeoutError:on.transitional(on.boolean)},!1),g!==void 0&&Xu.assertOptions(g,{encode:on.function,serialize:on.function},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();const w=s.headers&&P.merge(s.headers.common,s.headers[s.method]);w&&P.forEach(["delete","get","head","post","put","patch","common"],function(U){delete s.headers[U]}),s.headers=new le(s.headers,w);const m=[];let N=!0;this.interceptors.request.forEach(function(U){typeof U.runWhen=="function"&&U.runWhen(s)===!1||(N=N&&U.synchronous,m.unshift(U.fulfilled,U.rejected))});const D=[];this.interceptors.response.forEach(function(U){D.push(U.fulfilled,U.rejected)});let R,q=0,z;if(!N){const B=[ef.bind(this),void 0];for(B.unshift.apply(B,m),B.push.apply(B,D),z=B.length,R=Promise.resolve(s);q{if(!p._listeners)return;let w=p._listeners.length;for(;w-- >0;)p._listeners[w](g);p._listeners=null}),this.promise.then=g=>{let w;const m=new Promise(N=>{p.subscribe(N),w=N}).then(g);return m.cancel=function(){p.unsubscribe(w)},m},h(function(w,m,N){p.reason||(p.reason=new ri(w,m,N),s(p.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(h){if(this.reason){h(this.reason);return}this._listeners?this._listeners.push(h):this._listeners=[h]}unsubscribe(h){if(!this._listeners)return;const s=this._listeners.indexOf(h);s!==-1&&this._listeners.splice(s,1)}static source(){let h;return{token:new ta(function(g){h=g}),cancel:h}}}function N_(a){return function(s){return a.apply(null,s)}}function D_(a){return P.isObject(a)&&a.isAxiosError===!0}function Cf(a){const h=new Tn(a),s=af(Tn.prototype.request,h);return P.extend(s,Tn.prototype,h,{allOwnKeys:!0}),P.extend(s,h,null,{allOwnKeys:!0}),s.create=function(g){return Cf(ei(a,g))},s}const Vt=Cf(tr);Vt.Axios=Tn;Vt.CanceledError=ri;Vt.CancelToken=ta;Vt.isCancel=Tf;Vt.VERSION=xf;Vt.toFormData=Do;Vt.AxiosError=st;Vt.Cancel=Vt.CanceledError;Vt.all=function(h){return Promise.all(h)};Vt.spread=N_;Vt.isAxiosError=D_;Vt.formToJSON=a=>bf(P.isHTMLForm(a)?new FormData(a):a);function Gu(a){return Gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},Gu(a)}function Ot(a,h){if(!(a instanceof h))throw new TypeError("Cannot call a class as a function")}function rf(a,h){for(var s=0;s"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function B_(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function F_(a,h){if(h&&(typeof h=="object"||typeof h=="function"))return h;if(h!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return B_(a)}function ie(a){var h=U_();return function(){var p=ko(a),g;if(h){var w=ko(this).constructor;g=Reflect.construct(p,arguments,w)}else g=p.apply(this,arguments);return F_(this,g)}}var ea=function(){function a(){Ot(this,a)}return Pt(a,[{key:"listenForWhisper",value:function(s,p){return this.listen(".client-"+s,p)}},{key:"notification",value:function(s){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",s)}},{key:"stopListeningForWhisper",value:function(s,p){return this.stopListening(".client-"+s,p)}}]),a}(),Ef=function(){function a(h){Ot(this,a),this.setNamespace(h)}return Pt(a,[{key:"format",value:function(s){return s.charAt(0)==="."||s.charAt(0)==="\\"?s.substr(1):(this.namespace&&(s=this.namespace+"."+s),s.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(s){this.namespace=s}}]),a}(),Uo=function(a){re(s,a);var h=ie(s);function s(p,g,w){var m;return Ot(this,s),m=h.call(this),m.name=g,m.pusher=p,m.options=w,m.eventFormatter=new Ef(m.options.namespace),m.subscribe(),m}return Pt(s,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(g,w){return this.on(this.eventFormatter.format(g),w),this}},{key:"listenToAll",value:function(g){var w=this;return this.subscription.bind_global(function(m,N){if(!m.startsWith("pusher:")){var D=w.options.namespace.replace(/\./g,"\\"),R=m.startsWith(D)?m.substring(D.length+1):"."+m;g(R,N)}}),this}},{key:"stopListening",value:function(g,w){return w?this.subscription.unbind(this.eventFormatter.format(g),w):this.subscription.unbind(this.eventFormatter.format(g)),this}},{key:"stopListeningToAll",value:function(g){return g?this.subscription.unbind_global(g):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(g){return this.on("pusher:subscription_succeeded",function(){g()}),this}},{key:"error",value:function(g){return this.on("pusher:subscription_error",function(w){g(w)}),this}},{key:"on",value:function(g,w){return this.subscription.bind(g,w),this}}]),s}(ea),M_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"whisper",value:function(g,w){return this.pusher.channels.channels[this.name].trigger("client-".concat(g),w),this}}]),s}(Uo),H_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"whisper",value:function(g,w){return this.pusher.channels.channels[this.name].trigger("client-".concat(g),w),this}}]),s}(Uo),q_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"here",value:function(g){return this.on("pusher:subscription_succeeded",function(w){g(Object.keys(w.members).map(function(m){return w.members[m]}))}),this}},{key:"joining",value:function(g){return this.on("pusher:member_added",function(w){g(w.info)}),this}},{key:"leaving",value:function(g){return this.on("pusher:member_removed",function(w){g(w.info)}),this}},{key:"whisper",value:function(g,w){return this.pusher.channels.channels[this.name].trigger("client-".concat(g),w),this}}]),s}(Uo),Af=function(a){re(s,a);var h=ie(s);function s(p,g,w){var m;return Ot(this,s),m=h.call(this),m.events={},m.listeners={},m.name=g,m.socket=p,m.options=w,m.eventFormatter=new Ef(m.options.namespace),m.subscribe(),m}return Pt(s,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(g,w){return this.on(this.eventFormatter.format(g),w),this}},{key:"stopListening",value:function(g,w){return this.unbindEvent(this.eventFormatter.format(g),w),this}},{key:"subscribed",value:function(g){return this.on("connect",function(w){g(w)}),this}},{key:"error",value:function(g){return this}},{key:"on",value:function(g,w){var m=this;return this.listeners[g]=this.listeners[g]||[],this.events[g]||(this.events[g]=function(N,D){m.name===N&&m.listeners[g]&&m.listeners[g].forEach(function(R){return R(D)})},this.socket.on(g,this.events[g])),this.listeners[g].push(w),this}},{key:"unbind",value:function(){var g=this;Object.keys(this.events).forEach(function(w){g.unbindEvent(w)})}},{key:"unbindEvent",value:function(g,w){this.listeners[g]=this.listeners[g]||[],w&&(this.listeners[g]=this.listeners[g].filter(function(m){return m!==w})),(!w||this.listeners[g].length===0)&&(this.events[g]&&(this.socket.removeListener(g,this.events[g]),delete this.events[g]),delete this.listeners[g])}}]),s}(ea),Of=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"whisper",value:function(g,w){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(g),data:w}),this}}]),s}(Af),W_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"here",value:function(g){return this.on("presence:subscribed",function(w){g(w.map(function(m){return m.user_info}))}),this}},{key:"joining",value:function(g){return this.on("presence:joining",function(w){return g(w.user_info)}),this}},{key:"leaving",value:function(g){return this.on("presence:leaving",function(w){return g(w.user_info)}),this}}]),s}(Of),Lo=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(g,w){return this}},{key:"stopListening",value:function(g,w){return this}},{key:"subscribed",value:function(g){return this}},{key:"error",value:function(g){return this}},{key:"on",value:function(g,w){return this}}]),s}(ea),z_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"whisper",value:function(g,w){return this}}]),s}(Lo),j_=function(a){re(s,a);var h=ie(s);function s(){return Ot(this,s),h.apply(this,arguments)}return Pt(s,[{key:"here",value:function(g){return this}},{key:"joining",value:function(g){return this}},{key:"leaving",value:function(g){return this}},{key:"whisper",value:function(g,w){return this}}]),s}(Lo),na=function(){function a(h){Ot(this,a),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(h),this.connect()}return Pt(a,[{key:"setOptions",value:function(s){this.options=Ku(this._defaultOptions,s);var p=this.csrfToken();return p&&(this.options.auth.headers["X-CSRF-TOKEN"]=p,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=p),p=this.options.bearerToken,p&&(this.options.auth.headers.Authorization="Bearer "+p,this.options.userAuthentication.headers.Authorization="Bearer "+p),s}},{key:"csrfToken",value:function(){var s;return typeof window<"u"&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:typeof document<"u"&&typeof document.querySelector=="function"&&(s=document.querySelector('meta[name="csrf-token"]'))?s.getAttribute("content"):null}}]),a}(),J_=function(a){re(s,a);var h=ie(s);function s(){var p;return Ot(this,s),p=h.apply(this,arguments),p.channels={},p}return Pt(s,[{key:"connect",value:function(){typeof this.options.client<"u"?this.pusher=this.options.client:this.pusher=new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(g,w,m){return this.channel(g).listen(w,m)}},{key:"channel",value:function(g){return this.channels[g]||(this.channels[g]=new Uo(this.pusher,g,this.options)),this.channels[g]}},{key:"privateChannel",value:function(g){return this.channels["private-"+g]||(this.channels["private-"+g]=new M_(this.pusher,"private-"+g,this.options)),this.channels["private-"+g]}},{key:"encryptedPrivateChannel",value:function(g){return this.channels["private-encrypted-"+g]||(this.channels["private-encrypted-"+g]=new H_(this.pusher,"private-encrypted-"+g,this.options)),this.channels["private-encrypted-"+g]}},{key:"presenceChannel",value:function(g){return this.channels["presence-"+g]||(this.channels["presence-"+g]=new q_(this.pusher,"presence-"+g,this.options)),this.channels["presence-"+g]}},{key:"leave",value:function(g){var w=this,m=[g,"private-"+g,"private-encrypted-"+g,"presence-"+g];m.forEach(function(N,D){w.leaveChannel(N)})}},{key:"leaveChannel",value:function(g){this.channels[g]&&(this.channels[g].unsubscribe(),delete this.channels[g])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),s}(na),X_=function(a){re(s,a);var h=ie(s);function s(){var p;return Ot(this,s),p=h.apply(this,arguments),p.channels={},p}return Pt(s,[{key:"connect",value:function(){var g=this,w=this.getSocketIO();return this.socket=w(this.options.host,this.options),this.socket.on("reconnect",function(){Object.values(g.channels).forEach(function(m){m.subscribe()})}),this.socket}},{key:"getSocketIO",value:function(){if(typeof this.options.client<"u")return this.options.client;if(typeof io<"u")return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(g,w,m){return this.channel(g).listen(w,m)}},{key:"channel",value:function(g){return this.channels[g]||(this.channels[g]=new Af(this.socket,g,this.options)),this.channels[g]}},{key:"privateChannel",value:function(g){return this.channels["private-"+g]||(this.channels["private-"+g]=new Of(this.socket,"private-"+g,this.options)),this.channels["private-"+g]}},{key:"presenceChannel",value:function(g){return this.channels["presence-"+g]||(this.channels["presence-"+g]=new W_(this.socket,"presence-"+g,this.options)),this.channels["presence-"+g]}},{key:"leave",value:function(g){var w=this,m=[g,"private-"+g,"presence-"+g];m.forEach(function(N){w.leaveChannel(N)})}},{key:"leaveChannel",value:function(g){this.channels[g]&&(this.channels[g].unsubscribe(),delete this.channels[g])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),s}(na),G_=function(a){re(s,a);var h=ie(s);function s(){var p;return Ot(this,s),p=h.apply(this,arguments),p.channels={},p}return Pt(s,[{key:"connect",value:function(){}},{key:"listen",value:function(g,w,m){return new Lo}},{key:"channel",value:function(g){return new Lo}},{key:"privateChannel",value:function(g){return new z_}},{key:"presenceChannel",value:function(g){return new j_}},{key:"leave",value:function(g){}},{key:"leaveChannel",value:function(g){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),s}(na),K_=function(){function a(h){Ot(this,a),this.options=h,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return Pt(a,[{key:"channel",value:function(s){return this.connector.channel(s)}},{key:"connect",value:function(){this.options.broadcaster=="pusher"?this.connector=new J_(this.options):this.options.broadcaster=="socket.io"?this.connector=new X_(this.options):this.options.broadcaster=="null"?this.connector=new G_(this.options):typeof this.options.broadcaster=="function"&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(s){return this.connector.presenceChannel(s)}},{key:"leave",value:function(s){this.connector.leave(s)}},{key:"leaveChannel",value:function(s){this.connector.leaveChannel(s)}},{key:"listen",value:function(s,p,g){return this.connector.listen(s,p,g)}},{key:"private",value:function(s){return this.connector.privateChannel(s)}},{key:"encryptedPrivate",value:function(s){return this.connector.encryptedPrivateChannel(s)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){typeof Vue=="function"&&Vue.http&&this.registerVueRequestInterceptor(),typeof axios=="function"&&this.registerAxiosRequestInterceptor(),typeof jQuery=="function"&&this.registerjQueryAjaxSetup(),(typeof Turbo>"u"?"undefined":Gu(Turbo))==="object"&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var s=this;Vue.http.interceptors.push(function(p,g){s.socketId()&&p.headers.set("X-Socket-ID",s.socketId()),g()})}},{key:"registerAxiosRequestInterceptor",value:function(){var s=this;axios.interceptors.request.use(function(p){return s.socketId()&&(p.headers["X-Socket-Id"]=s.socketId()),p})}},{key:"registerjQueryAjaxSetup",value:function(){var s=this;typeof jQuery.ajax<"u"&&jQuery.ajaxPrefilter(function(p,g,w){s.socketId()&&w.setRequestHeader("X-Socket-Id",s.socketId())})}},{key:"registerTurboRequestInterceptor",value:function(){var s=this;document.addEventListener("turbo:before-fetch-request",function(p){p.detail.fetchOptions.headers["X-Socket-Id"]=s.socketId()})}}]),a}(),Pf={exports:{}};/*! + * Pusher JavaScript Library v7.4.1 + * https://pusher.com/ + * + * Copyright 2020, Pusher + * Released under the MIT licence. + */(function(a,h){(function(p,g){a.exports=g()})(window,function(){return function(s){var p={};function g(w){if(p[w])return p[w].exports;var m=p[w]={i:w,l:!1,exports:{}};return s[w].call(m.exports,m,m.exports,g),m.l=!0,m.exports}return g.m=s,g.c=p,g.d=function(w,m,N){g.o(w,m)||Object.defineProperty(w,m,{enumerable:!0,get:N})},g.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},g.t=function(w,m){if(m&1&&(w=g(w)),m&8||m&4&&typeof w=="object"&&w&&w.__esModule)return w;var N=Object.create(null);if(g.r(N),Object.defineProperty(N,"default",{enumerable:!0,value:w}),m&2&&typeof w!="string")for(var D in w)g.d(N,D,function(R){return w[R]}.bind(null,D));return N},g.n=function(w){var m=w&&w.__esModule?function(){return w.default}:function(){return w};return g.d(m,"a",m),m},g.o=function(w,m){return Object.prototype.hasOwnProperty.call(w,m)},g.p="",g(g.s=2)}([function(s,p,g){var w=this&&this.__extends||function(){var F=function(k,I){return F=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,Q){J.__proto__=Q}||function(J,Q){for(var gt in Q)Q.hasOwnProperty(gt)&&(J[gt]=Q[gt])},F(k,I)};return function(k,I){F(k,I);function J(){this.constructor=k}k.prototype=I===null?Object.create(I):(J.prototype=I.prototype,new J)}}();Object.defineProperty(p,"__esModule",{value:!0});var m=256,N=function(){function F(k){k===void 0&&(k="="),this._paddingCharacter=k}return F.prototype.encodedLength=function(k){return this._paddingCharacter?(k+2)/3*4|0:(k*8+5)/6|0},F.prototype.encode=function(k){for(var I="",J=0;J>>3*6&63),I+=this._encodeByte(Q>>>2*6&63),I+=this._encodeByte(Q>>>1*6&63),I+=this._encodeByte(Q>>>0*6&63)}var gt=k.length-J;if(gt>0){var Q=k[J]<<16|(gt===2?k[J+1]<<8:0);I+=this._encodeByte(Q>>>3*6&63),I+=this._encodeByte(Q>>>2*6&63),gt===2?I+=this._encodeByte(Q>>>1*6&63):I+=this._paddingCharacter||"",I+=this._paddingCharacter||""}return I},F.prototype.maxDecodedLength=function(k){return this._paddingCharacter?k/4*3|0:(k*6+7)/8|0},F.prototype.decodedLength=function(k){return this.maxDecodedLength(k.length-this._getPaddingLength(k))},F.prototype.decode=function(k){if(k.length===0)return new Uint8Array(0);for(var I=this._getPaddingLength(k),J=k.length-I,Q=new Uint8Array(this.maxDecodedLength(J)),gt=0,pt=0,Ct=0,St=0,Rt=0,It=0,oe=0;pt>>4,Q[gt++]=Rt<<4|It>>>2,Q[gt++]=It<<6|oe,Ct|=St&m,Ct|=Rt&m,Ct|=It&m,Ct|=oe&m;if(pt>>4,Ct|=St&m,Ct|=Rt&m),pt>>2,Ct|=It&m),pt>>8&0-65-26+97,I+=51-k>>>8&26-97-52+48,I+=61-k>>>8&52-48-62+43,I+=62-k>>>8&62-43-63+47,String.fromCharCode(I)},F.prototype._decodeChar=function(k){var I=m;return I+=(42-k&k-44)>>>8&-m+k-43+62,I+=(46-k&k-48)>>>8&-m+k-47+63,I+=(47-k&k-58)>>>8&-m+k-48+52,I+=(64-k&k-91)>>>8&-m+k-65+0,I+=(96-k&k-123)>>>8&-m+k-97+26,I},F.prototype._getPaddingLength=function(k){var I=0;if(this._paddingCharacter){for(var J=k.length-1;J>=0&&k[J]===this._paddingCharacter;J--)I++;if(k.length<4||I>2)throw new Error("Base64Coder: incorrect padding")}return I},F}();p.Coder=N;var D=new N;function R(F){return D.encode(F)}p.encode=R;function q(F){return D.decode(F)}p.decode=q;var z=function(F){w(k,F);function k(){return F!==null&&F.apply(this,arguments)||this}return k.prototype._encodeByte=function(I){var J=I;return J+=65,J+=25-I>>>8&0-65-26+97,J+=51-I>>>8&26-97-52+48,J+=61-I>>>8&52-48-62+45,J+=62-I>>>8&62-45-63+95,String.fromCharCode(J)},k.prototype._decodeChar=function(I){var J=m;return J+=(44-I&I-46)>>>8&-m+I-45+62,J+=(94-I&I-96)>>>8&-m+I-95+63,J+=(47-I&I-58)>>>8&-m+I-48+52,J+=(64-I&I-91)>>>8&-m+I-65+0,J+=(96-I&I-123)>>>8&-m+I-97+26,J},k}(N);p.URLSafeCoder=z;var j=new z;function B(F){return j.encode(F)}p.encodeURLSafe=B;function U(F){return j.decode(F)}p.decodeURLSafe=U,p.encodedLength=function(F){return D.encodedLength(F)},p.maxDecodedLength=function(F){return D.maxDecodedLength(F)},p.decodedLength=function(F){return D.decodedLength(F)}},function(s,p,g){Object.defineProperty(p,"__esModule",{value:!0});var w="utf8: invalid string",m="utf8: invalid source encoding";function N(q){for(var z=new Uint8Array(D(q)),j=0,B=0;B>6,z[j++]=128|U&63):U<55296?(z[j++]=224|U>>12,z[j++]=128|U>>6&63,z[j++]=128|U&63):(B++,U=(U&1023)<<10,U|=q.charCodeAt(B)&1023,U+=65536,z[j++]=240|U>>18,z[j++]=128|U>>12&63,z[j++]=128|U>>6&63,z[j++]=128|U&63)}return z}p.encode=N;function D(q){for(var z=0,j=0;j=q.length-1)throw new Error(w);j++,z+=4}else throw new Error(w)}return z}p.encodedLength=D;function R(q){for(var z=[],j=0;j=q.length)throw new Error(m);var F=q[++j];if((F&192)!==128)throw new Error(m);B=(B&31)<<6|F&63,U=128}else if(B<240){if(j>=q.length-1)throw new Error(m);var F=q[++j],k=q[++j];if((F&192)!==128||(k&192)!==128)throw new Error(m);B=(B&15)<<12|(F&63)<<6|k&63,U=2048}else if(B<248){if(j>=q.length-2)throw new Error(m);var F=q[++j],k=q[++j],I=q[++j];if((F&192)!==128||(k&192)!==128||(I&192)!==128)throw new Error(m);B=(B&15)<<18|(F&63)<<12|(k&63)<<6|I&63,U=65536}else throw new Error(m);if(B=55296&&B<=57343)throw new Error(m);if(B>=65536){if(B>1114111)throw new Error(m);B-=65536,z.push(String.fromCharCode(55296|B>>10)),B=56320|B&1023}}z.push(String.fromCharCode(B))}return z.join("")}p.decode=R},function(s,p,g){s.exports=g(3).default},function(s,p,g){g.r(p);var w=function(){function i(r,o){this.lastId=0,this.prefix=r,this.name=o}return i.prototype.create=function(r){this.lastId++;var o=this.lastId,c=this.prefix+o,l=this.name+"["+o+"]",y=!1,v=function(){y||(r.apply(null,arguments),y=!0)};return this[o]=v,{number:o,id:c,name:l,callback:v}},i.prototype.remove=function(r){delete this[r.number]},i}(),m=new w("_pusher_script_","Pusher.ScriptReceivers"),N={VERSION:"7.4.1",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",userAuthentication:{endpoint:"/pusher/user-auth",transport:"ajax"},channelAuthorization:{endpoint:"/pusher/auth",transport:"ajax"},cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},D=N,R=function(){function i(r){this.options=r,this.receivers=r.receivers||m,this.loading={}}return i.prototype.load=function(r,o,c){var l=this;if(l.loading[r]&&l.loading[r].length>0)l.loading[r].push(c);else{l.loading[r]=[c];var y=V.createScriptRequest(l.getPath(r,o)),v=l.receivers.create(function(S){if(l.receivers.remove(v),l.loading[r]){var x=l.loading[r];delete l.loading[r];for(var E=function(X){X||y.cleanup()},M=0;M>>6)+Je(128|r&63):Je(224|r>>>12&15)+Je(128|r>>>6&63)+Je(128|r&63)},Pe=function(i){return i.replace(/[^\x00-\x7F]/g,Ho)},me=function(i){var r=[0,2,1][i.length%3],o=i.charCodeAt(0)<<16|(i.length>1?i.charCodeAt(1):0)<<8|(i.length>2?i.charCodeAt(2):0),c=[xn.charAt(o>>>18),xn.charAt(o>>>12&63),r>=2?"=":xn.charAt(o>>>6&63),r>=1?"=":xn.charAt(o&63)];return c.join("")},qo=window.btoa||function(i){return i.replace(/[\s\S]{1,3}/g,me)},Cn=function(){function i(r,o,c,l){var y=this;this.clear=o,this.timer=r(function(){y.timer&&(y.timer=l(y.timer))},c)}return i.prototype.isRunning=function(){return this.timer!==null},i.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},i}(),Yt=Cn,ii=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}();function Wo(i){window.clearTimeout(i)}function zo(i){window.clearInterval(i)}var Wt=function(i){ii(r,i);function r(o,c){return i.call(this,setTimeout,Wo,o,function(l){return c(),null})||this}return r}(Yt),En=function(i){ii(r,i);function r(o,c){return i.call(this,setInterval,zo,o,function(l){return c(),l})||this}return r}(Yt),jo={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(i){return new Wt(0,i)},method:function(i){var r=Array.prototype.slice.call(arguments,1);return function(o){return o[i].apply(o,r.concat(arguments))}}},_t=jo;function wt(i){for(var r=[],o=1;o0)for(var l=0;l=1002&&i.code<=1004?"backoff":null:i.code===4e3?"tls_only":i.code<4100?"refused":i.code<4200?"backoff":i.code<4300?"retry":"refused"},getCloseError:function(i){return i.code!==1e3&&i.code!==1001?{type:"PusherError",data:{code:i.code,message:i.reason||i.message}}:null}},Re=gi,cs=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),vi=function(i){cs(r,i);function r(o,c){var l=i.call(this)||this;return l.id=o,l.transport=c,l.activityTimeout=c.activityTimeout,l.bindListeners(),l}return r.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},r.prototype.send=function(o){return this.transport.send(o)},r.prototype.send_event=function(o,c,l){var y={event:o,data:c};return l&&(y.channel=l),ut.debug("Event sent",y),this.send(Re.encodeMessage(y))},r.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},r.prototype.close=function(){this.transport.close()},r.prototype.bindListeners=function(){var o=this,c={message:function(y){var v;try{v=Re.decodeMessage(y)}catch(S){o.emit("error",{type:"MessageParseError",error:S,data:y.data})}if(v!==void 0){switch(ut.debug("Event recd",v),v.event){case"pusher:error":o.emit("error",{type:"PusherError",data:v.data});break;case"pusher:ping":o.emit("ping");break;case"pusher:pong":o.emit("pong");break}o.emit("message",v)}},activity:function(){o.emit("activity")},error:function(y){o.emit("error",y)},closed:function(y){l(),y&&y.code&&o.handleCloseEvent(y),o.transport=null,o.emit("closed")}},l=function(){zt(c,function(y,v){o.transport.unbind(v,y)})};zt(c,function(y,v){o.transport.bind(v,y)})},r.prototype.handleCloseEvent=function(o){var c=Re.getCloseAction(o),l=Re.getCloseError(o);l&&this.emit("error",l),c&&this.emit(c,{action:c,error:l})},r}(de),_i=vi,yi=function(){function i(r,o){this.transport=r,this.callback=o,this.bindListeners()}return i.prototype.close=function(){this.unbindListeners(),this.transport.close()},i.prototype.bindListeners=function(){var r=this;this.onMessage=function(o){r.unbindListeners();var c;try{c=Re.processHandshake(o)}catch(l){r.finish("error",{error:l}),r.transport.close();return}c.action==="connected"?r.finish("connected",{connection:new _i(c.id,r.transport),activityTimeout:c.activityTimeout}):(r.finish(c.action,{error:c.error}),r.transport.close())},this.onClosed=function(o){r.unbindListeners();var c=Re.getCloseAction(o)||"backoff",l=Re.getCloseError(o);r.finish(c,{error:l})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},i.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},i.prototype.finish=function(r,o){this.callback(wt({transport:this.transport,action:r},o))},i}(),fs=yi,ls=function(){function i(r,o){this.timeline=r,this.options=o||{}}return i.prototype.send=function(r,o){this.timeline.isEmpty()||this.timeline.send(V.TimelineTransport.getAgent(this,r),o)},i}(),hs=ls,ps=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),mi=function(i){ps(r,i);function r(o,c){var l=i.call(this,function(y,v){ut.debug("No callbacks on "+o+" for "+y)})||this;return l.name=o,l.pusher=c,l.subscribed=!1,l.subscriptionPending=!1,l.subscriptionCancelled=!1,l}return r.prototype.authorize=function(o,c){return c(null,{auth:""})},r.prototype.trigger=function(o,c){if(o.indexOf("client-")!==0)throw new J("Event '"+o+"' does not start with 'client-'");if(!this.subscribed){var l=F.buildLogSuffix("triggeringClientEvents");ut.warn("Client event triggered before channel 'subscription_succeeded' event . "+l)}return this.pusher.send_event(o,c,this.name)},r.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},r.prototype.handleEvent=function(o){var c=o.event,l=o.data;if(c==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(o);else if(c==="pusher_internal:subscription_count")this.handleSubscriptionCountEvent(o);else if(c.indexOf("pusher_internal:")!==0){var y={};this.emit(c,l,y)}},r.prototype.handleSubscriptionSucceededEvent=function(o){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",o.data)},r.prototype.handleSubscriptionCountEvent=function(o){o.data.subscription_count&&(this.subscriptionCount=o.data.subscription_count),this.emit("pusher:subscription_count",o.data)},r.prototype.subscribe=function(){var o=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(c,l){c?(o.subscriptionPending=!1,ut.error(c.toString()),o.emit("pusher:subscription_error",Object.assign({},{type:"AuthError",error:c.message},c instanceof oe?{status:c.status}:{}))):o.pusher.send_event("pusher:subscribe",{auth:l.auth,channel_data:l.channel_data,channel:o.name})}))},r.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},r.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},r.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},r}(de),Ln=mi,bi=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),_r=function(i){bi(r,i);function r(){return i!==null&&i.apply(this,arguments)||this}return r.prototype.authorize=function(o,c){return this.pusher.config.channelAuthorizer({channelName:this.name,socketId:o},c)},r}(Ln),yr=_r,wi=function(){function i(){this.reset()}return i.prototype.get=function(r){return Object.prototype.hasOwnProperty.call(this.members,r)?{id:r,info:this.members[r]}:null},i.prototype.each=function(r){var o=this;zt(this.members,function(c,l){r(o.get(l))})},i.prototype.setMyID=function(r){this.myID=r},i.prototype.onSubscription=function(r){this.members=r.presence.hash,this.count=r.presence.count,this.me=this.get(this.myID)},i.prototype.addMember=function(r){return this.get(r.user_id)===null&&this.count++,this.members[r.user_id]=r.user_info,this.get(r.user_id)},i.prototype.removeMember=function(r){var o=this.get(r.user_id);return o&&(delete this.members[r.user_id],this.count--),o},i.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},i}(),In=wi,Si=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),ds=function(i,r,o,c){function l(y){return y instanceof o?y:new o(function(v){v(y)})}return new(o||(o=Promise))(function(y,v){function S(M){try{E(c.next(M))}catch(X){v(X)}}function x(M){try{E(c.throw(M))}catch(X){v(X)}}function E(M){M.done?y(M.value):l(M.value).then(S,x)}E((c=c.apply(i,r||[])).next())})},Ti=function(i,r){var o={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},c,l,y,v;return v={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function S(E){return function(M){return x([E,M])}}function x(E){if(c)throw new TypeError("Generator is already executing.");for(;o;)try{if(c=1,l&&(y=E[0]&2?l.return:E[0]?l.throw||((y=l.return)&&y.call(l),0):l.next)&&!(y=y.call(l,E[1])).done)return y;switch(l=0,y&&(E=[E[0]&2,y.value]),E[0]){case 0:case 1:y=E;break;case 4:return o.label++,{value:E[1],done:!1};case 5:o.label++,l=E[1],E=[0];continue;case 7:E=o.ops.pop(),o.trys.pop();continue;default:if(y=o.trys,!(y=y.length>0&&y[y.length-1])&&(E[0]===6||E[0]===2)){o=0;continue}if(E[0]===3&&(!y||E[1]>y[0]&&E[1]0&&this.emit("connecting_in",Math.round(o/1e3)),this.retryTimer=new Wt(o||0,function(){c.disconnectInternally(),c.connect()})},r.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},r.prototype.setUnavailableTimer=function(){var o=this;this.unavailableTimer=new Wt(this.options.unavailableTimeout,function(){o.updateState("unavailable")})},r.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},r.prototype.sendActivityCheck=function(){var o=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new Wt(this.options.pongTimeout,function(){o.timeline.error({pong_timed_out:o.options.pongTimeout}),o.retryIn(0)})},r.prototype.resetActivityCheck=function(){var o=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new Wt(this.activityTimeout,function(){o.sendActivityCheck()}))},r.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},r.prototype.buildConnectionCallbacks=function(o){var c=this;return wt({},o,{message:function(l){c.resetActivityCheck(),c.emit("message",l)},ping:function(){c.send_event("pusher:pong",{})},activity:function(){c.resetActivityCheck()},error:function(l){c.emit("error",l)},closed:function(){c.abandonConnection(),c.shouldRetry()&&c.retryIn(1e3)}})},r.prototype.buildHandshakeCallbacks=function(o){var c=this;return wt({},o,{connected:function(l){c.activityTimeout=Math.min(c.options.activityTimeout,l.activityTimeout,l.connection.activityTimeout||1/0),c.clearUnavailableTimer(),c.setConnection(l.connection),c.socket_id=c.connection.id,c.updateState("connected",{socket_id:c.socket_id})}})},r.prototype.buildErrorCallbacks=function(){var o=this,c=function(l){return function(y){y.error&&o.emit("error",{type:"WebSocketError",error:y.error}),l(y)}};return{tls_only:c(function(){o.usingTLS=!0,o.updateStrategy(),o.retryIn(0)}),refused:c(function(){o.disconnect()}),backoff:c(function(){o.retryIn(1e3)}),retry:c(function(){o.retryIn(0)})}},r.prototype.setConnection=function(o){this.connection=o;for(var c in this.connectionCallbacks)this.connection.bind(c,this.connectionCallbacks[c]);this.resetActivityCheck()},r.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var o in this.connectionCallbacks)this.connection.unbind(o,this.connectionCallbacks[o]);var c=this.connection;return this.connection=null,c}},r.prototype.updateState=function(o,c){var l=this.state;if(this.state=o,l!==o){var y=o;y==="connected"&&(y+=" with new socket ID "+c.socket_id),ut.debug("State changed",l+" -> "+y),this.timeline.info({state:o,params:c}),this.emit("state_change",{previous:l,current:o}),this.emit(o,c)}},r.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},r}(de),vs=Ei,Ai=function(){function i(){this.channels={}}return i.prototype.add=function(r,o){return this.channels[r]||(this.channels[r]=Pi(r,o)),this.channels[r]},i.prototype.all=function(){return Zt(this.channels)},i.prototype.find=function(r){return this.channels[r]},i.prototype.remove=function(r){var o=this.channels[r];return delete this.channels[r],o},i.prototype.disconnect=function(){zt(this.channels,function(r){r.disconnect()})},i}(),Oi=Ai;function Pi(i,r){if(i.indexOf("private-encrypted-")===0){if(r.config.nacl)return ge.createEncryptedChannel(i,r,r.config.nacl);var o="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",c=F.buildLogSuffix("encryptedChannelSupport");throw new St(o+". "+c)}else{if(i.indexOf("private-")===0)return ge.createPrivateChannel(i,r);if(i.indexOf("presence-")===0)return ge.createPresenceChannel(i,r);if(i.indexOf("#")===0)throw new Q('Cannot create a channel with name "'+i+'".');return ge.createChannel(i,r)}}var Ri={createChannels:function(){return new Oi},createConnectionManager:function(i,r){return new vs(i,r)},createChannel:function(i,r){return new Ln(i,r)},createPrivateChannel:function(i,r){return new yr(i,r)},createPresenceChannel:function(i,r){return new mr(i,r)},createEncryptedChannel:function(i,r,o){return new Ge(i,r,o)},createTimelineSender:function(i,r){return new hs(i,r)},createHandshake:function(i,r){return new fs(i,r)},createAssistantToTheTransportManager:function(i,r,o){return new kn(i,r,o)}},ge=Ri,_s=function(){function i(r){this.options=r||{},this.livesLeft=this.options.lives||1/0}return i.prototype.getAssistant=function(r){return ge.createAssistantToTheTransportManager(this,r,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},i.prototype.isAlive=function(){return this.livesLeft>0},i.prototype.reportDeath=function(){this.livesLeft-=1},i}(),ki=_s,Li=function(){function i(r,o){this.strategies=r,this.loop=Boolean(o.loop),this.failFast=Boolean(o.failFast),this.timeout=o.timeout,this.timeoutLimit=o.timeoutLimit}return i.prototype.isSupported=function(){return jt(this.strategies,_t.method("isSupported"))},i.prototype.connect=function(r,o){var c=this,l=this.strategies,y=0,v=this.timeout,S=null,x=function(E,M){M?o(null,M):(y=y+1,c.loop&&(y=y%l.length),y0&&(y=new Wt(c.timeout,function(){v.abort(),l(!0)})),v=r.connect(o,function(S,x){S&&y&&y.isRunning()&&!c.failFast||(y&&y.ensureAborted(),l(S,x))}),{abort:function(){y&&y.ensureAborted(),v.abort()},forceMinPriority:function(S){v.forceMinPriority(S)}}},i}(),ke=Li,ys=function(){function i(r){this.strategies=r}return i.prototype.isSupported=function(){return jt(this.strategies,_t.method("isSupported"))},i.prototype.connect=function(r,o){return ms(this.strategies,r,function(c,l){return function(y,v){if(l[c].error=y,y){Tr(l)&&o(!0);return}he(l,function(S){S.forceMinPriority(v.transport.priority)}),o(null,v)}})},i}(),Sr=ys;function ms(i,r,o){var c=oi(i,function(l,y,v,S){return l.connect(r,o(y,S))});return{abort:function(){he(c,bs)},forceMinPriority:function(l){he(c,function(y){y.forceMinPriority(l)})}}}function Tr(i){return an(i,function(r){return Boolean(r.error)})}function bs(i){!i.error&&!i.aborted&&(i.abort(),i.aborted=!0)}var ws=function(){function i(r,o,c){this.strategy=r,this.transports=o,this.ttl=c.ttl||1800*1e3,this.usingTLS=c.useTLS,this.timeline=c.timeline}return i.prototype.isSupported=function(){return this.strategy.isSupported()},i.prototype.connect=function(r,o){var c=this.usingTLS,l=Ts(c),y=[this.strategy];if(l&&l.timestamp+this.ttl>=_t.now()){var v=this.transports[l.transport];v&&(this.timeline.info({cached:!0,transport:l.transport,latency:l.latency}),y.push(new ke([v],{timeout:l.latency*2+1e3,failFast:!0})))}var S=_t.now(),x=y.pop().connect(r,function E(M,X){M?(ft(c),y.length>0?(S=_t.now(),x=y.pop().connect(r,E)):o(M)):(ht(c,X.transport.name,_t.now()-S),o(null,X))});return{abort:function(){x.abort()},forceMinPriority:function(E){r=E,x&&x.forceMinPriority(E)}}},i}(),Ss=ws;function xr(i){return"pusherTransport"+(i?"TLS":"NonTLS")}function Ts(i){var r=V.getLocalStorage();if(r)try{var o=r[xr(i)];if(o)return JSON.parse(o)}catch{ft(i)}return null}function ht(i,r,o){var c=V.getLocalStorage();if(c)try{c[xr(i)]=On({timestamp:_t.now(),transport:r,latency:o})}catch{}}function ft(i){var r=V.getLocalStorage();if(r)try{delete r[xr(i)]}catch{}}var xs=function(){function i(r,o){var c=o.delay;this.strategy=r,this.options={delay:c}}return i.prototype.isSupported=function(){return this.strategy.isSupported()},i.prototype.connect=function(r,o){var c=this.strategy,l,y=new Wt(this.options.delay,function(){l=c.connect(r,o)});return{abort:function(){y.ensureAborted(),l&&l.abort()},forceMinPriority:function(v){r=v,l&&l.forceMinPriority(v)}}},i}(),Dn=xs,Cs=function(){function i(r,o,c){this.test=r,this.trueBranch=o,this.falseBranch=c}return i.prototype.isSupported=function(){var r=this.test()?this.trueBranch:this.falseBranch;return r.isSupported()},i.prototype.connect=function(r,o){var c=this.test()?this.trueBranch:this.falseBranch;return c.connect(r,o)},i}(),ln=Cs,Es=function(){function i(r){this.strategy=r}return i.prototype.isSupported=function(){return this.strategy.isSupported()},i.prototype.connect=function(r,o){var c=this.strategy.connect(r,function(l,y){y&&c.abort(),o(l,y)});return c},i}(),As=Es;function Ke(i){return function(){return i.isSupported()}}var Os=function(i,r,o){var c={};function l(Vi,Js,Xs,jn,Ce){var dn=o(i,Vi,Js,Xs,jn,Ce);return c[Vi]=dn,dn}var y=Object.assign({},r,{hostNonTLS:i.wsHost+":"+i.wsPort,hostTLS:i.wsHost+":"+i.wssPort,httpPath:i.wsPath}),v=Object.assign({},y,{useTLS:!0}),S=Object.assign({},r,{hostNonTLS:i.httpHost+":"+i.httpPort,hostTLS:i.httpHost+":"+i.httpsPort,httpPath:i.httpPath}),x={loop:!0,timeout:15e3,timeoutLimit:6e4},E=new ki({lives:2,minPingDelay:1e4,maxPingDelay:i.activityTimeout}),M=new ki({lives:2,minPingDelay:1e4,maxPingDelay:i.activityTimeout}),X=l("ws","ws",3,y,E),at=l("wss","ws",3,v,E),lt=l("sockjs","sockjs",1,S),Hn=l("xhr_streaming","xhr_streaming",1,S,M),js=l("xdr_streaming","xdr_streaming",1,S,M),Ft=l("xhr_polling","xhr_polling",1,S),qn=l("xdr_polling","xdr_polling",1,S),Ki=new ke([X],x),Ye=new ke([at],x),Wn=new ke([lt],x),pn=new ke([new ln(Ke(Hn),Hn,js)],x),ot=new ke([new ln(Ke(Ft),Ft,qn)],x),$i=new ke([new ln(Ke(pn),new Sr([pn,new Dn(ot,{delay:4e3})]),ot)],x),zn=new ln(Ke($i),$i,Wn),Ze;return r.useTLS?Ze=new Sr([Ki,new Dn(zn,{delay:2e3})]):Ze=new Sr([Ki,new Dn(Ye,{delay:2e3}),new Dn(zn,{delay:5e3})]),new Ss(new As(new ln(Ke(X),Ze,zn)),c,{ttl:18e5,timeline:r.timeline,useTLS:r.useTLS})},Tt=Os,Cr=function(){var i=this;i.timeline.info(i.buildTimelineMessage({transport:i.name+(i.options.useTLS?"s":"")})),i.hooks.isInitialized()?i.changeState("initialized"):i.hooks.file?(i.changeState("initializing"),j.load(i.hooks.file,{useTLS:i.options.useTLS},function(r,o){i.hooks.isInitialized()?(i.changeState("initialized"),o(!0)):(r&&i.onError(r),i.onClose(),o(!1))})):i.onClose()},Le={getRequest:function(i){var r=new window.XDomainRequest;return r.ontimeout=function(){i.emit("error",new gt),i.close()},r.onerror=function(o){i.emit("error",o),i.close()},r.onprogress=function(){r.responseText&&r.responseText.length>0&&i.onChunk(200,r.responseText)},r.onload=function(){r.responseText&&r.responseText.length>0&&i.onChunk(200,r.responseText),i.emit("finished",200),i.close()},r},abortRequest:function(i){i.ontimeout=i.onerror=i.onprogress=i.onload=null,i.abort()}},Ii=Le,Er=function(){var i=function(r,o){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,l){c.__proto__=l}||function(c,l){for(var y in l)l.hasOwnProperty(y)&&(c[y]=l[y])},i(r,o)};return function(r,o){i(r,o);function c(){this.constructor=r}r.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),Jt=256*1024,Ni=function(i){Er(r,i);function r(o,c,l){var y=i.call(this)||this;return y.hooks=o,y.method=c,y.url=l,y}return r.prototype.start=function(o){var c=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){c.close()},V.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(o)},r.prototype.close=function(){this.unloader&&(V.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},r.prototype.onChunk=function(o,c){for(;;){var l=this.advanceBuffer(c);if(l)this.emit("chunk",{status:o,data:l});else break}this.isBufferTooLong(c)&&this.emit("buffer_too_long")},r.prototype.advanceBuffer=function(o){var c=o.slice(this.position),l=c.indexOf(` +`);return l!==-1?(this.position+=l+1,c.slice(0,l)):null},r.prototype.isBufferTooLong=function(o){return this.position===o.length&&o.length>Jt},r}(de),Di=Ni,Un;(function(i){i[i.CONNECTING=0]="CONNECTING",i[i.OPEN=1]="OPEN",i[i.CLOSED=3]="CLOSED"})(Un||(Un={}));var be=Un,Ui=1,Bi=function(){function i(r,o){this.hooks=r,this.session=Ar(1e3)+"/"+we(8),this.location=Nt(o),this.readyState=be.CONNECTING,this.openStream()}return i.prototype.send=function(r){return this.sendRaw(JSON.stringify([r]))},i.prototype.ping=function(){this.hooks.sendHeartbeat(this)},i.prototype.close=function(r,o){this.onClose(r,o,!0)},i.prototype.sendRaw=function(r){if(this.readyState===be.OPEN)try{return V.createSocketRequest("POST",Dt(Ps(this.location,this.session))).start(r),!0}catch{return!1}else return!1},i.prototype.reconnect=function(){this.closeStream(),this.openStream()},i.prototype.onClose=function(r,o,c){this.closeStream(),this.readyState=be.CLOSED,this.onclose&&this.onclose({code:r,reason:o,wasClean:c})},i.prototype.onChunk=function(r){if(r.status===200){this.readyState===be.OPEN&&this.onActivity();var o,c=r.data.slice(0,1);switch(c){case"o":o=JSON.parse(r.data.slice(1)||"{}"),this.onOpen(o);break;case"a":o=JSON.parse(r.data.slice(1)||"[]");for(var l=0;l0&&i.onChunk(o.status,o.responseText);break;case 4:o.responseText&&o.responseText.length>0&&i.onChunk(o.status,o.responseText),i.emit("finished",o.status),i.close();break}},o},abortRequest:function(i){i.onreadystatechange=null,i.abort()}},Rr=ks,Ls={createStreamingSocket:function(i){return this.createSocket(dt,i)},createPollingSocket:function(i){return this.createSocket(Pr,i)},createSocket:function(i,r){return new Bn(i,r)},createXHR:function(i,r){return this.createRequest(Rr,i,r)},createRequest:function(i,r,o){return new Di(i,r,o)}},Fi=Ls;Fi.createXDR=function(i,r){return this.createRequest(Ii,i,r)};var Is=Fi,Mi={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:m,DependenciesReceivers:z,getDefaultStrategy:Tt,Transports:os,transportConnectionInitializer:Cr,HTTPFactory:Is,TimelineTransport:lr,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(i){var r=this;window.Pusher=i;var o=function(){r.onDocumentBody(i.ready)};window.JSON?o():j.load("json2",{},o)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:Fo,jsonp:ir}},onDocumentBody:function(i){var r=this;document.body?i():setTimeout(function(){r.onDocumentBody(i)},0)},createJSONPRequest:function(i,r){return new ar(i,r)},createScriptRequest:function(i){return new sr(i)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var i=this.getXHRAPI();return new i},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return Rn},createWebSocket:function(i){var r=this.getWebSocketAPI();return new r(i)},createSocketRequest:function(i,r){if(this.isXHRSupported())return this.HTTPFactory.createXHR(i,r);if(this.isXDRSupported(r.indexOf("https:")===0))return this.HTTPFactory.createXDR(i,r);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var i=this.getXHRAPI();return Boolean(i)&&new i().withCredentials!==void 0},isXDRSupported:function(i){var r=i?"https:":"http:",o=this.getProtocol();return Boolean(window.XDomainRequest)&&o===r},addUnloadListener:function(i){window.addEventListener!==void 0?window.addEventListener("unload",i,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",i)},removeUnloadListener:function(i){window.addEventListener!==void 0?window.removeEventListener("unload",i,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",i)},randomInt:function(i){var r=function(){var o=window.crypto||window.msCrypto,c=o.getRandomValues(new Uint32Array(1))[0];return c/Math.pow(2,32)};return Math.floor(r()*i)}},V=Mi,Te;(function(i){i[i.ERROR=3]="ERROR",i[i.INFO=6]="INFO",i[i.DEBUG=7]="DEBUG"})(Te||(Te={}));var Fn=Te,Hi=function(){function i(r,o,c){this.key=r,this.session=o,this.events=[],this.options=c||{},this.sent=0,this.uniqueID=0}return i.prototype.log=function(r,o){r<=this.options.level&&(this.events.push(wt({},o,{timestamp:_t.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},i.prototype.error=function(r){this.log(Fn.ERROR,r)},i.prototype.info=function(r){this.log(Fn.INFO,r)},i.prototype.debug=function(r){this.log(Fn.DEBUG,r)},i.prototype.isEmpty=function(){return this.events.length===0},i.prototype.send=function(r,o){var c=this,l=wt({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],r(l,function(y,v){y||c.sent++,o&&o(y,v)}),!0},i.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},i}(),qi=Hi,kr=function(){function i(r,o,c,l){this.name=r,this.priority=o,this.transport=c,this.options=l||{}}return i.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},i.prototype.connect=function(r,o){var c=this;if(this.isSupported()){if(this.priority - setInterval( - function() { - if (!document.hasFocus() ) { - window.location.reload(true); - } - }, - 2*60000); //NOTE: period is passed in milliseconds - +@vite('resources/js/pusher.js')
@@ -53,4 +45,4 @@
-@endsection \ No newline at end of file +@endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 4b94d7a..f5104c6 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -11,7 +11,7 @@ {{ config('app.name', 'Laravel') }} {{ isset($usedItems) && $usedItems > 0 ? "(${usedItems})" : '' }} - + @vite('resources/js/app.js') @@ -88,4 +88,4 @@ - \ No newline at end of file + diff --git a/routes/channels.php b/routes/channels.php index f16a20b..c153c2f 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -14,3 +14,8 @@ Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; }); + +Broadcast::channel('touchedItem', function ($user) { + return true; + /* return $user->id === Item::findOrNew($itemId)->users->find($user->id)->id; */ +}); diff --git a/vite.config.js b/vite.config.js index a759d5a..7cfb285 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,6 +8,7 @@ export default defineConfig({ laravel([ // 'resources/css/app.css', 'resources/js/app.js', + 'resources/js/pusher.js', ]), // react(), // vue({