commit 2abba0c2b7604cad403cbd553a6d220acdd84c4a Author: w33b Date: Thu Sep 18 15:31:27 2025 +0200 Init diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8f0de65 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] +indent_size = 4 diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ea0665b --- /dev/null +++ b/.env.example @@ -0,0 +1,59 @@ +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost + +LOG_CHANNEL=stack +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=laravel +DB_USERNAME=root +DB_PASSWORD= + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +FILESYSTEM_DISK=local +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +MEMCACHED_HOST=127.0.0.1 + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_HOST=mailpit +MAIL_PORT=1025 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_HOST= +PUSHER_PORT=443 +PUSHER_SCHEME=https +PUSHER_APP_CLUSTER=mt1 + +VITE_APP_NAME="${APP_NAME}" +VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +VITE_PUSHER_HOST="${PUSHER_HOST}" +VITE_PUSHER_PORT="${PUSHER_PORT}" +VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" +VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fcb21d3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +* text=auto eol=lf + +*.blade.php diff=html +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php + +/.github export-ignore +CHANGELOG.md export-ignore +.styleci.yml export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2355fa8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +/.phpunit.cache +/node_modules +/public/build +/public/hot +/public/storage +/public/images/hentai +/public/images/background/* +/public/sitemap.xml +/storage/*.key +/vendor +.env +.env.backup +.env.production +.phpunit.result.cache +Homestead.json +Homestead.yaml +auth.json +npm-debug.log +yarn-error.log +/.fleet +/.idea +/.vscode +.directory diff --git a/README.md b/README.md new file mode 100644 index 0000000..f46fe81 --- /dev/null +++ b/README.md @@ -0,0 +1,83 @@ +

hstream Logo

+ +## hstream Website + +### Install + +```bash +# Install PHP +sudo add-apt-repository ppa:ondrej/php +apt update && apt upgrade +apt install php8.3 php8.3-xml php8.3-mysql php8.3-gd php8.3-zip + +# Install NodeJS +curl -sL https://deb.nodesource.com/setup_18.x -o /tmp/nodesource_setup.sh +sudo bash /tmp/nodesource_setup.sh +sudo apt install -y nodejs + +# Install composer +cd /usr/bin/ +curl -sS https://getcomposer.org/installer | sudo php +mv composer.phar composer + +# Install NGINX +apt install nginx +apt install php8.3-fpm + +# Install MariaDB +apt install mariadb-server +sudo mysql_secure_installation + +# Clone Repo +cd /var/www +git clone https://gitea.hstream.moe/w33b/hstream.git +chown -R www-data hstream/ +git config --global --add safe.directory /var/www/hstream + +# Install dependencies +composer install --optimize-autoloader --no-dev +npm install + +# Build Node modules +npm run build +``` + +### Supervisor +```bash +apt install supervisor + +nano /etc/supervisor/conf.d/laravel-queue.conf : + +[program:laravel-queue] +process_name=%(program_name)s_%(process_num)02d +command=php /var/www/hstream/artisan queue:work --queue=default --sleep=3 --tries=3 --max-time=3600 +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=www-data +numprocs=1 +redirect_stderr=true +stdout_logfile=/var/log/laravel-queue.log + + +sudo systemctl start supervisor +sudo supervisorctl reread +sudo supervisorctl update +sudo supervisorctl start laravel-queue:* +``` + + +### Backup +```bash +# DB +mysqldump -u root hstream > backup_2023_11_01.sql + +# WWW +zip -r hstream_2023_11_30.zip hstream/ +``` + +### Update +```bash +php artisan down && git pull && npm run build && php artisan up +``` diff --git a/app/Console/Commands/AutoStats.php b/app/Console/Commands/AutoStats.php new file mode 100644 index 0000000..5cfba35 --- /dev/null +++ b/app/Console/Commands/AutoStats.php @@ -0,0 +1,39 @@ +subMinutes(1440))->forceDelete(); + PopularWeekly::where('created_at', '<=', Carbon::now()->subMinutes(10080))->forceDelete(); + PopularMonthly::where('created_at', '<=', Carbon::now()->subMinutes(43200))->forceDelete(); + + $this->comment('Automated Purge Stats Complete'); + } +} diff --git a/app/Console/Commands/GenerateSitemap.php b/app/Console/Commands/GenerateSitemap.php new file mode 100644 index 0000000..6090d55 --- /dev/null +++ b/app/Console/Commands/GenerateSitemap.php @@ -0,0 +1,51 @@ +first(); + $latestUpdate = Carbon::create($latestEpisode->created_at); + + $sitemap = Sitemap::create() + ->add(Url::create('/') + ->setLastModificationDate($latestUpdate)) + ->add(Url::create('/stats') + ->setLastModificationDate(Carbon::now())) + ->add(Url::create('/search') + ->setLastModificationDate(Carbon::now())) + ->add(Url::create('/contact') + ->setLastModificationDate(Carbon::create('2023', '8', '1'))) + ->add(Episode::all()) + ->add(Hentai::all()); + + $sitemap->writeToFile(public_path('sitemap.xml')); + } +} diff --git a/app/Console/Commands/GetFileSize.php b/app/Console/Commands/GetFileSize.php new file mode 100644 index 0000000..41ad275 --- /dev/null +++ b/app/Console/Commands/GetFileSize.php @@ -0,0 +1,37 @@ +get() as $download) { + GetFileSizeFromCDN::dispatch($download->id); + } + + $this->comment('Added all missing sizes to Job Queue!'); + } +} diff --git a/app/Console/Commands/ResetUserDownloads.php b/app/Console/Commands/ResetUserDownloads.php new file mode 100644 index 0000000..7516122 --- /dev/null +++ b/app/Console/Commands/ResetUserDownloads.php @@ -0,0 +1,40 @@ +update([ + 'downloads_left' => config('hstream.free_downloads_count'), + ]); + + // Clear old downloads which have expired + UserDownload::where('created_at', '<=', Carbon::now()->subHour(6)) + ->forceDelete(); + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 0000000..e6b9960 --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,27 @@ +command('inspire')->hourly(); + } + + /** + * Register the commands for the application. + */ + protected function commands(): void + { + $this->load(__DIR__.'/Commands'); + + require base_path('routes/console.php'); + } +} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 0000000..56af264 --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,30 @@ + + */ + protected $dontFlash = [ + 'current_password', + 'password', + 'password_confirmation', + ]; + + /** + * Register the exception handling callbacks for the application. + */ + public function register(): void + { + $this->reportable(function (Throwable $e) { + // + }); + } +} diff --git a/app/Helpers/CacheHelper.php b/app/Helpers/CacheHelper.php new file mode 100644 index 0000000..bba7f61 --- /dev/null +++ b/app/Helpers/CacheHelper.php @@ -0,0 +1,139 @@ +addMinutes(60), function () use ($guest) { + return Episode::with('gallery') + ->when($guest, fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->orderBy('release_date', 'desc') + ->limit(16) + ->get(); + }); + } + + public static function getRecentlyUploaded(bool $guest) + { + $guestString = $guest ? 'guest' : 'authed'; + return Cache::remember("recently_uploaded".$guestString, now()->addMinutes(5), function () use ($guest) { + return Episode::with('gallery') + ->when($guest, fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->orderBy('created_at', 'desc') + ->limit(16) + ->get(); + }); + } + + public static function getTotalViewCount() + { + return Cache::remember("total_view_count", now()->addMinutes(60), function () { + return Episode::sum('view_count'); + }); + } + + public static function getTotalEpisodeCount() + { + return Cache::remember("total_episode_count", now()->addMinutes(60), function () { + return Episode::count(); + }); + } + + public static function getTotalHentaiCount() + { + return Cache::remember("total_hentai_count", now()->addMinutes(60), function () { + return Hentai::count(); + }); + } + + public static function getTotalMonthlyViews() + { + return Cache::remember("total_monthly_view_count", now()->addMinutes(60), function () { + return PopularMonthly::count(); + }); + } + + public static function getPopularAllTime(bool $guest) + { + $guestString = $guest ? 'guest' : 'authed'; + return Cache::remember("top_hentai_alltime".$guestString, now()->addMinutes(360), function () use ($guest) { + return Episode::with('gallery') + ->when($guest, fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->orderBy('view_count','desc') + ->limit(16) + ->get(); + }); + } + + public static function getPopularMonthly() + { + return Cache::remember("top_hentai_monthly", now()->addMinutes(360), function () { + return PopularMonthly::groupBy('episode_id') + ->select('episode_id', DB::raw('count(*) as total')) + ->with('episode.gallery') + ->orderBy('total', 'desc') + ->limit(16) + ->get(); + }); + } + + public static function getPopularWeekly() + { + return Cache::remember("top_hentai_weekly", now()->addMinutes(360), function () { + return PopularWeekly::groupBy('episode_id') + ->select('episode_id', DB::raw('count(*) as total')) + ->with('episode.gallery') + ->with('episode.studio') + ->orderBy('total', 'desc') + ->limit(16) + ->get(); + }); + } + + public static function getPopularDaily() + { + return Cache::remember("top_hentai_daily", now()->addMinutes(30), function () { + return PopularDaily::groupBy('episode_id') + ->select('episode_id', DB::raw('count(*) as total')) + ->with('episode.gallery') + ->orderBy('total', 'desc') + ->limit(16) + ->get(); + }); + } + + public static function getMostLikes() + { + return Cache::remember("top_likes", now()->addMinutes(30), function () { + return DB::table('markable_likes')->groupBy('markable_id')->select('markable_id', DB::raw('count(*) as total'))->orderBy('total', 'desc')->limit(16)->get(); + }); + } + + public static function getAllTags() + { + return Cache::remember("all_tags", now()->addMinutes(10080), function () { + return Tag::where('count', '>', 0)->orderBy('slug', 'ASC')->get(); + }); + } + + public static function getLatestComments() + { + return Cache::remember("latest_comments", now()->addMinutes(60), function () { + return DB::table('comments')->latest()->take(10)->get(); + }); + } +} diff --git a/app/Http/Controllers/Admin/AlertController.php b/app/Http/Controllers/Admin/AlertController.php new file mode 100644 index 0000000..b2018cd --- /dev/null +++ b/app/Http/Controllers/Admin/AlertController.php @@ -0,0 +1,50 @@ +validate([ + 'message' => 'required|string|max:255', + 'type' => 'required|integer|min:0|digits_between:0,1', + ]); + + Alert::create([ + 'text' => $request->input('message'), + 'type' => $request->input('type'), + ]); + + cache()->forget('alerts'); + + return redirect()->back(); + } + + /** + * Delete Alert. + */ + public function delete(int $alert_id): \Illuminate\Http\RedirectResponse + { + Alert::where('id', $alert_id)->forceDelete(); + + cache()->forget('alerts'); + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Admin/ContactController.php b/app/Http/Controllers/Admin/ContactController.php new file mode 100644 index 0000000..3bc3ffa --- /dev/null +++ b/app/Http/Controllers/Admin/ContactController.php @@ -0,0 +1,31 @@ +get(); + + return view('admin.contact.index', [ + 'contacts' => $contacts + ]); + } + + /** + * Delete Contact. + */ + public function delete(int $contact_id): \Illuminate\Http\RedirectResponse + { + Contact::where('id', $contact_id)->delete(); + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Admin/EpisodeController.php b/app/Http/Controllers/Admin/EpisodeController.php new file mode 100644 index 0000000..3f9e81a --- /dev/null +++ b/app/Http/Controllers/Admin/EpisodeController.php @@ -0,0 +1,85 @@ +episodeService = $episodeService; + $this->galleryService = $galleryService; + $this->downloadService = $downloadService; + } + + /** + * Add Episode to existing series + */ + public function store(Request $request): \Illuminate\Http\RedirectResponse + { + $referenceEpisode = Episode::with('hentai')->where('id', $request->input('episode_id'))->firstOrFail(); + $episodeNumber = $referenceEpisode->hentai->episodes()->count() + 1; + + // Create Episode + $episode = $this->episodeService->createEpisode($request, $referenceEpisode->hentai, $episodeNumber, null, $referenceEpisode); + $this->episodeService->createOrUpdateCover($request, $episode, $referenceEpisode->hentai->slug, 1); + $this->downloadService->createOrUpdateDownloads($request, $episode, 1); + $this->galleryService->createOrUpdateGallery($request, $referenceEpisode->hentai, $episode, $episodeNumber, true); + + // Discord Alert + DiscordReleaseNotification::dispatch($episode->slug, 'release'); + + cache()->flush(); + + return to_route('hentai.index', [ + 'title' => $episode->slug + ]); + } + + /** + * Edit Episode + */ + public function update(Request $request): \Illuminate\Http\RedirectResponse + { + $episode = Episode::with('hentai')->where('id', $request->input('episode_id'))->firstOrFail(); + $studio = $this->episodeService->getOrCreateStudio(json_decode($request->input('studio'))[0]->value); + + $oldinterpolated = $episode->interpolated; + $oldInterpolatedUHD = $episode->interpolated_uhd; + + $episode = $this->episodeService->updateEpisode($request, $studio, $episode->id); + $this->episodeService->createOrUpdateCover($request, $episode, $episode->hentai->slug, 1); + $this->downloadService->createOrUpdateDownloads($request, $episode, 1); + $this->galleryService->createOrUpdateGallery($request, $episode->hentai, $episode, $episode->episode, true); + + // Discord Alert + if ($oldinterpolated !== (int) $episode->interpolated) { + DiscordReleaseNotification::dispatch($episode->slug, 'update'); + } + + if ($oldInterpolatedUHD !== (int) $episode->interpolated_uhd) { + DiscordReleaseNotification::dispatch($episode->slug, 'updateUHD'); + } + + cache()->flush(); + + return to_route('hentai.index', [ + 'title' => $episode->slug + ]); + } +} diff --git a/app/Http/Controllers/Admin/ReleaseController.php b/app/Http/Controllers/Admin/ReleaseController.php new file mode 100644 index 0000000..e6a0516 --- /dev/null +++ b/app/Http/Controllers/Admin/ReleaseController.php @@ -0,0 +1,84 @@ +episodeService = $episodeService; + $this->galleryService = $galleryService; + $this->downloadService = $downloadService; + } + + /** + * Display release page + */ + public function index(): \Illuminate\View\View + { + return view('admin.release.create'); + } + + /** + * Upload New Hentai with One or Multipe Episodes + */ + public function store(Request $request): \Illuminate\Http\RedirectResponse + { + // Create new Hentai or find existing one + $slug = $this->episodeService->generateSlug($request->input('title')); + + $hentai = Hentai::where('slug', $slug)->first(); + + // If hentai exists and was created today, return to home + if ($hentai?->created_at->isToday()) { + return to_route('home.index'); + } + + // If hentai does not exist, create a new instance + $hentai = Hentai::firstOrCreate( + ['slug' => $slug], + ['description' => $request->input('description1')] + ); + + // Studio + $studio = $this->episodeService->getOrCreateStudio(json_decode($request->input('studio'))[0]->value); + + // Create Episode(s) + $releasedEpisodes = []; + for ($i = 1; $i <= $request->input('episodes'); $i++) { + + $episode = $this->episodeService->createEpisode($request, $hentai, $i, $studio); + + $this->episodeService->createOrUpdateCover($request, $episode, $slug, $i); + $this->downloadService->createOrUpdateDownloads($request, $episode, $i); + $this->galleryService->createOrUpdateGallery($request, $hentai, $episode, $i); + + $releasedEpisodes[] = $episode->slug; + } + + foreach ($releasedEpisodes as $slug) { + // Dispatch Discord Alert + DiscordReleaseNotification::dispatch($slug, 'release'); + } + + cache()->flush(); + + return to_route('home.index'); + } +} diff --git a/app/Http/Controllers/Admin/SiteBackgroundController.php b/app/Http/Controllers/Admin/SiteBackgroundController.php new file mode 100644 index 0000000..86ab94d --- /dev/null +++ b/app/Http/Controllers/Admin/SiteBackgroundController.php @@ -0,0 +1,129 @@ + SiteBackground::all(), + ]); + } + + /** + * Create new site backgrounds + */ + public function create(Request $request): \Illuminate\Http\RedirectResponse + { + $request->validate([ + 'images' => 'required', + 'date_start' => 'required', + 'date_end' => 'required', + ]); + + foreach($request->file('images') as $file) { + // Initiating a database transaction in case something goes wrong. + DB::beginTransaction(); + + try { + $bg = SiteBackground::create(array_merge( + $request->only(['date_start', 'date_end']), + [ + 'default' => (bool) $request->input('default', false) + ] + )); + + $resolutions = [1440, 1080, 720, 640]; + foreach($resolutions as $resolution) { + // /images/background/1-2560p.webp + $targetPath = "/images/background/{$bg->id}-{$resolution}p.webp"; + + Image::read($file->getRealPath()) + ->scaleDown(height: $resolution) + ->encode(new WebpEncoder()) + ->save(public_path($targetPath)); + } + + } catch (\Exception $e) { + DB::rollBack(); + Log::error($e->getMessage()); + return redirect()->back(); + } + + // Committing the database transaction. + DB::commit(); + } + + cache()->forget('background'); + + return redirect()->back(); + } + + public function update(Request $request): \Illuminate\Http\RedirectResponse + { + $request->validate([ + 'id' => 'required|exists:site_backgrounds,id', + 'date_start' => 'required', + 'date_end' => 'required', + ]); + + SiteBackground::where('id', $request->input('id'))->update(array_merge( + $request->only(['date_start', 'date_end']), + [ + 'default' => (bool) $request->input('default', false) + ] + )); + + cache()->forget('background'); + + return redirect()->back(); + } + + /** + * Delete backround + */ + public function delete(Request $request): \Illuminate\Http\RedirectResponse + { + $id = $request->input('id'); + + // Initiating a database transaction in case something goes wrong. + DB::beginTransaction(); + + $bg = SiteBackground::where('id', $id)->firstOrFail(); + $bg->forceDelete(); + + $resolutions = [1440, 1080, 720, 640]; + try { + foreach($resolutions as $resolution) { + $targetPath = "/images/background/{$id}-{$resolution}p.webp"; + File::delete(public_path($targetPath)); + } + } catch (\Exception $e) { + DB::rollBack(); + Log::error($e->getMessage()); + return redirect()->back(); + } + + // Committing the database transaction. + DB::commit(); + + cache()->forget('background'); + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Admin/SubtitleController.php b/app/Http/Controllers/Admin/SubtitleController.php new file mode 100644 index 0000000..5f04705 --- /dev/null +++ b/app/Http/Controllers/Admin/SubtitleController.php @@ -0,0 +1,61 @@ + $request->name, + 'slug' => $request->slug, + ]); + + // Add to Episode + EpisodeSubtitle::create([ + 'episode_id' => $request->episode_id, + 'subtitle_id' => $subtitle->id, + ]); + + return redirect()->back(); + } + + /** + * Update Episode Subtitles. + */ + public function update(Request $request): \Illuminate\Http\RedirectResponse + { + $episode = Episode::where('id', $request->input('episode_id'))->firstOrFail(); + + // Clear everything + foreach($episode->subtitles as $sub) { + $sub->forceDelete(); + } + + if (! $request->input('subtitles')) { + return redirect()->back(); + } + + // Re-Add + foreach (json_decode($request->input('subtitles')) as $sub) { + $subtitle = Subtitle::where('name', $sub->value)->firstOrFail(); + + // Add to Episode + EpisodeSubtitle::create([ + 'episode_id' => $episode->id, + 'subtitle_id' => $subtitle->id, + ]); + } + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Admin/TorrentController.php b/app/Http/Controllers/Admin/TorrentController.php new file mode 100644 index 0000000..3806d94 --- /dev/null +++ b/app/Http/Controllers/Admin/TorrentController.php @@ -0,0 +1,40 @@ + $hentai_id + ]); + } + + /** + * Add Torrent. + */ + public function store(Request $request): \Illuminate\Http\RedirectResponse + { + $validated = $request->validate([ + 'hentai_id' => 'required|exists:hentais,id', + 'torrent_url' => 'required|string|max:256', + 'torrent_episodes' => 'required|string|max:8', + ]); + + Torrents::create([ + 'hentai_id' => $request->hentai_id, + 'torrent_url' => $request->torrent_url, + 'episodes' => $request->torrent_episodes, + ]); + + return to_route('download.search'); + } +} diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php new file mode 100644 index 0000000..fdf0461 --- /dev/null +++ b/app/Http/Controllers/Admin/UserController.php @@ -0,0 +1,47 @@ +validate([ + 'id' => 'required|exists:users,id', + 'action' => 'required', + ]); + + + $user = User::findOrFail($validated['id']); + + switch ($validated['action']) { + case 'ban': + $user->update(['is_banned' => 1]); + alert()->success('Banned', 'User has been banned.'); + break; + case 'unban': + $user->update(['is_banned' => 0]); + alert()->success('Unbanned', 'User has been unbanned.'); + break; + default: + alert()->error('Error','Invalid action provided'); + } + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/Api/AdminApiController.php b/app/Http/Controllers/Api/AdminApiController.php new file mode 100644 index 0000000..02b8f3f --- /dev/null +++ b/app/Http/Controllers/Api/AdminApiController.php @@ -0,0 +1,102 @@ +name; + } + + return response()->json(['message' => 'success', 'tags' => $tagWhiteList], 200); + } + + /** + * Get Studios (API). + */ + public function getStudios() + { + $studios = Studios::orderBy('name', 'ASC')->get(); + + $studioList = []; + foreach ($studios as $studio) { + $studioList[] = $studio->name; + } + + return response()->json(['message' => 'success', 'studios' => $studioList], 200); + } + + /** + * Get Subtitles (API). + */ + public function getSubtitles(int $episode_id) + { + $subs = Subtitle::all(); + + $subsWhiteList = []; + foreach ($subs as $sub) { + $subsWhiteList[] = $sub->name; + } + + $episode = Episode::where('id', $episode_id)->firstOrFail(); + $episodetags = []; + foreach ($episode->subtitles as $tag) { + + $episodetags[] = $tag->subtitle->name; + } + + return response()->json(['message' => 'success', 'subs' => $subsWhiteList, 'episodesubs' => $episodetags], 200); + } + + /** + * Get Episode Tags (API). + */ + public function getEpisodeTags(int $episode_id) + { + $tags = CacheHelper::getAllTags(); + $tagWhiteList = []; + foreach ($tags as $tag) { + $tagWhiteList[] = $tag->name; + } + + $episode = Episode::where('id', $episode_id)->firstOrFail(); + $episodetags = []; + foreach ($episode->tags as $tag) { + $episodetags[] = $tag->name; + } + + return response()->json(['message' => 'success', 'tags' => $tagWhiteList, 'episodetags' => $episodetags], 200); + } + + /** + * Get Episode Studio (API). + */ + public function getEpisodeStudio(int $episode_id) + { + $studios = Studios::orderBy('name', 'ASC')->get(); + + $studioList = []; + foreach ($studios as $studio) { + $studioList[] = $studio->name; + } + + $episode = Episode::where('id', $episode_id)->firstOrFail(); + $episodestudio = [$episode->studio->name]; + + return response()->json(['message' => 'success', 'studios' => $studioList, 'episodestudios' => $episodestudio], 200); + } +} diff --git a/app/Http/Controllers/Api/DownloadApiController.php b/app/Http/Controllers/Api/DownloadApiController.php new file mode 100644 index 0000000..f18083e --- /dev/null +++ b/app/Http/Controllers/Api/DownloadApiController.php @@ -0,0 +1,38 @@ +validate([ + 'episode_id' => 'required', + 'captcha' => 'required|captcha' + ]); + + $episode = Episode::where('id', $request->input('episode_id'))->firstOrFail(); + + // Increase download count, as we assume the user + // downloads after submitting the captcha + $download = Downloads::find($episode->getDownloadByType('FHD')->id); + $oldCount = $download->count; + $download->count++; + $download->save(); + + return response()->json([ + 'message' => 'success', + 'download_url' => $download->url, + 'download_count' => $oldCount, + ], 200); + } +} diff --git a/app/Http/Controllers/Api/StreamApiController.php b/app/Http/Controllers/Api/StreamApiController.php new file mode 100644 index 0000000..f9a5bfc --- /dev/null +++ b/app/Http/Controllers/Api/StreamApiController.php @@ -0,0 +1,39 @@ +validate([ + 'episode_id' => 'required', + ]); + + $episode = Episode::where('id', $request->input('episode_id'))->firstOrFail(); + + $subtitles = $episode->subtitles + ->mapWithKeys(fn($sub) => [$sub->subtitle->slug => $sub->subtitle->name]) + ->toArray(); + + return response()->json([ + 'title' => $episode->title.' - '.$episode->episode, + 'poster' => $episode->gallery()->first()->image_url, + 'interpolated' => $episode->interpolated, + 'interpolated_uhd' => $episode->interpolated_uhd, + 'stream_url' => $episode->url, + 'stream_domains' => config('hstream.stream_domain'), + 'asia_stream_domains' => config('hstream.asia_stream_domain'), + 'extra_subtitles' => $subtitles + ], 200); + } +} diff --git a/app/Http/Controllers/Api/UserApiController.php b/app/Http/Controllers/Api/UserApiController.php new file mode 100644 index 0000000..74c5062 --- /dev/null +++ b/app/Http/Controllers/Api/UserApiController.php @@ -0,0 +1,43 @@ +user(); + + $tagWhiteList = []; + $tagBlackList = []; + + // All Tags + foreach (CacheHelper::getAllTags() as $tag) { + $tagWhiteList[] = $tag->name; + } + + // User Tags + if ($user->tag_blacklist) { + foreach ($user->tag_blacklist as $tag) { + $t = Tag::where('slug', $tag)->first(); + $tagBlackList[] = $t->name; + } + } + + + return response()->json([ + 'message' => 'success', + 'tags' => $tagWhiteList, + 'usertags' => $tagBlackList + ], 200); + } +} diff --git a/app/Http/Controllers/Auth/AuthenticatedSessionController.php b/app/Http/Controllers/Auth/AuthenticatedSessionController.php new file mode 100644 index 0000000..494a106 --- /dev/null +++ b/app/Http/Controllers/Auth/AuthenticatedSessionController.php @@ -0,0 +1,48 @@ +authenticate(); + + $request->session()->regenerate(); + + return redirect()->intended(RouteServiceProvider::HOME); + } + + /** + * Destroy an authenticated session. + */ + public function destroy(Request $request): RedirectResponse + { + Auth::guard('web')->logout(); + + $request->session()->invalidate(); + + $request->session()->regenerateToken(); + + return redirect('/'); + } +} diff --git a/app/Http/Controllers/Auth/ConfirmablePasswordController.php b/app/Http/Controllers/Auth/ConfirmablePasswordController.php new file mode 100644 index 0000000..523ddda --- /dev/null +++ b/app/Http/Controllers/Auth/ConfirmablePasswordController.php @@ -0,0 +1,41 @@ +validate([ + 'email' => $request->user()->email, + 'password' => $request->password, + ])) { + throw ValidationException::withMessages([ + 'password' => __('auth.password'), + ]); + } + + $request->session()->put('auth.password_confirmed_at', time()); + + return redirect()->intended(RouteServiceProvider::HOME); + } +} diff --git a/app/Http/Controllers/Auth/EmailVerificationNotificationController.php b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php new file mode 100644 index 0000000..96ba772 --- /dev/null +++ b/app/Http/Controllers/Auth/EmailVerificationNotificationController.php @@ -0,0 +1,25 @@ +user()->hasVerifiedEmail()) { + return redirect()->intended(RouteServiceProvider::HOME); + } + + $request->user()->sendEmailVerificationNotification(); + + return back()->with('status', 'verification-link-sent'); + } +} diff --git a/app/Http/Controllers/Auth/EmailVerificationPromptController.php b/app/Http/Controllers/Auth/EmailVerificationPromptController.php new file mode 100644 index 0000000..186eb97 --- /dev/null +++ b/app/Http/Controllers/Auth/EmailVerificationPromptController.php @@ -0,0 +1,22 @@ +user()->hasVerifiedEmail() + ? redirect()->intended(RouteServiceProvider::HOME) + : view('auth.verify-email'); + } +} diff --git a/app/Http/Controllers/Auth/NewPasswordController.php b/app/Http/Controllers/Auth/NewPasswordController.php new file mode 100644 index 0000000..f1e2814 --- /dev/null +++ b/app/Http/Controllers/Auth/NewPasswordController.php @@ -0,0 +1,61 @@ + $request]); + } + + /** + * Handle an incoming new password request. + * + * @throws \Illuminate\Validation\ValidationException + */ + public function store(Request $request): RedirectResponse + { + $request->validate([ + 'token' => ['required'], + 'email' => ['required', 'email'], + 'password' => ['required', 'confirmed', Rules\Password::defaults()], + ]); + + // Here we will attempt to reset the user's password. If it is successful we + // will update the password on an actual user model and persist it to the + // database. Otherwise we will parse the error and return the response. + $status = Password::reset( + $request->only('email', 'password', 'password_confirmation', 'token'), + function ($user) use ($request) { + $user->forceFill([ + 'password' => Hash::make($request->password), + 'remember_token' => Str::random(60), + ])->save(); + + event(new PasswordReset($user)); + } + ); + + // If the password was successfully reset, we will redirect the user back to + // the application's home authenticated view. If there is an error we can + // redirect them back to where they came from with their error message. + return $status == Password::PASSWORD_RESET + ? redirect()->route('login')->with('status', __($status)) + : back()->withInput($request->only('email')) + ->withErrors(['email' => __($status)]); + } +} diff --git a/app/Http/Controllers/Auth/PasswordController.php b/app/Http/Controllers/Auth/PasswordController.php new file mode 100644 index 0000000..6916409 --- /dev/null +++ b/app/Http/Controllers/Auth/PasswordController.php @@ -0,0 +1,29 @@ +validateWithBag('updatePassword', [ + 'current_password' => ['required', 'current_password'], + 'password' => ['required', Password::defaults(), 'confirmed'], + ]); + + $request->user()->update([ + 'password' => Hash::make($validated['password']), + ]); + + return back()->with('status', 'password-updated'); + } +} diff --git a/app/Http/Controllers/Auth/PasswordResetLinkController.php b/app/Http/Controllers/Auth/PasswordResetLinkController.php new file mode 100644 index 0000000..ce813a6 --- /dev/null +++ b/app/Http/Controllers/Auth/PasswordResetLinkController.php @@ -0,0 +1,44 @@ +validate([ + 'email' => ['required', 'email'], + ]); + + // We will send the password reset link to this user. Once we have attempted + // to send the link, we will examine the response then see the message we + // need to show to the user. Finally, we'll send out a proper response. + $status = Password::sendResetLink( + $request->only('email') + ); + + return $status == Password::RESET_LINK_SENT + ? back()->with('status', __($status)) + : back()->withInput($request->only('email')) + ->withErrors(['email' => __($status)]); + } +} diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php new file mode 100644 index 0000000..5313f35 --- /dev/null +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -0,0 +1,51 @@ +validate([ + 'name' => ['required', 'string', 'max:255'], + 'email' => ['required', 'string', 'email', 'max:255', 'unique:'.User::class], + 'password' => ['required', 'confirmed', Rules\Password::defaults()], + ]); + + $user = User::create([ + 'name' => $request->name, + 'email' => $request->email, + 'password' => Hash::make($request->password), + ]); + + event(new Registered($user)); + + Auth::login($user); + + return redirect(RouteServiceProvider::HOME); + } +} diff --git a/app/Http/Controllers/Auth/VerifyEmailController.php b/app/Http/Controllers/Auth/VerifyEmailController.php new file mode 100644 index 0000000..ea87940 --- /dev/null +++ b/app/Http/Controllers/Auth/VerifyEmailController.php @@ -0,0 +1,28 @@ +user()->hasVerifiedEmail()) { + return redirect()->intended(RouteServiceProvider::HOME.'?verified=1'); + } + + if ($request->user()->markEmailAsVerified()) { + event(new Verified($request->user())); + } + + return redirect()->intended(RouteServiceProvider::HOME.'?verified=1'); + } +} diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php new file mode 100644 index 0000000..e214735 --- /dev/null +++ b/app/Http/Controllers/ContactController.php @@ -0,0 +1,45 @@ +validate([ + 'name' => 'required|max:30', + 'email' => 'required|max:50', + 'message' => 'required|max:1000', + 'subject' => 'required|max:50', + 'captcha' => 'required|captcha', + ]); + + $contact = new Contact(); + $contact->name = $request->input('name'); + $contact->email = $request->input('email'); + $contact->message = $request->input('message'); + $contact->subject = $request->input('subject'); + $contact->save(); + + return back()->with('status', 'contact-submitted'); + } + + public function reloadCaptcha(): \Illuminate\Http\JsonResponse + { + return response()->json(['captcha'=> captcha_img()]); + } +} diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100644 index 0000000..77ec359 --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,12 @@ +remember('mostLikes'.$guestString, 300, fn () => + Episode::with('gallery') + ->when($guest, fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->whereIn('id', function($query) { + $mostLikesIds = CacheHelper::getMostLikes()->pluck('markable_id')->toArray(); + $query->selectRaw('id') + ->from('episodes') + ->whereIn('id', $mostLikesIds) + ->orderByRaw("FIELD(id, " . implode(',', $mostLikesIds) . ")"); + }) + ->get() + ); + + return view('home.index', [ + 'recentlyReleased' => CacheHelper::getRecentlyReleased($guest), + 'recentlyUploaded' => CacheHelper::getRecentlyUploaded($guest), + 'popularAllTime' => CacheHelper::getPopularAllTime($guest), + 'popularMonthly' => CacheHelper::getPopularMonthly(), + 'popularWeekly' => CacheHelper::getPopularWeekly(), + 'popularDaily' => CacheHelper::getPopularDaily(), + 'mostLikes' => $mostLikes, + 'latestComments' => CacheHelper::getLatestComments(), + ]); + } + + /** + * Display Banned Page. + */ + public function banned(): \Illuminate\View\View + { + return view('auth.banned'); + } + + /** + * Display Search Page. + */ + public function search(): \Illuminate\View\View + { + return view('search.index'); + } + + /** + * Display Download Search Page. + */ + public function downloadSearch(): \Illuminate\View\View + { + return view('search.download'); + } + + /** + * Redirect POST Data to GET with Query String. + */ + public function searchRedirect(Request $request): \Illuminate\Http\RedirectResponse + { + return redirect()->route('hentai.search', [ + 'search' => $request->input('live-search'), + ]); + } + + /** + * Display Stats Page. + */ + public function stats(): \Illuminate\View\View + { + return view('home.stats', [ + 'viewCount' => CacheHelper::getTotalViewCount(), + 'episodeCount' => CacheHelper::getTotalEpisodeCount(), + 'hentaiCount' => CacheHelper::getTotalHentaiCount(), + 'monthlyCount' => CacheHelper::getTotalMonthlyViews() + ]); + } + + /** + * Manually set website language + */ + public function updateLanguage(Request $request): \Illuminate\Http\RedirectResponse + { + if(! in_array($request->language, config('lang-detector.languages'))) { + return redirect()->back(); + } + + Cookie::queue(Cookie::forever('locale', $request->language)); + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/NotificationController.php b/app/Http/Controllers/NotificationController.php new file mode 100644 index 0000000..5bd3bb9 --- /dev/null +++ b/app/Http/Controllers/NotificationController.php @@ -0,0 +1,39 @@ + $request->user(), + 'notifications' => $request->user()->unreadNotifications, + ]); + } + + /** + * Delete Notifcation + */ + public function delete(Request $request): \Illuminate\Http\RedirectResponse + { + $request->validate([ + 'id' => 'required|exists:notifications,id', + ]); + + $notification = $request->user() + ->notifications() + ->where('id', $request->input('id')) + ->firstOrFail(); + + $notification->forceDelete(); + + return redirect()->back(); + } +} diff --git a/app/Http/Controllers/PlaylistController.php b/app/Http/Controllers/PlaylistController.php new file mode 100644 index 0000000..941b552 --- /dev/null +++ b/app/Http/Controllers/PlaylistController.php @@ -0,0 +1,198 @@ +playlistService = $playlistService; + } + + /** + * Display the public playlists page. + */ + public function index(): \Illuminate\View\View + { + return view('playlist.index'); + } + + /** + * Display public playlist. + */ + public function show($playlist_id): \Illuminate\View\View + { + if (!is_numeric($playlist_id)) { + abort(404); + } + + $playlist = Playlist::where('is_private', 0)->where('id', $playlist_id)->firstOrFail(); + + return view('playlist.list', [ + 'playlist' => $playlist, + ]); + } + + + /** + * Display the user's playlists page. + */ + public function playlists(Request $request): \Illuminate\View\View + { + $title = 'Delete Playlist!'; + $text = "Are you sure you want to delete?"; + confirmDelete($title, $text); + + return view('profile.playlists', [ + 'user' => $request->user(), + 'playlists' => $request->user()->playlists, + ]); + } + + /** + * Display user's playlist. + */ + public function showPlaylist(Request $request, $playlist_id): \Illuminate\View\View + { + if (!is_numeric($playlist_id)) { + abort(404); + } + + $user = $request->user(); + + $playlist = Playlist::where('user_id', $user->id)->where('id', $playlist_id)->firstOrFail(); + + return view('playlist.list', [ + 'playlist' => $playlist, + ]); + } + + /** + * Create user playlist (Form). + */ + public function createPlaylist(Request $request): \Illuminate\Http\RedirectResponse + { + $validated = $request->validate([ + 'name' => 'required|max:30', + ]); + + $playlist = new Playlist(); + $playlist->user_id = $request->user()->id; + $playlist->name = $request->input('name'); + $playlist->is_private = $request->input('visiblity') === 'private'; + $playlist->save(); + + return to_route('profile.playlists'); + } + + /** + * Delete user playlist. + */ + public function deletePlaylist(Request $request, $playlist_id): \Illuminate\Http\RedirectResponse + { + if (!is_numeric($playlist_id)) { + abort(404); + } + + $user = $request->user(); + + $playlist = Playlist::where('user_id', $user->id)->where('id', $playlist_id)->firstOrFail(); + + // Delete Playlist Episodes + PlaylistEpisode::where('playlist_id', $playlist->id)->forceDelete(); + + // Delete Playlist + $playlist->forceDelete(); + + return to_route('profile.playlists'); + } + + /** + * Delete episode from playlist. + */ + public function deleteEpisodeFromPlaylist(Request $request): \Illuminate\Http\JsonResponse + { + if (!is_numeric($request->input('playlist')) || !is_numeric($request->input('episode'))) { + return response()->json([ + 'message' => 'not-numeric', + 'user' => $request->user(), + ], 404); + } + + $playlist = Playlist::where('user_id', $request->user()->id)->where('id', (int) $request->input('playlist'))->firstOrFail(); + PlaylistEpisode::where('playlist_id', $playlist->id)->where('episode_id', (int) $request->input('episode'))->forceDelete(); + $this->playlistService->reorderPositions($playlist); + + return response()->json([ + 'message' => 'success', + 'user' => $request->user(), + ], 200); + } + + /** + * Add to user playlist (API). + */ + public function addPlaylistApi(Request $request): \Illuminate\Http\JsonResponse + { + $user = $request->user(); + + $validated = $request->validate([ + 'playlist' => 'required|max:30', + 'episode_id' => 'required' + ]); + + $playlist = Playlist::where('user_id', $user->id)->where('id', $request->input('playlist'))->firstOrFail(); + $episode = Episode::where('id', $request->input('episode_id'))->firstOrFail(); + + // Check if already in playlist + $exists = PlaylistEpisode::where('playlist_id', $playlist->id)->where('episode_id', $episode->id)->exists(); + if ($exists) { + return response()->json([ + 'message' => 'already-added' + ], 200); + } + + // Position of entry + $position = $playlist->episodes->count() + 1; + + PlaylistEpisode::create([ + 'playlist_id' => $playlist->id, + 'episode_id' => $episode->id, + 'position' => $position, + ]); + + return response()->json([ + 'message' => 'success' + ], 200); + } + + /** + * Create user playlist (API). + */ + public function createPlaylistApi(Request $request): \Illuminate\Http\JsonResponse + { + $validated = $request->validate([ + 'name' => 'required|max:30', + ]); + + $playlist = new Playlist(); + $playlist->user_id = $request->user()->id; + $playlist->name = $request->input('name'); + $playlist->is_private = $request->input('visiblity') === 'private'; + $playlist->save(); + + return response()->json([ + 'message' => 'success', + 'playlist_id' => $playlist->id + ], 200); + } +} diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php new file mode 100644 index 0000000..23c1930 --- /dev/null +++ b/app/Http/Controllers/ProfileController.php @@ -0,0 +1,130 @@ + $request->user(), + ]); + } + + /** + * Display the user's settings form. + */ + public function settings(Request $request): \Illuminate\View\View + { + $example = Episode::where('title', 'Succubus Yondara Gibo ga Kita!?')->first(); + + return view('profile.settings', [ + 'user' => $request->user(), + 'example' => $example, + ]); + } + + /** + * Display the user's watched page. + */ + public function watched(Request $request): \Illuminate\View\View + { + return view('profile.watched', [ + 'user' => $request->user(), + ]); + } + + /** + * Display the user's comments page. + */ + public function comments(Request $request): \Illuminate\View\View + { + return view('profile.comments', [ + 'user' => $request->user(), + ]); + } + + /** + * Display the user's likes page. + */ + public function likes(Request $request): \Illuminate\View\View + { + return view('profile.likes', [ + 'user' => $request->user(), + ]); + } + + /** + * Update user settings. + */ + public function saveSettings(Request $request): \Illuminate\Http\RedirectResponse + { + $user = $request->user(); + $user->search_design = $request->input('searchDesign') == 'thumbnail'; + $user->home_top_design = $request->input('topDesign') == 'thumbnail'; + $user->home_middle_design = $request->input('middleDesign') == 'thumbnail'; + $user->save(); + + return Redirect::route('profile.settings')->with('status', 'design-updated'); + } + + /** + * Update user tag blacklist. + */ + public function saveBlacklist(Request $request): \Illuminate\Http\RedirectResponse + { + $user = $request->user(); + $tags = json_decode($request->input('tags')); + + if (!$tags) { + $user->tag_blacklist = null; + $user->save(); + return Redirect::route('profile.settings')->with('status', 'blacklist-updated'); + } + + $blacklist = []; + foreach ($tags as $tag) { + $t = Tag::where('slug', Str::slug($tag->value))->firstOrFail(); + $blacklist[] = $t->slug; + } + + $user->tag_blacklist = $blacklist; + $user->save(); + + return Redirect::route('profile.settings')->with('status', 'blacklist-updated'); + } + + /** + * Delete the user's account. + */ + public function destroy(Request $request): \Illuminate\Http\RedirectResponse + { + $request->validateWithBag('userDeletion', [ + 'password' => ['required', 'current_password'], + ]); + + $user = $request->user(); + + Auth::logout(); + + $user->delete(); + + $request->session()->invalidate(); + $request->session()->regenerateToken(); + + return Redirect::to('/'); + } +} diff --git a/app/Http/Controllers/StreamController.php b/app/Http/Controllers/StreamController.php new file mode 100644 index 0000000..ad45d32 --- /dev/null +++ b/app/Http/Controllers/StreamController.php @@ -0,0 +1,109 @@ +where('slug', $title)->firstOrFail(); + + if (Auth::guest() && $hentai->isLoliOrShota()) { + return view('auth.please-login'); + } + + return view('series.index', [ + 'hentai' => $hentai, + 'popularWeekly' => CacheHelper::getPopularWeekly(), + ]); + } + + + $episode = Episode::where('slug', $title)->firstOrFail(); + $gallery = Gallery::where('episode_id', $episode->id)->get(); + $moreEpisodes = Episode::with(['gallery', 'studio'])->where('hentai_id', $episode->hentai_id)->whereNot('id', $episode->id)->get(); + $studioEpisodes = Episode::with(['gallery', 'studio'])->inRandomOrder()->where('studios_id', $episode->studios_id)->whereNot('id', $episode->id)->limit(6)->get(); + + // Only allow access to problematic stuff when logged in + if (Auth::guest() && $episode->isLoliOrShota()) { + return view('auth.please-login'); + } + + // Increment View Count + $episode->incrementViewCount(); + + // Increment Popular Count + $episode->incrementPopularCount(); + + if (!Auth::guest()) { + $user = Auth::user(); + + // Add to user watched list + $time = Carbon::now()->subHour(1); + $alreadyWatched = Watched::where('user_id', $user->id)->where('episode_id', $episode->id)->where('created_at', '>=', $time)->exists(); + if (!$alreadyWatched) { + Watched::create(['user_id' => $user->id, 'episode_id' => $episode->id]); + cache()->forget('user' . $user->id . 'watched' . $episode->id); + } + } + + // Mobile Detection + $isMobile = Browser::isMobile(); + + // Playlist + if ($request->has('playlist')) { + // Get and check if playlist exists + $playlist = Playlist::where('id', $request->input('playlist'))->firstOrFail(); + + // Check if episode is in playlist + $inPlaylist = PlaylistEpisode::where('playlist_id', $playlist->id)->where('episode_id', $episode->id)->firstOrFail(); + + // Get Playlist Episodes and order them + $playlistEpisodes = $playlist->episodes()->orderBy('position')->get(); + + // Check if authorized + if ($playlist->is_private && (Auth::guest() || (!Auth::guest() && Auth::user()->id != $playlist->user_id))) { + abort(404); + } + + return view('stream.index', [ + 'episode' => $episode, + 'moreEpisodes' => $moreEpisodes, + 'studioEpisodes' => $studioEpisodes, + 'gallery' => $gallery, + 'playlist' => $playlist, + 'playlistEpisodes' => $playlistEpisodes, + 'popularWeekly' => CacheHelper::getPopularWeekly(), + 'isMobile' => $isMobile, + ]); + } + + return view('stream.index', [ + 'episode' => $episode, + 'moreEpisodes' => $moreEpisodes, + 'studioEpisodes' => $studioEpisodes, + 'gallery' => $gallery, + 'popularWeekly' => CacheHelper::getPopularWeekly(), + 'isMobile' => $isMobile, + ]); + } +} diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php new file mode 100644 index 0000000..1836c3e --- /dev/null +++ b/app/Http/Controllers/UserController.php @@ -0,0 +1,58 @@ +select('id', 'username', 'global_name', 'avatar', 'created_at', 'is_patreon') + ->firstOrFail(); + + return view('user.index', [ + 'user' => $user, + ]); + } + + /** + * Delete User. + */ + public function delete(Request $request): \Illuminate\Http\RedirectResponse + { + $user = User::where('id', $request->user()->id)->firstOrFail(); + + // Delete Playlist + $playlists = Playlist::where('user_id', $user->id)->get(); + foreach($playlists as $playlist) { + PlaylistEpisode::where('playlist_id', $playlist->id)->forceDelete(); + $playlist->forceDelete(); + } + + // Update comments to deleted user + DB::table('comments')->where('commenter_id', '=', $user->id)->update(['commenter_id' => 1]); + + $user->forceDelete(); + + Auth::guard('web')->logout(); + + $request->session()->invalidate(); + + $request->session()->regenerateToken(); + + cache()->flush(); + + return redirect('/'); + } +} diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php new file mode 100644 index 0000000..01c41f1 --- /dev/null +++ b/app/Http/Kernel.php @@ -0,0 +1,70 @@ + + */ + protected $middleware = [ + // \App\Http\Middleware\TrustHosts::class, + \App\Http\Middleware\TrustProxies::class, + \Illuminate\Http\Middleware\HandleCors::class, + \App\Http\Middleware\PreventRequestsDuringMaintenance::class, + \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, + \App\Http\Middleware\TrimStrings::class, + \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + ]; + + /** + * The application's route middleware groups. + * + * @var array> + */ + protected $middlewareGroups = [ + 'web' => [ + \App\Http\Middleware\EncryptCookies::class, + \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, + \Illuminate\Session\Middleware\StartSession::class, + \Illuminate\View\Middleware\ShareErrorsFromSession::class, + \App\Http\Middleware\VerifyCsrfToken::class, + \Illuminate\Routing\Middleware\SubstituteBindings::class, + \App\Http\Middleware\IsBanned::class, + ], + + 'api' => [ + // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, + \Illuminate\Routing\Middleware\ThrottleRequests::class.':api', + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + ]; + + /** + * The application's middleware aliases. + * + * Aliases may be used instead of class names to conveniently assign middleware to routes and groups. + * + * @var array + */ + protected $middlewareAliases = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class, + 'auth.admin' => \App\Http\Middleware\IsAdmin::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class, + 'signed' => \App\Http\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + ]; +} diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 0000000..d4ef644 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,17 @@ +expectsJson() ? null : route('login'); + } +} diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php new file mode 100644 index 0000000..867695b --- /dev/null +++ b/app/Http/Middleware/EncryptCookies.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Http/Middleware/IsAdmin.php b/app/Http/Middleware/IsAdmin.php new file mode 100644 index 0000000..c398ff0 --- /dev/null +++ b/app/Http/Middleware/IsAdmin.php @@ -0,0 +1,44 @@ +auth = $auth; + } + + /** + * Handle an incoming request. + * + * @param \Illuminate\Http\Request $request + * @param \Closure $next + * @return mixed + */ + public function handle($request, Closure $next) + { + if( ! $this->auth->user()->is_admin) + { + session()->flash('error_msg','This resource is restricted to Administrators!'); + return redirect()->route('home.index'); + } + + return $next($request); + } + +} diff --git a/app/Http/Middleware/IsBanned.php b/app/Http/Middleware/IsBanned.php new file mode 100644 index 0000000..54e7fdf --- /dev/null +++ b/app/Http/Middleware/IsBanned.php @@ -0,0 +1,29 @@ +check() && auth()->user()->is_banned == 1) + { + Auth::logout(); + $request->session()->invalidate(); + $request->session()->regenerateToken(); + return redirect()->route('home.banned'); + } + + return $next($request); + } + +} diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php new file mode 100644 index 0000000..74cbd9a --- /dev/null +++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php new file mode 100644 index 0000000..afc78c4 --- /dev/null +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -0,0 +1,30 @@ +check()) { + return redirect(RouteServiceProvider::HOME); + } + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 0000000..88cadca --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,19 @@ + + */ + protected $except = [ + 'current_password', + 'password', + 'password_confirmation', + ]; +} diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php new file mode 100644 index 0000000..c9c58bd --- /dev/null +++ b/app/Http/Middleware/TrustHosts.php @@ -0,0 +1,20 @@ + + */ + public function hosts(): array + { + return [ + $this->allSubdomainsOfApplicationUrl(), + ]; + } +} diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php new file mode 100644 index 0000000..3391630 --- /dev/null +++ b/app/Http/Middleware/TrustProxies.php @@ -0,0 +1,28 @@ +|string|null + */ + protected $proxies; + + /** + * The headers that should be used to detect proxies. + * + * @var int + */ + protected $headers = + Request::HEADER_X_FORWARDED_FOR | + Request::HEADER_X_FORWARDED_HOST | + Request::HEADER_X_FORWARDED_PORT | + Request::HEADER_X_FORWARDED_PROTO | + Request::HEADER_X_FORWARDED_AWS_ELB; +} diff --git a/app/Http/Middleware/ValidateSignature.php b/app/Http/Middleware/ValidateSignature.php new file mode 100644 index 0000000..093bf64 --- /dev/null +++ b/app/Http/Middleware/ValidateSignature.php @@ -0,0 +1,22 @@ + + */ + protected $except = [ + // 'fbclid', + // 'utm_campaign', + // 'utm_content', + // 'utm_medium', + // 'utm_source', + // 'utm_term', + ]; +} diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php new file mode 100644 index 0000000..9e86521 --- /dev/null +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Http/Requests/Auth/LoginRequest.php b/app/Http/Requests/Auth/LoginRequest.php new file mode 100644 index 0000000..7a19bc0 --- /dev/null +++ b/app/Http/Requests/Auth/LoginRequest.php @@ -0,0 +1,85 @@ + + */ + public function rules(): array + { + return [ + 'email' => ['required', 'string', 'email'], + 'password' => ['required', 'string'], + ]; + } + + /** + * Attempt to authenticate the request's credentials. + * + * @throws \Illuminate\Validation\ValidationException + */ + public function authenticate(): void + { + $this->ensureIsNotRateLimited(); + + if (! Auth::attempt($this->only('email', 'password'), $this->boolean('remember'))) { + RateLimiter::hit($this->throttleKey()); + + throw ValidationException::withMessages([ + 'email' => trans('auth.failed'), + ]); + } + + RateLimiter::clear($this->throttleKey()); + } + + /** + * Ensure the login request is not rate limited. + * + * @throws \Illuminate\Validation\ValidationException + */ + public function ensureIsNotRateLimited(): void + { + if (! RateLimiter::tooManyAttempts($this->throttleKey(), 5)) { + return; + } + + event(new Lockout($this)); + + $seconds = RateLimiter::availableIn($this->throttleKey()); + + throw ValidationException::withMessages([ + 'email' => trans('auth.throttle', [ + 'seconds' => $seconds, + 'minutes' => ceil($seconds / 60), + ]), + ]); + } + + /** + * Get the rate limiting throttle key for the request. + */ + public function throttleKey(): string + { + return Str::transliterate(Str::lower($this->input('email')).'|'.$this->ip()); + } +} diff --git a/app/Http/Requests/ProfileUpdateRequest.php b/app/Http/Requests/ProfileUpdateRequest.php new file mode 100644 index 0000000..327ce6f --- /dev/null +++ b/app/Http/Requests/ProfileUpdateRequest.php @@ -0,0 +1,23 @@ + + */ + public function rules(): array + { + return [ + 'name' => ['string', 'max:255'], + 'email' => ['email', 'max:255', Rule::unique(User::class)->ignore($this->user()->id)], + ]; + } +} diff --git a/app/Jobs/DiscordReleaseNotification.php b/app/Jobs/DiscordReleaseNotification.php new file mode 100644 index 0000000..d722820 --- /dev/null +++ b/app/Jobs/DiscordReleaseNotification.php @@ -0,0 +1,50 @@ +slug = $slug; + $this->messageType = $messageType; + } + + /** + * Execute the job. + */ + public function handle(): void + { + // Wait 2s to avoid Discord API Rate limit + sleep(2); + + if ($this->messageType == 'release') { + DiscordAlert::message("<@&868457842250764289> (´• ω •`)ノ New **4k** Release! Check it out here: https://hstream.moe/hentai/".$this->slug); + } + + if ($this->messageType == 'update') { + DiscordAlert::to('update')->message("<@&1283518462584426598> (´• ω •`)ノ Added **48fps** to Release! Check it out here: https://hstream.moe/hentai/".$this->slug); + } + + if ($this->messageType == 'updateUHD') { + DiscordAlert::to('update')->message("<@&1326860920902778963> (´• ω •`)ノ Added **48fps 4k** to Release! Check it out here: https://hstream.moe/hentai/".$this->slug); + } + } +} diff --git a/app/Jobs/GetFileSizeFromCDN.php b/app/Jobs/GetFileSizeFromCDN.php new file mode 100644 index 0000000..3a963a2 --- /dev/null +++ b/app/Jobs/GetFileSizeFromCDN.php @@ -0,0 +1,71 @@ +downloadId = $id; + } + + /** + * Execute the job. + */ + public function handle(): void + { + // Retrieve the download record, return if not found + $download = Downloads::find($this->downloadId); + if (!$download) { + Log::error("Download not found for ID: {$this->downloadId}"); + return; + } + + // Generate encrypted file path and expiration + $endpoint = config('hstream.download_domain_4k')[0]; + $serverPath = $download->type === 'UHD' ? 'hentai/' : 'hentai-1080p/'; + $file = Crypt::encryptString($serverPath.$download->url); + $expire = Crypt::encryptString(Carbon::now()->addHours(6)->toDateTimeString()); + + try { + // Send HTTP request to the endpoint + $response = Http::get($endpoint . '/getSize/' . $file . '/' . $expire); + + // Check if response is successful + if ($response->successful()) { + $size = $response->json()['size']; + + // Update the download record with the retrieved size + $download->size = $size; + $download->save(); + + Log::info("Updated size for download ID: {$this->downloadId}"); + } else { + Log::error("Failed to retrieve size for download ID: {$this->downloadId}, HTTP status: {$response->status()}"); + } + } catch (RequestException $e) { + Log::error("HTTP request failed for download ID: {$this->downloadId}, error: " . $e->getMessage()); + } catch (\Exception $e) { + Log::error("An error occurred for download ID: {$this->downloadId}, error: " . $e->getMessage()); + } + } +} diff --git a/app/Livewire/AdminUserSearch.php b/app/Livewire/AdminUserSearch.php new file mode 100644 index 0000000..f3ad5f7 --- /dev/null +++ b/app/Livewire/AdminUserSearch.php @@ -0,0 +1,42 @@ +filtered !== [], fn ($query) => $query->where('id', '>=', 10000)) + ->when($this->patreon !== [], fn ($query) => $query->where('is_patreon', 1)) + ->when($this->banned !== [], fn ($query) => $query->where('is_banned', 1)) + ->when($this->search !== '', fn ($query) => $query->where(function($query) { + $query->where('username', 'like', '%'.$this->search.'%') + ->orWhere('global_name', 'like', '%'.$this->search.'%'); + })) + ->paginate(20); + + return view('livewire.admin-user-search', [ + 'users' => $users + ]); + } +} diff --git a/app/Livewire/BackgroundImages.php b/app/Livewire/BackgroundImages.php new file mode 100644 index 0000000..0b663bf --- /dev/null +++ b/app/Livewire/BackgroundImages.php @@ -0,0 +1,35 @@ +filter === 'active', fn ($query) => + $query->whereDate('date_start', '<=', $now)->whereDate('date_end', '>=', $now) + ) + ->when($this->filter === 'inactive', fn ($query) => + $query->whereDate('date_start', '>', $now)->orWhereDate('date_end', '<', $now) + ) + ->paginate(10); + + return view('livewire.background-images', [ + 'images' => $images + ]); + } +} diff --git a/app/Livewire/DownloadButton.php b/app/Livewire/DownloadButton.php new file mode 100644 index 0000000..95cfbb0 --- /dev/null +++ b/app/Livewire/DownloadButton.php @@ -0,0 +1,42 @@ +count++; + $download->save(); + + $this->downloadCount = $download->count; + cache()->forget("episode_{$download->episode->id}_download_{$download->type}"); + } + + public function render() + { + return view('livewire.download-button'); + } +} diff --git a/app/Livewire/Downloads.php b/app/Livewire/Downloads.php new file mode 100644 index 0000000..3cf1a8d --- /dev/null +++ b/app/Livewire/Downloads.php @@ -0,0 +1,60 @@ + ['except' => '', 'as' => 's'], + 'withTorrents' => ['withTorrents' => '', 'as' => 'withTorrents'], + 'order' => ['except' => '', 'as' => 'order'], + ]; + + public function updatingSearch() + { + $this->resetPage(); + } + + public function render() + { + $orderby = 'slug'; + $orderdirection = 'desc'; + + switch ($this->order) { + case 'az': + $orderby = 'slug'; + $orderdirection = 'asc'; + break; + case 'za': + $orderby = 'slug'; + $orderdirection = 'desc'; + break; + default: + $orderby = 'created_at'; + $orderdirection = 'desc'; + } + + $hentai = Hentai::with('episodes') + ->when($this->search != '', fn ($query) => $query->whereHas('episodes', fn ($q) => $q->where('title', 'like', '%'.$this->search.'%')->orWhere('title_jpn', 'like', '%'.$this->search.'%'))) + ->when($this->withTorrents != '', fn ($query) => $query->whereHas('torrents')) + ->orderBy($orderby, $orderdirection) + ->paginate(10); + + return view('livewire.downloads', [ + 'hentai' => $hentai, + 'query' => $this->search, + ]); + } +} diff --git a/app/Livewire/DownloadsFree.php b/app/Livewire/DownloadsFree.php new file mode 100644 index 0000000..92cd648 --- /dev/null +++ b/app/Livewire/DownloadsFree.php @@ -0,0 +1,89 @@ +episodeId = $episode->id; + $this->interpolated = $interpolated; + $user = Auth::user()->id; + + if (Auth::check()) { + $this->downloadsLeft = (int) User::where('id', $user)->firstOrFail()->downloads_left; + } + + if ($this->downloadsLeft === 0) { + $this->granted = 3; + } + + if ($episode->created_at >= Carbon::now()->subDays(7)) { + $this->granted = 4; + } + + $alreadyDownloaded = UserDownload::where('user_id', $user) + ->where('episode_id', $this->episodeId) + ->where('interpolated', $this->interpolated) + ->first(); + + if ($alreadyDownloaded) { + // Check timestamp + if (Carbon::parse($alreadyDownloaded->created_at)->addHours(6) <= Carbon::now()) { + // Already expired + $alreadyDownloaded->forceDelete(); + return; + } + + $this->override = true; + } + } + + public function generate() + { + $user = User::where('id', Auth::user()->id)->firstOrFail(); + + if ($user->downloads_left <= 0) { + // Daily limit reached + $this->granted = 3; + return; + } + + $user->downloads_left -= 1; + $user->save(); + + $this->downloadsLeft -= 1; + $this->granted = 1; + + UserDownload::create([ + 'user_id' => $user->id, + 'episode_id' => $this->episodeId, + 'interpolated' => $this->interpolated, + ]); + } + + public function render() + { + return view('livewire.downloads-free'); + } +} diff --git a/app/Livewire/LikeButton.php b/app/Livewire/LikeButton.php new file mode 100644 index 0000000..cf51f65 --- /dev/null +++ b/app/Livewire/LikeButton.php @@ -0,0 +1,66 @@ +episodeId = $episode->id; + $this->likeCount = $episode->likes->count(); + + if (Auth::check()) { + $this->liked = Like::has($episode, User::where('id', Auth::user()->id)->firstOrFail()); + } + } + + public function update() + { + $episode = Episode::where('id', $this->episodeId)->firstOrFail(); + $this->likeCount = $episode->likes->count(); + + if (Auth::check()) { + $this->liked = Like::has($episode, User::where('id', Auth::user()->id)->firstOrFail()); + } + } + + public function like() + { + if (! Auth::check()) { + return; + } + + $episode = Episode::where('id', $this->episodeId)->firstOrFail(); + Like::toggle($episode, User::where('id', Auth::user()->id)->firstOrFail()); + + Cache::forget('episodeLikes'.$this->episodeId); + + if ($this->liked) { + $this->liked = false; + $this->likeCount--; + return; + } + + $this->liked = true; + $this->likeCount++; + } + + public function render() + { + return view('livewire.like-button'); + } +} diff --git a/app/Livewire/LiveSearch.php b/app/Livewire/LiveSearch.php new file mode 100644 index 0000000..f83559a --- /dev/null +++ b/app/Livewire/LiveSearch.php @@ -0,0 +1,155 @@ +resetPage(); + } + + public function updatingHideWatched(): void + { + $this->resetPage(); + } + + public function updatedView(): void + { + $this->pagination = $this->view == 'thumbnail' ? 25 : 24; + $this->resetPage(); + } + + public function revertFilters(): void + { + $this->tags = $this->tagsCopy; + $this->studios = $this->studiosCopy; + $this->blacklist = $this->blacklistCopy; + } + + public function applyFilters(): void + { + $this->tagsCopy = $this->tags; + $this->studiosCopy = $this->studios; + $this->blacklistCopy = $this->blacklist; + $this->resetPage(); + } + + public function mount() + { + // User blacklist + if (Auth::check() && empty($this->blacklist) && !empty(auth()->user()->tag_blacklist)) { + $this->blacklist = auth()->user()->tag_blacklist; + } + + if (Auth::check()) { + $this->view = auth()->user()->search_design ? 'thumbnail' : 'poster'; + $this->pagination = $this->view == 'thumbnail' ? 25 : 24; + } + } + + public function render() + { + $orderby = 'created_at'; + $orderdirection = 'desc'; + + switch ($this->order) { + case 'az': + $orderby = 'title'; + $orderdirection = 'asc'; + break; + case 'za': + $orderby = 'title'; + $orderdirection = 'desc'; + break; + case 'recently-released': + $orderby = 'release_date'; + $orderdirection = 'desc'; + break; + case 'oldest-uploads': + $orderby = 'created_at'; + $orderdirection = 'asc'; + break; + case 'oldest-releases': + $orderby = 'release_date'; + $orderdirection = 'asc'; + break; + case 'view-count': + $orderby = 'view_count'; + $orderdirection = 'desc'; + break; + default: + $orderby = 'created_at'; + $orderdirection = 'desc'; + } + + $user_id = Auth::check() ? auth()->user()->id : 0; + $episodes = Episode::with('gallery')->when($this->search != '', fn ($query) => $query->where(function($query) { $query->where('title', 'like', '%'.$this->search.'%')->orWhere('title_search', 'like', '%'.$this->search.'%')->orWhere('title_jpn', 'like', '%'.$this->search.'%'); })) + ->when($this->tags !== [], fn ($query) => $query->withAllTags($this->tags)) + ->when($this->blacklist !== [], fn ($query) => $query->withoutTags($this->blacklist)) + ->when($this->studios !== [], fn ($query) => $query->whereHas('studio', function ($query) { $query->whereIn('slug', $this->studios); })) + ->when($this->hideWatched !== [] && Auth::check(), fn ($query) => $query->whereDoesntHave('watched', function ($query) use ($user_id) { + $query->where('user_id', $user_id); + })) + ->when(Auth::guest(), fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->orderBy($orderby, $orderdirection) + ->paginate($this->pagination); + + $searchIsJpn = false; + if (! empty($this->search)) { + if (strlen($this->search) != strlen(utf8_decode($this->search))) { + $searchIsJpn = true; + } + } + + // Dispatch Event to trigger JS reload for thumbnails + $this->dispatch('contentChanged'); + + return view('livewire.live-search', [ + 'episodes' => $episodes, + 'tagcount' => is_array($this->tags) ? count($this->tags) : 0, + 'studiocount' => is_array($this->studios) ? count($this->studios) : 0, + 'blacklistcount' => is_array($this->blacklist) ? count($this->blacklist) : 0, + 'query' => $this->search, + 'selectedtags' => $this->tags, + 'selectedstudios' => $this->studios, + 'selectedblacklist' => $this->blacklist, + 'searchIsJpn' => $searchIsJpn, + 'view' => $this->view, + ]); + } +} diff --git a/app/Livewire/NavLiveSearch.php b/app/Livewire/NavLiveSearch.php new file mode 100644 index 0000000..29d52ba --- /dev/null +++ b/app/Livewire/NavLiveSearch.php @@ -0,0 +1,41 @@ + ['except' => '', 'as' => 's'], + ]; + + public function render() + { + $episodes = []; + $randomimage = null; + if ($this->navSearch != '') { + $episodes = Episode::with('gallery')->where('title', 'like', '%'.$this->navSearch.'%') + ->orWhere('title_jpn', 'like', '%'.$this->navSearch.'%') + ->when(Auth::guest(), fn ($query) => $query->withoutTags(['loli', 'shota'])) + ->take(10) + ->get(); + + $randomimage = Gallery::all() + ->random(1) + ->first(); + } + + return view('livewire.nav-live-search', [ + 'episodes' => $episodes, + 'randomimage' => $randomimage, + 'query' => $this->navSearch, + 'hide' => empty($this->navSearch), + ]); + } +} diff --git a/app/Livewire/PlaylistOverview.php b/app/Livewire/PlaylistOverview.php new file mode 100644 index 0000000..6cf6b4c --- /dev/null +++ b/app/Livewire/PlaylistOverview.php @@ -0,0 +1,123 @@ +playlistService = $playlistService; + } + + public function mount($playlist_id) + { + $this->playlist = Playlist::with(['episodes.episode'])->findOrFail($playlist_id); + + // Set position if null + $this->playlist->episodes->each(function ($item, $index) { + if ($item->position === null) { + $item->position = $index + 1; + $item->save(); + } + }); + + $this->refreshEpisodes(); + } + + public function refreshEpisodes() + { + $this->playlistEpisodes = $this->playlist->episodes()->orderBy('position')->with('episode')->get(); + } + + public function moveUp($episodeId) + { + if (! Auth::check()) { + return; + } + + if (Auth::user()->id !== $this->playlist->user->id) { + return; + } + + $episode = PlaylistEpisode::find($episodeId); + $above = PlaylistEpisode::where('playlist_id', $episode->playlist_id) + ->where('position', '<', $episode->position) + ->orderBy('position', 'desc') + ->first(); + + if ($above) { + $this->playlistService->swapPositions($episode, $above); + } + + $this->refreshEpisodes(); + } + + public function moveDown($episodeId) + { + if (! Auth::check()) { + return; + } + + if (Auth::user()->id !== $this->playlist->user->id) { + return; + } + + $episode = PlaylistEpisode::find($episodeId); + $below = PlaylistEpisode::where('playlist_id', $episode->playlist_id) + ->where('position', '>', $episode->position) + ->orderBy('position') + ->first(); + + if ($below) { + $this->playlistService->swapPositions($episode, $below); + } + + $this->refreshEpisodes(); + } + + public function remove($episodeId) + { + if (! Auth::check()) { + return; + } + + if (Auth::user()->id !== $this->playlist->user->id) { + return; + } + + PlaylistEpisode::find($episodeId)?->delete(); + $this->playlistService->reorderPositions($this->playlist); + $this->refreshEpisodes(); + } + + public function render() + { + return view('livewire.playlist-overview', [ + 'query' => $this->search, + ]); + } +} diff --git a/app/Livewire/Playlists.php b/app/Livewire/Playlists.php new file mode 100644 index 0000000..2ca5878 --- /dev/null +++ b/app/Livewire/Playlists.php @@ -0,0 +1,65 @@ +order) { + case 'az': + $orderby = 'name'; + $orderdirection = 'asc'; + break; + case 'za': + $orderby = 'name'; + $orderdirection = 'desc'; + break; + case 'episode-count': + $orderby = 'episodes_count'; + $orderdirection = 'desc'; + break; + case 'newest': + $orderby = 'created_at'; + $orderdirection = 'desc'; + break; + case 'oldest': + $orderby = 'created_at'; + $orderdirection = 'asc'; + break; + default: + $orderby = 'episodes_count'; + $orderdirection = 'desc'; + } + + $playlists = Playlist::where('is_private', 0) + ->withCount('episodes') + ->having('episodes_count', '>', 1) + ->when($this->search != '', fn($query) => $query->where('name', 'like', '%' . $this->search . '%')) + ->orderBy($orderby, $orderdirection) + ->paginate($this->pagination); + + return view('livewire.playlists', [ + 'playlists' => $playlists + ]); + } +} diff --git a/app/Livewire/UserLikes.php b/app/Livewire/UserLikes.php new file mode 100644 index 0000000..4efc17b --- /dev/null +++ b/app/Livewire/UserLikes.php @@ -0,0 +1,152 @@ +resetPage(); + } + + public function updatingHideWatched(): void + { + $this->resetPage(); + } + + public function revertFilters(): void + { + $this->tags = $this->tagsCopy; + $this->studios = $this->studiosCopy; + $this->blacklist = $this->blacklistCopy; + } + + public function applyFilters(): void + { + $this->tagsCopy = $this->tags; + $this->studiosCopy = $this->studios; + $this->blacklistCopy = $this->blacklist; + $this->resetPage(); + } + + public function updatedView(): void + { + $this->pagination = $this->view == 'thumbnail' ? 25 : 24; + $this->resetPage(); + } + + public function mount() + { + // User blacklist + if (Auth::check() && empty($this->blacklist) && !empty(auth()->user()->tag_blacklist)) { + $this->blacklist = auth()->user()->tag_blacklist; + } + + if (Auth::check()) { + $this->view = auth()->user()->search_design ? 'thumbnail' : 'poster'; + $this->pagination = $this->view == 'thumbnail' ? 25 : 24; + } + } + + public function render() + { + $orderby = 'created_at'; + $orderdirection = 'desc'; + + switch ($this->order) { + case 'az': + $orderby = 'title'; + $orderdirection = 'asc'; + break; + case 'za': + $orderby = 'title'; + $orderdirection = 'desc'; + break; + case 'recently-released': + $orderby = 'release_date'; + $orderdirection = 'desc'; + break; + case 'oldest-uploads': + $orderby = 'created_at'; + $orderdirection = 'asc'; + break; + case 'oldest-releases': + $orderby = 'release_date'; + $orderdirection = 'asc'; + break; + case 'view-count': + $orderby = 'view_count'; + $orderdirection = 'desc'; + break; + default: + $orderby = 'created_at'; + $orderdirection = 'desc'; + } + + $user_id = Auth::check() ? auth()->user()->id : 0; + $episodes = Episode::whereHasLike(auth()->user()) + ->when($this->search !== '', fn ($query) => $query->where(function($query) { $query->where('title', 'like', '%'.$this->search.'%')->orWhere('title_search', 'like', '%'.$this->search.'%')->orWhere('title_jpn', 'like', '%'.$this->search.'%'); })) + ->when($this->tags !== [], fn ($query) => $query->withAllTags($this->tags)) + ->when($this->blacklist !== [], fn ($query) => $query->withoutTags($this->blacklist)) + ->when($this->studios !== [], fn ($query) => $query->whereHas('studio', function ($query) { $query->whereIn('slug', $this->studios); })) + ->when($this->hideWatched !== [] && Auth::check(), fn ($query) => $query->whereDoesntHave('watched', function ($query) use ($user_id) { + $query->where('user_id', $user_id); + })) + ->orderBy($orderby, $orderdirection) + ->paginate($this->pagination); + + $searchIsJpn = false; + if (! empty($this->search)) { + if (strlen($this->search) != strlen(utf8_decode($this->search))) { + $searchIsJpn = true; + } + } + + return view('livewire.user-likes', [ + 'episodes' => $episodes, + 'tagcount' => is_array($this->tags) ? count($this->tags) : 0, + 'studiocount' => is_array($this->studios) ? count($this->studios) : 0, + 'blacklistcount' => is_array($this->blacklist) ? count($this->blacklist) : 0, + 'query' => $this->search, + 'selectedtags' => $this->tags, + 'selectedstudios' => $this->studios, + 'selectedblacklist' => $this->blacklist, + 'searchIsJpn' => $searchIsJpn, + 'view' => $this->view, + ]); + } +} diff --git a/app/Livewire/ViewCount.php b/app/Livewire/ViewCount.php new file mode 100644 index 0000000..56f2237 --- /dev/null +++ b/app/Livewire/ViewCount.php @@ -0,0 +1,29 @@ +episodeId = $episode->id; + $this->viewCount = $episode->view_count; + } + + public function update() + { + $this->viewCount = Episode::where('id', $this->episodeId)->firstOrFail()->view_count; + } + + public function render() + { + return view('livewire.view-count'); + } +} diff --git a/app/Livewire/Watched.php b/app/Livewire/Watched.php new file mode 100644 index 0000000..bff5591 --- /dev/null +++ b/app/Livewire/Watched.php @@ -0,0 +1,34 @@ +userId = $user ? $user->id : auth()->user()->id; + } + + public function render() + { + $watched = UserWatched::where('user_id', $this->userId)->orderBy('created_at', 'desc')->paginate(25); + $watchedGrouped = $watched->groupBy(function ($val) { + return Carbon::parse($val->created_at)->format('h'); + }); + + return view('livewire.watched', [ + 'watched' => $watched, + 'watchedGrouped' => $watchedGrouped, + ]); + } +} diff --git a/app/Models/Alert.php b/app/Models/Alert.php new file mode 100644 index 0000000..a4c60eb --- /dev/null +++ b/app/Models/Alert.php @@ -0,0 +1,18 @@ +belongsTo(Episode::class); + } + + /** + * Convert bytes to human readable format + */ + private static function bytesToHuman($bytes) + { + $units = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB']; + + for ($i = 0; $bytes > 1024; $i++) { + $bytes /= 1024; + } + + return round($bytes, 2) . ' ' . $units[$i]; + } + + /** + * Returns the human readable form of the file size + */ + public function getFileSize(): ?string + { + return $this->size === null ? null : self::bytesToHuman($this->size); + } +} diff --git a/app/Models/Episode.php b/app/Models/Episode.php new file mode 100644 index 0000000..ab1e126 --- /dev/null +++ b/app/Models/Episode.php @@ -0,0 +1,215 @@ +belongsTo(Studios::class, 'studios_id'); + } + + /** + * Get the hentai for the episode. + */ + public function hentai(): BelongsTo + { + return $this->belongsTo(Hentai::class, 'hentai_id'); + } + + /** + * Get the subtitles for the episode. + */ + public function subtitles(): HasMany + { + return $this->hasMany(EpisodeSubtitle::class); + } + + /** + * Has a Gallery. + */ + public function gallery(): HasMany + { + return $this->hasMany(Gallery::class); + } + + /** + * Has many Downloads. + */ + public function downloads(): HasMany + { + return $this->hasMany(Downloads::class); + } + + /** + * Increment View Count. + */ + public function incrementViewCount(): bool + { + $this->view_count++; + return $this->save(); + } + + /** + * Increment Popular Count. + */ + public function incrementPopularCount(): void + { + PopularDaily::create(['episode_id' => $this->id]); + PopularWeekly::create(['episode_id' => $this->id]); + PopularMonthly::create(['episode_id' => $this->id]); + } + + /** + * Get cached view count + */ + public function viewCount(): int + { + return cache()->remember('episodeViews' . $this->id, 300, fn() => $this->view_count); + } + + /** + * Get view count in a human readable way + */ + public function viewCountFormatted(): string + { + if ($this->viewCount() < 1000) { + return $this->viewCount(); + } + + $units = ['k', 'M']; + $index = floor(log($this->viewCount(), 1000)); + $shortNumber = $this->viewCount() / pow(1000, $index); + + return round($shortNumber, 0) . $units[$index - 1]; + } + + /** + * Get cached like count + */ + public function likeCount(): int + { + return cache()->remember('episodeLikes' . $this->id, 300, fn() => $this->likes->count()); + } + + /** + * Get cached comment count + */ + public function commentCount(): int + { + return cache()->remember('episodeComments' . $this->id, 300, fn() => $this->comments->count()); + } + + public function getProblematicTags(): string + { + $problematicTags = ['Gore', 'Scat', 'Horror']; + $problematicResults = ''; + foreach ($problematicTags as $pTag) { + if (! $this->tags->contains('name', $pTag)) { + continue; + } + + if (! empty($problematicResults)) { + $problematicResults .= ' + '; + } + + $problematicResults .= $pTag; + } + return $problematicResults; + } + + /** + * Check if episode contains loli / shota tag + */ + public function isLoliOrShota(): bool + { + $problematicTags = ['Loli', 'Shota']; + + return Cache::remember( + "episode:{$this->id}:has_problematic_tags", + now()->addMinutes(1440), + fn () => $this->tags->pluck('name')->intersect($problematicTags)->isNotEmpty() + ); + } + + /** + * If episode has machine translated subtitles + */ + public function hasAutoTrans(): bool + { + return cache()->remember('mt' . $this->id, 900, fn() => $this->subtitles()->exists()); + } + + public function is48Fps(): bool + { + return cache()->remember('48fps' . $this->id, 900, fn() => $this->interpolated); + } + + public function isUHD48Fps(): bool + { + return cache()->remember('48fpsUHD' . $this->id, 900, fn() => $this->interpolated_uhd); + } + + public function getResolution(): string + { + if ($this->isUHD48Fps()) { + return '4k | 4k 48fps | FHD 48fps'; + } + + return $this->is48Fps() ? '4k | FHD 48fps' : '4k'; + } + + public function userWatched(int $user_id): bool + { + return cache()->remember('user' . $user_id . 'watched' . $this->id, 300, fn() => Watched::where('user_id', $user_id)->where('episode_id', $this->id)->exists()); + } + + public function watched(): HasMany + { + return $this->hasMany(Watched::class); + } + + public function getDownloadByType(string $type): Downloads | null + { + $cacheKey = "episode_{$this->id}_download_{$type}"; + return Cache::remember($cacheKey, now()->addMinutes(10), function () use ($type) { + return $this->downloads()->where('type', $type)->first(); + }); + } + + public function toSitemapTag(): Url | string | array + { + return Url::create(route('hentai.index', $this->slug)) + ->setLastModificationDate(Carbon::create($this->created_at)); + } +} diff --git a/app/Models/EpisodeSubtitle.php b/app/Models/EpisodeSubtitle.php new file mode 100644 index 0000000..f79cbaa --- /dev/null +++ b/app/Models/EpisodeSubtitle.php @@ -0,0 +1,36 @@ +belongsTo(Subtitle::class, 'subtitle_id'); + } +} diff --git a/app/Models/Gallery.php b/app/Models/Gallery.php new file mode 100644 index 0000000..57b0847 --- /dev/null +++ b/app/Models/Gallery.php @@ -0,0 +1,18 @@ +belongsTo(Episode::class); + } +} diff --git a/app/Models/Hentai.php b/app/Models/Hentai.php new file mode 100644 index 0000000..e043383 --- /dev/null +++ b/app/Models/Hentai.php @@ -0,0 +1,72 @@ +hasMany(Episode::class, 'hentai_id'); + } + + public function torrents() + { + return $this->hasMany(Torrents::class, 'hentai_id'); + } + + public function title(): String + { + return $this->episodes->first()->title; + } + + /** + * Has a Gallery. + */ + public function gallery() + { + return $this->hasMany(Gallery::class); + } + + /** + * Check if hentai contains loli / shota tag + */ + public function isLoliOrShota(): bool + { + $problematicTags = ['Loli', 'Shota']; + + return Cache::remember( + "episode:{$this->id}:has_problematic_tags", + now()->addMinutes(1440), + fn () => $this->episodes[0]->tags->pluck('name')->intersect($problematicTags)->isNotEmpty() + ); + } + + public function toSitemapTag(): Url | string | array + { + return Url::create(route('hentai.index', $this->slug)) + ->setLastModificationDate(Carbon::create($this->created_at)); + } +} diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php new file mode 100644 index 0000000..ece040b --- /dev/null +++ b/app/Models/Playlist.php @@ -0,0 +1,25 @@ +belongsTo(User::class); + } + + /** + * Has Many Episodes. + */ + public function episodes(): HasMany + { + return $this->hasMany(PlaylistEpisode::class); + } +} diff --git a/app/Models/PlaylistEpisode.php b/app/Models/PlaylistEpisode.php new file mode 100644 index 0000000..3c12bf8 --- /dev/null +++ b/app/Models/PlaylistEpisode.php @@ -0,0 +1,43 @@ +belongsTo(Episode::class); + } + + /** + * Belongs To A Playlist. + */ + public function playlist(): BelongsTo + { + return $this->belongsTo(Playlist::class); + } +} diff --git a/app/Models/PopularDaily.php b/app/Models/PopularDaily.php new file mode 100644 index 0000000..d35918e --- /dev/null +++ b/app/Models/PopularDaily.php @@ -0,0 +1,25 @@ +belongsTo(Episode::class, 'episode_id'); + } +} diff --git a/app/Models/PopularMonthly.php b/app/Models/PopularMonthly.php new file mode 100644 index 0000000..82d8b9a --- /dev/null +++ b/app/Models/PopularMonthly.php @@ -0,0 +1,25 @@ +belongsTo(Episode::class, 'episode_id'); + } +} diff --git a/app/Models/PopularWeekly.php b/app/Models/PopularWeekly.php new file mode 100644 index 0000000..0b97c9d --- /dev/null +++ b/app/Models/PopularWeekly.php @@ -0,0 +1,25 @@ +belongsTo(Episode::class, 'episode_id'); + } +} diff --git a/app/Models/SiteBackground.php b/app/Models/SiteBackground.php new file mode 100644 index 0000000..bb66e6e --- /dev/null +++ b/app/Models/SiteBackground.php @@ -0,0 +1,34 @@ +whereDate('date_start', '<=', $now)->whereDate('date_end', '>=', $now)->get()->pluck('id'); + $default = $this->where('default', true)->get()->pluck('id'); + + return $byDates->isEmpty() ? $default : $byDates; + } +} diff --git a/app/Models/Studios.php b/app/Models/Studios.php new file mode 100644 index 0000000..1f0ac81 --- /dev/null +++ b/app/Models/Studios.php @@ -0,0 +1,30 @@ +hasMany(Hentai::class); + } +} diff --git a/app/Models/Subtitle.php b/app/Models/Subtitle.php new file mode 100644 index 0000000..2770226 --- /dev/null +++ b/app/Models/Subtitle.php @@ -0,0 +1,28 @@ + 'integer', + 'username' => 'string', + 'global_name' => 'string', + 'discriminator' => 'string', + 'email' => 'string', + 'avatar' => 'string', + 'verified' => 'boolean', + 'banner' => 'string', + 'banner_color' => 'string', + 'accent_color' => 'string', + 'locale' => 'string', + 'mfa_enabled' => 'boolean', + 'premium_type' => 'integer', + 'public_flags' => 'integer', + 'roles' => 'json', + 'tag_blacklist' => 'array', + ]; + + /** + * Has Many Playlists. + */ + public function playlists(): HasMany + { + return $this->hasMany(Playlist::class); + } + + /** + * Has Many Watched Episodes. + */ + public function watched(): HasMany + { + return $this->hasMany(Watched::class); + } + + /** + * Has Many Watched Episodes. + */ + public function likes(): int + { + return DB::table('markable_likes')->where('user_id', $this->id)->count(); + } + + /** + * Has Many Comments. + */ + public function commentCount(): int + { + return DB::table('comments')->where('commenter_id', $this->id)->count(); + } +} diff --git a/app/Models/UserDownload.php b/app/Models/UserDownload.php new file mode 100644 index 0000000..40f5d70 --- /dev/null +++ b/app/Models/UserDownload.php @@ -0,0 +1,36 @@ +belongsTo(User::class); + } + + /** + * Belongs To A Episode. + */ + public function episode(): BelongsTo + { + return $this->belongsTo(Episode::class); + } +} diff --git a/app/Models/Watched.php b/app/Models/Watched.php new file mode 100644 index 0000000..2fdb8d8 --- /dev/null +++ b/app/Models/Watched.php @@ -0,0 +1,34 @@ +belongsTo(Episode::class, 'episode_id'); + } + + /** + * Get the User. + */ + public function user(): BelongsTo + { + return $this->belongsTo(User::class, 'user_id'); + } +} diff --git a/app/Notifications/CommentNotification.php b/app/Notifications/CommentNotification.php new file mode 100644 index 0000000..1e8f202 --- /dev/null +++ b/app/Notifications/CommentNotification.php @@ -0,0 +1,46 @@ +type = $type; + $this->message = $message; + $this->url = $url; + } + + /** + * Get the notification's delivery channels. + * + * @return array + */ + public function via(object $notifiable): array + { + return ['database']; + } + + public function toDatabase($notifiable) + { + return [ + 'type' => $this->type, + 'message' => $this->message, + 'url' => $this->url, + ]; + } +} diff --git a/app/Override/Comments/CommentPolicy.php b/app/Override/Comments/CommentPolicy.php new file mode 100644 index 0000000..5d473d0 --- /dev/null +++ b/app/Override/Comments/CommentPolicy.php @@ -0,0 +1,56 @@ +getKey() == $comment->commenter_id) || $user->is_admin; + } + + /** + * Can user update the comment + * + * @param $user + * @param Comment $comment + * @return bool + */ + public function update($user, Comment $comment) : bool + { + return $user->getKey() == $comment->commenter_id; + } + + /** + * Can user reply to the comment + * + * @param $user + * @param Comment $comment + * @return bool + */ + public function reply($user, Comment $comment) : bool + { + return $user->getKey() != $comment->commenter_id; + } +} + diff --git a/app/Override/Comments/CommentService.php b/app/Override/Comments/CommentService.php new file mode 100644 index 0000000..e4406b0 --- /dev/null +++ b/app/Override/Comments/CommentService.php @@ -0,0 +1,139 @@ + 'required|string|max:255', + 'guest_email' => 'required|string|email|max:255', + ]; + } + + // Merge guest rules, if any, with normal validation rules. + Validator::make($request->all(), array_merge($guest_rules ?? [], [ + 'commentable_type' => 'required|string', + 'commentable_id' => 'required|string|min:1', + 'message' => 'required|string' + ]))->validate(); + + $model = $request->commentable_type::findOrFail($request->commentable_id); + + $commentClass = Config::get('comments.model'); + $comment = new $commentClass; + + if (!Auth::check()) { + $comment->guest_name = $request->guest_name; + $comment->guest_email = $request->guest_email; + } else { + $comment->commenter()->associate(Auth::user()); + } + + $comment->commentable()->associate($model); + $comment->comment = $request->message; + $comment->approved = !Config::get('comments.approval_required'); + $comment->save(); + + return $comment; + } + + /** + * Handles updating the message of the comment. + * @return mixed the configured comment-model + */ + public function update(Request $request, Comment $comment) + { + Gate::authorize('edit-comment', $comment); + + Validator::make($request->all(), [ + 'message' => 'required|string' + ])->validate(); + + $comment->update([ + 'comment' => $request->message + ]); + + return $comment; + } + + /** + * Handles deleting a comment. + * @return mixed the configured comment-model + */ + public function destroy(Comment $comment): void + { + Gate::authorize('delete-comment', $comment); + + if (Config::get('comments.soft_deletes') == true) { + $comment->delete(); + } else { + $comment->forceDelete(); + } + } + + /** + * Handles creating a reply "comment" to a comment. + * @return mixed the configured comment-model + */ + public function reply(Request $request, Comment $comment) + { + Gate::authorize('reply-to-comment', $comment); + + Validator::make($request->all(), [ + 'message' => 'required|string' + ])->validate(); + + $commentClass = Config::get('comments.model'); + $reply = new $commentClass; + $reply->commenter()->associate(Auth::user()); + $reply->commentable()->associate($comment->commentable); + $reply->parent()->associate($comment); + $reply->comment = $request->message; + $reply->approved = !Config::get('comments.approval_required'); + $reply->save(); + + // Notify + if ($comment->commentable_type == 'App\Models\Episode') { + $episode = Episode::where('id', $comment->commentable_id)->firstOrFail(); + $url = '/hentai/' . $episode->slug . '#comment-' . $reply->id; + + $user = Auth::user(); + $username = $user->global_name ?? $user->username; + + $parentCommentUser = User::where('id', $comment->commenter_id)->firstOrFail(); + $parentCommentUser->notify( + new CommentNotification( + "{$username} replied to your comment.", + Str::limit($reply->comment, 50), + $url + ) + ); + } + + return $reply; + } +} diff --git a/app/Override/Discord/DiscordController.php b/app/Override/Discord/DiscordController.php new file mode 100644 index 0000000..a946413 --- /dev/null +++ b/app/Override/Discord/DiscordController.php @@ -0,0 +1,155 @@ +throwError('missing_guilds_scope'); + } + } + + // Getting the accessToken from the Discord API. + try { + $accessToken = (new DiscordService())->getAccessTokenFromCode($request->get('code')); + } catch (\Exception $e) { + return $this->throwError('invalid_code', $e); + } + + // Get the user from the Discord API. + try { + $user = (new DiscordService())->getCurrentUser($accessToken); + $user->setAccessToken($accessToken); + } catch (\Exception $e) { + return $this->throwError('authorization_failed', $e); + } + + // Making sure the user has an email if the email scope is set. + if (in_array('email', explode('&', config('larascord.scopes')))) { + if (empty($user->email)) { + return $this->throwError('missing_email'); + } + } + + if (auth()->check()) { + // Making sure the current logged-in user's ID is matching the ID retrieved from the Discord API. + if (auth()->id() !== (int)$user->id) { + auth()->logout(); + return $this->throwError('invalid_user'); + } + + // Confirming the session in case the user was redirected from the password.confirm middleware. + $request->session()->put('auth.password_confirmed_at', time()); + } + + // Trying to create or update the user in the database. + // Initiating a database transaction in case something goes wrong. + DB::beginTransaction(); + try { + $user = (new DiscordService())->createOrUpdateUser($user); + $user->accessToken()->updateOrCreate([], $accessToken->toArray()); + } catch (\Exception $e) { + DB::rollBack(); + return $this->throwError('database_error', $e); + } + + // Verifying if the user is soft-deleted. + if (Schema::hasColumn('users', 'deleted_at')) { + if ($user->trashed()) { + DB::rollBack(); + return $this->throwError('user_deleted'); + } + } + + // Patreon check + try { + if (!$accessToken->hasScopes(['guilds', 'guilds.members.read'])) { + DB::rollBack(); + return $this->throwError('missing_guilds_members_read_scope'); + } + $guildMember = (new DiscordService())->getGuildMember($accessToken, config('discord.guild_id')); + $patreonroles = config('discord.patreon_roles'); + $user->is_patreon = false; + if ((new DiscordService())->hasRoleInGuild($guildMember, $patreonroles)) { + $user->is_patreon = true; + } + $user->save(); + } catch (\Exception $e) { + // Clearly not a patreon + $user->is_patreon = false; + $user->save(); + } + + // Committing the database transaction. + DB::commit(); + + // Authenticating the user if the user is not logged in. + if (!auth()->check()) { + auth()->login($user, config('larascord.remember_me', false)); + } + + // Redirecting the user to the intended page or to the home page. + return redirect()->intended(RouteServiceProvider::HOME); + } + + /** + * Handles the throwing of an error. + */ + private function throwError(string $message, \Exception $exception = NULL): RedirectResponse | JsonResponse + { + if (app()->hasDebugModeEnabled()) { + return response()->json([ + 'larascord_message' => config('larascord.error_messages.' . $message), + 'message' => $exception?->getMessage(), + 'code' => $exception?->getCode() + ]); + } else { + if (config('larascord.error_messages.' . $message . '.redirect')) { + Alert::error('Error', config('larascord.error_messages.' . $message . '.message', 'An error occurred while trying to log you in.')); + return redirect(config('larascord.error_messages.' . $message . '.redirect'))->with('error', config('larascord.error_messages.' . $message . '.message', 'An error occurred while trying to log you in.')); + } else { + return redirect('/')->with('error', config('larascord.error_messages.' . $message, 'An error occurred while trying to log you in.')); + } + } + } + + /** + * Handles the deletion of the user. + */ + public function destroy(): RedirectResponse | JsonResponse + { + // Revoking the OAuth2 access token. + try { + (new DiscordService())->revokeAccessToken(auth()->user()->accessToken()->first()->refresh_token); + } catch (\Exception $e) { + return $this->throwError('revoke_token_failed', $e); + } + + // Deleting the user from the database. + auth()->user()->delete(); + + // Showing the success message. + if (config('larascord.success_messages.user_deleted.redirect')) { + return redirect(config('larascord.success_messages.user_deleted.redirect'))->with('success', config('larascord.success_messages.user_deleted.message', 'Your account has been deleted.')); + } else { + return redirect('/')->with('success', config('larascord.success_messages.user_deleted', 'Your account has been deleted.')); + } + } +} diff --git a/app/Override/Discord/Services/DiscordService.php b/app/Override/Discord/Services/DiscordService.php new file mode 100644 index 0000000..599d969 --- /dev/null +++ b/app/Override/Discord/Services/DiscordService.php @@ -0,0 +1,273 @@ + NULL, + "client_secret" => NULL, + "grant_type" => "authorization_code", + "code" => NULL, + "redirect_uri" => NULL, + "scope" => null + ]; + + /** + * UserService constructor. + */ + public function __construct() + { + $this->tokenData['client_id'] = config('larascord.client_id'); + $this->tokenData['client_secret'] = config('larascord.client_secret'); + $this->tokenData['grant_type'] = config('larascord.grant_type'); + $this->tokenData['redirect_uri'] = config('larascord.redirect_uri'); + $this->tokenData['scope'] = config('larascord.scopes'); + } + + /** + * Handles the Discord OAuth2 callback and returns the access token. + * + * @throws RequestException + */ + public function getAccessTokenFromCode(string $code): AccessToken + { + $this->tokenData['code'] = $code; + + $response = Http::asForm()->post($this->tokenURL, $this->tokenData); + + $response->throw(); + + return new AccessToken(json_decode($response->body())); + } + + /** + * Get access token from refresh token. + * + * @throws RequestException + */ + public function refreshAccessToken(string $refreshToken): AccessToken + { + $response = Http::asForm()->post($this->tokenURL, [ + 'client_id' => config('larascord.client_id'), + 'client_secret' => config('larascord.client_secret'), + 'grant_type' => 'refresh_token', + 'refresh_token' => $refreshToken, + ]); + + $response->throw(); + + return new AccessToken(json_decode($response->body())); + } + + /** + * Authenticates the user with the access token and returns the user data. + * + * @throws RequestException + */ + public function getCurrentUser(AccessToken $accessToken): \Jakyeru\Larascord\Types\User + { + $response = Http::withToken($accessToken->access_token)->get($this->baseApi . '/users/@me'); + + $response->throw(); + + return new \Jakyeru\Larascord\Types\User(json_decode($response->body())); + } + + /** + * Get the user's guilds. + * + * @throws RequestException + * @throws Exception + */ + public function getCurrentUserGuilds(AccessToken $accessToken, bool $withCounts = false): array + { + if (!$accessToken->hasScope('guilds')) throw new Exception(config('larascord.error_messages.missing_guilds_scope.message')); + + $endpoint = '/users/@me/guilds'; + + if ($withCounts) { + $endpoint .= '?with_counts=true'; + } + + $response = Http::withToken($accessToken->access_token, $accessToken->token_type)->get($this->baseApi . $endpoint); + + $response->throw(); + + return array_map(function ($guild) { + return new \Jakyeru\Larascord\Types\Guild($guild); + }, json_decode($response->body())); + } + + /** + * Get the Guild Member object for a user. + * + * @throws RequestException + * @throws Exception + */ + public function getGuildMember(AccessToken $accessToken, string $guildId): GuildMember + { + if (!$accessToken->hasScopes(['guilds', 'guilds.members.read'])) throw new Exception(config('larascord.error_messages.missing_guilds_members_read_scope.message')); + + $response = Http::withToken($accessToken->access_token, $accessToken->token_type)->get($this->baseApi . '/users/@me/guilds/' . $guildId . '/member'); + + $response->throw(); + + return new GuildMember(json_decode($response->body())); + } + + /** + * Get the User's connections. + * + * @throws RequestException + * @throws Exception + */ + public function getCurrentUserConnections(AccessToken $accessToken): array + { + if (!$accessToken->hasScope('connections')) throw new Exception('The "connections" scope is required.'); + + $response = Http::withToken($accessToken->access_token, $accessToken->token_type)->get($this->baseApi . '/users/@me/connections'); + + $response->throw(); + + return array_map(function ($connection) { + return new \Jakyeru\Larascord\Types\Connection($connection); + }, json_decode($response->body())); + } + + /** + * Join a guild. + * + * @throws RequestException + * @throws Exception + */ + public function joinGuild(AccessToken $accessToken, User $user, string $guildId, array $options = []): GuildMember + { + if (!config('larascord.access_token')) throw new Exception(config('larascord.error_messages.missing_access_token.message')); + if (!$accessToken->hasScope('guilds.join')) throw new Exception('The "guilds" and "guilds.join" scopes are required.'); + + $response = Http::withToken(config('larascord.access_token'), 'Bot')->put($this->baseApi . '/guilds/' . $guildId . '/members/' . $user->id, array_merge([ + 'access_token' => $accessToken->access_token, + ], $options)); + + $response->throw(); + + if ($response->status() === 204) return throw new Exception('User is already in the guild.'); + + return new GuildMember(json_decode($response->body())); + } + + /** + * Create or update a user in the database. + * + * @throws Exception + */ + public function createOrUpdateUser(\Jakyeru\Larascord\Types\User $user): User + { + if (!$user->getAccessToken()) { + throw new Exception('User access token is missing.'); + } + + $forgottenUser = User::where('email', '=', $user->email)->where('id', '!=', $user->id)->first(); + if ($forgottenUser) { + // This case should never happen (TM) - The discord id changed + // The user probably re-created their discord account with the same email + + // Delete Playlist + $playlists = Playlist::where('user_id', $forgottenUser->id)->get(); + foreach($playlists as $playlist) { + PlaylistEpisode::where('playlist_id', $playlist->id)->forceDelete(); + $playlist->forceDelete(); + } + + // Update comments to deleted user + DB::table('comments')->where('commenter_id', '=', $forgottenUser->id)->update(['commenter_id' => 1]); + + $forgottenUser->forceDelete(); + } + + return User::updateOrCreate( + [ + 'id' => $user->id, + ], + $user->toArray(), + ); + } + + /** + * Verify if the user is in the specified guild(s). + */ + public function isUserInGuilds(array $guilds): bool + { + // Verify if the user is in all the specified guilds if strict mode is enabled. + if (config('larascord.guilds_strict')) { + return empty(array_diff(config('larascord.guilds'), array_column($guilds, 'id'))); + } + + // Verify if the user is in any of the specified guilds if strict mode is disabled. + return !empty(array_intersect(config('larascord.guilds'), array_column($guilds, 'id'))); + } + + /** + * Verify if the user has the specified role(s) in the specified guild. + */ + public function hasRoleInGuild(GuildMember $guildMember, array $roles): bool + { + // Verify if the user has any of the specified roles. + return !empty(array_intersect($roles, $guildMember->roles)); + } + + /** + * Updates the user's roles in the database. + */ + public function updateUserRoles(User $user, GuildMember $guildMember, int $guildId): void + { + // Updating the user's roles in the database. + $updatedRoles = $user->roles; + $updatedRoles[$guildId] = $guildMember->roles; + $user->roles = $updatedRoles; + $user->save(); + } + + /** + * Revoke the user's access token. + * + * @throws RequestException + */ + public function revokeAccessToken(string $accessToken): object + { + $response = Http::asForm()->post($this->tokenURL . '/revoke', [ + 'token' => $accessToken, + 'client_id' => config('larascord.client_id'), + 'client_secret' => config('larascord.client_secret'), + ]); + + $response->throw(); + + return json_decode($response->body()); + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php new file mode 100644 index 0000000..452e6b6 --- /dev/null +++ b/app/Providers/AppServiceProvider.php @@ -0,0 +1,24 @@ + + */ + protected $policies = [ + // + ]; + + /** + * Register any authentication / authorization services. + */ + public function boot(): void + { + // + } +} diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php new file mode 100644 index 0000000..2be04f5 --- /dev/null +++ b/app/Providers/BroadcastServiceProvider.php @@ -0,0 +1,19 @@ +> + */ + protected $listen = [ + Registered::class => [ + SendEmailVerificationNotification::class, + ], + ]; + + /** + * Register any events for your application. + */ + public function boot(): void + { + // + } + + /** + * Determine if events and listeners should be automatically discovered. + */ + public function shouldDiscoverEvents(): bool + { + return false; + } +} diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php new file mode 100644 index 0000000..973b544 --- /dev/null +++ b/app/Providers/RouteServiceProvider.php @@ -0,0 +1,40 @@ +by($request->user()?->id ?: $request->ip()); + }); + + $this->routes(function () { + Route::middleware('api') + ->prefix('api') + ->group(base_path('routes/api.php')); + + Route::middleware('web') + ->group(base_path('routes/web.php')); + }); + } +} diff --git a/app/Services/DownloadService.php b/app/Services/DownloadService.php new file mode 100644 index 0000000..449751a --- /dev/null +++ b/app/Services/DownloadService.php @@ -0,0 +1,38 @@ + 'FHD', + 'episodedlurlinterpolated' => 'FHDi', + 'episodedlurl4k' => 'UHD', + 'downloadUHDi' => 'UHDi', + ]; + + foreach ($downloadTypes as $inputField => $type) { + $fieldName = $inputField.$index; + if ($request->filled($fieldName)) { + $download = Downloads::updateOrCreate([ + 'episode_id' => $episode->id, + 'type' => $type, + ], [ + 'url' => $request->input($fieldName), + ]); + + // Dispatch Job to get File Size from CDN + GetFileSizeFromCDN::dispatch($download->id); + } + } + } +} diff --git a/app/Services/EpisodeService.php b/app/Services/EpisodeService.php new file mode 100644 index 0000000..b30e9c0 --- /dev/null +++ b/app/Services/EpisodeService.php @@ -0,0 +1,116 @@ +title = $referenceEpisode->title ?? $request->input('title'); + $episode->title_search = preg_replace("/[^A-Za-z0-9 ]/", '', $episode->title); + $episode->title_jpn = $referenceEpisode->title_jpn ?? $request->input('title_jpn'); + $episode->slug = "{$hentai->slug}-{$episodeNumber}"; + $episode->hentai_id = $hentai->id; + $episode->studios_id = $referenceEpisode->studio->id ?? $studio->id; + $episode->episode = $episodeNumber; + $episode->description = $referenceEpisode ? $request->input('description') : $request->input("description{$episodeNumber}"); + $episode->url = $referenceEpisode ? $request->input('baseurl') : rtrim($request->input('baseurl'), '/').'/E'.str_pad($episodeNumber, 2, '0', STR_PAD_LEFT); + $episode->view_count = 0; + $episode->interpolated = true; + $episode->is_dvd_aspect = false; + $episode->release_date = $referenceEpisode->release_date ?? Carbon::parse($request->input('releasedate'))->format('Y-m-d'); + $episode->cover_url = "/images/hentai/{$hentai->slug}/cover-ep-{$episodeNumber}.webp"; + $episode->save(); + + // Tagging + $tags = $referenceEpisode ? $referenceEpisode->tags : json_decode($request->input('tags')); + foreach ($tags as $t) { + $episode->tag($referenceEpisode ? $t->name : $t->value); + } + + return $episode; + } + + public function updateEpisode(Request $request, Studios $studio, int $episodeId): Episode + { + $episode = Episode::where('id', $episodeId)->firstOrFail(); + $episode->studios_id = $studio->id; + $episode->description = $request->input('description'); + $episode->url = $request->input('baseurl'); + $episode->release_date = Carbon::parse($request->input('releasedate'))->format('Y-m-d'); + $episode->interpolated = $request->input('interpolated') == 'yes'; + $episode->interpolated_uhd = $request->input('downloadUHDi1') ? true : false; + $episode->is_dvd_aspect = $request->input('dvd') == 'yes'; + $episode->save(); + + // Tagging + $tags = json_decode($request->input('tags')); + $newtags = []; + foreach ($tags as $t) { + $newtags[] = $t->value; + } + $episode->retag($newtags); + + return $episode; + } + + public function getOrCreateStudio(string $studioName): Studios + { + return Studios::firstOrCreate( + ['name' => $studioName], + ['slug' => Str::slug($studioName)] + ); + } + + + public function createOrUpdateCover(Request $request, Episode $episode, string $slug, int $episodeNumber): void + { + if (! $request->hasFile("episodecover{$episodeNumber}")) { + return; + } + + // Create Folder for Image Upload + if (! Storage::disk('public')->exists("/images/hentai/{$slug}")) { + Storage::disk('public')->makeDirectory("/images/hentai/{$slug}"); + } + + // Encode and save cover image + Image::read($request->file("episodecover{$episodeNumber}")->getRealPath()) + ->cover(268, 394) + ->encode(new WebpEncoder()) + ->save(Storage::disk('public')->path($episode->cover_url)); + } +} diff --git a/app/Services/GalleryService.php b/app/Services/GalleryService.php new file mode 100644 index 0000000..8e40073 --- /dev/null +++ b/app/Services/GalleryService.php @@ -0,0 +1,80 @@ +hasFile('episodegallery'.$galleryInputNumber)) { + + $this->deleteOldGallery($episode); + + $this->createGalleryFolder($hentai); + + $counter = 0; + foreach($request->file('episodegallery'.$galleryInputNumber) as $file) { + $gallery = $this->createGallery($hentai, $episode, $episodeNumber, $counter); + $this->saveGalleryImage($gallery, $file); + $counter += 1; + } + } + } + + private function createGalleryFolder(Hentai $hentai): void + { + // Create Folder for Image Upload + if (! Storage::disk('public')->exists("/images/hentai/{$hentai->slug}")) { + Storage::disk('public')->makeDirectory("/images/hentai/{$hentai->slug}"); + } + } + + private function createGallery(Hentai $hentai, Episode $episode, int $episodeNumber, int $counter): Gallery + { + $gallery = new Gallery(); + $gallery->hentai_id = $hentai->id; + $gallery->episode_id = $episode->id; + $gallery->image_url = "/images/hentai/{$hentai->slug}/gallery-ep-{$episodeNumber}-{$counter}.webp"; + $gallery->thumbnail_url = "/images/hentai/{$hentai->slug}/gallery-ep-{$episodeNumber}-{$counter}-thumbnail.webp"; + $gallery->save(); + + return $gallery; + } + + private function saveGalleryImage(Gallery $gallery, $sourceImage): void + { + Image::read($sourceImage->getRealPath()) + ->cover(1920, 1080) + ->encode(new WebpEncoder()) + ->save(Storage::disk('public')->path($gallery->image_url)); + + Image::read($sourceImage->getRealPath()) + ->cover(960, 540) + ->encode(new WebpEncoder()) + ->save(Storage::disk('public')->path($gallery->thumbnail_url)); + } + + private function deleteOldGallery(Episode $episode): void + { + $oldGallery = Gallery::where('episode_id', $episode->id)->get(); + foreach ($oldGallery as $oldImage) { + Storage::disk('public')->delete($oldImage->image_url); + Storage::disk('public')->delete($oldImage->thumbnail_url); + $oldImage->forceDelete(); + } + } +} diff --git a/app/Services/PlaylistService.php b/app/Services/PlaylistService.php new file mode 100644 index 0000000..7713632 --- /dev/null +++ b/app/Services/PlaylistService.php @@ -0,0 +1,30 @@ +id) + ->orderBy('position') + ->get(); + + foreach ($episodes as $index => $episode) { + $episode->position = $index + 1; + $episode->save(); + } + } + + public function swapPositions(PlaylistEpisode $a, PlaylistEpisode $b): void + { + $temp = $a->position; + $a->position = $b->position; + $b->position = $temp; + $a->save(); + $b->save(); + } +} diff --git a/app/View/Components/AppLayout.php b/app/View/Components/AppLayout.php new file mode 100644 index 0000000..de0d46f --- /dev/null +++ b/app/View/Components/AppLayout.php @@ -0,0 +1,17 @@ +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 0000000..037e17d --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,55 @@ +singleton( + Illuminate\Contracts\Http\Kernel::class, + App\Http\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Console\Kernel::class, + App\Console\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Debug\ExceptionHandler::class, + App\Exceptions\Handler::class +); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..62e92ef --- /dev/null +++ b/composer.json @@ -0,0 +1,102 @@ +{ + "name": "laravel/laravel", + "type": "project", + "description": "The skeleton application for the Laravel framework.", + "keywords": [ + "laravel", + "framework" + ], + "license": "MIT", + "require": { + "php": "^8.2", + "guzzlehttp/guzzle": "^7.8.1", + "hisorange/browser-detect": "^5.0", + "intervention/image": "^3.9", + "intervention/image-laravel": "^1.3", + "jakyeru/larascord": "^6.0", + "laravel/framework": "^11.0", + "laravel/sanctum": "^4.0", + "laravel/tinker": "^2.10", + "laravelista/comments": "dev-l11-compatibility", + "livewire/livewire": "^3.6.4", + "maize-tech/laravel-markable": "2.2.0", + "mews/captcha": "3.4.4", + "predis/predis": "^2.2", + "realrashid/sweet-alert": "^7.2", + "rtconner/laravel-tagging": "^4.1", + "spatie/laravel-discord-alerts": "^1.5", + "spatie/laravel-sitemap": "^7.3", + "vluzrmos/language-detector": "^2.3" + }, + "require-dev": { + "barryvdh/laravel-debugbar": "3.14.7", + "fakerphp/faker": "^1.24.0", + "laravel/pint": "^1.18", + "laravel/sail": "^1.38", + "mockery/mockery": "^1.4.4", + "nunomaduro/collision": "^8.1", + "phpunit/phpunit": "^11.4", + "spatie/laravel-ignition": "^2.0" + }, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/renatokira/comments.git" + } + ], + "autoload": { + "exclude-from-classmap": [ + "vendor/jakyeru/larascord/src/Http/Services/DiscordService.php", + "vendor/jakyeru/larascord/src/Http/Controllers/DiscordController.php", + "vendor/laravelista/comments/src/CommentPolicy.php", + "vendor/laravelista/comments/src/CommentService.php" + ], + "psr-4": { + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" + }, + "files": [ + "app/Override/Discord/Services/DiscordService.php", + "app/Override/Discord/DiscordController.php", + "app/Override/Comments/CommentPolicy.php", + "app/Override/Comments/CommentService.php" + ] + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "scripts": { + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" + ], + "post-update-cmd": [ + "@php artisan vendor:publish --tag=laravel-assets --ansi --force" + ], + "post-root-package-install": [ + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], + "post-create-project-cmd": [ + "@php artisan key:generate --ansi" + ] + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true, + "allow-plugins": { + "pestphp/pest-plugin": true, + "php-http/discovery": true + } + }, + "minimum-stability": "stable", + "prefer-stable": true +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..8913f28 --- /dev/null +++ b/composer.lock @@ -0,0 +1,10569 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "be718583fd7edbd677fd46b3ee622b47", + "packages": [ + { + "name": "brick/math", + "version": "0.12.1", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "bignumber", + "brick", + "decimal", + "integer", + "math", + "mathematics", + "rational" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.12.1" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + } + ], + "time": "2023-11-29T23:19:16+00:00" + }, + { + "name": "carbonphp/carbon-doctrine-types", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/18ba5ddfec8976260ead6e866180bd5d2f71aa1d", + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "conflict": { + "doctrine/dbal": "<4.0.0 || >=5.0.0" + }, + "require-dev": { + "doctrine/dbal": "^4.0.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Types to use Carbon in Doctrine", + "keywords": [ + "carbon", + "date", + "datetime", + "doctrine", + "time" + ], + "support": { + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.2.0" + }, + "funding": [ + { + "url": "https://github.com/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2024-02-09T16:56:22+00:00" + }, + { + "name": "composer/ca-bundle", + "version": "1.5.3", + "source": { + "type": "git", + "url": "https://github.com/composer/ca-bundle.git", + "reference": "3b1fc3f0be055baa7c6258b1467849c3e8204eb2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/3b1fc3f0be055baa7c6258b1467849c3e8204eb2", + "reference": "3b1fc3f0be055baa7c6258b1467849c3e8204eb2", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "ext-pcre": "*", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8 || ^9", + "psr/log": "^1.0 || ^2.0 || ^3.0", + "symfony/process": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\CaBundle\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "keywords": [ + "cabundle", + "cacert", + "certificate", + "ssl", + "tls" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/ca-bundle/issues", + "source": "https://github.com/composer/ca-bundle/tree/1.5.3" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2024-11-04T10:15:26+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" + }, + "time": "2024-07-08T12:26:09+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.10", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^11.0", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25 || ^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.10" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2024-02-18T20:23:39+00:00" + }, + { + "name": "doctrine/lexer", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.21" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/3.0.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2024-02-05T11:56:58+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.4.0", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "8c784d071debd117328803d86b2097615b457500" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", + "reference": "8c784d071debd117328803d86b2097615b457500", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2024-10-09T13:47:03+00:00" + }, + { + "name": "egulias/email-validator", + "version": "4.0.2", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" + }, + "require-dev": { + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2023-10-06T06:47:41+00:00" + }, + { + "name": "erusev/parsedown", + "version": "1.7.4", + "source": { + "type": "git", + "url": "https://github.com/erusev/parsedown.git", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35" + }, + "type": "library", + "autoload": { + "psr-0": { + "Parsedown": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Emanuil Rusev", + "email": "hello@erusev.com", + "homepage": "http://erusev.com" + } + ], + "description": "Parser for Markdown.", + "homepage": "http://parsedown.org", + "keywords": [ + "markdown", + "parser" + ], + "support": { + "issues": "https://github.com/erusev/parsedown/issues", + "source": "https://github.com/erusev/parsedown/tree/1.7.x" + }, + "time": "2019-12-30T22:54:17+00:00" + }, + { + "name": "fruitcake/php-cors", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/fruitcake/php-cors.git", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "symfony/http-foundation": "^4.4|^5.4|^6|^7" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "Fruitcake\\Cors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barryvdh", + "email": "barryvdh@gmail.com" + } + ], + "description": "Cross-origin resource sharing library for the Symfony HttpFoundation", + "homepage": "https://github.com/fruitcake/php-cors", + "keywords": [ + "cors", + "laravel", + "symfony" + ], + "support": { + "issues": "https://github.com/fruitcake/php-cors/issues", + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2023-10-12T05:21:21+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.1.3", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:45:45+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.9.2", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", + "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.2", + "ext-curl": "*", + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "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 + } + }, + "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.9.2" + }, + "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": "2024-07-24T11:22:20+00:00" + }, + { + "name": "guzzlehttp/promises", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/guzzle/promises.git", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "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/2.0.4" + }, + "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": "2024-10-17T10:06:22+00:00" + }, + { + "name": "guzzlehttp/psr7", + "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/guzzle/psr7.git", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.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.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "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.7.0" + }, + "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": "2024-07-18T11:15:46+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "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" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" + }, + { + "name": "hisorange/browser-detect", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/hisorange/browser-detect.git", + "reference": "6460325a81460d912131c0b943a00e76f8847cdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hisorange/browser-detect/zipball/6460325a81460d912131c0b943a00e76f8847cdb", + "reference": "6460325a81460d912131c0b943a00e76f8847cdb", + "shasum": "" + }, + "require": { + "jaybizzle/crawler-detect": "~1.2", + "league/pipeline": "^1.0", + "matomo/device-detector": "^6.0", + "mobiledetect/mobiledetectlib": "~4.0", + "php": "^8.1", + "ua-parser/uap-php": "~3.9" + }, + "require-dev": { + "orchestra/testbench": "~7.0 || ~8.0", + "php-coveralls/php-coveralls": "~2.0", + "phpunit/phpunit": "~9.0 || ~10.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "hisorange\\BrowserDetect\\ServiceProvider" + ], + "aliases": { + "Browser": "hisorange\\BrowserDetect\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "hisorange\\BrowserDetect\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Varga Zsolt", + "email": "hello@hisorange.me" + } + ], + "description": "Browser & Mobile detection package for Laravel.", + "homepage": "https://github.com/hisorange/browser-detect", + "keywords": [ + "analyse", + "browser", + "detect", + "hisorange", + "laravel", + "mobile", + "tablet", + "user agent", + "user-agent" + ], + "support": { + "issues": "https://github.com/hisorange/browser-detect/issues", + "source": "https://github.com/hisorange/browser-detect/tree/5.0.3" + }, + "time": "2024-02-05T08:21:06+00:00" + }, + { + "name": "intervention/gif", + "version": "4.2.0", + "source": { + "type": "git", + "url": "https://github.com/Intervention/gif.git", + "reference": "42c131a31b93c440ad49061b599fa218f06f93be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Intervention/gif/zipball/42c131a31b93c440ad49061b599fa218f06f93be", + "reference": "42c131a31b93c440ad49061b599fa218f06f93be", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "phpstan/phpstan": "^1", + "phpunit/phpunit": "^10.0", + "slevomat/coding-standard": "~8.0", + "squizlabs/php_codesniffer": "^3.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Intervention\\Gif\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Vogel", + "email": "oliver@intervention.io", + "homepage": "https://intervention.io/" + } + ], + "description": "Native PHP GIF Encoder/Decoder", + "homepage": "https://github.com/intervention/gif", + "keywords": [ + "animation", + "gd", + "gif", + "image" + ], + "support": { + "issues": "https://github.com/Intervention/gif/issues", + "source": "https://github.com/Intervention/gif/tree/4.2.0" + }, + "funding": [ + { + "url": "https://paypal.me/interventionio", + "type": "custom" + }, + { + "url": "https://github.com/Intervention", + "type": "github" + }, + { + "url": "https://ko-fi.com/interventionphp", + "type": "ko_fi" + } + ], + "time": "2024-09-20T13:35:02+00:00" + }, + { + "name": "intervention/image", + "version": "3.9.1", + "source": { + "type": "git", + "url": "https://github.com/Intervention/image.git", + "reference": "b496d1f6b9f812f96166623358dfcafb8c3b1683" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Intervention/image/zipball/b496d1f6b9f812f96166623358dfcafb8c3b1683", + "reference": "b496d1f6b9f812f96166623358dfcafb8c3b1683", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "intervention/gif": "^4.2", + "php": "^8.1" + }, + "require-dev": { + "mockery/mockery": "^1.6", + "phpstan/phpstan": "^1", + "phpunit/phpunit": "^10.0", + "slevomat/coding-standard": "~8.0", + "squizlabs/php_codesniffer": "^3.8" + }, + "suggest": { + "ext-exif": "Recommended to be able to read EXIF data properly." + }, + "type": "library", + "autoload": { + "psr-4": { + "Intervention\\Image\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Vogel", + "email": "oliver@intervention.io", + "homepage": "https://intervention.io/" + } + ], + "description": "PHP image manipulation", + "homepage": "https://image.intervention.io/", + "keywords": [ + "gd", + "image", + "imagick", + "resize", + "thumbnail", + "watermark" + ], + "support": { + "issues": "https://github.com/Intervention/image/issues", + "source": "https://github.com/Intervention/image/tree/3.9.1" + }, + "funding": [ + { + "url": "https://paypal.me/interventionio", + "type": "custom" + }, + { + "url": "https://github.com/Intervention", + "type": "github" + }, + { + "url": "https://ko-fi.com/interventionphp", + "type": "ko_fi" + } + ], + "time": "2024-10-27T10:15:54+00:00" + }, + { + "name": "intervention/image-laravel", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/Intervention/image-laravel.git", + "reference": "24738a017d42a6fa8d9adabdbd69a2c19c5b0d30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Intervention/image-laravel/zipball/24738a017d42a6fa8d9adabdbd69a2c19c5b0d30", + "reference": "24738a017d42a6fa8d9adabdbd69a2c19c5b0d30", + "shasum": "" + }, + "require": { + "illuminate/support": "^8|^9|^10|^11", + "intervention/image": "^3.7", + "php": "^8.1" + }, + "require-dev": { + "orchestra/testbench": "^8.18", + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Intervention\\Image\\Laravel\\ServiceProvider" + ], + "aliases": { + "Image": "Intervention\\Image\\Laravel\\Facades\\Image" + } + } + }, + "autoload": { + "psr-4": { + "Intervention\\Image\\Laravel\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Vogel", + "email": "oliver@intervention.io", + "homepage": "https://intervention.io/" + } + ], + "description": "Laravel Integration of Intervention Image", + "homepage": "https://image.intervention.io/", + "keywords": [ + "gd", + "image", + "imagick", + "laravel", + "resize", + "thumbnail", + "watermark" + ], + "support": { + "issues": "https://github.com/Intervention/image-laravel/issues", + "source": "https://github.com/Intervention/image-laravel/tree/1.3.0" + }, + "funding": [ + { + "url": "https://paypal.me/interventionio", + "type": "custom" + }, + { + "url": "https://github.com/Intervention", + "type": "github" + } + ], + "time": "2024-06-15T08:20:20+00:00" + }, + { + "name": "jakyeru/larascord", + "version": "v6.0.2", + "source": { + "type": "git", + "url": "https://github.com/JakyeRU/Larascord.git", + "reference": "3990404c7cac124c38247714b5758fe734743c4a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JakyeRU/Larascord/zipball/3990404c7cac124c38247714b5758fe734743c4a", + "reference": "3990404c7cac124c38247714b5758fe734743c4a", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^7.5", + "laravel/breeze": "^v2.0", + "laravel/framework": "^11", + "php": "^8.2|^8.3" + }, + "require-dev": { + "orchestra/testbench": "^9" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Jakyeru\\Larascord\\LarascordServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Jakyeru\\Larascord\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jakye", + "email": "jakyeru@gmail.com" + } + ], + "description": "Larascord is a package that allows you to authenticate users in your Laravel application using Discord.", + "support": { + "issues": "https://github.com/JakyeRU/Larascord/issues", + "source": "https://github.com/JakyeRU/Larascord/tree/v6.0.2" + }, + "time": "2024-09-14T10:04:25+00:00" + }, + { + "name": "jaybizzle/crawler-detect", + "version": "v1.2.121", + "source": { + "type": "git", + "url": "https://github.com/JayBizzle/Crawler-Detect.git", + "reference": "40ecda6322d4163fe2c6e1dd47c574f580b8487f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/40ecda6322d4163fe2c6e1dd47c574f580b8487f", + "reference": "40ecda6322d4163fe2c6e1dd47c574f580b8487f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Jaybizzle\\CrawlerDetect\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Beech", + "email": "m@rkbee.ch", + "role": "Developer" + } + ], + "description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent", + "homepage": "https://github.com/JayBizzle/Crawler-Detect/", + "keywords": [ + "crawler", + "crawler detect", + "crawler detector", + "crawlerdetect", + "php crawler detect" + ], + "support": { + "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.121" + }, + "time": "2024-10-20T21:42:39+00:00" + }, + { + "name": "laravel/breeze", + "version": "v2.2.5", + "source": { + "type": "git", + "url": "https://github.com/laravel/breeze.git", + "reference": "e698f651ac55920fd2ee1336c3c6cdd2467ea784" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/breeze/zipball/e698f651ac55920fd2ee1336c3c6cdd2467ea784", + "reference": "e698f651ac55920fd2ee1336c3c6cdd2467ea784", + "shasum": "" + }, + "require": { + "illuminate/console": "^11.0", + "illuminate/filesystem": "^11.0", + "illuminate/support": "^11.0", + "illuminate/validation": "^11.0", + "php": "^8.2.0", + "symfony/console": "^7.0" + }, + "require-dev": { + "orchestra/testbench": "^9.0", + "phpstan/phpstan": "^1.10" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Breeze\\BreezeServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Breeze\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Minimal Laravel authentication scaffolding with Blade and Tailwind.", + "keywords": [ + "auth", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/breeze/issues", + "source": "https://github.com/laravel/breeze" + }, + "time": "2024-11-12T14:56:47+00:00" + }, + { + "name": "laravel/framework", + "version": "v11.32.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "bc2aad63f83ee5089be7b21cf29d645ccf31e927" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/bc2aad63f83ee5089be7b21cf29d645ccf31e927", + "reference": "bc2aad63f83ee5089be7b21cf29d645ccf31e927", + "shasum": "" + }, + "require": { + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.3", + "guzzlehttp/guzzle": "^7.8", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.18|^0.2.0|^0.3.0", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.72.2|^3.0", + "nunomaduro/termwind": "^2.0", + "php": "^8.2", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "ramsey/uuid": "^4.7", + "symfony/console": "^7.0", + "symfony/error-handler": "^7.0", + "symfony/finder": "^7.0", + "symfony/http-foundation": "^7.0", + "symfony/http-kernel": "^7.0", + "symfony/mailer": "^7.0", + "symfony/mime": "^7.0", + "symfony/polyfill-php83": "^1.28", + "symfony/process": "^7.0", + "symfony/routing": "^7.0", + "symfony/uid": "^7.0", + "symfony/var-dumper": "^7.0", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^2.0" + }, + "conflict": { + "mockery/mockery": "1.6.8", + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "psr/log-implementation": "1.0|2.0|3.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/concurrency": "self.version", + "illuminate/conditionable": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version", + "spatie/once": "*" + }, + "require-dev": { + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "ext-gmp": "*", + "fakerphp/faker": "^1.23", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", + "league/flysystem-sftp-v3": "^3.0", + "mockery/mockery": "^1.6", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^9.5", + "pda/pheanstalk": "^5.0", + "phpstan/phpstan": "^1.11.5", + "phpunit/phpunit": "^10.5|^11.0", + "predis/predis": "^2.0.2", + "resend/resend-php": "^0.10.0", + "symfony/cache": "^7.0", + "symfony/http-client": "^7.0", + "symfony/psr-http-message-bridge": "^7.0" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^7.0|^8.0).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "mockery/mockery": "Required to use mocking (^1.6).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).", + "predis/predis": "Required to use the predis connector (^2.0.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^7.0).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.0).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.0).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "11.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Log/functions.php", + "src/Illuminate/Support/functions.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2024-11-15T17:04:33+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.3.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/0e0535747c6b8d6d10adca8b68293cf4517abb0f", + "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2.2", + "ext-mbstring": "*", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "illuminate/collections": "^10.0|^11.0", + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3|^3.4", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.3.2" + }, + "time": "2024-11-12T14:59:47+00:00" + }, + { + "name": "laravel/sanctum", + "version": "v4.0.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/sanctum.git", + "reference": "54aea9d13743ae8a6cdd3c28dbef128a17adecab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/54aea9d13743ae8a6cdd3c28dbef128a17adecab", + "reference": "54aea9d13743ae8a6cdd3c28dbef128a17adecab", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/console": "^11.0", + "illuminate/contracts": "^11.0", + "illuminate/database": "^11.0", + "illuminate/support": "^11.0", + "php": "^8.2", + "symfony/console": "^7.0" + }, + "require-dev": { + "mockery/mockery": "^1.6", + "orchestra/testbench": "^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sanctum\\SanctumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sanctum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.", + "keywords": [ + "auth", + "laravel", + "sanctum" + ], + "support": { + "issues": "https://github.com/laravel/sanctum/issues", + "source": "https://github.com/laravel/sanctum" + }, + "time": "2024-09-27T14:55:41+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.3.6", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "f865a58ea3a0107c336b7045104c75243fa59d96" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f865a58ea3a0107c336b7045104c75243fa59d96", + "reference": "f865a58ea3a0107c336b7045104c75243fa59d96", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2024-11-11T17:06:04+00:00" + }, + { + "name": "laravel/tinker", + "version": "v2.10.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/ba4d51eb56de7711b3a37d63aa0643e99a339ae5", + "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5", + "shasum": "" + }, + "require": { + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "php": "^7.2.5|^8.0", + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" + }, + "require-dev": { + "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.5.8|^9.3.3" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ], + "support": { + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/v2.10.0" + }, + "time": "2024-09-23T13:32:56+00:00" + }, + { + "name": "laravelista/comments", + "version": "dev-l11-compatibility", + "source": { + "type": "git", + "url": "https://github.com/renatokira/comments.git", + "reference": "490764a774d520a4d9e43395b472d0f9bf802ef6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/renatokira/comments/zipball/490764a774d520a4d9e43395b472d0f9bf802ef6", + "reference": "490764a774d520a4d9e43395b472d0f9bf802ef6", + "shasum": "" + }, + "require": { + "erusev/parsedown": "^1.7", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/http": "^9.0|^10.0|^11.0", + "illuminate/pagination": "^9.0|^10.0|^11.0", + "illuminate/queue": "^9.0|^10.0|^11.0", + "illuminate/routing": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "php": "^8.0", + "spatie/laravel-honeypot": "^4.5" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravelista\\Comments\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravelista\\Comments\\": "src/" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mario Bašić", + "email": "mario@laravelista.hr", + "homepage": "https://laravelista.hr" + } + ], + "description": "Comments for Laravel.", + "keywords": [ + "comments", + "laravel" + ], + "support": { + "source": "https://github.com/renatokira/comments/tree/l11-compatibility" + }, + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/laravelista" + } + ], + "time": "2024-03-16T14:14:11+00:00" + }, + { + "name": "league/commonmark", + "version": "2.5.3", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "b650144166dfa7703e62a22e493b853b58d874b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/b650144166dfa7703e62a22e493b853b58d874b0", + "reference": "b650144166dfa7703e62a22e493b853b58d874b0", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/deprecation-contracts": "^2.1 || ^3.0", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.31.1", + "commonmark/commonmark.js": "0.31.1", + "composer/package-versions-deprecated": "^1.8", + "embed/embed": "^4.4", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4 || ^2.0", + "nyholm/psr7": "^1.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.6-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2024-08-16T11:46:16+00:00" + }, + { + "name": "league/config", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "shasum": "" + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + } + ], + "time": "2022-12-11T20:36:23+00:00" + }, + { + "name": "league/flysystem", + "version": "3.29.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", + "shasum": "" + }, + "require": { + "league/flysystem-local": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", + "aws/aws-sdk-php": "3.209.31 || 3.210.0", + "guzzlehttp/guzzle": "<7.0", + "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", + "symfony/http-client": "<5.2" + }, + "require-dev": { + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "ext-ftp": "*", + "ext-mongodb": "^1.3", + "ext-zip": "*", + "friendsofphp/php-cs-fixer": "^3.5", + "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", + "microsoft/azure-storage-blob": "^1.1", + "mongodb/mongodb": "^1.2", + "phpseclib/phpseclib": "^3.0.36", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "File storage abstraction for PHP", + "keywords": [ + "WebDAV", + "aws", + "cloud", + "file", + "files", + "filesystem", + "filesystems", + "ftp", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" + }, + "time": "2024-10-08T08:58:34+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.29.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" + }, + "time": "2024-08-09T21:24:39+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.16.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2024-09-21T08:32:55+00:00" + }, + { + "name": "league/pipeline", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/pipeline.git", + "reference": "aa14b0e3133121f8be39e9a3b6ddd011fc5bb9a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/pipeline/zipball/aa14b0e3133121f8be39e9a3b6ddd011fc5bb9a8", + "reference": "aa14b0e3133121f8be39e9a3b6ddd011fc5bb9a8", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "leanphp/phpspec-code-coverage": "^4.2", + "phpspec/phpspec": "^4.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Pipeline\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net", + "role": "Author" + }, + { + "name": "Woody Gilk", + "email": "woody.gilk@gmail.com", + "role": "Maintainer" + } + ], + "description": "A plug and play pipeline implementation.", + "keywords": [ + "composition", + "design pattern", + "pattern", + "pipeline", + "sequential" + ], + "support": { + "issues": "https://github.com/thephpleague/pipeline/issues", + "source": "https://github.com/thephpleague/pipeline/tree/master" + }, + "time": "2018-06-05T21:06:51+00:00" + }, + { + "name": "livewire/livewire", + "version": "v3.6.4", + "source": { + "type": "git", + "url": "https://github.com/livewire/livewire.git", + "reference": "ef04be759da41b14d2d129e670533180a44987dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/livewire/livewire/zipball/ef04be759da41b14d2d129e670533180a44987dc", + "reference": "ef04be759da41b14d2d129e670533180a44987dc", + "shasum": "" + }, + "require": { + "illuminate/database": "^10.0|^11.0|^12.0", + "illuminate/routing": "^10.0|^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/validation": "^10.0|^11.0|^12.0", + "laravel/prompts": "^0.1.24|^0.2|^0.3", + "league/mime-type-detection": "^1.9", + "php": "^8.1", + "symfony/console": "^6.0|^7.0", + "symfony/http-kernel": "^6.2|^7.0" + }, + "require-dev": { + "calebporzio/sushi": "^2.1", + "laravel/framework": "^10.15.0|^11.0|^12.0", + "mockery/mockery": "^1.3.1", + "orchestra/testbench": "^8.21.0|^9.0|^10.0", + "orchestra/testbench-dusk": "^8.24|^9.1|^10.0", + "phpunit/phpunit": "^10.4|^11.5", + "psy/psysh": "^0.11.22|^0.12" + }, + "type": "library", + "extra": { + "laravel": { + "aliases": { + "Livewire": "Livewire\\Livewire" + }, + "providers": [ + "Livewire\\LivewireServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Livewire\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Caleb Porzio", + "email": "calebporzio@gmail.com" + } + ], + "description": "A front-end framework for Laravel.", + "support": { + "issues": "https://github.com/livewire/livewire/issues", + "source": "https://github.com/livewire/livewire/tree/v3.6.4" + }, + "funding": [ + { + "url": "https://github.com/livewire", + "type": "github" + } + ], + "time": "2025-07-17T05:12:15+00:00" + }, + { + "name": "maize-tech/laravel-markable", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/maize-tech/laravel-markable.git", + "reference": "e88f4c6d19a54a94fa9759f9d54f47b7232d354b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maize-tech/laravel-markable/zipball/e88f4c6d19a54a94fa9759f9d54f47b7232d354b", + "reference": "e88f4c6d19a54a94fa9759f9d54f47b7232d354b", + "shasum": "" + }, + "require": { + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.14.1" + }, + "require-dev": { + "laravel/pint": "^1.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpunit/phpunit": "^9.5|^10.5", + "spatie/laravel-ray": "^1.29", + "vimeo/psalm": "^4.22|^5.22" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Maize\\Markable\\MarkableServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Maize\\Markable\\": "src", + "Maize\\Markable\\Database\\Factories\\": "database/factories" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Enrico De Lazzari", + "email": "enrico.delazzari@maize.io", + "role": "Developer" + }, + { + "name": "Riccardo Dalla Via", + "email": "riccardo.dallavia@maize.io", + "role": "Developer" + } + ], + "description": "Laravel Markable", + "homepage": "https://github.com/maize-tech/laravel-markable", + "keywords": [ + "Favorites", + "bookmarks", + "laravel", + "likes", + "maize-tech", + "markable" + ], + "support": { + "issues": "https://github.com/maize-tech/laravel-markable/issues", + "source": "https://github.com/maize-tech/laravel-markable/tree/2.2.0" + }, + "funding": [ + { + "url": "https://github.com/maize-tech", + "type": "github" + } + ], + "time": "2024-03-27T10:15:46+00:00" + }, + { + "name": "masterminds/html5", + "version": "2.9.0", + "source": { + "type": "git", + "url": "https://github.com/Masterminds/html5-php.git", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Masterminds\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matt Butcher", + "email": "technosophos@gmail.com" + }, + { + "name": "Matt Farina", + "email": "matt@mattfarina.com" + }, + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" + } + ], + "description": "An HTML5 parser and serializer.", + "homepage": "http://masterminds.github.io/html5-php", + "keywords": [ + "HTML5", + "dom", + "html", + "parser", + "querypath", + "serializer", + "xml" + ], + "support": { + "issues": "https://github.com/Masterminds/html5-php/issues", + "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" + }, + "time": "2024-03-31T07:05:07+00:00" + }, + { + "name": "matomo/device-detector", + "version": "6.4.1", + "source": { + "type": "git", + "url": "https://github.com/matomo-org/device-detector.git", + "reference": "0d364e0dd6c177da3c24cd4049178026324fd7ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/matomo-org/device-detector/zipball/0d364e0dd6c177da3c24cd4049178026324fd7ac", + "reference": "0d364e0dd6c177da3c24cd4049178026324fd7ac", + "shasum": "" + }, + "require": { + "mustangostang/spyc": "*", + "php": "^7.2|^8.0" + }, + "replace": { + "piwik/device-detector": "self.version" + }, + "require-dev": { + "matthiasmullie/scrapbook": "^1.4.7", + "mayflower/mo4-coding-standard": "^v9.0.0", + "phpstan/phpstan": "^1.10.44", + "phpunit/phpunit": "^8.5.8", + "psr/cache": "^1.0.1", + "psr/simple-cache": "^1.0.1", + "symfony/yaml": "^5.1.7" + }, + "suggest": { + "doctrine/cache": "Can directly be used for caching purpose", + "ext-yaml": "Necessary for using the Pecl YAML parser" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeviceDetector\\": "" + }, + "exclude-from-classmap": [ + "Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0-or-later" + ], + "authors": [ + { + "name": "The Matomo Team", + "email": "hello@matomo.org", + "homepage": "https://matomo.org/team/" + } + ], + "description": "The Universal Device Detection library, that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, media players, mobile apps, feed readers, libraries, etc), operating systems, devices, brands and models.", + "homepage": "https://matomo.org", + "keywords": [ + "devicedetection", + "parser", + "useragent" + ], + "support": { + "forum": "https://forum.matomo.org/", + "issues": "https://github.com/matomo-org/device-detector/issues", + "source": "https://github.com/matomo-org/matomo", + "wiki": "https://dev.matomo.org/" + }, + "time": "2024-09-24T13:50:04+00:00" + }, + { + "name": "mews/captcha", + "version": "3.4.4", + "source": { + "type": "git", + "url": "https://github.com/mewebstudio/captcha.git", + "reference": "70fc1291ac5c384b0e68fa33abc2a9e27c603e6f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mewebstudio/captcha/zipball/70fc1291ac5c384b0e68fa33abc2a9e27c603e6f", + "reference": "70fc1291ac5c384b0e68fa33abc2a9e27c603e6f", + "shasum": "" + }, + "require": { + "ext-gd": "*", + "illuminate/config": "~5|^6|^7|^8|^9|^10|^11", + "illuminate/filesystem": "~5|^6|^7|^8|^9|^10|^11", + "illuminate/hashing": "~5|^6|^7|^8|^9|^10|^11", + "illuminate/session": "~5|^6|^7|^8|^9|^10|^11", + "illuminate/support": "~5|^6|^7|^8|^9|^10|^11", + "intervention/image": "^3.7", + "php": "^7.2|^8.1|^8.2|^8.3" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^8.5|^9.5.10|^10.5" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "Mews\\Captcha\\CaptchaServiceProvider" + ], + "aliases": { + "Captcha": "Mews\\Captcha\\Facades\\Captcha" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Mews\\Captcha\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Muharrem ERİN", + "email": "me@mewebstudio.com", + "homepage": "https://github.com/mewebstudio", + "role": "Developer" + } + ], + "description": "Laravel 5/6/7/8/9/10/11 Captcha Package", + "homepage": "https://github.com/mewebstudio/captcha", + "keywords": [ + "captcha", + "laravel5 Security", + "laravel6 Captcha", + "laravel6 Security" + ], + "support": { + "issues": "https://github.com/mewebstudio/captcha/issues", + "source": "https://github.com/mewebstudio/captcha/tree/3.4.4" + }, + "time": "2024-11-05T17:53:39+00:00" + }, + { + "name": "mobiledetect/mobiledetectlib", + "version": "4.8.06", + "source": { + "type": "git", + "url": "https://github.com/serbanghita/Mobile-Detect.git", + "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/af088b54cecc13b3264edca7da93a89ba7aa2d9e", + "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e", + "shasum": "" + }, + "require": { + "php": ">=8.0", + "psr/simple-cache": "^2 || ^3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^v3.35.1", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6", + "squizlabs/php_codesniffer": "^3.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Detection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Serban Ghita", + "email": "serbanghita@gmail.com", + "homepage": "http://mobiledetect.net", + "role": "Developer" + } + ], + "description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.", + "homepage": "https://github.com/serbanghita/Mobile-Detect", + "keywords": [ + "detect mobile devices", + "mobile", + "mobile detect", + "mobile detector", + "php mobile detect" + ], + "support": { + "issues": "https://github.com/serbanghita/Mobile-Detect/issues", + "source": "https://github.com/serbanghita/Mobile-Detect/tree/4.8.06" + }, + "funding": [ + { + "url": "https://github.com/serbanghita", + "type": "github" + } + ], + "time": "2024-03-01T22:28:42+00:00" + }, + { + "name": "monolog/monolog", + "version": "3.8.0", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/32e515fdc02cdafbe4593e30a9350d486b125b67", + "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "php-console/php-console": "^3.1.8", + "phpstan/phpstan": "^2", + "phpstan/phpstan-deprecation-rules": "^2", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "^10.5.17 || ^11.0.7", + "predis/predis": "^1.1 || ^2", + "rollbar/rollbar": "^4.0", + "ruflin/elastica": "^7 || ^8", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/3.8.0" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2024-11-12T13:57:08+00:00" + }, + { + "name": "mustangostang/spyc", + "version": "0.6.3", + "source": { + "type": "git", + "url": "https://github.com/mustangostang/spyc.git", + "reference": "4627c838b16550b666d15aeae1e5289dd5b77da0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mustangostang/spyc/zipball/4627c838b16550b666d15aeae1e5289dd5b77da0", + "reference": "4627c838b16550b666d15aeae1e5289dd5b77da0", + "shasum": "" + }, + "require": { + "php": ">=5.3.1" + }, + "require-dev": { + "phpunit/phpunit": "4.3.*@dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.5.x-dev" + } + }, + "autoload": { + "files": [ + "Spyc.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "mustangostang", + "email": "vlad.andersen@gmail.com" + } + ], + "description": "A simple YAML loader/dumper class for PHP", + "homepage": "https://github.com/mustangostang/spyc/", + "keywords": [ + "spyc", + "yaml", + "yml" + ], + "support": { + "issues": "https://github.com/mustangostang/spyc/issues", + "source": "https://github.com/mustangostang/spyc/tree/0.6.3" + }, + "time": "2019-09-10T13:16:29+00:00" + }, + { + "name": "nesbot/carbon", + "version": "3.8.2", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "e1268cdbc486d97ce23fef2c666dc3c6b6de9947" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/e1268cdbc486d97ce23fef2c666dc3c6b6de9947", + "reference": "e1268cdbc486d97ce23fef2c666dc3c6b6de9947", + "shasum": "" + }, + "require": { + "carbonphp/carbon-doctrine-types": "<100.0", + "ext-json": "*", + "php": "^8.1", + "psr/clock": "^1.0", + "symfony/clock": "^6.3 || ^7.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "require-dev": { + "doctrine/dbal": "^3.6.3 || ^4.0", + "doctrine/orm": "^2.15.2 || ^3.0", + "friendsofphp/php-cs-fixer": "^3.57.2", + "kylekatarnls/multi-tester": "^2.5.3", + "ondrejmirtes/better-reflection": "^6.25.0.4", + "phpmd/phpmd": "^2.15.0", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan": "^1.11.2", + "phpunit/phpunit": "^10.5.20", + "squizlabs/php_codesniffer": "^3.9.0" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", + "type": "tidelift" + } + ], + "time": "2024-11-07T17:46:48+00:00" + }, + { + "name": "nette/schema", + "version": "v1.3.2", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", + "shasum": "" + }, + "require": { + "nette/utils": "^4.0", + "php": "8.1 - 8.4" + }, + "require-dev": { + "nette/tester": "^2.5.2", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.3.2" + }, + "time": "2024-10-06T23:10:23+00:00" + }, + { + "name": "nette/utils", + "version": "v4.0.5", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "shasum": "" + }, + "require": { + "php": "8.0 - 8.4" + }, + "conflict": { + "nette/finder": "<3", + "nette/schema": "<1.2.2" + }, + "require-dev": { + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.9" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v4.0.5" + }, + "time": "2024-08-07T15:39:19+00:00" + }, + { + "name": "nicmart/tree", + "version": "0.9.0", + "source": { + "type": "git", + "url": "https://github.com/nicmart/Tree.git", + "reference": "f5e17bf18d78cfb0666ebb9f956c3acd8d14229d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nicmart/Tree/zipball/f5e17bf18d78cfb0666ebb9f956c3acd8d14229d", + "reference": "f5e17bf18d78cfb0666ebb9f956c3acd8d14229d", + "shasum": "" + }, + "require": { + "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.44.0", + "ergebnis/license": "^2.6.0", + "ergebnis/php-cs-fixer-config": "^6.28.1", + "fakerphp/faker": "^1.24.1", + "infection/infection": "~0.26.19", + "phpunit/phpunit": "^9.6.19", + "psalm/plugin-phpunit": "~0.19.0", + "vimeo/psalm": "^5.26.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Tree\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolò Martini", + "email": "nicmartnic@gmail.com" + }, + { + "name": "Andreas Möller", + "email": "am@localheinz.com" + } + ], + "description": "A basic but flexible php tree data structure and a fluent tree builder implementation.", + "support": { + "issues": "https://github.com/nicmart/Tree/issues", + "source": "https://github.com/nicmart/Tree/tree/0.9.0" + }, + "time": "2024-11-22T15:36:01+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v5.3.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-json": "*", + "ext-tokenizer": "*", + "php": ">=7.4" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + }, + "time": "2024-10-08T18:51:32+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/42c84e4e8090766bbd6445d06cd6e57650626ea3", + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.2", + "symfony/console": "^7.1.5" + }, + "require-dev": { + "illuminate/console": "^11.28.0", + "laravel/pint": "^1.18.1", + "mockery/mockery": "^1.6.12", + "pestphp/pest": "^2.36.0", + "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan-strict-rules": "^1.6.1", + "symfony/var-dumper": "^7.1.5", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2024-10-15T16:15:16+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.9.3", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:41:07+00:00" + }, + { + "name": "predis/predis", + "version": "v2.2.2", + "source": { + "type": "git", + "url": "https://github.com/predis/predis.git", + "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/predis/predis/zipball/b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", + "reference": "b1d3255ed9ad4d7254f9f9bba386c99f4bb983d1", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.3", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^8.0 || ~9.4.4" + }, + "suggest": { + "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" + }, + "type": "library", + "autoload": { + "psr-4": { + "Predis\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Till Krüss", + "homepage": "https://till.im", + "role": "Maintainer" + } + ], + "description": "A flexible and feature-complete Redis client for PHP.", + "homepage": "http://github.com/predis/predis", + "keywords": [ + "nosql", + "predis", + "redis" + ], + "support": { + "issues": "https://github.com/predis/predis/issues", + "source": "https://github.com/predis/predis/tree/v2.2.2" + }, + "funding": [ + { + "url": "https://github.com/sponsors/tillkruss", + "type": "github" + } + ], + "time": "2023-09-13T16:42:03+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.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": "https://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" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.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": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: 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" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://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/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" + }, + { + "name": "psr/log", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.2" + }, + "time": "2024-09-11T13:17:53+00:00" + }, + { + "name": "psr/simple-cache", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" + }, + "time": "2021-10-29T13:26:27+00:00" + }, + { + "name": "psy/psysh", + "version": "v0.12.4", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/psysh.git", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-tokenizer": "*", + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" + }, + "conflict": { + "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.2" + }, + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." + }, + "bin": [ + "bin/psysh" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.12.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ], + "support": { + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" + }, + "time": "2024-06-10T01:18:23+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": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/2.0.0" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2022-12-31T21:50:55+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.7.6", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", + "shasum": "" + }, + "require": { + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", + "ext-json": "*", + "php": "^8.0", + "ramsey/collection": "^1.2 || ^2.0" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "captainhook": { + "force-install": true + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.7.6" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2024-04-27T21:32:50+00:00" + }, + { + "name": "realrashid/sweet-alert", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/realrashid/sweet-alert.git", + "reference": "7890f3d3a0f45ea65b90300a823681a99a1d2dd6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/realrashid/sweet-alert/zipball/7890f3d3a0f45ea65b90300a823681a99a1d2dd6", + "reference": "7890f3d3a0f45ea65b90300a823681a99a1d2dd6", + "shasum": "" + }, + "require": { + "laravel/framework": "^5.6|^6.0|^7.0|^8.0|^9.0|^9.11|9.14.*|^10.0|^11.0", + "php": "^7.2|^8.0|^8.1|^8.2|^8.3" + }, + "require-dev": { + "symfony/thanks": "^1.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "RealRashid\\SweetAlert\\SweetAlertServiceProvider" + ], + "aliases": { + "Alert": "RealRashid\\SweetAlert\\Facades\\Alert" + } + } + }, + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "RealRashid\\SweetAlert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rashid Ali", + "email": "realrashid05@gmail.com", + "homepage": "https://realrashid.com", + "role": "Developer" + } + ], + "description": "Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.", + "homepage": "https://github.com/realrashid/sweet-alert", + "keywords": [ + "alert", + "laravel", + "laravel-package", + "notifier", + "noty", + "sweet-alert", + "sweet-alert2", + "toast" + ], + "support": { + "docs": "https://realrashid.github.io/sweet-alert/", + "email": "realrashid05@gmail.com", + "issues": "https://github.com/realrashid/sweet-alert/issues", + "source": "https://github.com/realrashid/sweet-alert" + }, + "funding": [ + { + "url": "https://ko-fi.com/realrashid", + "type": "custom" + }, + { + "url": "https://www.buymeacoffee.com/realrashid", + "type": "custom" + }, + { + "url": "https://issuehunt.io/r/realrashid", + "type": "issuehunt" + }, + { + "url": "https://tidelift.com/funding/github/packagist/realrashid/sweet-alert", + "type": "tidelift" + } + ], + "time": "2024-06-15T16:17:23+00:00" + }, + { + "name": "rtconner/laravel-tagging", + "version": "4.1.4", + "source": { + "type": "git", + "url": "https://github.com/rtconner/laravel-tagging.git", + "reference": "bcce5300c01e5706b01f3dd3d7c920b46eb63c06" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rtconner/laravel-tagging/zipball/bcce5300c01e5706b01f3dd3d7c920b46eb63c06", + "reference": "bcce5300c01e5706b01f3dd3d7c920b46eb63c06", + "shasum": "" + }, + "require": { + "illuminate/database": ">=8.0", + "illuminate/support": ">=8.0", + "php": "^7.3|^8.0" + }, + "require-dev": { + "mockery/mockery": "1.*", + "orchestra/testbench": "6.*", + "phpunit/phpunit": "9.*", + "squizlabs/php_codesniffer": "3.*" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Conner\\Tagging\\Providers\\TaggingServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Conner\\Tagging\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Robert Conner", + "email": "rtconner+composer@smarter.bz" + } + ], + "description": "Use PHP traits to extend Laravel Eloquent Models to allow Tags. Models can be marked as Taggable.", + "homepage": "https://smartersoftware.net/packages/laravel-tagging-taggable", + "keywords": [ + "Taggable", + "eloquent", + "laravel", + "laravel5", + "tag", + "tagged", + "tagging", + "tags" + ], + "support": { + "issues": "https://github.com/rtconner/laravel-tagging/issues", + "source": "https://github.com/rtconner/laravel-tagging/tree/4.1.4" + }, + "time": "2022-04-25T22:18:50+00:00" + }, + { + "name": "spatie/browsershot", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/spatie/browsershot.git", + "reference": "c0fa14c2386df2b4444e803ddc11e592b16d3a20" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/browsershot/zipball/c0fa14c2386df2b4444e803ddc11e592b16d3a20", + "reference": "c0fa14c2386df2b4444e803ddc11e592b16d3a20", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "ext-json": "*", + "php": "^8.2", + "spatie/temporary-directory": "^2.0", + "symfony/process": "^6.0|^7.0" + }, + "require-dev": { + "pestphp/pest": "^3.0", + "spatie/image": "^3.6", + "spatie/pdf-to-text": "^1.52", + "spatie/phpunit-snapshot-assertions": "^4.2.3|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Browsershot\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://github.com/freekmurze", + "role": "Developer" + } + ], + "description": "Convert a webpage to an image or pdf using headless Chrome", + "homepage": "https://github.com/spatie/browsershot", + "keywords": [ + "chrome", + "convert", + "headless", + "image", + "pdf", + "puppeteer", + "screenshot", + "webpage" + ], + "support": { + "source": "https://github.com/spatie/browsershot/tree/5.0.5" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-12-30T12:56:36+00:00" + }, + { + "name": "spatie/crawler", + "version": "8.4.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/crawler.git", + "reference": "344e1b90488c19bdf01d76d40d6728994d0951f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/crawler/zipball/344e1b90488c19bdf01d76d40d6728994d0951f7", + "reference": "344e1b90488c19bdf01d76d40d6728994d0951f7", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^7.3", + "guzzlehttp/psr7": "^2.0", + "illuminate/collections": "^10.0|^11.0", + "nicmart/tree": "^0.9", + "php": "^8.1", + "spatie/browsershot": "^3.45|^4.0|^5.0", + "spatie/robots-txt": "^2.0", + "symfony/dom-crawler": "^6.0|^7.0" + }, + "require-dev": { + "pestphp/pest": "^2.0", + "spatie/ray": "^1.37" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Crawler\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be" + } + ], + "description": "Crawl all internal links found on a website", + "homepage": "https://github.com/spatie/crawler", + "keywords": [ + "crawler", + "link", + "spatie", + "website" + ], + "support": { + "issues": "https://github.com/spatie/crawler/issues", + "source": "https://github.com/spatie/crawler/tree/8.4.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-12-16T15:32:54+00:00" + }, + { + "name": "spatie/laravel-discord-alerts", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-discord-alerts.git", + "reference": "e7c67fc842e70bb4bf790efe6bed4e2f324ba5ea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-discord-alerts/zipball/e7c67fc842e70bb4bf790efe6bed4e2f324ba5ea", + "reference": "e7c67fc842e70bb4bf790efe6bed4e2f324ba5ea", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.73|^9.0|^10.0|^11.0", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.9.2" + }, + "require-dev": { + "nunomaduro/collision": "^5.10|^6.0|^7.0|^8.0", + "nunomaduro/larastan": "^1.0|^2.0", + "orchestra/testbench": "^6.22|^7.0|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.0|^3.0", + "pestphp/pest-plugin-laravel": "^1.1|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "spatie/laravel-ray": "^1.26" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\DiscordAlerts\\DiscordAlertsServiceProvider" + ], + "aliases": { + "Discord": "DiscordAlert" + } + } + }, + "autoload": { + "psr-4": { + "Spatie\\DiscordAlerts\\": "src", + "Spatie\\DiscordAlerts\\Database\\Factories\\": "database/factories" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rias Van der Veken", + "email": "rias@spatie.be", + "role": "Developer" + }, + { + "name": "Niels Vanpachtenbeke", + "email": "niels@spatie.be", + "role": "Developer" + }, + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" + } + ], + "description": "Send a message to Discord", + "homepage": "https://github.com/spatie/laravel-discord-alerts", + "keywords": [ + "laravel", + "laravel-discord-alerts", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-discord-alerts/issues", + "source": "https://github.com/spatie/laravel-discord-alerts/tree/1.5.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-05-16T15:09:37+00:00" + }, + { + "name": "spatie/laravel-honeypot", + "version": "4.5.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-honeypot.git", + "reference": "57727836997ae7351a4f56008bbaf4e2801ce4a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-honeypot/zipball/57727836997ae7351a4f56008bbaf4e2801ce4a0", + "reference": "57727836997ae7351a4f56008bbaf4e2801ce4a0", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", + "illuminate/encryption": "^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "illuminate/validation": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.0|^3.0", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.9", + "symfony/http-foundation": "^5.1.2|^6.0|^7.0" + }, + "require-dev": { + "livewire/livewire": "^2.10|^3.0", + "orchestra/testbench": "^6.23|^7.0|^8.0|^9.0", + "pestphp/pest-plugin-livewire": "^1.0|^2.1", + "phpunit/phpunit": "^9.6|^10.5", + "spatie/pest-plugin-snapshots": "^1.1|^2.1", + "spatie/phpunit-snapshot-assertions": "^4.2|^5.1", + "spatie/test-time": "^1.2.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\Honeypot\\HoneypotServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Spatie\\Honeypot\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Preventing spam submitted through forms", + "homepage": "https://github.com/spatie/laravel-honeypot", + "keywords": [ + "laravel-honeypot", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/laravel-honeypot/tree/4.5.3" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + } + ], + "time": "2024-09-20T13:45:00+00:00" + }, + { + "name": "spatie/laravel-package-tools", + "version": "1.16.6", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-package-tools.git", + "reference": "1f26942dc1e5c49eacfced34fdbc29ed234bd7b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/1f26942dc1e5c49eacfced34fdbc29ed234bd7b3", + "reference": "1f26942dc1e5c49eacfced34fdbc29ed234bd7b3", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^9.28|^10.0|^11.0", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "orchestra/testbench": "^7.7|^8.0", + "pestphp/pest": "^1.22", + "phpunit/phpunit": "^9.5.24", + "spatie/pest-plugin-test-time": "^1.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\LaravelPackageTools\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" + } + ], + "description": "Tools for creating Laravel packages", + "homepage": "https://github.com/spatie/laravel-package-tools", + "keywords": [ + "laravel-package-tools", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-package-tools/issues", + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.6" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-11-18T15:02:02+00:00" + }, + { + "name": "spatie/laravel-sitemap", + "version": "7.3.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-sitemap.git", + "reference": "9423e3bb82d9e83fa8969a2a30dcea309d802e7e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-sitemap/zipball/9423e3bb82d9e83fa8969a2a30dcea309d802e7e", + "reference": "9423e3bb82d9e83fa8969a2a30dcea309d802e7e", + "shasum": "" + }, + "require": { + "guzzlehttp/guzzle": "^7.8", + "illuminate/support": "^10.0|^11.0", + "nesbot/carbon": "^2.71|^3.0", + "php": "^8.2||^8.3||^8.4", + "spatie/crawler": "^8.0.1", + "spatie/laravel-package-tools": "^1.16.1", + "symfony/dom-crawler": "^6.3.4|^7.0" + }, + "require-dev": { + "mockery/mockery": "^1.6.6", + "orchestra/testbench": "^8.14|^9.0", + "pestphp/pest": "^2.24", + "spatie/pest-plugin-snapshots": "^2.1", + "spatie/phpunit-snapshot-assertions": "^5.1.2", + "spatie/temporary-directory": "^2.2" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\Sitemap\\SitemapServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Spatie\\Sitemap\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Create and generate sitemaps with ease", + "homepage": "https://github.com/spatie/laravel-sitemap", + "keywords": [ + "laravel-sitemap", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/laravel-sitemap/tree/7.3.3" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + } + ], + "time": "2025-01-27T09:44:53+00:00" + }, + { + "name": "spatie/robots-txt", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/robots-txt.git", + "reference": "acc7f4438813989d0427624f7901232084916170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/robots-txt/zipball/acc7f4438813989d0427624f7901232084916170", + "reference": "acc7f4438813989d0427624f7901232084916170", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "phpunit/phpunit": "^11.5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Robots\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brent Roose", + "email": "brent@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Determine if a page may be crawled from robots.txt and robots meta tags", + "homepage": "https://github.com/spatie/robots-txt", + "keywords": [ + "robots-txt", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/robots-txt/issues", + "source": "https://github.com/spatie/robots-txt/tree/2.3.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2025-01-27T10:15:34+00:00" + }, + { + "name": "spatie/temporary-directory", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/temporary-directory.git", + "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/580eddfe9a0a41a902cac6eeb8f066b42e65a32b", + "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\TemporaryDirectory\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alex Vanderbist", + "email": "alex@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "Easily create, use and destroy temporary directories", + "homepage": "https://github.com/spatie/temporary-directory", + "keywords": [ + "php", + "spatie", + "temporary-directory" + ], + "support": { + "issues": "https://github.com/spatie/temporary-directory/issues", + "source": "https://github.com/spatie/temporary-directory/tree/2.3.0" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2025-01-13T13:04:43+00:00" + }, + { + "name": "symfony/clock", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/clock.git", + "reference": "97bebc53548684c17ed696bc8af016880f0f098d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/clock/zipball/97bebc53548684c17ed696bc8af016880f0f098d", + "reference": "97bebc53548684c17ed696bc8af016880f0f098d", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/clock": "^1.0", + "symfony/polyfill-php83": "^1.28" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/now.php" + ], + "psr-4": { + "Symfony\\Component\\Clock\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Decouples applications from the system clock", + "homepage": "https://symfony.com", + "keywords": [ + "clock", + "psr20", + "time" + ], + "support": { + "source": "https://github.com/symfony/clock/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/console", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/ff04e5b5ba043d2badfb308197b9e6b42883fcd5", + "reference": "ff04e5b5ba043d2badfb308197b9e6b42883fcd5", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^6.4|^7.0" + }, + "conflict": { + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-06T14:23:19+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "4aa4f6b3d6749c14d3aa815eef8226632e7bbc66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/4aa4f6b3d6749c14d3aa815eef8226632e7bbc66", + "reference": "4aa4f6b3d6749c14d3aa815eef8226632e7bbc66", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/dom-crawler", + "version": "v7.2.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/dom-crawler.git", + "reference": "b176e1f1f550ef44c94eb971bf92488de08f7c6b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/b176e1f1f550ef44c94eb971bf92488de08f7c6b", + "reference": "b176e1f1f550ef44c94eb971bf92488de08f7c6b", + "shasum": "" + }, + "require": { + "masterminds/html5": "^2.6", + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "symfony/css-selector": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\DomCrawler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases DOM navigation for HTML and XML documents", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dom-crawler/tree/v7.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-13T16:15:23+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v7.1.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "010e44661f4c6babaf8c4862fe68c24a53903342" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/010e44661f4c6babaf8c4862fe68c24a53903342", + "reference": "010e44661f4c6babaf8c4862fe68c24a53903342", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^6.4|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^6.4|^7.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v7.1.7" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-05T15:34:55+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "87254c78dd50721cfd015b62277a8281c5589702" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87254c78dd50721cfd015b62277a8281c5589702", + "reference": "87254c78dd50721cfd015b62277a8281c5589702", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/event-dispatcher-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/dependency-injection": "<6.4", + "symfony/service-contracts": "<2.5" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/event-dispatcher": "^1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/finder", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "2cb89664897be33f78c65d3d2845954c8d7a43b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/2cb89664897be33f78c65d3d2845954c8d7a43b8", + "reference": "2cb89664897be33f78c65d3d2845954c8d7a43b8", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "symfony/filesystem": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-10-01T08:31:23+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "f4419ec69ccfc3f725a4de7c20e4e57626d10112" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/f4419ec69ccfc3f725a4de7c20e4e57626d10112", + "reference": "f4419ec69ccfc3f725a4de7c20e4e57626d10112", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" + }, + "conflict": { + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" + }, + "require-dev": { + "doctrine/dbal": "^3.6|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.4.12|^7.1.5", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-09T09:16:45+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "33fef24e3dc79d6d30bf4936531f2f4bd2ca189e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/33fef24e3dc79d6d30bf4936531f2f4bd2ca189e", + "reference": "33fef24e3dc79d6d30bf4936531f2f4bd2ca189e", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/browser-kit": "<6.4", + "symfony/cache": "<6.4", + "symfony/config": "<6.4", + "symfony/console": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/doctrine-bridge": "<6.4", + "symfony/form": "<6.4", + "symfony/http-client": "<6.4", + "symfony/http-client-contracts": "<2.5", + "symfony/mailer": "<6.4", + "symfony/messenger": "<6.4", + "symfony/translation": "<6.4", + "symfony/translation-contracts": "<2.5", + "symfony/twig-bridge": "<6.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.4", + "twig/twig": "<3.0.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^6.4|^7.0", + "symfony/clock": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/css-selector": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^7.1", + "symfony/routing": "^6.4|^7.0", + "symfony/serializer": "^7.1", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/translation": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^6.4|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0", + "symfony/var-exporter": "^6.4|^7.0", + "twig/twig": "^3.0.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-13T14:25:32+00:00" + }, + { + "name": "symfony/mailer", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailer.git", + "reference": "69c9948451fb3a6a4d47dc8261d1794734e76cdd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailer/zipball/69c9948451fb3a6a4d47dc8261d1794734e76cdd", + "reference": "69c9948451fb3a6a4d47dc8261d1794734e76cdd", + "shasum": "" + }, + "require": { + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.2", + "psr/event-dispatcher": "^1", + "psr/log": "^1|^2|^3", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<6.4", + "symfony/messenger": "<6.4", + "symfony/mime": "<6.4", + "symfony/twig-bridge": "<6.4" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/twig-bridge": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps sending emails", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailer/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/mime", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "caa1e521edb2650b8470918dfe51708c237f0598" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/caa1e521edb2650b8470918dfe51708c237f0598", + "reference": "caa1e521edb2650b8470918dfe51708c237f0598", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<6.4", + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^6.4|^7.0", + "symfony/property-info": "^6.4|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-10-25T15:11:02+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", + "shasum": "" + }, + "require": { + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "3833d7255cc303546435cb650316bff708a1c75c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-uuid", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-uuid.git", + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-uuid": "*" + }, + "suggest": { + "ext-uuid": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Uuid\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for uuid functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/process", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "42783370fda6e538771f7c7a36e9fa2ee3a84892" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/42783370fda6e538771f7c7a36e9fa2ee3a84892", + "reference": "42783370fda6e538771f7c7a36e9fa2ee3a84892", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-06T14:23:19+00:00" + }, + { + "name": "symfony/routing", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "66a2c469f6c22d08603235c46a20007c0701ea0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/66a2c469f6c22d08603235c46a20007c0701ea0a", + "reference": "66a2c469f6c22d08603235c46a20007c0701ea0a", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "symfony/config": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/yaml": "<6.4" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/yaml": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-10-01T08:31:23+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/string", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/591ebd41565f356fcd8b090fe64dbb5878f50281", + "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-13T13:31:21+00:00" + }, + { + "name": "symfony/translation", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "b9f72ab14efdb6b772f85041fa12f820dee8d55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/b9f72ab14efdb6b772f85041fa12f820dee8d55f", + "reference": "b9f72ab14efdb6b772f85041fa12f820dee8d55f", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2.5|^3.0" + }, + "conflict": { + "symfony/config": "<6.4", + "symfony/console": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<6.4", + "symfony/service-contracts": "<2.5", + "symfony/twig-bundle": "<6.4", + "symfony/yaml": "<6.4" + }, + "provide": { + "symfony/translation-implementation": "2.3|3.0" + }, + "require-dev": { + "nikic/php-parser": "^4.18|^5.0", + "psr/log": "^1|^2|^3", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/routing": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-28T12:35:13+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/uid", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "65befb3bb2d503bbffbd08c815aa38b472999917" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/65befb3bb2d503bbffbd08c815aa38b472999917", + "reference": "65befb3bb2d503bbffbd08c815aa38b472999917", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v7.1.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8", + "reference": "7bb01a47b1b00428d32b5e7b4d3b2d1aa58d3db8", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/console": "<6.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/uid": "^6.4|^7.0", + "twig/twig": "^3.0.4" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v7.1.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-11-08T15:46:42+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "v2.2.7", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" + }, + "time": "2023-12-08T13:03:43+00:00" + }, + { + "name": "ua-parser/uap-php", + "version": "v3.9.14", + "source": { + "type": "git", + "url": "https://github.com/ua-parser/uap-php.git", + "reference": "b796c5ea5df588e65aeb4e2c6cce3811dec4fed6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ua-parser/uap-php/zipball/b796c5ea5df588e65aeb4e2c6cce3811dec4fed6", + "reference": "b796c5ea5df588e65aeb4e2c6cce3811dec4fed6", + "shasum": "" + }, + "require": { + "composer/ca-bundle": "^1.1", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.33", + "phpunit/phpunit": "^8 || ^9", + "symfony/console": "^3.4 || ^4.2 || ^4.3 || ^5.0", + "symfony/filesystem": "^3.4 || ^4.2 || ^4.3 || ^5.0", + "symfony/finder": "^3.4 || ^4.2 || ^4.3 || ^5.0", + "symfony/yaml": "^3.4 || ^4.2 || ^4.3 || ^5.0", + "vimeo/psalm": "^3.12" + }, + "suggest": { + "symfony/console": "Required for CLI usage - ^3.4 || ^4.3 || ^5.0", + "symfony/filesystem": "Required for CLI usage - ^3.4 || ^4.3 || ^5.0", + "symfony/finder": "Required for CLI usage - ^3.4 || ^4.3 || ^5.0", + "symfony/yaml": "Required for CLI usage - ^3.4 || ^4.3 || ^5.0" + }, + "bin": [ + "bin/uaparser" + ], + "type": "library", + "autoload": { + "psr-4": { + "UAParser\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dave Olsen", + "email": "dmolsen@gmail.com" + }, + { + "name": "Lars Strojny", + "email": "lars@strojny.net" + } + ], + "description": "A multi-language port of Browserscope's user agent parser.", + "support": { + "issues": "https://github.com/ua-parser/uap-php/issues", + "source": "https://github.com/ua-parser/uap-php/tree/v3.9.14" + }, + "time": "2020-10-02T23:36:20+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.6.1", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.1.3", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.3", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "ext-filter": "*", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://github.com/vlucas" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2024-07-20T21:52:34+00:00" + }, + { + "name": "vluzrmos/language-detector", + "version": "v2.3.5", + "source": { + "type": "git", + "url": "https://github.com/vluzrmos/laravel-language-detector.git", + "reference": "73f103b51e809ebc94a27fc74d0c8d8b469f0256" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vluzrmos/laravel-language-detector/zipball/73f103b51e809ebc94a27fc74d0c8d8b469f0256", + "reference": "73f103b51e809ebc94a27fc74d0c8d8b469f0256", + "shasum": "" + }, + "require": { + "illuminate/support": "~6.0 || ~7.0 || ~8.0 || ~9.0 || ~10.0 || ^11.0", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.16 || ^3.51", + "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^8.5 || ^9.0 || ^10.5" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "Vluzrmos\\LanguageDetector\\Providers\\LanguageDetectorServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "src/Support/helpers.php" + ], + "psr-4": { + "Vluzrmos\\LanguageDetector\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vagner do Carmo", + "email": "vluzrmos@gmail.com" + } + ], + "description": "Detect the language for your application using browser preferences, subdomains or route prefixes.", + "keywords": [ + "i18n", + "language", + "laravel", + "locale", + "lumen" + ], + "support": { + "issues": "https://github.com/vluzrmos/laravel-language-detector/issues", + "source": "https://github.com/vluzrmos/laravel-language-detector/tree/v2.3.5" + }, + "time": "2024-11-17T14:05:17+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "b56450eed252f6801410d810c8e1727224ae0743" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", + "reference": "b56450eed252f6801410d810c8e1727224ae0743", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/2.0.1" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2022-03-08T17:03:00+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.14.7", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "f484b8c9124de0b163da39958331098ffcd4a65e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/f484b8c9124de0b163da39958331098ffcd4a65e", + "reference": "f484b8c9124de0b163da39958331098ffcd4a65e", + "shasum": "" + }, + "require": { + "illuminate/routing": "^9|^10|^11", + "illuminate/session": "^9|^10|^11", + "illuminate/support": "^9|^10|^11", + "maximebf/debugbar": "~1.23.0", + "php": "^8.0", + "symfony/finder": "^6|^7" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^5|^6|^7|^8|^9", + "phpunit/phpunit": "^9.6|^10.5", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.14-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-debugbar/issues", + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.14.7" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2024-11-14T09:12:35+00:00" + }, + { + "name": "fakerphp/faker", + "version": "v1.24.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "a136842a532bac9ecd8a1c723852b09915d7db50" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/a136842a532bac9ecd8a1c723852b09915d7db50", + "reference": "a136842a532bac9ecd8a1c723852b09915d7db50", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.24.0" + }, + "time": "2024-11-07T15:11:20+00:00" + }, + { + "name": "filp/whoops", + "version": "2.16.0", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], + "support": { + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.16.0" + }, + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2024-09-25T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel/pint", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/pint.git", + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pint/zipball/35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.64.0", + "illuminate/view": "^10.48.20", + "larastan/larastan": "^2.9.8", + "laravel-zero/framework": "^10.4.0", + "mockery/mockery": "^1.6.12", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^2.35.1" + }, + "bin": [ + "builds/pint" + ], + "type": "project", + "autoload": { + "psr-4": { + "App\\": "app/", + "Database\\Seeders\\": "database/seeders/", + "Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "An opinionated code formatter for PHP.", + "homepage": "https://laravel.com", + "keywords": [ + "format", + "formatter", + "lint", + "linter", + "php" + ], + "support": { + "issues": "https://github.com/laravel/pint/issues", + "source": "https://github.com/laravel/pint" + }, + "time": "2024-09-24T17:22:50+00:00" + }, + { + "name": "laravel/sail", + "version": "v1.38.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/sail.git", + "reference": "d17abae06661dd6c46d13627b1683a2924259145" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sail/zipball/d17abae06661dd6c46d13627b1683a2924259145", + "reference": "d17abae06661dd6c46d13627b1683a2924259145", + "shasum": "" + }, + "require": { + "illuminate/console": "^9.52.16|^10.0|^11.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0", + "illuminate/support": "^9.52.16|^10.0|^11.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0", + "symfony/yaml": "^6.0|^7.0" + }, + "require-dev": { + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10" + }, + "bin": [ + "bin/sail" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sail\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Docker files for running a basic Laravel application.", + "keywords": [ + "docker", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" + }, + "time": "2024-11-11T20:16:51+00:00" + }, + { + "name": "maximebf/debugbar", + "version": "v1.23.3", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "687400043d77943ef95e8417cb44e1673ee57844" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/687400043d77943ef95e8417cb44e1673ee57844", + "reference": "687400043d77943ef95e8417cb44e1673ee57844", + "shasum": "" + }, + "require": { + "php": "^7.2|^8", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4|^5|^6|^7" + }, + "require-dev": { + "dbrekelmans/bdi": "^1", + "phpunit/phpunit": "^8|^9", + "symfony/panther": "^1|^2.1", + "twig/twig": "^1.38|^2.7|^3.0" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.23-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "support": { + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.23.3" + }, + "time": "2024-10-29T12:24:25+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.6.12", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2024-05-16T03:13:13+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.12.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3 <3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2024-11-08T17:47:46+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v8.5.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "f5c101b929c958e849a633283adff296ed5f38f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f5c101b929c958e849a633283adff296ed5f38f5", + "reference": "f5c101b929c958e849a633283adff296ed5f38f5", + "shasum": "" + }, + "require": { + "filp/whoops": "^2.16.0", + "nunomaduro/termwind": "^2.1.0", + "php": "^8.2.0", + "symfony/console": "^7.1.5" + }, + "conflict": { + "laravel/framework": "<11.0.0 || >=12.0.0", + "phpunit/phpunit": "<10.5.1 || >=12.0.0" + }, + "require-dev": { + "larastan/larastan": "^2.9.8", + "laravel/framework": "^11.28.0", + "laravel/pint": "^1.18.1", + "laravel/sail": "^1.36.0", + "laravel/sanctum": "^4.0.3", + "laravel/tinker": "^2.10.0", + "orchestra/testbench-core": "^9.5.3", + "pestphp/pest": "^2.36.0 || ^3.4.0", + "sebastian/environment": "^6.1.0 || ^7.2.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + }, + "branch-alias": { + "dev-8.x": "8.x-dev" + } + }, + "autoload": { + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2024-10-15T16:06:32+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "11.0.7", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "f7f08030e8811582cc459871d28d6f5a1a4d35ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f7f08030e8811582cc459871d28d6f5a1a4d35ca", + "reference": "f7f08030e8811582cc459871d28d6f5a1a4d35ca", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^5.3.1", + "php": ">=8.2", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-text-template": "^4.0.1", + "sebastian/code-unit-reverse-lookup": "^4.0.1", + "sebastian/complexity": "^4.0.1", + "sebastian/environment": "^7.2.0", + "sebastian/lines-of-code": "^3.0.1", + "sebastian/version": "^5.0.2", + "theseer/tokenizer": "^1.2.3" + }, + "require-dev": { + "phpunit/phpunit": "^11.4.1" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "11.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.7" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-10-09T06:21:38+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "5.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/118cfaaa8bc5aef3287bf315b6060b1174754af6", + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/5.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-08-27T05:02:59+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "5.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/c1ca3814734c07492b3d4c5f794f4b0995333da2", + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^11.0" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "security": "https://github.com/sebastianbergmann/php-invoker/security/policy", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/5.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:07:44+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/3e0404dc6b300e6bf56415467ebcb3fe4f33e964", + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:08:43+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "7.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "7.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "security": "https://github.com/sebastianbergmann/php-timer/security/policy", + "source": "https://github.com/sebastianbergmann/php-timer/tree/7.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:09:35+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "11.4.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "e8e8ed1854de5d36c088ec1833beae40d2dedd76" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e8e8ed1854de5d36c088ec1833beae40d2dedd76", + "reference": "e8e8ed1854de5d36c088ec1833beae40d2dedd76", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", + "php": ">=8.2", + "phpunit/php-code-coverage": "^11.0.7", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-invoker": "^5.0.1", + "phpunit/php-text-template": "^4.0.1", + "phpunit/php-timer": "^7.0.1", + "sebastian/cli-parser": "^3.0.2", + "sebastian/code-unit": "^3.0.1", + "sebastian/comparator": "^6.1.1", + "sebastian/diff": "^6.0.2", + "sebastian/environment": "^7.2.0", + "sebastian/exporter": "^6.1.3", + "sebastian/global-state": "^7.0.2", + "sebastian/object-enumerator": "^6.0.1", + "sebastian/type": "^5.1.0", + "sebastian/version": "^5.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "11.4-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.4.3" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2024-10-28T13:07:50+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/15c5dd40dc4f38794d383bb95465193f5e0ae180", + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:41:36+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "6bb7d09d6623567178cf54126afa9c2310114268" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/6bb7d09d6623567178cf54126afa9c2310114268", + "reference": "6bb7d09d6623567178cf54126afa9c2310114268", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "security": "https://github.com/sebastianbergmann/code-unit/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:44:28+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "183a9b2632194febd219bb9246eee421dad8d45e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/183a9b2632194febd219bb9246eee421dad8d45e", + "reference": "183a9b2632194febd219bb9246eee421dad8d45e", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "security": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:45:54+00:00" + }, + { + "name": "sebastian/comparator", + "version": "6.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "43d129d6a0f81c78bee378b46688293eb7ea3739" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/43d129d6a0f81c78bee378b46688293eb7ea3739", + "reference": "43d129d6a0f81c78bee378b46688293eb7ea3739", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.2", + "sebastian/diff": "^6.0", + "sebastian/exporter": "^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^11.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/6.2.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-10-31T05:30:08+00:00" + }, + { + "name": "sebastian/complexity", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ee41d384ab1906c68852636b6de493846e13e5a0", + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^5.0", + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:49:50+00:00" + }, + { + "name": "sebastian/diff", + "version": "6.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/b4ccd857127db5d41a5b676f24b51371d76d8544", + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/6.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:53:05+00:00" + }, + { + "name": "sebastian/environment", + "version": "7.2.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", + "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "7.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "https://github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/7.2.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:54:44+00:00" + }, + { + "name": "sebastian/exporter", + "version": "6.1.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", + "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=8.2", + "sebastian/recursion-context": "^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^11.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/6.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:56:19+00:00" + }, + { + "name": "sebastian/global-state", + "version": "7.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "3be331570a721f9a4b5917f4209773de17f747d7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/3be331570a721f9a4b5917f4209773de17f747d7", + "reference": "3be331570a721f9a4b5917f4209773de17f747d7", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "7.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/7.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:57:36+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d36ad0d782e5756913e42ad87cb2890f4ffe467a", + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^5.0", + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/3.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T04:58:38+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "6.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "f5b498e631a74204185071eb41f33f38d64608aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f5b498e631a74204185071eb41f33f38d64608aa", + "reference": "f5b498e631a74204185071eb41f33f38d64608aa", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "security": "https://github.com/sebastianbergmann/object-enumerator/security/policy", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/6.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:00:13+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "4.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e1a43b411b2ad34146dee7524cb13a068bb35f9", + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "security": "https://github.com/sebastianbergmann/object-reflector/security/policy", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/4.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:01:32+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "6.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "694d156164372abbd149a4b85ccda2e4670c0e16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/694d156164372abbd149a4b85ccda2e4670c0e16", + "reference": "694d156164372abbd149a4b85ccda2e4670c0e16", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/6.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-07-03T05:10:34+00:00" + }, + { + "name": "sebastian/type", + "version": "5.1.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "require-dev": { + "phpunit/phpunit": "^11.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "security": "https://github.com/sebastianbergmann/type/security/policy", + "source": "https://github.com/sebastianbergmann/type/tree/5.1.0" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-09-17T13:12:04+00:00" + }, + { + "name": "sebastian/version", + "version": "5.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874", + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874", + "shasum": "" + }, + "require": { + "php": ">=8.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "security": "https://github.com/sebastianbergmann/version/security/policy", + "source": "https://github.com/sebastianbergmann/version/tree/5.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2024-10-09T05:16:32+00:00" + }, + { + "name": "spatie/backtrace", + "version": "1.6.3", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "7c18db2bc667ac84e5d7c18e33f16c38ff2d8838" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/7c18db2bc667ac84e5d7c18e33f16c38ff2d8838", + "reference": "7c18db2bc667ac84e5d7c18e33f16c38ff2d8838", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "laravel/serializable-closure": "^1.3", + "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "source": "https://github.com/spatie/backtrace/tree/1.6.3" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2024-11-18T14:58:58+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "illuminate/broadcasting": "^10.0|^11.0", + "illuminate/cache": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "livewire/livewire": "^2.11|^3.3.5", + "openai-php/client": "^0.10.1", + "orchestra/testbench": "^7.0|8.22.3|^9.0", + "pestphp/pest": "^2.20", + "phpstan/phpstan": "^1.11", + "psr/simple-cache": "^3.0", + "psr/simple-cache-implementation": "^3.0", + "spatie/ray": "^1.28", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "legacy/ignition", + "Spatie\\ErrorSolutions\\": "src", + "Spatie\\LaravelIgnition\\": "legacy/laravel-ignition" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ruben Van Assche", + "email": "ruben@spatie.be", + "role": "Developer" + } + ], + "description": "This is my package error-solutions", + "homepage": "https://github.com/spatie/error-solutions", + "keywords": [ + "error-solutions", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/error-solutions/issues", + "source": "https://github.com/spatie/error-solutions/tree/1.1.1" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2024-07-25T11:06:04+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", + "reference": "180f8ca4c0d0d6fc51477bd8c53ce37ab5a96122", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", + "php": "^8.0", + "spatie/backtrace": "^1.6.1", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/pest-plugin-snapshots": "^1.0|^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.8.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-08-01T08:27:26+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.15.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "php": "^8.0", + "spatie/error-solutions": "^1.0", + "spatie/flare-client-php": "^1.7", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0", + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20|^2.0", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.5.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-06-12T14:55:22+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "2.8.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "spatie/ignition": "^1.15", + "symfony/console": "^6.2.3|^7.0", + "symfony/var-dumper": "^6.2.3|^7.0" + }, + "require-dev": { + "livewire/livewire": "^2.11|^3.3.5", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.8.1", + "orchestra/testbench": "8.22.3|^9.0", + "pestphp/pest": "^2.34", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.16", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-06-12T15:01:18+00:00" + }, + { + "name": "symfony/yaml", + "version": "v7.1.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "3ced3f29e4f0d6bce2170ff26719f1fe9aacc671" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/3ced3f29e4f0d6bce2170ff26719f1fe9aacc671", + "reference": "3ced3f29e4f0d6bce2170ff26719f1fe9aacc671", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "symfony/console": "<6.4" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0" + }, + "bin": [ + "Resources/bin/yaml-lint" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/yaml/tree/v7.1.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-25T14:20:29+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:36:25+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": { + "laravelista/comments": 20 + }, + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "php": "^8.2" + }, + "platform-dev": {}, + "plugin-api-version": "2.6.0" +} diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..fb93f3e --- /dev/null +++ b/config/app.php @@ -0,0 +1,189 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool) env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | your application so that it is used when running Artisan tasks. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + 'asset_url' => env('ASSET_URL'), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. + | + */ + + 'timezone' => 'UTC', + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'en_US', + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache" + | + */ + + 'maintenance' => [ + 'driver' => 'file', + // 'store' => 'redis', + ], + + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => ServiceProvider::defaultProviders()->merge([ + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... + */ + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + // App\Providers\BroadcastServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\RouteServiceProvider::class, + ])->toArray(), + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => Facade::defaultAliases()->merge([ + // 'Example' => App\Facades\Example::class, + 'Captcha' => Mews\Captcha\Facades\Captcha::class, + ])->toArray(), + +]; diff --git a/config/auth.php b/config/auth.php new file mode 100644 index 0000000..9548c15 --- /dev/null +++ b/config/auth.php @@ -0,0 +1,115 @@ + [ + 'guard' => 'web', + 'passwords' => 'users', + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | here which uses session storage and the Eloquent user provider. + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | If you have multiple user tables or models you may configure multiple + | sources which represent each model / table. These sources may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => App\Models\User::class, + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | You may specify multiple password reset configurations if you have more + | than one user table or model in the application and you want to have + | separate password reset settings based on the specific user types. + | + | The expiry time is the number of minutes that each reset token will be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => 'password_reset_tokens', + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => 10800, + +]; diff --git a/config/broadcasting.php b/config/broadcasting.php new file mode 100644 index 0000000..2410485 --- /dev/null +++ b/config/broadcasting.php @@ -0,0 +1,71 @@ + env('BROADCAST_DRIVER', 'null'), + + /* + |-------------------------------------------------------------------------- + | Broadcast Connections + |-------------------------------------------------------------------------- + | + | Here you may define all of the broadcast connections that will be used + | to broadcast events to other systems or over websockets. Samples of + | each available type of connection are provided inside this array. + | + */ + + 'connections' => [ + + 'pusher' => [ + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com', + 'port' => env('PUSHER_PORT', 443), + 'scheme' => env('PUSHER_SCHEME', 'https'), + 'encrypted' => true, + 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', + ], + 'client_options' => [ + // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html + ], + ], + + 'ably' => [ + 'driver' => 'ably', + 'key' => env('ABLY_KEY'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + ], + + 'log' => [ + 'driver' => 'log', + ], + + 'null' => [ + 'driver' => 'null', + ], + + ], + +]; diff --git a/config/cache.php b/config/cache.php new file mode 100644 index 0000000..d4171e2 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,111 @@ + env('CACHE_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb", "octane", "null" + | + */ + + 'stores' => [ + + 'apc' => [ + 'driver' => 'apc', + ], + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'cache', + 'connection' => null, + 'lock_connection' => null, + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + 'lock_path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'cache', + 'lock_connection' => 'default', + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing the APC, database, memcached, Redis, or DynamoDB cache + | stores there might be other applications using the same cache. For + | that reason, you may prefix every cache key to avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), + +]; diff --git a/config/captcha.php b/config/captcha.php new file mode 100644 index 0000000..f11ec87 --- /dev/null +++ b/config/captcha.php @@ -0,0 +1,50 @@ + ['2', '3', '4', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'M', 'N', 'P', 'Q', 'R', 'T', 'U', 'X', 'Y', 'Z'], + 'default' => [ + 'length' => 5, + 'width' => 120, + 'height' => 36, + 'quality' => 90, + 'math' => false, + 'expire' => 60, + 'encrypt' => false, + ], + 'math' => [ + 'length' => 9, + 'width' => 120, + 'height' => 36, + 'quality' => 90, + 'math' => true, + ], + + 'flat' => [ + 'length' => 6, + 'width' => 160, + 'height' => 46, + 'quality' => 90, + 'lines' => 6, + 'bgImage' => false, + 'bgColor' => '#ecf2f4', + 'fontColors' => ['#2c3e50', '#c0392b', '#16a085', '#c0392b', '#8e44ad', '#303f9f', '#f57c00', '#795548'], + 'contrast' => -5, + ], + 'mini' => [ + 'length' => 3, + 'width' => 60, + 'height' => 32, + ], + 'inverse' => [ + 'length' => 5, + 'width' => 120, + 'height' => 36, + 'quality' => 90, + 'sensitive' => true, + 'angle' => 12, + 'sharpen' => 10, + 'blur' => 2, + 'invert' => true, + 'contrast' => -5, + ] +]; diff --git a/config/cors.php b/config/cors.php new file mode 100644 index 0000000..8a39e6d --- /dev/null +++ b/config/cors.php @@ -0,0 +1,34 @@ + ['api/*', 'sanctum/csrf-cookie'], + + 'allowed_methods' => ['*'], + + 'allowed_origins' => ['*'], + + 'allowed_origins_patterns' => [], + + 'allowed_headers' => ['*'], + + 'exposed_headers' => [], + + 'max_age' => 0, + + 'supports_credentials' => false, + +]; diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..137ad18 --- /dev/null +++ b/config/database.php @@ -0,0 +1,151 @@ + env('DB_CONNECTION', 'mysql'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Here are each of the database connections setup for your application. + | Of course, examples of configuring each database platform that is + | supported by Laravel is shown below to make development simple. + | + | + | All database work in Laravel is done through the PHP PDO facilities + | so make sure you have the driver for your particular database of + | choice installed on your machine before you begin development. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + 'search_path' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + // 'encrypt' => env('DB_ENCRYPT', 'yes'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run in the database. + | + */ + + 'migrations' => 'migrations', + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as APC or Memcached. Laravel makes it easy to dig right in. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + +]; diff --git a/config/discord-alerts.php b/config/discord-alerts.php new file mode 100644 index 0000000..937db3f --- /dev/null +++ b/config/discord-alerts.php @@ -0,0 +1,17 @@ + [ + 'default' => env('DISCORD_ALERT_WEBHOOK'), + 'update' => env('DISCORD_ALERT_UPDATE_WEBHOOK'), + ], + + /* + * This job will send the message to Discord. You can extend this + * job to set timeouts, retries, etc... + */ + 'job' => Spatie\DiscordAlerts\Jobs\SendToDiscordChannelJob::class, +]; diff --git a/config/discord.php b/config/discord.php new file mode 100644 index 0000000..8d32b62 --- /dev/null +++ b/config/discord.php @@ -0,0 +1,10 @@ + 'https://discord.gg/yAqgVKNgG5', + + 'guild_id' => 802233383710228550, + + 'patreon_roles' => [841798154999169054, 803329707650187364, 803327903659196416, 803325441942356059, 803322725576736858, 802270568912519198, 802234830384267315], +]; diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100644 index 0000000..f207d5e --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,77 @@ + env('FILESYSTEM_DISK', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Here you may configure as many filesystem "disks" as you wish, and you + | may even configure multiple disks of the same driver. Defaults have + | been set up for each driver as an example of the required values. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + 'throw' => false, + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL').'/storage', + 'visibility' => 'public', + 'throw' => false, + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'throw' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + public_path('images/hentai') => storage_path('app/public/images/hentai'), + ], + +]; diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 0000000..bcd3be4 --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,52 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 10), + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 65536, + 'threads' => 1, + 'time' => 4, + ], + +]; diff --git a/config/hstream.php b/config/hstream.php new file mode 100644 index 0000000..06f3503 --- /dev/null +++ b/config/hstream.php @@ -0,0 +1,40 @@ + [ + 'https://imoto-ddl.ane-h.xyz', + 'https://chibi-ddl.imoto-h.xyz', + 'https://koneko-ddl.musume-h.xyz', + 'https://shinobu-ddl.rorikon-h.xyz' + ], + + // 4k Download Domain + 'download_domain_4k' => [ + 'https://imoto-ddlp.ane-h.xyz', + 'https://chibi-ddlp.imoto-h.xyz', + 'https://koneko-ddlp.musume-h.xyz', + 'https://shinobu-ddlp.rorikon-h.xyz' + ], + + // Stream Domain + 'stream_domain' => [ + 'https://imoto-str.ane-h.xyz', + 'https://chibi-str.imoto-h.xyz', + 'https://koneko-str.musume-h.xyz', + 'https://shinobu-str.rorikon-h.xyz' + ], + + // Asia Fallback (HTTP) + 'asia_download_domain' => [ + 'https://komako-b-ddl.musume-h.xyz' + ], + + 'asia_stream_domain' => [ + 'https://komako-b-str.musume-h.xyz' + ], + + // Free 4k Downloads + 'free_downloads' => true, + 'free_downloads_count' => 10, +]; diff --git a/config/image.php b/config/image.php new file mode 100644 index 0000000..503ec76 --- /dev/null +++ b/config/image.php @@ -0,0 +1,42 @@ + \Intervention\Image\Drivers\Gd\Driver::class, + + /* + |-------------------------------------------------------------------------- + | Configuration Options + |-------------------------------------------------------------------------- + | + | These options control the behavior of Intervention Image. + | + | - "autoOrientation" controls whether an imported image should be + | automatically rotated according to any existing Exif data. + | + | - "decodeAnimation" decides whether a possibly animated image is + | decoded as such or whether the animation is discarded. + | + | - "blendingColor" Defines the default blending color. + */ + + 'options' => [ + 'autoOrientation' => true, + 'decodeAnimation' => true, + 'blendingColor' => 'ffffff', + ] +]; diff --git a/config/lang-detector.php b/config/lang-detector.php new file mode 100644 index 0000000..4150b17 --- /dev/null +++ b/config/lang-detector.php @@ -0,0 +1,46 @@ + env('LANG_DETECTOR_AUTODETECT', true), + + /* + * Default driver to use to detect the request language. + * + * Available: browser, subdomain, uri. + */ + 'driver' => env('LANG_DETECTOR_DRIVER', 'browser'), + + /* + * Used on subdomain and uri drivers. That indicates which segment should be used + * to verify the language. + */ + 'segment' => env('LANG_DETECTOR_SEGMENT', 0), + + /* + * Languages available on the application. + * + * You could use parse_langs_to_array to use the string syntax + * or just use the array of languages with its aliases. + */ + 'languages' => parse_langs_to_array( + env('LANG_DETECTOR_LANGUAGES', ['en', 'de', 'fr']) + ), + + /* + * Indicates if should store detected locale on cookies + */ + 'cookie' => (bool) env('LANG_DETECTOR_COOKIE', true), + + /* + * Indicates if should encrypt cookie + */ + 'cookie_encrypt' => (bool) env('LANG_DETECTOR_COOKIE_ENCRYPT', false), + + /* + * Cookie name + */ + 'cookie_name' => env('LANG_DETECTOR_COOKIE', 'locale'), +]; diff --git a/config/larascord.php b/config/larascord.php new file mode 100644 index 0000000..dd94be1 --- /dev/null +++ b/config/larascord.php @@ -0,0 +1,247 @@ + env('LARASCORD_CLIENT_ID', null), + + /* + |-------------------------------------------------------------------------- + | Application Secret + |-------------------------------------------------------------------------- + | + | This is the secret of your Discord application. + | + */ + + 'client_secret' => env('LARASCORD_CLIENT_SECRET', null), + + /* + |-------------------------------------------------------------------------- + | Application Access Token + |-------------------------------------------------------------------------- + | + | This is the access token of your Discord application. + | + */ + + 'access_token' => env('LARASCORD_ACCESS_TOKEN', null), + + /* + |-------------------------------------------------------------------------- + | Grant Type + |-------------------------------------------------------------------------- + | + | This is the grant type of your Discord application. It must be set to + | "authorization_code". + | + */ + + 'grant_type' => env('LARASCORD_GRANT_TYPE', 'authorization_code'), + + /* + |-------------------------------------------------------------------------- + | Redirect URI + |-------------------------------------------------------------------------- + | + | This is the URI that Discord will redirect to after the user authorizes + | your application. + | + */ + + 'redirect_uri' => env('APP_URL', 'http://localhost:8000') . '/' . env('LARASCORD_PREFIX', 'larascord') . '/callback', + + /* + |-------------------------------------------------------------------------- + | Scopes + |-------------------------------------------------------------------------- + | + | These are the OAuth2 scopes of your Discord application. + | + */ + + 'scopes' => env('LARASCORD_SCOPE', 'identify&email&guilds&guilds.members.read'), + + /* + |-------------------------------------------------------------------------- + | Route Prefix + |-------------------------------------------------------------------------- + | + | This is the prefix that Larascord will use for its routes. For example, + | the prefix "larascord" will result in the route + | "https://domain.com/larascord/login". + | + */ + + 'route_prefix' => env('LARASCORD_PREFIX', 'larascord'), + + /* + |-------------------------------------------------------------------------- + | OAuth2 Prompt - "none" or "consent" + |-------------------------------------------------------------------------- + | + | The prompt controls how the authorization flow handles existing authorizations. + | If a user has previously authorized your application with the requested scopes + | and prompt is set to consent,it will request them to re-approve their + | authorization. If set to none, it will skip the authorization screen + | and redirect them back to your redirect URI without requesting + | their authorization. + | + */ + + 'prompt' => 'none', + + /* + |-------------------------------------------------------------------------- + | Restrict Access to Specific Guilds + |-------------------------------------------------------------------------- + | + | This option restricts access to the application to users who are members + | of specific Discord guilds. Users who are not members of the specified + | guilds will not be able to use the application. + | + */ + + 'guilds' => [], + + /* + |-------------------------------------------------------------------------- + | Restrict Access to Specific Guilds - Strict Mode + |-------------------------------------------------------------------------- + | + | Enabling this option will require the user to be a member of ALL the + | aforementioned guilds. If this option is disabled, the user will + | only need to be a member of at least ONE of the guilds. + | + */ + + 'guilds_strict' => false, + + /* + |-------------------------------------------------------------------------- + | Restrict Access to Specific Roles + |-------------------------------------------------------------------------- + | + | When this option is enabled, the user will only be able to use the + | application if they have at least one of the specified roles. + | + */ + + // WARNING: This feature makes one request to the Discord API for each guild you specify. (Because you need to fetch the roles for each guild) + // At the moment the database is not checked for roles when the user logs in. It will always fetch the roles from the Discord API. + // Currently, the roles are only updated in the database when the user logs in. The roles from the database can be used in a middleware. + // I'm working on a better way to do this, but for now, this will work. + + 'guild_roles' => [ + // 'guild_id' => [ + // 'role_id', + // 'role_id', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Remember Me + |-------------------------------------------------------------------------- + | + | Whether or not to remember the user after they log in. + | + */ + + 'remember_me' => true, + + /* + |-------------------------------------------------------------------------- + | Error Messages + |-------------------------------------------------------------------------- + | + | These are the error messages that will be displayed to the user if there + | is an error. + | + */ + + 'error_messages' => [ + 'missing_code' => [ + 'message' => 'The authorization code is missing.', + 'redirect' => '/' + ], + 'invalid_code' => [ + 'message' => 'The authorization code is invalid.', + 'redirect' => '/' + ], + 'authorization_failed' => [ + 'message' => 'The authorization failed.', + 'redirect' => '/' + ], + 'missing_email' => [ + 'message' => 'Couldn\'t get your e-mail address. Please add an e-mail address to your Discord account!', + 'redirect' => '/' + ], + 'invalid_user' => [ + 'message' => 'The user ID doesn\'t match the logged-in user.', + 'redirect' => '/' + ], + 'database_error' => [ + 'message' => 'There was an error with the database. Please try again later.', + 'redirect' => '/' + ], + 'missing_guilds_scope' => [ + 'message' => 'The "guilds" scope is required.', + 'redirect' => '/' + ], + 'missing_guilds_members_read_scope' => [ + 'message' => 'The "guilds" and "guilds.members.read" scopes are required.', + 'redirect' => '/' + ], + 'authorization_failed_guilds' => [ + 'message' => 'Couldn\'t get the servers you\'re in.', + 'redirect' => '/' + ], + 'not_member_guild_only' => [ + 'message' => 'You are not a member of the required guilds.', + 'redirect' => '/' + ], + 'missing_access_token' => [ + 'message' => 'The access token is missing.', + 'redirect' => '/' + ], + 'authorization_failed_roles' => [ + 'message' => 'Couldn\'t get the roles you have.', + 'redirect' => '/' + ], + 'missing_role' => [ + 'message' => 'You don\'t have the required roles.', + 'redirect' => '/' + ], + 'revoke_token_failed' => [ + 'message' => 'An error occurred while trying to revoke your access token.', + 'redirect' => '/' + ], + ], + + /* + |-------------------------------------------------------------------------- + | Success Messages + |-------------------------------------------------------------------------- + | + | These are the success messages that will be displayed to the user if there + | is no error. + | + */ + + 'success_messages' => [ + 'user_deleted' => [ + 'message' => 'Your account has been deleted.', + 'redirect' => '/' + ], + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 0000000..c44d276 --- /dev/null +++ b/config/logging.php @@ -0,0 +1,131 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => false, + ], + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => 14, + 'replace_placeholders' => true, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => LOG_USER, + 'replace_placeholders' => true, + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 0000000..e652bd0 --- /dev/null +++ b/config/mail.php @@ -0,0 +1,125 @@ + env('MAIL_MAILER', 'smtp'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers to be used while + | sending an e-mail. You will specify which one you are using for your + | mailers below. You are free to add additional mailers as required. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "log", "array", "failover" + | + */ + + 'mailers' => [ + 'smtp' => [ + 'transport' => 'smtp', + 'url' => env('MAIL_URL'), + 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), + 'port' => env('MAIL_PORT', 587), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN'), + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'mailgun' => [ + 'transport' => 'mailgun', + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'postmark' => [ + 'transport' => 'postmark', + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + ], + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + + /* + |-------------------------------------------------------------------------- + | Markdown Mail Settings + |-------------------------------------------------------------------------- + | + | If you are using Markdown based email rendering, you may configure your + | theme and component paths here, allowing you to customize the design + | of the emails. Or, you may simply stick with the Laravel defaults! + | + */ + + 'markdown' => [ + 'theme' => 'default', + + 'paths' => [ + resource_path('views/vendor/mail'), + ], + ], + +]; diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 0000000..01c6b05 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,109 @@ + env('QUEUE_CONNECTION', 'sync'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + 'retry_after' => 90, + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + 'after_commit' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'job_batches', + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control which database and table are used to store the jobs that + | have failed. You may change them to any database / table you wish. + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/sanctum.php b/config/sanctum.php new file mode 100644 index 0000000..f1e5fc0 --- /dev/null +++ b/config/sanctum.php @@ -0,0 +1,68 @@ + explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( + '%s%s', + 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', + Sanctum::currentApplicationUrlWithPort() + ))), + + /* + |-------------------------------------------------------------------------- + | Sanctum Guards + |-------------------------------------------------------------------------- + | + | This array contains the authentication guards that will be checked when + | Sanctum is trying to authenticate a request. If none of these guards + | are able to authenticate the request, Sanctum will use the bearer + | token that's present on an incoming request for authentication. + | + */ + + 'guard' => ['web'], + + /* + |-------------------------------------------------------------------------- + | Expiration Minutes + |-------------------------------------------------------------------------- + | + | This value controls the number of minutes until an issued token will be + | considered expired. If this value is null, personal access tokens do + | not expire. This won't tweak the lifetime of first-party sessions. + | + */ + + 'expiration' => null, + + /* + |-------------------------------------------------------------------------- + | Sanctum Middleware + |-------------------------------------------------------------------------- + | + | When authenticating your first-party SPA with Sanctum you may need to + | customize some of the middleware Sanctum uses while processing the + | request. You may change the middleware listed below as required. + | + */ + + 'middleware' => [ + 'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class, + 'encrypt_cookies' => Illuminate\Cookie\Middleware\EncryptCookies::class, + 'validate_csrf_token' => Illuminate\Foundation\Http\Middleware\ValidateCsrfToken::class, + ], + +]; diff --git a/config/services.php b/config/services.php new file mode 100644 index 0000000..0ace530 --- /dev/null +++ b/config/services.php @@ -0,0 +1,34 @@ + [ + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), + 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), + 'scheme' => 'https', + ], + + 'postmark' => [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + +]; diff --git a/config/session.php b/config/session.php new file mode 100644 index 0000000..8fed97c --- /dev/null +++ b/config/session.php @@ -0,0 +1,201 @@ + env('SESSION_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to immediately expire on the browser closing, set that option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => false, + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it is stored. All encryption will be run + | automatically by Laravel and you can use the Session like normal. + | + */ + + 'encrypt' => false, + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When using the native session driver, we need a location where session + | files may be stored. A default has been set for you but a different + | location may be specified. This is only needed for file sessions. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION'), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table we + | should use to manage the sessions. Of course, a sensible default is + | provided for you; however, you are free to change this as needed. + | + */ + + 'table' => 'sessions', + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | While using one of the framework's cache driven session backends you may + | list a cache store that should be used for these sessions. This value + | must match with one of the application's configured cache "stores". + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE'), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the cookie used to identify a session + | instance by ID. The name specified here will get used every time a + | new session cookie is created by the framework for every driver. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_').'_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application but you are free to change this when necessary. + | + */ + + 'path' => '/', + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | Here you may change the domain of the cookie used to identify a session + | in your application. This will determine which domains the cookie is + | available to in your application. A sensible default has been set. + | + */ + + 'domain' => env('SESSION_DOMAIN'), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. You are free to modify this option if needed. + | + */ + + 'http_only' => true, + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" since this is a secure default value. + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => 'lax', + +]; diff --git a/config/sweetalert.php b/config/sweetalert.php new file mode 100644 index 0000000..6053051 --- /dev/null +++ b/config/sweetalert.php @@ -0,0 +1,267 @@ + env('SWEET_ALERT_THEME', 'dark'), + + /* + |-------------------------------------------------------------------------- + | CDN LINK + |-------------------------------------------------------------------------- + | By default SweetAlert2 use its local sweetalert.all.js + | file. + | However, you can use its cdn if you want. + | + */ + + 'cdn' => env('SWEET_ALERT_CDN'), + + /* + |-------------------------------------------------------------------------- + | Always load the sweetalert.all.js + |-------------------------------------------------------------------------- + | There might be situations where you will always want the sweet alert + | js package to be there for you. (for eg. you might use it heavily to + | show notifications or you might want to use the native js) then this + | might be handy. + | + */ + + 'alwaysLoadJS' => env('SWEET_ALERT_ALWAYS_LOAD_JS', false), + + /* + |-------------------------------------------------------------------------- + | Never load the sweetalert.all.js + |-------------------------------------------------------------------------- + | If you want to handle the sweet alert js package by yourself + | (for eg. you might want to use laravel mix) then this can be + | handy. + | + | alwaysLoadJs = true & neverLoadJs = true => js will not be loaded + | alwaysLoadJs = true & neverLoadJs = false => js will be loaded + | alwaysLoadJs = false & neverLoadJs = false => js will be loaded when + | you set alert/toast by using the facade/helper functions. + */ + + 'neverLoadJS' => env('SWEET_ALERT_NEVER_LOAD_JS', false), + + /* + |-------------------------------------------------------------------------- + | AutoClose Timer + |-------------------------------------------------------------------------- + | + | This is for the all Modal windows. + | For specific modal just use the autoClose() helper method. + | + */ + + 'timer' => env('SWEET_ALERT_TIMER', 5000), + + /* + |-------------------------------------------------------------------------- + | Width + |-------------------------------------------------------------------------- + | + | Modal window width, including paddings (box-sizing: border-box). + | Can be in px or %. + | The default width is 32rem. + | This is for the all Modal windows. + | for particular modal just use the width() helper method. + */ + + 'width' => env('SWEET_ALERT_WIDTH', '32rem'), + + /* + |-------------------------------------------------------------------------- + | Height Auto + |-------------------------------------------------------------------------- + | By default, SweetAlert2 sets html's and body's CSS height to auto !important. + | If this behavior isn't compatible with your project's layout, + | set heightAuto to false. + | + */ + + 'height_auto' => env('SWEET_ALERT_HEIGHT_AUTO', true), + + /* + |-------------------------------------------------------------------------- + | Padding + |-------------------------------------------------------------------------- + | + | Modal window padding. + | Can be in px or %. + | The default padding is 1.25rem. + | This is for the all Modal windows. + | for particular modal just use the padding() helper method. + */ + + 'padding' => env('SWEET_ALERT_PADDING', '1.25rem'), + + /* + |-------------------------------------------------------------------------- + | Background + |-------------------------------------------------------------------------- + | + | Modal window background + | (CSS background property). + | The default background is '#fff'. + */ + + 'background' => env('SWEET_ALERT_BACKGROUND', '#fff'), + + /* + |-------------------------------------------------------------------------- + | Animation + |-------------------------------------------------------------------------- + | Custom animation with [Animate.css](https://daneden.github.io/animate.css/) + | If set to false, modal CSS animation will be use default ones. + | For specific modal just use the animation() helper method. + | + */ + + 'animation' => [ + 'enable' => env('SWEET_ALERT_ANIMATION_ENABLE', false), + ], + + 'animatecss' => env('SWEET_ALERT_ANIMATECSS', 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'), + + /* + |-------------------------------------------------------------------------- + | ShowConfirmButton + |-------------------------------------------------------------------------- + | If set to false, a "Confirm"-button will not be shown. + | It can be useful when you're using custom HTML description. + | This is for the all Modal windows. + | For specific modal just use the showConfirmButton() helper method. + | + */ + + 'show_confirm_button' => env('SWEET_ALERT_CONFIRM_BUTTON', true), + + /* + |-------------------------------------------------------------------------- + | ShowCloseButton + |-------------------------------------------------------------------------- + | If set to true, a "Close"-button will be shown, + | which the user can click on to dismiss the modal. + | This is for the all Modal windows. + | For specific modal just use the showCloseButton() helper method. + | + */ + + 'show_close_button' => env('SWEET_ALERT_CLOSE_BUTTON', false), + + /* + |----------------------------------------------------------------------- + | Confirm/Cancel Button Text + |----------------------------------------------------------------------- + | Change the default text of the modal buttons. + | The texts translations will be handled by Laravel at runtime. + | This is for the all Modal windows. + | For specific modal just use the confirmButtonText() and + | cancelButtonText() helper methods. + */ + + 'button_text' => [ + 'confirm' => env('SWEET_ALERT_CONFIRM_BUTTON_TEXT', 'OK'), + 'cancel' => env('SWEET_ALERT_CANCEL_BUTTON_TEXT', 'Cancel'), + ], + + /* + |-------------------------------------------------------------------------- + | Toast position + |-------------------------------------------------------------------------- + | Modal window or toast position, can be 'top', + | 'top-start', 'top-end', 'center', 'center-start', + | 'center-end', 'bottom', 'bottom-start', or 'bottom-end'. + | For specific modal just use the position() helper method. + | + */ + + 'toast_position' => env('SWEET_ALERT_TOAST_POSITION', 'top-end'), + + /* + |-------------------------------------------------------------------------- + | Progress Bar + |-------------------------------------------------------------------------- + | If set to true, a progress bar at the bottom of a popup will be shown. + | It can be useful with toasts. + | + */ + + 'timer_progress_bar' => env('SWEET_ALERT_TIMER_PROGRESS_BAR', false), + + /* + |-------------------------------------------------------------------------- + | Middleware + |-------------------------------------------------------------------------- + | Modal window or toast, config for the Middleware + | + */ + + 'middleware' => [ + + 'autoClose' => env('SWEET_ALERT_MIDDLEWARE_AUTO_CLOSE', false), + + 'toast_position' => env('SWEET_ALERT_MIDDLEWARE_TOAST_POSITION', 'top-end'), + + 'toast_close_button' => env('SWEET_ALERT_MIDDLEWARE_TOAST_CLOSE_BUTTON', true), + + 'timer' => env('SWEET_ALERT_MIDDLEWARE_ALERT_CLOSE_TIME', 6000), + + 'auto_display_error_messages' => env('SWEET_ALERT_AUTO_DISPLAY_ERROR_MESSAGES', true), + ], + + /* + |-------------------------------------------------------------------------- + | Custom Class + |-------------------------------------------------------------------------- + | A custom CSS class for the modal: + | + */ + + 'customClass' => [ + + 'container' => env('SWEET_ALERT_CONTAINER_CLASS'), + 'popup' => env('SWEET_ALERT_POPUP_CLASS'), + 'header' => env('SWEET_ALERT_HEADER_CLASS'), + 'title' => env('SWEET_ALERT_TITLE_CLASS'), + 'closeButton' => env('SWEET_ALERT_CLOSE_BUTTON_CLASS'), + 'icon' => env('SWEET_ALERT_ICON_CLASS'), + 'image' => env('SWEET_ALERT_IMAGE_CLASS'), + 'content' => env('SWEET_ALERT_CONTENT_CLASS'), + 'input' => env('SWEET_ALERT_INPUT_CLASS'), + 'actions' => env('SWEET_ALERT_ACTIONS_CLASS'), + 'confirmButton' => env('SWEET_ALERT_CONFIRM_BUTTON_CLASS'), + 'cancelButton' => env('SWEET_ALERT_CANCEL_BUTTON_CLASS'), + 'footer' => env('SWEET_ALERT_FOOTER_CLASS'), + ], + + /* + |-------------------------------------------------------------------------- + | confirmDelete + |-------------------------------------------------------------------------- + | customize the configuration options of the confirmation popup. + | + */ + + 'confirm_delete_confirm_button_text' => env('SWEET_ALERT_CONFIRM_DELETE_CONFIRM_BUTTON_TEXT', 'Yes, delete it!'), + 'confirm_delete_confirm_button_color' => env('SWEET_ALERT_CONFIRM_DELETE_CONFIRM_BUTTON_COLOR'), + 'confirm_delete_cancel_button_color' => env('SWEET_ALERT_CONFIRM_DELETE_CANCEL_BUTTON_COLOR', '#d33'), + 'confirm_delete_cancel_button_text' => env('SWEET_ALERT_CONFIRM_DELETE_CANCEL_BUTTON_TEXT', 'Cancel'), + 'confirm_delete_show_cancel_button' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_CANCEL_BUTTON', true), + 'confirm_delete_show_close_button' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_CLOSE_BUTTON', false), + 'confirm_delete_icon' => env('SWEET_ALERT_CONFIRM_DELETE_ICON', 'warning'), + 'confirm_delete_show_loader_on_confirm' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_LOADER_ON_CONFIRM', true), + + +]; diff --git a/config/tagging.php b/config/tagging.php new file mode 100644 index 0000000..3b21e77 --- /dev/null +++ b/config/tagging.php @@ -0,0 +1,32 @@ + 'integer', // 'string' or 'integer' + + // Value of are passed through this before save of tags + 'normalizer' => '\Conner\Tagging\TaggingUtility::slug', + + // Display value of tags are passed through (for front end display) + 'displayer' => '\Illuminate\Support\Str::title', + + // Database connection for Conner\Taggable\Tag model to use +// 'connection' => 'mysql', + + // When deleting a model, remove all the tags first + 'untag_on_delete' => true, + + // Auto-delete unused tags from the 'tags' database table (when they are used zero times) + 'delete_unused_tags' => false, + + // Delimiter used within tags + 'delimiter' => '-', + + // Model to use to store the tags in the database + 'tag_model' => '\Conner\Tagging\Model\Tag', + + 'tagged_model' => '\Conner\Tagging\Model\Tagged', + + 'tag_group_model' => '\Conner\Tagging\Model\TagGroup', +]; diff --git a/config/view.php b/config/view.php new file mode 100644 index 0000000..22b8a18 --- /dev/null +++ b/config/view.php @@ -0,0 +1,36 @@ + [ + resource_path('views'), + ], + + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), + +]; diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 0000000..9b19b93 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/EpisodeFactory.php b/database/factories/EpisodeFactory.php new file mode 100644 index 0000000..03fd615 --- /dev/null +++ b/database/factories/EpisodeFactory.php @@ -0,0 +1,36 @@ + + */ +class EpisodeFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'title' => $this->faker->title(), + 'title_search' => $this->faker->title(), + 'title_jpn' => $this->faker->title(), + 'slug' => $this->faker->slug, + 'episode' => $this->faker->randomDigit(), + 'description' => $this->faker->text(), + 'url' => $this->faker->url(), + 'cover_url' => $this->faker->url(), + 'view_count' => $this->faker->randomNumber(), + 'interpolated' => $this->faker->boolean(), + 'interpolated_uhd' => $this->faker->boolean(), + 'release_date' => $this->faker->date(), + 'is_dvd_aspect' => $this->faker->boolean(), + ]; + } +} diff --git a/database/factories/HentaiFactory.php b/database/factories/HentaiFactory.php new file mode 100644 index 0000000..24e199a --- /dev/null +++ b/database/factories/HentaiFactory.php @@ -0,0 +1,24 @@ + + */ +class HentaiFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'slug' => $this->faker->slug, + 'description' => $this->faker->text(), + ]; + } +} diff --git a/database/factories/StudiosFactory.php b/database/factories/StudiosFactory.php new file mode 100644 index 0000000..90dfa13 --- /dev/null +++ b/database/factories/StudiosFactory.php @@ -0,0 +1,24 @@ + + */ +class StudiosFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => $this->faker->company(), + 'slug' => $this->faker->slug, + ]; + } +} diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..a6ecc0a --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,38 @@ + + */ +class UserFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => fake()->name(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } +} diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 0000000..3aaa83b --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,35 @@ +id(); + $table->string('username'); + $table->string('discriminator'); + $table->string('email')->nullable()->unique(); + $table->string('avatar')->nullable(); + $table->boolean('verified'); + $table->string('locale'); + $table->boolean('mfa_enabled'); + $table->string('refresh_token')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + } +}; \ No newline at end of file diff --git a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php new file mode 100644 index 0000000..81a7229 --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php @@ -0,0 +1,28 @@ +string('email')->primary(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('password_reset_tokens'); + } +}; diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php new file mode 100644 index 0000000..249da81 --- /dev/null +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -0,0 +1,32 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php new file mode 100644 index 0000000..e828ad8 --- /dev/null +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -0,0 +1,33 @@ +id(); + $table->morphs('tokenable'); + $table->string('name'); + $table->string('token', 64)->unique(); + $table->text('abilities')->nullable(); + $table->timestamp('last_used_at')->nullable(); + $table->timestamp('expires_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('personal_access_tokens'); + } +}; diff --git a/database/migrations/2022_07_30_160525_create_contact_table.php b/database/migrations/2022_07_30_160525_create_contact_table.php new file mode 100644 index 0000000..f1f0b36 --- /dev/null +++ b/database/migrations/2022_07_30_160525_create_contact_table.php @@ -0,0 +1,31 @@ +id(); + $table->string('name'); + $table->string('email'); + $table->string('subject'); + $table->text('message'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('contact'); + } +}; diff --git a/database/migrations/2023_01_05_142617_update_users_table.php b/database/migrations/2023_01_05_142617_update_users_table.php new file mode 100644 index 0000000..7d1d3c5 --- /dev/null +++ b/database/migrations/2023_01_05_142617_update_users_table.php @@ -0,0 +1,20 @@ +boolean('is_admin')->default(0); + }); + } +}; diff --git a/database/migrations/2023_04_06_101123_add_roles_to_users_table.php b/database/migrations/2023_04_06_101123_add_roles_to_users_table.php new file mode 100644 index 0000000..9e195d6 --- /dev/null +++ b/database/migrations/2023_04_06_101123_add_roles_to_users_table.php @@ -0,0 +1,28 @@ +json('roles')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('roles'); + }); + } +}; diff --git a/database/migrations/2023_05_25_121158_add_remember_token_to_users_table.php b/database/migrations/2023_05_25_121158_add_remember_token_to_users_table.php new file mode 100644 index 0000000..13f0499 --- /dev/null +++ b/database/migrations/2023_05_25_121158_add_remember_token_to_users_table.php @@ -0,0 +1,28 @@ +rememberToken()->after('refresh_token'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropRememberToken(); + }); + } +}; diff --git a/database/migrations/2023_05_26_165816_create_discord_access_tokens_table.php b/database/migrations/2023_05_26_165816_create_discord_access_tokens_table.php new file mode 100644 index 0000000..2f8afec --- /dev/null +++ b/database/migrations/2023_05_26_165816_create_discord_access_tokens_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('access_token'); + $table->string('refresh_token'); + $table->string('token_type'); + $table->integer('expires_in'); + $table->timestamp('expires_at'); + $table->string('scope'); + $table->foreignId('user_id')->constrained()->cascadeOnDelete(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('discord_access_tokens'); + } +}; diff --git a/database/migrations/2023_05_27_055058_remove_refresh_token_from_users_table.php b/database/migrations/2023_05_27_055058_remove_refresh_token_from_users_table.php new file mode 100644 index 0000000..a6c14da --- /dev/null +++ b/database/migrations/2023_05_27_055058_remove_refresh_token_from_users_table.php @@ -0,0 +1,28 @@ +dropColumn('refresh_token'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->string('refresh_token')->nullable(); + }); + } +}; diff --git a/database/migrations/2023_06_11_062809_update_users_table.php b/database/migrations/2023_06_11_062809_update_users_table.php new file mode 100644 index 0000000..9b903d9 --- /dev/null +++ b/database/migrations/2023_06_11_062809_update_users_table.php @@ -0,0 +1,42 @@ +string('global_name')->nullable()->after('username'); + $table->string('discriminator')->nullable()->change(); + $table->string('banner')->nullable()->after('verified'); + $table->string('banner_color')->nullable()->after('banner'); + $table->string('accent_color')->nullable()->after('banner_color'); + $table->string('premium_type')->nullable()->after('mfa_enabled'); + $table->string('public_flags')->nullable()->after('premium_type'); + $table->boolean('verified')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('global_name'); + $table->string('discriminator')->change(); + $table->dropColumn('banner'); + $table->dropColumn('banner_color'); + $table->dropColumn('accent_color'); + $table->dropColumn('premium_type'); + $table->dropColumn('public_flags'); + $table->boolean('verified')->change(); + }); + } +}; diff --git a/database/migrations/2023_08_10_145324_create_likes_table.php b/database/migrations/2023_08_10_145324_create_likes_table.php new file mode 100644 index 0000000..da41371 --- /dev/null +++ b/database/migrations/2023_08_10_145324_create_likes_table.php @@ -0,0 +1,25 @@ +id(); + $table->foreignId('user_id')->constrained()->cascadeOnUpdate()->cascadeOnDelete(); + $table->morphs('markable'); + $table->string('value')->nullable(); + $table->json('metadata')->nullable(); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('markable_likes'); + } +}; diff --git a/database/migrations/2023_08_10_145325_add_hstream_base_tables.php b/database/migrations/2023_08_10_145325_add_hstream_base_tables.php new file mode 100644 index 0000000..5be4066 --- /dev/null +++ b/database/migrations/2023_08_10_145325_add_hstream_base_tables.php @@ -0,0 +1,78 @@ +id(); + $table->string('title'); + $table->string('title_jpn'); + $table->string('slug'); + $table->tinyInteger('episodes'); + $table->text('description'); + $table->tinyText('duration'); + $table->tinyText('status'); + $table->float('score'); + $table->string('cover_url'); + $table->integer('studios_id'); + $table->date('upload_date'); + $table->date('release_date'); + $table->timestamps(); + }); + + Schema::create('episode', function (Blueprint $table) { + $table->id(); + $table->integer('hentai_id'); + $table->integer('episode'); + $table->string('url'); + $table->string('cover_url'); + $table->tinyText('resolution'); + $table->bigInteger('view_count')->unsigned()->default(0)->index(); + $table->string('download_url')->nullable(); + $table->boolean('legacy_stream')->default(1); + $table->timestamps(); + }); + + Schema::create('studios', function (Blueprint $table) { + $table->id(); + $table->tinyText('name'); + $table->tinyText('slug'); + $table->timestamps(); + }); + + Schema::create('gallery', function (Blueprint $table) { + $table->id(); + $table->integer('hentai_id'); + $table->integer('episode_id'); + $table->string('image_url'); + $table->string('thumbnail_url'); + $table->timestamps(); + }); + + Schema::create('popular_weekly', function (Blueprint $table) { + $table->id(); + $table->integer('episode_id'); + $table->timestamps(); + }); + + Schema::create('popular_monthly', function (Blueprint $table) { + $table->id(); + $table->integer('episode_id'); + $table->timestamps(); + }); + + Schema::create('popular_daily', function (Blueprint $table) { + $table->id(); + $table->integer('episode_id'); + $table->timestamps(); + }); + } +}; diff --git a/database/migrations/2023_08_10_190926_update_hstream_tables.php b/database/migrations/2023_08_10_190926_update_hstream_tables.php new file mode 100644 index 0000000..90c730a --- /dev/null +++ b/database/migrations/2023_08_10_190926_update_hstream_tables.php @@ -0,0 +1,73 @@ +get(); + foreach($hentai as $h) { + + $episodes = Episode::where('hentai_id', $h->id)->get(); + foreach($episodes as $episode) { + $episode->tag($h->tagNames()); + } + } + + // Delete Hentai Tags + foreach($hentai as $h) { + $h->untag(); + } + + Schema::table('episode', function (Blueprint $table) { + $table->string('title')->after('id'); + $table->string('title_jpn')->after('title'); + $table->string('slug')->after('title_jpn'); + $table->integer('studios_id')->after('hentai_id'); + $table->date('release_date')->nullable()->after('legacy_stream'); + }); + + $episodes = DB::table('episode')->get(); + foreach($episodes as $episode) { + $hentai = Hentai::where('id', $episode->hentai_id)->first(); + + $episode->title = $hentai->title; + $episode->title_jpn = $hentai->title_jpn; + $episode->slug = $hentai->slug.'-'.$episode->episode; + $episode->studios_id = $hentai->studios_id; + $episode->release_date = Carbon::parse(strval($hentai->release_date).' 01:01:01'); + + $alreadyexists = Episode::where('slug', $episode->slug)->first(); + if ($alreadyexists) { + throw new \RuntimeException('Migration stopped! Slug already exists: '.$episode->slug); + } + + $episode->save(); + } + + // Remove + Schema::table('hentai', function (Blueprint $table) { + $table->dropColumn('title'); + $table->dropColumn('title_jpn'); + $table->dropColumn('episodes'); + $table->dropColumn('duration'); + $table->dropColumn('status'); + $table->dropColumn('score'); + $table->dropColumn('cover_url'); + $table->dropColumn('studios_id'); + $table->dropColumn('upload_date'); + $table->dropColumn('release_date'); + }); + } +}; diff --git a/database/migrations/2023_08_12_130605_add_user_settings.php b/database/migrations/2023_08_12_130605_add_user_settings.php new file mode 100644 index 0000000..7cd753b --- /dev/null +++ b/database/migrations/2023_08_12_130605_add_user_settings.php @@ -0,0 +1,22 @@ +boolean('search_design')->default(1); + $table->boolean('home_top_design')->default(0); + $table->boolean('home_middle_design')->default(1); + }); + } +}; diff --git a/database/migrations/2023_08_13_200327_create_playlist_table.php b/database/migrations/2023_08_13_200327_create_playlist_table.php new file mode 100644 index 0000000..7904868 --- /dev/null +++ b/database/migrations/2023_08_13_200327_create_playlist_table.php @@ -0,0 +1,38 @@ +id(); + $table->unsignedBigInteger('user_id')->index(); + $table->string('name'); + $table->boolean('is_private')->default(1); + $table->timestamps(); + }); + + Schema::create('playlist_episodes', function (Blueprint $table) { + $table->id(); + $table->integer('position')->nullable(); + $table->integer('playlist_id')->index(); + $table->integer('episode_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('playlists'); + Schema::dropIfExists('playlist_episodes'); + } +}; diff --git a/database/migrations/2023_08_15_170207_create_alerts_table.php b/database/migrations/2023_08_15_170207_create_alerts_table.php new file mode 100644 index 0000000..8b7ba5a --- /dev/null +++ b/database/migrations/2023_08_15_170207_create_alerts_table.php @@ -0,0 +1,29 @@ +id(); + $table->integer('type'); + $table->text('text'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('alerts'); + } +}; diff --git a/database/migrations/2023_10_03_150330_add_patreon_to_users_table.php b/database/migrations/2023_10_03_150330_add_patreon_to_users_table.php new file mode 100644 index 0000000..0ef1789 --- /dev/null +++ b/database/migrations/2023_10_03_150330_add_patreon_to_users_table.php @@ -0,0 +1,18 @@ +boolean('is_patreon')->default(0); + }); + } +}; diff --git a/database/migrations/2023_10_03_152048_add_4k_downloads_to_episode_table.php b/database/migrations/2023_10_03_152048_add_4k_downloads_to_episode_table.php new file mode 100644 index 0000000..bde83a2 --- /dev/null +++ b/database/migrations/2023_10_03_152048_add_4k_downloads_to_episode_table.php @@ -0,0 +1,18 @@ +string('download_url_4k')->after('download_url')->nullable(); + }); + } +}; diff --git a/database/migrations/2023_10_03_230727_migrate_4k_downloads.php b/database/migrations/2023_10_03_230727_migrate_4k_downloads.php new file mode 100644 index 0000000..d1c5d96 --- /dev/null +++ b/database/migrations/2023_10_03_230727_migrate_4k_downloads.php @@ -0,0 +1,24 @@ +whereNull('download_url_4k') + ->where('legacy_stream', 0) + ->where('resolution', '4k') + ->get(); + + foreach($episodes as $episode) { + $episode->download_url_4k = Str::replace('1080p', '2160p', $episode->download_url); + $episode->save(); + } + } +}; diff --git a/database/migrations/2023_11_30_150101_create_jobs_table.php b/database/migrations/2023_11_30_150101_create_jobs_table.php new file mode 100644 index 0000000..6098d9b --- /dev/null +++ b/database/migrations/2023_11_30_150101_create_jobs_table.php @@ -0,0 +1,32 @@ +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. + */ + public function down(): void + { + Schema::dropIfExists('jobs'); + } +}; diff --git a/database/migrations/2023_12_19_200302_created_watched_table.php b/database/migrations/2023_12_19_200302_created_watched_table.php new file mode 100644 index 0000000..718765b --- /dev/null +++ b/database/migrations/2023_12_19_200302_created_watched_table.php @@ -0,0 +1,29 @@ +id(); + $table->foreignId('user_id')->index()->constrained()->cascadeOnDelete(); + $table->integer('episode_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('watched'); + } +}; diff --git a/database/migrations/2024_01_07_184928_add_blacklist_to_users_table.php b/database/migrations/2024_01_07_184928_add_blacklist_to_users_table.php new file mode 100644 index 0000000..1b19134 --- /dev/null +++ b/database/migrations/2024_01_07_184928_add_blacklist_to_users_table.php @@ -0,0 +1,18 @@ +json('tag_blacklist')->nullable(); + }); + } +}; diff --git a/database/migrations/2024_02_06_110910_add_interpolated_to_episode_table.php b/database/migrations/2024_02_06_110910_add_interpolated_to_episode_table.php new file mode 100644 index 0000000..834ed0f --- /dev/null +++ b/database/migrations/2024_02_06_110910_add_interpolated_to_episode_table.php @@ -0,0 +1,28 @@ +boolean('interpolated')->default(0)->after('legacy_stream'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episode', function (Blueprint $table) { + $table->dropColumn('interpolated'); + }); + } +}; diff --git a/database/migrations/2024_02_18_110521_optimization.php b/database/migrations/2024_02_18_110521_optimization.php new file mode 100644 index 0000000..deb05e5 --- /dev/null +++ b/database/migrations/2024_02_18_110521_optimization.php @@ -0,0 +1,30 @@ +index('hentai_id'); + $table->index('episode_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::table('gallery', function (Blueprint $table) + { + $table->dropIndex(['episode_id', 'hentai_id']); + }); + } +}; diff --git a/database/migrations/2024_02_29_110046_create_torrents_table.php b/database/migrations/2024_02_29_110046_create_torrents_table.php new file mode 100644 index 0000000..ba783cb --- /dev/null +++ b/database/migrations/2024_02_29_110046_create_torrents_table.php @@ -0,0 +1,30 @@ +id(); + $table->integer('hentai_id'); + $table->string('torrent_url'); + $table->string('episodes'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('torrents'); + } +}; diff --git a/database/migrations/2024_03_05_205036_create_subtitles_table.php b/database/migrations/2024_03_05_205036_create_subtitles_table.php new file mode 100644 index 0000000..4c330b4 --- /dev/null +++ b/database/migrations/2024_03_05_205036_create_subtitles_table.php @@ -0,0 +1,28 @@ +id(); + $table->tinyText('name'); + $table->tinyText('slug'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('subtitles'); + } +}; diff --git a/database/migrations/2024_03_05_211627_create_episode_subtitles_table.php b/database/migrations/2024_03_05_211627_create_episode_subtitles_table.php new file mode 100644 index 0000000..bc5e777 --- /dev/null +++ b/database/migrations/2024_03_05_211627_create_episode_subtitles_table.php @@ -0,0 +1,28 @@ +id(); + $table->foreignId('episode_id')->index(); + $table->foreignId('subtitle_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('episode_subtitles'); + } +}; diff --git a/database/migrations/2024_04_05_123805_add_description_to_episode_table.php b/database/migrations/2024_04_05_123805_add_description_to_episode_table.php new file mode 100644 index 0000000..8fa835e --- /dev/null +++ b/database/migrations/2024_04_05_123805_add_description_to_episode_table.php @@ -0,0 +1,31 @@ +text('description')->after('episode'); + }); + + DB::statement('UPDATE `episode` INNER JOIN `hentai` ON `episode`.`hentai_id` = `hentai`.`id` SET `episode`.`description` = `hentai`.`description`'); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episode', function (Blueprint $table) { + $table->dropColumn('description'); + }); + } +}; diff --git a/database/migrations/2024_04_05_145706_rename_tables.php b/database/migrations/2024_04_05_145706_rename_tables.php new file mode 100644 index 0000000..ca00ae2 --- /dev/null +++ b/database/migrations/2024_04_05_145706_rename_tables.php @@ -0,0 +1,17 @@ +string('download_url_interpolated')->after('download_url')->nullable(); + }); + } +}; diff --git a/database/migrations/2024_06_25_141635_add_banned_to_users_table.php b/database/migrations/2024_06_25_141635_add_banned_to_users_table.php new file mode 100644 index 0000000..d1fcf84 --- /dev/null +++ b/database/migrations/2024_06_25_141635_add_banned_to_users_table.php @@ -0,0 +1,28 @@ +boolean('is_banned')->default(0); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('is_banned'); + }); + } +}; diff --git a/database/migrations/2024_07_15_143013_drop_legacy_stream_from_episodes_table.php b/database/migrations/2024_07_15_143013_drop_legacy_stream_from_episodes_table.php new file mode 100644 index 0000000..6bb165c --- /dev/null +++ b/database/migrations/2024_07_15_143013_drop_legacy_stream_from_episodes_table.php @@ -0,0 +1,18 @@ +dropColumn('legacy_stream'); + }); + } +}; diff --git a/database/migrations/2024_07_15_145809_drop_resolution_from_episodes_table.php b/database/migrations/2024_07_15_145809_drop_resolution_from_episodes_table.php new file mode 100644 index 0000000..efc2e9a --- /dev/null +++ b/database/migrations/2024_07_15_145809_drop_resolution_from_episodes_table.php @@ -0,0 +1,18 @@ +dropColumn('resolution'); + }); + } +}; diff --git a/database/migrations/2024_07_18_102838_add_aspect_ratio_to_episodes_table.php b/database/migrations/2024_07_18_102838_add_aspect_ratio_to_episodes_table.php new file mode 100644 index 0000000..814dfe7 --- /dev/null +++ b/database/migrations/2024_07_18_102838_add_aspect_ratio_to_episodes_table.php @@ -0,0 +1,28 @@ +boolean('is_dvd_aspect')->default(0); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episodes', function (Blueprint $table) { + $table->dropColumn('is_dvd_aspect'); + }); + } +}; diff --git a/database/migrations/2024_07_29_134619_create_downloads_table.php b/database/migrations/2024_07_29_134619_create_downloads_table.php new file mode 100644 index 0000000..11927df --- /dev/null +++ b/database/migrations/2024_07_29_134619_create_downloads_table.php @@ -0,0 +1,70 @@ +id(); + $table->foreignId('episode_id')->index()->constrained()->cascadeOnDelete(); + $table->char('type', 5); + $table->string('url'); + $table->double('size')->nullable(); + $table->timestamps(); + }); + + // Migrate old entries + foreach(Episode::all() as $episode) { + // 1080p + if (! empty($episode->download_url)) { + Downloads::create([ + 'episode_id' => $episode->id, + 'type' => 'FHD', + 'url' => $episode->download_url + ]); + } + + // 1080p48 + if (! empty($episode->download_url_interpolated)) { + Downloads::create([ + 'episode_id' => $episode->id, + 'type' => 'FHDi', + 'url' => $episode->download_url_interpolated + ]); + } + + // 2160p + if (! empty($episode->download_url_4k)) { + Downloads::create([ + 'episode_id' => $episode->id, + 'type' => 'UHD', + 'url' => $episode->download_url_4k + ]); + } + } + + // Drop old entries + Schema::table('episodes', function (Blueprint $table) { + $table->dropColumn('download_url_interpolated'); + $table->dropColumn('download_url_4k'); + $table->dropColumn('download_url'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('downloads'); + } +}; diff --git a/database/migrations/2024_07_30_135107_add_count_to_downloads_table.php b/database/migrations/2024_07_30_135107_add_count_to_downloads_table.php new file mode 100644 index 0000000..c8363c9 --- /dev/null +++ b/database/migrations/2024_07_30_135107_add_count_to_downloads_table.php @@ -0,0 +1,28 @@ +bigInteger('count')->after('size')->default(0); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('downloads', function (Blueprint $table) { + $table->dropColumn('count'); + }); + } +}; diff --git a/database/migrations/2024_07_30_194424_fix_slugs.php b/database/migrations/2024_07_30_194424_fix_slugs.php new file mode 100644 index 0000000..49dbd7b --- /dev/null +++ b/database/migrations/2024_07_30_194424_fix_slugs.php @@ -0,0 +1,33 @@ +slug); + $lastPart = $slugParts[array_key_last($slugParts)]; + if (is_numeric($lastPart) && $lastPart < 1000) { + $slugParts[array_key_last($slugParts)] = 's'.$lastPart; + $newSlug = implode('-', $slugParts); + + // Update hentai slug + $hentai->slug = $newSlug; + $hentai->save(); + + // Update episodes related to this hentai in bulk + Episode::where('hentai_id', $hentai->id) + ->update(['slug' => DB::raw("CONCAT('$newSlug-', episode)")]); + } + } + } +}; diff --git a/database/migrations/2024_10_13_131743_add_download_count_to_users_table.php b/database/migrations/2024_10_13_131743_add_download_count_to_users_table.php new file mode 100644 index 0000000..0ed5676 --- /dev/null +++ b/database/migrations/2024_10_13_131743_add_download_count_to_users_table.php @@ -0,0 +1,28 @@ +boolean('downloads_left')->default(5); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('downloads_left'); + }); + } +}; diff --git a/database/migrations/2024_10_21_194317_add_title_search_to_epiosdes_table.php b/database/migrations/2024_10_21_194317_add_title_search_to_epiosdes_table.php new file mode 100644 index 0000000..3d8fada --- /dev/null +++ b/database/migrations/2024_10_21_194317_add_title_search_to_epiosdes_table.php @@ -0,0 +1,34 @@ +string('title_search')->after('title'); + }); + + // Update the title_search field with sanitized titles + DB::table('episodes')->update([ + 'title_search' => DB::raw("REGEXP_REPLACE(title, '[^A-Za-z0-9 ]', '')") + ]); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episodes', function (Blueprint $table) { + $table->dropColumn('title_search'); + }); + } +}; diff --git a/database/migrations/2024_10_27_102415_create_user_downloads_table.php b/database/migrations/2024_10_27_102415_create_user_downloads_table.php new file mode 100644 index 0000000..3e8d6b5 --- /dev/null +++ b/database/migrations/2024_10_27_102415_create_user_downloads_table.php @@ -0,0 +1,29 @@ +id(); + $table->foreignId('user_id')->index(); + $table->foreignId('episode_id')->index(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('user_downloads'); + } +}; diff --git a/database/migrations/2024_11_17_153334_create_site_backgrounds_table.php b/database/migrations/2024_11_17_153334_create_site_backgrounds_table.php new file mode 100644 index 0000000..e059780 --- /dev/null +++ b/database/migrations/2024_11_17_153334_create_site_backgrounds_table.php @@ -0,0 +1,30 @@ +id(); + $table->date('date_start'); + $table->date('date_end'); + $table->boolean('default')->default(0); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('site_backgrounds'); + } +}; diff --git a/database/migrations/2024_11_25_163029_create_notifications_table.php b/database/migrations/2024_11_25_163029_create_notifications_table.php new file mode 100644 index 0000000..d738032 --- /dev/null +++ b/database/migrations/2024_11_25_163029_create_notifications_table.php @@ -0,0 +1,31 @@ +uuid('id')->primary(); + $table->string('type'); + $table->morphs('notifiable'); + $table->text('data'); + $table->timestamp('read_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('notifications'); + } +}; diff --git a/database/migrations/2024_12_13_200252_add_interpolated_qhd_to_episodes_table.php b/database/migrations/2024_12_13_200252_add_interpolated_qhd_to_episodes_table.php new file mode 100644 index 0000000..6bd19e9 --- /dev/null +++ b/database/migrations/2024_12_13_200252_add_interpolated_qhd_to_episodes_table.php @@ -0,0 +1,28 @@ +boolean('interpolated_qhd')->default(0)->after('interpolated'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episodes', function (Blueprint $table) { + $table->dropColumn('interpolated_qhd'); + }); + } +}; diff --git a/database/migrations/2025_01_04_222655_add_interpolated_uhd_to_episodes_table.php b/database/migrations/2025_01_04_222655_add_interpolated_uhd_to_episodes_table.php new file mode 100644 index 0000000..d26945c --- /dev/null +++ b/database/migrations/2025_01_04_222655_add_interpolated_uhd_to_episodes_table.php @@ -0,0 +1,35 @@ +boolean('interpolated_uhd')->default(0)->after('interpolated'); + + // Drop old qhd column + $table->dropColumn('interpolated_qhd'); + }); + + Schema::table('user_downloads', function (Blueprint $table) { + $table->boolean('interpolated')->default(0)->after('episode_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('episodes', function (Blueprint $table) { + $table->dropColumn('interpolated_uhd'); + }); + } +}; diff --git a/database/migrations/2025_04_25_143357_fix_playlist_episode_positions.php b/database/migrations/2025_04_25_143357_fix_playlist_episode_positions.php new file mode 100644 index 0000000..8a2c9fa --- /dev/null +++ b/database/migrations/2025_04_25_143357_fix_playlist_episode_positions.php @@ -0,0 +1,49 @@ +select('playlist_id', 'episode_id', DB::raw('MIN(id) as keep_id')) + ->groupBy('playlist_id', 'episode_id') + ->havingRaw('COUNT(*) > 1') + ->get(); + + foreach ($duplicates as $dup) { + DB::table('playlist_episodes') + ->where('playlist_id', $dup->playlist_id) + ->where('episode_id', $dup->episode_id) + ->where('id', '!=', $dup->keep_id) + ->delete(); + } + + // Fix index + $playlistIds = Playlist::all()->pluck('id'); + foreach ($playlistIds as $playlistId) { + $episodes = PlaylistEpisode::where('playlist_id', $playlistId) + ->get(); + + foreach ($episodes as $index => $episode) { + $episode->position = $index + 1; + $episode->save(); + } + } + + // Make entries unique + Schema::table('playlist_episodes', function (Blueprint $table) { + $table->unique(['playlist_id', 'episode_id']); + }); + } +}; diff --git a/database/migrations/2025_05_30_203455_fix_discord_oauth.php b/database/migrations/2025_05_30_203455_fix_discord_oauth.php new file mode 100644 index 0000000..0f0df31 --- /dev/null +++ b/database/migrations/2025_05_30_203455_fix_discord_oauth.php @@ -0,0 +1,30 @@ +string('access_token', 300)->change(); + $table->string('refresh_token', 300)->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('discord_access_tokens', function (Blueprint $table) { + $table->string('access_token')->change(); // back to default (255) + $table->string('refresh_token')->change(); // back to default (255) + }); + } +}; diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..440a041 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,19 @@ +call([ + DeletedUserSeeder::class + ]); + } +} diff --git a/database/seeders/DeletedUserSeeder.php b/database/seeders/DeletedUserSeeder.php new file mode 100644 index 0000000..3da08d5 --- /dev/null +++ b/database/seeders/DeletedUserSeeder.php @@ -0,0 +1,50 @@ +first(); + + if (!$userexists) { + DB::table('users')->insert([ + 'id' => 1, + 'username' => 'deleted', + 'global_name' => 'Deleted User', + 'discriminator' => null, + 'email' => 'deleteduser@deleted.com', + 'avatar' => null, + 'verified' => null, + 'banner' => null, + 'banner_color' => null, + 'accent_color' => null, + 'locale' => 'en', + 'mfa_enabled' => 0, + 'premium_type' => null, + 'public_flags' => null, + 'created_at' => Carbon::now(), + 'updated_at' => Carbon::now(), + 'is_admin' => 0, + 'roles' => null, + 'search_design' => 1, + 'home_top_design' => 0, + 'home_middle_design' => 1, + 'is_patreon' => 0, + 'tag_blacklist' => null, + 'is_banned' => 0, + ]); + } + } +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..613a7af --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,74 @@ +services: + laravel.test: + build: + context: './vendor/laravel/sail/runtimes/8.3' + dockerfile: Dockerfile + args: + WWWGROUP: '${WWWGROUP}' + MYSQL_CLIENT: mariadb-client + image: 'sail-8.3/app' + extra_hosts: + - 'host.docker.internal:host-gateway' + ports: + - '${APP_PORT:-80}:80' + - '${VITE_PORT:-5173}:${VITE_PORT:-5173}' + environment: + WWWUSER: '${WWWUSER}' + LARAVEL_SAIL: 1 + XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}' + XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}' + IGNITION_LOCAL_SITES_PATH: '${PWD}' + volumes: + - '.:/var/www/html' + networks: + - sail + depends_on: + - mariadb + - redis + mariadb: + image: 'mariadb:11' + ports: + - '${FORWARD_DB_PORT:-3306}:3306' + environment: + MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}' + MYSQL_ROOT_HOST: '%' + MYSQL_DATABASE: '${DB_DATABASE}' + MYSQL_USER: '${DB_USERNAME}' + MYSQL_PASSWORD: '${DB_PASSWORD}' + MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' + volumes: + - 'sail-mariadb:/var/lib/mysql' + - './vendor/laravel/sail/database/mariadb/create-testing-database.sh:/docker-entrypoint-initdb.d/10-create-testing-database.sh' + networks: + - sail + healthcheck: + test: + - CMD + - healthcheck.sh + - '--connect' + - '--innodb_initialized' + retries: 3 + timeout: 5s + redis: + image: 'redis:alpine' + ports: + - '${FORWARD_REDIS_PORT:-6379}:6379' + volumes: + - 'sail-redis:/data' + networks: + - sail + healthcheck: + test: + - CMD + - redis-cli + - ping + retries: 3 + timeout: 5s +networks: + sail: + driver: bridge +volumes: + sail-mariadb: + driver: local + sail-redis: + driver: local diff --git a/lang/de/home.php b/lang/de/home.php new file mode 100644 index 0000000..991254f --- /dev/null +++ b/lang/de/home.php @@ -0,0 +1,19 @@ + 'Qualitäts-Hentai kostenlos in 4k!', + 'recently-uploaded' => 'Kürzlich hochgeladen', + 'recently-released' => 'Kürzlich veröffentlicht', + 'trending' => 'Trending', + 'show-more-recently-uploaded' => 'Zeige mehr kürzlich hochgeladene', + 'show-more-recently-released' => 'Zeige mehr kürzlich veröffentlicht', + 'show-more' => 'Mehr anzeigen', + 'most-views' => 'Meiste Aufrufe', + 'most-likes' => 'Meiste Likes', + 'popular-weekly' => 'Wöchentlich beliebt', + 'popular-monthly' => 'Monatlich beliebt', + 'show-more-with-most-views' => 'Zeige mehr mit den meisten Aufrufen', + 'categories' => 'Kategorien', + 'latest-comments' => 'Neueste Kommentare', + 'episodes' => 'Episoden', +]; diff --git a/lang/de/nav.php b/lang/de/nav.php new file mode 100644 index 0000000..bc287f3 --- /dev/null +++ b/lang/de/nav.php @@ -0,0 +1,19 @@ + 'Startseite', + 'search' => 'Suche', + 'public-playlists' => 'Öffentliche Playlisten', + 'downloads' => 'Downloads', + 'our-discord-server' => 'Unser Discord Server', + 'theme' => 'Theme', + 'please-login' => 'Bitte einloggen', + 'comments' => 'Kommentare', + 'likes' => 'Likes', + 'playlists' => 'Playlisten', + 'watched' => 'Gesehen', + 'settings' => 'Einstellungen', + 'logout' => 'Ausloggen', + 'login' => 'Einloggen', + 'profile' => 'Profil', +]; diff --git a/lang/de/playlist.php b/lang/de/playlist.php new file mode 100644 index 0000000..1dbc83d --- /dev/null +++ b/lang/de/playlist.php @@ -0,0 +1,9 @@ + 'Keine Playlisten gefunden!', + 'personal-playlists' => 'Persönliche Playlisten', + 'create-on-personal-page' => 'Du kannst einen in deiner persönlichen Playlisten Seite erstellen.', + 'play' => 'Abspielen', + 'playlist' => 'Playlist', +]; diff --git a/lang/de/search.php b/lang/de/search.php new file mode 100644 index 0000000..49a7565 --- /dev/null +++ b/lang/de/search.php @@ -0,0 +1,13 @@ + 'Zeige', + 'to' => 'bis', + 'of' => 'von', + 'results' => 'Resultaten', + 'oldest-uploads' => 'Älteste Uploads', + 'oldest-releases' => 'Älteste Releases', + 'view-count' => 'Anzahl wiedergaben', + 'search-hentai' => 'Suche Hentai...', + 'search' => 'Suchen', +]; diff --git a/lang/de/stream.php b/lang/de/stream.php new file mode 100644 index 0000000..8765ab7 --- /dev/null +++ b/lang/de/stream.php @@ -0,0 +1,12 @@ + 'Download', + 'share' => 'Teilen', + 'more-from-studio' => 'Mehr von Studio', + 'more-from' => 'Mehr von', + 'description' => 'Beschreibung', + 'genres' => 'Genres', + 'gallery' => 'Gallerie', + 'show-less' => 'Weniger anzeigen', +]; diff --git a/lang/en/home.php b/lang/en/home.php new file mode 100644 index 0000000..3b8ae45 --- /dev/null +++ b/lang/en/home.php @@ -0,0 +1,19 @@ + 'Quality Hentai for free in 4k!', + 'recently-uploaded' => 'Recently Uploaded', + 'recently-released' => 'Recently Released', + 'trending' => 'Trending', + 'show-more-recently-uploaded' => 'Show More Recently Uploaded', + 'show-more-recently-released' => 'Show More Recently Released', + 'show-more' => 'Show More', + 'most-views' => 'Most Views', + 'most-likes' => 'Most Likes', + 'popular-weekly' => 'Popular Weekly', + 'popular-monthly' => 'Popular Monthly', + 'show-more-with-most-views' => 'Show More With Most Views', + 'categories' => 'Categories', + 'latest-comments' => 'Latest Comments', + 'episodes' => 'Episodes', +]; diff --git a/lang/en/nav.php b/lang/en/nav.php new file mode 100644 index 0000000..dc85fe2 --- /dev/null +++ b/lang/en/nav.php @@ -0,0 +1,19 @@ + 'Home', + 'search' => 'Search', + 'public-playlists' => 'Public Playlists', + 'downloads' => 'Downloads', + 'our-discord-server' => 'Our Discord Server', + 'theme' => 'Theme', + 'please-login' => 'Please Login', + 'comments' => 'Comments', + 'likes' => 'Likes', + 'playlists' => 'Playlists', + 'watched' => 'Watched', + 'settings' => 'Settings', + 'logout' => 'Logout', + 'login' => 'Login', + 'profile' => 'Profile', +]; diff --git a/lang/en/playlist.php b/lang/en/playlist.php new file mode 100644 index 0000000..3796fdd --- /dev/null +++ b/lang/en/playlist.php @@ -0,0 +1,9 @@ + 'No Playlist found!', + 'personal-playlists' => 'Personal Playlists', + 'create-on-personal-page' => 'You can create one in your personal playlists page.', + 'play' => 'Play', + 'playlist' => 'Playlist', +]; diff --git a/lang/en/search.php b/lang/en/search.php new file mode 100644 index 0000000..a579d84 --- /dev/null +++ b/lang/en/search.php @@ -0,0 +1,13 @@ + 'Showing', + 'to' => 'to', + 'of' => 'of', + 'results' => 'results', + 'oldest-uploads' => 'Oldest Uploads', + 'oldest-releases' => 'Oldest Releases', + 'view-count' => 'View Count', + 'search-hentai' => 'Search Hentai...', + 'search' => 'Search', +]; diff --git a/lang/en/stream.php b/lang/en/stream.php new file mode 100644 index 0000000..e67a62f --- /dev/null +++ b/lang/en/stream.php @@ -0,0 +1,12 @@ + 'Download', + 'share' => 'Share', + 'more-from-studio' => 'More from Studio', + 'more-from' => 'More from', + 'description' => 'Description', + 'genres' => 'Genres', + 'gallery' => 'Gallery', + 'show-less' => 'Show less', +]; diff --git a/lang/fr/home.php b/lang/fr/home.php new file mode 100644 index 0000000..3d0599a --- /dev/null +++ b/lang/fr/home.php @@ -0,0 +1,19 @@ + 'Hentai de qualité et gratuit en 4k!', + 'recently-uploaded' => 'Récemment mis en ligne', + 'recently-released' => 'Récemment publié', + 'trending' => 'Trending', + 'show-more-recently-uploaded' => 'Afficher plus Récemment mis en ligne', + 'show-more-recently-released' => 'Afficher plus Récemment publié', + 'show-more' => 'Afficher plus', + 'most-views' => 'Le plus de vues', + 'most-likes' => 'Les plus aimés', + 'popular-weekly' => 'Populaire hebdomadaire', + 'popular-monthly' => 'Populaire mensuellement', + 'show-more-with-most-views' => 'Afficher plus avec le plus grand nombre de vues', + 'categories' => 'Catégories', + 'latest-comments' => 'Derniers commentaires', + 'episodes' => 'Épisodes', +]; diff --git a/lang/fr/nav.php b/lang/fr/nav.php new file mode 100644 index 0000000..22ee946 --- /dev/null +++ b/lang/fr/nav.php @@ -0,0 +1,19 @@ + 'Accueil', + 'search' => 'Recherche', + 'public-playlists' => 'Playlists publiques', + 'downloads' => 'Téléchargements', + 'our-discord-server' => 'Notre serveur Discord', + 'theme' => 'Thème', + 'please-login' => 'Veuillez vous connecter', + 'comments' => 'Commentaires', + 'likes' => 'Likes', + 'playlists' => 'Playlists', + 'watched' => 'Regardé', + 'settings' => 'Paramètres', + 'logout' => 'Déconnexion', + 'login' => 'Connexion', + 'profile' => 'Profil', +]; diff --git a/lang/fr/playlist.php b/lang/fr/playlist.php new file mode 100644 index 0000000..ebbb2f9 --- /dev/null +++ b/lang/fr/playlist.php @@ -0,0 +1,9 @@ + 'Aucune playlist n\'a été trouvée!', + 'personal-playlists' => 'Playlists personnelles', + 'create-on-personal-page' => 'Vous pouvez en créer une dans votre page de playlists personnelles.', + 'play' => 'Lire', + 'playlist' => 'Playlist', +]; diff --git a/lang/fr/search.php b/lang/fr/search.php new file mode 100644 index 0000000..0f39347 --- /dev/null +++ b/lang/fr/search.php @@ -0,0 +1,13 @@ + 'Affiche', + 'to' => 'à', + 'of' => 'de', + 'results' => 'résultats', + 'oldest-uploads' => 'Le plus ancien téléchargé', + 'oldest-releases' => 'Publications les plus anciennes', + 'view-count' => 'Nombre de lectures', + 'search-hentai' => 'Recherche hentai...', + 'search' => 'Recherche', +]; diff --git a/lang/fr/stream.php b/lang/fr/stream.php new file mode 100644 index 0000000..67a16a8 --- /dev/null +++ b/lang/fr/stream.php @@ -0,0 +1,12 @@ + 'Télécharger', + 'share' => 'Partager', + 'more-from-studio' => 'Plus de Studio', + 'more-from' => 'Plus de', + 'description' => 'Description', + 'genres' => 'Genres', + 'gallery' => 'Galerie', + 'show-less' => 'Montrer moins', +]; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..988a15e --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2977 @@ +{ + "name": "hstream", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@fortawesome/fontawesome-free": "^6.5.1", + "@jellyfin/libass-wasm": "^4.1.1", + "@yaireo/tagify": "^4.21.2", + "dashjs": "^4.7.4", + "hammerjs": "^2.0.8", + "plyr": "^3.7.8", + "tw-elements": "^1.1.0", + "vidstack": "^1.12.13" + }, + "devDependencies": { + "@tailwindcss/forms": "^0.5.7", + "autoprefixer": "^10.4.18", + "axios": "^1.6.8", + "laravel-vite-plugin": "^1.0.2", + "postcss": "^8.4.35", + "tailwindcss": "^3.4.1", + "vite": "^5.1.6", + "vite-plugin-static-copy": "^1.0.1" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.6.9", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", + "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.13", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz", + "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.9" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz", + "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==", + "license": "MIT" + }, + "node_modules/@fortawesome/fontawesome-free": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz", + "integrity": "sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jellyfin/libass-wasm": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@jellyfin/libass-wasm/-/libass-wasm-4.1.1.tgz", + "integrity": "sha512-xQVJw+lZUg4U1TmLS80reBECfPtpCgRF8hhUSvUUQM9g68OvINyUU3K2yqRH+8tomGpghiRaIcr/bUJ83e0veA==" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@tailwindcss/forms": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz", + "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==", + "dev": true, + "dependencies": { + "mini-svg-data-uri": "^1.2.3" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT" + }, + "node_modules/@yaireo/tagify": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/@yaireo/tagify/-/tagify-4.21.2.tgz", + "integrity": "sha512-uE7/rimuYDHqBCue5OnOGDGrPIzugD8/01+aTtRZJItkKusmdx6U47j6JVbRdpj6+6KF+VQ6HK6iEccwmmrDyw==", + "engines": { + "node": ">=14.20.0", + "npm": ">=8.0.0" + }, + "peerDependencies": { + "prop-types": "^15.7.2" + } + }, + "node_modules/acorn": { + "version": "8.14.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", + "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true + }, + "node_modules/autoprefixer": { + "version": "10.4.18", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.18.tgz", + "integrity": "sha512-1DKbDfsr6KUElM6wg+0zRNkB/Q7WcKYAaK+pzXn+Xqmszm/5Xa9coeNdtP88Vi+dPzZnMjhge8GIV49ZQkDa+g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "browserslist": "^4.23.0", + "caniuse-lite": "^1.0.30001591", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/axios": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/bcp-47": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/bcp-47/-/bcp-47-1.0.8.tgz", + "integrity": "sha512-Y9y1QNBBtYtv7hcmoX0tR+tUNSFZGZ6OL6vKPObq8BbOhkCoyayF6ogfLTgAli/KuAEbsYHYUNq2AQuY6IuLag==", + "dependencies": { + "is-alphabetical": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/bcp-47-match": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/bcp-47-match/-/bcp-47-match-1.0.3.tgz", + "integrity": "sha512-LggQ4YTdjWQSKELZF5JwchnBa1u0pIQSZf5lSdOHEdbVP55h0qICA/FUp3+W99q0xqxYa1ZQizTUH87gecII5w==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/bcp-47-normalize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/bcp-47-normalize/-/bcp-47-normalize-1.1.1.tgz", + "integrity": "sha512-jWZ1Jdu3cs0EZdfCkS0UE9Gg01PtxnChjEBySeB+Zo6nkqtFfnvtoQQgP1qU1Oo4qgJgxhTI6Sf9y/pZIhPs0A==", + "dependencies": { + "bcp-47": "^1.0.0", + "bcp-47-match": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/camelcase-css": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz", + "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001598", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001598.tgz", + "integrity": "sha512-j8mQRDziG94uoBfeFuqsJUNECW37DXpnvhcMJMdlH2u3MRkq1sAI0LJcXP1i/Py0KbSIC4UDj8YHPrTn5YsL+Q==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chart.js": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-3.9.1.tgz", + "integrity": "sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w==" + }, + "node_modules/chartjs-plugin-datalabels": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/chartjs-plugin-datalabels/-/chartjs-plugin-datalabels-2.2.0.tgz", + "integrity": "sha512-14ZU30lH7n89oq+A4bWaJPnAG8a7ZTk7dKf48YAzMvJjQtjrgg5Dpk9f+LbjCF6bpx3RAGTeL13IXpKQYyRvlw==", + "peerDependencies": { + "chart.js": ">=3.0.0" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/codem-isoboxer": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/codem-isoboxer/-/codem-isoboxer-0.3.9.tgz", + "integrity": "sha512-4XOTqEzBWrGOZaMd+sTED2hLpzfBbiQCf1W6OBGkIHqk1D8uwy8WFLazVbdQwfDpQ+vf39lqTGPa9IhWW0roTA==" + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/core-js": { + "version": "3.36.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.36.0.tgz", + "integrity": "sha512-mt7+TUBbTFg5+GngsAxeKBTl5/VS0guFeJacYge9OmHb+m058UwwIm41SE9T4Den7ClatV57B6TYTuJ0CX1MAw==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/custom-event-polyfill": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/custom-event-polyfill/-/custom-event-polyfill-1.0.7.tgz", + "integrity": "sha512-TDDkd5DkaZxZFM8p+1I3yAlvM3rSr1wbrOliG4yJiwinMZN8z/iGL7BTlDkrJcYTmgUSb4ywVCc3ZaUtOtC76w==" + }, + "node_modules/dashjs": { + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/dashjs/-/dashjs-4.7.4.tgz", + "integrity": "sha512-+hldo25QPP3H/NOwqUrvt4uKdMse60/Gsz9AUAnoYfhga8qHWq4nWiojUosOiigbigkDTCAn9ORcvUaKCvmfCA==", + "dependencies": { + "bcp-47-match": "^1.0.3", + "bcp-47-normalize": "^1.1.1", + "codem-isoboxer": "0.3.9", + "es6-promise": "^4.2.8", + "fast-deep-equal": "2.0.1", + "html-entities": "^1.2.1", + "imsc": "^1.1.5", + "localforage": "^1.7.1", + "path-browserify": "^1.0.1", + "ua-parser-js": "^1.0.37" + } + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-autofill": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/detect-autofill/-/detect-autofill-1.1.4.tgz", + "integrity": "sha512-utCBQwCR/beSnADQmBC7C4tTueBBkYCl6WSpfGUkYKO/+MzPxqYGj6G4MvHzcKmH1gCTK+VunX2vaagvkRXPvA==", + "dependencies": { + "custom-event-polyfill": "^1.0.7" + } + }, + "node_modules/didyoumean": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", + "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==" + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, + "node_modules/electron-to-chromium": { + "version": "1.4.708", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.708.tgz", + "integrity": "sha512-iWgEEvREL4GTXXHKohhh33+6Y8XkPI5eHihDmm8zUk5Zo7HICEW+wI/j5kJ2tbuNUCXJ/sNXa03ajW635DiJXA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "node_modules/es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==" + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/hammerjs": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz", + "integrity": "sha512-tSQXBXS/MWQOn/RKckawJ61vvsDpCom87JgxiYdGwHdOa0ht0vzUWDlfioofFCRU0L+6NGDt6XzbgoJvZkMeRQ==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/html-entities": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz", + "integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==" + }, + "node_modules/immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" + }, + "node_modules/imsc": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/imsc/-/imsc-1.1.5.tgz", + "integrity": "sha512-V8je+CGkcvGhgl2C1GlhqFFiUOIEdwXbXLiu1Fcubvvbo+g9inauqT3l0pNYXGoLPBj3jxtZz9t+wCopMkwadQ==", + "dependencies": { + "sax": "1.2.1" + } + }, + "node_modules/is-alphabetical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", + "dependencies": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jiti": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "peer": true + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/laravel-vite-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.0.2.tgz", + "integrity": "sha512-Mcclml10khYzBVxDwJro8wnVDwD4i7XOSEMACQNnarvTnHjrjXLLL+B/Snif2wYAyElsOqagJZ7VAinb/2vF5g==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "vite-plugin-full-reload": "^1.1.0" + }, + "bin": { + "clean-orphaned-assets": "bin/clean.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "vite": "^5.0.0" + } + }, + "node_modules/lie": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", + "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==", + "dependencies": { + "immediate": "~3.0.5" + } + }, + "node_modules/lilconfig": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", + "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "node_modules/lit-html": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-2.8.0.tgz", + "integrity": "sha512-o9t+MQM3P4y7M7yNzqAyjp7z+mQGa4NS4CxiyLqFPyFWyc4O+nodLrkrxSaCTrla6M5YOLaT3RpbbqjszB5g3Q==", + "license": "BSD-3-Clause", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, + "node_modules/loadjs": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/loadjs/-/loadjs-4.2.0.tgz", + "integrity": "sha512-AgQGZisAlTPbTEzrHPb6q+NYBMD+DP9uvGSIjSUM5uG+0jG15cb8axWpxuOIqrmQjn6scaaH8JwloiP27b2KXA==" + }, + "node_modules/localforage": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz", + "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==", + "dependencies": { + "lie": "3.1.1" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/media-captions": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/media-captions/-/media-captions-1.0.4.tgz", + "integrity": "sha512-cyDNmuZvvO4H27rcBq2Eudxo9IZRDCOX/I7VEyqbxsEiD2Ei7UYUhG/Sc5fvMZjmathgz3fEK7iAKqvpY+Ux1w==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "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" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mini-svg-data-uri": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz", + "integrity": "sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==", + "dev": true, + "bin": { + "mini-svg-data-uri": "cli.js" + } + }, + "node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-hash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "dependencies": { + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/perfect-scrollbar": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz", + "integrity": "sha512-dzalfutyP3e/FOpdlhVryN4AJ5XDVauVWxybSkLZmakFE2sS3y3pc4JnSprw8tGmHvkaG5Edr5T7LBTZ+WWU2g==" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/plyr": { + "version": "3.7.8", + "resolved": "https://registry.npmjs.org/plyr/-/plyr-3.7.8.tgz", + "integrity": "sha512-yG/EHDobwbB/uP+4Bm6eUpJ93f8xxHjjk2dYcD1Oqpe1EcuQl5tzzw9Oq+uVAzd2lkM11qZfydSiyIpiB8pgdA==", + "dependencies": { + "core-js": "^3.26.1", + "custom-event-polyfill": "^1.0.7", + "loadjs": "^4.2.0", + "rangetouch": "^2.0.1", + "url-polyfill": "^1.1.12" + } + }, + "node_modules/postcss": { + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/postcss-js": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz", + "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==", + "dependencies": { + "camelcase-css": "^2.0.1" + }, + "engines": { + "node": "^12 || ^14 || >= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.4.21" + } + }, + "node_modules/postcss-load-config": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", + "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "lilconfig": "^3.0.0", + "yaml": "^2.3.4" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/postcss-load-config/node_modules/lilconfig": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", + "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/postcss-nested": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz", + "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.11" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.0.16", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", + "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "peer": true, + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rangetouch": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rangetouch/-/rangetouch-2.0.1.tgz", + "integrity": "sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==" + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "peer": true + }, + "node_modules/read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", + "dependencies": { + "pify": "^2.3.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/sucrase": { + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", + "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "glob": "^10.3.10", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tailwindcss": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz", + "integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==", + "dev": true, + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.3.0", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.19.1", + "lilconfig": "^2.1.0", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.4.23", + "postcss-import": "^15.1.0", + "postcss-js": "^4.0.1", + "postcss-load-config": "^4.0.1", + "postcss-nested": "^6.0.1", + "postcss-selector-parser": "^6.0.11", + "resolve": "^1.22.2", + "sucrase": "^3.32.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==" + }, + "node_modules/tw-elements": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tw-elements/-/tw-elements-1.1.0.tgz", + "integrity": "sha512-IUr9YW2l99oTVZxuVjQg6rpuCpo6VZqbaKGYmZUNVVsoSVU/ljPpkJAY2Pn/morlXwKPhP9MTPNQMlWosqHL4w==", + "dependencies": { + "@popperjs/core": "^2.6.0", + "chart.js": "^3.7.1", + "chartjs-plugin-datalabels": "^2.0.0", + "deepmerge": "^4.2.2", + "detect-autofill": "^1.1.3", + "perfect-scrollbar": "^1.5.5", + "tailwindcss": "3.3.0" + } + }, + "node_modules/tw-elements/node_modules/postcss-import": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz", + "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==", + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, + "node_modules/tw-elements/node_modules/postcss-load-config": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz", + "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==", + "dependencies": { + "lilconfig": "^2.0.5", + "yaml": "^1.10.2" + }, + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": ">=8.0.9", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "postcss": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/tw-elements/node_modules/postcss-nested": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz", + "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==", + "dependencies": { + "postcss-selector-parser": "^6.0.10" + }, + "engines": { + "node": ">=12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + "peerDependencies": { + "postcss": "^8.2.14" + } + }, + "node_modules/tw-elements/node_modules/tailwindcss": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.0.tgz", + "integrity": "sha512-hOXlFx+YcklJ8kXiCAfk/FMyr4Pm9ck477G0m/us2344Vuj355IpoEDB5UmGAsSpTBmr+4ZhjzW04JuFXkb/fw==", + "dependencies": { + "arg": "^5.0.2", + "chokidar": "^3.5.3", + "color-name": "^1.1.4", + "didyoumean": "^1.2.2", + "dlv": "^1.1.3", + "fast-glob": "^3.2.12", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "jiti": "^1.17.2", + "lilconfig": "^2.0.6", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-hash": "^3.0.0", + "picocolors": "^1.0.0", + "postcss": "^8.0.9", + "postcss-import": "^14.1.0", + "postcss-js": "^4.0.0", + "postcss-load-config": "^3.1.4", + "postcss-nested": "6.0.0", + "postcss-selector-parser": "^6.0.11", + "postcss-value-parser": "^4.2.0", + "quick-lru": "^5.1.1", + "resolve": "^1.22.1", + "sucrase": "^3.29.0" + }, + "bin": { + "tailwind": "lib/cli.js", + "tailwindcss": "lib/cli.js" + }, + "engines": { + "node": ">=12.13.0" + }, + "peerDependencies": { + "postcss": "^8.0.9" + } + }, + "node_modules/tw-elements/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/ua-parser-js": { + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz", + "integrity": "sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "engines": { + "node": "*" + } + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unplugin": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.16.1.tgz", + "integrity": "sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==", + "license": "MIT", + "dependencies": { + "acorn": "^8.14.0", + "webpack-virtual-modules": "^0.6.2" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/url-polyfill": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/url-polyfill/-/url-polyfill-1.1.12.tgz", + "integrity": "sha512-mYFmBHCapZjtcNHW0MDq9967t+z4Dmg5CJ0KqysK3+ZbyoNOWQHksGCTWwDhxGXllkWlOc10Xfko6v4a3ucM6A==" + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/vidstack": { + "version": "1.12.13", + "resolved": "https://registry.npmjs.org/vidstack/-/vidstack-1.12.13.tgz", + "integrity": "sha512-vuNeyRmWoH/7EoFVDYjp9nkgcqtCMmal518LDeb78dYKgWb+p6+vtY0AzDhrkBv5q1UiCn+xwmjMmwvSlPLuhQ==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.6.10", + "lit-html": "^2.8.0", + "media-captions": "^1.0.4", + "unplugin": "^1.12.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/vite": { + "version": "5.4.10", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz", + "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-plugin-full-reload": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz", + "integrity": "sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "picomatch": "^2.3.1" + } + }, + "node_modules/vite-plugin-static-copy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-1.0.1.tgz", + "integrity": "sha512-3eGL4mdZoPJMDBT68pv/XKIHR4MgVolStIxxv1gIBP4R8TpHn9C9EnaU0hesqlseJ4ycLGUxckFTu/jpuJXQlA==", + "dev": true, + "dependencies": { + "chokidar": "^3.5.3", + "fast-glob": "^3.2.11", + "fs-extra": "^11.1.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "vite": "^5.0.0" + } + }, + "node_modules/webpack-virtual-modules": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz", + "integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==", + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yaml": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.1.tgz", + "integrity": "sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==", + "dev": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..131175e --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "private": true, + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build" + }, + "devDependencies": { + "@tailwindcss/forms": "^0.5.7", + "autoprefixer": "^10.4.18", + "axios": "^1.6.8", + "laravel-vite-plugin": "^1.0.2", + "postcss": "^8.4.35", + "tailwindcss": "^3.4.1", + "vite": "^5.1.6", + "vite-plugin-static-copy": "^1.0.1" + }, + "dependencies": { + "@fortawesome/fontawesome-free": "^6.5.1", + "@jellyfin/libass-wasm": "^4.1.1", + "@yaireo/tagify": "^4.21.2", + "dashjs": "^4.7.4", + "hammerjs": "^2.0.8", + "plyr": "^3.7.8", + "tw-elements": "^1.1.0", + "vidstack": "^1.12.13" + } +} diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..7fb08b5 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,30 @@ + + + + + tests/Unit + + + tests/Feature + + + + + app + + + + + + + + + + + + + diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..49c0612 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..3aec5e2 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,21 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/public/fonts/Figtree-ExtraBold.woff2 b/public/fonts/Figtree-ExtraBold.woff2 new file mode 100644 index 0000000..2aa403b Binary files /dev/null and b/public/fonts/Figtree-ExtraBold.woff2 differ diff --git a/public/fonts/Hind-SemiBold.ttf b/public/fonts/Hind-SemiBold.ttf new file mode 100644 index 0000000..aad278a Binary files /dev/null and b/public/fonts/Hind-SemiBold.ttf differ diff --git a/public/images/404.png b/public/images/404.png new file mode 100644 index 0000000..3a779aa Binary files /dev/null and b/public/images/404.png differ diff --git a/public/images/500.png b/public/images/500.png new file mode 100644 index 0000000..4265e50 Binary files /dev/null and b/public/images/500.png differ diff --git a/public/images/background/.gitignore b/public/images/background/.gitignore new file mode 100644 index 0000000..c96a04f --- /dev/null +++ b/public/images/background/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/public/images/cropped-HS-1-180x180.png b/public/images/cropped-HS-1-180x180.png new file mode 100644 index 0000000..80b2f00 Binary files /dev/null and b/public/images/cropped-HS-1-180x180.png differ diff --git a/public/images/cropped-HS-1-180x180.webp b/public/images/cropped-HS-1-180x180.webp new file mode 100644 index 0000000..25462a4 Binary files /dev/null and b/public/images/cropped-HS-1-180x180.webp differ diff --git a/public/images/cropped-HS-1-192x192.png b/public/images/cropped-HS-1-192x192.png new file mode 100644 index 0000000..3c8fa0c Binary files /dev/null and b/public/images/cropped-HS-1-192x192.png differ diff --git a/public/images/cropped-HS-1-192x192.webp b/public/images/cropped-HS-1-192x192.webp new file mode 100644 index 0000000..4296da8 Binary files /dev/null and b/public/images/cropped-HS-1-192x192.webp differ diff --git a/public/images/cropped-HS-1-270x270.png b/public/images/cropped-HS-1-270x270.png new file mode 100644 index 0000000..862545e Binary files /dev/null and b/public/images/cropped-HS-1-270x270.png differ diff --git a/public/images/cropped-HS-1-270x270.webp b/public/images/cropped-HS-1-270x270.webp new file mode 100644 index 0000000..122cde0 Binary files /dev/null and b/public/images/cropped-HS-1-270x270.webp differ diff --git a/public/images/cropped-HS-1-32x32.png b/public/images/cropped-HS-1-32x32.png new file mode 100644 index 0000000..15584cf Binary files /dev/null and b/public/images/cropped-HS-1-32x32.png differ diff --git a/public/images/cropped-HS-1-32x32.webp b/public/images/cropped-HS-1-32x32.webp new file mode 100644 index 0000000..3be5744 Binary files /dev/null and b/public/images/cropped-HS-1-32x32.webp differ diff --git a/public/images/default-avatar.jpg b/public/images/default-avatar.jpg new file mode 100644 index 0000000..30617ae Binary files /dev/null and b/public/images/default-avatar.jpg differ diff --git a/public/images/default-avatar.webp b/public/images/default-avatar.webp new file mode 100644 index 0000000..8b95ee1 Binary files /dev/null and b/public/images/default-avatar.webp differ diff --git a/public/images/hs_banner.png b/public/images/hs_banner.png new file mode 100644 index 0000000..ee8f9e8 Binary files /dev/null and b/public/images/hs_banner.png differ diff --git a/public/images/hs_branding_1.webp b/public/images/hs_branding_1.webp new file mode 100644 index 0000000..878bbfc Binary files /dev/null and b/public/images/hs_branding_1.webp differ diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..1d69f3a --- /dev/null +++ b/public/index.php @@ -0,0 +1,55 @@ +make(Kernel::class); + +$response = $kernel->handle( + $request = Request::capture() +)->send(); + +$kernel->terminate($request, $response); diff --git a/public/js/default.woff2 b/public/js/default.woff2 new file mode 100644 index 0000000..a562391 Binary files /dev/null and b/public/js/default.woff2 differ diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/public/vendor/sweetalert/sweetalert.all.js b/public/vendor/sweetalert/sweetalert.all.js new file mode 100644 index 0000000..39b5c3b --- /dev/null +++ b/public/vendor/sweetalert/sweetalert.all.js @@ -0,0 +1,6 @@ +/*! +* sweetalert2 v11.7.20 +* Released under the MIT License. +*/ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Sweetalert2=t()}(this,(function(){"use strict";const e={},t=t=>new Promise((o=>{if(!t)return o();const n=window.scrollX,i=window.scrollY;e.restoreFocusTimeout=setTimeout((()=>{e.previousActiveElement instanceof HTMLElement?(e.previousActiveElement.focus(),e.previousActiveElement=null):document.body&&document.body.focus(),o()}),100),window.scrollTo(n,i)}));var o={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const n="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce(((e,t)=>(e[t]=n+t,e)),{}),s=["success","warning","info","question","error"].reduce(((e,t)=>(e[t]=n+t,e)),{}),r="SweetAlert2:",a=e=>e.charAt(0).toUpperCase()+e.slice(1),l=e=>{console.warn(`${r} ${"object"==typeof e?e.join(" "):e}`)},c=e=>{console.error(`${r} ${e}`)},u=[],d=(e,t)=>{var o;o=`"${e}" is deprecated and will be removed in the next major release. Please use "${t}" instead.`,u.includes(o)||(u.push(o),l(o))},p=e=>"function"==typeof e?e():e,m=e=>e&&"function"==typeof e.toPromise,g=e=>m(e)?e.toPromise():Promise.resolve(e),h=e=>e&&Promise.resolve(e)===e,f=()=>document.body.querySelector(`.${i.container}`),b=e=>{const t=f();return t?t.querySelector(e):null},y=e=>b(`.${e}`),w=()=>y(i.popup),v=()=>y(i.icon),C=()=>y(i.title),A=()=>y(i["html-container"]),k=()=>y(i.image),B=()=>y(i["progress-steps"]),$=()=>y(i["validation-message"]),E=()=>b(`.${i.actions} .${i.confirm}`),x=()=>b(`.${i.actions} .${i.cancel}`),P=()=>b(`.${i.actions} .${i.deny}`),T=()=>b(`.${i.loader}`),L=()=>y(i.actions),S=()=>y(i.footer),O=()=>y(i["timer-progress-bar"]),M=()=>y(i.close),j=()=>{const e=w();if(!e)return[];const t=e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),o=Array.from(t).sort(((e,t)=>{const o=parseInt(e.getAttribute("tabindex")||"0"),n=parseInt(t.getAttribute("tabindex")||"0");return o>n?1:o"-1"!==e.getAttribute("tabindex")));return[...new Set(o.concat(i))].filter((e=>X(e)))},I=()=>q(document.body,i.shown)&&!q(document.body,i["toast-shown"])&&!q(document.body,i["no-backdrop"]),H=()=>{const e=w();return!!e&&q(e,i.toast)},D=(e,t)=>{if(e.textContent="",t){const o=(new DOMParser).parseFromString(t,"text/html"),n=o.querySelector("head");n&&Array.from(n.childNodes).forEach((t=>{e.appendChild(t)}));const i=o.querySelector("body");i&&Array.from(i.childNodes).forEach((t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},q=(e,t)=>{if(!t)return!1;const o=t.split(/\s+/);for(let t=0;t{if(((e,t)=>{Array.from(e.classList).forEach((o=>{Object.values(i).includes(o)||Object.values(s).includes(o)||Object.values(t.showClass||{}).includes(o)||e.classList.remove(o)}))})(e,t),t.customClass&&t.customClass[o]){if("string"!=typeof t.customClass[o]&&!t.customClass[o].forEach)return void l(`Invalid type of customClass.${o}! Expected string or iterable object, got "${typeof t.customClass[o]}"`);R(e,t.customClass[o])}},N=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${i.popup} > .${i[t]}`);case"checkbox":return e.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return e.querySelector(`.${i.popup} > .${i.radio} input:checked`)||e.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return e.querySelector(`.${i.popup} > .${i.range} input`);default:return e.querySelector(`.${i.popup} > .${i.input}`)}},F=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},_=(e,t,o)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{o?e.classList.add(t):e.classList.remove(t)})):o?e.classList.add(t):e.classList.remove(t)})))},R=(e,t)=>{_(e,t,!0)},U=(e,t)=>{_(e,t,!1)},z=(e,t)=>{const o=Array.from(e.children);for(let e=0;e{o===`${parseInt(o)}`&&(o=parseInt(o)),o||0===parseInt(o)?e.style[t]="number"==typeof o?`${o}px`:o:e.style.removeProperty(t)},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},Y=e=>{e&&(e.style.display="none")},Z=(e,t,o,n)=>{const i=e.querySelector(t);i&&(i.style[o]=n)},J=function(e,t){t?K(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):Y(e)},X=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),G=e=>!!(e.scrollHeight>e.clientHeight),Q=e=>{const t=window.getComputedStyle(e),o=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return o>0||n>0},ee=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=O();X(o)&&(t&&(o.style.transition="none",o.style.width="100%"),setTimeout((()=>{o.style.transition=`width ${e/1e3}s linear`,o.style.width="0%"}),10))},te=()=>"undefined"==typeof window||"undefined"==typeof document,oe=`\n
\n \n
    \n
    \n \n

    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n`.replace(/(^|\n)\s*/g,""),ne=()=>{e.currentInstance.resetValidationMessage()},ie=e=>{const t=(()=>{const e=f();return!!e&&(e.remove(),U([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0)})();if(te())return void c("SweetAlert2 requires document to initialize");const o=document.createElement("div");o.className=i.container,t&&R(o,i["no-transition"]),D(o,oe);const n="string"==typeof(s=e.target)?document.querySelector(s):s;var s;n.appendChild(o),(e=>{const t=w();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&R(f(),i.rtl)})(n),(()=>{const e=w(),t=z(e,i.input),o=z(e,i.file),n=e.querySelector(`.${i.range} input`),s=e.querySelector(`.${i.range} output`),r=z(e,i.select),a=e.querySelector(`.${i.checkbox} input`),l=z(e,i.textarea);t.oninput=ne,o.onchange=ne,r.onchange=ne,a.onchange=ne,l.oninput=ne,n.oninput=()=>{ne(),s.value=n.value},n.onchange=()=>{ne(),s.value=n.value}})()},se=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?re(e,t):e&&D(t,e)},re=(e,t)=>{e.jquery?ae(t,e):D(t,e.toString())},ae=(e,t)=>{if(e.textContent="",0 in t)for(let o=0;o in t;o++)e.appendChild(t[o].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},le=(()=>{if(te())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&void 0!==e.style[o])return t[o];return!1})(),ce=(e,t)=>{const o=L(),n=T();o&&n&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?K(o):Y(o),V(o,t,"actions"),function(e,t,o){const n=E(),s=P(),r=x();if(!n||!s||!r)return;ue(n,"confirm",o),ue(s,"deny",o),ue(r,"cancel",o),function(e,t,o,n){if(!n.buttonsStyling)return void U([e,t,o],i.styled);R([e,t,o],i.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,R(e,i["default-outline"]));n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,R(t,i["default-outline"]));n.cancelButtonColor&&(o.style.backgroundColor=n.cancelButtonColor,R(o,i["default-outline"]))}(n,s,r,o),o.reverseButtons&&(o.toast?(e.insertBefore(r,n),e.insertBefore(s,n)):(e.insertBefore(r,t),e.insertBefore(s,t),e.insertBefore(n,t)))}(o,n,t),D(n,t.loaderHtml||""),V(n,t,"loader"))};function ue(e,t,o){const n=a(t);J(e,o[`show${n}Button`],"inline-block"),D(e,o[`${t}ButtonText`]||""),e.setAttribute("aria-label",o[`${t}ButtonAriaLabel`]||""),e.className=i[t],V(e,o,`${t}Button`)}const de=(e,t)=>{const o=f();o&&(!function(e,t){"string"==typeof t?e.style.background=t:t||R([document.documentElement,document.body],i["no-backdrop"])}(o,t.backdrop),function(e,t){if(!t)return;t in i?R(e,i[t]):(l('The "position" parameter is not valid, defaulting to "center"'),R(e,i.center))}(o,t.position),function(e,t){if(!t)return;R(e,i[`grow-${t}`])}(o,t.grow),V(o,t,"container"))};const pe=["input","file","range","select","radio","checkbox","textarea"],me=e=>{if(!ve[e.input])return void c(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${e.input}"`);const t=ye(e.input),o=ve[e.input](t,e);K(t),e.inputAutoFocus&&setTimeout((()=>{F(o)}))},ge=(e,t)=>{const o=N(w(),e);if(o){(e=>{for(let t=0;t{const t=ye(e.input);"object"==typeof e.customClass&&R(t,e.customClass.input)},fe=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},be=(e,t,o)=>{if(o.inputLabel){const n=document.createElement("label"),s=i["input-label"];n.setAttribute("for",e.id),n.className=s,"object"==typeof o.customClass&&R(n,o.customClass.inputLabel),n.innerText=o.inputLabel,t.insertAdjacentElement("beforebegin",n)}},ye=e=>z(w(),i[e]||i.input),we=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:h(t)||l(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},ve={};ve.text=ve.email=ve.password=ve.number=ve.tel=ve.url=(e,t)=>(we(e,t.inputValue),be(e,e,t),fe(e,t),e.type=t.input,e),ve.file=(e,t)=>(be(e,e,t),fe(e,t),e),ve.range=(e,t)=>{const o=e.querySelector("input"),n=e.querySelector("output");return we(o,t.inputValue),o.type=t.input,we(n,t.inputValue),be(o,e,t),e},ve.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const o=document.createElement("option");D(o,t.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,e.appendChild(o)}return be(e,e,t),e},ve.radio=e=>(e.textContent="",e),ve.checkbox=(e,t)=>{const o=N(w(),"checkbox");o.value="1",o.checked=Boolean(t.inputValue);const n=e.querySelector("span");return D(n,t.inputPlaceholder),o},ve.textarea=(e,t)=>{we(e,t.inputValue),fe(e,t),be(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const o=parseInt(window.getComputedStyle(w()).width);new MutationObserver((()=>{if(!document.body.contains(e))return;const n=e.offsetWidth+(i=e,parseInt(window.getComputedStyle(i).marginLeft)+parseInt(window.getComputedStyle(i).marginRight));var i;n>o?w().style.width=`${n}px`:W(w(),"width",t.width)})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const Ce=(e,t)=>{const n=A();n&&(V(n,t,"htmlContainer"),t.html?(se(t.html,n),K(n,"block")):t.text?(n.textContent=t.text,K(n,"block")):Y(n),((e,t)=>{const n=w(),s=o.innerParams.get(e),r=!s||t.input!==s.input;pe.forEach((e=>{const o=z(n,i[e]);ge(e,t.inputAttributes),o.className=i[e],r&&Y(o)})),t.input&&(r&&me(t),he(t))})(e,t))},Ae=(e,t)=>{for(const[o,n]of Object.entries(s))t.icon!==o&&U(e,n);R(e,t.icon&&s[t.icon]),$e(e,t),ke(),V(e,t,"icon")},ke=()=>{const e=w();if(!e)return;const t=window.getComputedStyle(e).getPropertyValue("background-color"),o=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e{if(!t.icon&&!t.iconHtml)return;let o=e.innerHTML,n="";if(t.iconHtml)n=Ee(t.iconHtml);else if("success"===t.icon)n='\n
    \n \n
    \n
    \n',o=o.replace(/ style=".*?"/g,"");else if("error"===t.icon)n='\n \n \n \n \n';else if(t.icon){n=Ee({question:"?",warning:"!",info:"i"}[t.icon])}o.trim()!==n.trim()&&D(e,n)},$e=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])Z(e,o,"backgroundColor",t.iconColor);Z(e,".swal2-success-ring","borderColor",t.iconColor)}},Ee=e=>`
    ${e}
    `,xe=(e,t)=>{const o=t.showClass||{};e.className=`${i.popup} ${X(e)?o.popup:""}`,t.toast?(R([document.documentElement,document.body],i["toast-shown"]),R(e,i.toast)):R(e,i.modal),V(e,t,"popup"),"string"==typeof t.customClass&&R(e,t.customClass),t.icon&&R(e,i[`icon-${t.icon}`])},Pe=e=>{const t=document.createElement("li");return R(t,i["progress-step"]),D(t,e),t},Te=e=>{const t=document.createElement("li");return R(t,i["progress-step-line"]),e.progressStepsDistance&&W(t,"width",e.progressStepsDistance),t},Le=(e,t)=>{((e,t)=>{const o=f(),n=w();if(o&&n){if(t.toast){W(o,"width",t.width),n.style.width="100%";const e=T();e&&n.insertBefore(e,v())}else W(n,"width",t.width);W(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),Y($()),xe(n,t)}})(0,t),de(0,t),((e,t)=>{const o=B();if(!o)return;const{progressSteps:n,currentProgressStep:s}=t;n&&0!==n.length&&void 0!==s?(K(o),o.textContent="",s>=n.length&&l("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.forEach(((e,r)=>{const a=Pe(e);if(o.appendChild(a),r===s&&R(a,i["active-progress-step"]),r!==n.length-1){const e=Te(t);o.appendChild(e)}}))):Y(o)})(0,t),((e,t)=>{const n=o.innerParams.get(e),i=v();if(i){if(n&&t.icon===n.icon)return Be(i,t),void Ae(i,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(s).indexOf(t.icon))return c(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),void Y(i);K(i),Be(i,t),Ae(i,t),R(i,t.showClass&&t.showClass.icon)}else Y(i)}})(e,t),((e,t)=>{const o=k();o&&(t.imageUrl?(K(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt||""),W(o,"width",t.imageWidth),W(o,"height",t.imageHeight),o.className=i.image,V(o,t,"image")):Y(o))})(0,t),((e,t)=>{const o=C();o&&(J(o,t.title||t.titleText,"block"),t.title&&se(t.title,o),t.titleText&&(o.innerText=t.titleText),V(o,t,"title"))})(0,t),((e,t)=>{const o=M();o&&(D(o,t.closeButtonHtml||""),V(o,t,"closeButton"),J(o,t.showCloseButton),o.setAttribute("aria-label",t.closeButtonAriaLabel||""))})(0,t),Ce(e,t),ce(0,t),((e,t)=>{const o=S();o&&(J(o,t.footer),t.footer&&se(t.footer,o),V(o,t,"footer"))})(0,t);const n=w();"function"==typeof t.didRender&&n&&t.didRender(n)},Se=()=>E()&&E().click(),Oe=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Me=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},je=(e,t)=>{const o=j();if(o.length)return(e+=t)===o.length?e=0:-1===e&&(e=o.length-1),void o[e].focus();w().focus()},Ie=["ArrowRight","ArrowDown"],He=["ArrowLeft","ArrowUp"],De=(e,t,n)=>{const i=o.innerParams.get(e);i&&(t.isComposing||229===t.keyCode||(i.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?qe(e,t,i):"Tab"===t.key?Ve(t):[...Ie,...He].includes(t.key)?Ne(t.key):"Escape"===t.key&&Fe(t,i,n)))},qe=(e,t,o)=>{if(p(o.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(o.input))return;Se(),t.preventDefault()}},Ve=e=>{const t=e.target,o=j();let n=-1;for(let e=0;e{const t=[E(),P(),x()];if(document.activeElement instanceof HTMLElement&&!t.includes(document.activeElement))return;const o=Ie.includes(e)?"nextElementSibling":"previousElementSibling";let n=document.activeElement;for(let e=0;e{p(t.allowEscapeKey)&&(e.preventDefault(),o(Oe.esc))};var _e={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Re=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Ue="undefined"!=typeof window&&!!window.GestureEvent,ze=()=>{const e=f();let t;e.ontouchstart=e=>{t=We(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},We=e=>{const t=e.target,o=f();return!Ke(e)&&!Ye(e)&&(t===o||!G(o)&&t instanceof HTMLElement&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&(!G(A())||!A().contains(t)))},Ke=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,Ye=e=>e.touches&&e.touches.length>1;let Ze=null;const Je=()=>{null===Ze&&document.body.scrollHeight>window.innerHeight&&(Ze=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Ze+(()=>{const e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})()}px`)};function Xe(o,n,s,r){H()?st(o,r):(t(s).then((()=>st(o,r))),Me(e)),Ue?(n.setAttribute("style","display:none !important"),n.removeAttribute("class"),n.innerHTML=""):n.remove(),I()&&(null!==Ze&&(document.body.style.paddingRight=`${Ze}px`,Ze=null),(()=>{if(q(document.body,i.iosfix)){const e=parseInt(document.body.style.top,10);U(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Re()),U([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function Ge(e){e=ot(e);const t=_e.swalPromiseResolve.get(this),o=Qe(this);this.isAwaitingPromise?e.isDismissed||(tt(this),t(e)):o&&t(e)}const Qe=e=>{const t=w();if(!t)return!1;const n=o.innerParams.get(e);if(!n||q(t,n.hideClass.popup))return!1;U(t,n.showClass.popup),R(t,n.hideClass.popup);const i=f();return U(i,n.showClass.backdrop),R(i,n.hideClass.backdrop),nt(e,t,n),!0};function et(e){const t=_e.swalPromiseReject.get(this);tt(this),t&&t(e)}const tt=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,o.innerParams.get(e)||e._destroy())},ot=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),nt=(e,t,o)=>{const n=f(),i=le&&Q(t);"function"==typeof o.willClose&&o.willClose(t),i?it(e,t,n,o.returnFocus,o.didClose):Xe(e,n,o.returnFocus,o.didClose)},it=(t,o,n,i,s)=>{e.swalCloseEventFinishedCallback=Xe.bind(null,t,n,i,s),o.addEventListener(le,(function(t){t.target===o&&(e.swalCloseEventFinishedCallback(),delete e.swalCloseEventFinishedCallback)}))},st=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},rt=e=>{let t=w();t||new Do,t=w();const o=T();H()?Y(v()):at(t,e),K(o),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},at=(e,t)=>{const o=L(),n=T();!t&&X(E())&&(t=E()),K(o),t&&(Y(t),n.setAttribute("data-button-to-replace",t.className)),n.parentNode.insertBefore(n,t),R([e,o],i.loading)},lt=e=>e.checked?1:0,ct=e=>e.checked?e.value:null,ut=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,dt=(e,t)=>{const o=w(),n=e=>{mt[t.input](o,gt(e),t)};m(t.inputOptions)||h(t.inputOptions)?(rt(E()),g(t.inputOptions).then((t=>{e.hideLoading(),n(t)}))):"object"==typeof t.inputOptions?n(t.inputOptions):c("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof t.inputOptions)},pt=(e,t)=>{const o=e.getInput();Y(o),g(t.inputValue).then((n=>{o.value="number"===t.input?`${parseFloat(n)||0}`:`${n}`,K(o),o.focus(),e.hideLoading()})).catch((t=>{c(`Error in inputValue promise: ${t}`),o.value="",K(o),o.focus(),e.hideLoading()}))},mt={select:(e,t,o)=>{const n=z(e,i.select),s=(e,t,n)=>{const i=document.createElement("option");i.value=n,D(i,t),i.selected=ht(n,o.inputValue),e.appendChild(i)};t.forEach((e=>{const t=e[0],o=e[1];if(Array.isArray(o)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),o.forEach((t=>s(e,t[1],t[0])))}else s(n,o,t)})),n.focus()},radio:(e,t,o)=>{const n=z(e,i.radio);t.forEach((e=>{const t=e[0],s=e[1],r=document.createElement("input"),a=document.createElement("label");r.type="radio",r.name=i.radio,r.value=t,ht(t,o.inputValue)&&(r.checked=!0);const l=document.createElement("span");D(l,s),l.className=i.label,a.appendChild(r),a.appendChild(l),n.appendChild(a)}));const s=n.querySelectorAll("input");s.length&&s[0].focus()}},gt=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,o)=>{let n=e;"object"==typeof n&&(n=gt(n)),t.push([o,n])})):Object.keys(e).forEach((o=>{let n=e[o];"object"==typeof n&&(n=gt(n)),t.push([o,n])})),t},ht=(e,t)=>t&&t.toString()===e.toString(),ft=(e,t)=>{const n=o.innerParams.get(e);if(!n.input)return void c(`The "input" parameter is needed to be set when using returnInputValueOn${a(t)}`);const i=((e,t)=>{const o=e.getInput();if(!o)return null;switch(t.input){case"checkbox":return lt(o);case"radio":return ct(o);case"file":return ut(o);default:return t.inputAutoTrim?o.value.trim():o.value}})(e,n);n.inputValidator?bt(e,i,t):e.getInput().checkValidity()?"deny"===t?yt(e,i):Ct(e,i):(e.enableButtons(),e.showValidationMessage(n.validationMessage))},bt=(e,t,n)=>{const i=o.innerParams.get(e);e.disableInput();Promise.resolve().then((()=>g(i.inputValidator(t,i.validationMessage)))).then((o=>{e.enableButtons(),e.enableInput(),o?e.showValidationMessage(o):"deny"===n?yt(e,t):Ct(e,t)}))},yt=(e,t)=>{const n=o.innerParams.get(e||void 0);if(n.showLoaderOnDeny&&rt(P()),n.preDeny){e.isAwaitingPromise=!0;Promise.resolve().then((()=>g(n.preDeny(t,n.validationMessage)))).then((o=>{!1===o?(e.hideLoading(),tt(e)):e.close({isDenied:!0,value:void 0===o?t:o})})).catch((t=>vt(e||void 0,t)))}else e.close({isDenied:!0,value:t})},wt=(e,t)=>{e.close({isConfirmed:!0,value:t})},vt=(e,t)=>{e.rejectPromise(t)},Ct=(e,t)=>{const n=o.innerParams.get(e||void 0);if(n.showLoaderOnConfirm&&rt(),n.preConfirm){e.resetValidationMessage(),e.isAwaitingPromise=!0;Promise.resolve().then((()=>g(n.preConfirm(t,n.validationMessage)))).then((o=>{X($())||!1===o?(e.hideLoading(),tt(e)):wt(e,void 0===o?t:o)})).catch((t=>vt(e||void 0,t)))}else wt(e,t)};function At(){const e=o.innerParams.get(this);if(!e)return;const t=o.domCache.get(this);Y(t.loader),H()?e.icon&&K(v()):kt(t),U([t.popup,t.actions],i.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const kt=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?K(t[0],"inline-block"):X(E())||X(P())||X(x())||Y(e.actions)};function Bt(){const e=o.innerParams.get(this),t=o.domCache.get(this);return t?N(t.popup,e.input):null}function $t(e,t,n){const i=o.domCache.get(e);t.forEach((e=>{i[e].disabled=n}))}function Et(e,t){if(e)if("radio"===e.type){const o=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;eObject.prototype.hasOwnProperty.call(Mt,e),qt=e=>-1!==jt.indexOf(e),Vt=e=>It[e],Nt=e=>{Dt(e)||l(`Unknown parameter "${e}"`)},Ft=e=>{Ht.includes(e)&&l(`The parameter "${e}" is incompatible with toasts`)},_t=e=>{const t=Vt(e);t&&d(e,t)};function Rt(e){const t=w(),n=o.innerParams.get(this);if(!t||q(t,n.hideClass.popup))return void l("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const i=Ut(e),s=Object.assign({},n,i);Le(this,s),o.innerParams.set(this,s),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const Ut=e=>{const t={};return Object.keys(e).forEach((o=>{qt(o)?t[o]=e[o]:l(`Invalid parameter to update: ${o}`)})),t};function zt(){const t=o.domCache.get(this),n=o.innerParams.get(this);n?(t.popup&&e.swalCloseEventFinishedCallback&&(e.swalCloseEventFinishedCallback(),delete e.swalCloseEventFinishedCallback),"function"==typeof n.didDestroy&&n.didDestroy(),Wt(this)):Kt(this)}const Wt=t=>{Kt(t),delete t.params,delete e.keydownHandler,delete e.keydownTarget,delete e.currentInstance},Kt=e=>{e.isAwaitingPromise?(Yt(o,e),e.isAwaitingPromise=!0):(Yt(_e,e),Yt(o,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Yt=(e,t)=>{for(const o in e)e[o].delete(t)};var Zt=Object.freeze({__proto__:null,_destroy:zt,close:Ge,closeModal:Ge,closePopup:Ge,closeToast:Ge,disableButtons:Pt,disableInput:Lt,disableLoading:At,enableButtons:xt,enableInput:Tt,getInput:Bt,handleAwaitingPromise:tt,hideLoading:At,rejectPromise:et,resetValidationMessage:Ot,showValidationMessage:St,update:Rt});const Jt=(e,t,n)=>{t.popup.onclick=()=>{const t=o.innerParams.get(e);t&&(Xt(t)||t.timer||t.input)||n(Oe.close)}},Xt=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let Gt=!1;const Qt=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(Gt=!0)}}},eo=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(Gt=!0)}}},to=(e,t,n)=>{t.container.onclick=i=>{const s=o.innerParams.get(e);Gt?Gt=!1:i.target===t.container&&p(s.allowOutsideClick)&&n(Oe.backdrop)}},oo=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const no=()=>{if(e.timeout)return(()=>{const e=O(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const o=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width=`${o}%`})(),e.timeout.stop()},io=()=>{if(e.timeout){const t=e.timeout.start();return ee(t),t}};let so=!1;const ro={};const ao=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in ro){const o=t.getAttribute(e);if(o)return void ro[e].fire({template:o})}};var lo=Object.freeze({__proto__:null,argsToParams:e=>{const t={};return"object"!=typeof e[0]||oo(e[0])?["title","html","icon"].forEach(((o,n)=>{const i=e[n];"string"==typeof i||oo(i)?t[o]=i:void 0!==i&&c(`Unexpected type of ${o}! Expected "string" or "Element", got ${typeof i}`)})):Object.assign(t,e[0]),t},bindClickHandler:function(){ro[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,so||(document.body.addEventListener("click",ao),so=!0)},clickCancel:()=>x()&&x().click(),clickConfirm:Se,clickDeny:()=>P()&&P().click(),enableLoading:rt,fire:function(){for(var e=arguments.length,t=new Array(e),o=0;oy(i["icon-content"]),getImage:k,getInputLabel:()=>y(i["input-label"]),getLoader:T,getPopup:w,getProgressSteps:B,getTimerLeft:()=>e.timeout&&e.timeout.getTimerLeft(),getTimerProgressBar:O,getTitle:C,getValidationMessage:$,increaseTimer:t=>{if(e.timeout){const o=e.timeout.increase(t);return ee(o,!0),o}},isDeprecatedParameter:Vt,isLoading:()=>{const e=w();return!!e&&e.hasAttribute("data-loading")},isTimerRunning:()=>!(!e.timeout||!e.timeout.isRunning()),isUpdatableParameter:qt,isValidParameter:Dt,isVisible:()=>X(w()),mixin:function(e){return class extends(this){_main(t,o){return super._main(t,Object.assign({},e,o))}}},resumeTimer:io,showLoading:rt,stopTimer:no,toggleTimer:()=>{const t=e.timeout;return t&&(t.running?no():io())}});class co{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const uo=["swal-title","swal-html","swal-footer"],po=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{vo(e,["name","value"]);const o=e.getAttribute("name"),n=e.getAttribute("value");t[o]="boolean"==typeof Mt[o]?"false"!==n:"object"==typeof Mt[o]?JSON.parse(n):n})),t},mo=e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((e=>{const o=e.getAttribute("name"),n=e.getAttribute("value");t[o]=new Function(`return ${n}`)()})),t},go=e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{vo(e,["type","color","aria-label"]);const o=e.getAttribute("type");t[`${o}ButtonText`]=e.innerHTML,t[`show${a(o)}Button`]=!0,e.hasAttribute("color")&&(t[`${o}ButtonColor`]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t[`${o}ButtonAriaLabel`]=e.getAttribute("aria-label"))})),t},ho=e=>{const t={},o=e.querySelector("swal-image");return o&&(vo(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt"))),t},fo=e=>{const t={},o=e.querySelector("swal-icon");return o&&(vo(o,["type","color"]),o.hasAttribute("type")&&(t.icon=o.getAttribute("type")),o.hasAttribute("color")&&(t.iconColor=o.getAttribute("color")),t.iconHtml=o.innerHTML),t},bo=e=>{const t={},o=e.querySelector("swal-input");o&&(vo(o,["type","label","placeholder","value"]),t.input=o.getAttribute("type")||"text",o.hasAttribute("label")&&(t.inputLabel=o.getAttribute("label")),o.hasAttribute("placeholder")&&(t.inputPlaceholder=o.getAttribute("placeholder")),o.hasAttribute("value")&&(t.inputValue=o.getAttribute("value")));const n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach((e=>{vo(e,["value"]);const o=e.getAttribute("value"),n=e.innerHTML;t.inputOptions[o]=n}))),t},yo=(e,t)=>{const o={};for(const n in t){const i=t[n],s=e.querySelector(i);s&&(vo(s,[]),o[i.replace(/^swal-/,"")]=s.innerHTML.trim())}return o},wo=e=>{const t=uo.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const o=e.tagName.toLowerCase();t.includes(o)||l(`Unrecognized element <${o}>`)}))},vo=(e,t)=>{Array.from(e.attributes).forEach((o=>{-1===t.indexOf(o.name)&&l([`Unrecognized attribute "${o.name}" on <${e.tagName.toLowerCase()}>.`,""+(t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element.")])}))},Co=t=>{const o=f(),n=w();"function"==typeof t.willOpen&&t.willOpen(n);const s=window.getComputedStyle(document.body).overflowY;$o(o,n,t),setTimeout((()=>{ko(o,n)}),10),I()&&(Bo(o,t.scrollbarPadding,s),Array.from(document.body.children).forEach((e=>{e===f()||e.contains(f())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")||""),e.setAttribute("aria-hidden","true"))}))),H()||e.previousActiveElement||(e.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout((()=>t.didOpen(n))),U(o,i["no-transition"])},Ao=e=>{const t=w();if(e.target!==t)return;const o=f();t.removeEventListener(le,Ao),o.style.overflowY="auto"},ko=(e,t)=>{le&&Q(t)?(e.style.overflowY="hidden",t.addEventListener(le,Ao)):e.style.overflowY="auto"},Bo=(e,t,o)=>{(()=>{if(Ue&&!q(document.body,i.iosfix)){const e=document.body.scrollTop;document.body.style.top=-1*e+"px",R(document.body,i.iosfix),ze()}})(),t&&"hidden"!==o&&Je(),setTimeout((()=>{e.scrollTop=0}))},$o=(e,t,o)=>{R(e,o.showClass.backdrop),t.style.setProperty("opacity","0","important"),K(t,"grid"),setTimeout((()=>{R(t,o.showClass.popup),t.style.removeProperty("opacity")}),10),R([document.documentElement,document.body],i.shown),o.heightAuto&&o.backdrop&&!o.toast&&R([document.documentElement,document.body],i["height-auto"])};var Eo={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function xo(e){!function(e){e.inputValidator||("email"===e.input&&(e.inputValidator=Eo.email),"url"===e.input&&(e.inputValidator=Eo.url))}(e),e.showLoaderOnConfirm&&!e.preConfirm&&l("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(l('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("
    ")),ie(e)}let Po;class To{constructor(){if("undefined"==typeof window)return;Po=this;for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!1===e.backdrop&&e.allowOutsideClick&&l('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)Nt(t),e.toast&&Ft(t),_t(t)})(Object.assign({},n,t)),e.currentInstance&&(e.currentInstance._destroy(),I()&&Re()),e.currentInstance=Po;const i=So(t,n);xo(i),Object.freeze(i),e.timeout&&(e.timeout.stop(),delete e.timeout),clearTimeout(e.restoreFocusTimeout);const s=Oo(Po);return Le(Po,i),o.innerParams.set(Po,i),Lo(Po,s,i)}then(e){return o.promise.get(this).then(e)}finally(e){return o.promise.get(this).finally(e)}}const Lo=(t,n,i)=>new Promise(((s,r)=>{const a=e=>{t.close({isDismissed:!0,dismiss:e})};_e.swalPromiseResolve.set(t,s),_e.swalPromiseReject.set(t,r),n.confirmButton.onclick=()=>{(e=>{const t=o.innerParams.get(e);e.disableButtons(),t.input?ft(e,"confirm"):Ct(e,!0)})(t)},n.denyButton.onclick=()=>{(e=>{const t=o.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?ft(e,"deny"):yt(e,!1)})(t)},n.cancelButton.onclick=()=>{((e,t)=>{e.disableButtons(),t(Oe.cancel)})(t,a)},n.closeButton.onclick=()=>{a(Oe.close)},((e,t,n)=>{o.innerParams.get(e).toast?Jt(e,t,n):(Qt(t),eo(t),to(e,t,n))})(t,n,a),((e,t,o,n)=>{Me(t),o.toast||(t.keydownHandler=t=>De(e,t,n),t.keydownTarget=o.keydownListenerCapture?window:w(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(t,e,i,a),((e,t)=>{"select"===t.input||"radio"===t.input?dt(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(m(t.inputValue)||h(t.inputValue))&&(rt(E()),pt(e,t))})(t,i),Co(i),Mo(e,i,a),jo(n,i),setTimeout((()=>{n.container.scrollTop=0}))})),So=(e,t)=>{const o=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const o=t.content;return wo(o),Object.assign(po(o),mo(o),go(o),ho(o),fo(o),bo(o),yo(o,uo))})(e),n=Object.assign({},Mt,t,o,e);return n.showClass=Object.assign({},Mt.showClass,n.showClass),n.hideClass=Object.assign({},Mt.hideClass,n.hideClass),n},Oo=e=>{const t={popup:w(),container:f(),actions:L(),confirmButton:E(),denyButton:P(),cancelButton:x(),loader:T(),closeButton:M(),validationMessage:$(),progressSteps:B()};return o.domCache.set(e,t),t},Mo=(e,t,o)=>{const n=O();Y(n),t.timer&&(e.timeout=new co((()=>{o("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(K(n),V(n,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ee(t.timer)}))))},jo=(e,t)=>{t.toast||(p(t.allowEnterKey)?Io(e,t)||je(-1,1):Ho())},Io=(e,t)=>t.focusDeny&&X(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&X(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!X(e.confirmButton))&&(e.confirmButton.focus(),!0),Ho=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/864e5>3&&setTimeout((()=>{document.body.style.pointerEvents="none";const e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((()=>{e.play().catch((()=>{}))}),2500)}),500):localStorage.setItem("swal-initiation",`${e}`)}To.prototype.disableButtons=Pt,To.prototype.enableButtons=xt,To.prototype.getInput=Bt,To.prototype.disableInput=Lt,To.prototype.enableInput=Tt,To.prototype.hideLoading=At,To.prototype.disableLoading=At,To.prototype.showValidationMessage=St,To.prototype.resetValidationMessage=Ot,To.prototype.close=Ge,To.prototype.closePopup=Ge,To.prototype.closeModal=Ge,To.prototype.closeToast=Ge,To.prototype.rejectPromise=et,To.prototype.update=Rt,To.prototype._destroy=zt,Object.assign(To,lo),Object.keys(Zt).forEach((e=>{To[e]=function(){return Po&&Po[e]?Po[e](...arguments):null}})),To.DismissReason=Oe,To.version="11.7.20";const Do=To;return Do.default=Do,Do})),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2); +"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,".swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:\"top-start top top-end\" \"center-start center center-end\" \"bottom-start bottom-center bottom-end\";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:\"!\";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}"); \ No newline at end of file diff --git a/resources/css/app.css b/resources/css/app.css new file mode 100644 index 0000000..8f2396e --- /dev/null +++ b/resources/css/app.css @@ -0,0 +1,125 @@ +@import "@fortawesome/fontawesome-free/css/all.css"; + +@tailwind base; +@tailwind components; +@tailwind utilities; + +@theme { + --breakpoint-xs: 30rem; +} + +/* Player */ +.plyr--full-ui input[type="range"] { + color: var(--plyr-range-fill-background, var(--plyr-color-main, var(--plyr-color-main, #c61e54))) !important; +} + +.plyr__control--overlaid { + background: var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #c61e54))) !important; +} + +.plyr--video .plyr__control.plyr__tab-focus, +.plyr--video .plyr__control:hover, +.plyr--video .plyr__control[aria-expanded="true"] { + background: var(--plyr-video-control-background-hover, var(--plyr-color-main, var(--plyr-color-main, #c61e54))) !important; +} + +.plyr__menu__container .plyr__control[role="menuitemradio"][aria-checked="true"]::before { + background: var(--plyr-control-toggle-checked-background, var(--plyr-color-main, var(--plyr-color-main, #c61e54))) !important; +} + +.plyr--full-ui { + border-radius: 15px; +} + +/* Player Ambient */ +.decoy { + position: absolute; + filter: blur(70px); + -webkit-filter: blur(70px); + z-index: 0; +} + +/* Homepage Branding Fade */ +.fade-img { + -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)); + mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)) +} + +/* Theme Switcher Button */ +input:checked~.dot { + transform: translateX(100%); +} + +#plyr__time_skip { + background: #c61e54; + border: 0; + border-radius: 50%; + color: #fff; + left: 50%; + min-width: 60px; + width: min-content; + max-width: 100px; + max-height: 90px; + opacity: 0; + display: table-cell; + text-align: center; + vertical-align: middle; + transform: translate(-50%, -50%); + padding-top: 15px; + padding-bottom: 15px; + position: absolute; + top: 50%; + transition: 1s; + z-index: 3; + pointer-events: none; + box-shadow: 0px 0px 45px #000000; +} + +/* DL Button Glow */ +.hover\:glow:hover { + filter: drop-shadow(0px 0px 7px rgba(255, 29, 72, 0.5)); +} + +/* latin */ +@font-face { + font-family: 'Figtree'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + font-display: swap; + src: url(https://fonts.bunny.net/figtree/files/figtree-latin-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/figtree/files/figtree-latin-400-normal.woff) format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* latin-ext */ +@font-face { + font-family: 'Figtree'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + font-display: swap; + src: url(https://fonts.bunny.net/figtree/files/figtree-latin-ext-400-normal.woff2) format('woff2'), url(https://fonts.bunny.net/figtree/files/figtree-latin-ext-400-normal.woff) format('woff'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* latin */ +@font-face { + font-family: 'Figtree'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + font-display: swap; + src: url(https://fonts.bunny.net/figtree/files/figtree-latin-600-normal.woff2) format('woff2'), url(https://fonts.bunny.net/figtree/files/figtree-latin-600-normal.woff) format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* latin-ext */ +@font-face { + font-family: 'Figtree'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + font-display: swap; + src: url(https://fonts.bunny.net/figtree/files/figtree-latin-ext-600-normal.woff2) format('woff2'), url(https://fonts.bunny.net/figtree/files/figtree-latin-ext-600-normal.woff) format('woff'); + unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} \ No newline at end of file diff --git a/resources/js/admin-edit.js b/resources/js/admin-edit.js new file mode 100644 index 0000000..3943798 --- /dev/null +++ b/resources/js/admin-edit.js @@ -0,0 +1,52 @@ +import Tagify from '@yaireo/tagify'; +import '@yaireo/tagify/dist/tagify.css'; + +const taginput = document.querySelector("#tags"); +const studioinput = document.querySelector("#studio"); +const episode_id = document.getElementById('e_id').value; + +// Get Tags from API +window.axios.get('/admin/tags/' + episode_id).then(function (response) { + if (response.status != 200) { + return; + } + + var tagify = new Tagify(taginput, { + whitelist: response.data.tags, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true + } + }); + + tagify.addTags(response.data.episodetags); +}).catch(function (error) { + console.log(error); +}); + +// Get Studio from API +window.axios.get('/admin/studio/' + episode_id).then(function (response) { + if (response.status != 200) { + return; + } + + var tagify = new Tagify(studioinput, { + whitelist: response.data.studios, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true + } + }); + + tagify.addTags(response.data.episodestudios); +}).catch(function (error) { + console.log(error); +}); \ No newline at end of file diff --git a/resources/js/admin-subtitles.js b/resources/js/admin-subtitles.js new file mode 100644 index 0000000..f4e01ca --- /dev/null +++ b/resources/js/admin-subtitles.js @@ -0,0 +1,29 @@ +import Tagify from '@yaireo/tagify'; +import '@yaireo/tagify/dist/tagify.css'; + +const taginput = document.querySelector("#subtitles"); +const episode_id = document.getElementById('e_id').value; + +// Get Tags from API +window.axios.get('/admin/subtitles/' + episode_id).then(function (response) { + if (response.status != 200) { + return; + } + + var tagify = new Tagify(taginput, { + whitelist: response.data.subs, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true + } + }); + + tagify.addTags(response.data.episodesubs); +}).catch(function (error) { + console.log(error); +}); + diff --git a/resources/js/app.js b/resources/js/app.js new file mode 100644 index 0000000..935b972 --- /dev/null +++ b/resources/js/app.js @@ -0,0 +1,20 @@ +import './bootstrap'; + +// import { Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm'; +// Alpine.start(); + +import { + Collapse, + Carousel, + Clipboard, + Modal, + Lightbox, + Tooltip, + Tab, + Ripple, + initTE, +} from "tw-elements"; + +initTE({ Collapse, Carousel, Clipboard, Modal, Tab, Lightbox, Tooltip, Ripple }); + +import 'hammerjs'; diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js new file mode 100644 index 0000000..846d350 --- /dev/null +++ b/resources/js/bootstrap.js @@ -0,0 +1,32 @@ +/** + * We'll load the axios HTTP library which allows us to easily issue requests + * to our Laravel back-end. This library automatically handles sending the + * CSRF token as a header based on the value of the "XSRF" token cookie. + */ + +import axios from 'axios'; +window.axios = axios; + +window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; + +/** + * Echo exposes an expressive API for subscribing to channels and listening + * for events that are broadcast by Laravel. Echo and event broadcasting + * allows your team to easily build robust real-time web applications. + */ + +// import Echo from 'laravel-echo'; + +// import Pusher from 'pusher-js'; +// window.Pusher = Pusher; + +// window.Echo = new Echo({ +// broadcaster: 'pusher', +// key: import.meta.env.VITE_PUSHER_APP_KEY, +// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1', +// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`, +// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80, +// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443, +// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https', +// enabledTransports: ['ws', 'wss'], +// }); diff --git a/resources/js/detect-ios.js b/resources/js/detect-ios.js new file mode 100644 index 0000000..fb50344 --- /dev/null +++ b/resources/js/detect-ios.js @@ -0,0 +1,12 @@ +export function isIOS() { + return [ + 'iPad Simulator', + 'iPhone Simulator', + 'iPod Simulator', + 'iPad', + 'iPhone', + 'iPod' + ].includes(navigator.platform) + // iPad on iOS 13 detection + || (navigator.userAgent.includes("Mac") && "ontouchend" in document) +} \ No newline at end of file diff --git a/resources/js/modals-playlist.js b/resources/js/modals-playlist.js new file mode 100644 index 0000000..0730103 --- /dev/null +++ b/resources/js/modals-playlist.js @@ -0,0 +1,59 @@ +if (document.getElementById("playlist-add")) { + function createPlaylist() { + console.log('Adding to Playlist: ' + document.querySelector("#playlist").value) + + window.axios.post('/hentai/add-to-playlist', { + playlist: document.getElementById('playlist').value, + episode_id: document.getElementById('e_id').value + }).then(function (response) { + if (response.status == 200) { + document.getElementById("playlist-cancel").click(); + + if (response.data.message == 'already-added') { + Swal.fire({ + title: "Already added!", + text: "Episode was already added to that Playlist!", + icon: "warning" + }); + } + + if (response.data.message == 'success') { + Swal.fire({ + title: "Success!", + text: "Added episode to the playlist!", + icon: "success" + }); + } + } + }).catch(function (error) { + console.log(error); + }); + } + + document.querySelector("#playlist-add").addEventListener("click", createPlaylist); +} + +if (document.getElementById("playlist-create-and-add")) { + function createAndAddPlaylist() { + window.axios.post('/hentai/create-playlist', { + name: document.getElementById('name').value, + visiblity: document.getElementById('visiblity').value + }).then(function (response) { + window.axios.post('/hentai/add-to-playlist', { + playlist: response.data.playlist_id, + episode_id: document.getElementById('e_id').value + }).then(function (response) { + if (response.status == 200) { + document.getElementById("playlist-cancel").click(); + } + }).catch(function (error) { + console.log(error); + }); + + }).catch(function (error) { + console.log(error); + }); + } + + document.querySelector("#playlist-create-and-add").addEventListener("click", createAndAddPlaylist); +} diff --git a/resources/js/player-data.js b/resources/js/player-data.js new file mode 100644 index 0000000..8bce867 --- /dev/null +++ b/resources/js/player-data.js @@ -0,0 +1,94 @@ +export function addVideoTracks(streamServer, apiResponse, av1Supported, dashSupported) { + if (dashSupported) { + return addDashTracks(streamServer, apiResponse, av1Supported); + } + + return addLegacyTracks(streamServer, apiResponse, av1Supported); +} + + +function addDashTracks(streamServer, apiResponse, av1Supported) { + var data = []; + + // 720p + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/720/manifest.mpd', + size: 720, + mode: 'mpd', + }); + + if (av1Supported) { + // 1080p + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/1080/manifest.mpd', + size: 1080, + mode: 'mpd', + }); + + // 2160p + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/2160/manifest.mpd', + size: 2160, + mode: 'mpd', + }); + + if (apiResponse.interpolated == 1) { + // 1080p Interpolated + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/1080i/manifest.mpd', + size: 1081, + mode: 'mpd', + }); + } + + if (apiResponse.interpolated_uhd == 1) { + // 2160p Interpolated + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/2160i/manifest.mpd', + size: 2161, + mode: 'mpd', + }); + } + } + + return data; +} + +function addLegacyTracks(streamServer, apiResponse, av1Supported) { + var data = []; + + // 720p + data.push({ + src: streamServer + '/' + apiResponse.stream_url + '/x264.720p.mp4', + type: 'video/mp4', + size: 720, + }); + + return data; +} + + +export function addSubtitleTracks(streamServer, apiResponse) { + var data = []; + + // Default + data.push({ + kind: 'captions', + label: 'English', + srclang: 'en', + src: '', + default: true, + }); + + for (var key in apiResponse.extra_subtitles) { + data.push({ + kind: 'captions', + label: apiResponse.extra_subtitles[key] + ' (Auto Transl.)', + srclang: key, + src: '', + default: false, + }); + } + + return data; +} diff --git a/resources/js/player-mobile.js b/resources/js/player-mobile.js new file mode 100644 index 0000000..a41e70f --- /dev/null +++ b/resources/js/player-mobile.js @@ -0,0 +1,144 @@ +export function initMobileWidescreen() { + // Mobile widescreen button + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + // Add Button to fit screen + var controls = document.getElementsByClassName('plyr__controls')[0]; + + var newButton = ` + + `; + + controls.insertAdjacentHTML('beforeend', newButton); + + // Add event listener + var stateButton = true; + var videoTemp = document.querySelector('video'); + const mobilebutton = document.getElementById('mobile-screen'); + mobilebutton.addEventListener('click', function() { + if (! stateButton) { + videoTemp.style.objectFit = 'cover'; + stateButton = true; + } else { + videoTemp.style.objectFit = null; + stateButton = false; + } + }); + + // Set default + videoTemp.style.objectFit = 'cover'; + } +} + +export function mobileDoubleClick(player) { + if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { + const byClass = document.getElementsByClassName.bind(document), + createElement = document.createElement.bind(document); + + // Remove all dblclick stuffs + player.eventListeners.forEach(function (eventListener) { + if (eventListener.type === 'dblclick') { + eventListener.element.removeEventListener(eventListener.type, eventListener.callback, eventListener.options); + } + }); + + // Create overlay that will show the skipped time + const skip_ol = createElement("div"); + skip_ol.id = "plyr__time_skip" + byClass("plyr")[0].appendChild(skip_ol) + + // A class to manage multi click count and remember last clicked side (may cause issue otherwise) + class multiclick_counter { + constructor() { + this.timers = []; // collection of timers. Important + this.count = 0; // click count + this.reseted = 0; // before resetting what was the count + this.last_side = null; // L C R 3sides + } + + clicked() { + this.count += 1 + var xcount = this.count; // will be checked if click count increased in the time + this.timers.push(setTimeout(this.reset.bind(this, xcount), 500)); // wait till 500ms for next click + return this.count + } + + reset_count(n) { + // Reset count if clicked on the different side + this.reseted = this.count + this.count = n + for (var i = 0; i < this.timers.length; i++) { + clearTimeout(this.timers[i]); + } + this.timer = [] + } + + reset(xcount) { + if (this.count > xcount) { return } // return if clicked after timer started + // Reset otherwise + this.count = 0; + this.last_side = null; + this.reseted = 0; + skip_ol.style.opacity = "0"; + this.timer = [] + } + } + + var counter = new multiclick_counter(); + + const poster = byClass("plyr__poster")[0] + poster.onclick = function (e) { + const count = counter.clicked() + if (count < 2) { return } // if not double click + + const rect = e.target.getBoundingClientRect(); + const x = e.clientX - rect.left; //x position within the element. + + // The relative position of click on video + const width = e.target.offsetWidth; + const perc = x * 100 / width; + + var panic = true; // panic if the side needs to be checked + var last_click = counter.last_side + + if (last_click == null) { + panic = false + } + + if (perc < 40) { + if (player.currentTime == 0) { + return // won't seek beyond 0 + } + counter.last_side = "L" + if (panic && last_click != "L") { + counter.reset_count(1) + return + } + + skip_ol.style.opacity = "0.9"; + player.rewind() + skip_ol.innerHTML = " " + ((count - 1) * 10) + "s"; + } + else if (perc > 60) { + if (player.currentTime == player.duration) { + return // won't seek beyond duration + } + counter.last_side = "R" + if (panic && last_click != "R") { + counter.reset_count(1) + return + } + + skip_ol.style.opacity = "0.9"; + last_click = "R" + player.forward() + skip_ol.innerHTML = " " + ((count - 1) * 10) + "s"; + } + else { + player.togglePlay() + counter.last_click = "C" + } + } + } +} diff --git a/resources/js/player-server-select.js b/resources/js/player-server-select.js new file mode 100644 index 0000000..17928e3 --- /dev/null +++ b/resources/js/player-server-select.js @@ -0,0 +1,45 @@ + +export function serverSelectMenuItem(selectedIndex) { + return ` + `; +} + +export function serverSelectSubmenu(selectedIndex, serverCount) { + let htmlList = ` + + `; + + return htmlList; +} + +export function serverSelectMenuClickToggle() { + if (document.getElementById('server-select-list').hidden) { + document.querySelector('div[role="menu"]').hidden = true; + document.getElementById('server-select-list').hidden = false; + return; + } + + document.getElementById('server-select-list').hidden = true; + document.querySelector('div[role="menu"]').hidden = false; +} \ No newline at end of file diff --git a/resources/js/player.js b/resources/js/player.js new file mode 100644 index 0000000..253da85 --- /dev/null +++ b/resources/js/player.js @@ -0,0 +1,462 @@ +// Plyr Player +import Plyr from 'plyr/dist/plyr.polyfilled.min.js'; +import 'plyr/dist/plyr.css'; + +// Vidstack Player +import 'vidstack/player/styles/default/theme.css'; +import 'vidstack/player/styles/default/layouts/video.css'; +import { VidstackPlayer, VidstackPlayerLayout } from 'vidstack/global/player'; + +// Dash Support +import dashjs from 'dashjs'; + +// Subtitle Support +import SubtitlesOctopus from '@jellyfin/libass-wasm'; + +// Custom JS +import { initMobileWidescreen } from './player-mobile'; +import { mobileDoubleClick } from './player-mobile' +import { playNextPlaylistVideo } from './playlist'; +import { addVideoTracks } from './player-data'; +import { addSubtitleTracks } from './player-data'; +import { serverSelectMenuItem, serverSelectSubmenu, serverSelectMenuClickToggle } from './player-server-select'; +import { isIOS } from './detect-ios'; + +// Variables +var player = null; +var av1Supported = (!!document.createElement('video').canPlayType('video/webm; codecs="av01.0.05M.08, opus"')); +var dashSupported = dashjs.supportsMediaSource(); +var apiResponse = {}; +var volume = 0.5; +var captions = true; +var lastTime = 0.0; +var streamServer = ''; +var streamServers = []; +var streamServerIndex = 0; +var streamServerCount = 0; +var ambientMode = true; +var serverFallback = false; +var saveInterval; + +var subtitleInstance = null; + +var controls = [ + 'play-large', // The large play button in the center + 'play', // Play/pause playback + 'progress', // The progress bar and scrubber for playback and buffering + 'current-time', // The current time of playback + 'duration', // The full duration of the media + 'mute', // Toggle mute + 'volume', // Volume control + 'captions', // Toggle captions + 'settings', // Settings menu + 'fullscreen', // Toggle fullscreen +]; + +// Load Volume from LocalStorage +if (localStorage.hstreamVolume) { + volume = parseFloat(localStorage.getItem('hstreamVolume')).toFixed(2); + console.log('Loaded Audio Volume from Local Storage: ' + volume); +} + +// Load Captions from LocalStorage +if (localStorage.hstreamCaptions) { + captions = (localStorage.getItem('hstreamCaptions') == 'true'); + console.log('Loaded Captions Status from Local Storage: ' + captions); +} + +// Asia Server Fallback +if (localStorage.hstreamServerFallback) { + serverFallback = (localStorage.getItem('hstreamServerFallback') == 'true'); + console.log('Loaded Captions Status from Local Storage: ' + captions); +} + +// Alert User when AV1 is not supported +if (!av1Supported) { + document.getElementById("av1-unsupported").classList.remove("hidden"); +} + +function initDash(data, player) { + const video = document.querySelector('video'); + + data.forEach(function (el) { + if (el.mode === 'mpd' && el.size === player.config.quality.selected) { + const dash = dashjs.MediaPlayer().create(); + dash.initialize(video, el.src, true); + // Expose player and dash so they can be used from the console + window.player = player; + window.dash = dash; + } + }); +} + +function setCanvasDimension(canvas, video) { + canvas.height = video.offsetHeight; + canvas.width = video.offsetWidth; +} + +function paintStaticVideo(ctx, video) { + if (localStorage.theme == 'light') { + return; + } + if (!ambientMode) { + return; + } + ctx.drawImage(video, 0, 0, video.offsetWidth, video.offsetHeight); +} + +function toggleAmbientMode() { + let canvas = document.getElementById("ambientVideo"), ctx = canvas.getContext("2d"), video = document.getElementsByTagName('video')[0]; + if (ambientMode) { + ambientMode = false; + localStorage.ambientMode = 'false'; + setCanvasDimension(canvas, video); + document.getElementById('ambient-mode-toggle').innerHTML = 'Ambient ModeOff'; + } else { + ambientMode = true; + localStorage.ambientMode = 'true'; + setCanvasDimension(canvas, video); + paintStaticVideo(ctx, video); + document.getElementById('ambient-mode-toggle').innerHTML = 'Ambient ModeOn'; + } +} + +function toggleAsiaServer() { + if (serverFallback) { + serverFallback = false; + localStorage.hstreamServerFallback = 'false'; + document.getElementById('server-fallback-toggle').innerHTML = 'Fallback ServerOff'; + streamServers = apiResponse.stream_domains; + } else { + serverFallback = true; + localStorage.hstreamServerFallback = 'true'; + document.getElementById('server-fallback-toggle').innerHTML = 'Fallback ServerOn'; + streamServers = apiResponse.asia_stream_domains; + } + + streamServerCount = streamServers.length; + streamServerIndex = Math.floor(Math.random() * streamServerCount); + streamServer = streamServers[streamServerIndex]; + console.log('Selected Server: ' + streamServer); + + if (player) { + clearInterval(saveInterval); + player.destroy(); + } + initPlayer(); +} + +function initSubtitles(lang) { + if (isIOS()) { + return; + } + + // Dispose old instance + if (subtitleInstance != null && subtitleInstance instanceof SubtitlesOctopus) { + subtitleInstance.dispose(); + } + + let newSubUrl = streamServer + '/' + apiResponse.stream_url + '/'; + + if (lang != 'en') { + newSubUrl += 'autotrans/' + lang + '.ass'; + } + else { + newSubUrl += 'eng.ass' + } + + let subFont = '/fonts/Figtree-ExtraBold.woff2'; + // Hindi font + if (lang == 'hi') { + subFont = '/fonts/Hind-SemiBold.ttf'; + } + + // Subtitles + var options = { + video: document.getElementsByTagName('video')[0], // HTML5 video element + subUrl: newSubUrl, // Link to subtitles + workerUrl: '/build/js/subtitles-octopus-worker.js', // Link to WebAssembly-based file "libassjs-worker.js" + legacyWorkerUrl: '/build/js/subtitles-octopus-worker-legacy.js', // Link to non-WebAssembly worker + fonts: [subFont], + renderMode: 'wasm-blend', + }; + + subtitleInstance = new SubtitlesOctopus(options); +} + +function initPlayer() { + player = new Plyr('#player', { + controls, + quality: { + default: 720, + options: [2161, 2160, 1081, 1080, 720] + }, + i18n: { + qualityLabel: { + 2161: "2160p48", + 2160: "2160p", + 1081: "1080p48", + 1080: "1080p", + 720: "720p" + }, + qualityBadge: { + 2161: "UHD@48", + 1081: "FHD@48", + 1080: "FHD", + }, + }, + fullscreen: { enabled: true, fallback: true, iosNative: true } + }); + + // Player Track Data + var data = addVideoTracks(streamServer, apiResponse, av1Supported, dashSupported); + + player.source = { + type: 'video', + title: apiResponse.title, + poster: apiResponse.poster, + previewThumbnails: { + enabled: true, + src: streamServer + '/' + apiResponse.stream_url + '/thumbs.vtt', + }, + sources: data, + tracks: addSubtitleTracks(streamServer, apiResponse) + }; + + player.volume = volume; + //player.captions.languages = ['en']; + player.captions.language = 'en'; + player.captions.active = captions; + + if (dashSupported && !apiResponse.legacy) { + player.on('qualitychange', () => { + initDash(data, player); + }); + + initDash(data, player); + } + + // Ambient Mode + let canvas = document.getElementById("ambientVideo"), ctx = canvas.getContext("2d"), video = document.getElementsByTagName('video')[0]; + setCanvasDimension(canvas, video); + paintStaticVideo(ctx, video); + + var allItems = document.getElementsByClassName('plyr__control--forward'); + var lastItem = allItems[allItems.length - 1]; + lastItem.insertAdjacentHTML('afterend', ''); + document.getElementById('ambient-mode-toggle').addEventListener('click', toggleAmbientMode); + + if (localStorage.ambientMode == 'false') { + toggleAmbientMode(); + } + + // Server select (Asia) + lastItem = allItems[allItems.length - 1]; + let value = 'Off'; + if (serverFallback) { value = 'On'; } + lastItem.insertAdjacentHTML('afterend', ''); + document.getElementById('server-fallback-toggle').addEventListener('click', toggleAsiaServer); + + var clickedPlay = false; + + player.on('play', () => { + if (!clickedPlay) { + player.stop(); + console.log("Stopped video, because user didn't click play.") + } + + setCanvasDimension(canvas, video); + console.log('Play => Function Loop()'); + var $this = video; + (function loop() { + if (!player.paused && !player.ended && localStorage.theme == 'dark' && ambientMode) { + ctx.drawImage($this, 0, 0, $this.offsetWidth, $this.offsetHeight); + setTimeout(loop, 24000 / 1001); // drawing at 30fps + } + })(); + }); + + player.on('seeked', () => { + paintStaticVideo(ctx, video); + if (player.currentTime > 0) { + lastTime = player.currentTime; + } + console.log('Seeked => paintStaticVideo() at ' + player.currentTime); + }); + + window.addEventListener("resize", () => { + setCanvasDimension(canvas, video); + if (player.paused) { + paintStaticVideo(ctx, video); + } + }); + + player.on('captionsenabled', () => { + document.getElementsByClassName('libassjs-canvas-parent')[0].style.visibility = 'visible'; + localStorage.setItem('hstreamCaptions', 'true'); + console.log('Set Captions Status to Local Storage: true'); + }); + + player.on('captionsdisabled', () => { + document.getElementsByClassName('libassjs-canvas-parent')[0].style.visibility = 'hidden'; + localStorage.setItem('hstreamCaptions', 'false'); + console.log('Set Captions Status to Local Storage: false'); + }); + + player.on('volumechange', () => { + console.log('Saving Audio Volume to Local Storage: ' + player.volume); + localStorage.setItem('hstreamVolume', player.volume.toString()) + }); + + player.on('ended', () => { + playNextPlaylistVideo(); + }); + + player.on('languagechange', (event) => { + let lang = event.detail.plyr.captions.language; + + console.log('Subtitle Event ' + lang); + initSubtitles(lang); + }); + + function playerPlayTemp() { + clickedPlay = true; + } + + document.querySelectorAll('[data-plyr="play"]').forEach(play => + play.addEventListener('click', playerPlayTemp) + ); + + document.getElementsByClassName('plyr--video')[0].addEventListener('click', playerPlayTemp); + + initMobileWidescreen(); + + // Start time + setTimeout(function () { + const params = new URLSearchParams(window.location.search); + const time = parseInt(params.get("t")); + if (!isNaN(time)) { + player.currentTime = time; + console.log("Skipping to " + time) + } + if (lastTime > 0) { + player.currentTime = lastTime; + console.log("Skipping to " + lastTime) + } + }, 500); + + player.on('ready', () => { + mobileDoubleClick(player); + }); + + // Server Select + // I hate this... + var settingElements = document.getElementsByClassName('plyr__control--forward'); + if (settingElements.length == 3) { + settingElements[2].insertAdjacentHTML('afterend', serverSelectMenuItem(streamServerIndex)); + + var settingNodes = document.getElementsByClassName('plyr__menu__container')[0].childNodes[0].childNodes; + if (settingNodes.length == 4) { + document.getElementsByClassName('plyr__menu__container')[0].childNodes[0].childNodes[3].insertAdjacentHTML('afterend', serverSelectSubmenu(streamServerIndex, streamServerCount)); + } + + // Event Listeners + document.getElementById('server-select').addEventListener('click', serverSelectMenuClickToggle); + document.getElementById('server-select-list-back-btn').addEventListener('click', serverSelectMenuClickToggle); + let serverSelects = document.getElementsByClassName('change_server'); + for (let i = 0; i < serverSelects.length; i++) { + serverSelects[i].addEventListener('click', function() { + streamServerIndex = Number(this.value); + streamServer = streamServers[streamServerIndex]; + console.log('Selected Server: ' + streamServer); + + if (player) { + clearInterval(saveInterval); + player.destroy(); + } + initPlayer(); + }); + } + } + + // Periodically save last timestamp + saveInterval = setInterval(function () { + lastTime = player.currentTime; + console.log("Last Player Position: " + lastTime); + }, 10000); +} + +async function initVidstackPlayer() { + const videoSource = streamServer + '/' + apiResponse.stream_url + '/x264.720p.mp4'; + const videoThumbs = streamServer + '/' + apiResponse.stream_url + '/thumbs.vtt'; + const videoCaption = streamServer + '/' + apiResponse.stream_url + '/eng.vtt'; + + player = await VidstackPlayer.create({ + target: '#player', + title: apiResponse.title, + src: videoSource, + poster: apiResponse.poster, + layout: new VidstackPlayerLayout({ + thumbnails: videoThumbs, + }), + tracks: [ + { + src: videoCaption, + label: 'English', + language: 'en-US', + kind: 'subtitles', + type: 'vtt', + default: true, + } + ] + }); + + // Ambient Mode + let canvas = document.getElementById("ambientVideo"), ctx = canvas.getContext("2d"), video = document.getElementsByTagName('video')[0]; + setCanvasDimension(canvas, video); + paintStaticVideo(ctx, video); + + player.addEventListener('play', () => { + setCanvasDimension(canvas, video); + console.log('Play => Function Loop()'); + var $this = video; + (function loop() { + if (!player.paused && !player.ended && localStorage.theme == 'dark' && ambientMode) { + ctx.drawImage($this, 0, 0, $this.offsetWidth, $this.offsetHeight); + setTimeout(loop, 24000 / 1001); // drawing at 30fps + } + })(); + }); +} + +// Get Data from API +window.axios.post('/player/api', { + episode_id: document.getElementById('e_id').value +}).then(function (response) { + if (response.status == 200) { + apiResponse = response.data; + streamServers = apiResponse.stream_domains; + + if (serverFallback) { + streamServers = apiResponse.asia_stream_domains; + } + + streamServerCount = streamServers.length; + streamServerIndex = Math.floor(Math.random() * streamServerCount); + streamServer = streamServers[streamServerIndex]; + console.log('Selected Server: ' + streamServer + ' with Index: ' + streamServerIndex); + + if (!isIOS()) { + initPlayer(); + } + else { + console.log("Detected Apple Shit. Using different player.") + initVidstackPlayer(); + } + + } +}).catch(function (error) { + var alert = document.getElementById("player-alert"); + alert.innerText = 'The player encountered a problem: ' + error; + alert.classList.remove("hidden"); +}); diff --git a/resources/js/playlist.js b/resources/js/playlist.js new file mode 100644 index 0000000..b2da33a --- /dev/null +++ b/resources/js/playlist.js @@ -0,0 +1,120 @@ +export function playNextPlaylistVideo() { + console.log('Playing next episode'); + if (!document.getElementById("playlist_id")) { + console.log('No playlist specified'); + return; + } + + var playlistId = document.getElementById("playlist_id").value; + var nextEpisode = document.getElementById("playlist_next_episode_slug").value; + + if (nextEpisode === ""){ + return; + } + + window.location.href = '/hentai/' + nextEpisode + '?playlist=' + playlistId; +} + +function deleteEntry(playlistId, episodeId) { + window.axios.post('/user/playlist-episode', { + playlist: playlistId, + episode: episodeId + }).then(function (response) { + if (response.status == 200) { + console.log(response); + if (response.data.message == 'success') { + Swal.fire({ + title: "Deleted!", + text: "Removed entry from playlist!", + icon: "success", + confirmButtonText: "OK", + willClose: () => { + location.reload(); + } + }).then((result) => { + if (result.isConfirmed) { + location.reload(); + } + }); + } + } + }).catch(function (error) { + Swal.fire({ + title: "Error!", + text: error, + icon: "error" + }); + console.log(error); + }); +} + +function addDesktopDeleteListener() { + const deleteButtons = document.querySelectorAll('[id^="delD"]'); + + deleteButtons.forEach(button => { + const playlist = button.id.split('-')[1]; + const episode = button.id.split('-')[2]; + console.log("Playlist: " + playlist + " Episode: " + episode); + + button.addEventListener('click', () => deleteEntry(playlist, episode)); + }); +} + +// Playlist Swipe (Delete) +document.addEventListener('DOMContentLoaded', () => { + const swipeContainers = document.querySelectorAll('.swipe-container'); + + var swipeOptions = { + dragLockToAxis: true, + dragBlockHorizontal: true + }; + + swipeContainers.forEach(container => { + const controls = new Hammer(container, swipeOptions); + const originalColor = container.style.backgroundColor; + const playlistId = container.id.split('-')[0]; + const episodeId = container.id.split('-')[1]; + const delIcon = document.getElementById('del-' + container.id); + + // Set the initial position + let posX = 0; + + // Listen for the pan gesture + controls.on('pan', (event) => { + // Update the X position based on the drag delta + posX = event.deltaX; + if (posX > 0) { + // Only allow left swipe + posX = 0; + } + + // Apply the translation to the element + container.style.transform = `translateX(${posX}px)`; + container.style.backgroundColor = "rgba(159, 18, 18, 0.3)"; + + setTimeout(() => { + delIcon.classList.remove('fa-grip-lines-vertical'); + delIcon.classList.add('fa-trash'); + }, 300); + }); + + controls.on('panend', () => { + container.style.transition = 'transform 0.3s ease'; + container.style.transform = 'translateX(0)'; + setTimeout(() => { + container.style.transition = ''; // Reset transition for next drag + container.style.backgroundColor = originalColor; + delIcon.classList.remove('fa-trash'); + delIcon.classList.add('fa-grip-lines-vertical'); + }, 300); + }); + + controls.on('swipeleft', (event) => { + container.style.display = 'none'; + console.log(playlistId, episodeId); + deleteEntry(playlistId, episodeId); + }); + }); + + addDesktopDeleteListener(); +}); \ No newline at end of file diff --git a/resources/js/preview.js b/resources/js/preview.js new file mode 100644 index 0000000..f80a5af --- /dev/null +++ b/resources/js/preview.js @@ -0,0 +1,56 @@ +const sleep = (ms = 0) => new Promise(resolve => setTimeout(resolve, ms)); +var old_timestamp = document.getElementById('ts_reference').value; + +function initPreviews() { + var thumbs = document.querySelectorAll('div[data-thumbs]'); + thumbs.forEach(function (thumb) { + var thumbsJSON = JSON.parse(thumb.dataset.thumbs); + var originalImage = thumb.children[0].children[1].src; + var interval; + var i = 1; + + function clear() { + thumb.children[0].children[1].src = originalImage; + i = 1; + clearTimeout(interval); + } + + function toggle() { + if (i == 0) { + clear(); + return; + } + + thumb.children[0].children[1].src = thumbsJSON[i]; + i = (i + 1) % thumbsJSON.length; + } + + function interval() { + // Start Preview + interval = setInterval(toggle, 700); + } + + thumb.addEventListener('mouseenter', interval); + thumb.addEventListener('mouseleave', clear); + }); +} + +async function init() { + for (let i = 0; i < 9; i++) { + var new_timestamp = document.getElementById('ts_reference').value; + if (new_timestamp != old_timestamp) { + console.log('== Changed =='); + initPreviews(); + break; + } + console.log('== Didnt Change =='); + await sleep(1000); + } +} + +window.addEventListener('contentChanged', event => { + console.log('== Received contentChanged Event =='); + init(); +}); + +initPreviews(); \ No newline at end of file diff --git a/resources/js/theme.js b/resources/js/theme.js new file mode 100644 index 0000000..d82284a --- /dev/null +++ b/resources/js/theme.js @@ -0,0 +1,22 @@ +function darkModeListener() { + document.querySelector("html").classList.toggle("dark"); + if (localStorage.theme == 'light') { + localStorage.theme = 'dark'; + } else { + localStorage.theme = 'light'; + } +} + +document.querySelector("input[type='checkbox']#toogleTheme").addEventListener("click", darkModeListener); + +if(localStorage.theme) { + if (localStorage.theme == 'light') { + if (document.querySelector("html").classList.contains('dark')) { + document.querySelector("html").classList.toggle("dark"); + } + document.getElementById("toogleTheme").checked = true; + } +} else { + // Default Dark Theme + localStorage.theme = 'dark'; +} \ No newline at end of file diff --git a/resources/js/upload.js b/resources/js/upload.js new file mode 100644 index 0000000..a2a2db9 --- /dev/null +++ b/resources/js/upload.js @@ -0,0 +1,113 @@ +import Tagify from '@yaireo/tagify'; +import '@yaireo/tagify/dist/tagify.css'; + +const taginput = document.querySelector("#tags"); +const studioinput = document.querySelector("#studio"); + +// Get Tags from API +window.axios.get('/admin/tags').then(function (response) { + if (response.status != 200) { + return; + } + + new Tagify(taginput, { + whitelist: response.data.tags, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true + } + }); +}).catch(function (error) { + console.log(error); +}); + +// Get Studios from API +window.axios.get('/admin/studios').then(function (response) { + if (response.status != 200) { + return; + } + + new Tagify(studioinput, { + whitelist: response.data.studios, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true + } + }); +}).catch(function (error) { + console.log(error); +}); + +let eps = 1; + +function dynEpisode() { + let amount = this.value; + + if (amount > eps) { + eps += 1; + var episodeUploads = ` +
    +
    + + +
    +
    + + +
    +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + `; + + var element = document.getElementById('moreEpisodes'); + element.innerHTML = element.innerHTML + episodeUploads; + } else if (amount < eps) { + if (amount == 0) { + this.value = 1; + return; + } + document.getElementById("dynU" + eps).remove(); + document.getElementById("dynD" + eps).remove(); + document.getElementById("dynD4k" + eps).remove(); + document.getElementById("dynD48fps" + eps).remove(); + document.getElementById("dynDUHD48fps" + eps).remove(); + document.getElementById("dynB" + eps).remove(); + eps -= 1; + } +} + + +document.getElementById("episodes").addEventListener('change', dynEpisode); \ No newline at end of file diff --git a/resources/js/user-blacklist.js b/resources/js/user-blacklist.js new file mode 100644 index 0000000..5e027b3 --- /dev/null +++ b/resources/js/user-blacklist.js @@ -0,0 +1,28 @@ +import Tagify from '@yaireo/tagify'; +import '@yaireo/tagify/dist/tagify.css'; + +const taginput = document.querySelector("#tags"); + +// Get Tags from API +window.axios.get('/user/blacklist').then(function (response) { + if (response.status != 200) { + return; + } + + var tagify = new Tagify(taginput, { + whitelist: response.data.tags, + enforceWhitelist: true, + dropdown: { + classname: "color-blue", + enabled: 0, // show the dropdown immediately on focus + maxItems: 10, + position: "text", // place the dropdown near the typed text + closeOnSelect: false, // keep the dropdown open after selecting a suggestion + highlightFirst: true, + } + }); + + tagify.addTags(response.data.usertags); +}).catch(function (error) { + console.log(error); +}); \ No newline at end of file diff --git a/resources/views/admin/add-torrent.blade.php b/resources/views/admin/add-torrent.blade.php new file mode 100644 index 0000000..2049957 --- /dev/null +++ b/resources/views/admin/add-torrent.blade.php @@ -0,0 +1,32 @@ + +
    +
    +
    +
    + @csrf + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + +
    +
    +
    +
    +
    +
    diff --git a/resources/views/admin/alert/index.blade.php b/resources/views/admin/alert/index.blade.php new file mode 100644 index 0000000..a9d9d2b --- /dev/null +++ b/resources/views/admin/alert/index.blade.php @@ -0,0 +1,41 @@ +@extends('admin.layout') + +@section('content') +
    + + @include('admin.home.alert') + +
    +
    +
    +
    +
    + @csrf + +
    + + + +
    + +
    + + + +
    + +
    + +
    +
    +
    +
    +
    +
    +
    +@endsection \ No newline at end of file diff --git a/resources/views/admin/background/create.blade.php b/resources/views/admin/background/create.blade.php new file mode 100644 index 0000000..0c8272d --- /dev/null +++ b/resources/views/admin/background/create.blade.php @@ -0,0 +1,39 @@ +
    +
    +
    +
    +
    + @csrf +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + +
    + +
    + +
    +
    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/resources/views/admin/background/index.blade.php b/resources/views/admin/background/index.blade.php new file mode 100644 index 0000000..190ac62 --- /dev/null +++ b/resources/views/admin/background/index.blade.php @@ -0,0 +1,9 @@ +@extends('admin.layout') + +@section('content') + + @include('admin.background.create') + + + @livewire('background-images') +@endsection diff --git a/resources/views/admin/contact/index.blade.php b/resources/views/admin/contact/index.blade.php new file mode 100644 index 0000000..6b149e6 --- /dev/null +++ b/resources/views/admin/contact/index.blade.php @@ -0,0 +1,44 @@ +@extends('admin.layout') + +@section('content') +
    +
    +
    + + + + + + + + + + + + @foreach($contacts as $contact) + + + + + + + + @endforeach + +
    NameSubjectMessageDateAction
    + {{ $contact->name }} +
    + {{ $contact->email }} +
    {{ $contact->subject }}{{ $contact->message }}{{ $contact->created_at->format('Y/m/d') }} +
    + @csrf + @method('delete') + +
    +
    +
    +
    +
    +@endsection diff --git a/resources/views/admin/home/alert.blade.php b/resources/views/admin/home/alert.blade.php new file mode 100644 index 0000000..b7c8285 --- /dev/null +++ b/resources/views/admin/home/alert.blade.php @@ -0,0 +1,37 @@ +@php $alerts = \cache()->remember('alerts', 300, fn () => \App\Models\Alert::latest()->get()); @endphp + +@foreach($alerts as $alert) +
    + @if ($alert->type == 0) + + @elseif ($alert->type == 1) + + @endif +
    +@endforeach diff --git a/resources/views/admin/layout.blade.php b/resources/views/admin/layout.blade.php new file mode 100644 index 0000000..4f827f6 --- /dev/null +++ b/resources/views/admin/layout.blade.php @@ -0,0 +1,16 @@ + + + @include('partials.head') + +
    + @include('layouts.navigation') + @include('user.partials.background') +
    + @include('admin.partials.sidenav') +
    + @yield('content') +
    +
    +
    + + diff --git a/resources/views/admin/modals/add-subtitles.blade.php b/resources/views/admin/modals/add-subtitles.blade.php new file mode 100644 index 0000000..5c85323 --- /dev/null +++ b/resources/views/admin/modals/add-subtitles.blade.php @@ -0,0 +1,50 @@ + diff --git a/resources/views/admin/modals/edit-episode.blade.php b/resources/views/admin/modals/edit-episode.blade.php new file mode 100644 index 0000000..014fd17 --- /dev/null +++ b/resources/views/admin/modals/edit-episode.blade.php @@ -0,0 +1,113 @@ + diff --git a/resources/views/admin/modals/upload-episode.blade.php b/resources/views/admin/modals/upload-episode.blade.php new file mode 100644 index 0000000..d814221 --- /dev/null +++ b/resources/views/admin/modals/upload-episode.blade.php @@ -0,0 +1,74 @@ + + diff --git a/resources/views/admin/partials/sidenav.blade.php b/resources/views/admin/partials/sidenav.blade.php new file mode 100644 index 0000000..7f3b776 --- /dev/null +++ b/resources/views/admin/partials/sidenav.blade.php @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/resources/views/admin/release/create.blade.php b/resources/views/admin/release/create.blade.php new file mode 100644 index 0000000..c2953d4 --- /dev/null +++ b/resources/views/admin/release/create.blade.php @@ -0,0 +1,105 @@ +@extends('admin.layout') + +@section('content') +
    +
    +
    +
    + @csrf + +
    +
    + + +
    + +
    + + +
    + +
    + + +
    +
    + +
    + + +
    + +
    +
    + + +
    + +
    + + +
    +
    + +
    + + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    +
    + +
    + + +
    +
    +
    +
    +
    +@vite(['resources/js/upload.js']) +@endsection \ No newline at end of file diff --git a/resources/views/admin/stream.blade.php b/resources/views/admin/stream.blade.php new file mode 100644 index 0000000..5ef87ae --- /dev/null +++ b/resources/views/admin/stream.blade.php @@ -0,0 +1,19 @@ +@auth +@if(Auth::user()->is_admin) + +@endif +@endauth diff --git a/resources/views/admin/users/index.blade.php b/resources/views/admin/users/index.blade.php new file mode 100644 index 0000000..c2526a0 --- /dev/null +++ b/resources/views/admin/users/index.blade.php @@ -0,0 +1,5 @@ +@extends('admin.layout') + +@section('content') + @livewire('admin-user-search') +@endsection \ No newline at end of file diff --git a/resources/views/auth/banned.blade.php b/resources/views/auth/banned.blade.php new file mode 100644 index 0000000..0c507a1 --- /dev/null +++ b/resources/views/auth/banned.blade.php @@ -0,0 +1 @@ +

    You have been banned

    \ No newline at end of file diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php new file mode 100644 index 0000000..6969370 --- /dev/null +++ b/resources/views/auth/confirm-password.blade.php @@ -0,0 +1,20 @@ + +
    + {{ __('This is a secure area of the application. Please confirm your session before continuing.') }} +
    + +
    + @csrf + +
    + + + + + + + {{ __('Confirm') }} + +
    +
    +
    \ No newline at end of file diff --git a/resources/views/auth/please-login.blade.php b/resources/views/auth/please-login.blade.php new file mode 100644 index 0000000..3d091ca --- /dev/null +++ b/resources/views/auth/please-login.blade.php @@ -0,0 +1,7 @@ + +
    +

    + (╥﹏╥) +

    +
    +
    \ No newline at end of file diff --git a/resources/views/components/application-logo.blade.php b/resources/views/components/application-logo.blade.php new file mode 100644 index 0000000..03cdb26 --- /dev/null +++ b/resources/views/components/application-logo.blade.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/views/components/auth-session-status.blade.php b/resources/views/components/auth-session-status.blade.php new file mode 100644 index 0000000..a39bc7d --- /dev/null +++ b/resources/views/components/auth-session-status.blade.php @@ -0,0 +1,7 @@ +@props(['status']) + +@if ($status) +
    merge(['class' => 'font-medium text-sm text-green-600 dark:text-green-400']) }}> + {{ $status }} +
    +@endif diff --git a/resources/views/components/danger-button.blade.php b/resources/views/components/danger-button.blade.php new file mode 100644 index 0000000..d7417b2 --- /dev/null +++ b/resources/views/components/danger-button.blade.php @@ -0,0 +1,3 @@ + diff --git a/resources/views/components/discord-login.blade.php b/resources/views/components/discord-login.blade.php new file mode 100644 index 0000000..9cf361a --- /dev/null +++ b/resources/views/components/discord-login.blade.php @@ -0,0 +1,3 @@ + + Log in + \ No newline at end of file diff --git a/resources/views/components/discord-server.blade.php b/resources/views/components/discord-server.blade.php new file mode 100644 index 0000000..f9266ec --- /dev/null +++ b/resources/views/components/discord-server.blade.php @@ -0,0 +1,3 @@ + + Join Server + \ No newline at end of file diff --git a/resources/views/components/dropdown-link.blade.php b/resources/views/components/dropdown-link.blade.php new file mode 100644 index 0000000..083548e --- /dev/null +++ b/resources/views/components/dropdown-link.blade.php @@ -0,0 +1 @@ +merge(['class' => 'block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 dark:text-gray-300 hover:bg-neutral-100 dark:hover:bg-neutral-900 focus:outline-none focus:bg-neutral-100 dark:focus:bg-neutral-800 transition duration-150 ease-in-out']) }}>{{ $slot }} diff --git a/resources/views/components/dropdown.blade.php b/resources/views/components/dropdown.blade.php new file mode 100644 index 0000000..4a68c9e --- /dev/null +++ b/resources/views/components/dropdown.blade.php @@ -0,0 +1,43 @@ +@props(['align' => 'right', 'width' => '48', 'contentClasses' => 'py-1 bg-white dark:bg-neutral-800']) + +@php +switch ($align) { + case 'left': + $alignmentClasses = 'origin-top-left left-0'; + break; + case 'top': + $alignmentClasses = 'origin-top'; + break; + case 'right': + default: + $alignmentClasses = 'origin-top-right right-0'; + break; +} + +switch ($width) { + case '48': + $width = 'w-48'; + break; +} +@endphp + +
    +
    + {{ $trigger }} +
    + + +
    diff --git a/resources/views/components/episode-thumbnail.blade.php b/resources/views/components/episode-thumbnail.blade.php new file mode 100644 index 0000000..0d3c917 --- /dev/null +++ b/resources/views/components/episode-thumbnail.blade.php @@ -0,0 +1,58 @@ +@props(['episode']) + + diff --git a/resources/views/components/input-error.blade.php b/resources/views/components/input-error.blade.php new file mode 100644 index 0000000..ad95f6b --- /dev/null +++ b/resources/views/components/input-error.blade.php @@ -0,0 +1,9 @@ +@props(['messages']) + +@if ($messages) +
      merge(['class' => 'text-sm text-red-600 dark:text-red-400 space-y-1']) }}> + @foreach ((array) $messages as $message) +
    • {{ $message }}
    • + @endforeach +
    +@endif diff --git a/resources/views/components/input-label.blade.php b/resources/views/components/input-label.blade.php new file mode 100644 index 0000000..e93b059 --- /dev/null +++ b/resources/views/components/input-label.blade.php @@ -0,0 +1,5 @@ +@props(['value']) + + diff --git a/resources/views/components/modal-header.blade.php b/resources/views/components/modal-header.blade.php new file mode 100644 index 0000000..4cf9f6d --- /dev/null +++ b/resources/views/components/modal-header.blade.php @@ -0,0 +1,13 @@ +@props(['title']) +
    + +
    + {{ $title }} +
    + + +
    \ No newline at end of file diff --git a/resources/views/components/modal.blade.php b/resources/views/components/modal.blade.php new file mode 100644 index 0000000..4271d97 --- /dev/null +++ b/resources/views/components/modal.blade.php @@ -0,0 +1,77 @@ +@props([ + 'name', + 'show' => false, + 'maxWidth' => '2xl' +]) + +@php +$maxWidth = [ + 'sm' => 'sm:max-w-sm', + 'md' => 'sm:max-w-md', + 'lg' => 'sm:max-w-lg', + 'xl' => 'sm:max-w-xl', + '2xl' => 'sm:max-w-2xl', +][$maxWidth]; +@endphp + +
    +
    +
    +
    + +
    + {{ $slot }} +
    +
    diff --git a/resources/views/components/nav-link.blade.php b/resources/views/components/nav-link.blade.php new file mode 100644 index 0000000..37bad55 --- /dev/null +++ b/resources/views/components/nav-link.blade.php @@ -0,0 +1,11 @@ +@props(['active']) + +@php +$classes = ($active ?? false) + ? 'inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 dark:border-indigo-600 text-sm font-medium leading-5 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out' + : 'inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 hover:border-gray-300 dark:hover:border-gray-700 focus:outline-none focus:text-gray-700 dark:focus:text-gray-300 focus:border-gray-300 dark:focus:border-gray-700 transition duration-150 ease-in-out'; +@endphp + +merge(['class' => $classes]) }}> + {{ $slot }} + diff --git a/resources/views/components/primary-button.blade.php b/resources/views/components/primary-button.blade.php new file mode 100644 index 0000000..ee26694 --- /dev/null +++ b/resources/views/components/primary-button.blade.php @@ -0,0 +1,3 @@ + diff --git a/resources/views/components/responsive-nav-link.blade.php b/resources/views/components/responsive-nav-link.blade.php new file mode 100644 index 0000000..be97de9 --- /dev/null +++ b/resources/views/components/responsive-nav-link.blade.php @@ -0,0 +1,12 @@ +@props(['active']) + +@php + $classes = + $active ?? false + ? 'block w-full pl-3 pr-4 py-2 border-l-4 border-indigo-400 dark:border-indigo-600 text-left text-base font-medium text-indigo-700 dark:text-indigo-300 bg-indigo-50 dark:bg-indigo-900/50 focus:outline-none focus:text-indigo-800 dark:focus:text-indigo-200 focus:bg-indigo-100 dark:focus:bg-indigo-900 focus:border-indigo-700 dark:focus:border-indigo-300 transition duration-150 ease-in-out' + : 'block w-full pl-3 pr-4 py-2 border-l-4 border-transparent text-left text-base font-medium text-neutral-600 dark:text-neutral-200 hover:text-neutral-800 dark:hover:text-neutral-200 hover:bg-neutral-50 dark:hover:bg-neutral-700 hover:border-neutral-300 dark:hover:border-neutral-600 focus:outline-none focus:text-neutral-800 dark:focus:text-neutral-200 focus:bg-neutral-50 dark:focus:bg-neutral-700 focus:border-neutral-300 dark:focus:border-neutral-600 transition duration-150 ease-in-out'; +@endphp + +merge(['class' => $classes]) }}> + {{ $slot }} + diff --git a/resources/views/components/secondary-button.blade.php b/resources/views/components/secondary-button.blade.php new file mode 100644 index 0000000..fa1c549 --- /dev/null +++ b/resources/views/components/secondary-button.blade.php @@ -0,0 +1,3 @@ + diff --git a/resources/views/components/text-input.blade.php b/resources/views/components/text-input.blade.php new file mode 100644 index 0000000..b93d9f5 --- /dev/null +++ b/resources/views/components/text-input.blade.php @@ -0,0 +1,3 @@ +@props(['disabled' => false]) + +merge(['class' => 'border-gray-300 dark:border-gray-700 dark:bg-neutral-900 dark:text-gray-300 focus:border-rose-500 dark:focus:border-rose-600 focus:ring-rose-500 dark:focus:ring-rose-600 rounded-md shadow-sm']) !!}> diff --git a/resources/views/components/textarea-input.blade.php b/resources/views/components/textarea-input.blade.php new file mode 100644 index 0000000..f9c0a3a --- /dev/null +++ b/resources/views/components/textarea-input.blade.php @@ -0,0 +1,4 @@ +@props(['disabled' => false]) + + \ No newline at end of file diff --git a/resources/views/contact/form.blade.php b/resources/views/contact/form.blade.php new file mode 100644 index 0000000..1708313 --- /dev/null +++ b/resources/views/contact/form.blade.php @@ -0,0 +1,15 @@ + + +

    + {{ __('Contact') }} +

    +
    + +
    +
    +
    + @include('contact.partials.submit-contact-form') +
    +
    +
    +
    \ No newline at end of file diff --git a/resources/views/contact/partials/submit-contact-form.blade.php b/resources/views/contact/partials/submit-contact-form.blade.php new file mode 100644 index 0000000..9a31808 --- /dev/null +++ b/resources/views/contact/partials/submit-contact-form.blade.php @@ -0,0 +1,82 @@ +
    +
    +

    + {{ __('Contact Form') }} +

    +
    + +
    + @csrf +

    You won't get a reply here. Please contact us on Discord instead if a answer is required.

    +

    Don't request hentai here!

    +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + +
    +
    + {!! captcha_img() !!} +
    + +
    +
    + +
    + +
    + {{ __('Submit') }} + + @if ($errors->any()) + @foreach ($errors->all() as $error) + @if ($error == 'validation.captcha') +

    Captcha Incorrect!

    + @else +

    {{ $error }}

    + @endif + @endforeach + @endif + + @if (session('status') === 'contact-submitted') +

    {{ __('Your message was submitted.') }}

    + @endif +
    +
    + + +
    \ No newline at end of file diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 0000000..eff09ed --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,6 @@ + +
    + + +
    +
    \ No newline at end of file diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php new file mode 100644 index 0000000..0e75a10 --- /dev/null +++ b/resources/views/errors/500.blade.php @@ -0,0 +1,14 @@ + + + @include('partials.head') + +
    +
    +
    + + +
    +
    +
    + + diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php new file mode 100644 index 0000000..ba081d8 --- /dev/null +++ b/resources/views/errors/503.blade.php @@ -0,0 +1,14 @@ + + + @include('partials.head') + +
    +
    +
    + +

    We are currently doing some maintenance.

    +
    +
    +
    + + diff --git a/resources/views/home/index.blade.php b/resources/views/home/index.blade.php new file mode 100644 index 0000000..c692279 --- /dev/null +++ b/resources/views/home/index.blade.php @@ -0,0 +1,32 @@ + + @include('home.partials.branding') + + @include('admin.home.alert') + + +
    + @include('home.partials.tabs-top') +
    +

    + + +
    + @include('home.partials.tabs-middle') +
    + + +
    + @include('home.partials.categories') +
    + + +
    + @include('home.partials.random') +
    + + + +
    + @include('home.partials.comments') +
    +
    \ No newline at end of file diff --git a/resources/views/home/partials/branding.blade.php b/resources/views/home/partials/branding.blade.php new file mode 100644 index 0000000..cbc84bf --- /dev/null +++ b/resources/views/home/partials/branding.blade.php @@ -0,0 +1,50 @@ +
    +
    + +
    +
    +

    hstream.moe

    +
    +
    +

    {{ __('home.branding') }}

    +
    +
    + +
    + +
    + @php + $array = \cache()->remember('background', 300, function () { + $bg = new \App\Models\SiteBackground(); + return $bg->getImages(); + }); + @endphp + + @if ($array->isNotEmpty()) + @php + $imageId = $array->random(); + @endphp + + @else + + @endif +
    + +
    diff --git a/resources/views/home/partials/categories.blade.php b/resources/views/home/partials/categories.blade.php new file mode 100644 index 0000000..229e38b --- /dev/null +++ b/resources/views/home/partials/categories.blade.php @@ -0,0 +1,61 @@ +

    + {{ __('home.categories') }} +

    + +@php + $categories = [ + 'Uncensored' => 'uncensored', + 'Milf' => 'milf', + 'Maid' => 'maid', + 'School Girl' => 'school-girl', + 'Succubus' => 'succubus', + 'Tentacle' => 'tentacle', + 'Big Boobs' => 'big-boobs', + 'BDSM' => 'bdsm', + 'Elf' => 'elf', + '4k 48fps' => '4k-48fps', + ]; +@endphp + +
    + @foreach ($categories as $name => $slug) + @php + $cacheKey = 'category_' . $slug; + + $collection = \cache()->remember( + $cacheKey, + 900, + fn() => \App\Models\Episode::withAllTags([$slug]) + ->inRandomOrder() + ->limit(3) + ->get(), + ); + + $count = $collection->count(); + + @endphp + +

    {{ $name }}

    +
    + + @if ($count > 0) + + @endif + + + @if ($count > 1) + + @endif + + + @if ($count > 2) + + @endif +
    +
    + @endforeach +
    diff --git a/resources/views/home/partials/comments.blade.php b/resources/views/home/partials/comments.blade.php new file mode 100644 index 0000000..5ed6af4 --- /dev/null +++ b/resources/views/home/partials/comments.blade.php @@ -0,0 +1,61 @@ +

    + {{ __('home.latest-comments') }} +

    + +
    + @foreach ($latestComments as $comment) + @if ($comment->commentable_type == 'App\Models\Episode') + @php $episode = cache()->rememberForever('commentEpisode'.$comment->commentable_id, fn () => App\Models\Episode::with('gallery')->where('id', $comment->commentable_id)->first()); @endphp +
    + +
    + @include('partials.comment', ['comment' => $comment]) +
    +
    + @elseif($comment->commentable_type == 'App\Models\Hentai') + @php $hentai = cache()->rememberForever('commentHentai'.$comment->commentable_id, fn () => App\Models\Hentai::with('gallery', 'episodes')->where('id', $comment->commentable_id)->first()); @endphp + + @endif + @endforeach +
    diff --git a/resources/views/home/partials/random.blade.php b/resources/views/home/partials/random.blade.php new file mode 100644 index 0000000..9dfc714 --- /dev/null +++ b/resources/views/home/partials/random.blade.php @@ -0,0 +1,9 @@ +

    + Random +

    + +@php $random = \App\Models\Episode::inRandomOrder()->limit(8)->get(); @endphp + +
    + @include('home.partials.tab.template', ['episodes' => $random, 'showThumbnails' => false]) +
    diff --git a/resources/views/home/partials/tab/template.blade.php b/resources/views/home/partials/tab/template.blade.php new file mode 100644 index 0000000..261d06a --- /dev/null +++ b/resources/views/home/partials/tab/template.blade.php @@ -0,0 +1,9 @@ +@if ($showThumbnails) +
    + @include('partials.episode-thumbnail', ['limit' => 15]) +
    +@else +
    + @include('partials.episode-cover', ['limit' => 16]) +
    +@endif \ No newline at end of file diff --git a/resources/views/home/partials/tabs-middle.blade.php b/resources/views/home/partials/tabs-middle.blade.php new file mode 100644 index 0000000..88c24e8 --- /dev/null +++ b/resources/views/home/partials/tabs-middle.blade.php @@ -0,0 +1,101 @@ + + + +@php $showThumbnails = true; @endphp + +@auth + @if (!Auth::user()->home_middle_design) + @php $showThumbnails = false; @endphp + @endif +@endauth + + +
    + + + + +
    diff --git a/resources/views/home/partials/tabs-top.blade.php b/resources/views/home/partials/tabs-top.blade.php new file mode 100644 index 0000000..5c69f09 --- /dev/null +++ b/resources/views/home/partials/tabs-top.blade.php @@ -0,0 +1,61 @@ + + + +@php $showThumbnails = false; @endphp + +@auth +@if(Auth::user()->home_top_design) + @php $showThumbnails = true; @endphp +@endif +@endauth + + +
    + + + +
    diff --git a/resources/views/home/stats.blade.php b/resources/views/home/stats.blade.php new file mode 100644 index 0000000..ded9113 --- /dev/null +++ b/resources/views/home/stats.blade.php @@ -0,0 +1,52 @@ + +
    +
    +
    + hstream.moe Logo +
    +
    +
    +
    + {{ number_format($viewCount) }} +
    +
    + total views +
    +
    +
    +
    + {{ number_format($monthlyCount) }} +
    +
    + views the last 30 days +
    +
    +
    +
    + {{ $episodeCount }} +
    +
    + episodes on this site +
    +
    +
    +
    + {{ $hentaiCount }} +
    +
    + hentais on this site +
    +
    +
    +
    + {{ number_format($viewCount * 6) }} +
    +
    + estimated minutes of watch time +
    +
    +
    +
    +

    Cached for 60 Minutes

    +
    +
    diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..f376b18 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,32 @@ + + + +@include('partials.head') + + +
    + @include('layouts.navigation') + + + @if (isset($header)) +
    +
    + {{ $header }} +
    +
    + @endif + + +
    +
    + {{ $slot }} +
    +
    + + @include('layouts.footer') +
    + + @livewireScripts + + + diff --git a/resources/views/layouts/footer.blade.php b/resources/views/layouts/footer.blade.php new file mode 100644 index 0000000..edbc8dd --- /dev/null +++ b/resources/views/layouts/footer.blade.php @@ -0,0 +1,67 @@ + +@include('modals.language-selector') diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php new file mode 100644 index 0000000..1381fb5 --- /dev/null +++ b/resources/views/layouts/guest.blade.php @@ -0,0 +1,19 @@ + + + + @include('partials.head') + + +
    +
    + + + +
    + +
    + {{ $slot }} +
    +
    + + diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php new file mode 100644 index 0000000..dbf2cc3 --- /dev/null +++ b/resources/views/layouts/navigation.blade.php @@ -0,0 +1,309 @@ + diff --git a/resources/views/livewire/admin-user-search.blade.php b/resources/views/livewire/admin-user-search.blade.php new file mode 100644 index 0000000..beb7a52 --- /dev/null +++ b/resources/views/livewire/admin-user-search.blade.php @@ -0,0 +1,95 @@ +
    +
    +
    +
    + + + + + + + + + + + + + + @foreach($users as $user) + + + + + + + + + + @endforeach + +
    + Discord-ID + + + Username + + + Patreon + + + Banned + + + Created at + + Updated at + + Actions +
    + {{ $user->id }} + + {{ $user->global_name ?? $user->username }} + + {{ $user->is_patreon ? 'Yes' : 'No' }} + + {{ $user->is_banned ? 'Yes' : 'No' }} + + {{ $user->created_at->format('Y-m-d') }} + + {{ $user->updated_at->format('Y-m-d') }} + +
    + @csrf + + + +
    +
    +
    +
    + {{ $users->links('pagination::tailwind') }} +
    +
    diff --git a/resources/views/livewire/background-images.blade.php b/resources/views/livewire/background-images.blade.php new file mode 100644 index 0000000..96a9127 --- /dev/null +++ b/resources/views/livewire/background-images.blade.php @@ -0,0 +1,95 @@ +
    + +
    +
    +
    + + + + + + + + + + @foreach($images as $image) + + + + + + @endforeach + +
    ImageData + + Action
    + + +
    + @csrf + @method('put') + +
    +
    + + +
    + +
    + + +
    + +
    + + default) checked @endif + class="w-5 h-5 text-rose-600 bg-gray-100 border-gray-300 rounded focus:ring-rose-500 dark:focus:ring-rose-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600" + > +
    + +
    + +
    +
    +
    +
    +
    + @csrf + @method('delete') + + +
    +
    +
    + +
    + {{ $images->links('pagination::tailwind') }} +
    +
    diff --git a/resources/views/livewire/download-button.blade.php b/resources/views/livewire/download-button.blade.php new file mode 100644 index 0000000..ddb725a --- /dev/null +++ b/resources/views/livewire/download-button.blade.php @@ -0,0 +1,20 @@ + diff --git a/resources/views/livewire/downloads-free.blade.php b/resources/views/livewire/downloads-free.blade.php new file mode 100644 index 0000000..29187a3 --- /dev/null +++ b/resources/views/livewire/downloads-free.blade.php @@ -0,0 +1,54 @@ +
    +

    + You have {{ $downloadsLeft }}/{{ config('hstream.free_downloads_count') }} free daily 4k downloads left. +
    + Free 4k downloads will only be available, if enough people are subscribed to patreon! +
    + Patreon subscribers don't have any limits! +

    +
    + @if ($granted === 0 && !$override) + + + + @elseif ($granted === 1 || $override) + @php + $episode = \App\Models\Episode::where('id', $episodeId)->firstOrFail(); + $download = $interpolated == true ? $episode->getDownloadByType('UHDi') : $episode->getDownloadByType('UHD'); + + $now = \Illuminate\Support\Carbon::now(); + $expire = \Illuminate\Support\Facades\Crypt::encryptString($now->addHours(6)); + $file = \Illuminate\Support\Facades\Crypt::encryptString('hentai/'.$download->url); + + $dlpdomains = config('hstream.download_domain_4k'); + $downloadURL = $dlpdomains[array_rand($dlpdomains)].'/download/'.$file.'/'.$expire; + $fillNumbers = false; + @endphp + + + @elseif ($granted === 3) +

    + Daily download limit reached! +

    + @elseif ($granted === 4) +

    + Download will be available 7 days after release! +

    + @endif +
    +
    diff --git a/resources/views/livewire/downloads.blade.php b/resources/views/livewire/downloads.blade.php new file mode 100644 index 0000000..52fc9b0 --- /dev/null +++ b/resources/views/livewire/downloads.blade.php @@ -0,0 +1,146 @@ +
    +
    + +
    +
    + + +
    + +
    +
    + +
    + + + +
    + +
    +
    +
    + + + +
    +
    +
    + +
    + +
    +
    +
    +
    + + Show only with Torrent +
    +
    + +
    + + @php $dldomains = config('hstream.download_domain'); @endphp + +
    +
    +
    +
    +
    + + + + + + + + + + + + @foreach($hentai as $h) + @php $episode = $h->episodes->first(); @endphp + + + + + + @endforeach + +
    TitleDownloadTorrent
    + {{ $episode->title }} + @if ($episode->title != $episode->title_jpn) +
    + {{ $episode->title_jpn }} + @endif + @auth + @if(Auth::user()->is_admin) +
    + Add Torrent + @endif + @endauth +
    + @foreach($h->episodes as $episode) + @include('livewire.partials.download-button', ['hdl' => $episode]) + @endforeach + + @include('livewire.partials.torrent-button', ['hentai' => $h]) +
    + + + + + + + + + + @foreach($hentai as $h) + @php $episode = $h->episodes->first(); @endphp + + + + @endforeach + +
    + {{ $episode->title }} + @if ($episode->title != $episode->title_jpn) +
    + {{ $episode->title_jpn }} + @endif +
    +
    + @foreach($h->episodes as $episode) + @include('livewire.partials.download-button', ['hdl' => $episode]) + @endforeach + @include('livewire.partials.torrent-button', ['hentai' => $h]) +
    +
    +
    +
    +
    +
    + + {{ $hentai->links('pagination::tailwind') }} + +
    +
    diff --git a/resources/views/livewire/like-button.blade.php b/resources/views/livewire/like-button.blade.php new file mode 100644 index 0000000..c4ea540 --- /dev/null +++ b/resources/views/livewire/like-button.blade.php @@ -0,0 +1,13 @@ +
    + @if (Auth::check()) +
    + @else +
    + @endif + @if ($liked) + {{ $likeCount }} + @else + {{ $likeCount }} + @endif +
    +
    diff --git a/resources/views/livewire/live-search.blade.php b/resources/views/livewire/live-search.blade.php new file mode 100644 index 0000000..c60634a --- /dev/null +++ b/resources/views/livewire/live-search.blade.php @@ -0,0 +1,28 @@ +
    +
    + @include('livewire.partials.search-filter') +
    + +
    + {{ $episodes->appends(['tags' => $selectedtags])->links('pagination::tailwind') }} +
    +
    + @if ($view == 'thumbnail') +
    + @else +
    + @endif + @forelse($episodes as $episode) + @include('livewire.partials.search-result') + @empty +
    +

    No results (╥﹏╥)

    +
    + @endforelse +
    +
    +
    + {{ $episodes->appends(['tags' => $selectedtags])->links('pagination::tailwind') }} +
    + @vite(['resources/js/preview.js']) +
    diff --git a/resources/views/livewire/nav-live-search.blade.php b/resources/views/livewire/nav-live-search.blade.php new file mode 100644 index 0000000..de5d989 --- /dev/null +++ b/resources/views/livewire/nav-live-search.blade.php @@ -0,0 +1,63 @@ +
    +
    + @csrf + +
    +
    + +
    + path() == 'search') disabled @endif> + +
    +
    + + @if((! $hide) && request()->path() != 'search' && request()->path() != 'download-search') + + + @endif +
    diff --git a/resources/views/livewire/partials/download-button.blade.php b/resources/views/livewire/partials/download-button.blade.php new file mode 100644 index 0000000..f4b94de --- /dev/null +++ b/resources/views/livewire/partials/download-button.blade.php @@ -0,0 +1,13 @@ + + + diff --git a/resources/views/livewire/partials/search-filter.blade.php b/resources/views/livewire/partials/search-filter.blade.php new file mode 100644 index 0000000..39a0588 --- /dev/null +++ b/resources/views/livewire/partials/search-filter.blade.php @@ -0,0 +1,123 @@ + +
    +
    +
    + + +
    + +
    +
    + +
    + + + +
    + +
    +
    +
    + + +
    +
    +
    + +
    +

    + @if($tagcount === 0) + Select Genres + @elseif($tagcount === 1) + Selected {{$tagcount }} Genre + @elseif($tagcount > 1) + Selected {{$tagcount }} Genres + @endif +

    +
    +
    + + +
    +
    +
    + +
    +

    + @if($blacklistcount === 0) + Select Blacklist + @elseif($blacklistcount === 1) + Selected {{ $blacklistcount }} Blacklist Item + @elseif($blacklistcount > 1) + Selected {{ $blacklistcount }} Blacklist Items + @endif +

    +
    +
    + + +
    +
    +
    + +
    +

    + @if($studiocount === 0) + Select Studios + @elseif($studiocount === 1) + Selected {{ $studiocount }} Studio + @elseif($studiocount > 1) + Selected {{ $studiocount }} Studios + @endif +

    +
    +
    + + +
    +
    +
    + +
    + +
    + +
    +
    + +
    + +
    +
    +
    + + @auth +
    + + +
    + @endauth +
    + @include('modals.filter-genres') + @include('modals.filter-studios') + @include('modals.filter-blacklist') +
    \ No newline at end of file diff --git a/resources/views/livewire/partials/search-result.blade.php b/resources/views/livewire/partials/search-result.blade.php new file mode 100644 index 0000000..b1167be --- /dev/null +++ b/resources/views/livewire/partials/search-result.blade.php @@ -0,0 +1,86 @@ +
    + @if ($searchIsJpn) + diff --git a/resources/views/livewire/partials/torrent-button.blade.php b/resources/views/livewire/partials/torrent-button.blade.php new file mode 100644 index 0000000..29cbe5e --- /dev/null +++ b/resources/views/livewire/partials/torrent-button.blade.php @@ -0,0 +1,25 @@ +@forelse ($hentai->torrents as $torrent) + + + +@empty + + + +@endforelse diff --git a/resources/views/livewire/playlist-overview.blade.php b/resources/views/livewire/playlist-overview.blade.php new file mode 100644 index 0000000..5a00316 --- /dev/null +++ b/resources/views/livewire/playlist-overview.blade.php @@ -0,0 +1,101 @@ +
    +
    + + +
    + + @if ($playlist->user->avatar) + + @else + + @endif + +
    +

    {{ $playlist->name }}

    +

    Episodes: {{ count($playlistEpisodes) }}

    +

    Creator: {{ $playlist->user->username }} +

    +
    + +
    + + @forelse($playlistEpisodes as $playlistEpisode) + @php $episode = $playlistEpisode->episode; @endphp + + @empty +
    + No results (╥﹏╥) +
    + @endforelse +
    +
    diff --git a/resources/views/livewire/playlists.blade.php b/resources/views/livewire/playlists.blade.php new file mode 100644 index 0000000..f8e6a5c --- /dev/null +++ b/resources/views/livewire/playlists.blade.php @@ -0,0 +1,83 @@ +
    + +
    +
    +
    + +
    +
    + +
    + + + +
    + +
    +
    +
    + +
    +
    + +
    + +
    +
    +
    + +
    + + @foreach ($playlists as $playlist) + + @endforeach +
    +
    + {{ $playlists->links('pagination::tailwind') }} +
    +
    diff --git a/resources/views/livewire/user-likes.blade.php b/resources/views/livewire/user-likes.blade.php new file mode 100644 index 0000000..4cf6920 --- /dev/null +++ b/resources/views/livewire/user-likes.blade.php @@ -0,0 +1,28 @@ +
    +
    + @include('livewire.partials.search-filter') +
    + +
    + {{ $episodes->appends(['tags' => $selectedtags])->links('pagination::tailwind') }} +
    +
    + @if ($view == 'thumbnail') +
    + @else +
    + @endif + @forelse($episodes as $episode) + @include('livewire.partials.search-result') + @empty +
    +

    No results (╥﹏╥)

    +
    + @endforelse +
    +
    +
    + {{ $episodes->appends(['tags' => $selectedtags])->links('pagination::tailwind') }} +
    + @vite(['resources/js/preview.js']) +
    + + {{ $viewCount }} + +
    diff --git a/resources/views/livewire/watched.blade.php b/resources/views/livewire/watched.blade.php new file mode 100644 index 0000000..ab562a1 --- /dev/null +++ b/resources/views/livewire/watched.blade.php @@ -0,0 +1,28 @@ +
    +
    +
      + @foreach ($watchedGrouped as $day => $episodes) +
    1. +
      +
      +
      +

      + {{ $episodes->first()->created_at->diffForHumans(['parts' => 1]) }} +

      +
      +
      +
      + @foreach ($episodes as $episode) +
      + +
      + @endforeach +
      +
      +
    2. + @endforeach +
    + {{ $watched->links('pagination::tailwind') }} +
    +
    + +@vite(['resources/js/modals-playlist.js']) +@endauth \ No newline at end of file diff --git a/resources/views/modals/comment-edit.blade.php b/resources/views/modals/comment-edit.blade.php new file mode 100644 index 0000000..f87f661 --- /dev/null +++ b/resources/views/modals/comment-edit.blade.php @@ -0,0 +1,50 @@ + + diff --git a/resources/views/modals/comment-reply.blade.php b/resources/views/modals/comment-reply.blade.php new file mode 100644 index 0000000..68b7ae0 --- /dev/null +++ b/resources/views/modals/comment-reply.blade.php @@ -0,0 +1,49 @@ + + diff --git a/resources/views/modals/create-playlist.blade.php b/resources/views/modals/create-playlist.blade.php new file mode 100644 index 0000000..de35637 --- /dev/null +++ b/resources/views/modals/create-playlist.blade.php @@ -0,0 +1,39 @@ + + diff --git a/resources/views/modals/download.blade.php b/resources/views/modals/download.blade.php new file mode 100644 index 0000000..0323471 --- /dev/null +++ b/resources/views/modals/download.blade.php @@ -0,0 +1,19 @@ + + diff --git a/resources/views/modals/filter-blacklist.blade.php b/resources/views/modals/filter-blacklist.blade.php new file mode 100644 index 0000000..bfb8a9f --- /dev/null +++ b/resources/views/modals/filter-blacklist.blade.php @@ -0,0 +1,165 @@ + + diff --git a/resources/views/modals/filter-genres.blade.php b/resources/views/modals/filter-genres.blade.php new file mode 100644 index 0000000..132d6a9 --- /dev/null +++ b/resources/views/modals/filter-genres.blade.php @@ -0,0 +1,166 @@ + + diff --git a/resources/views/modals/filter-studios.blade.php b/resources/views/modals/filter-studios.blade.php new file mode 100644 index 0000000..efe2d25 --- /dev/null +++ b/resources/views/modals/filter-studios.blade.php @@ -0,0 +1,40 @@ + + diff --git a/resources/views/modals/language-selector.blade.php b/resources/views/modals/language-selector.blade.php new file mode 100644 index 0000000..f8e77cc --- /dev/null +++ b/resources/views/modals/language-selector.blade.php @@ -0,0 +1,47 @@ + + diff --git a/resources/views/modals/partials/download-authorized.blade.php b/resources/views/modals/partials/download-authorized.blade.php new file mode 100644 index 0000000..b02cb26 --- /dev/null +++ b/resources/views/modals/partials/download-authorized.blade.php @@ -0,0 +1,98 @@ +@auth +

    + 1080p +

    +
    + @php + $dlList = App\Models\Episode::where('hentai_id', $episode->hentai_id) + ->orderBy('episode', 'asc') + ->get(); + $fillNumbers = $dlList->count() >= 10; + @endphp + + @foreach ($dlList as $hdl) + @include('modals.partials.download-button') + @endforeach + + @include('livewire.partials.torrent-button', ['hentai' => $episode->hentai]) +
    + + @include('modals.partials.download-backup') + + @if ($episode->interpolated) +

    + 1080p 48fps +

    + +
    + @foreach ($dlList as $hdl) + @include('modals.partials.download-button-interpolated') + @endforeach +
    + @endif + + +
    + @if (!Auth::user()->is_patreon) + @if (config('hstream.free_downloads')) +

    + 4k +

    + @livewire('downloads-free', ['episode' => $episode]) + @else +

    + 4k +

    +

    + 4k Downloads are restricted to patreon subscribers. If you are subscribed to patreon and you have a patreon role + on our Discord server, you have to logout and login again. +

    + @endif + @else +

    + 4k +

    + + @php $dlpdomains = config('hstream.download_domain_4k'); @endphp + +
    + @foreach ($dlList as $hdl) + @include('modals.partials.download-button-patreon') + @endforeach +
    + @endif + +
    + @if ($episode->interpolated_uhd) + @if (!Auth::user()->is_patreon) + @if (config('hstream.free_downloads')) +

    + 4k 48fps +

    + @livewire('downloads-free', ['episode' => $episode, 'interpolated' => true]) + @else +

    + 4k 48fps +

    +

    + 4k 48fps Downloads are restricted to patreon subscribers. If you are subscribed to patreon and you have a patreon role + on our Discord server, you have to logout and login again. +

    + @endif + @else +

    + 4k 48fps +

    + + @php $dlpdomains = config('hstream.download_domain_4k'); @endphp + +
    + @foreach ($dlList as $hdl) + @include('modals.partials.download-button-patreon-interpolated') + @endforeach +
    + @endif + @endif + + @include('modals.partials.download-subtitles') +@endauth diff --git a/resources/views/modals/partials/download-backup.blade.php b/resources/views/modals/partials/download-backup.blade.php new file mode 100644 index 0000000..318135b --- /dev/null +++ b/resources/views/modals/partials/download-backup.blade.php @@ -0,0 +1,28 @@ +
    + + +
    + diff --git a/resources/views/modals/partials/download-button-interpolated.blade.php b/resources/views/modals/partials/download-button-interpolated.blade.php new file mode 100644 index 0000000..631531c --- /dev/null +++ b/resources/views/modals/partials/download-button-interpolated.blade.php @@ -0,0 +1,18 @@ +@if(is_null($hdl->getDownloadByType('FHDi'))) + + Episode {{ $hdl->episode }} (Unavailable) + +@else +@php + $download = $hdl->getDownloadByType('FHDi'); + $downloadURL = $dldomains[array_rand($dldomains)].'/'.$download->url; +@endphp + + +@endif \ No newline at end of file diff --git a/resources/views/modals/partials/download-button-patreon-interpolated.blade.php b/resources/views/modals/partials/download-button-patreon-interpolated.blade.php new file mode 100644 index 0000000..5ee8b2d --- /dev/null +++ b/resources/views/modals/partials/download-button-patreon-interpolated.blade.php @@ -0,0 +1,24 @@ +@if(is_null($hdl->getDownloadByType('UHDi'))) + + Episode {{ $hdl->episode }} (Unavailable) + +@else + +@php + $download = $hdl->getDownloadByType('UHDi'); + + $now = \Illuminate\Support\Carbon::now(); + $expire = \Illuminate\Support\Facades\Crypt::encryptString($now->addHours(6)); + $file = \Illuminate\Support\Facades\Crypt::encryptString('hentai/'.$download->url); + + $downloadURL = $dlpdomains[array_rand($dlpdomains)].'/download/'.$file.'/'.$expire; +@endphp + + +@endif \ No newline at end of file diff --git a/resources/views/modals/partials/download-button-patreon.blade.php b/resources/views/modals/partials/download-button-patreon.blade.php new file mode 100644 index 0000000..5389183 --- /dev/null +++ b/resources/views/modals/partials/download-button-patreon.blade.php @@ -0,0 +1,24 @@ +@if(is_null($hdl->getDownloadByType('UHD'))) + + Episode {{ $hdl->episode }} (Unavailable) + +@else + +@php + $download = $hdl->getDownloadByType('UHD'); + + $now = \Illuminate\Support\Carbon::now(); + $expire = \Illuminate\Support\Facades\Crypt::encryptString($now->addHours(6)); + $file = \Illuminate\Support\Facades\Crypt::encryptString('hentai/'.$download->url); + + $downloadURL = $dlpdomains[array_rand($dlpdomains)].'/download/'.$file.'/'.$expire; +@endphp + + +@endif \ No newline at end of file diff --git a/resources/views/modals/partials/download-button.blade.php b/resources/views/modals/partials/download-button.blade.php new file mode 100644 index 0000000..60a951d --- /dev/null +++ b/resources/views/modals/partials/download-button.blade.php @@ -0,0 +1,12 @@ +@php + $download = $hdl->getDownloadByType('FHD'); + $downloadURL = $dldomains[array_rand($dldomains)].'/'.$download->url; +@endphp + + \ No newline at end of file diff --git a/resources/views/modals/partials/download-captcha.blade.php b/resources/views/modals/partials/download-captcha.blade.php new file mode 100644 index 0000000..fe12ae7 --- /dev/null +++ b/resources/views/modals/partials/download-captcha.blade.php @@ -0,0 +1,94 @@ +
    +

    + 1080p +

    +

    + Please solve the following captcha: +

    +

    +

    +
    +
    + {!! captcha_img() !!} +
    + +
    +
    + + +
    +
    +

    + You can log in with Discord to avoid the captcha. +

    +
    + + + + diff --git a/resources/views/modals/partials/download-guest.blade.php b/resources/views/modals/partials/download-guest.blade.php new file mode 100644 index 0000000..07b9f3e --- /dev/null +++ b/resources/views/modals/partials/download-guest.blade.php @@ -0,0 +1,32 @@ +@guest +@include('modals.partials.download-captcha') + +@if ($episode->interpolated) +
    +

    + FHD 48fps +

    + +

    + 48fps Downloads are restricted to logged in users. +

    +@endif +
    +

    + 4k +

    +

    + 4k Downloads are restricted to patreon subscribers. +

    +@if ($episode->interpolated_uhd) +
    +

    + 4k 48fps +

    +

    + 4k 48fps Downloads are restricted to patreon subscribers. +

    +@endif + +@include('modals.partials.download-subtitles') +@endguest diff --git a/resources/views/modals/partials/download-subtitles.blade.php b/resources/views/modals/partials/download-subtitles.blade.php new file mode 100644 index 0000000..73500a1 --- /dev/null +++ b/resources/views/modals/partials/download-subtitles.blade.php @@ -0,0 +1,34 @@ +
    +

    + Subtitles +

    +
    + @php + $subtitles = collect([['English' => 'eng']]) + ->merge($episode->subtitles->map(fn($sub) => [ + $sub->subtitle->name => 'autotrans/' . $sub->subtitle->slug, + ])) + ->toArray(); + $streamDomains = config('hstream.stream_domain'); + @endphp + + @foreach($subtitles as $subtitle) + @foreach ($subtitle as $language => $value) + + + + @endforeach + @endforeach +
    diff --git a/resources/views/modals/share.blade.php b/resources/views/modals/share.blade.php new file mode 100644 index 0000000..a6299b5 --- /dev/null +++ b/resources/views/modals/share.blade.php @@ -0,0 +1,136 @@ + + diff --git a/resources/views/partials/comment.blade.php b/resources/views/partials/comment.blade.php new file mode 100644 index 0000000..8b007ef --- /dev/null +++ b/resources/views/partials/comment.blade.php @@ -0,0 +1,26 @@ +@inject('markdown', 'Parsedown') +@php + // TODO: There should be a better place for this. + $markdown->setSafeMode(true); +@endphp +
    + @php $user = cache()->rememberForever('commentUser'.$comment->commenter_id, fn () => \App\Models\User::where('id', $comment->commenter_id)->first()); @endphp + + @if($user->avatar) + {{ $user->global_name ?? $user->username }} Avatar + @else + {{ $user->global_name ?? $user->username }} Avatar + @endif + +
    + + @if($user->is_patreon) +
    {{ $user->global_name ?? $user->username }} - {{ \Carbon\Carbon::parse($comment->created_at)->diffForHumans() }}
    + @else +
    {{ $user->global_name ?? $user->username }} - {{ \Carbon\Carbon::parse($comment->created_at)->diffForHumans() }}
    + @endif + +
    {!! $markdown->line($comment->comment) !!}
    +
    +
    +
    \ No newline at end of file diff --git a/resources/views/partials/episode-cover.blade.php b/resources/views/partials/episode-cover.blade.php new file mode 100644 index 0000000..fa7d262 --- /dev/null +++ b/resources/views/partials/episode-cover.blade.php @@ -0,0 +1,73 @@ +@php $limitcounter = 0; @endphp + +@foreach ($episodes as $ep) + @if (isset($popularView)) + @php $episode = $ep->episode @endphp + @else + @php $episode = $ep @endphp + @endif + + @if ($limitcounter >= $limit) + @break + @endif + + + + @php $limitcounter++; @endphp +@endforeach diff --git a/resources/views/partials/episode-thumbnail.blade.php b/resources/views/partials/episode-thumbnail.blade.php new file mode 100644 index 0000000..f1b67a6 --- /dev/null +++ b/resources/views/partials/episode-thumbnail.blade.php @@ -0,0 +1,17 @@ +@php $limitcounter = 0; @endphp + +@foreach ($episodes as $ep) + @if (isset($popularView)) + @php $episode = $ep->episode @endphp + @else + @php $episode = $ep @endphp + @endif + + @if ($limitcounter >= $limit) + @break + @endif + + + + @php $limitcounter++; @endphp +@endforeach diff --git a/resources/views/partials/head.blade.php b/resources/views/partials/head.blade.php new file mode 100644 index 0000000..6d9b66d --- /dev/null +++ b/resources/views/partials/head.blade.php @@ -0,0 +1,65 @@ + + + + + @if (Route::currentRouteName() == 'hentai.index') + @if (isset($episode)) + Watch {{ $episode->title }} - {{ $episode->episode }} in 4k, 1080p, UHD, HD for Free - hstream.moe + @elseif (isset($hentai)) + Watch {{ $hentai->episodes[0]->title }} in 4k, 1080p, UHD, HD for Free - hstream.moe + @else + Watch Highest Quality Hentai in 4k, 1080p, UHD, HD for Free - hstream.moe + @endif + @else + Watch Highest Quality Hentai in 4k, 1080p, UHD, HD for Free - hstream.moe + + @endif + + + + + + + + + + @vite(['resources/css/app.css', 'resources/js/app.js', 'resources/js/theme.js']) + @livewireStyles + + + + + + + + + + + + + + @if (isset($episode) || isset($hentai)) + @include('partials.social-preview') + @endif + + + + + diff --git a/resources/views/partials/mobilesearch.blade.php b/resources/views/partials/mobilesearch.blade.php new file mode 100644 index 0000000..fdc3944 --- /dev/null +++ b/resources/views/partials/mobilesearch.blade.php @@ -0,0 +1,20 @@ +
    + @csrf + +
    +
    + +
    + + +
    +
    diff --git a/resources/views/partials/social-preview.blade.php b/resources/views/partials/social-preview.blade.php new file mode 100644 index 0000000..3b67f2a --- /dev/null +++ b/resources/views/partials/social-preview.blade.php @@ -0,0 +1,52 @@ +@if (Route::currentRouteName() == 'hentai.index') +@php + $title = ''; + if (! isset($episode) && isset($hentai)) { + $episode = $hentai->episodes[0]; + $gallery = $episode->gallery; + $title = 'Watch all episodes from '.$episode->title.' in 4k, 2160p, 1080p, UHD, HD - hstream.moe'; + } else { + $title = 'Watch '.$episode->title.' - '.$episode->episode.' in 4k, 2160p, 1080p, UHD, HD - hstream.moe'; + } +@endphp + + + + + +@if(isset($gallery) && $episode->gallery->isNotEmpty()) + +@endif + + + + +@php + $tags = ''; + foreach ($episode->tags as $tag) { + if (!$tags){ + $tags .= $tag->name; + } else { + $tags .= ', '.$tag->name; + } + } +@endphp + + + + +@elseif (Route::currentRouteName() == 'home.index') + + + + + + + + + + + +@else + +@endif diff --git a/resources/views/partials/themeswitcher.blade.php b/resources/views/partials/themeswitcher.blade.php new file mode 100644 index 0000000..e2558e6 --- /dev/null +++ b/resources/views/partials/themeswitcher.blade.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/resources/views/playlist/index.blade.php b/resources/views/playlist/index.blade.php new file mode 100644 index 0000000..1f23f99 --- /dev/null +++ b/resources/views/playlist/index.blade.php @@ -0,0 +1,12 @@ + + +

    + {{ __('nav.public-playlists') }} +

    +
    + +
    + @include('user.partials.background') + @livewire('playlists') +
    +
    diff --git a/resources/views/playlist/list.blade.php b/resources/views/playlist/list.blade.php new file mode 100644 index 0000000..fce9784 --- /dev/null +++ b/resources/views/playlist/list.blade.php @@ -0,0 +1,6 @@ + +
    + @include('user.partials.background') + @livewire('playlist-overview', ['playlist_id' => $playlist->id]) +
    +
    diff --git a/resources/views/profile/comments.blade.php b/resources/views/profile/comments.blade.php new file mode 100644 index 0000000..3f65c5a --- /dev/null +++ b/resources/views/profile/comments.blade.php @@ -0,0 +1,80 @@ + + +@include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') +
    + + @php + $episode_ids = array_unique( + DB::table('comments') + ->where('commenter_id', $user->id) + ->get() + ->pluck('commentable_id') + ->toArray(), + ); + @endphp + + @foreach ($episode_ids as $episode_id) + @php $episode = App\Models\Episode::where('id', $episode_id)->first(); @endphp + + @endforeach +
    +
    +
    +
    + @include('layouts.footer') +
    + + + diff --git a/resources/views/profile/edit.blade.php b/resources/views/profile/edit.blade.php new file mode 100644 index 0000000..5018b82 --- /dev/null +++ b/resources/views/profile/edit.blade.php @@ -0,0 +1,78 @@ + + +

    + {{ __('Profile') }} +

    +
    + + +
    \ No newline at end of file diff --git a/resources/views/profile/index.blade.php b/resources/views/profile/index.blade.php new file mode 100644 index 0000000..42290ad --- /dev/null +++ b/resources/views/profile/index.blade.php @@ -0,0 +1,22 @@ + + +@include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') + @include('user.partials.info') +
    +
    +
    + @include('layouts.footer') +
    + + + diff --git a/resources/views/profile/likes.blade.php b/resources/views/profile/likes.blade.php new file mode 100644 index 0000000..4dde4f0 --- /dev/null +++ b/resources/views/profile/likes.blade.php @@ -0,0 +1,20 @@ + + +@include('partials.head') + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') + @livewire('user-likes') +
    +
    +
    + @include('layouts.footer') +
    + + diff --git a/resources/views/profile/notifications.blade.php b/resources/views/profile/notifications.blade.php new file mode 100644 index 0000000..5dfdd39 --- /dev/null +++ b/resources/views/profile/notifications.blade.php @@ -0,0 +1,67 @@ + + +@include('partials.head') + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') +
    +
    + + + + + + + + + + @forelse($notifications as $notification) + + + + + + @empty + + + + + + @endforelse + +
    TypeMessageAction
    + {{ $notification->data['type'] ?? '' }} + + {{ $notification->data['message'] ?? '' }} + + + Open + +
    + @csrf + @method('delete') + + +
    +
    + + No entries (╥﹏╥) + +
    +
    +
    +
    +
    +
    + @include('layouts.footer') +
    + + diff --git a/resources/views/profile/partials/delete-user-form.blade.php b/resources/views/profile/partials/delete-user-form.blade.php new file mode 100644 index 0000000..3a6e1b5 --- /dev/null +++ b/resources/views/profile/partials/delete-user-form.blade.php @@ -0,0 +1,41 @@ +
    +
    +

    + {{ __('Delete Account') }} +

    + +

    + {{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.') }} +

    +
    + + {{ __('Delete Account') }} + + + +
    + @csrf + +

    + {{ __('Are you sure you want to delete your account?') }} +

    + +

    + {{ __('Once your account is deleted, all of its resources and data will be permanently deleted.') }} +

    + +
    + + {{ __('Cancel') }} + + + + {{ __('Delete Account') }} + +
    +
    +
    +
    diff --git a/resources/views/profile/partials/sidebar.blade.php b/resources/views/profile/partials/sidebar.blade.php new file mode 100644 index 0000000..15017f4 --- /dev/null +++ b/resources/views/profile/partials/sidebar.blade.php @@ -0,0 +1,37 @@ +
    + @include('user.partials.profile') + + + + @include('user.partials.actions') +
    diff --git a/resources/views/profile/partials/update-blacklist-form.blade.php b/resources/views/profile/partials/update-blacklist-form.blade.php new file mode 100644 index 0000000..b290fb9 --- /dev/null +++ b/resources/views/profile/partials/update-blacklist-form.blade.php @@ -0,0 +1,26 @@ +
    +
    +

    + {{ __('Search Blacklist') }} +

    +
    + +
    + @csrf +
    + +
    + + +
    +
    +
    + {{ __('Save') }} + + @if (session('status') === 'blacklist-updated') +

    {{ __('Saved.') }}

    + @endif +
    +
    + +
    \ No newline at end of file diff --git a/resources/views/profile/partials/update-design-form.blade.php b/resources/views/profile/partials/update-design-form.blade.php new file mode 100644 index 0000000..776a871 --- /dev/null +++ b/resources/views/profile/partials/update-design-form.blade.php @@ -0,0 +1,43 @@ +
    +
    +

    + {{ __('Website Design') }} +

    +
    + +
    + @csrf +
    +

    + {{ __('Search:') }} +

    + +

    + {{ __('Home Top Row:') }} +

    + +

    + {{ __('Home Middle Row:') }} +

    + +
    +
    +
    + {{ __('Save') }} + + @if (session('status') === 'design-updated') +

    {{ __('Saved.') }}

    + @endif +
    +
    + +
    \ No newline at end of file diff --git a/resources/views/profile/partials/update-password-form.blade.php b/resources/views/profile/partials/update-password-form.blade.php new file mode 100644 index 0000000..a66e1ac --- /dev/null +++ b/resources/views/profile/partials/update-password-form.blade.php @@ -0,0 +1,48 @@ +
    +
    +

    + {{ __('Update Password') }} +

    + +

    + {{ __('Ensure your account is using a long, random password to stay secure.') }} +

    +
    + +
    + @csrf + @method('put') + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + {{ __('Save') }} + + @if (session('status') === 'password-updated') +

    {{ __('Saved.') }}

    + @endif +
    +
    +
    diff --git a/resources/views/profile/partials/update-profile-information-form.blade.php b/resources/views/profile/partials/update-profile-information-form.blade.php new file mode 100644 index 0000000..1a1c4f4 --- /dev/null +++ b/resources/views/profile/partials/update-profile-information-form.blade.php @@ -0,0 +1,44 @@ +
    +
    +

    + {{ __('Profile Information') }} +

    +
    + +
    + @if (Auth::user()->global_name) +
    + + + +
    + @endif +
    + + + +
    + + @if (!Auth::user()->global_name) +
    + + + +
    + @endif + +
    + + + + + @if ($user instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && ! $user->verified) +
    +

    + {{ __('Your email address is unverified.') }} +

    +
    + @endif +
    +
    +
    diff --git a/resources/views/profile/partials/user-playlists.blade.php b/resources/views/profile/partials/user-playlists.blade.php new file mode 100644 index 0000000..7262766 --- /dev/null +++ b/resources/views/profile/partials/user-playlists.blade.php @@ -0,0 +1,64 @@ +
    +
    + @if(count($playlists) > 0) + @foreach($playlists as $playlist) + @php + $count = $playlist->episodes->count(); + @endphp +
    + @if($count > 0) + + @else + + @endif + @if($count > 0) + @php + $pe = \App\Models\PlaylistEpisode::where('playlist_id', $playlist->id)->orderBy('position', 'desc')->first(); + @endphp + Hollywood Sign on The Hill + @else + ... + @endif + +
    +
    + {{ $playlist->name }} +
    +

    + {{ $count }} Episodes - {{ $playlist->is_private == 1 ? 'Private' : 'Public' }} + @if($count > 0) + {{ __('playlist.play') }} + @endif +

    + Delete +
    +
    + @endforeach + +
    + ... +
    +

    + Create another Playlist +

    + + Create + +
    +
    + @else + +
    + ... +
    +

    + No Playlist found! +

    + + Create + +
    +
    + @endif +
    +
    \ No newline at end of file diff --git a/resources/views/profile/playlists.blade.php b/resources/views/profile/playlists.blade.php new file mode 100644 index 0000000..1d3e76f --- /dev/null +++ b/resources/views/profile/playlists.blade.php @@ -0,0 +1,25 @@ + + +@include('partials.head') + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') +
    +
    + @include('profile.partials.user-playlists') +
    +
    + @include('modals.create-playlist') +
    +
    +
    + @include('layouts.footer') +
    + + diff --git a/resources/views/profile/settings.blade.php b/resources/views/profile/settings.blade.php new file mode 100644 index 0000000..cac2e65 --- /dev/null +++ b/resources/views/profile/settings.blade.php @@ -0,0 +1,36 @@ + + +@include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') +
    +
    + @include('profile.partials.update-profile-information-form') +
    +
    + @include('profile.partials.update-blacklist-form') +
    +
    + @include('profile.partials.update-design-form') +
    +
    + @include('profile.partials.delete-user-form') +
    +
    + @vite(['resources/js/user-blacklist.js']) +
    +
    +
    + @include('layouts.footer') +
    + + + diff --git a/resources/views/profile/watched.blade.php b/resources/views/profile/watched.blade.php new file mode 100644 index 0000000..5801b0b --- /dev/null +++ b/resources/views/profile/watched.blade.php @@ -0,0 +1,20 @@ + + +@include('partials.head') + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('profile.partials.sidebar') + @livewire('watched', ['user' => $user]) +
    +
    +
    + @include('layouts.footer') +
    + + diff --git a/resources/views/search/download.blade.php b/resources/views/search/download.blade.php new file mode 100644 index 0000000..40d239a --- /dev/null +++ b/resources/views/search/download.blade.php @@ -0,0 +1,3 @@ + + @livewire('downloads') + diff --git a/resources/views/search/index.blade.php b/resources/views/search/index.blade.php new file mode 100644 index 0000000..3995a2b --- /dev/null +++ b/resources/views/search/index.blade.php @@ -0,0 +1,17 @@ + + +@include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') + @livewire('live-search') +
    + @include('layouts.footer') +
    + + + diff --git a/resources/views/series/index.blade.php b/resources/views/series/index.blade.php new file mode 100644 index 0000000..0986d93 --- /dev/null +++ b/resources/views/series/index.blade.php @@ -0,0 +1,30 @@ + + + + @include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @php $episode = $hentai->episodes[0]; @endphp +
    +
    +
    + @include('series.partials.info') + + @include('series.partials.episodes') + + @include('series.partials.comments') +
    + + @include('series.partials.popular') + +
    +
    +
    + @include('layouts.footer') +
    + + diff --git a/resources/views/series/partials/comments.blade.php b/resources/views/series/partials/comments.blade.php new file mode 100644 index 0000000..811fbd6 --- /dev/null +++ b/resources/views/series/partials/comments.blade.php @@ -0,0 +1,8 @@ +
    +
    +

    + {{ __('home.latest-comments') }} +

    + @comments(['model' => $hentai]) +
    +
    diff --git a/resources/views/series/partials/episodes.blade.php b/resources/views/series/partials/episodes.blade.php new file mode 100644 index 0000000..2cc9d9b --- /dev/null +++ b/resources/views/series/partials/episodes.blade.php @@ -0,0 +1,12 @@ +
    + + {{ __('home.episodes') }} ({{ $hentai->episodes->count() }}) + + + +
    + @foreach ($hentai->episodes as $episode) + + @endforeach +
    +
    diff --git a/resources/views/series/partials/info.blade.php b/resources/views/series/partials/info.blade.php new file mode 100644 index 0000000..107372f --- /dev/null +++ b/resources/views/series/partials/info.blade.php @@ -0,0 +1,69 @@ +
    + +
    + {{ $episode->title }} +
    + + +
    + +

    + {{ $episode->title }} ({{ $episode->title_jpn }}) +

    + +
    +

    + {{ __('stream.description') }} +

    +

    + {{ $hentai->description }} +

    +
    + +
    +
    diff --git a/resources/views/series/partials/popular.blade.php b/resources/views/series/partials/popular.blade.php new file mode 100644 index 0000000..479b11a --- /dev/null +++ b/resources/views/series/partials/popular.blade.php @@ -0,0 +1,22 @@ +
    +
    + @if (count($popularWeekly) > 0) +

    + {{ __('home.popular-weekly') }} +

    +
    +
      + @php $counter = 0; @endphp + @foreach ($popularWeekly as $pEpisode) + @php $episode = $pEpisode->episode; @endphp + @if($counter >= 8) + @continue + @endif + @include('stream.partials.episode-partial') + @php $counter += 1; @endphp + @endforeach +
    +
    + @endif +
    +
    diff --git a/resources/views/stream/index.blade.php b/resources/views/stream/index.blade.php new file mode 100644 index 0000000..89fd342 --- /dev/null +++ b/resources/views/stream/index.blade.php @@ -0,0 +1,62 @@ + + + @include('partials.head') + +
    + @include('layouts.navigation') + +
    +
    +
    + @if($episode->is_dvd_aspect) +
    + @else +
    + @endif + + @include('stream.partials.player') + + @if($isMobile) +
    + @include('stream.partials.playlist') +
    + @endif + + @include('admin.stream') + + @include('stream.partials.info') + + @include('stream.partials.comments') +
    +
    + @if(! $isMobile) + @include('stream.partials.playlist') + @endif + + @include('stream.partials.more-episodes') + @include('stream.partials.more-studio') + @include('series.partials.popular') +
    +
    +
    +
    + + @include('modals.download') + @include('modals.add-to-playlist') + @include('modals.share') + + @auth + @if(Auth::user()->is_admin) + @include('admin.modals.upload-episode') + @include('admin.modals.add-subtitles') + @include('admin.modals.edit-episode') + @endif + @endauth + + @vite(['resources/js/player.js']) +
    + @include('layouts.footer') +
    + @livewireScripts + + diff --git a/resources/views/stream/partials/comments.blade.php b/resources/views/stream/partials/comments.blade.php new file mode 100644 index 0000000..1f46bae --- /dev/null +++ b/resources/views/stream/partials/comments.blade.php @@ -0,0 +1,8 @@ +
    +
    +

    + {{ __('home.latest-comments') }} +

    + @comments(['model' => $episode]) +
    +
    diff --git a/resources/views/stream/partials/episode-partial.blade.php b/resources/views/stream/partials/episode-partial.blade.php new file mode 100644 index 0000000..68f9892 --- /dev/null +++ b/resources/views/stream/partials/episode-partial.blade.php @@ -0,0 +1,38 @@ +
  • + +
    +
    + @auth + @if ($episode->userWatched(auth()->user()->id)) +

    + {{ $episode->getResolution() }}

    +

    + {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }} +

    + @else +

    + {{ $episode->getResolution() }}

    +

    + {{ $episode->viewCountFormatted() }} {{ $episode->likeCount() }} {{ $episode->commentCount() }} +

    + @endif + @endauth + {{ $episode->title }} - {{ $episode->episode }} +
    +
    +
    +

    {{ $episode->title }} - {{ $episode->episode }}

    +
    +
    +
  • diff --git a/resources/views/stream/partials/gallery.blade.php b/resources/views/stream/partials/gallery.blade.php new file mode 100644 index 0000000..ec4f508 --- /dev/null +++ b/resources/views/stream/partials/gallery.blade.php @@ -0,0 +1,56 @@ +
    +

    + {{ __('stream.gallery') }} +

    + @if ($gallery->count() > 5) +
    +
      + @php $counter = 0; @endphp + @foreach($gallery as $image) + @php $counter++; @endphp +
    • + @if ($counter > 5) +
    • + @endforeach +
    +
    + + + @else +
    +
      + @php $counter = 0; @endphp + @foreach($gallery as $image) + @php $counter++; @endphp +
    • +
      + {{ $episode->title }} - {{ $episode->episode }} - Screenshot {{ $counter }} +
      +
    • + @endforeach +
    +
    + @endif +
    diff --git a/resources/views/stream/partials/info.blade.php b/resources/views/stream/partials/info.blade.php new file mode 100644 index 0000000..5f42323 --- /dev/null +++ b/resources/views/stream/partials/info.blade.php @@ -0,0 +1,165 @@ +
    + + + + +
    + +
    + + +
    + +
    +
    +
    + + @auth + @livewire('view-count', ['episode' => $episode]) + @livewire('like-button', ['episode' => $episode]) + @endauth + + @guest + +
    + {{ $episode->likeCount() }} +
    + @endguest + + @php $commentcount = $episode->commentCount(); @endphp + @if ($commentcount > 0) + + {{ $commentcount }} + + @else + + {{ $commentcount }} + + @endif +
    + + + + @auth + + @endauth +
    +
    +
    +
    +
    +

    + {{ __('stream.description') }} +

    +

    + {{ $episode->description }} +

    +
    +

    + {{ __('stream.genres') }} +

    + +
    +
    + @include('stream.partials.gallery') +
    +
    +
    diff --git a/resources/views/stream/partials/more-episodes.blade.php b/resources/views/stream/partials/more-episodes.blade.php new file mode 100644 index 0000000..f564045 --- /dev/null +++ b/resources/views/stream/partials/more-episodes.blade.php @@ -0,0 +1,16 @@ +@if (count($moreEpisodes) > 0) +
    +
    +

    + {{ __('stream.more-from') }} {{ $episode->title }} +

    +
    +
      + @foreach ($moreEpisodes as $episode) + @include('stream.partials.episode-partial') + @endforeach +
    +
    +
    +
    +@endif diff --git a/resources/views/stream/partials/more-studio.blade.php b/resources/views/stream/partials/more-studio.blade.php new file mode 100644 index 0000000..3cd619a --- /dev/null +++ b/resources/views/stream/partials/more-studio.blade.php @@ -0,0 +1,16 @@ +@if (count($studioEpisodes) > 0) +
    +
    +

    + {{ __('stream.more-from-studio') }} {{ $episode->studio->name }} +

    +
    +
      + @foreach ($studioEpisodes as $episode) + @include('stream.partials.episode-partial') + @endforeach +
    +
    +
    +
    +@endif diff --git a/resources/views/stream/partials/player.blade.php b/resources/views/stream/partials/player.blade.php new file mode 100644 index 0000000..bb702cb --- /dev/null +++ b/resources/views/stream/partials/player.blade.php @@ -0,0 +1,8 @@ +
    + + +
    + +
    +
    diff --git a/resources/views/stream/partials/playlist.blade.php b/resources/views/stream/partials/playlist.blade.php new file mode 100644 index 0000000..a60fd58 --- /dev/null +++ b/resources/views/stream/partials/playlist.blade.php @@ -0,0 +1,94 @@ +@isset($playlist) +
    +
    +
    +

    + @if ($playlist->is_private) + {{ $playlist->name }} + @else + {{ $playlist->name }} + @endif +

    + @php + $episodeCount = $playlistEpisodes->count(); + $currentIndex = 0; + $nextEpisode = ""; + + if ($episodeCount > 1) { + $currentIndex = $playlistEpisodes->search(fn($playlistEpisode) => $playlistEpisode->episode->id == $episode->id); + $nextEpisode = $currentIndex !== false && $currentIndex + 1 < $episodeCount + ? $playlistEpisodes[$currentIndex + 1]->episode->slug + : ""; + } + @endphp +

    + {{ $playlist->user->global_name ?? $playlist->user->username }} • {{ $currentIndex + 1 }}/{{ $episodeCount }} Episodes +

    +
    + + +
    +
    +
    + @php + $counter = 1; + $isAuthedUsersPlaylist = false; + if (auth()->check() && $playlist->user->id == auth()->user()->id) { + $isAuthedUsersPlaylist = true; + } + @endphp + @foreach($playlistEpisodes as $playlistEpisode) + @if ($playlistEpisode->episode->id == $episode->id) +
    + @else +
    + @endif +
    + @if ($playlistEpisode->episode->id == $episode->id) + + @else +

    {{ $counter }}

    + @endif +
    + + {{ $playlistEpisode->episode->title }} - {{ $playlistEpisode->episode->episode }} + +
    + +

    {{ $playlistEpisode->episode->title }} - {{ $playlistEpisode->episode->episode }}

    +
    +

    {{ $playlistEpisode->episode->viewCount() }} Views - {{ $playlistEpisode->episode->studio->name }}

    +
    + @if ($playlistEpisode->episode->id != $episode->id && $isAuthedUsersPlaylist) + @if($isMobile) +
    + +
    + @else +
    + +
    + @endif + @endif +
    + @php $counter++; @endphp + @endforeach +
    +
    +
    +
    +
    + + + + +@endisset diff --git a/resources/views/user/index.blade.php b/resources/views/user/index.blade.php new file mode 100644 index 0000000..1c5c277 --- /dev/null +++ b/resources/views/user/index.blade.php @@ -0,0 +1,24 @@ + + +@include('partials.head') + + +
    + @include('layouts.navigation') + +
    + @include('user.partials.background') +
    +
    + @include('user.partials.profile') +
    + @include('user.partials.info') +
    +
    +
    +
    + @include('layouts.footer') +
    + + + diff --git a/resources/views/user/partials/actions.blade.php b/resources/views/user/partials/actions.blade.php new file mode 100644 index 0000000..f85aad7 --- /dev/null +++ b/resources/views/user/partials/actions.blade.php @@ -0,0 +1,19 @@ +@auth +
    +
    + + Settings + +
    + @csrf + + +
    +
    +
    +@endauth diff --git a/resources/views/user/partials/background.blade.php b/resources/views/user/partials/background.blade.php new file mode 100644 index 0000000..e7a9c93 --- /dev/null +++ b/resources/views/user/partials/background.blade.php @@ -0,0 +1,35 @@ + +@php + $array = \cache()->remember('background', 300, function () { + $bg = new \App\Models\SiteBackground(); + return $bg->getImages(); + }); +@endphp + +
    + @if ($array->isNotEmpty()) + @php + $imageId = $array->random(); + @endphp + + @else + + @endif +
    diff --git a/resources/views/user/partials/info.blade.php b/resources/views/user/partials/info.blade.php new file mode 100644 index 0000000..9b7131d --- /dev/null +++ b/resources/views/user/partials/info.blade.php @@ -0,0 +1,41 @@ +
    + +
    +
    + +
    +
    + {{ number_format($user->watched->count()) }} views +
    +
    + + +
    +
    + +
    +
    + {{ number_format($user->commentCount()) }} comments +
    +
    + + +
    +
    + +
    +
    + {{ number_format($user->likes()) }} likes +
    +
    + + +
    +
    + +
    +
    + {{ number_format($user->playlists->count()) }} playlists +
    +
    +
    \ No newline at end of file diff --git a/resources/views/user/partials/profile.blade.php b/resources/views/user/partials/profile.blade.php new file mode 100644 index 0000000..c90ba50 --- /dev/null +++ b/resources/views/user/partials/profile.blade.php @@ -0,0 +1,20 @@ +
    + @if($user->avatar) + + @else + + @endif +
    + + {{ $user->global_name ?? $user->username }} + @if ($user->is_patreon) + + @endif + + Joined + {{ $user->created_at->format('Y-m') }} +
    +
    diff --git a/resources/views/vendor/comments/_comment.blade.php b/resources/views/vendor/comments/_comment.blade.php new file mode 100644 index 0000000..3ffcbe0 --- /dev/null +++ b/resources/views/vendor/comments/_comment.blade.php @@ -0,0 +1,91 @@ +@inject('markdown', 'Parsedown') +@php + // TODO: There should be a better place for this. + $markdown->setSafeMode(true); +@endphp + + +
    + + + @if($comment->commenter->avatar) + {{ $comment->commenter->global_name ?? $comment->commenter->username }} Avatar + @else + {{ $comment->commenter->global_name ?? $comment->commenter->username }} Avatar + @endif + + +
    + + @if($comment->commenter->is_patreon) +
    {{ $comment->commenter->global_name ?? $comment->commenter->username }} - {{ $comment->created_at->diffForHumans() }}
    + @else +
    {{ $comment->commenter->global_name ?? $comment->commenter->username }} - {{ $comment->created_at->diffForHumans() }}
    + @endif + +
    {!! $markdown->line($comment->comment) !!}
    + + @if (! Illuminate\Support\Facades\Route::is('profile.comments')) +
    + @can('reply-to-comment', $comment) + + @endcan + @can('edit-comment', $comment) + + @endcan + @can('delete-comment', $comment) + @lang('comments::comments.delete') + + @endcan +
    + @endif + + + @can('edit-comment', $comment) + @include('modals.comment-edit') + @endcan + + @can('reply-to-comment', $comment) + @include('modals.comment-reply') + @endcan + +
    {{-- Margin bottom --}} + + + + {{-- Recursion for children --}} + @if($grouped_comments->has($comment->getKey()) && $indentationLevel <= $maxIndentationLevel) + {{-- TODO: Don't repeat code. Extract to a new file and include it. --}} + @foreach($grouped_comments[$comment->getKey()] as $child) +
    +
    + @include('comments::_comment', [ + 'comment' => $child, + 'grouped_comments' => $grouped_comments + ]) +
    + @endforeach + @endif + +
    +
    + +{{-- Recursion for children --}} +@if($grouped_comments->has($comment->getKey()) && $indentationLevel > $maxIndentationLevel) + {{-- TODO: Don't repeat code. Extract to a new file and include it. --}} + @foreach($grouped_comments[$comment->getKey()] as $child) + @include('comments::_comment', [ + 'comment' => $child, + 'grouped_comments' => $grouped_comments + ]) + @endforeach +@endif diff --git a/resources/views/vendor/comments/_form.blade.php b/resources/views/vendor/comments/_form.blade.php new file mode 100644 index 0000000..ecb7536 --- /dev/null +++ b/resources/views/vendor/comments/_form.blade.php @@ -0,0 +1,30 @@ + +
    + @if($errors->has('commentable_type')) + + @endif + @if($errors->has('commentable_id')) + + @endif +
    + @csrf + @honeypot + + + +
    + + +
    + + + @lang('comments::comments.submit') + +
    +
    + +
    diff --git a/resources/views/vendor/comments/components/comments.blade.php b/resources/views/vendor/comments/components/comments.blade.php new file mode 100644 index 0000000..d02a0e0 --- /dev/null +++ b/resources/views/vendor/comments/components/comments.blade.php @@ -0,0 +1,80 @@ +@php + if (isset($approved) and $approved == true) { + $comments = $model->approvedComments; + } else { + $comments = $model->comments; + } +@endphp + +@if($comments->count() < 1) +
    @lang('comments::comments.there_are_no_comments')
    +@endif + +
    + @php + $comments = $comments->sortByDesc('created_at'); + + if (isset($perPage)) { + $page = request()->query('page', 1) - 1; + + $parentComments = $comments->where('child_id', ''); + + $slicedParentComments = $parentComments->slice($page * $perPage, $perPage); + + $m = Config::get('comments.model'); // This has to be done like this, otherwise it will complain. + $modelKeyName = (new $m)->getKeyName(); // This defaults to 'id' if not changed. + + $slicedParentCommentsIds = $slicedParentComments->pluck($modelKeyName)->toArray(); + + // Remove parent Comments from comments. + $comments = $comments->where('child_id', '!=', ''); + + $grouped_comments = new \Illuminate\Pagination\LengthAwarePaginator( + $slicedParentComments->merge($comments)->groupBy('child_id'), + $parentComments->count(), + $perPage + ); + + $grouped_comments->withPath(request()->url()); + } else { + $grouped_comments = $comments->groupBy('child_id'); + } + @endphp + @foreach($grouped_comments as $comment_id => $comments) + {{-- Process parent nodes --}} + @if($comment_id == '') + @foreach($comments as $comment) + @include('comments::_comment', [ + 'comment' => $comment, + 'grouped_comments' => $grouped_comments, + 'maxIndentationLevel' => $maxIndentationLevel ?? 3 + ]) + @endforeach + @endif + @endforeach +
    + +@isset ($perPage) + {{ $grouped_comments->links() }} +@endisset + +@if ((! Illuminate\Support\Facades\Route::is('profile.comments')) && (! Illuminate\Support\Facades\Route::is('home.index'))) + @auth + @include('comments::_form') + @elseif(Config::get('comments.guest_commenting') == true) + @include('comments::_form', [ + 'guest_commenting' => true + ]) + @else +
    +
    +
    @lang('comments::comments.authentication_required')
    +

    @lang('comments::comments.you_must_login_to_post_a_comment')

    +
    + + Login + +
    +
    + @endauth +@endif diff --git a/resources/views/vendor/pagination/tailwind.blade.php b/resources/views/vendor/pagination/tailwind.blade.php new file mode 100644 index 0000000..7e9c4ff --- /dev/null +++ b/resources/views/vendor/pagination/tailwind.blade.php @@ -0,0 +1,110 @@ +@if ($paginator->hasPages()) + +@endif diff --git a/resources/views/vendor/sweetalert/alert.blade.php b/resources/views/vendor/sweetalert/alert.blade.php new file mode 100644 index 0000000..9b3ae48 --- /dev/null +++ b/resources/views/vendor/sweetalert/alert.blade.php @@ -0,0 +1,44 @@ +@if (config('sweetalert.alwaysLoadJS') === true || Session::has('alert.config') || Session::has('alert.delete')) + @if (config('sweetalert.animation.enable')) + + @endif + + @if (config('sweetalert.theme') != 'default') + + @endif + + @if (config('sweetalert.neverLoadJS') === false) + + @endif + + @if (Session::has('alert.delete') || Session::has('alert.config')) + + @endif +@endif diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 0000000..132a795 --- /dev/null +++ b/routes/api.php @@ -0,0 +1,21 @@ +get('/user', function (Request $request) { +// return $request->user(); +//}); + + diff --git a/routes/channels.php b/routes/channels.php new file mode 100644 index 0000000..5d451e1 --- /dev/null +++ b/routes/channels.php @@ -0,0 +1,18 @@ +id === (int) $id; +}); diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..e05f4c9 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,19 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..3d67879 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,133 @@ +name('home.index'); +Route::get('/stats', [HomeController::class, 'stats'])->name('home.stats'); +Route::get('/banned', [HomeController::class, 'banned'])->name('home.banned'); + +// Stream Page +Route::get('/hentai/{title}', [StreamController::class, 'index'])->name('hentai.index'); +Route::post('/player/api', [StreamApiController::class, 'getStream'])->name('hentai.player'); + +// Search +Route::get('/search', [HomeController::class, 'search'])->name('hentai.search'); +Route::post('/search', [HomeController::class, 'searchRedirect'])->name('hentai.searchredirect'); + +// Contact Form +Route::get('/contact', [ContactController::class, 'index'])->name('contact.index'); +Route::post('/contact', [ContactController::class, 'store'])->name('contact.store'); + +// Public Playlistts +Route::get('/playlists', [PlaylistController::class, 'index'])->name('playlist.index'); +Route::get('/playlist/{playlist_id}', [PlaylistController::class, 'show'])->name('playlist.show'); + +// Captcha Reload +Route::get('/reload-captcha', [ContactController::class, 'reloadCaptcha']); + +// Download +Route::post('/get-download', [DownloadApiController::class, 'getDownload']); + +Route::post('/update-language', [HomeController::class, 'updateLanguage'])->name('update.language'); + +// User Routes +Route::middleware('auth')->group(function () { + Route::get('/user/profile', [ProfileController::class, 'index'])->name('profile.show'); + Route::get('/user/comments', [ProfileController::class, 'comments'])->name('profile.comments'); + Route::get('/user/likes', [ProfileController::class, 'likes'])->name('profile.likes'); + Route::get('/user/watched', [ProfileController::class, 'watched'])->name('user.watched'); + + // Notifications + Route::get('/user/notifications', [App\Http\Controllers\NotificationController::class, 'index'])->name('profile.notifications'); + Route::delete('/user/notifications', [App\Http\Controllers\NotificationController::class, 'delete'])->name('profile.notifications.delete'); + + Route::get('/user/settings', [ProfileController::class, 'settings'])->name('profile.settings'); + Route::post('/user/settings', [ProfileController::class, 'saveSettings'])->name('profile.settings.save'); + Route::get('/user/blacklist', [UserApiController::class, 'getBlacklist'])->name('profile.blacklist'); + Route::post('/user/blacklist', [ProfileController::class, 'saveBlacklist'])->name('profile.blacklist.save'); + + Route::post('/user/delete', [UserController::class, 'delete'])->name('profile.delete'); + + // Playlist Routes for User Page + Route::get('/user/playlists', [PlaylistController::class, 'playlists'])->name('profile.playlists'); + Route::get('/user/playlist/{playlist_id}', [PlaylistController::class, 'showPlaylist'])->name('profile.playlist.show'); + Route::post('/create-playlist', [PlaylistController::class, 'createPlaylist'])->name('profile.playlists.create'); + Route::delete('/user/playlist/{playlist_id}', [PlaylistController::class, 'deletePlaylist'])->name('profile.playlist.delete'); + Route::post('/user/playlist-episode', [PlaylistController::class, 'deleteEpisodeFromPlaylist'])->name('playlist.delete.episode'); + + // Playlist Routes for Modals on Stream Page + Route::post('/hentai/add-to-playlist', [PlaylistController::class, 'addPlaylistApi'])->name('hentai.playlists.add'); + Route::post('/hentai/create-playlist', [PlaylistController::class, 'createPlaylistApi'])->name('hentai.playlists.create'); + + // Download Page + Route::get('/download-search', [HomeController::class, 'downloadSearch'])->name('download.search'); +}); + +Route::get('/user/{username}', [UserController::class, 'index'])->name('user.index'); + +/* +|--------------------------------------------------------------------------------- +| Admin Pages +|--------------------------------------------------------------------------------- +*/ +Route::group(['middleware' => ['auth', 'auth.admin']], function () { + // Site alerts + Route::get('/admin/alert', [App\Http\Controllers\Admin\AlertController::class, 'index'])->name('admin.alert.index'); + Route::post('/admin/alert', [App\Http\Controllers\Admin\AlertController::class, 'store'])->name('admin.alert.create'); + Route::delete('/admin/alert/{alert_id}', [App\Http\Controllers\Admin\AlertController::class, 'delete'])->name('admin.alert.delete'); + + // Users + Route::get('/admin/users', [App\Http\Controllers\Admin\UserController::class, 'index'])->name('admin.user.index'); + Route::post('/admin/users', [App\Http\Controllers\Admin\UserController::class, 'update'])->name('admin.user.update'); + + // Contact page overview + Route::get('/admin/contact', [App\Http\Controllers\Admin\ContactController::class, 'index'])->name('admin.contact.index'); + Route::delete('/admin/contact/{contact_id}', [App\Http\Controllers\Admin\ContactController::class, 'delete'])->name('admin.contact.delete'); + + // Site background settings + Route::get('/admin/background', [App\Http\Controllers\Admin\SiteBackgroundController::class, 'index'])->name('admin.background.index'); + Route::post('/admin/background', [App\Http\Controllers\Admin\SiteBackgroundController::class, 'create'])->name('admin.background.create'); + Route::put('/admin/background', [App\Http\Controllers\Admin\SiteBackgroundController::class, 'update'])->name('admin.background.update'); + Route::delete('/admin/background', [App\Http\Controllers\Admin\SiteBackgroundController::class, 'delete'])->name('admin.background.delete'); + + // Release + Route::get('/admin/release', [App\Http\Controllers\Admin\ReleaseController::class, 'index'])->name('admin.upload.index'); + Route::post('/admin/release/upload', [App\Http\Controllers\Admin\ReleaseController::class, 'store'])->name('admin.upload'); + + // Episode + Route::post('/admin/episode/upload', [App\Http\Controllers\Admin\EpisodeController::class, 'store'])->name('admin.upload.episode'); + Route::post('/admin/episode/edit', [App\Http\Controllers\Admin\EpisodeController::class, 'update'])->name('admin.edit'); + + // Get Tags used for Upload Form + Route::get('/admin/tags', [AdminApiController::class, 'getTags'])->name('admin.tags'); + Route::get('/admin/studios', [AdminApiController::class, 'getStudios'])->name('admin.studios'); + + // Get Tags for editing Episode + Route::get('/admin/tags/{episode_id}', [AdminApiController::class, 'getEpisodeTags'])->name('admin.tags.episode'); + Route::get('/admin/studio/{episode_id}', [AdminApiController::class, 'getEpisodeStudio'])->name('admin.studio.episode'); + + // Torrents + Route::get('/admin/add-torrent/{hentai_id}', [App\Http\Controllers\Admin\TorrentController::class, 'index'])->name('admin.add.torrentpage'); + Route::post('/admin/add-torrent', [App\Http\Controllers\Admin\TorrentController::class, 'store'])->name('admin.add.torrent'); + + // Subtitles + Route::get('/admin/subtitles/{episode_id}', [AdminApiController::class, 'getSubtitles'])->name('admin.subtitles'); + Route::post('/admin/add-new-subtitle', [App\Http\Controllers\Admin\SubtitleController::class, 'store'])->name('admin.add.new.subtitle'); + Route::post('/admin/update-subtitles', [App\Http\Controllers\Admin\SubtitleController::class, 'update'])->name('admin.update.subtitles'); +}); diff --git a/storage/app/.gitignore b/storage/app/.gitignore new file mode 100644 index 0000000..8f4803c --- /dev/null +++ b/storage/app/.gitignore @@ -0,0 +1,3 @@ +* +!public/ +!.gitignore diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/app/public/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/debugbar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore new file mode 100644 index 0000000..05c4471 --- /dev/null +++ b/storage/framework/.gitignore @@ -0,0 +1,9 @@ +compiled.php +config.php +down +events.scanned.php +maintenance.php +routes.php +routes.scanned.php +schedule-* +services.json diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore new file mode 100644 index 0000000..01e4a6c --- /dev/null +++ b/storage/framework/cache/.gitignore @@ -0,0 +1,3 @@ +* +!data/ +!.gitignore diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/cache/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/testing/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..50c815a --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,24 @@ +import defaultTheme from 'tailwindcss/defaultTheme'; +import forms from '@tailwindcss/forms'; + +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', + './storage/framework/views/*.php', + './resources/views/**/*.blade.php', + "./node_modules/tw-elements/dist/js/**/*.js", + ], + + darkMode: 'class', + + theme: { + extend: { + fontFamily: { + sans: ['Figtree', ...defaultTheme.fontFamily.sans], + }, + }, + }, + + plugins: [forms, require("tw-elements/dist/plugin")], +}; diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php new file mode 100644 index 0000000..cc68301 --- /dev/null +++ b/tests/CreatesApplication.php @@ -0,0 +1,21 @@ +make(Kernel::class)->bootstrap(); + + return $app; + } +} diff --git a/tests/Feature/GalleryServiceTest.php b/tests/Feature/GalleryServiceTest.php new file mode 100644 index 0000000..8af7974 --- /dev/null +++ b/tests/Feature/GalleryServiceTest.php @@ -0,0 +1,62 @@ +galleryService = new GalleryService(); + } + + public function test_create_or_update_gallery() + { + // Fake the storage disk + Storage::fake('public'); + + // Create a Hentai and Episode instance + $hentai = Hentai::factory()->create(); + $studio = Studios::factory()->create(); + $episode = Episode::factory()->create(['hentai_id' => $hentai->id, 'studios_id' => $studio->id]); + + // Create a fake image file + $file = UploadedFile::fake()->image('test_image.jpg'); + + // Create a request with the fake file + $request = new \Illuminate\Http\Request(); + $request->files->add(['episodegallery1' => [$file]]); + + // Call the method to test + $this->galleryService->createOrUpdateGallery($request, $hentai, $episode, $episode->episode, true); + + $imageURL = "/images/hentai/{$hentai->slug}/gallery-ep-{$episode->episode}-0.webp"; + $thumbnailURL = "/images/hentai/{$hentai->slug}/gallery-ep-{$episode->episode}-0-thumbnail.webp"; + + // Assert that the gallery was created + $this->assertDatabaseHas('gallery', [ + 'hentai_id' => $hentai->id, + 'episode_id' => $episode->id, + 'image_url' => $imageURL, + 'thumbnail_url' => $thumbnailURL, + ]); + + // Assert that the image and thumbnail were saved + $this->assertTrue(Storage::disk('public')->exists($imageURL)); + $this->assertTrue(Storage::disk('public')->exists($thumbnailURL)); + } +} \ No newline at end of file diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 0000000..2932d4a --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +} diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..f00e775 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,36 @@ +import { vite as vidstack } from 'vidstack/plugins'; +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; +import { viteStaticCopy } from 'vite-plugin-static-copy'; + +export default defineConfig({ + plugins: [ + vidstack(), + laravel({ + input: [ + 'resources/css/app.css', + 'resources/js/app.js', + 'resources/js/modals-playlist.js', + 'resources/js/theme.js', + 'resources/js/player-mobile.js', + 'resources/js/player-data.js', + 'resources/js/player.js', + 'resources/js/playlist.js', + 'resources/js/upload.js', + 'resources/js/user-blacklist.js', + 'resources/js/admin-edit.js', + 'resources/js/admin-subtitles.js', + 'resources/js/preview.js' + ], + refresh: true, + }), + viteStaticCopy({ + targets: [ + { + src: 'node_modules/@jellyfin/libass-wasm/dist/js/*', + dest: 'js' + }, + ] + }) + ], +});