diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 35b25a4..4ea3b29 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -19,12 +19,11 @@ class Kernel extends ConsoleKernel protected function schedule(Schedule $schedule) { $schedule->call(function () { - $url_to_crawl = UrlToCrawl::where('is_crawling', false)->inRandomOrder()->first(); + $url_to_crawl = UrlToCrawl::where('is_crawling', false)->inRandomOrder()->first(); - if (!is_null($url_to_crawl)) - { - GetUrlBodyJob::dispatch($url_to_crawl->id)->onQueue('default')->onConnection('default'); - } + if (! is_null($url_to_crawl)) { + GetUrlBodyJob::dispatch($url_to_crawl->id)->onQueue('default')->onConnection('default'); + } })->everyTenMinutes()->name('parse-url-every-10m'); } diff --git a/app/Helpers/FirstParty/Cached/Cached.php b/app/Helpers/FirstParty/Cached/Cached.php index 8eb5101..08c3ece 100644 --- a/app/Helpers/FirstParty/Cached/Cached.php +++ b/app/Helpers/FirstParty/Cached/Cached.php @@ -10,9 +10,10 @@ class Cached public static function tools_count() { $seconds_to_remember = 599; + // Retrieve the count from the cache or count and store it if not present - return Cache::remember('tools_count_' . $seconds_to_remember, $seconds_to_remember, function () { - return AiTool::where('status','live')->count(); + return Cache::remember('tools_count_'.$seconds_to_remember, $seconds_to_remember, function () { + return AiTool::where('status', 'live')->count(); }); } -} \ No newline at end of file +} diff --git a/app/Helpers/Global/helpers.php b/app/Helpers/Global/helpers.php index 34f95f9..d2f36a3 100644 --- a/app/Helpers/Global/helpers.php +++ b/app/Helpers/Global/helpers.php @@ -4,3 +4,4 @@ require 'geo_helper.php'; require 'proxy_helper.php'; require 'route_helper.php'; +require 'platform_helper.php'; diff --git a/app/Helpers/Global/platform_helper.php b/app/Helpers/Global/platform_helper.php new file mode 100644 index 0000000..54e1e88 --- /dev/null +++ b/app/Helpers/Global/platform_helper.php @@ -0,0 +1,21 @@ +where('category_id', $category->id); }) - ->where('status','live') + ->where('status', 'live') ->whereNotNull('screenshot_img') ->orderBy('updated_at', 'DESC')->paginate(6); diff --git a/app/Http/Controllers/Front/FrontHomeController.php b/app/Http/Controllers/Front/FrontHomeController.php index fc57401..bc5a6e1 100644 --- a/app/Http/Controllers/Front/FrontHomeController.php +++ b/app/Http/Controllers/Front/FrontHomeController.php @@ -16,9 +16,9 @@ public function index(Request $request) { $tools_count_rounded = round_to_nearest_base(Cached::tools_count()); - $latest_ai_tools = AiTool::where('status','live')->whereNotNull('screenshot_img')->take(12)->orderBy('created_at', 'DESC')->get(); + $latest_ai_tools = AiTool::where('status', 'live')->whereNotNull('screenshot_img')->take(12)->orderBy('created_at', 'DESC')->get(); - return view('front.home', compact('latest_ai_tools','tools_count_rounded')); + return view('front.home', compact('latest_ai_tools', 'tools_count_rounded')); } public function terms(Request $request) diff --git a/app/Http/Controllers/Front/FrontSubmitToolController.php b/app/Http/Controllers/Front/FrontSubmitToolController.php new file mode 100644 index 0000000..83e0a04 --- /dev/null +++ b/app/Http/Controllers/Front/FrontSubmitToolController.php @@ -0,0 +1,97 @@ +count(); + + $max_submissions = 2000; + + $submissions_left = $max_submissions - $submitted_tool_count; + + return view('front.submit_tool_free', compact('submitted_tool_count', 'submissions_left', 'max_submissions')); + } + + public function post(Request $request) + { + $submitted_tool_count = SubmitTool::whereIn('status', ['initial', 'queued_for_crawl', 'crawled'])->count(); + + $max_submissions = 2000; + + $submissions_left = $max_submissions - $submitted_tool_count; + + $submited_url = rtrim(trim($request->input('submitted_url')), '/\\'); + + if ($submissions_left <= 0) { + return redirect()->back()->withInput()->with('error', (object) ['timeout' => 5000, 'message' => 'Unfortunately, all submission slots have been filled. Please check try again later to see if there are any slots released from rejected submissions.']); + } + + if (filter_var($submited_url, FILTER_VALIDATE_URL) === false) { + return redirect()->back()->withInput()->with('error', (object) ['timeout' => 5000, 'message' => 'Submitted URL is in invalid URL format. Please check your inputs and try again.']); + } + + $submit_tool = SubmitTool::where('submitted_url', $submited_url)->first(); + + if (! is_null($submit_tool)) { + return redirect()->back()->withInput()->with('error', (object) ['timeout' => 5000, 'message' => 'You have submitted this URL before. Submission ignored.']); + } + + $ignore_url_keywords = ['play.google.com', 'apps.apple.com', 'https://chromewebstore.google.com']; + + $is_store_url = false; + + foreach ($ignore_url_keywords as $keyword) { + if (str_contains($submited_url, $keyword)) { + $is_store_url = true; + break; + } + } + + $url_to_crawl = null; + + if ($is_store_url) { + $url_to_crawl = UrlToCrawl::where('url', $submited_url)->first(); + } else { + $domain = get_domain_from_url($submited_url); + $url_to_crawl = UrlToCrawl::where('domain', $domain)->first(); + } + + if (! is_null($url_to_crawl)) { + return redirect()->back()->withInput()->with('success', (object) ['timeout' => 5000, 'message' => 'Our AI crawler has already identified & pre-approved your submission. It has been scheduled for live submission and should appear in our pages soon.']); + } + + $submit_tool = new SubmitTool; + $submit_tool->submitted_url = $request->input('submitted_url'); + $submit_tool->email = $request->input('email'); + $submit_tool->social = $request->input('social'); + $submit_tool->social_type = $request->input('social_type'); + $submit_tool->source_type = $request->input('source_type'); + $submit_tool->source = $request->input('source'); + $submit_tool->comments = $request->input('comments'); + + if ($submit_tool->save()) { + $submitted_tool_count = SubmitTool::whereIn('status', ['initial', 'queued_for_crawl', 'crawled'])->count(); + + $telegram_ids = get_notification_user_ids(); + + foreach ($telegram_ids as $telegram_id) { + Notification::route(get_notification_channel(), $telegram_id)->notify(new AiToolSubmitted($submit_tool)); + } + + return redirect()->back()->withInput()->with('success', (object) ['timeout' => 5000, 'message' => 'AI tool submittted successfully! You are #'.$submitted_tool_count.' in submission list.']); + } + + return redirect()->back()->withInput()->with('error', (object) ['timeout' => 5000, 'message' => 'Something went wrong. Please try again later.']); + + } +} diff --git a/app/Http/Controllers/Front/FrontToolController.php b/app/Http/Controllers/Front/FrontToolController.php index 438bf94..b9baa4b 100644 --- a/app/Http/Controllers/Front/FrontToolController.php +++ b/app/Http/Controllers/Front/FrontToolController.php @@ -13,7 +13,7 @@ class FrontToolController extends Controller { public function show(Request $request, $ai_tool_slug) { - $ai_tool = AiTool::where('slug', $ai_tool_slug)->where('status','live')->first(); + $ai_tool = AiTool::where('slug', $ai_tool_slug)->where('status', 'live')->first(); if (is_null($ai_tool)) { return abort(404); @@ -74,8 +74,8 @@ public function show(Request $request, $ai_tool_slug) $faq_context = Context::create(FAQPage::class, $faqData); - SEOTools::setTitle($ai_tool->tool_name . ": ". $ai_tool->tagline, false); - SEOTools::setDescription(implode(" ",str_extract_sentences($ai_tool->summary, 2))); + SEOTools::setTitle($ai_tool->tool_name.': '.$ai_tool->tagline, false); + SEOTools::setDescription(implode(' ', str_extract_sentences($ai_tool->summary, 2))); SEOTools::metatags(); SEOTools::twitter()->addImage($ai_tool->screenshot_img); SEOTools::opengraph()->addImage($ai_tool->screenshot_img); diff --git a/app/Jobs/Tasks/GetAIToolScreenshotTask.php b/app/Jobs/Tasks/GetAIToolScreenshotTask.php index 3284d28..bfed5b5 100644 --- a/app/Jobs/Tasks/GetAIToolScreenshotTask.php +++ b/app/Jobs/Tasks/GetAIToolScreenshotTask.php @@ -73,9 +73,8 @@ public static function handle($url_to_crawl_id, $ai_tool_id) } if ($ai_tool->isDirty()) { - if($ai_tool->save()) - { - PublishIndexPostJob::dispatch($ai_tool->id)->onQueue('default')->onConnection('default'); + if ($ai_tool->save()) { + PublishIndexPostJob::dispatch($ai_tool->id)->onQueue('default')->onConnection('default'); } } diff --git a/app/Jobs/Tasks/GetUrlBodyTask.php b/app/Jobs/Tasks/GetUrlBodyTask.php index 650ff50..bb7f0d9 100644 --- a/app/Jobs/Tasks/GetUrlBodyTask.php +++ b/app/Jobs/Tasks/GetUrlBodyTask.php @@ -33,7 +33,6 @@ public static function handle(int $url_to_crawl_id) $url_to_crawl->save(); $url_to_crawl->refresh(); - // try { $user_agent = config('platform.proxy.user_agent'); @@ -71,10 +70,8 @@ public static function handle(int $url_to_crawl_id) // //throw $e; // } - $markdown_output = self::getMarkdownFromHtml($raw_html); - if (! is_empty($markdown_output)) { $url_to_crawl->output_type = 'markdown'; $url_to_crawl->output = $markdown_output; diff --git a/app/Jobs/Tasks/ParseUrlBodyTask.php b/app/Jobs/Tasks/ParseUrlBodyTask.php index be7fbd6..21eacf0 100644 --- a/app/Jobs/Tasks/ParseUrlBodyTask.php +++ b/app/Jobs/Tasks/ParseUrlBodyTask.php @@ -5,7 +5,6 @@ use App\Helpers\FirstParty\OpenAI\OpenAI; use App\Jobs\GetAIToolScreenshotJob; use App\Jobs\GetUrlBodyJob; -use App\Jobs\ParseUrlBodyJob; use App\Jobs\StoreSearchEmbeddingJob; use App\Models\AiTool; use App\Models\AiToolKeyword; @@ -32,15 +31,15 @@ public static function handle(int $url_to_crawl_id) if (is_empty($url_to_crawl->output)) { GetUrlBodyJob::dispatch($url_to_crawl->id)->onQueue('default')->onConnection('default'); - return ; + + return; } - if (count_words($url_to_crawl->output) < 120) - { - $url_to_crawl->status = 'blocked'; - $url_to_crawl->save(); + if (count_words($url_to_crawl->output) < 120) { + $url_to_crawl->status = 'blocked'; + $url_to_crawl->save(); - return ; + return; } $url_meta_response = null; diff --git a/app/Jobs/Tasks/PublishIndexPostTask.php b/app/Jobs/Tasks/PublishIndexPostTask.php index dbfd480..2da238a 100644 --- a/app/Jobs/Tasks/PublishIndexPostTask.php +++ b/app/Jobs/Tasks/PublishIndexPostTask.php @@ -3,9 +3,7 @@ namespace App\Jobs\Tasks; use App\Models\AiTool; -use App\Notifications\PostWasPublished; use Exception; -use Illuminate\Support\Facades\Notification; use LaravelFreelancerNL\LaravelIndexNow\Facades\IndexNow; use LaravelGoogleIndexing; @@ -19,27 +17,23 @@ public static function handle(int $ai_tool_id) return; } - if (!$ai_tool->is_ai_tool) - { - return ; + if (! $ai_tool->is_ai_tool) { + return; } + if ((app()->environment() == 'production') && (config('platform.general.indexing'))) { + $ai_tool_url = route('front.aitool.show', ['ai_tool_slug' => $ai_tool->slug]); + try { + IndexNow::submit($ai_tool_url); + } catch (Exception) { + } - if ((app()->environment() == 'production') && (config('platform.general.indexing'))) { - $ai_tool_url = route('front.aitool.show', ['ai_tool_slug' => $ai_tool->slug]); + try { + LaravelGoogleIndexing::create()->update($ai_tool_url); + } catch (Exception) { + } - try { - IndexNow::submit($ai_tool_url); - } catch (Exception) { - } - - try { - LaravelGoogleIndexing::create()->update($ai_tool_url); - } catch (Exception) { - } - - } + } } - } diff --git a/app/Models/SubmitTool.php b/app/Models/SubmitTool.php new file mode 100644 index 0000000..6436cd3 --- /dev/null +++ b/app/Models/SubmitTool.php @@ -0,0 +1,45 @@ +submit_tool = $submit_tool; + } + + /** + * Get the notification's delivery channels. + * + * @return array + */ + public function via(object $notifiable): array + { + return ['telegram']; + } + + public function toTelegram($notifiable) + { + return TelegramMessage::create() + ->content("*AI Tool Submitted*:\nURL: ".$this->submit_tool->submitted_url."\nBy: ".$this->submit_tool->social.' in '.$this->submit_tool->social_type."\nEmail: ".$this->submit_tool->email."\nFound us from: ".$this->submit_tool->source.' from '.$this->submit_tool->source_type."\n\nComments: ".$this->submit_tool->comments); + } +} diff --git a/app/View/Composers/StatsComposer.php b/app/View/Composers/StatsComposer.php index ec1bf6d..80ade19 100644 --- a/app/View/Composers/StatsComposer.php +++ b/app/View/Composers/StatsComposer.php @@ -3,8 +3,6 @@ namespace App\View\Composers; use App\Helpers\FirstParty\Cached\Cached; -use App\Models\AiTool; -use Illuminate\Support\Facades\Cache; use Illuminate\View\View; class StatsComposer diff --git a/composer.json b/composer.json index 5802b41..09a0648 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "intervention/image": "^2.7", "kalnoy/nestedset": "^6.0", "laravel-freelancer-nl/laravel-index-now": "^1.2", + "laravel-notification-channels/telegram": "^4.0", "laravel/framework": "^10.10", "laravel/horizon": "^5.21", "laravel/sanctum": "^3.2", diff --git a/composer.lock b/composer.lock index 110bfd2..7c113cf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "63a6e2f82f8bc123bd492a8a3c168cda", + "content-hash": "5cf22553f6396a0cd2d2eec26316490a", "packages": [ { "name": "alaminfirdows/laravel-editorjs", @@ -2531,6 +2531,79 @@ ], "time": "2023-02-17T14:44:51+00:00" }, + { + "name": "laravel-notification-channels/telegram", + "version": "4.0.0", + "source": { + "type": "git", + "url": "https://github.com/laravel-notification-channels/telegram.git", + "reference": "c67b312193fcd59c8abad1ee1f5b1f4e5540c201" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel-notification-channels/telegram/zipball/c67b312193fcd59c8abad1ee1f5b1f4e5540c201", + "reference": "c67b312193fcd59c8abad1ee1f5b1f4e5540c201", + "shasum": "" + }, + "require": { + "ext-json": "*", + "guzzlehttp/guzzle": "^7.2", + "illuminate/contracts": "^10.0", + "illuminate/notifications": "^10.0", + "illuminate/support": "^10.0", + "php": "^8.1" + }, + "require-dev": { + "mockery/mockery": "^1.4.4", + "nunomaduro/larastan": "^2.4", + "orchestra/testbench": "^8.0", + "pestphp/pest": "^1.22", + "pestphp/pest-plugin-laravel": "^1.4", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.10" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NotificationChannels\\Telegram\\TelegramServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "NotificationChannels\\Telegram\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Irfaq Syed", + "email": "github@lukonet.net", + "homepage": "https://lukonet.com", + "role": "Developer" + } + ], + "description": "Telegram Notifications Channel for Laravel", + "homepage": "https://github.com/laravel-notification-channels/telegram", + "keywords": [ + "laravel", + "notification", + "telegram", + "telegram notification", + "telegram notifications channel" + ], + "support": { + "issues": "https://github.com/laravel-notification-channels/telegram/issues", + "source": "https://github.com/laravel-notification-channels/telegram/tree/4.0.0" + }, + "time": "2023-02-14T18:21:03+00:00" + }, { "name": "laravel/framework", "version": "v10.33.0", diff --git a/config/services.php b/config/services.php index 0ace530..81627cb 100644 --- a/config/services.php +++ b/config/services.php @@ -31,4 +31,8 @@ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), ], + 'telegram-bot-api' => [ + 'token' => env('TELEGRAM_BOT_TOKEN', 'YOUR BOT TOKEN HERE'), + ], + ]; diff --git a/database/migrations/2023_11_28_094624_add_fields_to_ai_tools_table.php b/database/migrations/2023_11_28_094624_add_fields_to_ai_tools_table.php index a767352..6dc763b 100644 --- a/database/migrations/2023_11_28_094624_add_fields_to_ai_tools_table.php +++ b/database/migrations/2023_11_28_094624_add_fields_to_ai_tools_table.php @@ -12,11 +12,11 @@ public function up(): void { Schema::table('ai_tools', function (Blueprint $table) { - $table->string('priority')->default('default'); - $table->enum('status',['live','trashed','blocked'])->default('live'); + $table->string('priority')->default('default'); + $table->enum('status', ['live', 'trashed', 'blocked'])->default('live'); - $table->index('priority'); - $table->index('status'); + $table->index('priority'); + $table->index('status'); }); } @@ -26,8 +26,8 @@ public function up(): void public function down(): void { Schema::table('ai_tools', function (Blueprint $table) { - $table->dropColumn('priority'); - $table->dropColumn('status'); + $table->dropColumn('priority'); + $table->dropColumn('status'); }); } }; diff --git a/database/migrations/2023_11_29_043747_add_crawl_counts_to_url_to_crawls_table.php b/database/migrations/2023_11_29_043747_add_crawl_counts_to_url_to_crawls_table.php index 55988f6..889c8c2 100644 --- a/database/migrations/2023_11_29_043747_add_crawl_counts_to_url_to_crawls_table.php +++ b/database/migrations/2023_11_29_043747_add_crawl_counts_to_url_to_crawls_table.php @@ -12,7 +12,7 @@ public function up(): void { Schema::table('url_to_crawls', function (Blueprint $table) { - $table->integer('crawl_counts')->default(0); + $table->integer('crawl_counts')->default(0); }); } diff --git a/database/migrations/2023_11_29_054535_create_submit_tools_table.php b/database/migrations/2023_11_29_054535_create_submit_tools_table.php new file mode 100644 index 0000000..5d4e55b --- /dev/null +++ b/database/migrations/2023_11_29_054535_create_submit_tools_table.php @@ -0,0 +1,49 @@ +id(); + + $table->enum('submit_type', ['free', 'paid'])->default('free'); + + $table->mediumText('submitted_url'); + + $table->string('email'); + + $table->string('social')->nullable(); + + $table->string('social_type')->nullable(); + + $table->mediumText('source')->nullable(); + + $table->string('source_type')->nullable(); + + $table->mediumText('comments')->nullable(); + + $table->enum('status', ['initial', 'queued_for_crawl', 'crawled', 'rejected'])->default('initial'); + + $table->enum('queue_priority', ['default', 'high_priority'])->default('default'); + + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('submit_tools'); + } +}; diff --git a/public/build/assets/GetEmbedCode-51a0da35.js b/public/build/assets/GetEmbedCode-1d44bdf3.js similarity index 90% rename from public/build/assets/GetEmbedCode-51a0da35.js rename to public/build/assets/GetEmbedCode-1d44bdf3.js index e795ea2..0aa5202 100644 --- a/public/build/assets/GetEmbedCode-51a0da35.js +++ b/public/build/assets/GetEmbedCode-1d44bdf3.js @@ -1 +1 @@ -import{_ as a,l as r,c as n,a as t,o as c}from"./app-front-ae9fe805.js";const m={name:"GetEmbedCode",mixins:[],components:{},props:["url","name"],data:()=>({imgSrc:"https://cdn.aibuddytool.com/featured-on-aibuddytool-1-1000.webp",showToast:!1}),computed:{embedCode(){return"'+this.name+''}},methods:{getEmbedCode(){const e=document.createElement("textarea");e.value=this.embedCode,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r("Copied! Paste the HTML embed code at the bottom of your business website footer.",{position:"bottom-center",type:"success",timeout:3e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:!0,icon:!0,rtl:!1})}},mounted(){}},u={class:"d-grid gap-2 mx-auto",style:{width:"250px"}},i=["src"];function l(e,o,b,p,h,s){return c(),n("div",null,[t("div",u,[t("img",{style:{width:"250px",height:"auto"},src:e.imgSrc,alt:"Featured banner"},null,8,i),t("button",{onClick:o[0]||(o[0]=(...d)=>s.getEmbedCode&&s.getEmbedCode(...d)),class:"btn btn-sm btn-outline-primary px-3"}," Get HTML embed code ")])])}const f=a(m,[["render",l]]);export{f as default}; +import{_ as a,l as r,c as n,a as t,o as c}from"./app-front-d6902e40.js";const m={name:"GetEmbedCode",mixins:[],components:{},props:["url","name"],data:()=>({imgSrc:"https://cdn.aibuddytool.com/featured-on-aibuddytool-1-1000.webp",showToast:!1}),computed:{embedCode(){return"'+this.name+''}},methods:{getEmbedCode(){const e=document.createElement("textarea");e.value=this.embedCode,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r("Copied! Paste the HTML embed code at the bottom of your business website footer.",{position:"bottom-center",type:"success",timeout:3e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:!0,icon:!0,rtl:!1})}},mounted(){}},u={class:"d-grid gap-2 mx-auto",style:{width:"250px"}},i=["src"];function l(e,o,b,p,h,s){return c(),n("div",null,[t("div",u,[t("img",{style:{width:"250px",height:"auto"},src:e.imgSrc,alt:"Featured banner"},null,8,i),t("button",{onClick:o[0]||(o[0]=(...d)=>s.getEmbedCode&&s.getEmbedCode(...d)),class:"btn btn-sm btn-outline-primary px-3"}," Get HTML embed code ")])])}const f=a(m,[["render",l]]);export{f as default}; diff --git a/public/build/assets/GetEmbedCode-1d44bdf3.js.gz b/public/build/assets/GetEmbedCode-1d44bdf3.js.gz new file mode 100644 index 0000000..7817211 Binary files /dev/null and b/public/build/assets/GetEmbedCode-1d44bdf3.js.gz differ diff --git a/public/build/assets/GetEmbedCode-51a0da35.js.gz b/public/build/assets/GetEmbedCode-51a0da35.js.gz deleted file mode 100644 index ec4919f..0000000 Binary files a/public/build/assets/GetEmbedCode-51a0da35.js.gz and /dev/null differ diff --git a/public/build/assets/GetEmbedCode-767c2709.js b/public/build/assets/GetEmbedCode-767c2709.js deleted file mode 100644 index 82a814a..0000000 --- a/public/build/assets/GetEmbedCode-767c2709.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as a,l as r,c as n,a as t,o as c}from"./app-front-32dad050.js";const m={name:"GetEmbedCode",mixins:[],components:{},props:["url","name"],data:()=>({imgSrc:"https://cdn.aibuddytool.com/featured-on-aibuddytool-1-1000.webp",showToast:!1}),computed:{embedCode(){return"'+this.name+''}},methods:{getEmbedCode(){const e=document.createElement("textarea");e.value=this.embedCode,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r("Copied! Paste the HTML embed code at the bottom of your business website footer.",{position:"bottom-center",type:"success",timeout:3e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:!0,icon:!0,rtl:!1})}},mounted(){}},u={class:"d-grid gap-2 mx-auto",style:{width:"250px"}},i=["src"];function l(e,o,b,p,h,s){return c(),n("div",null,[t("div",u,[t("img",{style:{width:"250px",height:"auto"},src:e.imgSrc,alt:"Featured banner"},null,8,i),t("button",{onClick:o[0]||(o[0]=(...d)=>s.getEmbedCode&&s.getEmbedCode(...d)),class:"btn btn-sm btn-outline-primary px-3"}," Get HTML embed code ")])])}const f=a(m,[["render",l]]);export{f as default}; diff --git a/public/build/assets/GetEmbedCode-767c2709.js.gz b/public/build/assets/GetEmbedCode-767c2709.js.gz deleted file mode 100644 index b1b4eb9..0000000 Binary files a/public/build/assets/GetEmbedCode-767c2709.js.gz and /dev/null differ diff --git a/public/build/assets/NativeImageBlock-27e6a028.js.gz b/public/build/assets/NativeImageBlock-27e6a028.js.gz deleted file mode 100644 index 0ea82be..0000000 Binary files a/public/build/assets/NativeImageBlock-27e6a028.js.gz and /dev/null differ diff --git a/public/build/assets/NativeImageBlock-27e6a028.js b/public/build/assets/NativeImageBlock-3623204f.js similarity index 99% rename from public/build/assets/NativeImageBlock-27e6a028.js rename to public/build/assets/NativeImageBlock-3623204f.js index bcf14c2..9b49c10 100644 --- a/public/build/assets/NativeImageBlock-27e6a028.js +++ b/public/build/assets/NativeImageBlock-3623204f.js @@ -1 +1 @@ -import{Z as _,_ as y,b,c as g,a as c,H as w,J as $,o as f,$ as S,a0 as I}from"./app-front-ae9fe805.js";var m=_();class p{constructor(e,t,r){this.name=e,this.definition=t,this.bindings=t.bindings??{},this.wheres=t.wheres??{},this.config=r}get template(){return`${this.origin}/${this.definition.uri}`.replace(/\/+$/,"")}get origin(){return this.config.absolute?this.definition.domain?`${this.config.url.match(/^\w+:\/\//)[0]}${this.definition.domain}${this.config.port?`:${this.config.port}`:""}`:this.config.url:""}get parameterSegments(){var e;return((e=this.template.match(/{[^}?]+\??}/g))==null?void 0:e.map(t=>({name:t.replace(/{|\??}/g,""),required:!/\?}$/.test(t)})))??[]}matchesUrl(e){if(!this.definition.methods.includes("GET"))return!1;const t=this.template.replace(/(\/?){([^}?]*)(\??)}/g,(n,l,u,h)=>{var d;const a=`(?<${u}>${((d=this.wheres[u])==null?void 0:d.replace(/(^\^)|(\$$)/g,""))||"[^/?]+"})`;return h?`(${l}${a})?`:`${l}${a}`}).replace(/^\w+:\/\//,""),[r,s]=e.replace(/^\w+:\/\//,"").split("?"),i=new RegExp(`^${t}/?$`).exec(r);if(i){for(const n in i.groups)i.groups[n]=typeof i.groups[n]=="string"?decodeURIComponent(i.groups[n]):i.groups[n];return{params:i.groups,query:m.parse(s)}}return!1}compile(e){const t=this.parameterSegments;return t.length?this.template.replace(/{([^}?]+)(\??)}/g,(r,s,i)=>{if(!i&&[null,void 0].includes(e[s]))throw new Error(`Ziggy error: '${s}' parameter is required for route '${this.name}'.`);if(this.wheres[s]){if(!new RegExp(`^${i?`(${this.wheres[s]})?`:this.wheres[s]}$`).test(e[s]??""))throw new Error(`Ziggy error: '${s}' parameter does not match required format '${this.wheres[s]}' for route '${this.name}'.`);if(t[t.length-1].name===s)return encodeURIComponent(e[s]??"").replace(/%2F/g,"/")}return encodeURIComponent(e[s]??"")}).replace(`${this.origin}//`,`${this.origin}/`).replace(/\/+$/,""):this.template}}class v extends String{constructor(e,t,r=!0,s){if(super(),this._config=s??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),this._config={...this._config,absolute:r},e){if(!this._config.routes[e])throw new Error(`Ziggy error: route '${e}' is not in the route list.`);this._route=new p(e,this._config.routes[e],this._config),this._params=this._parse(t)}}toString(){const e=Object.keys(this._params).filter(t=>!this._route.parameterSegments.some(({name:r})=>r===t)).filter(t=>t!=="_query").reduce((t,r)=>({...t,[r]:this._params[r]}),{});return this._route.compile(this._params)+m.stringify({...e,...this._params._query},{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:(t,r)=>typeof t=="boolean"?Number(t):r(t)})}_unresolve(e){e?this._config.absolute&&e.startsWith("/")&&(e=this._location().host+e):e=this._currentUrl();let t={};const[r,s]=Object.entries(this._config.routes).find(([i,n])=>t=new p(i,n,this._config).matchesUrl(e))||[void 0,void 0];return{name:r,...t,route:s}}_currentUrl(){const{host:e,pathname:t,search:r}=this._location();return(this._config.absolute?e+t:t.replace(this._config.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+r}current(e,t){const{name:r,params:s,query:i,route:n}=this._unresolve();if(!e)return r;const l=new RegExp(`^${e.replace(/\./g,"\\.").replace(/\*/g,".*")}$`).test(r);if([null,void 0].includes(t)||!l)return l;const u=new p(r,n,this._config);t=this._parse(t,u);const h={...s,...i};return Object.values(t).every(a=>!a)&&!Object.values(h).some(a=>a!==void 0)?!0:Object.entries(t).every(([a,d])=>h[a]==d)}_location(){var s,i,n;const{host:e="",pathname:t="",search:r=""}=typeof window<"u"?window.location:{};return{host:((s=this._config.location)==null?void 0:s.host)??e,pathname:((i=this._config.location)==null?void 0:i.pathname)??t,search:((n=this._config.location)==null?void 0:n.search)??r}}get params(){const{params:e,query:t}=this._unresolve();return{...e,...t}}has(e){return Object.keys(this._config.routes).includes(e)}_parse(e={},t=this._route){e??(e={}),e=["string","number"].includes(typeof e)?[e]:e;const r=t.parameterSegments.filter(({name:s})=>!this._config.defaults[s]);return Array.isArray(e)?e=e.reduce((s,i,n)=>r[n]?{...s,[r[n].name]:i}:typeof i=="object"?{...s,...i}:{...s,[i]:""},{}):r.length===1&&!e[r[0].name]&&(e.hasOwnProperty(Object.values(t.bindings)[0])||e.hasOwnProperty("id"))&&(e={[r[0].name]:e}),{...this._defaults(t),...this._substituteBindings(e,t)}}_defaults(e){return e.parameterSegments.filter(({name:t})=>this._config.defaults[t]).reduce((t,{name:r},s)=>({...t,[r]:this._config.defaults[r]}),{})}_substituteBindings(e,{bindings:t,parameterSegments:r}){return Object.entries(e).reduce((s,[i,n])=>{if(!n||typeof n!="object"||Array.isArray(n)||!r.some(({name:l})=>l===i))return{...s,[i]:n};if(!n.hasOwnProperty(t[i]))if(n.hasOwnProperty("id"))t[i]="id";else throw new Error(`Ziggy error: object passed as '${i}' parameter is missing route model binding key '${t[i]}'.`);return{...s,[i]:n[t[i]]}},{})}valueOf(){return this.toString()}check(e){return this.has(e)}}function x(o,e,t,r){const s=new v(o,e,t,r);return o?s.toString():s}const O={name:"NativeImageBlock",props:{inputImage:{type:String,default:null}},data:()=>({isLoaded:!1,isUploading:!1,imgSrc:null,placeholderSrc:"https://placekitten.com/g/2100/900"}),computed:{getButtonName(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?"Change featured image":"Upload featured image"},getBlurPx(){return this.imgSrc?0:12},bgStyle(){return{backgroundImage:`url(${this.getImgSrc})`,backgroundPosition:"center",backgroundSize:"cover",filter:`blur(${this.getBlurPx}px)`,webkitFilter:`blur(${this.getBlurPx}px)`}},getImgSrc(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?this.imgSrc:this.placeholderSrc}},methods:{openFileInput(){this.$refs.fileInput.click()},handleFileChange(o){const e=o.target.files[0];e&&this.uploadImage(e)},uploadImage(o){this.isUploading=!0;const e=new FormData;e.append("file",o),e.append("forceSize","true"),b.post(x("api.admin.upload.cloud.image"),e,{headers:{"Content-Type":"multipart/form-data"}}).then(t=>{t.data.success===1&&t.data.file&&t.data.file.url?(this.imgSrc=t.data.file.url,this.$emit("saved",t.data.file.url)):console.error("Image upload failed. Invalid response format.")}).catch(t=>{console.error("Image upload failed:",t.response)}).finally(()=>{this.isUploading=!1})},setInputImage(){var o;this.inputImage!=null&&((o=this.inputImage)==null?void 0:o.length)>0&&(this.imgSrc=this.inputImage),this.isLoaded=!0}},mounted(){this.isUploading=!1,setTimeout((function(){this.setInputImage(),this.isLoaded=!0}).bind(this),3e3)}},j=o=>(S("data-v-d3857a0e"),o=o(),I(),o),k={class:"card"},B={class:"card-body ratio ratio-21x9 bg-dark overflow-hidden"},P={class:"position-absolute w-100 h-100 d-flex justify-content-center text-center"},U={key:0,class:"align-self-center"},q=j(()=>c("div",{class:"spinner-border text-light",role:"status"},[c("span",{class:"visually-hidden"},"Loading...")],-1)),C=[q],E={key:1,class:"align-self-center"};function F(o,e,t,r,s,i){return f(),g("div",null,[c("div",k,[c("div",B,[c("div",{class:"d-flex justify-content-center text-center rounded-2",style:w(i.bgStyle)},null,4),c("div",P,[o.isUploading||!o.isLoaded?(f(),g("div",U,C)):(f(),g("div",E,[c("input",{type:"file",onChange:e[0]||(e[0]=(...n)=>i.handleFileChange&&i.handleFileChange(...n)),accept:"image/*",ref:"fileInput",style:{display:"none"}},null,544),c("button",{class:"btn btn-primary",onClick:e[1]||(e[1]=(...n)=>i.openFileInput&&i.openFileInput(...n))},$(i.getButtonName),1)]))])])])])}const N=y(O,[["render",F],["__scopeId","data-v-d3857a0e"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));export{Z as N,N as _,x as r}; +import{Z as _,_ as y,b,c as g,a as c,H as w,J as $,o as f,$ as S,a0 as I}from"./app-front-d6902e40.js";var m=_();class p{constructor(e,t,r){this.name=e,this.definition=t,this.bindings=t.bindings??{},this.wheres=t.wheres??{},this.config=r}get template(){return`${this.origin}/${this.definition.uri}`.replace(/\/+$/,"")}get origin(){return this.config.absolute?this.definition.domain?`${this.config.url.match(/^\w+:\/\//)[0]}${this.definition.domain}${this.config.port?`:${this.config.port}`:""}`:this.config.url:""}get parameterSegments(){var e;return((e=this.template.match(/{[^}?]+\??}/g))==null?void 0:e.map(t=>({name:t.replace(/{|\??}/g,""),required:!/\?}$/.test(t)})))??[]}matchesUrl(e){if(!this.definition.methods.includes("GET"))return!1;const t=this.template.replace(/(\/?){([^}?]*)(\??)}/g,(n,l,u,h)=>{var d;const a=`(?<${u}>${((d=this.wheres[u])==null?void 0:d.replace(/(^\^)|(\$$)/g,""))||"[^/?]+"})`;return h?`(${l}${a})?`:`${l}${a}`}).replace(/^\w+:\/\//,""),[r,s]=e.replace(/^\w+:\/\//,"").split("?"),i=new RegExp(`^${t}/?$`).exec(r);if(i){for(const n in i.groups)i.groups[n]=typeof i.groups[n]=="string"?decodeURIComponent(i.groups[n]):i.groups[n];return{params:i.groups,query:m.parse(s)}}return!1}compile(e){const t=this.parameterSegments;return t.length?this.template.replace(/{([^}?]+)(\??)}/g,(r,s,i)=>{if(!i&&[null,void 0].includes(e[s]))throw new Error(`Ziggy error: '${s}' parameter is required for route '${this.name}'.`);if(this.wheres[s]){if(!new RegExp(`^${i?`(${this.wheres[s]})?`:this.wheres[s]}$`).test(e[s]??""))throw new Error(`Ziggy error: '${s}' parameter does not match required format '${this.wheres[s]}' for route '${this.name}'.`);if(t[t.length-1].name===s)return encodeURIComponent(e[s]??"").replace(/%2F/g,"/")}return encodeURIComponent(e[s]??"")}).replace(`${this.origin}//`,`${this.origin}/`).replace(/\/+$/,""):this.template}}class v extends String{constructor(e,t,r=!0,s){if(super(),this._config=s??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),this._config={...this._config,absolute:r},e){if(!this._config.routes[e])throw new Error(`Ziggy error: route '${e}' is not in the route list.`);this._route=new p(e,this._config.routes[e],this._config),this._params=this._parse(t)}}toString(){const e=Object.keys(this._params).filter(t=>!this._route.parameterSegments.some(({name:r})=>r===t)).filter(t=>t!=="_query").reduce((t,r)=>({...t,[r]:this._params[r]}),{});return this._route.compile(this._params)+m.stringify({...e,...this._params._query},{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:(t,r)=>typeof t=="boolean"?Number(t):r(t)})}_unresolve(e){e?this._config.absolute&&e.startsWith("/")&&(e=this._location().host+e):e=this._currentUrl();let t={};const[r,s]=Object.entries(this._config.routes).find(([i,n])=>t=new p(i,n,this._config).matchesUrl(e))||[void 0,void 0];return{name:r,...t,route:s}}_currentUrl(){const{host:e,pathname:t,search:r}=this._location();return(this._config.absolute?e+t:t.replace(this._config.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+r}current(e,t){const{name:r,params:s,query:i,route:n}=this._unresolve();if(!e)return r;const l=new RegExp(`^${e.replace(/\./g,"\\.").replace(/\*/g,".*")}$`).test(r);if([null,void 0].includes(t)||!l)return l;const u=new p(r,n,this._config);t=this._parse(t,u);const h={...s,...i};return Object.values(t).every(a=>!a)&&!Object.values(h).some(a=>a!==void 0)?!0:Object.entries(t).every(([a,d])=>h[a]==d)}_location(){var s,i,n;const{host:e="",pathname:t="",search:r=""}=typeof window<"u"?window.location:{};return{host:((s=this._config.location)==null?void 0:s.host)??e,pathname:((i=this._config.location)==null?void 0:i.pathname)??t,search:((n=this._config.location)==null?void 0:n.search)??r}}get params(){const{params:e,query:t}=this._unresolve();return{...e,...t}}has(e){return Object.keys(this._config.routes).includes(e)}_parse(e={},t=this._route){e??(e={}),e=["string","number"].includes(typeof e)?[e]:e;const r=t.parameterSegments.filter(({name:s})=>!this._config.defaults[s]);return Array.isArray(e)?e=e.reduce((s,i,n)=>r[n]?{...s,[r[n].name]:i}:typeof i=="object"?{...s,...i}:{...s,[i]:""},{}):r.length===1&&!e[r[0].name]&&(e.hasOwnProperty(Object.values(t.bindings)[0])||e.hasOwnProperty("id"))&&(e={[r[0].name]:e}),{...this._defaults(t),...this._substituteBindings(e,t)}}_defaults(e){return e.parameterSegments.filter(({name:t})=>this._config.defaults[t]).reduce((t,{name:r},s)=>({...t,[r]:this._config.defaults[r]}),{})}_substituteBindings(e,{bindings:t,parameterSegments:r}){return Object.entries(e).reduce((s,[i,n])=>{if(!n||typeof n!="object"||Array.isArray(n)||!r.some(({name:l})=>l===i))return{...s,[i]:n};if(!n.hasOwnProperty(t[i]))if(n.hasOwnProperty("id"))t[i]="id";else throw new Error(`Ziggy error: object passed as '${i}' parameter is missing route model binding key '${t[i]}'.`);return{...s,[i]:n[t[i]]}},{})}valueOf(){return this.toString()}check(e){return this.has(e)}}function x(o,e,t,r){const s=new v(o,e,t,r);return o?s.toString():s}const O={name:"NativeImageBlock",props:{inputImage:{type:String,default:null}},data:()=>({isLoaded:!1,isUploading:!1,imgSrc:null,placeholderSrc:"https://placekitten.com/g/2100/900"}),computed:{getButtonName(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?"Change featured image":"Upload featured image"},getBlurPx(){return this.imgSrc?0:12},bgStyle(){return{backgroundImage:`url(${this.getImgSrc})`,backgroundPosition:"center",backgroundSize:"cover",filter:`blur(${this.getBlurPx}px)`,webkitFilter:`blur(${this.getBlurPx}px)`}},getImgSrc(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?this.imgSrc:this.placeholderSrc}},methods:{openFileInput(){this.$refs.fileInput.click()},handleFileChange(o){const e=o.target.files[0];e&&this.uploadImage(e)},uploadImage(o){this.isUploading=!0;const e=new FormData;e.append("file",o),e.append("forceSize","true"),b.post(x("api.admin.upload.cloud.image"),e,{headers:{"Content-Type":"multipart/form-data"}}).then(t=>{t.data.success===1&&t.data.file&&t.data.file.url?(this.imgSrc=t.data.file.url,this.$emit("saved",t.data.file.url)):console.error("Image upload failed. Invalid response format.")}).catch(t=>{console.error("Image upload failed:",t.response)}).finally(()=>{this.isUploading=!1})},setInputImage(){var o;this.inputImage!=null&&((o=this.inputImage)==null?void 0:o.length)>0&&(this.imgSrc=this.inputImage),this.isLoaded=!0}},mounted(){this.isUploading=!1,setTimeout((function(){this.setInputImage(),this.isLoaded=!0}).bind(this),3e3)}},j=o=>(S("data-v-d3857a0e"),o=o(),I(),o),k={class:"card"},B={class:"card-body ratio ratio-21x9 bg-dark overflow-hidden"},P={class:"position-absolute w-100 h-100 d-flex justify-content-center text-center"},U={key:0,class:"align-self-center"},q=j(()=>c("div",{class:"spinner-border text-light",role:"status"},[c("span",{class:"visually-hidden"},"Loading...")],-1)),C=[q],E={key:1,class:"align-self-center"};function F(o,e,t,r,s,i){return f(),g("div",null,[c("div",k,[c("div",B,[c("div",{class:"d-flex justify-content-center text-center rounded-2",style:w(i.bgStyle)},null,4),c("div",P,[o.isUploading||!o.isLoaded?(f(),g("div",U,C)):(f(),g("div",E,[c("input",{type:"file",onChange:e[0]||(e[0]=(...n)=>i.handleFileChange&&i.handleFileChange(...n)),accept:"image/*",ref:"fileInput",style:{display:"none"}},null,544),c("button",{class:"btn btn-primary",onClick:e[1]||(e[1]=(...n)=>i.openFileInput&&i.openFileInput(...n))},$(i.getButtonName),1)]))])])])])}const N=y(O,[["render",F],["__scopeId","data-v-d3857a0e"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));export{Z as N,N as _,x as r}; diff --git a/public/build/assets/NativeImageBlock-3623204f.js.gz b/public/build/assets/NativeImageBlock-3623204f.js.gz new file mode 100644 index 0000000..f86fdeb Binary files /dev/null and b/public/build/assets/NativeImageBlock-3623204f.js.gz differ diff --git a/public/build/assets/NativeImageBlock-a8b03c38.js b/public/build/assets/NativeImageBlock-a8b03c38.js deleted file mode 100644 index 8296d2f..0000000 --- a/public/build/assets/NativeImageBlock-a8b03c38.js +++ /dev/null @@ -1 +0,0 @@ -import{Z as _,_ as y,b,c as g,a as c,H as w,J as $,o as f,$ as S,a0 as I}from"./app-front-32dad050.js";var m=_();class p{constructor(e,t,r){this.name=e,this.definition=t,this.bindings=t.bindings??{},this.wheres=t.wheres??{},this.config=r}get template(){return`${this.origin}/${this.definition.uri}`.replace(/\/+$/,"")}get origin(){return this.config.absolute?this.definition.domain?`${this.config.url.match(/^\w+:\/\//)[0]}${this.definition.domain}${this.config.port?`:${this.config.port}`:""}`:this.config.url:""}get parameterSegments(){var e;return((e=this.template.match(/{[^}?]+\??}/g))==null?void 0:e.map(t=>({name:t.replace(/{|\??}/g,""),required:!/\?}$/.test(t)})))??[]}matchesUrl(e){if(!this.definition.methods.includes("GET"))return!1;const t=this.template.replace(/(\/?){([^}?]*)(\??)}/g,(n,l,u,h)=>{var d;const a=`(?<${u}>${((d=this.wheres[u])==null?void 0:d.replace(/(^\^)|(\$$)/g,""))||"[^/?]+"})`;return h?`(${l}${a})?`:`${l}${a}`}).replace(/^\w+:\/\//,""),[r,s]=e.replace(/^\w+:\/\//,"").split("?"),i=new RegExp(`^${t}/?$`).exec(r);if(i){for(const n in i.groups)i.groups[n]=typeof i.groups[n]=="string"?decodeURIComponent(i.groups[n]):i.groups[n];return{params:i.groups,query:m.parse(s)}}return!1}compile(e){const t=this.parameterSegments;return t.length?this.template.replace(/{([^}?]+)(\??)}/g,(r,s,i)=>{if(!i&&[null,void 0].includes(e[s]))throw new Error(`Ziggy error: '${s}' parameter is required for route '${this.name}'.`);if(this.wheres[s]){if(!new RegExp(`^${i?`(${this.wheres[s]})?`:this.wheres[s]}$`).test(e[s]??""))throw new Error(`Ziggy error: '${s}' parameter does not match required format '${this.wheres[s]}' for route '${this.name}'.`);if(t[t.length-1].name===s)return encodeURIComponent(e[s]??"").replace(/%2F/g,"/")}return encodeURIComponent(e[s]??"")}).replace(`${this.origin}//`,`${this.origin}/`).replace(/\/+$/,""):this.template}}class v extends String{constructor(e,t,r=!0,s){if(super(),this._config=s??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),this._config={...this._config,absolute:r},e){if(!this._config.routes[e])throw new Error(`Ziggy error: route '${e}' is not in the route list.`);this._route=new p(e,this._config.routes[e],this._config),this._params=this._parse(t)}}toString(){const e=Object.keys(this._params).filter(t=>!this._route.parameterSegments.some(({name:r})=>r===t)).filter(t=>t!=="_query").reduce((t,r)=>({...t,[r]:this._params[r]}),{});return this._route.compile(this._params)+m.stringify({...e,...this._params._query},{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:(t,r)=>typeof t=="boolean"?Number(t):r(t)})}_unresolve(e){e?this._config.absolute&&e.startsWith("/")&&(e=this._location().host+e):e=this._currentUrl();let t={};const[r,s]=Object.entries(this._config.routes).find(([i,n])=>t=new p(i,n,this._config).matchesUrl(e))||[void 0,void 0];return{name:r,...t,route:s}}_currentUrl(){const{host:e,pathname:t,search:r}=this._location();return(this._config.absolute?e+t:t.replace(this._config.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+r}current(e,t){const{name:r,params:s,query:i,route:n}=this._unresolve();if(!e)return r;const l=new RegExp(`^${e.replace(/\./g,"\\.").replace(/\*/g,".*")}$`).test(r);if([null,void 0].includes(t)||!l)return l;const u=new p(r,n,this._config);t=this._parse(t,u);const h={...s,...i};return Object.values(t).every(a=>!a)&&!Object.values(h).some(a=>a!==void 0)?!0:Object.entries(t).every(([a,d])=>h[a]==d)}_location(){var s,i,n;const{host:e="",pathname:t="",search:r=""}=typeof window<"u"?window.location:{};return{host:((s=this._config.location)==null?void 0:s.host)??e,pathname:((i=this._config.location)==null?void 0:i.pathname)??t,search:((n=this._config.location)==null?void 0:n.search)??r}}get params(){const{params:e,query:t}=this._unresolve();return{...e,...t}}has(e){return Object.keys(this._config.routes).includes(e)}_parse(e={},t=this._route){e??(e={}),e=["string","number"].includes(typeof e)?[e]:e;const r=t.parameterSegments.filter(({name:s})=>!this._config.defaults[s]);return Array.isArray(e)?e=e.reduce((s,i,n)=>r[n]?{...s,[r[n].name]:i}:typeof i=="object"?{...s,...i}:{...s,[i]:""},{}):r.length===1&&!e[r[0].name]&&(e.hasOwnProperty(Object.values(t.bindings)[0])||e.hasOwnProperty("id"))&&(e={[r[0].name]:e}),{...this._defaults(t),...this._substituteBindings(e,t)}}_defaults(e){return e.parameterSegments.filter(({name:t})=>this._config.defaults[t]).reduce((t,{name:r},s)=>({...t,[r]:this._config.defaults[r]}),{})}_substituteBindings(e,{bindings:t,parameterSegments:r}){return Object.entries(e).reduce((s,[i,n])=>{if(!n||typeof n!="object"||Array.isArray(n)||!r.some(({name:l})=>l===i))return{...s,[i]:n};if(!n.hasOwnProperty(t[i]))if(n.hasOwnProperty("id"))t[i]="id";else throw new Error(`Ziggy error: object passed as '${i}' parameter is missing route model binding key '${t[i]}'.`);return{...s,[i]:n[t[i]]}},{})}valueOf(){return this.toString()}check(e){return this.has(e)}}function x(o,e,t,r){const s=new v(o,e,t,r);return o?s.toString():s}const O={name:"NativeImageBlock",props:{inputImage:{type:String,default:null}},data:()=>({isLoaded:!1,isUploading:!1,imgSrc:null,placeholderSrc:"https://placekitten.com/g/2100/900"}),computed:{getButtonName(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?"Change featured image":"Upload featured image"},getBlurPx(){return this.imgSrc?0:12},bgStyle(){return{backgroundImage:`url(${this.getImgSrc})`,backgroundPosition:"center",backgroundSize:"cover",filter:`blur(${this.getBlurPx}px)`,webkitFilter:`blur(${this.getBlurPx}px)`}},getImgSrc(){var o;return this.imgSrc!=null&&((o=this.imgSrc)==null?void 0:o.length)>0?this.imgSrc:this.placeholderSrc}},methods:{openFileInput(){this.$refs.fileInput.click()},handleFileChange(o){const e=o.target.files[0];e&&this.uploadImage(e)},uploadImage(o){this.isUploading=!0;const e=new FormData;e.append("file",o),e.append("forceSize","true"),b.post(x("api.admin.upload.cloud.image"),e,{headers:{"Content-Type":"multipart/form-data"}}).then(t=>{t.data.success===1&&t.data.file&&t.data.file.url?(this.imgSrc=t.data.file.url,this.$emit("saved",t.data.file.url)):console.error("Image upload failed. Invalid response format.")}).catch(t=>{console.error("Image upload failed:",t.response)}).finally(()=>{this.isUploading=!1})},setInputImage(){var o;this.inputImage!=null&&((o=this.inputImage)==null?void 0:o.length)>0&&(this.imgSrc=this.inputImage),this.isLoaded=!0}},mounted(){this.isUploading=!1,setTimeout((function(){this.setInputImage(),this.isLoaded=!0}).bind(this),3e3)}},j=o=>(S("data-v-d3857a0e"),o=o(),I(),o),k={class:"card"},B={class:"card-body ratio ratio-21x9 bg-dark overflow-hidden"},P={class:"position-absolute w-100 h-100 d-flex justify-content-center text-center"},U={key:0,class:"align-self-center"},q=j(()=>c("div",{class:"spinner-border text-light",role:"status"},[c("span",{class:"visually-hidden"},"Loading...")],-1)),C=[q],E={key:1,class:"align-self-center"};function F(o,e,t,r,s,i){return f(),g("div",null,[c("div",k,[c("div",B,[c("div",{class:"d-flex justify-content-center text-center rounded-2",style:w(i.bgStyle)},null,4),c("div",P,[o.isUploading||!o.isLoaded?(f(),g("div",U,C)):(f(),g("div",E,[c("input",{type:"file",onChange:e[0]||(e[0]=(...n)=>i.handleFileChange&&i.handleFileChange(...n)),accept:"image/*",ref:"fileInput",style:{display:"none"}},null,544),c("button",{class:"btn btn-primary",onClick:e[1]||(e[1]=(...n)=>i.openFileInput&&i.openFileInput(...n))},$(i.getButtonName),1)]))])])])])}const N=y(O,[["render",F],["__scopeId","data-v-d3857a0e"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));export{Z as N,N as _,x as r}; diff --git a/public/build/assets/NativeImageBlock-a8b03c38.js.gz b/public/build/assets/NativeImageBlock-a8b03c38.js.gz deleted file mode 100644 index af88809..0000000 Binary files a/public/build/assets/NativeImageBlock-a8b03c38.js.gz and /dev/null differ diff --git a/public/build/assets/PostEditor-86a4f765.js b/public/build/assets/PostEditor-3a06f7cf.js similarity index 99% rename from public/build/assets/PostEditor-86a4f765.js rename to public/build/assets/PostEditor-3a06f7cf.js index ce8f96b..506912c 100644 --- a/public/build/assets/PostEditor-86a4f765.js +++ b/public/build/assets/PostEditor-3a06f7cf.js @@ -1,4 +1,4 @@ -import Qn from"./VueEditorJs-bbb0be71.js";import{r as Ft,_ as Mr}from"./NativeImageBlock-a8b03c38.js";import{L as hn}from"./bundle-c20bcf97.js";import{H as yn}from"./bundle-72871e75.js";import{g as Cr,d as Pr,b as ua,r as zt,e as ne,f as vt,u as nn,t as da,h as ct,i as rn,w as Nt,j as Z,o as R,c as Q,k as _t,m as nt,n as Fe,p as _e,q as ie,s as ze,v as ft,x as j,y as Qe,z as gn,A as Pe,B as G,C as Gn,T as Sr,D as Ce,E as he,a as J,F as ot,G as we,H as It,I as rt,J as Ve,K as Zt,L as At,M as yt,N as wa,O as Or,P as Nr,Q as Ar,_ as $r,R as Ir,S as Er,U as Yr,V as Ia,W as Ur,X as Lr,Y as wn}from"./app-front-32dad050.js";var Xn={exports:{}};/*! +import Qn from"./VueEditorJs-c40f6d08.js";import{r as Ft,_ as Mr}from"./NativeImageBlock-3623204f.js";import{L as hn}from"./bundle-f4b2cd77.js";import{H as yn}from"./bundle-7ca97fea.js";import{g as Cr,d as Pr,b as ua,r as zt,e as ne,f as vt,u as nn,t as da,h as ct,i as rn,w as Nt,j as Z,o as R,c as Q,k as _t,m as nt,n as Fe,p as _e,q as ie,s as ze,v as ft,x as j,y as Qe,z as gn,A as Pe,B as G,C as Gn,T as Sr,D as Ce,E as he,a as J,F as ot,G as we,H as It,I as rt,J as Ve,K as Zt,L as At,M as yt,N as wa,O as Or,P as Nr,Q as Ar,_ as $r,R as Ir,S as Er,U as Yr,V as Ia,W as Ur,X as Lr,Y as wn}from"./app-front-d6902e40.js";var Xn={exports:{}};/*! * Image tool * * @version 2.8.1 diff --git a/public/build/assets/PostEditor-3a06f7cf.js.gz b/public/build/assets/PostEditor-3a06f7cf.js.gz new file mode 100644 index 0000000..21ced36 Binary files /dev/null and b/public/build/assets/PostEditor-3a06f7cf.js.gz differ diff --git a/public/build/assets/PostEditor-86a4f765.js.gz b/public/build/assets/PostEditor-86a4f765.js.gz deleted file mode 100644 index 7c100ad..0000000 Binary files a/public/build/assets/PostEditor-86a4f765.js.gz and /dev/null differ diff --git a/public/build/assets/PostEditor-e2c0e1b1.js b/public/build/assets/PostEditor-e2c0e1b1.js deleted file mode 100644 index 92e14cb..0000000 --- a/public/build/assets/PostEditor-e2c0e1b1.js +++ /dev/null @@ -1,182 +0,0 @@ -import Qn from"./VueEditorJs-4c208fc9.js";import{r as Ft,_ as Mr}from"./NativeImageBlock-27e6a028.js";import{L as hn}from"./bundle-2f2c1632.js";import{H as yn}from"./bundle-8efc010f.js";import{g as Cr,d as Pr,b as ua,r as zt,e as ne,f as vt,u as nn,t as da,h as ct,i as rn,w as Nt,j as Z,o as R,c as Q,k as _t,m as nt,n as Fe,p as _e,q as ie,s as ze,v as ft,x as j,y as Qe,z as gn,A as Pe,B as G,C as Gn,T as Sr,D as Ce,E as he,a as J,F as ot,G as we,H as It,I as rt,J as Ve,K as Zt,L as At,M as yt,N as wa,O as Or,P as Nr,Q as Ar,_ as $r,R as Ir,S as Er,U as Yr,V as Ia,W as Ur,X as Lr,Y as wn}from"./app-front-ae9fe805.js";var Xn={exports:{}};/*! - * Image tool - * - * @version 2.8.1 - * - * @package https://github.com/editor-js/image - * @licence MIT - * @author CodeX - */(function(t,n){(function(a,e){t.exports=e()})(window,function(){return function(a){var e={};function r(i){if(e[i])return e[i].exports;var o=e[i]={i,l:!1,exports:{}};return a[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=a,r.c=e,r.d=function(i,o,l){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:l})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(1&o&&(i=r(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var d in i)r.d(l,d,(function(u){return i[u]}).bind(null,d));return l},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="/",r(r.s=9)}([function(a,e){function r(i,o){for(var l=0;l0&&arguments[0]!==void 0?arguments[0]:{};if(k.url&&typeof k.url!="string")throw new Error("Url must be a string");if(k.url=k.url||"",k.method&&typeof k.method!="string")throw new Error("`method` must be a string or null");if(k.method=k.method?k.method.toUpperCase():"GET",k.headers&&d(k.headers)!=="object")throw new Error("`headers` must be an object or null");if(k.headers=k.headers||{},k.type&&(typeof k.type!="string"||!Object.values(u).includes(k.type)))throw new Error("`type` must be taken from module's «contentType» library");if(k.progress&&typeof k.progress!="function")throw new Error("`progress` must be a function or null");if(k.progress=k.progress||function(_){},k.beforeSend=k.beforeSend||function(_){},k.ratio&&typeof k.ratio!="number")throw new Error("`ratio` must be a number");if(k.ratio<0||k.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(k.ratio=k.ratio||90,k.accept&&typeof k.accept!="string")throw new Error("`accept` must be a string with a list of allowed mime-types");if(k.accept=k.accept||"*/*",k.multiple&&typeof k.multiple!="boolean")throw new Error("`multiple` must be a true or false");if(k.multiple=k.multiple||!1,k.fieldName&&typeof k.fieldName!="string")throw new Error("`fieldName` must be a string");return k.fieldName=k.fieldName||"files",k},p=function(k){switch(k.method){case"GET":var _=$(k.data,u.URLENCODED);delete k.data,k.url=/\?/.test(k.url)?k.url+"&"+_:k.url+"?"+_;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var S=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).type||u.JSON}(k);(N.isFormData(k.data)||N.isFormElement(k.data))&&(S=u.FORM),k.data=$(k.data,S),S!==X.contentType.FORM&&(k.headers["content-type"]=S)}return k},$=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case u.URLENCODED:return N.urlEncode(k);case u.JSON:return N.jsonEncode(k);case u.FORM:return N.formEncode(k);default:return k}},A=function(k){return k>=200&&k<300},{contentType:u={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:y,get:function(k){return k.method="GET",y(k)},post:m,transport:function(k){return k=c(k),N.selectFiles(k).then(function(_){for(var S=new FormData,w=0;w<_.length;w++)S.append(k.fieldName,_[w],_[w].name);N.isObject(k.data)&&Object.keys(k.data).forEach(function(Y){var U=k.data[Y];S.append(Y,U)});var O=k.beforeSend;return k.beforeSend=function(){return O(_)},k.data=S,m(k)})},selectFiles:function(k){return delete(k=c(k)).beforeSend,N.selectFiles(k)}});i.exports=X},function(i,o,l){l.r(o);var d=l(1);window.Promise=window.Promise||d.a},function(i,o,l){(function(d){var u=d!==void 0&&d||typeof self<"u"&&self||window,y=Function.prototype.apply;function m(c,p){this._id=c,this._clearFn=p}o.setTimeout=function(){return new m(y.call(setTimeout,u,arguments),clearTimeout)},o.setInterval=function(){return new m(y.call(setInterval,u,arguments),clearInterval)},o.clearTimeout=o.clearInterval=function(c){c&&c.close()},m.prototype.unref=m.prototype.ref=function(){},m.prototype.close=function(){this._clearFn.call(u,this._id)},o.enroll=function(c,p){clearTimeout(c._idleTimeoutId),c._idleTimeout=p},o.unenroll=function(c){clearTimeout(c._idleTimeoutId),c._idleTimeout=-1},o._unrefActive=o.active=function(c){clearTimeout(c._idleTimeoutId);var p=c._idleTimeout;p>=0&&(c._idleTimeoutId=setTimeout(function(){c._onTimeout&&c._onTimeout()},p))},l(6),o.setImmediate=typeof self<"u"&&self.setImmediate||d!==void 0&&d.setImmediate||this&&this.setImmediate,o.clearImmediate=typeof self<"u"&&self.clearImmediate||d!==void 0&&d.clearImmediate||this&&this.clearImmediate}).call(this,l(0))},function(i,o,l){(function(d,u){(function(y,m){if(!y.setImmediate){var c,p,$,A,N,X=1,k={},_=!1,S=y.document,w=Object.getPrototypeOf&&Object.getPrototypeOf(y);w=w&&w.setTimeout?w:y,{}.toString.call(y.process)==="[object process]"?c=function(U){u.nextTick(function(){Y(U)})}:function(){if(y.postMessage&&!y.importScripts){var U=!0,L=y.onmessage;return y.onmessage=function(){U=!1},y.postMessage("","*"),y.onmessage=L,U}}()?(A="setImmediate$"+Math.random()+"$",N=function(U){U.source===y&&typeof U.data=="string"&&U.data.indexOf(A)===0&&Y(+U.data.slice(A.length))},y.addEventListener?y.addEventListener("message",N,!1):y.attachEvent("onmessage",N),c=function(U){y.postMessage(A+U,"*")}):y.MessageChannel?(($=new MessageChannel).port1.onmessage=function(U){Y(U.data)},c=function(U){$.port2.postMessage(U)}):S&&"onreadystatechange"in S.createElement("script")?(p=S.documentElement,c=function(U){var L=S.createElement("script");L.onreadystatechange=function(){Y(U),L.onreadystatechange=null,p.removeChild(L),L=null},p.appendChild(L)}):c=function(U){setTimeout(Y,0,U)},w.setImmediate=function(U){typeof U!="function"&&(U=new Function(""+U));for(var L=new Array(arguments.length-1),H=0;H"u"?d===void 0?this:d:self)}).call(this,l(0),l(7))},function(i,o){var l,d,u=i.exports={};function y(){throw new Error("setTimeout has not been defined")}function m(){throw new Error("clearTimeout has not been defined")}function c(w){if(l===setTimeout)return setTimeout(w,0);if((l===y||!l)&&setTimeout)return l=setTimeout,setTimeout(w,0);try{return l(w,0)}catch{try{return l.call(null,w,0)}catch{return l.call(this,w,0)}}}(function(){try{l=typeof setTimeout=="function"?setTimeout:y}catch{l=y}try{d=typeof clearTimeout=="function"?clearTimeout:m}catch{d=m}})();var p,$=[],A=!1,N=-1;function X(){A&&p&&(A=!1,p.length?$=p.concat($):N=-1,$.length&&k())}function k(){if(!A){var w=c(X);A=!0;for(var O=$.length;O;){for(p=$,$=[];++N1)for(var Y=1;Y HTMLElement")}},{key:"isObject",value:function(p){return Object.prototype.toString.call(p)==="[object Object]"}},{key:"isFormData",value:function(p){return p instanceof FormData}},{key:"isFormElement",value:function(p){return p instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new Promise(function($,A){var N=document.createElement("INPUT");N.type="file",p.multiple&&N.setAttribute("multiple","multiple"),p.accept&&N.setAttribute("accept",p.accept),N.style.display="none",document.body.appendChild(N),N.addEventListener("change",function(X){var k=X.target.files;$(k),document.body.removeChild(N)},!1),N.click()})}},{key:"parseHeaders",value:function(p){var $=p.trim().split(/[\r\n]+/),A={};return $.forEach(function(N){var X=N.split(": "),k=X.shift(),_=X.join(": ");k&&(A[k]=_)}),A}}])&&d(m,c),y}()},function(i,o){var l=function(u){return encodeURIComponent(u).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},d=function(u,y,m,c){return y=y||null,m=m||"&",c=c||null,u?function(p){for(var $=new Array,A=0;Ar.length)&&(i=r.length);for(var o=0,l=new Array(i);o=0;--x){var s=this.tryEntries[x],E=s.completion;if(s.tryLoc==="root")return C("end");if(s.tryLoc<=this.prev){var K=d.call(s,"catchLoc"),W=d.call(s,"finallyLoc");if(K&&W){if(this.prev=0;--C){var x=this.tryEntries[C];if(x.tryLoc<=this.prev&&d.call(x,"finallyLoc")&&this.prev=0;--M){var C=this.tryEntries[M];if(C.finallyLoc===D)return this.complete(C.completion,C.afterLoc),v(C),A}},catch:function(D){for(var M=this.tryEntries.length-1;M>=0;--M){var C=this.tryEntries[M];if(C.tryLoc===D){var x=C.completion;if(x.type==="throw"){var s=x.arg;v(C)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(D,M,C){return this.delegate={iterator:P(D),resultName:M,nextLoc:C},this.method==="next"&&(this.arg=void 0),A}},o}(a.exports);try{regeneratorRuntime=i}catch{Function("r","regeneratorRuntime = r")(i)}},function(a,e,r){var i=r(12),o=r(13);typeof(o=o.__esModule?o.default:o)=="string"&&(o=[[a.i,o,""]]);var l={insert:"head",singleton:!1},d=(i(o,l),o.locals?o.locals:{});a.exports=d},function(a,e,r){var i,o=function(){return i===void 0&&(i=!!(window&&document&&document.all&&!window.atob)),i},l=function(){var _={};return function(S){if(_[S]===void 0){var w=document.querySelector(S);if(window.HTMLIFrameElement&&w instanceof window.HTMLIFrameElement)try{w=w.contentDocument.head}catch{w=null}_[S]=w}return _[S]}}(),d=[];function u(_){for(var S=-1,w=0;w1&&arguments[1]!==void 0?arguments[1]:null,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=document.createElement(L);Array.isArray(v)?(H=P.classList).add.apply(H,A()(v)):v&&P.classList.add(v);for(var F in g)P[F]=g[F];return P}var X=function(){function L(H){var v=H.api,g=H.config,P=H.onSelectFile,F=H.readOnly;y()(this,L),this.api=v,this.config=g,this.onSelectFile=P,this.readOnly=F,this.nodes={wrapper:N("div",[this.CSS.baseClass,this.CSS.wrapper]),imageContainer:N("div",[this.CSS.imageContainer]),fileButton:this.createFileButton(),imageEl:void 0,imagePreloader:N("div",this.CSS.imagePreloader),caption:N("div",[this.CSS.input,this.CSS.caption],{contentEditable:!this.readOnly})},this.nodes.caption.dataset.placeholder=this.config.captionPlaceholder,this.nodes.imageContainer.appendChild(this.nodes.imagePreloader),this.nodes.wrapper.appendChild(this.nodes.imageContainer),this.nodes.wrapper.appendChild(this.nodes.caption),this.nodes.wrapper.appendChild(this.nodes.fileButton)}return c()(L,[{key:"render",value:function(H){return H.file&&Object.keys(H.file).length!==0?this.toggleStatus(L.status.UPLOADING):this.toggleStatus(L.status.EMPTY),this.nodes.wrapper}},{key:"createFileButton",value:function(){var H=this,v=N("div",[this.CSS.button]);return v.innerHTML=this.config.buttonContent||"".concat(p," ").concat(this.api.i18n.t("Select an Image")),v.addEventListener("click",function(){H.onSelectFile()}),v}},{key:"showPreloader",value:function(H){this.nodes.imagePreloader.style.backgroundImage="url(".concat(H,")"),this.toggleStatus(L.status.UPLOADING)}},{key:"hidePreloader",value:function(){this.nodes.imagePreloader.style.backgroundImage="",this.toggleStatus(L.status.EMPTY)}},{key:"fillImage",value:function(H){var v=this,g=/\.mp4$/.test(H)?"VIDEO":"IMG",P={src:H},F="load";g==="VIDEO"&&(P.autoplay=!0,P.loop=!0,P.muted=!0,P.playsinline=!0,F="loadeddata"),this.nodes.imageEl=N(g,this.CSS.imageEl,P),this.nodes.imageEl.addEventListener(F,function(){v.toggleStatus(L.status.FILLED),v.nodes.imagePreloader&&(v.nodes.imagePreloader.style.backgroundImage="")}),this.nodes.imageContainer.appendChild(this.nodes.imageEl)}},{key:"fillCaption",value:function(H){this.nodes.caption&&(this.nodes.caption.innerHTML=H)}},{key:"toggleStatus",value:function(H){for(var v in L.status)Object.prototype.hasOwnProperty.call(L.status,v)&&this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(L.status[v]),H===L.status[v])}},{key:"applyTune",value:function(H,v){this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(H),v)}},{key:"CSS",get:function(){return{baseClass:this.api.styles.block,loading:this.api.styles.loader,input:this.api.styles.input,button:this.api.styles.button,wrapper:"image-tool",imageContainer:"image-tool__image",imagePreloader:"image-tool__image-preloader",imageEl:"image-tool__image-picture",caption:"image-tool__caption"}}}],[{key:"status",get:function(){return{EMPTY:"empty",UPLOADING:"loading",FILLED:"filled"}}}]),L}(),k=r(8),_=r.n(k),S=r(1),w=r.n(S);function O(L){return L&&typeof L.then=="function"}var Y=function(){function L(H){var v=H.config,g=H.onUpload,P=H.onError;y()(this,L),this.config=v,this.onUpload=g,this.onError=P}return c()(L,[{key:"uploadSelectedFile",value:function(H){var v=this,g=H.onPreview,P=function(F){var D=new FileReader;D.readAsDataURL(F),D.onload=function(M){g(M.target.result)}};(this.config.uploader&&typeof this.config.uploader.uploadByFile=="function"?w.a.selectFiles({accept:this.config.types}).then(function(F){P(F[0]);var D=v.config.uploader.uploadByFile(F[0]);return O(D)||console.warn("Custom uploader method uploadByFile should return a Promise"),D}):w.a.transport({url:this.config.endpoints.byFile,data:this.config.additionalRequestData,accept:this.config.types,headers:this.config.additionalRequestHeaders,beforeSend:function(F){P(F[0])},fieldName:this.config.field}).then(function(F){return F.body})).then(function(F){v.onUpload(F)}).catch(function(F){v.onError(F)})}},{key:"uploadByUrl",value:function(H){var v,g=this;this.config.uploader&&typeof this.config.uploader.uploadByUrl=="function"?O(v=this.config.uploader.uploadByUrl(H))||console.warn("Custom uploader method uploadByUrl should return a Promise"):v=w.a.post({url:this.config.endpoints.byUrl,data:Object.assign({url:H},this.config.additionalRequestData),type:w.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then(function(P){return P.body}),v.then(function(P){g.onUpload(P)}).catch(function(P){g.onError(P)})}},{key:"uploadByFile",value:function(H,v){var g,P=this,F=v.onPreview,D=new FileReader;if(D.readAsDataURL(H),D.onload=function(C){F(C.target.result)},this.config.uploader&&typeof this.config.uploader.uploadByFile=="function")O(g=this.config.uploader.uploadByFile(H))||console.warn("Custom uploader method uploadByFile should return a Promise");else{var M=new FormData;M.append(this.config.field,H),this.config.additionalRequestData&&Object.keys(this.config.additionalRequestData).length&&Object.entries(this.config.additionalRequestData).forEach(function(C){var x=_()(C,2),s=x[0],E=x[1];M.append(s,E)}),g=w.a.post({url:this.config.endpoints.byFile,data:M,type:w.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then(function(C){return C.body})}g.then(function(C){P.onUpload(C)}).catch(function(C){P.onError(C)})}}]),L}(),U=function(){function L(v){var g=this,P=v.data,F=v.config,D=v.api,M=v.readOnly;y()(this,L),this.api=D,this.readOnly=M,this.config={endpoints:F.endpoints||"",additionalRequestData:F.additionalRequestData||{},additionalRequestHeaders:F.additionalRequestHeaders||{},field:F.field||"image",types:F.types||"image/*",captionPlaceholder:this.api.i18n.t(F.captionPlaceholder||"Caption"),buttonContent:F.buttonContent||"",uploader:F.uploader||void 0,actions:F.actions||[]},this.uploader=new Y({config:this.config,onUpload:function(C){return g.onUpload(C)},onError:function(C){return g.uploadingFailed(C)}}),this.ui=new X({api:D,config:this.config,onSelectFile:function(){g.uploader.uploadSelectedFile({onPreview:function(C){g.ui.showPreloader(C)}})},readOnly:M}),this._data={},this.data=P}var H;return c()(L,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:p,title:"Image"}}},{key:"tunes",get:function(){return[{name:"withBorder",icon:'',title:"With border",toggle:!0},{name:"stretched",icon:'',title:"Stretch image",toggle:!0},{name:"withBackground",icon:'',title:"With background",toggle:!0}]}}]),c()(L,[{key:"render",value:function(){return this.ui.render(this.data)}},{key:"validate",value:function(v){return v.file&&v.file.url}},{key:"save",value:function(){var v=this.ui.nodes.caption;return this._data.caption=v.innerHTML,this.data}},{key:"renderSettings",value:function(){var v=this;return L.tunes.concat(this.config.actions).map(function(g){return{icon:g.icon,label:v.api.i18n.t(g.title),name:g.name,toggle:g.toggle,isActive:v.data[g.name],onActivate:function(){typeof g.action!="function"?v.tuneToggled(g.name):g.action(g.name)}}})}},{key:"appendCallback",value:function(){this.ui.nodes.fileButton.click()}},{key:"onPaste",value:(H=d()(o.a.mark(function v(g){var P,F,D,M,C;return o.a.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:x.t0=g.type,x.next=x.t0==="tag"?3:x.t0==="pattern"?15:x.t0==="file"?18:21;break;case 3:if(P=g.detail.data,!/^blob:/.test(P.src)){x.next=13;break}return x.next=7,fetch(P.src);case 7:return F=x.sent,x.next=10,F.blob();case 10:return D=x.sent,this.uploadFile(D),x.abrupt("break",21);case 13:return this.uploadUrl(P.src),x.abrupt("break",21);case 15:return M=g.detail.data,this.uploadUrl(M),x.abrupt("break",21);case 18:return C=g.detail.file,this.uploadFile(C),x.abrupt("break",21);case 21:case"end":return x.stop()}},v,this)})),function(v){return H.apply(this,arguments)})},{key:"onUpload",value:function(v){v.success&&v.file?this.image=v.file:this.uploadingFailed("incorrect response: "+JSON.stringify(v))}},{key:"uploadingFailed",value:function(v){console.log("Image Tool: uploading failed because of",v),this.api.notifier.show({message:this.api.i18n.t("Couldn’t upload image. Please try another."),style:"error"}),this.ui.hidePreloader()}},{key:"tuneToggled",value:function(v){this.setTune(v,!this._data[v])}},{key:"setTune",value:function(v,g){var P=this;this._data[v]=g,this.ui.applyTune(v,g),v==="stretched"&&Promise.resolve().then(function(){var F=P.api.blocks.getCurrentBlockIndex();P.api.blocks.stretchBlock(F,g)}).catch(function(F){console.error(F)})}},{key:"uploadFile",value:function(v){var g=this;this.uploader.uploadByFile(v,{onPreview:function(P){g.ui.showPreloader(P)}})}},{key:"uploadUrl",value:function(v){this.ui.showPreloader(v),this.uploader.uploadByUrl(v)}},{key:"data",set:function(v){var g=this;this.image=v.file,this._data.caption=v.caption||"",this.ui.fillCaption(this._data.caption),L.tunes.forEach(function(P){var F=P.name,D=v[F]!==void 0&&(v[F]===!0||v[F]==="true");g.setTune(F,D)})},get:function(){return this._data}},{key:"image",set:function(v){this._data.file=v||{},v&&v.url&&this.ui.fillImage(v.url)}}],[{key:"pasteConfig",get:function(){return{tags:[{img:{src:!0}}],patterns:{image:/https?:\/\/\S+\.(gif|jpe?g|tiff|png|svg|webp)(\?[a-z0-9=]*)?$/i},files:{mimeTypes:["image/*"]}}}}]),L}();/** - * Image Tool for the Editor.js - * - * @author CodeX - * @license MIT - * @see {@link https://github.com/editor-js/image} - * - * To developers. - * To simplify Tool structure, we split it to 4 parts: - * 1) index.js — main Tool's interface, public API and methods for working with data - * 2) uploader.js — module that has methods for sending files via AJAX: from device, by URL or File pasting - * 3) ui.js — module for UI manipulations: render, showing preloader, etc - * 4) tunes.js — working with Block Tunes: render buttons, handle clicks - * - * For debug purposes there is a testing server - * that can save uploaded files and return a Response {@link UploadResponseFormat} - * - * $ node dev/server.js - * - * It will expose 8008 port, so you can pass http://localhost:8008 with the Tools config: - * - * image: { - * class: ImageTool, - * config: { - * endpoints: { - * byFile: 'http://localhost:8008/uploadFile', - * byUrl: 'http://localhost:8008/fetchUrl', - * } - * }, - * }, - */}]).default})})(Xn);var Rr=Xn.exports;const Fr=Cr(Rr),bn=Pr("postStore",{state:()=>({data:{defaultLocaleSlug:"my",countryLocales:[],localeCategories:[],authors:[]}}),getters:{defaultLocaleSlug(t){return t.data.defaultLocaleSlug},countryLocales(t){return t.data.countryLocales},localeCategories(t){return t.data.localeCategories},authors(t){return t.data.authors}},actions:{async fetchAuthors(){try{const t=await ua.get(Ft("api.admin.authors"));console.log(t),this.data.authors=t.data.authors}catch(t){console.log(t)}},async fetchCountryLocales(){try{const t=await ua.get(Ft("api.admin.country-locales"));console.log(t),this.data.countryLocales=t.data.country_locales,this.data.defaultLocaleSlug=t.data.default_locale_slug}catch(t){console.log(t)}},async fetchLocaleCategories(t){try{const n=await ua.get(Ft("api.admin.categories",{country_locale_slug:t}));console.log(n),this.data.localeCategories=n.data.categories}catch(n){console.log(n)}}}});function st(t){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},st(t)}function fe(t){if(t===null||t===!0||t===!1)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}function le(t,n){if(n.length1?"s":"")+" required, but only "+n.length+" present")}function ve(t){le(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||st(t)==="object"&&n==="[object Date]"?new Date(t.getTime()):typeof t=="number"||n==="[object Number]"?new Date(t):((typeof t=="string"||n==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function St(t,n){le(2,arguments);var a=ve(t),e=fe(n);return isNaN(e)?new Date(NaN):(e&&a.setDate(a.getDate()+e),a)}function bt(t,n){le(2,arguments);var a=ve(t),e=fe(n);if(isNaN(e))return new Date(NaN);if(!e)return a;var r=a.getDate(),i=new Date(a.getTime());i.setMonth(a.getMonth()+e+1,0);var o=i.getDate();return r>=o?i:(a.setFullYear(i.getFullYear(),i.getMonth(),r),a)}function Jn(t,n){if(le(2,arguments),!n||st(n)!=="object")return new Date(NaN);var a=n.years?fe(n.years):0,e=n.months?fe(n.months):0,r=n.weeks?fe(n.weeks):0,i=n.days?fe(n.days):0,o=n.hours?fe(n.hours):0,l=n.minutes?fe(n.minutes):0,d=n.seconds?fe(n.seconds):0,u=ve(t),y=e||a?bt(u,e+a*12):u,m=i||r?St(y,i+r*7):y,c=l+o*60,p=d+c*60,$=p*1e3,A=new Date(m.getTime()+$);return A}function Vr(t,n){le(2,arguments);var a=ve(t).getTime(),e=fe(n);return new Date(a+e)}var Br={};function kt(){return Br}function Ht(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=kt(),m=fe((a=(e=(r=(i=n==null?void 0:n.weekStartsOn)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:y.weekStartsOn)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=ve(t),p=c.getDay(),$=(p=r.getTime()?a+1:n.getTime()>=o.getTime()?a:a-1}function Hr(t){le(1,arguments);var n=Wr(t),a=new Date(0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);var e=_a(a);return e}function ka(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}function _n(t){le(1,arguments);var n=ve(t);return n.setHours(0,0,0,0),n}var jr=864e5;function qr(t,n){le(2,arguments);var a=_n(t),e=_n(n),r=a.getTime()-ka(a),i=e.getTime()-ka(e);return Math.round((r-i)/jr)}function Kn(t,n){le(2,arguments);var a=fe(n);return bt(t,a*12)}var on=6e4,ln=36e5,Qr=1e3;function zn(t){return le(1,arguments),t instanceof Date||st(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function sa(t){if(le(1,arguments),!zn(t)&&typeof t!="number")return!1;var n=ve(t);return!isNaN(Number(n))}function kn(t,n){var a;le(1,arguments);var e=t||{},r=ve(e.start),i=ve(e.end),o=i.getTime();if(!(r.getTime()<=o))throw new RangeError("Invalid interval");var l=[],d=r;d.setHours(0,0,0,0);var u=Number((a=n==null?void 0:n.step)!==null&&a!==void 0?a:1);if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;d.getTime()<=o;)l.push(ve(d)),d.setDate(d.getDate()+u),d.setHours(0,0,0,0);return l}function Gr(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=kt(),m=fe((a=(e=(r=(i=n==null?void 0:n.weekStartsOn)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:y.weekStartsOn)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=ve(t),p=c.getDay(),$=(p=r.getTime()?a+1:n.getTime()>=o.getTime()?a:a-1}function Kr(t){le(1,arguments);var n=er(t),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var e=Jt(a);return e}var zr=6048e5;function tr(t){le(1,arguments);var n=ve(t),a=Jt(n).getTime()-Kr(n).getTime();return Math.round(a/zr)+1}function jt(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=kt(),m=fe((a=(e=(r=(i=n==null?void 0:n.weekStartsOn)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:y.weekStartsOn)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&a!==void 0?a:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=ve(t),p=c.getUTCDay(),$=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=new Date(0);$.setUTCFullYear(m+1,0,p),$.setUTCHours(0,0,0,0);var A=jt($,n),N=new Date(0);N.setUTCFullYear(m,0,p),N.setUTCHours(0,0,0,0);var X=jt(N,n);return y.getTime()>=A.getTime()?m+1:y.getTime()>=X.getTime()?m:m-1}function Zr(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=kt(),m=fe((a=(e=(r=(i=n==null?void 0:n.firstWeekContainsDate)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:y.firstWeekContainsDate)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&a!==void 0?a:1),c=un(t,n),p=new Date(0);p.setUTCFullYear(c,0,m),p.setUTCHours(0,0,0,0);var $=jt(p,n);return $}var eo=6048e5;function ar(t,n){le(1,arguments);var a=ve(t),e=jt(a,n).getTime()-Zr(a,n).getTime();return Math.round(e/eo)+1}function Oe(t,n){for(var a=t<0?"-":"",e=Math.abs(t).toString();e.length0?e:1-e;return Oe(a==="yy"?r%100:r,a.length)},M:function(n,a){var e=n.getUTCMonth();return a==="M"?String(e+1):Oe(e+1,2)},d:function(n,a){return Oe(n.getUTCDate(),a.length)},a:function(n,a){var e=n.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h:function(n,a){return Oe(n.getUTCHours()%12||12,a.length)},H:function(n,a){return Oe(n.getUTCHours(),a.length)},m:function(n,a){return Oe(n.getUTCMinutes(),a.length)},s:function(n,a){return Oe(n.getUTCSeconds(),a.length)},S:function(n,a){var e=a.length,r=n.getUTCMilliseconds(),i=Math.floor(r*Math.pow(10,e-3));return Oe(i,a.length)}};const $t=to;var qt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ao={G:function(n,a,e){var r=n.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"});case"GGGGG":return e.era(r,{width:"narrow"});case"GGGG":default:return e.era(r,{width:"wide"})}},y:function(n,a,e){if(a==="yo"){var r=n.getUTCFullYear(),i=r>0?r:1-r;return e.ordinalNumber(i,{unit:"year"})}return $t.y(n,a)},Y:function(n,a,e,r){var i=un(n,r),o=i>0?i:1-i;if(a==="YY"){var l=o%100;return Oe(l,2)}return a==="Yo"?e.ordinalNumber(o,{unit:"year"}):Oe(o,a.length)},R:function(n,a){var e=er(n);return Oe(e,a.length)},u:function(n,a){var e=n.getUTCFullYear();return Oe(e,a.length)},Q:function(n,a,e){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Oe(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,a,e){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Oe(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,a,e){var r=n.getUTCMonth();switch(a){case"M":case"MM":return $t.M(n,a);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(n,a,e){var r=n.getUTCMonth();switch(a){case"L":return String(r+1);case"LL":return Oe(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(n,a,e,r){var i=ar(n,r);return a==="wo"?e.ordinalNumber(i,{unit:"week"}):Oe(i,a.length)},I:function(n,a,e){var r=tr(n);return a==="Io"?e.ordinalNumber(r,{unit:"week"}):Oe(r,a.length)},d:function(n,a,e){return a==="do"?e.ordinalNumber(n.getUTCDate(),{unit:"date"}):$t.d(n,a)},D:function(n,a,e){var r=Jr(n);return a==="Do"?e.ordinalNumber(r,{unit:"dayOfYear"}):Oe(r,a.length)},E:function(n,a,e){var r=n.getUTCDay();switch(a){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});case"EEEE":default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(n,a,e,r){var i=n.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(o);case"ee":return Oe(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(i,{width:"short",context:"formatting"});case"eeee":default:return e.day(i,{width:"wide",context:"formatting"})}},c:function(n,a,e,r){var i=n.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(o);case"cc":return Oe(o,a.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(i,{width:"narrow",context:"standalone"});case"cccccc":return e.day(i,{width:"short",context:"standalone"});case"cccc":default:return e.day(i,{width:"wide",context:"standalone"})}},i:function(n,a,e){var r=n.getUTCDay(),i=r===0?7:r;switch(a){case"i":return String(i);case"ii":return Oe(i,a.length);case"io":return e.ordinalNumber(i,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});case"iiii":default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(n,a,e){var r=n.getUTCHours(),i=r/12>=1?"pm":"am";switch(a){case"a":case"aa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(n,a,e){var r=n.getUTCHours(),i;switch(r===12?i=qt.noon:r===0?i=qt.midnight:i=r/12>=1?"pm":"am",a){case"b":case"bb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(n,a,e){var r=n.getUTCHours(),i;switch(r>=17?i=qt.evening:r>=12?i=qt.afternoon:r>=4?i=qt.morning:i=qt.night,a){case"B":case"BB":case"BBB":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(n,a,e){if(a==="ho"){var r=n.getUTCHours()%12;return r===0&&(r=12),e.ordinalNumber(r,{unit:"hour"})}return $t.h(n,a)},H:function(n,a,e){return a==="Ho"?e.ordinalNumber(n.getUTCHours(),{unit:"hour"}):$t.H(n,a)},K:function(n,a,e){var r=n.getUTCHours()%12;return a==="Ko"?e.ordinalNumber(r,{unit:"hour"}):Oe(r,a.length)},k:function(n,a,e){var r=n.getUTCHours();return r===0&&(r=24),a==="ko"?e.ordinalNumber(r,{unit:"hour"}):Oe(r,a.length)},m:function(n,a,e){return a==="mo"?e.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):$t.m(n,a)},s:function(n,a,e){return a==="so"?e.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):$t.s(n,a)},S:function(n,a){return $t.S(n,a)},X:function(n,a,e,r){var i=r._originalDate||n,o=i.getTimezoneOffset();if(o===0)return"Z";switch(a){case"X":return Dn(o);case"XXXX":case"XX":return Rt(o);case"XXXXX":case"XXX":default:return Rt(o,":")}},x:function(n,a,e,r){var i=r._originalDate||n,o=i.getTimezoneOffset();switch(a){case"x":return Dn(o);case"xxxx":case"xx":return Rt(o);case"xxxxx":case"xxx":default:return Rt(o,":")}},O:function(n,a,e,r){var i=r._originalDate||n,o=i.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+Tn(o,":");case"OOOO":default:return"GMT"+Rt(o,":")}},z:function(n,a,e,r){var i=r._originalDate||n,o=i.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+Tn(o,":");case"zzzz":default:return"GMT"+Rt(o,":")}},t:function(n,a,e,r){var i=r._originalDate||n,o=Math.floor(i.getTime()/1e3);return Oe(o,a.length)},T:function(n,a,e,r){var i=r._originalDate||n,o=i.getTime();return Oe(o,a.length)}};function Tn(t,n){var a=t>0?"-":"+",e=Math.abs(t),r=Math.floor(e/60),i=e%60;if(i===0)return a+String(r);var o=n||"";return a+String(r)+o+Oe(i,2)}function Dn(t,n){if(t%60===0){var a=t>0?"-":"+";return a+Oe(Math.abs(t)/60,2)}return Rt(t,n)}function Rt(t,n){var a=n||"",e=t>0?"-":"+",r=Math.abs(t),i=Oe(Math.floor(r/60),2),o=Oe(r%60,2);return e+i+a+o}const no=ao;var xn=function(n,a){switch(n){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},nr=function(n,a){switch(n){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},ro=function(n,a){var e=n.match(/(P+)(p+)?/)||[],r=e[1],i=e[2];if(!i)return xn(n,a);var o;switch(r){case"P":o=a.dateTime({width:"short"});break;case"PP":o=a.dateTime({width:"medium"});break;case"PPP":o=a.dateTime({width:"long"});break;case"PPPP":default:o=a.dateTime({width:"full"});break}return o.replace("{{date}}",xn(r,a)).replace("{{time}}",nr(i,a))},oo={p:nr,P:ro};const Ga=oo;var io=["D","DD"],lo=["YY","YYYY"];function rr(t){return io.indexOf(t)!==-1}function or(t){return lo.indexOf(t)!==-1}function Ta(t,n,a){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var uo={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},so=function(n,a,e){var r,i=uo[n];return typeof i=="string"?r=i:a===1?r=i.one:r=i.other.replace("{{count}}",a.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+r:r+" ago":r};const co=so;function Ea(t){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=n.width?String(n.width):t.defaultWidth,e=t.formats[a]||t.formats[t.defaultWidth];return e}}var fo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},vo={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},po={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mo={date:Ea({formats:fo,defaultWidth:"full"}),time:Ea({formats:vo,defaultWidth:"full"}),dateTime:Ea({formats:po,defaultWidth:"full"})};const ho=mo;var yo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},go=function(n,a,e,r){return yo[n]};const wo=go;function na(t){return function(n,a){var e=a!=null&&a.context?String(a.context):"standalone",r;if(e==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=a!=null&&a.width?String(a.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var l=t.defaultWidth,d=a!=null&&a.width?String(a.width):t.defaultWidth;r=t.values[d]||t.values[l]}var u=t.argumentCallback?t.argumentCallback(n):n;return r[u]}}var bo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ko={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},To={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Do={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},xo={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Mo=function(n,a){var e=Number(n),r=e%100;if(r>20||r<10)switch(r%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},Co={ordinalNumber:Mo,era:na({values:bo,defaultWidth:"wide"}),quarter:na({values:_o,defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:na({values:ko,defaultWidth:"wide"}),day:na({values:To,defaultWidth:"wide"}),dayPeriod:na({values:Do,defaultWidth:"wide",formattingValues:xo,defaultFormattingWidth:"wide"})};const Po=Co;function ra(t){return function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=a.width,r=e&&t.matchPatterns[e]||t.matchPatterns[t.defaultMatchWidth],i=n.match(r);if(!i)return null;var o=i[0],l=e&&t.parsePatterns[e]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(l)?Oo(l,function(m){return m.test(o)}):So(l,function(m){return m.test(o)}),u;u=t.valueCallback?t.valueCallback(d):d,u=a.valueCallback?a.valueCallback(u):u;var y=n.slice(o.length);return{value:u,rest:y}}}function So(t,n){for(var a in t)if(t.hasOwnProperty(a)&&n(t[a]))return a}function Oo(t,n){for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},e=n.match(t.matchPattern);if(!e)return null;var r=e[0],i=n.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var l=n.slice(r.length);return{value:o,rest:l}}}var Ao=/^(\d+)(th|st|nd|rd)?/i,$o=/\d+/i,Io={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Eo={any:[/^b/i,/^(a|c)/i]},Yo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Uo={any:[/1/i,/2/i,/3/i,/4/i]},Lo={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ro={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Fo={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Vo={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Bo={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Wo={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ho={ordinalNumber:No({matchPattern:Ao,parsePattern:$o,valueCallback:function(n){return parseInt(n,10)}}),era:ra({matchPatterns:Io,defaultMatchWidth:"wide",parsePatterns:Eo,defaultParseWidth:"any"}),quarter:ra({matchPatterns:Yo,defaultMatchWidth:"wide",parsePatterns:Uo,defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:ra({matchPatterns:Lo,defaultMatchWidth:"wide",parsePatterns:Ro,defaultParseWidth:"any"}),day:ra({matchPatterns:Fo,defaultMatchWidth:"wide",parsePatterns:Vo,defaultParseWidth:"any"}),dayPeriod:ra({matchPatterns:Bo,defaultMatchWidth:"any",parsePatterns:Wo,defaultParseWidth:"any"})};const jo=Ho;var qo={code:"en-US",formatDistance:co,formatLong:ho,formatRelative:wo,localize:Po,match:jo,options:{weekStartsOn:0,firstWeekContainsDate:1}};const ir=qo;var Qo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Go=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Xo=/^'([^]*?)'?$/,Jo=/''/g,Ko=/[a-zA-Z]/;function Wt(t,n,a){var e,r,i,o,l,d,u,y,m,c,p,$,A,N,X,k,_,S;le(2,arguments);var w=String(n),O=kt(),Y=(e=(r=a==null?void 0:a.locale)!==null&&r!==void 0?r:O.locale)!==null&&e!==void 0?e:ir,U=fe((i=(o=(l=(d=a==null?void 0:a.firstWeekContainsDate)!==null&&d!==void 0?d:a==null||(u=a.locale)===null||u===void 0||(y=u.options)===null||y===void 0?void 0:y.firstWeekContainsDate)!==null&&l!==void 0?l:O.firstWeekContainsDate)!==null&&o!==void 0?o:(m=O.locale)===null||m===void 0||(c=m.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=fe((p=($=(A=(N=a==null?void 0:a.weekStartsOn)!==null&&N!==void 0?N:a==null||(X=a.locale)===null||X===void 0||(k=X.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&A!==void 0?A:O.weekStartsOn)!==null&&$!==void 0?$:(_=O.locale)===null||_===void 0||(S=_.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&p!==void 0?p:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Y.localize)throw new RangeError("locale must contain localize property");if(!Y.formatLong)throw new RangeError("locale must contain formatLong property");var H=ve(t);if(!sa(H))throw new RangeError("Invalid time value");var v=ka(H),g=Zn(H,v),P={firstWeekContainsDate:U,weekStartsOn:L,locale:Y,_originalDate:H},F=w.match(Go).map(function(D){var M=D[0];if(M==="p"||M==="P"){var C=Ga[M];return C(D,Y.formatLong)}return D}).join("").match(Qo).map(function(D){if(D==="''")return"'";var M=D[0];if(M==="'")return zo(D);var C=no[M];if(C)return!(a!=null&&a.useAdditionalWeekYearTokens)&&or(D)&&Ta(D,n,String(t)),!(a!=null&&a.useAdditionalDayOfYearTokens)&&rr(D)&&Ta(D,n,String(t)),C(g,D,Y.localize,P);if(M.match(Ko))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return D}).join("");return F}function zo(t){var n=t.match(Xo);return n?n[1].replace(Jo,"'"):t}function Zo(t,n){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t}function ei(t){le(1,arguments);var n=ve(t),a=n.getDay();return a}function ti(t){le(1,arguments);var n=ve(t),a=n.getFullYear(),e=n.getMonth(),r=new Date(0);return r.setFullYear(a,e+1,0),r.setHours(0,0,0,0),r.getDate()}function Ct(t){le(1,arguments);var n=ve(t),a=n.getHours();return a}var ai=6048e5;function ni(t){le(1,arguments);var n=ve(t),a=_a(n).getTime()-Hr(n).getTime();return Math.round(a/ai)+1}function Pt(t){le(1,arguments);var n=ve(t),a=n.getMinutes();return a}function Ae(t){le(1,arguments);var n=ve(t),a=n.getMonth();return a}function Kt(t){le(1,arguments);var n=ve(t),a=n.getSeconds();return a}function ri(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=ve(t),m=y.getFullYear(),c=kt(),p=fe((a=(e=(r=(i=n==null?void 0:n.firstWeekContainsDate)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:c.firstWeekContainsDate)!==null&&e!==void 0?e:(d=c.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=new Date(0);$.setFullYear(m+1,0,p),$.setHours(0,0,0,0);var A=Ht($,n),N=new Date(0);N.setFullYear(m,0,p),N.setHours(0,0,0,0);var X=Ht(N,n);return y.getTime()>=A.getTime()?m+1:y.getTime()>=X.getTime()?m:m-1}function oi(t,n){var a,e,r,i,o,l,d,u;le(1,arguments);var y=kt(),m=fe((a=(e=(r=(i=n==null?void 0:n.firstWeekContainsDate)!==null&&i!==void 0?i:n==null||(o=n.locale)===null||o===void 0||(l=o.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:y.firstWeekContainsDate)!==null&&e!==void 0?e:(d=y.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&a!==void 0?a:1),c=ri(t,n),p=new Date(0);p.setFullYear(c,0,m),p.setHours(0,0,0,0);var $=Ht(p,n);return $}var ii=6048e5;function li(t,n){le(1,arguments);var a=ve(t),e=Ht(a,n).getTime()-oi(a,n).getTime();return Math.round(e/ii)+1}function Ie(t){return le(1,arguments),ve(t).getFullYear()}function fa(t,n){le(2,arguments);var a=ve(t),e=ve(n);return a.getTime()>e.getTime()}function va(t,n){le(2,arguments);var a=ve(t),e=ve(n);return a.getTime()t.length)&&(n=t.length);for(var a=0,e=new Array(n);a=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,l;return{s:function(){a=a.call(t)},n:function(){var u=a.next();return i=u.done,u},e:function(u){o=!0,l=u},f:function(){try{!i&&a.return!=null&&a.return()}finally{if(o)throw l}}}}function re(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,n){return Xa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},Xa(t,n)}function xe(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Xa(t,n)}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},Da(t)}function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ci(t,n){if(n&&(st(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return re(t)}function Me(t){var n=si();return function(){var e=Da(t),r;if(n){var i=Da(this).constructor;r=Reflect.construct(e,arguments,i)}else r=e.apply(this,arguments);return ci(this,r)}}function ke(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function di(t,n){if(st(t)!=="object"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var e=a.call(t,n||"default");if(st(e)!=="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function lr(t){var n=di(t,"string");return st(n)==="symbol"?n:String(n)}function Pn(t,n){for(var a=0;a0,e=a?n:1-n,r;if(e<=50)r=t||100;else{var i=e+50,o=Math.floor(i/100)*100,l=t>=i%100;r=t+o-(l?100:0)}return a?r:1-r}function dr(t){return t%400===0||t%4===0&&t%100!==0}var hi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o0}},{key:"set",value:function(r,i,o){var l=r.getUTCFullYear();if(o.isTwoDigitYear){var d=cr(o.year,l);return r.setUTCFullYear(d,0,1),r.setUTCHours(0,0,0,0),r}var u=!("era"in i)||i.era===1?o.year:1-o.year;return r.setUTCFullYear(u,0,1),r.setUTCHours(0,0,0,0),r}}]),a}(Se),yi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o0}},{key:"set",value:function(r,i,o,l){var d=un(r,l);if(o.isTwoDigitYear){var u=cr(o.year,d);return r.setUTCFullYear(u,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),jt(r,l)}var y=!("era"in i)||i.era===1?o.year:1-o.year;return r.setUTCFullYear(y,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),jt(r,l)}}]),a}(Se),gi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=4}},{key:"set",value:function(r,i,o){return r.setUTCMonth((o-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),a}(Se),_i=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=4}},{key:"set",value:function(r,i,o){return r.setUTCMonth((o-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),a}(Se),ki=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=11}},{key:"set",value:function(r,i,o){return r.setUTCMonth(o,1),r.setUTCHours(0,0,0,0),r}}]),a}(Se),Ti=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=11}},{key:"set",value:function(r,i,o){return r.setUTCMonth(o,1),r.setUTCHours(0,0,0,0),r}}]),a}(Se);function Di(t,n,a){le(2,arguments);var e=ve(t),r=fe(n),i=ar(e,a)-r;return e.setUTCDate(e.getUTCDate()-i*7),e}var xi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=53}},{key:"set",value:function(r,i,o,l){return jt(Di(r,o,l),l)}}]),a}(Se);function Mi(t,n){le(2,arguments);var a=ve(t),e=fe(n),r=tr(a)-e;return a.setUTCDate(a.getUTCDate()-r*7),a}var Ci=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=53}},{key:"set",value:function(r,i,o){return Jt(Mi(r,o))}}]),a}(Se),Pi=[31,28,31,30,31,30,31,31,30,31,30,31],Si=[31,29,31,30,31,30,31,31,30,31,30,31],Oi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=Si[d]:i>=1&&i<=Pi[d]}},{key:"set",value:function(r,i,o){return r.setUTCDate(o),r.setUTCHours(0,0,0,0),r}}]),a}(Se),Ni=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=366:i>=1&&i<=365}},{key:"set",value:function(r,i,o){return r.setUTCMonth(0,o),r.setUTCHours(0,0,0,0),r}}]),a}(Se);function cn(t,n,a){var e,r,i,o,l,d,u,y;le(2,arguments);var m=kt(),c=fe((e=(r=(i=(o=a==null?void 0:a.weekStartsOn)!==null&&o!==void 0?o:a==null||(l=a.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:m.weekStartsOn)!==null&&r!==void 0?r:(u=m.locale)===null||u===void 0||(y=u.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&e!==void 0?e:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=ve(t),$=fe(n),A=p.getUTCDay(),N=$%7,X=(N+7)%7,k=(X=0&&i<=6}},{key:"set",value:function(r,i,o,l){return r=cn(r,o,l),r.setUTCHours(0,0,0,0),r}}]),a}(Se),$i=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=6}},{key:"set",value:function(r,i,o,l){return r=cn(r,o,l),r.setUTCHours(0,0,0,0),r}}]),a}(Se),Ii=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=6}},{key:"set",value:function(r,i,o,l){return r=cn(r,o,l),r.setUTCHours(0,0,0,0),r}}]),a}(Se);function Ei(t,n){le(2,arguments);var a=fe(n);a%7===0&&(a=a-7);var e=1,r=ve(t),i=r.getUTCDay(),o=a%7,l=(o+7)%7,d=(l=1&&i<=7}},{key:"set",value:function(r,i,o){return r=Ei(r,o),r.setUTCHours(0,0,0,0),r}}]),a}(Se),Ui=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=12}},{key:"set",value:function(r,i,o){var l=r.getUTCHours()>=12;return l&&o<12?r.setUTCHours(o+12,0,0,0):!l&&o===12?r.setUTCHours(0,0,0,0):r.setUTCHours(o,0,0,0),r}}]),a}(Se),Vi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=23}},{key:"set",value:function(r,i,o){return r.setUTCHours(o,0,0,0),r}}]),a}(Se),Bi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=11}},{key:"set",value:function(r,i,o){var l=r.getUTCHours()>=12;return l&&o<12?r.setUTCHours(o+12,0,0,0):r.setUTCHours(o,0,0,0),r}}]),a}(Se),Wi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&i<=24}},{key:"set",value:function(r,i,o){var l=o<=24?o%24:o;return r.setUTCHours(l,0,0,0),r}}]),a}(Se),Hi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=59}},{key:"set",value:function(r,i,o){return r.setUTCMinutes(o,0,0),r}}]),a}(Se),ji=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=0&&i<=59}},{key:"set",value:function(r,i,o){return r.setUTCSeconds(o,0),r}}]),a}(Se),qi=function(t){xe(a,t);var n=Me(a);function a(){var e;ke(this,a);for(var r=arguments.length,i=new Array(r),o=0;o=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=fe(($=(A=(N=(X=e==null?void 0:e.weekStartsOn)!==null&&X!==void 0?X:e==null||(k=e.locale)===null||k===void 0||(_=k.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&N!==void 0?N:U.weekStartsOn)!==null&&A!==void 0?A:(S=U.locale)===null||S===void 0||(w=S.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&$!==void 0?$:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(Y==="")return O===""?ve(a):new Date(NaN);var g={firstWeekContainsDate:H,weekStartsOn:v,locale:L},P=[new pi],F=Y.match(Zi).map(function(oe){var ae=oe[0];if(ae in Ga){var ye=Ga[ae];return ye(oe,L.formatLong)}return oe}).join("").match(zi),D=[],M=Cn(F),C;try{var x=function(){var ae=C.value;!(e!=null&&e.useAdditionalWeekYearTokens)&&or(ae)&&Ta(ae,Y,t),!(e!=null&&e.useAdditionalDayOfYearTokens)&&rr(ae)&&Ta(ae,Y,t);var ye=ae[0],be=Ki[ye];if(be){var de=be.incompatibleTokens;if(Array.isArray(de)){var We=D.find(function(qe){return de.includes(qe.token)||qe.token===ye});if(We)throw new RangeError("The format string mustn't contain `".concat(We.fullToken,"` and `").concat(ae,"` at the same time"))}else if(be.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(ae,"` and any other token at the same time"));D.push({token:ye,fullToken:ae});var Je=be.run(O,ae,L.match,g);if(!Je)return{v:new Date(NaN)};P.push(Je.setter),O=Je.rest}else{if(ye.match(nl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ye+"`");if(ae==="''"?ae="'":ye==="'"&&(ae=rl(ae)),O.indexOf(ae)===0)O=O.slice(ae.length);else return{v:new Date(NaN)}}};for(M.s();!(C=M.n()).done;){var s=x();if(st(s)==="object")return s.v}}catch(oe){M.e(oe)}finally{M.f()}if(O.length>0&&al.test(O))return new Date(NaN);var E=P.map(function(oe){return oe.priority}).sort(function(oe,ae){return ae-oe}).filter(function(oe,ae,ye){return ye.indexOf(oe)===ae}).map(function(oe){return P.filter(function(ae){return ae.priority===oe}).sort(function(ae,ye){return ye.subPriority-ae.subPriority})}).map(function(oe){return oe[0]}),K=ve(a);if(isNaN(K.getTime()))return new Date(NaN);var W=Zn(K,ka(K)),T={},f=Cn(E),h;try{for(f.s();!(h=f.n()).done;){var I=h.value;if(!I.validate(W,g))return new Date(NaN);var z=I.set(W,T,g);Array.isArray(z)?(W=z[0],Zo(T,z[1])):W=z}}catch(oe){f.e(oe)}finally{f.f()}return W}function rl(t){return t.match(el)[1].replace(tl,"'")}function ol(t,n){le(2,arguments);var a=fe(n);return St(t,-a)}function il(t,n){var a;le(1,arguments);var e=fe((a=n==null?void 0:n.additionalDigits)!==null&&a!==void 0?a:2);if(e!==2&&e!==1&&e!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var r=cl(t),i;if(r.date){var o=dl(r.date,e);i=fl(o.restDateString,o.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var l=i.getTime(),d=0,u;if(r.time&&(d=vl(r.time),isNaN(d)))return new Date(NaN);if(r.timezone){if(u=pl(r.timezone),isNaN(u))return new Date(NaN)}else{var y=new Date(l+d),m=new Date(0);return m.setFullYear(y.getUTCFullYear(),y.getUTCMonth(),y.getUTCDate()),m.setHours(y.getUTCHours(),y.getUTCMinutes(),y.getUTCSeconds(),y.getUTCMilliseconds()),m}return new Date(l+d+u)}var ha={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ll=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ul=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,sl=/^([+-])(\d{2})(?::?(\d{2}))?$/;function cl(t){var n={},a=t.split(ha.dateTimeDelimiter),e;if(a.length>2)return n;if(/:/.test(a[0])?e=a[0]:(n.date=a[0],e=a[1],ha.timeZoneDelimiter.test(n.date)&&(n.date=t.split(ha.timeZoneDelimiter)[0],e=t.substr(n.date.length,t.length))),e){var r=ha.timezone.exec(e);r?(n.time=e.replace(r[1],""),n.timezone=r[1]):n.time=e}return n}function dl(t,n){var a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+n)+"})|(\\d{2}|[+-]\\d{"+(2+n)+"})$)"),e=t.match(a);if(!e)return{year:NaN,restDateString:""};var r=e[1]?parseInt(e[1]):null,i=e[2]?parseInt(e[2]):null;return{year:i===null?r:i*100,restDateString:t.slice((e[1]||e[2]).length)}}function fl(t,n){if(n===null)return new Date(NaN);var a=t.match(ll);if(!a)return new Date(NaN);var e=!!a[4],r=oa(a[1]),i=oa(a[2])-1,o=oa(a[3]),l=oa(a[4]),d=oa(a[5])-1;if(e)return wl(n,l,d)?ml(n,l,d):new Date(NaN);var u=new Date(0);return!yl(n,i,o)||!gl(n,r)?new Date(NaN):(u.setUTCFullYear(n,i,Math.max(r,o)),u)}function oa(t){return t?parseInt(t):1}function vl(t){var n=t.match(ul);if(!n)return NaN;var a=Ya(n[1]),e=Ya(n[2]),r=Ya(n[3]);return bl(a,e,r)?a*ln+e*on+r*1e3:NaN}function Ya(t){return t&&parseFloat(t.replace(",","."))||0}function pl(t){if(t==="Z")return 0;var n=t.match(sl);if(!n)return 0;var a=n[1]==="+"?-1:1,e=parseInt(n[2]),r=n[3]&&parseInt(n[3])||0;return _l(e,r)?a*(e*ln+r*on):NaN}function ml(t,n,a){var e=new Date(0);e.setUTCFullYear(t,0,4);var r=e.getUTCDay()||7,i=(n-1)*7+a+1-r;return e.setUTCDate(e.getUTCDate()+i),e}var hl=[31,null,31,30,31,30,31,31,30,31,30,31];function fr(t){return t%400===0||t%4===0&&t%100!==0}function yl(t,n,a){return n>=0&&n<=11&&a>=1&&a<=(hl[n]||(fr(t)?29:28))}function gl(t,n){return n>=1&&n<=(fr(t)?366:365)}function wl(t,n,a){return n>=1&&n<=53&&a>=0&&a<=6}function bl(t,n,a){return t===24?n===0&&a===0:a>=0&&a<60&&n>=0&&n<60&&t>=0&&t<25}function _l(t,n){return n>=0&&n<=59}function Gt(t,n){le(2,arguments);var a=ve(t),e=fe(n),r=a.getFullYear(),i=a.getDate(),o=new Date(0);o.setFullYear(r,e,15),o.setHours(0,0,0,0);var l=ti(o);return a.setMonth(e,Math.min(i,l)),a}function Ge(t,n){if(le(2,arguments),st(n)!=="object"||n===null)throw new RangeError("values parameter must be an object");var a=ve(t);return isNaN(a.getTime())?new Date(NaN):(n.year!=null&&a.setFullYear(n.year),n.month!=null&&(a=Gt(a,n.month)),n.date!=null&&a.setDate(fe(n.date)),n.hours!=null&&a.setHours(fe(n.hours)),n.minutes!=null&&a.setMinutes(fe(n.minutes)),n.seconds!=null&&a.setSeconds(fe(n.seconds)),n.milliseconds!=null&&a.setMilliseconds(fe(n.milliseconds)),a)}function vr(t,n){le(2,arguments);var a=ve(t),e=fe(n);return a.setHours(e),a}function dn(t,n){le(2,arguments);var a=ve(t),e=fe(n);return a.setMilliseconds(e),a}function pr(t,n){le(2,arguments);var a=ve(t),e=fe(n);return a.setMinutes(e),a}function mr(t,n){le(2,arguments);var a=ve(t),e=fe(n);return a.setSeconds(e),a}function Ot(t,n){le(2,arguments);var a=ve(t),e=fe(n);return isNaN(a.getTime())?new Date(NaN):(a.setFullYear(e),a)}function Xt(t,n){le(2,arguments);var a=fe(n);return bt(t,-a)}function kl(t,n){if(le(2,arguments),!n||st(n)!=="object")return new Date(NaN);var a=n.years?fe(n.years):0,e=n.months?fe(n.months):0,r=n.weeks?fe(n.weeks):0,i=n.days?fe(n.days):0,o=n.hours?fe(n.hours):0,l=n.minutes?fe(n.minutes):0,d=n.seconds?fe(n.seconds):0,u=Xt(t,e+a*12),y=ol(u,i+r*7),m=l+o*60,c=d+m*60,p=c*1e3,$=new Date(y.getTime()-p);return $}function Tl(t,n){le(2,arguments);var a=fe(n);return Kn(t,-a)}function Ca(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),J("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),J("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),J("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}function Dl(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),J("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}function Sn(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}function On(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}function hr(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),J("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}function yr(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}function gr(){return R(),Q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[J("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}const Nn=(t,n,a,e,r)=>{const i=Ja(t,n.slice(0,t.length),new Date);return sa(i)&&zn(i)?e||r?i:Ge(i,{hours:+a.hours,minutes:+(a==null?void 0:a.minutes),seconds:+(a==null?void 0:a.seconds),milliseconds:0}):null},xl=(t,n,a,e,r)=>{const i=Array.isArray(a)?a[0]:a;if(typeof n=="string")return Nn(t,n,i,e,r);if(Array.isArray(n)){let o=null;for(const l of n)if(o=Nn(t,l,i,e,r),o)break;return o}return typeof n=="function"?n(t):null},q=t=>t?new Date(t):new Date,Ml=(t,n,a)=>{if(n){const r=(t.getMonth()+1).toString().padStart(2,"0"),i=t.getDate().toString().padStart(2,"0"),o=t.getHours().toString().padStart(2,"0"),l=t.getMinutes().toString().padStart(2,"0"),d=a?t.getSeconds().toString().padStart(2,"0"):"00";return`${t.getFullYear()}-${r}-${i}T${o}:${l}:${d}.000Z`}const e=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return new Date(e).toISOString()},ut=t=>{let n=q(JSON.parse(JSON.stringify(t)));return n=vr(n,0),n=pr(n,0),n=mr(n,0),n=dn(n,0),n},lt=(t,n,a,e)=>{let r=t?q(t):q();return(n||n===0)&&(r=vr(r,+n)),(a||a===0)&&(r=pr(r,+a)),(e||e===0)&&(r=mr(r,+e)),dn(r,0)},Ze=(t,n)=>!t||!n?!1:va(ut(t),ut(n)),Ne=(t,n)=>!t||!n?!1:Vt(ut(t),ut(n)),at=(t,n)=>!t||!n?!1:fa(ut(t),ut(n)),wr=(t,n,a)=>t&&t[0]&&t[1]?at(a,t[0])&&Ze(a,t[1]):t&&t[0]&&n?at(a,t[0])&&Ze(a,n)||Ze(a,t[0])&&at(a,n):!1,ia=t=>{const n=Ge(new Date(t),{date:1});return ut(n)},Ua=(t,n,a)=>n&&(a||a===0)?Object.fromEntries(["hours","minutes","seconds"].map(e=>e===n?[e,a]:[e,isNaN(+t[e])?void 0:+t[e]])):{hours:isNaN(+t.hours)?void 0:+t.hours,minutes:isNaN(+t.minutes)?void 0:+t.minutes,seconds:isNaN(+t.seconds)?void 0:+t.seconds},ya=t=>({hours:Ct(t),minutes:Pt(t),seconds:Kt(t)}),la=zt({menuFocused:!1,shiftKeyInMenu:!1}),br=()=>{const t=a=>{la.menuFocused=a},n=a=>{la.shiftKeyInMenu!==a&&(la.shiftKeyInMenu=a)};return{control:Z(()=>({shiftKeyInMenu:la.shiftKeyInMenu,menuFocused:la.menuFocused})),setMenuFocused:t,setShiftKey:n}};function fn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _r={exports:{}};(function(t){function n(a){return a&&a.__esModule?a:{default:a}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})(_r);var Cl=_r.exports,Ka={exports:{}};(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=a;function a(e){if(e===null||e===!0||e===!1)return NaN;var r=Number(e);return isNaN(r)?r:r<0?Math.ceil(r):Math.floor(r)}t.exports=n.default})(Ka,Ka.exports);var Pl=Ka.exports;const Sl=fn(Pl);var za={exports:{}};(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=a;function a(e){var r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return r.setUTCFullYear(e.getFullYear()),e.getTime()-r.getTime()}t.exports=n.default})(za,za.exports);var Ol=za.exports;const An=fn(Ol);function Nl(t,n){var a=El(n);return a.formatToParts?$l(a,t):Il(a,t)}var Al={year:0,month:1,day:2,hour:3,minute:4,second:5};function $l(t,n){try{for(var a=t.formatToParts(n),e=[],r=0;r=0&&(e[i]=parseInt(a[r].value,10))}return e}catch(o){if(o instanceof RangeError)return[NaN];throw o}}function Il(t,n){var a=t.format(n).replace(/\u200E/g,""),e=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(a);return[e[3],e[1],e[2],e[4],e[5],e[6]]}var La={};function El(t){if(!La[t]){var n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),a=n==="06/25/2014, 00:00:00"||n==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";La[t]=a?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:t,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return La[t]}function vn(t,n,a,e,r,i,o){var l=new Date(0);return l.setUTCFullYear(t,n,a),l.setUTCHours(e,r,i,o),l}var $n=36e5,Yl=6e4,Ra={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function pn(t,n,a){var e,r;if(!t||(e=Ra.timezoneZ.exec(t),e))return 0;var i;if(e=Ra.timezoneHH.exec(t),e)return i=parseInt(e[1],10),In(i)?-(i*$n):NaN;if(e=Ra.timezoneHHMM.exec(t),e){i=parseInt(e[1],10);var o=parseInt(e[2],10);return In(i,o)?(r=Math.abs(i)*$n+o*Yl,i>0?-r:r):NaN}if(Rl(t)){n=new Date(n||Date.now());var l=a?n:Ul(n),d=Za(l,t),u=a?d:Ll(n,d,t);return-u}return NaN}function Ul(t){return vn(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function Za(t,n){var a=Nl(t,n),e=vn(a[0],a[1]-1,a[2],a[3]%24,a[4],a[5],0).getTime(),r=t.getTime(),i=r%1e3;return r-=i>=0?i:1e3+i,e-r}function Ll(t,n,a){var e=t.getTime(),r=e-n,i=Za(new Date(r),a);if(n===i)return n;r-=i-n;var o=Za(new Date(r),a);return i===o?i:Math.max(i,o)}function In(t,n){return-23<=t&&t<=23&&(n==null||0<=n&&n<=59)}var En={};function Rl(t){if(En[t])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:t}),En[t]=!0,!0}catch{return!1}}var Fl=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const kr=Fl;var Fa=36e5,Yn=6e4,Vl=2,tt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:kr};function en(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(t===null)return new Date(NaN);var a=n||{},e=a.additionalDigits==null?Vl:Sl(a.additionalDigits);if(e!==2&&e!==1&&e!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]")return new Date(t.getTime());if(typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]")return new Date(t);if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var r=Bl(t),i=Wl(r.date,e),o=i.year,l=i.restDateString,d=Hl(l,o);if(isNaN(d))return new Date(NaN);if(d){var u=d.getTime(),y=0,m;if(r.time&&(y=jl(r.time),isNaN(y)))return new Date(NaN);if(r.timeZone||a.timeZone){if(m=pn(r.timeZone||a.timeZone,new Date(u+y)),isNaN(m))return new Date(NaN)}else m=An(new Date(u+y)),m=An(new Date(u+y+m));return new Date(u+y+m)}else return new Date(NaN)}function Bl(t){var n={},a=tt.dateTimePattern.exec(t),e;if(a?(n.date=a[1],e=a[3]):(a=tt.datePattern.exec(t),a?(n.date=a[1],e=a[2]):(n.date=null,e=t)),e){var r=tt.timeZone.exec(e);r?(n.time=e.replace(r[1],""),n.timeZone=r[1].trim()):n.time=e}return n}function Wl(t,n){var a=tt.YYY[n],e=tt.YYYYY[n],r;if(r=tt.YYYY.exec(t)||e.exec(t),r){var i=r[1];return{year:parseInt(i,10),restDateString:t.slice(i.length)}}if(r=tt.YY.exec(t)||a.exec(t),r){var o=r[1];return{year:parseInt(o,10)*100,restDateString:t.slice(o.length)}}return{year:null}}function Hl(t,n){if(n===null)return null;var a,e,r,i;if(t.length===0)return e=new Date(0),e.setUTCFullYear(n),e;if(a=tt.MM.exec(t),a)return e=new Date(0),r=parseInt(a[1],10)-1,Ln(n,r)?(e.setUTCFullYear(n,r),e):new Date(NaN);if(a=tt.DDD.exec(t),a){e=new Date(0);var o=parseInt(a[1],10);return Gl(n,o)?(e.setUTCFullYear(n,0,o),e):new Date(NaN)}if(a=tt.MMDD.exec(t),a){e=new Date(0),r=parseInt(a[1],10)-1;var l=parseInt(a[2],10);return Ln(n,r,l)?(e.setUTCFullYear(n,r,l),e):new Date(NaN)}if(a=tt.Www.exec(t),a)return i=parseInt(a[1],10)-1,Rn(n,i)?Un(n,i):new Date(NaN);if(a=tt.WwwD.exec(t),a){i=parseInt(a[1],10)-1;var d=parseInt(a[2],10)-1;return Rn(n,i,d)?Un(n,i,d):new Date(NaN)}return null}function jl(t){var n,a,e;if(n=tt.HH.exec(t),n)return a=parseFloat(n[1].replace(",",".")),Va(a)?a%24*Fa:NaN;if(n=tt.HHMM.exec(t),n)return a=parseInt(n[1],10),e=parseFloat(n[2].replace(",",".")),Va(a,e)?a%24*Fa+e*Yn:NaN;if(n=tt.HHMMSS.exec(t),n){a=parseInt(n[1],10),e=parseInt(n[2],10);var r=parseFloat(n[3].replace(",","."));return Va(a,e,r)?a%24*Fa+e*Yn+r*1e3:NaN}return null}function Un(t,n,a){n=n||0,a=a||0;var e=new Date(0);e.setUTCFullYear(t,0,4);var r=e.getUTCDay()||7,i=n*7+a+1-r;return e.setUTCDate(e.getUTCDate()+i),e}var ql=[31,28,31,30,31,30,31,31,30,31,30,31],Ql=[31,29,31,30,31,30,31,31,30,31,30,31];function Tr(t){return t%400===0||t%4===0&&t%100!==0}function Ln(t,n,a){if(n<0||n>11)return!1;if(a!=null){if(a<1)return!1;var e=Tr(t);if(e&&a>Ql[n]||!e&&a>ql[n])return!1}return!0}function Gl(t,n){if(n<1)return!1;var a=Tr(t);return!(a&&n>366||!a&&n>365)}function Rn(t,n,a){return!(n<0||n>52||a!=null&&(a<0||a>6))}function Va(t,n,a){return!(t!=null&&(t<0||t>=25)||n!=null&&(n<0||n>=60)||a!=null&&(a<0||a>=60))}var tn={exports:{}},an={exports:{}};(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=a;function a(e,r){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}t.exports=n.default})(an,an.exports);var Xl=an.exports;(function(t,n){var a=Cl.default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var e=a(Xl);function r(i){return(0,e.default)({},i)}t.exports=n.default})(tn,tn.exports);var Jl=tn.exports;const Kl=fn(Jl);function zl(t,n,a){var e=en(t,a),r=pn(n,e,!0),i=new Date(e.getTime()-r),o=new Date(0);return o.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),o.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),o}function Zl(t,n,a){if(typeof t=="string"&&!t.match(kr)){var e=Kl(a);return e.timeZone=n,en(t,e)}var r=en(t,a),i=vn(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()).getTime(),o=pn(n,new Date(i));return new Date(i+o)}const eu=(t,n=3)=>{const a=[];for(let e=0;enew Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${n}T00:00:00+00:00`)).slice(0,2)}function tu(t){return n=>Wt(new Date(`2017-01-0${n}T00:00:00+00:00`),"EEEEEE",{locale:t})}const au=(t,n,a)=>{const e=[1,2,3,4,5,6,7];let r;if(t!==null)try{r=e.map(tu(t))}catch{r=e.map(Fn(n))}else r=e.map(Fn(n));const i=r.slice(0,a),o=r.slice(a+1,r.length);return[r[a]].concat(...o).concat(...i)},nu=(t,n)=>{const a=[];for(let e=+t[0];e<=+t[1];e++)a.push({value:+e,text:`${e}`});return n?a.reverse():a},ru=(t,n,a)=>{const e=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const o=i<10?`0${i}`:i;return new Date(`2017-${o}-01T00:00:00+00:00`)});if(t!==null)try{const i=a==="long"?"MMMM":"MMM";return e.map((o,l)=>{const d=Wt(o,i,{locale:t});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:l}})}catch{}const r=new Intl.DateTimeFormat(n,{month:a,timeZone:"UTC"});return e.map((i,o)=>{const l=r.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:o}})},ou=t=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][t],Re=t=>{const n=j(t);return n!=null&&n.$el?n==null?void 0:n.$el:n},iu=t=>Object.assign({type:"dot"},t),Dr=t=>Array.isArray(t)?!!t[0]&&!!t[1]:!1,Ma={prop:t=>`"${t}" prop must be enabled!`,dateArr:t=>`You need to use array as "model-value" binding in order to support "${t}"`},Ke=t=>t,Vn=t=>t===0?t:!t||isNaN(+t)?null:+t,lu=t=>t===0?!0:!!t,Bn=t=>t===null,uu=t=>{if(t)return[...t.querySelectorAll("input, button, select, textarea, a[href]")][0]},Wn=t=>Object.assign({menuAppear:"",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down"},t),su=t=>Object.assign({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:n=>`Increment ${n}`,decrementValue:n=>`Decrement ${n}`,openTpOverlay:n=>`Open ${n} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",day:()=>""},t),cu=t=>t===null?0:typeof t=="boolean"?t?2:0:+t>=2?+t:2,du=(t,n,a)=>t||(typeof a=="string"?a:n),fu=t=>typeof t=="boolean"?t?Wn({}):!1:Wn(t),vu=()=>({enterSubmit:!0,tabSubmit:!0,openMenu:!0,rangeSeparator:" - "}),pu=t=>Object.assign({months:[],years:[],times:{hours:[],minutes:[],seconds:[]}},t),mu=t=>Object.assign({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0},t),it=t=>{const n=()=>{if(t.partialRange)return null;throw new Error(Ma.prop("partial-range"))},a=Z(()=>({ariaLabels:su(t.ariaLabels),textInputOptions:Object.assign(vu(),t.textInputOptions),multiCalendars:cu(t.multiCalendars),previewFormat:du(t.previewFormat,t.format,i()),filters:pu(t.filters),transitions:fu(t.transitions),startTime:p(),actionRow:mu(t.actionRow)})),e=T=>{if(t.range)return T();throw new Error(Ma.prop("range"))},r=()=>{const T=t.enableSeconds?":ss":"";return t.is24?`HH:mm${T}`:`hh:mm${T} aa`},i=()=>t.format?t.format:t.monthPicker?"MM/yyyy":t.timePicker?r():t.weekPicker?"MM/dd/yyyy":t.yearPicker?"yyyy":t.enableTimePicker?`MM/dd/yyyy, ${r()}`:"MM/dd/yyyy",o=(T,f)=>{if(typeof t.format=="function")return t.format(T);const h=f||i(),I=t.formatLocale?{locale:t.formatLocale}:void 0;return Array.isArray(T)?`${Wt(T[0],h,I)}${t.modelAuto&&!T[1]?"":a.value.textInputOptions.rangeSeparator||"-"}${T[1]?Wt(T[1],h,I):""}`:Wt(T,h,I)},l=T=>t.timezone?zl(T,t.timezone):T,d=T=>t.timezone?Zl(T,t.timezone):T,u=Z(()=>T=>{var f;return(f=t.hideNavigation)==null?void 0:f.includes(T)}),y=T=>{var f,h,I,z;return Array.isArray(t.allowedDates)&&!((f=t.allowedDates)!=null&&f.length)?!0:(h=t.arrMapValues)!=null&&h.allowedDates?!k(T,t.arrMapValues.allowedDates):(I=t.allowedDates)!=null&&I.length?!((z=t.allowedDates)!=null&&z.some(oe=>Ne(l(q(oe)),l(T)))):!1},m=T=>{var f;const h=t.maxDate?at(l(T),l(q(t.maxDate))):!1,I=t.minDate?Ze(l(T),l(q(t.minDate))):!1,z=k(T,(f=t.arrMapValues)!=null&&f.disabledDates?t.arrMapValues.disabledDates:t.disabledDates),oe=a.value.filters.months.map(We=>+We).includes(Ae(T)),ae=t.disabledWeekDays.length?t.disabledWeekDays.some(We=>+We===ei(T)):!1,ye=y(T),be=Ie(T),de=be<+t.yearRange[0]||be>+t.yearRange[1];return!(h||I||z||oe||de||ae||ye)},c=T=>{const f={hours:Ct(q()),minutes:Pt(q()),seconds:t.enableSeconds?Kt(q()):0};return Object.assign(f,T)},p=()=>t.range?t.startTime&&Array.isArray(t.startTime)?[c(t.startTime[0]),c(t.startTime[1])]:null:t.startTime&&!Array.isArray(t.startTime)?c(t.startTime):null,$=T=>!m(T),A=T=>Array.isArray(T)?sa(T[0])&&(T[1]?sa(T[1]):!0):T?sa(T):!1,N=T=>T instanceof Date?T:il(T),X=T=>{const f=Ht(l(T),{weekStartsOn:+t.weekStart}),h=Gr(l(T),{weekStartsOn:+t.weekStart});return[f,h]},k=(T,f)=>T?f instanceof Map?!!f.get(E(T)):Array.isArray(f)?f.some(h=>Ne(l(q(h)),l(T))):f(q(JSON.parse(JSON.stringify(T)))):!0,_=(T,f,h)=>{let I=T?q(T):q();return(f||f===0)&&(I=Gt(I,f)),h&&(I=Ot(I,h)),I},S=T=>Ge(q(),ya(T)),w=T=>Ge(q(),{hours:+T.hours||0,minutes:+T.minutes||0,seconds:+T.seconds||0}),O=(T,f,h,I)=>{if(!T)return!0;if(I){const z=h==="max"?va(T,f):fa(T,f),oe={seconds:0,milliseconds:0};return z||Vt(Ge(T,oe),Ge(f,oe))}return h==="max"?T.getTime()<=f.getTime():T.getTime()>=f.getTime()},Y=()=>!t.enableTimePicker||t.monthPicker||t.yearPicker||t.ignoreTimeValidation,U=T=>Array.isArray(T)?[T[0]?S(T[0]):null,T[1]?S(T[1]):null]:S(T),L=T=>{const f=t.maxTime?w(t.maxTime):q(t.maxDate);return Array.isArray(T)?O(T[0],f,"max",!!t.maxDate)&&O(T[1],f,"max",!!t.maxDate):O(T,f,"max",!!t.maxDate)},H=(T,f)=>{const h=t.minTime?w(t.minTime):q(t.minDate);return Array.isArray(T)?O(T[0],h,"min",!!t.minDate)&&O(T[1],h,"min",!!t.minDate)&&f:O(T,h,"min",!!t.minDate)&&f},v=T=>{let f=!0;if(!T||Y())return!0;const h=!t.minDate&&!t.maxDate?U(T):T;if((t.maxTime||t.maxDate)&&(f=L(Ke(h))),(t.minTime||t.minDate)&&(f=H(Ke(h),f)),t.disabledTimes){const I=Array.isArray(T)?[ya(T[0]),T[1]?ya(T[1]):void 0]:ya(T);f=!t.disabledTimes(I)}return f},g=(T,f)=>{const h=q(JSON.parse(JSON.stringify(T))),I=[];for(let z=0;z<7;z++){const oe=St(h,z),ae=Ae(oe)!==f;I.push({text:t.hideOffsetDates&&ae?"":oe.getDate(),value:oe,current:!ae,classData:{}})}return I},P=(T,f)=>{switch(t.sixWeeks===!0?"append":t.sixWeeks){case"prepend":return[!0,!1];case"center":return[T==0,!0];case"fair":return[T==0||f>T,!0];case"append":return[!1,!1];default:return[!1,!1]}},F=(T,f)=>{const h=[],I=q(l(new Date(f,T))),z=q(l(new Date(f,T+1,0))),oe=t.weekStart,ae=Ht(I,{weekStartsOn:oe}),ye=be=>{const de=g(be,T);if(h.push({days:de}),!h[h.length-1].days.some(We=>Ne(ut(We.value),ut(z)))){const We=St(be,7);ye(We)}};if(ye(ae),t.sixWeeks&&h.length<6){const be=6-h.length,de=(I.getDay()+7-oe)%7,We=6-(z.getDay()+7-oe)%7,[Je,qe]=P(de,We);for(let dt=1;dt<=be;dt++)if(qe?!!(dt%2)==Je:Je){const pt=h[0].days[0],Tt=g(St(pt.value,-7),Ae(I));h.unshift({days:Tt})}else{const pt=h[h.length-1],Tt=pt.days[pt.days.length-1],Dt=g(St(Tt.value,1),Ae(I));h.push({days:Dt})}}return h},D=(T,f,h)=>[Ge(q(T),{date:1}),Ge(q(),{month:f,year:h,date:1})],M=(T,f)=>Ze(...D(t.minDate,T,f))||Ne(...D(t.minDate,T,f)),C=(T,f)=>at(...D(t.maxDate,T,f))||Ne(...D(t.maxDate,T,f)),x=(T,f,h)=>{let I=!1;return t.maxDate&&h&&C(T,f)&&(I=!0),t.minDate&&!h&&M(T,f)&&(I=!0),I},s=(T,f,h,I)=>{let z=!1;return I?t.minDate&&t.maxDate?z=x(T,f,h):(t.minDate&&M(T,f)||t.maxDate&&C(T,f))&&(z=!0):z=!0,z},E=T=>{const f=ut(l(q(T))).toISOString(),[h]=f.split("T");return h},K=T=>new Map(T.map(f=>[E(f),!0])),W=T=>Array.isArray(T)&&T.length>0;return{checkPartialRangeValue:n,checkRangeEnabled:e,getZonedDate:l,getZonedToUtc:d,formatDate:o,getDefaultPattern:i,validateDate:m,getDefaultStartTime:p,isDisabled:$,isValidDate:A,sanitizeDate:N,getWeekFromDate:X,matchDate:k,setDateMonthOrYear:_,isValidTime:v,getCalendarDays:F,validateMonthYearInRange:s,validateMaxDate:C,validateMinDate:M,assignDefaultTime:c,mapDatesArrToMap:T=>{W(t.allowedDates)&&(T.allowedDates=K(t.allowedDates)),W(t.highlight)&&(T.highlightedDates=K(t.highlight)),W(t.disabledDates)&&(T.disabledDates=K(t.disabledDates))},defaults:a,hideNavigationButtons:u}},$e=zt({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Ba=ne(null),ga=ne(!1),Wa=ne(!1),Ha=ne(!1),ja=ne(!1),et=ne(0),Xe=ne(0),Et=()=>{const t=Z(()=>ga.value?[...$e.selectionGrid,$e.actionRow].filter(m=>m.length):Wa.value?[...$e.timePicker[0],...$e.timePicker[1],ja.value?[]:[Ba.value],$e.actionRow].filter(m=>m.length):Ha.value?[...$e.monthPicker,$e.actionRow]:[$e.monthYear,...$e.calendar,$e.time,$e.actionRow].filter(m=>m.length)),n=m=>{et.value=m?et.value+1:et.value-1;let c=null;t.value[Xe.value]&&(c=t.value[Xe.value][et.value]),c||(et.value=m?et.value-1:et.value+1)},a=m=>{Xe.value===0&&!m||Xe.value===t.value.length&&m||(Xe.value=m?Xe.value+1:Xe.value-1,t.value[Xe.value]?t.value[Xe.value]&&!t.value[Xe.value][et.value]&&et.value!==0&&(et.value=t.value[Xe.value].length-1):Xe.value=m?Xe.value-1:Xe.value+1)},e=m=>{let c=null;t.value[Xe.value]&&(c=t.value[Xe.value][et.value]),c?c.focus({preventScroll:!ga.value}):et.value=m?et.value-1:et.value+1},r=()=>{n(!0),e(!0)},i=()=>{n(!1),e(!1)},o=()=>{a(!1),e(!0)},l=()=>{a(!0),e(!0)},d=(m,c)=>{$e[c]=m},u=(m,c)=>{$e[c]=m},y=()=>{et.value=0,Xe.value=0};return{buildMatrix:d,buildMultiLevelMatrix:u,setTimePickerBackRef:m=>{Ba.value=m},setSelectionGrid:m=>{ga.value=m,y(),m||($e.selectionGrid=[])},setTimePicker:(m,c=!1)=>{Wa.value=m,ja.value=c,y(),m||($e.timePicker[0]=[],$e.timePicker[1]=[])},setTimePickerElements:(m,c=0)=>{$e.timePicker[c]=m},arrowRight:r,arrowLeft:i,arrowUp:o,arrowDown:l,clearArrowNav:()=>{$e.monthYear=[],$e.calendar=[],$e.time=[],$e.actionRow=[],$e.selectionGrid=[],$e.timePicker[0]=[],$e.timePicker[1]=[],ga.value=!1,Wa.value=!1,ja.value=!1,Ha.value=!1,y(),Ba.value=null},setMonthPicker:m=>{Ha.value=m,y()},refSets:$e}},Hn=t=>Array.isArray(t),Lt=t=>Array.isArray(t),jn=t=>Array.isArray(t)&&t.length===2,hu=(t,n,a,e,r)=>{const{getDefaultStartTime:i,isDisabled:o,sanitizeDate:l,getWeekFromDate:d,setDateMonthOrYear:u,validateMonthYearInRange:y,defaults:m}=it(t),c=Z({get:()=>t.internalModelValue,set:b=>{!t.readonly&&!t.disabled&&n("update:internal-model-value",b)}}),p=ne([]);Nt(c,(b,V)=>{t.range?Y():Vt(b,V)||Y()});const $=da(t,"multiCalendars");Nt($,()=>{se(0)});const A=ne([{month:Ae(q()),year:Ie(q())}]);Nt(A,()=>{A.value.forEach((b,V)=>{n("update-month-year",{instance:V,month:b.month,year:b.year})})},{deep:!0});const N=zt({hours:t.range?[Ct(q()),Ct(q())]:Ct(q()),minutes:t.range?[Pt(q()),Pt(q())]:Pt(q()),seconds:t.range?[0,0]:0}),X=Z(()=>b=>A.value[b]?A.value[b].month:0),k=Z(()=>b=>A.value[b]?A.value[b].year:0),_=Z(()=>{var b;return(b=t.flow)!=null&&b.length&&!t.partialFlow?r.value===t.flow.length:!0}),S=(b,V,ce)=>{var pe,Ye;A.value[b]||(A.value[b]={month:0,year:0}),A.value[b].month=Bn(V)?(pe=A.value[b])==null?void 0:pe.month:V,A.value[b].year=Bn(ce)?(Ye=A.value[b])==null?void 0:Ye.year:ce},w=(b,V)=>{N[b]=V},O=()=>{t.startDate&&(S(0,Ae(q(t.startDate)),Ie(q(t.startDate))),m.value.multiCalendars&&se(0))};ct(()=>{c.value||(O(),m.value.startTime&&C()),Y(!0),t.focusStartDate&&t.startDate&&O()});const Y=(b=!1)=>{if(c.value)return Array.isArray(c.value)?(p.value=c.value,g(b)):L(c.value,b);if(t.timePicker)return P();if(t.monthPicker&&!t.range)return F();if(t.yearPicker&&!t.range)return D();if(m.value.multiCalendars&&b&&!t.startDate)return U(q(),b)},U=(b,V=!1)=>{if((!m.value.multiCalendars||!t.multiStatic||V)&&S(0,Ae(b),Ie(b)),m.value.multiCalendars)for(let ce=1;ce{U(b),w("hours",Ct(b)),w("minutes",Pt(b)),w("seconds",Kt(b)),m.value.multiCalendars&&V&&s()},H=(b,V)=>{b[1]&&t.showLastInRange?U(b[1],V):U(b[0],V);const ce=(pe,Ye)=>[pe(b[0]),b[1]?pe(b[1]):N[Ye][1]];w("hours",ce(Ct,"hours")),w("minutes",ce(Pt,"minutes")),w("seconds",ce(Kt,"seconds"))},v=(b,V)=>{if((t.range||t.weekPicker)&&!t.multiDates)return H(b,V);if(t.multiDates){const ce=b[b.length-1];return L(ce,V)}},g=b=>{const V=c.value;v(V,b),m.value.multiCalendars&&t.multiCalendarsSolo&&s()},P=()=>{if(C(),!t.range)c.value=lt(q(),N.hours,N.minutes,M());else{const b=N.hours,V=N.minutes;c.value=[lt(q(),b[0],V[0],M()),lt(q(),b[1],V[1],M(!1))]}},F=()=>{t.multiDates?c.value=[u(q(),X.value(0),k.value(0))]:c.value=u(q(),X.value(0),k.value(0))},D=()=>{c.value=q()},M=(b=!0)=>t.enableSeconds?Array.isArray(N.seconds)?b?N.seconds[0]:N.seconds[1]:N.seconds:0,C=()=>{const b=i();if(b){const V=Array.isArray(b),ce=V?[+b[0].hours,+b[1].hours]:+b.hours,pe=V?[+b[0].minutes,+b[1].minutes]:+b.minutes,Ye=V?[+b[0].seconds,+b[1].seconds]:+b.seconds;w("hours",ce),w("minutes",pe),t.enableSeconds&&w("seconds",Ye)}},x=()=>Array.isArray(c.value)&&c.value.length?c.value[c.value.length-1]:null,s=()=>{if(Array.isArray(c.value)&&c.value.length===2){const b=q(q(c.value[1]?c.value[1]:bt(c.value[0],1))),[V,ce]=[Ae(c.value[0]),Ie(c.value[0])],[pe,Ye]=[Ae(c.value[1]),Ie(c.value[1])];(V!==pe||V===pe&&ce!==Ye)&&t.multiCalendarsSolo&&S(1,Ae(b),Ie(b))}else c.value&&!Array.isArray(c.value)&&S(0,Ae(c.value),Ie(c.value))},E=b=>{const V=bt(b,1);return{month:Ae(V),year:Ie(V)}},K=b=>{const V=Ae(q(b)),ce=Ie(q(b));if(S(0,V,ce),m.value.multiCalendars>0)for(let pe=1;pe{if(c.value&&Array.isArray(c.value))if(c.value.some(V=>Ne(b,V))){const V=c.value.filter(ce=>!Ne(ce,b));c.value=V.length?V:null}else(t.multiDatesLimit&&+t.multiDatesLimit>c.value.length||!t.multiDatesLimit)&&c.value.push(b);else c.value=[b]},T=(b,V)=>{const ce=at(b,V)?V:b,pe=at(V,b)?V:b;return kn({start:ce,end:pe})},f=(b,V=0)=>{if(Array.isArray(c.value)&&c.value[V]){const ce=qr(b,c.value[V]),pe=T(c.value[V],b),Ye=pe.length===1?0:pe.filter(xt=>o(xt)).length,mt=Math.abs(ce)-Ye;if(t.minRange&&t.maxRange)return mt>=+t.minRange&&mt<=+t.maxRange;if(t.minRange)return mt>=+t.minRange;if(t.maxRange)return mt<=+t.maxRange}return!0},h=b=>Array.isArray(c.value)&&c.value.length===2?t.fixedStart&&(at(b,c.value[0])||Ne(b,c.value[0]))?[c.value[0],b]:t.fixedEnd&&(Ze(b,c.value[1])||Ne(b,c.value[1]))?[b,c.value[1]]:(n("invalid-fixed-range",b),c.value):[],I=()=>{t.autoApply&&_.value&&n("auto-apply",t.partialFlow)},z=()=>{t.autoApply&&n("select-date")},oe=b=>!kn({start:b[0],end:b[1]}).some(V=>o(V)),ae=b=>(c.value=d(q(b.value)),I()),ye=b=>{const V=lt(q(b.value),N.hours,N.minutes,M());t.multiDates?W(V):c.value=V,a(),I()},be=()=>{p.value=c.value?c.value.slice():[],p.value.length===2&&!(t.fixedStart||t.fixedEnd)&&(p.value=[])},de=(b,V)=>{const ce=[q(b.value),St(q(b.value),+t.autoRange)];oe(ce)&&(V&&K(b.value),p.value=ce)},We=b=>{Je(b.value)||!f(b.value,t.fixedStart?0:1)||(p.value=h(q(b.value)))},Je=b=>t.noDisabledRange?T(p.value[0],b).some(V=>o(V)):!1,qe=(b,V)=>{if(be(),t.autoRange)return de(b,V);if(t.fixedStart||t.fixedEnd)return We(b);p.value[0]?f(q(b.value))&&!Je(b.value)&&(Ze(q(b.value),q(p.value[0]))?(p.value.unshift(q(b.value)),n("range-end",p.value[0])):(p.value[1]=q(b.value),n("range-end",p.value[1]))):(p.value[0]=q(b.value),n("range-start",p.value[0]))},dt=b=>{p.value[b]=lt(p.value[b],N.hours[b],N.minutes[b],M(b!==1))},pt=()=>{var b,V;p.value[0]&&p.value[1]&&+((b=p.value)==null?void 0:b[0])>+((V=p.value)==null?void 0:V[1])&&(p.value.reverse(),n("range-start",p.value[0]),n("range-end",p.value[1]))},Tt=()=>{p.value.length&&(p.value[0]&&!p.value[1]?dt(0):(dt(0),dt(1),a()),pt(),c.value=p.value.slice(),p.value[0]&&p.value[1]&&t.autoApply&&n("auto-apply"),p.value[0]&&!p.value[1]&&t.modelAuto&&t.autoApply&&n("auto-apply"))},Dt=(b,V=!1)=>{if(!(o(b.value)||!b.current&&t.hideOffsetDates)){if(t.weekPicker)return ae(b);if(!t.range)return ye(b);Lt(N.hours)&&Lt(N.minutes)&&!t.multiDates&&(qe(b,V),Tt())}},ea=b=>{const V=b[0];return t.weekNumbers==="local"?li(V.value,{weekStartsOn:+t.weekStart}):t.weekNumbers==="iso"?ni(V.value):typeof t.weekNumbers=="function"?t.weekNumbers(V.value):""},se=b=>{for(let V=b-1;V>=0;V--){const ce=Xt(Ge(q(),{month:X.value(V+1),year:k.value(V+1)}),1);S(V,Ae(ce),Ie(ce))}for(let V=b+1;V<=m.value.multiCalendars-1;V++){const ce=bt(Ge(q(),{month:X.value(V-1),year:k.value(V-1)}),1);S(V,Ae(ce),Ie(ce))}},me=b=>u(q(),X.value(b),k.value(b)),ge=b=>lt(b,N.hours,N.minutes,M()),ta=b=>{W(me(b))},Ut=(b,V)=>{const ce=t.monthPicker?X.value(b)!==V.month||!V.fromNav:k.value(b)!==V.year||!V.fromNav;if(S(b,V.month,V.year),m.value.multiCalendars&&!t.multiCalendarsSolo&&se(b),t.monthPicker||t.yearPicker)if(t.multiDates)ce&&ta(b);else if(t.range){if(ce&&f(me(b))){let pe=c.value?c.value.slice():[];pe.length===2&&pe[1]!==null&&(pe=[]),pe.length?Ze(me(b),pe[0])?pe.unshift(me(b)):pe[1]=me(b):pe=[me(b)],c.value=pe}}else(t.autoApplyMonth||ce)&&(c.value=me(b));e(t.multiCalendarsSolo?b:void 0)},Sa=async(b=!1)=>{if(t.autoApply&&(t.monthPicker||t.yearPicker)){await At();const V=t.monthPicker?b:!1;t.range?n("auto-apply",V||!c.value||c.value.length===1):n("auto-apply",V)}a()},pa=(b,V)=>{const ce=Ge(q(),{month:X.value(V),year:k.value(V)}),pe=b<0?bt(ce,1):Xt(ce,1);y(Ae(pe),Ie(pe),b<0,t.preventMinMaxNavigation)&&(S(V,Ae(pe),Ie(pe)),m.value.multiCalendars&&!t.multiCalendarsSolo&&se(V),e())},aa=b=>{Hn(b)&&Hn(c.value)&&Lt(N.hours)&&Lt(N.minutes)?(b[0]&&c.value[0]&&(c.value[0]=lt(b[0],N.hours[0],N.minutes[0],M())),b[1]&&c.value[1]&&(c.value[1]=lt(b[1],N.hours[1],N.minutes[1],M(!1)))):t.multiDates&&Array.isArray(c.value)?c.value[c.value.length-1]=ge(b):!t.range&&!jn(b)&&(c.value=ge(b)),n("time-update")},Oa=(b,V=!0,ce=!1)=>{const pe=V?b:N.hours,Ye=!V&&!ce?b:N.minutes,mt=ce?b:N.seconds;if(t.range&&jn(c.value)&&Lt(pe)&&Lt(Ye)&&Lt(mt)&&!t.disableTimeRangeValidation){const xt=te=>lt(c.value[te],pe[te],Ye[te],mt[te]),B=te=>dn(c.value[te],0);if(Ne(c.value[0],c.value[1])&&(fa(xt(0),B(1))||va(xt(1),B(0))))return}if(w("hours",pe),w("minutes",Ye),w("seconds",mt),c.value)if(t.multiDates){const xt=x();xt&&aa(xt)}else aa(c.value);else t.timePicker&&aa(t.range?[q(),q()]:q());a()},Na=(b,V)=>{t.monthChangeOnScroll&&pa(t.monthChangeOnScroll!=="inverse"?-b.deltaY:b.deltaY,V)},Aa=(b,V,ce=!1)=>{t.monthChangeOnArrows&&t.vertical===ce&&ma(b,V)},ma=(b,V)=>{pa(b==="right"?-1:1,V)};return{time:N,month:X,year:k,modelValue:c,calendars:A,monthYearSelect:Sa,isDisabled:o,updateTime:Oa,getWeekNum:ea,selectDate:Dt,updateMonthYear:Ut,handleScroll:Na,getMarker:b=>t.markers.find(V=>Ne(l(b.value),l(V.date))),handleArrow:Aa,handleSwipe:ma,selectCurrentDate:()=>{t.range?c.value&&Array.isArray(c.value)&&c.value[0]?c.value=Ze(q(),c.value[0])?[q(),c.value[0]]:[c.value[0],q()]:c.value=[q()]:c.value=q(),z()},presetDateRange:(b,V)=>{V||b.length&&b.length<=2&&t.range&&(c.value=b.map(ce=>q(ce)),z(),t.multiCalendars&&At().then(()=>Y(!0)))}}},yu=(t,n,a)=>{const e=ne(),{getZonedToUtc:r,getZonedDate:i,formatDate:o,getDefaultPattern:l,checkRangeEnabled:d,checkPartialRangeValue:u,isValidDate:y,setDateMonthOrYear:m,defaults:c}=it(n),p=ne(""),$=da(n,"format");Nt(e,()=>{t("internal-model-change",e.value)}),Nt($,()=>{x()});const A=f=>{const h=f||q();return n.modelType?E(h):{hours:Ct(h),minutes:Pt(h),seconds:n.enableSeconds?Kt(h):0}},N=f=>n.modelType?E(f):{month:Ae(f),year:Ie(f)},X=f=>Array.isArray(f)?d(()=>[Ot(q(),f[0]),f[1]?Ot(q(),f[1]):u()]):Ot(q(),+f),k=(f,h)=>(typeof f=="string"||typeof f=="number")&&n.modelType?s(f):h,_=f=>Array.isArray(f)?[k(f[0],lt(null,+f[0].hours,+f[0].minutes,f[0].seconds)),k(f[1],lt(null,+f[1].hours,+f[1].minutes,f[1].seconds))]:k(f,lt(null,f.hours,f.minutes,f.seconds)),S=f=>Array.isArray(f)?n.multiDates?f.map(h=>k(h,m(null,+h.month,+h.year))):d(()=>[k(f[0],m(null,+f[0].month,+f[0].year)),k(f[1],f[1]?m(null,+f[1].month,+f[1].year):u())]):k(f,m(null,+f.month,+f.year)),w=f=>{if(Array.isArray(f))return f.map(h=>s(h));throw new Error(Ma.dateArr("multi-dates"))},O=f=>{if(Array.isArray(f))return[q(f[0]),q(f[1])];throw new Error(Ma.dateArr("week-picker"))},Y=f=>n.modelAuto?Array.isArray(f)?[s(f[0]),s(f[1])]:n.autoApply?[s(f)]:[s(f),null]:Array.isArray(f)?d(()=>[s(f[0]),f[1]?s(f[1]):u()]):s(f),U=()=>{Array.isArray(e.value)&&n.range&&e.value.length===1&&e.value.push(u())},L=()=>{const f=e.value;return[E(f[0]),f[1]?E(f[1]):u()]},H=()=>e.value[1]?L():E(Ke(e.value[0])),v=()=>(e.value||[]).map(f=>E(f)),g=()=>(U(),n.modelAuto?H():n.multiDates?v():Array.isArray(e.value)?d(()=>L()):E(Ke(e.value))),P=f=>f?n.timePicker?_(Ke(f)):n.monthPicker?S(Ke(f)):n.yearPicker?X(Ke(f)):n.multiDates?w(Ke(f)):n.weekPicker?O(Ke(f)):Y(Ke(f)):null,F=f=>{const h=P(f);y(Ke(h))?(e.value=Ke(h),x()):(e.value=null,p.value="")},D=()=>{var f;const h=I=>{var z;return Wt(I,(z=c.value.textInputOptions)==null?void 0:z.format)};return`${h(e.value[0])} ${(f=c.value.textInputOptions)==null?void 0:f.rangeSeparator} ${e.value[1]?h(e.value[1]):""}`},M=()=>{var f;return a.value&&e.value?Array.isArray(e.value)?D():Wt(e.value,(f=c.value.textInputOptions)==null?void 0:f.format):o(e.value)},C=()=>{var f;return e.value?n.multiDates?e.value.map(h=>o(h)).join("; "):n.textInput&&typeof((f=c.value.textInputOptions)==null?void 0:f.format)=="string"?M():o(e.value):""},x=()=>{!n.format||typeof n.format=="string"||n.textInput&&typeof n.textInputOptions.format=="string"?p.value=C():p.value=n.format(e.value)},s=f=>{if(n.utc){const h=new Date(f);return n.utc==="preserve"?new Date(h.getTime()+h.getTimezoneOffset()*6e4):h}return n.modelType?n.modelType==="date"||n.modelType==="timestamp"?i(new Date(f)):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?Ja(f,l(),new Date):i(Ja(f,n.modelType,new Date)):i(new Date(f))},E=f=>f?n.utc?Ml(f,n.utc==="preserve",n.enableSeconds):n.modelType?n.modelType==="timestamp"?+r(f):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?o(r(f)):o(r(f),n.modelType):r(f):"",K=f=>{t("update:model-value",f)},W=f=>Array.isArray(e.value)?n.multiDates?e.value.map(h=>f(h)):[f(e.value[0]),e.value[1]?f(e.value[1]):u()]:f(Ke(e.value)),T=f=>K(Ke(W(f)));return{inputValue:p,internalModelValue:e,checkBeforeEmit:()=>e.value?n.range?n.partialRange?e.value.length>=1:e.value.length===2:!!e.value:!1,parseExternalModelValue:F,formatInputValue:x,emitModelValue:()=>(x(),n.monthPicker?T(N):n.timePicker?T(A):n.yearPicker?T(Ie):n.weekPicker?K(e.value):K(g()))}},gu=(t,n)=>{const{validateMonthYearInRange:a,validateMaxDate:e,validateMinDate:r,defaults:i}=it(t),o=(m,c)=>{let p=m;return i.value.filters.months.includes(Ae(p))?(p=c?bt(m,1):Xt(m,1),o(p,c)):p},l=(m,c)=>{let p=m;return i.value.filters.years.includes(Ie(p))?(p=c?Kn(m,1):Tl(m,1),l(p,c)):p},d=m=>{const c=Ge(new Date,{month:t.month,year:t.year});let p=m?bt(c,1):Xt(c,1);t.disableYearSelect&&(p=Ot(p,t.year));let $=Ae(p),A=Ie(p);i.value.filters.months.includes($)&&(p=o(p,m),$=Ae(p),A=Ie(p)),i.value.filters.years.includes(A)&&(p=l(p,m),A=Ie(p)),a($,A,m,t.preventMinMaxNavigation)&&u($,A)},u=(m,c)=>{n("update-month-year",{month:m,year:c})},y=Z(()=>m=>{if(!t.preventMinMaxNavigation||m&&!t.maxDate||!m&&!t.minDate)return!1;const c=Ge(new Date,{month:t.month,year:t.year}),p=m?bt(c,1):Xt(c,1),$=[Ae(p),Ie(p)];return m?!e(...$):!r(...$)});return{handleMonthYearChange:d,isDisabled:y,updateMonthYear:u}};var ba=(t=>(t.center="center",t.left="left",t.right="right",t))(ba||{});const wu=(t,n,a,e)=>{const r=ne({top:"0",left:"0",transform:"none",opacity:"0"}),i=ne(!1),o=da(e,"teleportCenter"),l=Z(()=>i.value?"-100%":"0"),d=()=>{u(),r.value.opacity="0"};Nt(o,()=>{k()}),ct(()=>{u()});const u=()=>{const g=Re(n);if(g){const{top:P,left:F,width:D,height:M}=$(g);r.value.top=`${P+M/2}px`,p(F,D,50)}},y=g=>{if(e.teleport){const P=g.getBoundingClientRect();return{left:P.left+window.scrollX,top:P.top+window.scrollY}}return{top:0,left:0}},m=(g,P)=>{r.value.left=`${g+P}px`,r.value.transform=`translate(-100%, ${l.value})`},c=g=>{r.value.left=`${g}px`,r.value.transform=`translate(0, ${l.value})`},p=(g,P,F)=>{e.position===ba.left&&c(g),e.position===ba.right&&m(g,P),e.position===ba.center&&(r.value.left=`${g+P/2}px`,r.value.transform=F?`translate(-50%, -${F}%)`:`translate(-50%, ${l.value})`)},$=g=>{const{width:P,height:F}=g.getBoundingClientRect(),{top:D,left:M}=e.altPosition?e.altPosition(g):y(g);return{top:+D,left:+M,width:P,height:F}},A=()=>{const g=Re(n);if(g){const{top:P,left:F,width:D,height:M}=$(g),C=Y();r.value.top=`${P+M/2}px`,p(F,D,C==="top"?100:0)}},N=()=>{r.value.left="50%",r.value.top="50%",r.value.transform="translate(-50%, -50%)",r.value.position="fixed",delete r.value.opacity},X=()=>{const g=Re(n),{top:P,left:F,transform:D}=e.altPosition(g);r.value={top:`${P}px`,left:`${F}px`,transform:D||""}},k=(g=!0)=>{if(!e.inline)return o.value?N():e.altPosition!==null?X():(g&&a("recalculate-position"),L())},_=({inputEl:g,menuEl:P,left:F,width:D})=>{window.screen.width>768&&p(F,D),O(g,P)},S=(g,P)=>{const{top:F,left:D,height:M,width:C}=$(g);r.value.top=`${M+F+ +e.offset}px`,i.value=!1,_({inputEl:g,menuEl:P,left:D,width:C})},w=(g,P)=>{const{top:F,left:D,width:M}=$(g);r.value.top=`${F-+e.offset}px`,i.value=!0,_({inputEl:g,menuEl:P,left:D,width:M})},O=(g,P)=>{if(e.autoPosition){const{left:F,width:D}=$(g),{left:M,right:C}=P.getBoundingClientRect();return M<=0?c(F):C>=document.documentElement.clientWidth?m(F,D):p(F,D)}},Y=()=>{const g=Re(t),P=Re(n);if(g&&P){const{height:F}=g.getBoundingClientRect(),{top:D,height:M}=P.getBoundingClientRect(),C=window.innerHeight-D-M,x=D;return F<=C?"bottom":F>C&&F<=x?"top":C>=x?"bottom":"top"}return"bottom"},U=(g,P)=>Y()==="bottom"?S(g,P):w(g,P),L=()=>{const g=Re(n),P=Re(t);if(g&&P)return e.autoPosition?U(g,P):S(g,P)},H=function(g){if(g){const P=g.scrollHeight>g.clientHeight,F=window.getComputedStyle(g).overflowY.indexOf("hidden")!==-1;return P&&!F}return!0},v=function(g){return!g||g===document.body||g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:H(g)?g:v(g.parentNode)};return{openOnTop:i,menuStyle:r,resetPosition:d,setMenuPosition:k,setInitialPosition:A,getScrollableParent:v}},Qt=[{name:"clock-icon",use:["time","calendar"]},{name:"arrow-left",use:["month-year","calendar"]},{name:"arrow-right",use:["month-year","calendar"]},{name:"arrow-up",use:["time","calendar","month-year"]},{name:"arrow-down",use:["time","calendar","month-year"]},{name:"calendar-icon",use:["month-year","time","calendar"]},{name:"day",use:["calendar"]},{name:"month-overlay-value",use:["calendar","month-year"]},{name:"year-overlay-value",use:["calendar","month-year"]},{name:"year-overlay",use:["month-year"]},{name:"month-overlay",use:["month-year"]},{name:"month-overlay-header",use:["month-year"]},{name:"year-overlay-header",use:["month-year"]},{name:"hours-overlay-value",use:["calendar","time"]},{name:"minutes-overlay-value",use:["calendar","time"]},{name:"seconds-overlay-value",use:["calendar","time"]},{name:"hours",use:["calendar","time"]},{name:"minutes",use:["calendar","time"]},{name:"month",use:["calendar","month-year"]},{name:"year",use:["calendar","month-year"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar"]},{name:"marker-tooltip",use:["calendar"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time"]},{name:"am-pm-button",use:["calendar","time"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year"]},{name:"time-picker",use:["menu"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar"]}],bu=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],_u={all:()=>Qt,monthYear:()=>Qt.filter(t=>t.use.includes("month-year")),input:()=>bu,timePicker:()=>Qt.filter(t=>t.use.includes("time")),action:()=>Qt.filter(t=>t.use.includes("action")),calendar:()=>Qt.filter(t=>t.use.includes("calendar")),menu:()=>Qt.filter(t=>t.use.includes("menu"))},Bt=(t,n,a)=>{const e=[];return _u[n]().forEach(r=>{t[r.name]&&e.push(r.name)}),a&&a.length&&a.forEach(r=>{r.slot&&e.push(r.slot)}),e},Pa=t=>({transitionName:Z(()=>n=>t&&typeof t!="boolean"?n?t.open:t.close:""),showTransition:!!t}),Yt={multiCalendars:{type:[Boolean,Number,String],default:null},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},closeOnScroll:{type:Boolean,default:!1},autoPosition:{type:Boolean,default:!0},closeOnAutoApply:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},multiCalendarsSolo:{type:Boolean,default:!1},calendarCellClassName:{type:String,default:null},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},autoRange:{type:[Number,String],default:null},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},showNowButton:{type:Boolean,default:!1},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},modeHeight:{type:[Number,String],default:255},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetRanges:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},keepActionRow:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},multiStatic:{type:Boolean,default:!0},disableTimeRangeValidation:{type:Boolean,default:!1},highlight:{type:[Array,Function],default:null},highlightWeekDays:{type:Array,default:null},highlightDisabledDays:{type:Boolean,default:!1},teleport:{type:[String,Boolean],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function],default:null},calendarClassName:{type:String,default:null},noSwipe:{type:Boolean,default:!1},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:Boolean,default:!1},partialRange:{type:Boolean,default:!0},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},inputClassName:{type:String,default:null},inlineWithInput:{type:Boolean,default:!1},textInputOptions:{type:Object,default:()=>null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:Boolean,default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},onClickOutside:{type:Function,default:null},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},allowPreventDefault:{type:Boolean,default:!1},closeOnClearValue:{type:Boolean,default:!0},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:Function,default:void 0},showLastInRange:{type:Boolean,default:!0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},autoApplyMonth:{type:Boolean,default:!0}},ku={key:1,class:"dp__input_wrap"},Tu=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","onKeydown"],Du={key:2,class:"dp__clear_icon"},xu=vt({__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Yt},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(t,{expose:n,emit:a}){const e=t,{getDefaultPattern:r,isValidDate:i,defaults:o,getDefaultStartTime:l,assignDefaultTime:d}=it(e),u=ne(),y=ne(null),m=ne(!1),c=ne(!1),p=Z(()=>({dp__pointer:!e.disabled&&!e.readonly&&!e.textInput,dp__disabled:e.disabled,dp__input_readonly:!e.textInput,dp__input:!0,dp__input_icon_pad:!e.hideInputIcon,dp__input_valid:e.state,dp__input_invalid:e.state===!1,dp__input_focus:m.value||e.isMenuOpen,dp__input_reg:!e.textInput,[e.inputClassName]:!!e.inputClassName})),$=()=>{a("set-input-date",null),e.autoApply&&(a("set-empty-date"),u.value=null)},A=v=>{var g;const P=l();return xl(v,((g=o.value.textInputOptions)==null?void 0:g.format)||r(),P||d({}),e.inputValue,c.value)},N=v=>{const{rangeSeparator:g}=o.value.textInputOptions,[P,F]=v.split(`${g}`);if(P){const D=A(P.trim()),M=F?A(F.trim()):null,C=D&&M?[D,M]:[D];u.value=D?C:null}},X=()=>{c.value=!0},k=v=>{if(e.range)N(v);else if(e.multiDates){const g=v.split(";");u.value=g.map(P=>A(P.trim())).filter(P=>P)}else u.value=A(v)},_=v=>{var g,P;const F=typeof v=="string"?v:(g=v.target)==null?void 0:g.value;F!==""?((P=o.value.textInputOptions)!=null&&P.openMenu&&!e.isMenuOpen&&a("open"),k(F),a("set-input-date",u.value)):$(),c.value=!1,a("update:input-value",F)},S=v=>{var g,P;e.textInput?(k(v.target.value),(g=o.value.textInputOptions)!=null&&g.enterSubmit&&i(u.value)&&e.inputValue!==""?(a("set-input-date",u.value,!0),u.value=null):(P=o.value.textInputOptions)!=null&&P.enterSubmit&&e.inputValue===""&&(u.value=null,a("clear"))):Y(v)},w=v=>{var g,P,F;e.textInput&&(g=o.value.textInputOptions)!=null&&g.tabSubmit&&k(v.target.value),(P=o.value.textInputOptions)!=null&&P.tabSubmit&&i(u.value)&&e.inputValue!==""?(a("set-input-date",u.value,!0),u.value=null):(F=o.value.textInputOptions)!=null&&F.tabSubmit&&e.inputValue===""&&(u.value=null,a("clear"))},O=()=>{m.value=!0,a("focus")},Y=v=>{var g;v.preventDefault(),v.stopImmediatePropagation(),v.stopPropagation(),e.textInput&&(g=o.value.textInputOptions)!=null&&g.openMenu&&!e.inlineWithInput?(a("toggle"),o.value.textInputOptions.enterSubmit&&a("select-date")):e.textInput||a("toggle")},U=()=>{a("real-blur"),m.value=!1,(!e.isMenuOpen||e.inline&&e.inlineWithInput)&&a("blur"),e.autoApply&&e.textInput&&u.value&&!e.isMenuOpen&&(a("set-input-date",u.value),a("select-date"),u.value=null)},L=()=>{a("clear")},H=v=>{if(!e.textInput){if(v.code==="Tab")return;v.preventDefault()}};return n({focusInput:()=>{var v;(v=y.value)==null||v.focus({preventScroll:!0})},setParsedDate:v=>{u.value=v}}),(v,g)=>{var P;return R(),Q("div",{onClick:Y},[v.$slots.trigger&&!v.$slots["dp-input"]&&!v.inline?ie(v.$slots,"trigger",{key:0}):G("",!0),!v.$slots.trigger&&(!v.inline||v.inlineWithInput)?(R(),Q("div",ku,[v.$slots["dp-input"]&&!v.$slots.trigger&&!v.inline?ie(v.$slots,"dp-input",{key:0,value:t.inputValue,isMenuOpen:t.isMenuOpen,onInput:_,onEnter:S,onTab:w,onClear:L,onBlur:U,onKeypress:H,onPaste:X}):G("",!0),v.$slots["dp-input"]?G("",!0):(R(),Q("input",{key:1,ref_key:"inputRef",ref:y,id:v.uid?`dp-input-${v.uid}`:void 0,name:v.name,class:Ce(p.value),inputmode:v.textInput?"text":"none",placeholder:v.placeholder,disabled:v.disabled,readonly:v.readonly,required:v.required,value:t.inputValue,autocomplete:v.autocomplete,"aria-label":(P=j(o).ariaLabels)==null?void 0:P.input,onInput:_,onKeydown:[he(S,["enter"]),he(w,["tab"]),H],onBlur:U,onFocus:O,onKeypress:H,onPaste:X},null,42,Tu)),J("div",{onClick:g[2]||(g[2]=F=>a("toggle"))},[v.$slots["input-icon"]&&!v.hideInputIcon?(R(),Q("span",{key:0,class:"dp__input_icon",onClick:g[0]||(g[0]=F=>a("toggle"))},[ie(v.$slots,"input-icon")])):G("",!0),!v.$slots["input-icon"]&&!v.hideInputIcon&&!v.$slots["dp-input"]?(R(),Pe(j(Ca),{key:1,onClick:g[1]||(g[1]=F=>a("toggle")),class:"dp__input_icon dp__input_icons"})):G("",!0)]),v.$slots["clear-icon"]&&t.inputValue&&v.clearable&&!v.disabled&&!v.readonly?(R(),Q("span",Du,[ie(v.$slots,"clear-icon",{clear:L})])):G("",!0),v.clearable&&!v.$slots["clear-icon"]&&t.inputValue&&!v.disabled&&!v.readonly?(R(),Pe(j(Dl),{key:3,class:"dp__clear_icon dp__input_icons",onClick:ot(L,["stop","prevent"])},null,8,["onClick"])):G("",!0)])):G("",!0)])}}}),Mu=["title"],Cu={class:"dp__action_buttons"},Pu=["onKeydown","disabled"],Su=vt({__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},calendarWidth:{type:Number,default:0},...Yt},emits:["close-picker","select-date","select-now","invalid-select"],setup(t,{emit:n}){const a=t,{formatDate:e,isValidTime:r,defaults:i}=it(a),{buildMatrix:o}=Et(),l=ne(null),d=ne(null);ct(()=>{a.arrowNavigation&&o([Re(l),Re(d)],"actionRow")});const u=Z(()=>a.range&&!a.partialRange&&a.internalModelValue?a.internalModelValue.length===2:!0),y=Z(()=>!m.value||!c.value||!u.value),m=Z(()=>!a.enableTimePicker||a.ignoreTimeValidation?!0:r(a.internalModelValue)),c=Z(()=>a.monthPicker?a.range&&Array.isArray(a.internalModelValue)?!a.internalModelValue.filter(w=>!_(w)).length:_(a.internalModelValue):!0),p=()=>{const w=i.value.previewFormat;return a.timePicker||a.monthPicker,w(Ke(a.internalModelValue))},$=()=>{const w=a.internalModelValue;return i.value.multiCalendars>0?`${A(w[0])} - ${A(w[1])}`:[A(w[0]),A(w[1])]},A=w=>e(w,i.value.previewFormat),N=Z(()=>!a.internalModelValue||!a.menuMount?"":typeof i.value.previewFormat=="string"?Array.isArray(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?$():a.multiDates?a.internalModelValue.map(w=>`${A(w)}`):a.modelAuto?`${A(a.internalModelValue[0])}`:`${A(a.internalModelValue[0])} -`:A(a.internalModelValue):p()),X=()=>a.multiDates?"; ":" - ",k=Z(()=>Array.isArray(N.value)?N.value.join(X()):N.value),_=w=>{if(!a.monthPicker)return!0;let O=!0;const Y=q(ia(w));if(a.minDate&&a.maxDate){const U=q(ia(a.minDate)),L=q(ia(a.maxDate));return at(Y,U)&&Ze(Y,L)||Ne(Y,U)||Ne(Y,L)}if(a.minDate){const U=q(ia(a.minDate));O=at(Y,U)||Ne(Y,U)}if(a.maxDate){const U=q(ia(a.maxDate));O=Ze(Y,U)||Ne(Y,U)}return O},S=()=>{m.value&&c.value&&u.value?n("select-date"):n("invalid-select")};return(w,O)=>(R(),Q("div",{class:"dp__action_row",style:It(t.calendarWidth?{width:`${t.calendarWidth}px`}:{})},[w.$slots["action-row"]?ie(w.$slots,"action-row",ze(Qe({key:0},{internalModelValue:t.internalModelValue,disabled:y.value,selectDate:()=>w.$emit("select-date"),closePicker:()=>w.$emit("close-picker")}))):(R(),Q(we,{key:1},[j(i).actionRow.showPreview?(R(),Q("div",{key:0,class:"dp__selection_preview",title:k.value},[w.$slots["action-preview"]?ie(w.$slots,"action-preview",{key:0,value:t.internalModelValue}):G("",!0),w.$slots["action-preview"]?G("",!0):(R(),Q(we,{key:1},[rt(Ve(k.value),1)],64))],8,Mu)):G("",!0),J("div",Cu,[w.$slots["action-buttons"]?ie(w.$slots,"action-buttons",{key:0,value:t.internalModelValue}):G("",!0),w.$slots["action-buttons"]?G("",!0):(R(),Q(we,{key:1},[!w.inline&&j(i).actionRow.showCancel?(R(),Q("button",{key:0,type:"button",ref_key:"cancelButtonRef",ref:l,class:"dp__action_button dp__action_cancel",onClick:O[0]||(O[0]=Y=>w.$emit("close-picker")),onKeydown:[O[1]||(O[1]=he(Y=>w.$emit("close-picker"),["enter"])),O[2]||(O[2]=he(Y=>w.$emit("close-picker"),["space"]))]},Ve(w.cancelText),545)):G("",!0),w.showNowButton||j(i).actionRow.showNow?(R(),Q("button",{key:1,type:"button",ref_key:"cancelButtonRef",ref:l,class:"dp__action_button dp__action_cancel",onClick:O[3]||(O[3]=Y=>w.$emit("select-now")),onKeydown:[O[4]||(O[4]=he(Y=>w.$emit("select-now"),["enter"])),O[5]||(O[5]=he(Y=>w.$emit("select-now"),["space"]))]},Ve(w.nowButtonLabel),545)):G("",!0),j(i).actionRow.showSelect?(R(),Q("button",{key:2,type:"button",class:"dp__action_button dp__action_select",onKeydown:[he(S,["enter"]),he(S,["space"])],onClick:S,disabled:y.value,ref_key:"selectButtonRef",ref:d},Ve(w.selectText),41,Pu)):G("",!0)],64))])],64))],4))}}),Ou=["aria-label"],Nu={class:"dp__calendar_header",role:"row"},Au={key:0,class:"dp__calendar_header_item",role:"gridcell"},$u=J("div",{class:"dp__calendar_header_separator"},null,-1),Iu=["aria-label"],Eu={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Yu={class:"dp__cell_inner"},Uu=["aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave"],Lu=vt({__name:"Calendar",props:{mappedDates:{type:Array,default:()=>[]},getWeekNum:{type:Function,default:()=>""},specificMode:{type:Boolean,default:!1},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Yt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(t,{expose:n,emit:a}){const e=t,{buildMultiLevelMatrix:r}=Et(),{setDateMonthOrYear:i,defaults:o}=it(e),l=ne(null),d=ne({bottom:"",left:"",transform:""}),u=ne([]),y=ne(null),m=ne(!0),c=ne(""),p=ne({startX:0,endX:0,startY:0,endY:0}),$=ne([]),A=ne({left:"50%"}),N=Z(()=>e.calendar?e.calendar(e.mappedDates):e.mappedDates),X=Z(()=>e.dayNames?Array.isArray(e.dayNames)?e.dayNames:e.dayNames(e.locale,+e.weekStart):au(e.formatLocale,e.locale,+e.weekStart));ct(()=>{a("mount",{cmp:"calendar",refs:u}),e.noSwipe||y.value&&(y.value.addEventListener("touchstart",g,{passive:!1}),y.value.addEventListener("touchend",P,{passive:!1}),y.value.addEventListener("touchmove",F,{passive:!1})),e.monthChangeOnScroll&&y.value&&y.value.addEventListener("wheel",C,{passive:!1})});const k=x=>x?e.vertical?"vNext":"next":e.vertical?"vPrevious":"previous",_=(x,s)=>{if(e.transitions){const E=ut(i(q(),e.month,e.year));c.value=at(ut(i(q(),x,s)),E)?o.value.transitions[k(!0)]:o.value.transitions[k(!1)],m.value=!1,At(()=>{m.value=!0})}},S=Z(()=>({[e.calendarClassName]:!!e.calendarClassName})),w=Z(()=>x=>{const s=iu(x);return{dp__marker_dot:s.type==="dot",dp__marker_line:s.type==="line"}}),O=Z(()=>x=>Ne(x,l.value)),Y=Z(()=>({dp__calendar:!0,dp__calendar_next:o.value.multiCalendars>0&&e.instance!==0})),U=Z(()=>x=>e.hideOffsetDates?x.current:!0),L=Z(()=>e.specificMode?{height:`${e.modeHeight}px`}:void 0),H=async(x,s,E)=>{var K,W;if(a("set-hover-date",x),(W=(K=x.marker)==null?void 0:K.tooltip)!=null&&W.length){const T=Re(u.value[s][E]);if(T){const{width:f,height:h}=T.getBoundingClientRect();l.value=x.value;let I={left:`${f/2}px`},z=-50;if(await At(),$.value[0]){const{left:oe,width:ae}=$.value[0].getBoundingClientRect();oe<0&&(I={left:"0"},z=0,A.value.left=`${f/2}px`),window.innerWidth{l.value&&(l.value=null,d.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),a("tooltip-close",x.marker))},g=x=>{p.value.startX=x.changedTouches[0].screenX,p.value.startY=x.changedTouches[0].screenY},P=x=>{p.value.endX=x.changedTouches[0].screenX,p.value.endY=x.changedTouches[0].screenY,D()},F=x=>{e.vertical&&!e.inline&&x.preventDefault()},D=()=>{const x=e.vertical?"Y":"X";Math.abs(p.value[`start${x}`]-p.value[`end${x}`])>10&&a("handle-swipe",p.value[`start${x}`]>p.value[`end${x}`]?"right":"left")},M=(x,s,E)=>{x&&(Array.isArray(u.value[s])?u.value[s][E]=x:u.value[s]=[x]),e.arrowNavigation&&r(u.value,"calendar")},C=x=>{e.monthChangeOnScroll&&(x.preventDefault(),a("handle-scroll",x))};return n({triggerTransition:_}),(x,s)=>{var E;return R(),Q("div",{class:Ce(Y.value)},[J("div",{style:It(L.value),ref_key:"calendarWrapRef",ref:y,role:"grid",class:Ce(S.value),"aria-label":(E=j(o).ariaLabels)==null?void 0:E.calendarWrap},[t.specificMode?G("",!0):(R(),Q(we,{key:0},[J("div",Nu,[x.weekNumbers?(R(),Q("div",Au,Ve(x.weekNumName),1)):G("",!0),(R(!0),Q(we,null,Fe(X.value,(K,W)=>(R(),Q("div",{class:"dp__calendar_header_item",role:"gridcell",key:W},[x.$slots["calendar-header"]?ie(x.$slots,"calendar-header",{key:0,day:K,index:W}):G("",!0),x.$slots["calendar-header"]?G("",!0):(R(),Q(we,{key:1},[rt(Ve(K),1)],64))]))),128))]),$u,_t(Zt,{name:c.value,css:!!x.transitions},{default:_e(()=>{var K;return[m.value?(R(),Q("div",{key:0,class:"dp__calendar",role:"grid","aria-label":(K=j(o).ariaLabels)==null?void 0:K.calendarDays},[(R(!0),Q(we,null,Fe(N.value,(W,T)=>(R(),Q("div",{class:"dp__calendar_row",role:"row",key:T},[x.weekNumbers?(R(),Q("div",Eu,[J("div",Yu,Ve(t.getWeekNum(W.days)),1)])):G("",!0),(R(!0),Q(we,null,Fe(W.days,(f,h)=>{var I,z,oe;return R(),Q("div",{role:"gridcell",class:"dp__calendar_item",ref_for:!0,ref:ae=>M(ae,T,h),key:h+T,"aria-selected":f.classData.dp__active_date||f.classData.dp__range_start||f.classData.dp__range_start,"aria-disabled":f.classData.dp__cell_disabled,"aria-label":(z=(I=j(o).ariaLabels)==null?void 0:I.day)==null?void 0:z.call(I,f),tabindex:"0",onClick:ot(ae=>x.$emit("select-date",f),["stop","prevent"]),onKeydown:[he(ae=>x.$emit("select-date",f),["enter"]),he(ae=>x.$emit("handle-space",f),["space"])],onMouseenter:ae=>H(f,T,h),onMouseleave:ae=>v(f)},[J("div",{class:Ce(["dp__cell_inner",f.classData])},[x.$slots.day&&U.value(f)?ie(x.$slots,"day",{key:0,day:+f.text,date:f.value}):G("",!0),x.$slots.day?G("",!0):(R(),Q(we,{key:1},[rt(Ve(f.text),1)],64)),f.marker&&U.value(f)?(R(),Q(we,{key:2},[x.$slots.marker?ie(x.$slots,"marker",{key:0,marker:f.marker,day:+f.text,date:f.value}):(R(),Q("div",{key:1,class:Ce(w.value(f.marker)),style:It(f.marker.color?{backgroundColor:f.marker.color}:{})},null,6))],64)):G("",!0),O.value(f.value)?(R(),Q("div",{key:3,class:"dp__marker_tooltip",ref_for:!0,ref_key:"activeTooltip",ref:$,style:It(d.value)},[(oe=f.marker)!=null&&oe.tooltip?(R(),Q("div",{key:0,class:"dp__tooltip_content",onClick:s[0]||(s[0]=ot(()=>{},["stop"]))},[(R(!0),Q(we,null,Fe(f.marker.tooltip,(ae,ye)=>(R(),Q("div",{key:ye,class:"dp__tooltip_text"},[x.$slots["marker-tooltip"]?ie(x.$slots,"marker-tooltip",{key:0,tooltip:ae,day:f.value}):G("",!0),x.$slots["marker-tooltip"]?G("",!0):(R(),Q(we,{key:1},[J("div",{class:"dp__tooltip_mark",style:It(ae.color?{backgroundColor:ae.color}:{})},null,4),J("div",null,Ve(ae.text),1)],64))]))),128)),J("div",{class:"dp__arrow_bottom_tp",style:It(A.value)},null,4)])):G("",!0)],4)):G("",!0)],2)],40,Uu)}),128))]))),128))],8,Iu)):G("",!0)]}),_:3},8,["name","css"])],64))],14,Ou)],2)}}}),Ru=["aria-label","aria-disabled"],qa=vt({__name:"ActionIcon",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(t,{emit:n}){const a=ne(null);return ct(()=>n("set-ref",a)),(e,r)=>(R(),Q("button",{type:"button",class:"dp__btn dp__month_year_col_nav",onClick:r[0]||(r[0]=i=>e.$emit("activate")),onKeydown:[r[1]||(r[1]=he(ot(i=>e.$emit("activate"),["prevent"]),["enter"])),r[2]||(r[2]=he(ot(i=>e.$emit("activate"),["prevent"]),["space"]))],tabindex:"0","aria-label":e.ariaLabel,"aria-disabled":e.disabled,ref_key:"elRef",ref:a},[J("span",{class:Ce(["dp__inner_nav",{dp__inner_nav_disabled:e.disabled}])},[ie(e.$slots,"default")],2)],40,Ru))}}),Fu=["onKeydown"],Vu={class:"dp__selection_grid_header"},Bu=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],Wu=["aria-label","onKeydown"],ca=vt({__name:"SelectionGrid",props:{items:{type:Array,default:()=>[]},modelValue:{type:[String,Number],default:null},multiModelValue:{type:Array,default:()=>[]},disabledValues:{type:Array,default:()=>[]},minValue:{type:[Number,String],default:null},maxValue:{type:[Number,String],default:null},year:{type:Number,default:0},skipActive:{type:Boolean,default:!1},headerRefs:{type:Array,default:()=>[]},skipButtonRef:{type:Boolean,default:!1},monthPicker:{type:Boolean,default:!1},yearPicker:{type:Boolean,default:!1},escClose:{type:Boolean,default:!0},type:{type:String,default:null},arrowNavigation:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},ariaLabels:{type:Object,default:()=>({})},hideNavigation:{type:Array,default:()=>[]},internalModelValue:{type:[Date,Array],default:null},autoApplyMonth:{type:Boolean,default:!1}},emits:["update:model-value","selected","toggle","reset-flow"],setup(t,{expose:n,emit:a}){const e=t,{setSelectionGrid:r,buildMultiLevelMatrix:i,setMonthPicker:o}=Et(),{hideNavigationButtons:l}=it(e),d=ne(!1),u=ne(null),y=ne(null),m=ne([]),c=ne(),p=ne(null),$=ne(0),A=ne(null);Or(()=>{u.value=null}),ct(()=>{var C;At().then(()=>L()),X(),N(!0),(C=u.value)==null||C.focus({preventScroll:!0})}),rn(()=>N(!1));const N=C=>{var x;e.arrowNavigation&&((x=e.headerRefs)!=null&&x.length?o(C):r(C))},X=()=>{const C=Re(y);C&&(e.textInput||C.focus({preventScroll:!0}),d.value=C.clientHeight({dp__overlay:!0})),_=Z(()=>({dp__overlay_col:!0})),S=C=>e.monthPicker&&!e.autoApplyMonth?Ne(e.internalModelValue,Ot(Gt(new Date,C.value),e.year)):e.skipActive?!1:C.value===e.modelValue,w=Z(()=>e.items.map(C=>C.filter(x=>x).map(x=>{var s,E,K;const W=e.disabledValues.some(f=>f===x.value)||U(x.value),T=(s=e.multiModelValue)!=null&&s.length?(E=e.multiModelValue)==null?void 0:E.some(f=>Ne(f,Ot(e.monthPicker?Gt(new Date,x.value):new Date,e.monthPicker?e.year:x.value))):S(x);return{...x,className:{dp__overlay_cell_active:T,dp__overlay_cell:!T,dp__overlay_cell_disabled:W,dp__overlay_cell_active_disabled:W&&T,dp__overlay_cell_pad:!0,dp__cell_in_between:(K=e.multiModelValue)!=null&&K.length&&e.skipActive?v(x.value):!1}}}))),O=Z(()=>({dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:d.value,dp__button_bottom:e.autoApply})),Y=Z(()=>{var C,x;return{dp__overlay_container:!0,dp__container_flex:((C=e.items)==null?void 0:C.length)<=6,dp__container_block:((x=e.items)==null?void 0:x.length)>6}}),U=C=>{const x=e.maxValue||e.maxValue===0,s=e.minValue||e.minValue===0;return!x&&!s?!1:x&&s?+C>+e.maxValue||+C<+e.minValue:x?+C>+e.maxValue:s?+C<+e.minValue:!1},L=()=>{const C=Re(u),x=Re(y),s=Re(p),E=Re(A),K=s?s.getBoundingClientRect().height:0;x&&($.value=x.getBoundingClientRect().height-K),C&&E&&(E.scrollTop=C.offsetTop-E.offsetTop-($.value/2-C.getBoundingClientRect().height)-K)},H=C=>{!e.disabledValues.some(x=>x===C)&&!U(C)&&(a("update:model-value",C),a("selected"))},v=C=>{const x=e.monthPicker?e.year:C;return wr(e.multiModelValue,Ot(e.monthPicker?Gt(new Date,c.value||0):new Date,e.monthPicker?x:c.value||x),Ot(e.monthPicker?Gt(new Date,C):new Date,x))},g=()=>{a("toggle"),a("reset-flow")},P=()=>{e.escClose&&g()},F=(C,x,s,E)=>{C&&(x.value===+e.modelValue&&!e.disabledValues.includes(x.value)&&(u.value=C),e.arrowNavigation&&(Array.isArray(m.value[s])?m.value[s][E]=C:m.value[s]=[C],D()))},D=()=>{var C,x;const s=(C=e.headerRefs)!=null&&C.length?[e.headerRefs].concat(m.value):m.value.concat([e.skipButtonRef?[]:[p.value]]);i(Ke(s),(x=e.headerRefs)!=null&&x.length?"monthPicker":"selectionGrid")},M=C=>{e.arrowNavigation||C.stopImmediatePropagation()};return n({focusGrid:X}),(C,x)=>{var s;return R(),Q("div",{ref_key:"gridWrapRef",ref:y,class:Ce(k.value),role:"dialog",tabindex:"0",onKeydown:[he(P,["esc"]),x[0]||(x[0]=he(E=>M(E),["left"])),x[1]||(x[1]=he(E=>M(E),["up"])),x[2]||(x[2]=he(E=>M(E),["down"])),x[3]||(x[3]=he(E=>M(E),["right"]))]},[J("div",{class:Ce(Y.value),ref_key:"containerRef",ref:A,role:"grid",style:It({height:`${$.value}px`})},[J("div",Vu,[ie(C.$slots,"header")]),C.$slots.overlay?ie(C.$slots,"overlay",{key:0}):(R(!0),Q(we,{key:1},Fe(w.value,(E,K)=>(R(),Q("div",{class:Ce(["dp__overlay_row",{dp__flex_row:w.value.length>=3}]),key:K,role:"row"},[(R(!0),Q(we,null,Fe(E,(W,T)=>(R(),Q("div",{role:"gridcell",class:Ce(_.value),key:W.value,"aria-selected":W.value===t.modelValue&&!t.disabledValues.includes(W.value),"aria-disabled":W.className.dp__overlay_cell_disabled,ref_for:!0,ref:f=>F(f,W,K,T),tabindex:"0",onClick:f=>H(W.value),onKeydown:[he(f=>H(W.value),["enter"]),he(f=>H(W.value),["space"])],onMouseover:f=>c.value=W.value},[J("div",{class:Ce(W.className)},[C.$slots.item?ie(C.$slots,"item",{key:0,item:W}):G("",!0),C.$slots.item?G("",!0):(R(),Q(we,{key:1},[rt(Ve(W.text),1)],64))],2)],42,Bu))),128))],2))),128))],6),C.$slots["button-icon"]?yt((R(),Q("div",{key:0,role:"button","aria-label":(s=t.ariaLabels)==null?void 0:s.toggleOverlay,class:Ce(O.value),tabindex:"0",ref_key:"toggleButton",ref:p,onClick:g,onKeydown:[he(g,["enter"]),he(g,["tab"])]},[ie(C.$slots,"button-icon")],42,Wu)),[[wa,!j(l)(t.type)]]):G("",!0)],42,Fu)}}}),Hu=["aria-label"],qn=vt({__name:"RegularPicker",props:{ariaLabel:{type:String,default:""},showSelectionGrid:{type:Boolean,default:!1},modelValue:{type:Number,default:null},items:{type:Array,default:()=>[]},disabledValues:{type:Array,default:()=>[]},minValue:{type:Number,default:null},maxValue:{type:Number,default:null},slotName:{type:String,default:""},overlaySlot:{type:String,default:""},headerRefs:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},type:{type:String,default:null},transitions:{type:[Object,Boolean],default:!1},arrowNavigation:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},textInput:{type:Boolean,default:!1},ariaLabels:{type:Object,default:()=>({})},hideNavigation:{type:Array,default:()=>[]}},emits:["update:model-value","toggle","set-ref"],setup(t,{emit:n}){const a=t,{transitionName:e,showTransition:r}=Pa(a.transitions),i=ne(null);return ct(()=>n("set-ref",i)),(o,l)=>(R(),Q(we,null,[J("button",{type:"button",class:"dp__btn dp__month_year_select",onClick:l[0]||(l[0]=d=>o.$emit("toggle")),onKeydown:[l[1]||(l[1]=he(ot(d=>o.$emit("toggle"),["prevent"]),["enter"])),l[2]||(l[2]=he(ot(d=>o.$emit("toggle"),["prevent"]),["space"]))],"aria-label":t.ariaLabel,tabindex:"0",ref_key:"elRef",ref:i},[ie(o.$slots,"default")],40,Hu),_t(Zt,{name:j(e)(t.showSelectionGrid),css:j(r)},{default:_e(()=>[t.showSelectionGrid?(R(),Pe(ca,Qe({key:0},{modelValue:t.modelValue,items:t.items,disabledValues:t.disabledValues,minValue:t.minValue,maxValue:t.maxValue,escClose:t.escClose,type:t.type,arrowNavigation:t.arrowNavigation,textInput:t.textInput,autoApply:t.autoApply,ariaLabels:t.ariaLabels,hideNavigation:t.hideNavigation},{"header-refs":[],"onUpdate:modelValue":l[3]||(l[3]=d=>o.$emit("update:model-value",d)),onToggle:l[4]||(l[4]=d=>o.$emit("toggle"))}),nt({"button-icon":_e(()=>[o.$slots["calendar-icon"]?ie(o.$slots,"calendar-icon",{key:0}):G("",!0),o.$slots["calendar-icon"]?G("",!0):(R(),Pe(j(Ca),{key:1}))]),_:2},[o.$slots[t.slotName]?{name:"item",fn:_e(({item:d})=>[ie(o.$slots,t.slotName,{item:d})]),key:"0"}:void 0,o.$slots[t.overlaySlot]?{name:"overlay",fn:_e(()=>[ie(o.$slots,t.overlaySlot)]),key:"1"}:void 0,o.$slots[`${t.overlaySlot}-header`]?{name:"header",fn:_e(()=>[ie(o.$slots,`${t.overlaySlot}-header`)]),key:"2"}:void 0]),1040)):G("",!0)]),_:3},8,["name","css"])],64))}}),ju={class:"dp__month_year_row"},qu={class:"dp__month_picker_header"},Qu=["aria-label"],Gu=["aria-label"],Xu=["aria-label"],Ju=vt({__name:"MonthYearPicker",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},internalModelValue:{type:[Date,Array],default:null},...Yt},emits:["update-month-year","month-year-select","mount","reset-flow","overlay-closed"],setup(t,{expose:n,emit:a}){const e=t,{defaults:r}=it(e),{transitionName:i,showTransition:o}=Pa(r.value.transitions),{buildMatrix:l}=Et(),{handleMonthYearChange:d,isDisabled:u,updateMonthYear:y}=gu(e,a),m=ne(!1),c=ne(!1),p=ne([null,null,null,null]),$=ne(null),A=ne(null),N=ne(null);ct(()=>{a("mount")});const X=h=>({get:()=>e[h],set:I=>{const z=h==="month"?"year":"month";a("update-month-year",{[h]:I,[z]:e[z]}),a("month-year-select",h==="year"),h==="month"?E(!0):K(!0)}}),k=Z(X("month")),_=Z(X("year")),S=h=>{const I=Ie(q(h));return e.year===I},w=Z(()=>e.monthPicker?Array.isArray(e.disabledDates)?e.disabledDates.map(h=>q(h)).filter(h=>S(h)).map(h=>Ae(h)):[]:[]),O=Z(()=>h=>{const I=h==="month";return{showSelectionGrid:(I?m:c).value,items:(I?D:M).value,disabledValues:r.value.filters[I?"months":"years"].concat(w.value),minValue:(I?H:U).value,maxValue:(I?v:L).value,headerRefs:I&&e.monthPicker?[$.value,A.value,N.value]:[],escClose:e.escClose,transitions:r.value.transitions,ariaLabels:r.value.ariaLabels,textInput:e.textInput,autoApply:e.autoApply,arrowNavigation:e.arrowNavigation,hideNavigation:e.hideNavigation}}),Y=Z(()=>h=>({month:e.month,year:e.year,items:h==="month"?e.months:e.years,instance:e.instance,updateMonthYear:y,toggle:h==="month"?E:K})),U=Z(()=>e.minDate?Ie(q(e.minDate)):null),L=Z(()=>e.maxDate?Ie(q(e.maxDate)):null),H=Z(()=>{if(e.minDate&&U.value){if(U.value>e.year)return 12;if(U.value===e.year)return Ae(q(e.minDate))}return null}),v=Z(()=>e.maxDate&&L.value?L.value(e.range||e.multiDates)&&e.internalModelValue&&(e.monthPicker||e.yearPicker)?e.internalModelValue:[]),P=h=>{const I=[],z=oe=>oe;for(let oe=0;oee.months.find(I=>I.value===e.month)||{text:"",value:0}),D=Z(()=>P(e.months)),M=Z(()=>P(e.years)),C=Z(()=>r.value.multiCalendars?e.multiCalendarsSolo?!0:e.instance===0:!0),x=Z(()=>r.value.multiCalendars?e.multiCalendarsSolo?!0:e.instance===r.value.multiCalendars-1:!0),s=(h,I)=>{I!==void 0?h.value=I:h.value=!h.value},E=(h=!1,I)=>{W(h),s(m,I),m.value||a("overlay-closed")},K=(h=!1,I)=>{W(h),s(c,I),c.value||a("overlay-closed")},W=h=>{h||a("reset-flow")},T=(h=!1)=>{u.value(h)||a("update-month-year",{year:h?e.year+1:e.year-1,month:e.month,fromNav:!0})},f=(h,I)=>{e.arrowNavigation&&(p.value[I]=Re(h),l(p.value,"monthYear"))};return n({toggleMonthPicker:E,toggleYearPicker:K,handleMonthYearChange:d}),(h,I)=>{var z,oe,ae,ye,be;return R(),Q("div",ju,[h.$slots["month-year"]?ie(h.$slots,"month-year",ze(Qe({key:0},{month:t.month,year:t.year,months:t.months,years:t.years,updateMonthYear:j(y),handleMonthYearChange:j(d),instance:t.instance}))):(R(),Q(we,{key:1},[!h.monthPicker&&!h.yearPicker?(R(),Q(we,{key:0},[C.value&&!h.vertical?(R(),Pe(qa,{key:0,"aria-label":(z=j(r).ariaLabels)==null?void 0:z.prevMonth,disabled:j(u)(!1),onActivate:I[0]||(I[0]=de=>j(d)(!1)),onSetRef:I[1]||(I[1]=de=>f(de,0))},{default:_e(()=>[h.$slots["arrow-left"]?ie(h.$slots,"arrow-left",{key:0}):G("",!0),h.$slots["arrow-left"]?G("",!0):(R(),Pe(j(Sn),{key:1}))]),_:3},8,["aria-label","disabled"])):G("",!0),J("div",{class:Ce(["dp__month_year_wrap",{dp__year_disable_select:e.disableYearSelect}])},[_t(qn,Qe({type:"month","slot-name":"month-overlay-val","overlay-slot":"overlay-month","aria-label":(oe=j(r).ariaLabels)==null?void 0:oe.openMonthsOverlay,modelValue:k.value,"onUpdate:modelValue":I[2]||(I[2]=de=>k.value=de)},O.value("month"),{onToggle:E,onSetRef:I[3]||(I[3]=de=>f(de,1))}),nt({default:_e(()=>[h.$slots.month?ie(h.$slots,"month",ze(Qe({key:0},F.value))):G("",!0),h.$slots.month?G("",!0):(R(),Q(we,{key:1},[rt(Ve(F.value.text),1)],64))]),_:2},[h.$slots["calendar-icon"]?{name:"calendar-icon",fn:_e(()=>[ie(h.$slots,"calendar-icon")]),key:"0"}:void 0,h.$slots["month-overlay-value"]?{name:"month-overlay-val",fn:_e(({item:de})=>[ie(h.$slots,"month-overlay-value",{text:de.text,value:de.value})]),key:"1"}:void 0,h.$slots["month-overlay"]?{name:"overlay-month",fn:_e(()=>[ie(h.$slots,"month-overlay",ze(ft(Y.value("month"))))]),key:"2"}:void 0,h.$slots["month-overlay-header"]?{name:"overlay-month-header",fn:_e(()=>[ie(h.$slots,"month-overlay-header",{toggle:E})]),key:"3"}:void 0]),1040,["aria-label","modelValue"]),e.disableYearSelect?G("",!0):(R(),Pe(qn,Qe({key:0,type:"year","slot-name":"year-overlay-val","overlay-slot":"overlay-year","aria-label":(ae=j(r).ariaLabels)==null?void 0:ae.openYearsOverlay,modelValue:_.value,"onUpdate:modelValue":I[4]||(I[4]=de=>_.value=de)},O.value("year"),{onToggle:K,onSetRef:I[5]||(I[5]=de=>f(de,2))}),nt({default:_e(()=>[h.$slots.year?ie(h.$slots,"year",{key:0,year:t.year}):G("",!0),h.$slots.year?G("",!0):(R(),Q(we,{key:1},[rt(Ve(t.year),1)],64))]),_:2},[h.$slots["calendar-icon"]?{name:"calendar-icon",fn:_e(()=>[ie(h.$slots,"calendar-icon")]),key:"0"}:void 0,h.$slots["year-overlay-value"]?{name:"year-overlay-val",fn:_e(({item:de})=>[ie(h.$slots,"year-overlay-value",{text:de.text,value:de.value})]),key:"1"}:void 0,h.$slots["year-overlay"]?{name:"overlay-year",fn:_e(()=>[ie(h.$slots,"year-overlay",ze(ft(Y.value("year"))))]),key:"2"}:void 0,h.$slots["year-overlay-header"]?{name:"overlay-year-header",fn:_e(()=>[ie(h.$slots,"year-overlay-header",{toggle:K})]),key:"3"}:void 0]),1040,["aria-label","modelValue"]))],2),C.value&&h.vertical?(R(),Pe(qa,{key:1,"aria-label":(ye=j(r).ariaLabels)==null?void 0:ye.prevMonth,disabled:j(u)(!1),onActivate:I[6]||(I[6]=de=>j(d)(!1))},{default:_e(()=>[h.$slots["arrow-up"]?ie(h.$slots,"arrow-up",{key:0}):G("",!0),h.$slots["arrow-up"]?G("",!0):(R(),Pe(j(yr),{key:1}))]),_:3},8,["aria-label","disabled"])):G("",!0),x.value?(R(),Pe(qa,{key:2,ref:"rightIcon",disabled:j(u)(!0),"aria-label":(be=j(r).ariaLabels)==null?void 0:be.nextMonth,onActivate:I[7]||(I[7]=de=>j(d)(!0)),onSetRef:I[8]||(I[8]=de=>f(de,3))},{default:_e(()=>[h.$slots[h.vertical?"arrow-down":"arrow-right"]?ie(h.$slots,h.vertical?"arrow-down":"arrow-right",{key:0}):G("",!0),h.$slots[h.vertical?"arrow-down":"arrow-right"]?G("",!0):(R(),Pe(Gn(h.vertical?j(gr):j(On)),{key:1}))]),_:3},8,["disabled","aria-label"])):G("",!0)],64)):G("",!0),h.monthPicker?(R(),Pe(ca,Qe({key:1},O.value("month"),{"skip-active":h.range,"internal-model-value":t.internalModelValue,year:t.year,"auto-apply-month":h.autoApplyMonth,"multi-model-value":g.value,"month-picker":"",modelValue:k.value,"onUpdate:modelValue":I[17]||(I[17]=de=>k.value=de),onToggle:E,onSelected:I[18]||(I[18]=de=>h.$emit("overlay-closed"))}),nt({header:_e(()=>{var de,We,Je;return[J("div",qu,[J("div",{class:"dp__month_year_col_nav",tabindex:"0",ref_key:"mpPrevIconRef",ref:$,onClick:I[9]||(I[9]=qe=>T(!1)),onKeydown:I[10]||(I[10]=he(qe=>T(!1),["enter"]))},[J("div",{class:Ce(["dp__inner_nav",{dp__inner_nav_disabled:j(u)(!1)}]),role:"button","aria-label":(de=j(r).ariaLabels)==null?void 0:de.prevMonth},[h.$slots["arrow-left"]?ie(h.$slots,"arrow-left",{key:0}):G("",!0),h.$slots["arrow-left"]?G("",!0):(R(),Pe(j(Sn),{key:1}))],10,Qu)],544),J("div",{class:"dp__pointer",role:"button",ref_key:"mpYearButtonRef",ref:A,"aria-label":(We=j(r).ariaLabels)==null?void 0:We.openYearsOverlay,tabindex:"0",onClick:I[11]||(I[11]=()=>K(!1)),onKeydown:I[12]||(I[12]=he(()=>K(!1),["enter"]))},[h.$slots.year?ie(h.$slots,"year",{key:0,year:t.year}):G("",!0),h.$slots.year?G("",!0):(R(),Q(we,{key:1},[rt(Ve(t.year),1)],64))],40,Gu),J("div",{class:"dp__month_year_col_nav",tabindex:"0",ref_key:"mpNextIconRef",ref:N,onClick:I[13]||(I[13]=qe=>T(!0)),onKeydown:I[14]||(I[14]=he(qe=>T(!0),["enter"]))},[J("div",{class:Ce(["dp__inner_nav",{dp__inner_nav_disabled:j(u)(!0)}]),role:"button","aria-label":(Je=j(r).ariaLabels)==null?void 0:Je.nextMonth},[h.$slots["arrow-right"]?ie(h.$slots,"arrow-right",{key:0}):G("",!0),h.$slots["arrow-right"]?G("",!0):(R(),Pe(j(On),{key:1}))],10,Xu)],544)]),_t(Zt,{name:j(i)(c.value),css:j(o)},{default:_e(()=>[c.value?(R(),Pe(ca,Qe({key:0},O.value("year"),{modelValue:_.value,"onUpdate:modelValue":I[15]||(I[15]=qe=>_.value=qe),onToggle:K,onSelected:I[16]||(I[16]=qe=>h.$emit("overlay-closed"))}),nt({"button-icon":_e(()=>[h.$slots["calendar-icon"]?ie(h.$slots,"calendar-icon",{key:0}):G("",!0),h.$slots["calendar-icon"]?G("",!0):(R(),Pe(j(Ca),{key:1}))]),_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:_e(({item:qe})=>[ie(h.$slots,"year-overlay-value",{text:qe.text,value:qe.value})]),key:"0"}:void 0]),1040,["modelValue"])):G("",!0)]),_:3},8,["name","css"])]}),_:2},[h.$slots["month-overlay-value"]?{name:"item",fn:_e(({item:de})=>[ie(h.$slots,"month-overlay-value",{text:de.text,value:de.value})]),key:"0"}:void 0]),1040,["skip-active","internal-model-value","year","auto-apply-month","multi-model-value","modelValue"])):G("",!0),h.yearPicker?(R(),Pe(ca,Qe({key:2},O.value("year"),{modelValue:_.value,"onUpdate:modelValue":I[19]||(I[19]=de=>_.value=de),"multi-model-value":g.value,"skip-active":h.range,"skip-button-ref":"","year-picker":"",onToggle:K,onSelected:I[20]||(I[20]=de=>h.$emit("overlay-closed"))}),nt({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:_e(({item:de})=>[ie(h.$slots,"year-overlay-value",{text:de.text,value:de.value})]),key:"0"}:void 0]),1040,["modelValue","multi-model-value","skip-active"])):G("",!0)],64))])}}}),Ku={key:0,class:"dp__time_input"},zu=["aria-label","onKeydown","onClick"],Zu=J("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),es=J("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),ts=["aria-label","onKeydown","onClick"],as=["aria-label","onKeydown","onClick"],ns=J("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),rs=J("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),os={key:0},is=["aria-label","onKeydown"],ls=vt({__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},...Yt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(t,{expose:n,emit:a}){const e=t,{setTimePickerElements:r,setTimePickerBackRef:i}=Et(),{defaults:o}=it(e),{transitionName:l,showTransition:d}=Pa(o.value.transitions),u=zt({hours:!1,minutes:!1,seconds:!1}),y=ne("AM"),m=ne(null),c=ne([]);ct(()=>{a("mounted")});const p=s=>Ge(new Date,{hours:s.hours,minutes:s.minutes,seconds:e.enableSeconds?s.seconds:0,milliseconds:0}),$=Z(()=>({hours:e.hours,minutes:e.minutes,seconds:e.seconds})),A=Z(()=>s=>!U(+e[s]+ +e[`${s}Increment`],s)),N=Z(()=>s=>!U(+e[s]-+e[`${s}Increment`],s)),X=(s,E)=>Jn(Ge(q(),s),E),k=(s,E)=>kl(Ge(q(),s),E),_=Z(()=>({dp__time_col:!0,dp__time_col_block:!e.timePickerInline,dp__time_col_reg_block:!e.enableSeconds&&e.is24&&!e.timePickerInline,dp__time_col_reg_inline:!e.enableSeconds&&e.is24&&e.timePickerInline,dp__time_col_reg_with_button:!e.enableSeconds&&!e.is24,dp__time_col_sec:e.enableSeconds&&e.is24,dp__time_col_sec_with_button:e.enableSeconds&&!e.is24})),S=Z(()=>{const s=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return e.enableSeconds?s.concat([{type:"",separator:!0},{type:"seconds"}]):s}),w=Z(()=>S.value.filter(s=>!s.separator)),O=Z(()=>s=>{if(s==="hours"){const E=F(+e.hours);return{text:E<10?`0${E}`:`${E}`,value:E}}return{text:e[s]<10?`0${e[s]}`:`${e[s]}`,value:e[s]}}),Y=s=>{const E=e.is24?24:12,K=s==="hours"?E:60,W=+e[`${s}GridIncrement`],T=s==="hours"&&!e.is24?W:0,f=[];for(let h=T;h{const K=e.minTime?p(Ua(e.minTime)):null,W=e.maxTime?p(Ua(e.maxTime)):null,T=p(Ua($.value,E,s));return K&&W?(va(T,W)||Vt(T,W))&&(fa(T,K)||Vt(T,K)):K?fa(T,K)||Vt(T,K):W?va(T,W)||Vt(T,W):!0},L=Z(()=>s=>Y(s).flat().filter(E=>lu(E.value)).map(E=>E.value).filter(E=>!U(E,s))),H=s=>e[`no${s[0].toUpperCase()+s.slice(1)}Overlay`],v=s=>{H(s)||(u[s]=!u[s],u[s]||a("overlay-closed"))},g=s=>s==="hours"?Ct:s==="minutes"?Pt:Kt,P=(s,E=!0)=>{const K=E?X:k,W=E?+e[`${s}Increment`]:-+e[`${s}Increment`];U(+e[s]+W,s)&&a(`update:${s}`,g(s)(K({[s]:+e[s]},{[s]:+e[`${s}Increment`]})))},F=s=>e.is24?s:(s>=12?y.value="PM":y.value="AM",ou(s)),D=()=>{y.value==="PM"?(y.value="AM",a("update:hours",e.hours-12)):(y.value="PM",a("update:hours",e.hours+12)),a("am-pm-change",y.value)},M=s=>{u[s]=!0},C=(s,E,K)=>{if(s&&e.arrowNavigation){Array.isArray(c.value[E])?c.value[E][K]=s:c.value[E]=[s];const W=c.value.reduce((T,f)=>f.map((h,I)=>[...T[I]||[],f[I]]),[]);i(e.closeTimePickerBtn),m.value&&(W[1]=W[1].concat(m.value)),r(W,e.order)}},x=(s,E)=>s==="hours"&&!e.is24?a(`update:${s}`,y.value==="PM"?E+12:E):a(`update:${s}`,E);return n({openChildCmp:M}),(s,E)=>{var K;return s.disabled?G("",!0):(R(),Q("div",Ku,[(R(!0),Q(we,null,Fe(S.value,(W,T)=>{var f,h,I;return R(),Q("div",{key:T,class:Ce(_.value)},[W.separator?(R(),Q(we,{key:0},[rt(" : ")],64)):(R(),Q(we,{key:1},[J("button",{type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!e.timePickerInline,dp__inc_dec_button_inline:e.timePickerInline,dp__tp_inline_btn_top:e.timePickerInline,dp__inc_dec_button_disabled:A.value(W.type)}),"aria-label":(f=j(o).ariaLabels)==null?void 0:f.incrementValue(W.type),tabindex:"0",onKeydown:[he(z=>P(W.type),["enter"]),he(z=>P(W.type),["space"])],onClick:z=>P(W.type),ref_for:!0,ref:z=>C(z,T,0)},[e.timePickerInline?(R(),Q(we,{key:1},[Zu,es],64)):(R(),Q(we,{key:0},[s.$slots["arrow-up"]?ie(s.$slots,"arrow-up",{key:0}):G("",!0),s.$slots["arrow-up"]?G("",!0):(R(),Pe(j(yr),{key:1}))],64))],42,zu),J("button",{type:"button","aria-label":(h=j(o).ariaLabels)==null?void 0:h.openTpOverlay(W.type),class:Ce(["dp__btn",H(W.type)?void 0:{dp__time_display:!0,dp__time_display_block:!e.timePickerInline,dp__time_display_inline:e.timePickerInline}]),tabindex:"0",onKeydown:[he(z=>v(W.type),["enter"]),he(z=>v(W.type),["space"])],onClick:z=>v(W.type),ref_for:!0,ref:z=>C(z,T,1)},[s.$slots[W.type]?ie(s.$slots,W.type,{key:0,text:O.value(W.type).text,value:O.value(W.type).value}):G("",!0),s.$slots[W.type]?G("",!0):(R(),Q(we,{key:1},[rt(Ve(O.value(W.type).text),1)],64))],42,ts),J("button",{type:"button",class:Ce({dp__btn:!0,dp__inc_dec_button:!e.timePickerInline,dp__inc_dec_button_inline:e.timePickerInline,dp__tp_inline_btn_bottom:e.timePickerInline,dp__inc_dec_button_disabled:N.value(W.type)}),"aria-label":(I=j(o).ariaLabels)==null?void 0:I.decrementValue(W.type),tabindex:"0",onKeydown:[he(z=>P(W.type,!1),["enter"]),he(z=>P(W.type,!1),["space"])],onClick:z=>P(W.type,!1),ref_for:!0,ref:z=>C(z,T,2)},[e.timePickerInline?(R(),Q(we,{key:1},[ns,rs],64)):(R(),Q(we,{key:0},[s.$slots["arrow-down"]?ie(s.$slots,"arrow-down",{key:0}):G("",!0),s.$slots["arrow-down"]?G("",!0):(R(),Pe(j(gr),{key:1}))],64))],42,as)],64))],2)}),128)),s.is24?G("",!0):(R(),Q("div",os,[s.$slots["am-pm-button"]?ie(s.$slots,"am-pm-button",{key:0,toggle:D,value:y.value}):G("",!0),s.$slots["am-pm-button"]?G("",!0):(R(),Q("button",{key:1,ref_key:"amPmButton",ref:m,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(K=j(o).ariaLabels)==null?void 0:K.amPmButton,tabindex:"0",onClick:D,onKeydown:[he(ot(D,["prevent"]),["enter"]),he(ot(D,["prevent"]),["space"])]},Ve(y.value),41,is))])),(R(!0),Q(we,null,Fe(w.value,(W,T)=>(R(),Pe(Zt,{key:T,name:j(l)(u[W.type]),css:j(d)},{default:_e(()=>[u[W.type]?(R(),Pe(ca,{key:0,items:Y(W.type),"disabled-values":j(o).filters.times[W.type].concat(L.value(W.type)),"esc-close":s.escClose,"aria-labels":j(o).ariaLabels,"hide-navigation":s.hideNavigation,"onUpdate:modelValue":f=>x(W.type,f),onSelected:f=>v(W.type),onToggle:f=>v(W.type),onResetFlow:E[0]||(E[0]=f=>s.$emit("reset-flow")),type:W.type},nt({"button-icon":_e(()=>[s.$slots["clock-icon"]?ie(s.$slots,"clock-icon",{key:0}):G("",!0),s.$slots["clock-icon"]?G("",!0):(R(),Pe(j(hr),{key:1}))]),_:2},[s.$slots[`${W.type}-overlay-value`]?{name:"item",fn:_e(({item:f})=>[ie(s.$slots,`${W.type}-overlay-value`,{text:f.text,value:f.value})]),key:"0"}:void 0]),1032,["items","disabled-values","esc-close","aria-labels","hide-navigation","onUpdate:modelValue","onSelected","onToggle","type"])):G("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),us=["aria-label"],ss=["tabindex"],cs=["aria-label"],ds=vt({__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},internalModelValue:{type:[Date,Array],default:null},...Yt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(t,{expose:n,emit:a}){const e=t,{buildMatrix:r,setTimePicker:i}=Et(),o=nn(),{hideNavigationButtons:l,defaults:d}=it(e),{transitionName:u,showTransition:y}=Pa(d.value.transitions),m=ne(null),c=ne(null),p=ne([]),$=ne(null);ct(()=>{a("mount"),!e.timePicker&&e.arrowNavigation?r([Re(m.value)],"time"):i(!0,e.timePicker)});const A=Z(()=>e.range&&e.modelAuto?Dr(e.internalModelValue):!0),N=ne(!1),X=v=>({hours:Array.isArray(e.hours)?e.hours[v]:e.hours,minutes:Array.isArray(e.minutes)?e.minutes[v]:e.minutes,seconds:Array.isArray(e.seconds)?e.seconds[v]:e.seconds}),k=Z(()=>{const v=[];if(e.range)for(let g=0;g<2;g++)v.push(X(g));else v.push(X(0));return v}),_=(v,g=!1,P="")=>{g||a("reset-flow"),N.value=v,a(v?"overlay-opened":"overlay-closed"),e.arrowNavigation&&i(v),At(()=>{P!==""&&p.value[0]&&p.value[0].openChildCmp(P)})},S=Z(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:e.autoApply&&!e.keepActionRow})),w=Bt(o,"timePicker"),O=(v,g,P)=>e.range?g===0?[v,k.value[1][P]]:[k.value[0][P],v]:v,Y=v=>{a("update:hours",v)},U=v=>{a("update:minutes",v)},L=v=>{a("update:seconds",v)},H=()=>{if($.value){const v=uu($.value);v&&v.focus({preventScroll:!0})}};return n({toggleTimePicker:_}),(v,g)=>{var P;return R(),Q("div",null,[!v.timePicker&&!v.timePickerInline?yt((R(),Q("button",{key:0,type:"button",class:Ce(S.value),"aria-label":(P=j(d).ariaLabels)==null?void 0:P.openTimePicker,tabindex:"0",ref_key:"openTimePickerBtn",ref:m,onKeydown:[g[0]||(g[0]=he(F=>_(!0),["enter"])),g[1]||(g[1]=he(F=>_(!0),["space"]))],onClick:g[2]||(g[2]=F=>_(!0))},[v.$slots["clock-icon"]?ie(v.$slots,"clock-icon",{key:0}):G("",!0),v.$slots["clock-icon"]?G("",!0):(R(),Pe(j(hr),{key:1}))],42,us)),[[wa,!j(l)("time")]]):G("",!0),_t(Zt,{name:j(u)(N.value),css:j(y)&&!v.timePickerInline},{default:_e(()=>{var F;return[N.value||v.timePicker||v.timePickerInline?(R(),Q("div",{key:0,class:Ce({dp__overlay:!v.timePickerInline}),ref_key:"overlayRef",ref:$,tabindex:v.timePickerInline?void 0:0},[J("div",{class:Ce(v.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[v.$slots["time-picker-overlay"]?ie(v.$slots,"time-picker-overlay",{key:0,hours:t.hours,minutes:t.minutes,seconds:t.seconds,setHours:Y,setMinutes:U,setSeconds:L}):G("",!0),v.$slots["time-picker-overlay"]?G("",!0):(R(),Q("div",{key:1,class:Ce(v.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(R(!0),Q(we,null,Fe(k.value,(D,M)=>yt((R(),Pe(ls,Qe({key:M},{...v.$props,order:M,hours:D.hours,minutes:D.minutes,seconds:D.seconds,closeTimePickerBtn:c.value,disabled:M===0?v.fixedStart:v.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:p,"onUpdate:hours":C=>Y(O(C,M,"hours")),"onUpdate:minutes":C=>U(O(C,M,"minutes")),"onUpdate:seconds":C=>L(O(C,M,"seconds")),onMounted:H,onOverlayClosed:H,onAmPmChange:g[3]||(g[3]=C=>v.$emit("am-pm-change",C))}),nt({_:2},[Fe(j(w),(C,x)=>({name:C,fn:_e(s=>[ie(v.$slots,C,ze(ft(s)))])}))]),1040,["onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[wa,M===0?!0:A.value]])),128))],2)),!v.timePicker&&!v.timePickerInline?yt((R(),Q("button",{key:2,type:"button",ref_key:"closeTimePickerBtn",ref:c,class:Ce(S.value),"aria-label":(F=j(d).ariaLabels)==null?void 0:F.closeTimePicker,tabindex:"0",onKeydown:[g[4]||(g[4]=he(D=>_(!1),["enter"])),g[5]||(g[5]=he(D=>_(!1),["space"]))],onClick:g[6]||(g[6]=D=>_(!1))},[v.$slots["calendar-icon"]?ie(v.$slots,"calendar-icon",{key:0}):G("",!0),v.$slots["calendar-icon"]?G("",!0):(R(),Pe(j(Ca),{key:1}))],42,cs)),[[wa,!j(l)("time")]]):G("",!0)],2)],10,ss)):G("",!0)]}),_:3},8,["name","css"])])}}}),fs=(t,n)=>{const{isDisabled:a,matchDate:e,getWeekFromDate:r,defaults:i}=it(n),o=ne(null),l=ne(q()),d=s=>{!s.current&&n.hideOffsetDates||(o.value=s.value)},u=()=>{o.value=null},y=s=>Array.isArray(t.value)&&n.range&&t.value[0]&&o.value?s?at(o.value,t.value[0]):Ze(o.value,t.value[0]):!0,m=(s,E)=>{const K=()=>t.value?E?t.value[0]||null:t.value[1]:null,W=t.value&&Array.isArray(t.value)?K():null;return Ne(q(s.value),W)},c=s=>{const E=Array.isArray(t.value)?t.value[0]:null;return s?!Ze(o.value||null,E):!0},p=(s,E=!0)=>(n.range||n.weekPicker)&&Array.isArray(t.value)&&t.value.length===2?n.hideOffsetDates&&!s.current?!1:Ne(q(s.value),t.value[E?0:1]):n.range?m(s,E)&&c(E)||Ne(s.value,Array.isArray(t.value)?t.value[0]:null)&&y(E):!1,$=(s,E,K)=>Array.isArray(t.value)&&t.value[0]&&t.value.length===1?s?!1:K?at(t.value[0],E.value):Ze(t.value[0],E.value):!1,A=s=>!t.value||n.hideOffsetDates&&!s.current?!1:n.range?n.modelAuto&&Array.isArray(t.value)?Ne(s.value,t.value[0]?t.value[0]:l.value):!1:n.multiDates&&Array.isArray(t.value)?t.value.some(E=>Ne(E,s.value)):Ne(s.value,t.value?t.value:l.value),N=s=>{if(n.autoRange||n.weekPicker){if(o.value){if(n.hideOffsetDates&&!s.current)return!1;const E=St(o.value,+n.autoRange),K=r(q(o.value));return n.weekPicker?Ne(K[1],q(s.value)):Ne(E,q(s.value))}return!1}return!1},X=s=>{if(n.autoRange||n.weekPicker){if(o.value){const E=St(o.value,+n.autoRange);if(n.hideOffsetDates&&!s.current)return!1;const K=r(q(o.value));return n.weekPicker?at(s.value,K[0])&&Ze(s.value,K[1]):at(s.value,o.value)&&Ze(s.value,E)}return!1}return!1},k=s=>{if(n.autoRange||n.weekPicker){if(o.value){if(n.hideOffsetDates&&!s.current)return!1;const E=r(q(o.value));return n.weekPicker?Ne(E[0],s.value):Ne(o.value,s.value)}return!1}return!1},_=s=>wr(t.value,o.value,s.value),S=()=>n.modelAuto&&Array.isArray(n.internalModelValue)?!!n.internalModelValue[0]:!1,w=()=>n.modelAuto?Dr(n.internalModelValue):!0,O=s=>{if(Array.isArray(t.value)&&t.value.length||n.weekPicker)return!1;const E=n.range?!p(s)&&!p(s,!1):!0;return!a(s.value)&&!A(s)&&!(!s.current&&n.hideOffsetDates)&&E},Y=s=>n.range?n.modelAuto?S()&&A(s):!1:A(s),U=s=>{var E;return n.highlight?e(s.value,(E=n.arrMapValues)!=null&&E.highlightedDates?n.arrMapValues.highlightedDates:n.highlight):!1},L=s=>a(s.value)&&n.highlightDisabledDays===!1,H=s=>n.highlightWeekDays&&n.highlightWeekDays.includes(s.value.getDay()),v=s=>(n.range||n.weekPicker)&&(!(i.value.multiCalendars>0)||s.current)&&w()&&!(!s.current&&n.hideOffsetDates)&&!A(s)?_(s):!1,g=s=>{const{isRangeStart:E,isRangeEnd:K}=D(s),W=n.range?E||K:!1;return{dp__cell_offset:!s.current,dp__pointer:!n.disabled&&!(!s.current&&n.hideOffsetDates)&&!a(s.value),dp__cell_disabled:a(s.value),dp__cell_highlight:!L(s)&&(U(s)||H(s))&&!Y(s)&&!W,dp__cell_highlight_active:!L(s)&&(U(s)||H(s))&&Y(s),dp__today:!n.noToday&&Ne(s.value,l.value)&&s.current}},P=s=>({dp__active_date:Y(s),dp__date_hover:O(s)}),F=s=>({...M(s),...C(s),dp__range_between_week:v(s)&&n.weekPicker}),D=s=>{const E=i.value.multiCalendars>0?s.current&&p(s)&&w():p(s)&&w(),K=i.value.multiCalendars>0?s.current&&p(s,!1)&&w():p(s,!1)&&w();return{isRangeStart:E,isRangeEnd:K}},M=s=>{const{isRangeStart:E,isRangeEnd:K}=D(s);return{dp__range_start:E,dp__range_end:K,dp__range_between:v(s)&&!n.weekPicker,dp__date_hover_start:$(O(s),s,!0),dp__date_hover_end:$(O(s),s,!1)}},C=s=>({...M(s),dp__cell_auto_range:X(s),dp__cell_auto_range_start:k(s),dp__cell_auto_range_end:N(s)}),x=s=>n.range?n.autoRange?C(s):n.modelAuto?{...P(s),...M(s)}:M(s):n.weekPicker?F(s):P(s);return{setHoverDate:d,clearHoverDate:u,getDayClassData:s=>n.hideOffsetDates&&!s.current?{}:{...g(s),...x(s),[n.dayClass?n.dayClass(s.value):""]:!0,[n.calendarCellClassName]:!!n.calendarCellClassName}}},vs=["id","onKeydown"],ps={key:0,class:"dp__sidebar_left"},ms={key:1,class:"dp__preset_ranges"},hs=["onClick"],ys={key:2,class:"dp__sidebar_right"},gs={key:3,class:"dp__action_extra"},ws=vt({__name:"DatepickerMenu",props:{openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},arrMapValues:{type:Object,default:()=>({})},...Yt},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end"],setup(t,{expose:n,emit:a}){const e=t,r=Z(()=>{const{openOnTop:B,internalModelValue:te,arrMapValues:Ue,...Le}=e;return Le}),{setMenuFocused:i,setShiftKey:o,control:l}=br(),{getCalendarDays:d,defaults:u}=it(e),y=nn(),m=ne(null),c=zt({timePicker:!!(!e.enableTimePicker||e.timePicker||e.monthPicker),monthYearInput:!!e.timePicker,calendar:!1}),p=ne([]),$=ne([]),A=ne(null),N=ne(null),X=ne(0),k=ne(!1),_=ne(0);ct(()=>{var B;k.value=!0,!((B=e.presetRanges)!=null&&B.length)&&!y["left-sidebar"]&&!y["right-sidebar"]&&(Dt(),window.addEventListener("resize",Dt));const te=Re(N);if(te&&!e.textInput&&!e.inline&&(i(!0),L()),te){const Ue=Le=>{e.allowPreventDefault&&Le.preventDefault(),Le.stopImmediatePropagation(),Le.stopPropagation()};te.addEventListener("pointerdown",Ue),te.addEventListener("mousedown",Ue)}}),rn(()=>{window.removeEventListener("resize",Dt)});const{arrowRight:S,arrowLeft:w,arrowDown:O,arrowUp:Y}=Et(),U=B=>{B||B===0?$.value[B].triggerTransition(F.value(B),D.value(B)):$.value.forEach((te,Ue)=>te.triggerTransition(F.value(Ue),D.value(Ue)))},L=()=>{const B=Re(N);B&&B.focus({preventScroll:!0})},H=()=>{var B;(B=e.flow)!=null&&B.length&&_.value!==-1&&(_.value+=1,a("flow-step",_.value),ce())},v=()=>{_.value=-1},{calendars:g,modelValue:P,month:F,year:D,time:M,updateTime:C,updateMonthYear:x,selectDate:s,getWeekNum:E,monthYearSelect:K,handleScroll:W,handleArrow:T,handleSwipe:f,getMarker:h,selectCurrentDate:I,presetDateRange:z}=hu(e,a,H,U,_),{setHoverDate:oe,clearHoverDate:ae,getDayClassData:ye}=fs(P,e),be={modelValue:P,month:F,year:D,time:M,updateTime:C,updateMonthYear:x,selectDate:s,presetDateRange:z,handleMonthYearChange:B=>{p.value[0]&&p.value[0].handleMonthYearChange(B)}};Nt(g,()=>{e.openOnTop&&setTimeout(()=>{a("recalculate-position")},0)},{deep:!0});const de=Bt(y,"calendar"),We=Bt(y,"action"),Je=Bt(y,"timePicker"),qe=Bt(y,"monthYear"),dt=Z(()=>e.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),pt=Z(()=>nu(e.yearRange,e.reverseYears)),Tt=Z(()=>ru(e.formatLocale,e.locale,e.monthNameFormat)),Dt=()=>{const B=Re(m);B&&(X.value=B.getBoundingClientRect().width)},ea=Z(()=>B=>d(F.value(B),D.value(B))),se=Z(()=>u.value.multiCalendars>0?[...Array(u.value.multiCalendars).keys()]:[0]),me=Z(()=>B=>B===1),ge=Z(()=>e.monthPicker||e.timePicker||e.yearPicker),ta=Z(()=>({dp__menu_inner:!0,dp__flex_display:u.value.multiCalendars>0})),Ut=Z(()=>({dp__instance_calendar:u.value.multiCalendars>0})),Sa=Z(()=>({dp__menu_disabled:e.disabled,dp__menu_readonly:e.readonly})),pa=Z(()=>B=>Oa(ea,B)),aa=Z(()=>({dp__menu:!0,dp__menu_index:!e.inline,dp__relative:e.inline,[e.menuClassName]:!!e.menuClassName})),Oa=(B,te)=>B.value(te).map(Ue=>({...Ue,days:Ue.days.map(Le=>(Le.marker=h(Le),Le.classData=ye(Le),Le))})),Na=B=>{B.stopPropagation(),B.stopImmediatePropagation()},Aa=()=>{e.escClose&&a("close-picker")},ma=(B,te=!1)=>{s(B,te),e.spaceConfirm&&a("select-date")},b=B=>{var te;(te=e.flow)!=null&&te.length&&(c[B]=!0,Object.keys(c).filter(Ue=>!c[Ue]).length||ce())},V=(B,te,Ue,Le,...ht)=>{if(e.flow[_.value]===B){const ue=Le?te.value[0]:te.value;ue&&ue[Ue](...ht)}},ce=()=>{V("month",p,"toggleMonthPicker",!0,!0),V("year",p,"toggleYearPicker",!0,!0),V("calendar",A,"toggleTimePicker",!1,!1,!0),V("time",A,"toggleTimePicker",!1,!0,!0);const B=e.flow[_.value];(B==="hours"||B==="minutes"||B==="seconds")&&V(B,A,"toggleTimePicker",!1,!0,!0,B)},pe=B=>{if(e.arrowNavigation){if(B==="up")return Y();if(B==="down")return O();if(B==="left")return w();if(B==="right")return S()}else B==="left"||B==="up"?T("left",0,B==="up"):T("right",0,B==="down")},Ye=B=>{o(B.shiftKey),!e.disableMonthYearSelect&&B.code==="Tab"&&B.target.classList.contains("dp__menu")&&l.value.shiftKeyInMenu&&(B.preventDefault(),B.stopImmediatePropagation(),a("close-picker"))},mt=()=>{L(),a("time-picker-close")},xt=B=>{var te,Ue,Le,ht,ue;(te=A.value)==null||te.toggleTimePicker(!1,!1),(Le=(Ue=p.value)==null?void 0:Ue[B])==null||Le.toggleMonthPicker(!1,!1),(ue=(ht=p.value)==null?void 0:ht[B])==null||ue.toggleYearPicker(!1,!1)};return n({updateMonthYear:x,switchView:(B,te=0)=>{var Ue,Le,ht,ue,Mt;return B==="month"?(Le=(Ue=p.value)==null?void 0:Ue[te])==null?void 0:Le.toggleMonthPicker(!1,!0):B==="year"?(ue=(ht=p.value)==null?void 0:ht[te])==null?void 0:ue.toggleYearPicker(!1,!0):B==="time"?(Mt=A.value)==null?void 0:Mt.toggleTimePicker(!0,!1):xt(te)}}),(B,te)=>{var Ue;return R(),Pe(Zt,{appear:"",name:(Ue=j(u).transitions)==null?void 0:Ue.menuAppear,css:!!B.transitions},{default:_e(()=>{var Le,ht;return[J("div",{id:B.uid?`dp-menu-${B.uid}`:void 0,tabindex:"0",ref_key:"dpMenuRef",ref:N,role:"dialog",class:Ce(aa.value),onMouseleave:te[14]||(te[14]=(...ue)=>j(ae)&&j(ae)(...ue)),onClick:Na,onKeydown:[he(Aa,["esc"]),te[15]||(te[15]=he(ot(ue=>pe("left"),["prevent"]),["left"])),te[16]||(te[16]=he(ot(ue=>pe("up"),["prevent"]),["up"])),te[17]||(te[17]=he(ot(ue=>pe("down"),["prevent"]),["down"])),te[18]||(te[18]=he(ot(ue=>pe("right"),["prevent"]),["right"])),Ye]},[(B.disabled||B.readonly)&&B.inline?(R(),Q("div",{key:0,class:Ce(Sa.value)},null,2)):G("",!0),!B.inline&&!B.teleportCenter?(R(),Q("div",{key:1,class:Ce(dt.value)},null,2)):G("",!0),J("div",{class:Ce({dp__menu_content_wrapper:((Le=B.presetRanges)==null?void 0:Le.length)||!!B.$slots["left-sidebar"]||!!B.$slots["right-sidebar"]})},[B.$slots["left-sidebar"]?(R(),Q("div",ps,[ie(B.$slots,"left-sidebar",ze(ft(be)))])):G("",!0),(ht=B.presetRanges)!=null&&ht.length?(R(),Q("div",ms,[(R(!0),Q(we,null,Fe(B.presetRanges,(ue,Mt)=>(R(),Q("div",{key:Mt,style:It(ue.style||{}),class:"dp__preset_range",onClick:De=>j(z)(ue.range,!!ue.slot)},[ue.slot?ie(B.$slots,ue.slot,{key:0,presetDateRange:j(z),label:ue.label,range:ue.range}):(R(),Q(we,{key:1},[rt(Ve(ue.label),1)],64))],12,hs))),128))])):G("",!0),J("div",{class:"dp__instance_calendar",ref_key:"calendarWrapperRef",ref:m,role:"document"},[J("div",{class:Ce(ta.value)},[(R(!0),Q(we,null,Fe(se.value,(ue,Mt)=>(R(),Q("div",{key:ue,class:Ce(Ut.value)},[!B.disableMonthYearSelect&&!B.timePicker?(R(),Pe(Ju,Qe({key:0,ref_for:!0,ref:De=>{De&&(p.value[Mt]=De)},months:Tt.value,years:pt.value,month:j(F)(ue),year:j(D)(ue),instance:ue,"internal-model-value":t.internalModelValue},r.value,{onMount:te[0]||(te[0]=De=>b("monthYearInput")),onResetFlow:v,onUpdateMonthYear:De=>j(x)(ue,De),onMonthYearSelect:j(K),onOverlayClosed:L}),nt({_:2},[Fe(j(qe),(De,xr)=>({name:De,fn:_e($a=>[ie(B.$slots,De,ze(ft($a)))])}))]),1040,["months","years","month","year","instance","internal-model-value","onUpdateMonthYear","onMonthYearSelect"])):G("",!0),_t(Lu,Qe({ref_for:!0,ref:De=>{De&&($.value[Mt]=De)},"specific-mode":ge.value,"get-week-num":j(E),instance:ue,"mapped-dates":pa.value(ue),month:j(F)(ue),year:j(D)(ue)},r.value,{onSelectDate:De=>j(s)(De,!me.value(ue)),onHandleSpace:De=>ma(De,!me.value(ue)),onSetHoverDate:te[1]||(te[1]=De=>j(oe)(De)),onHandleScroll:De=>j(W)(De,ue),onHandleSwipe:De=>j(f)(De,ue),onMount:te[2]||(te[2]=De=>b("calendar")),onResetFlow:v,onTooltipOpen:te[3]||(te[3]=De=>B.$emit("tooltip-open",De)),onTooltipClose:te[4]||(te[4]=De=>B.$emit("tooltip-close",De))}),nt({_:2},[Fe(j(de),(De,xr)=>({name:De,fn:_e($a=>[ie(B.$slots,De,ze(ft({...$a})))])}))]),1040,["specific-mode","get-week-num","instance","mapped-dates","month","year","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])],2))),128))],2),J("div",null,[B.$slots["time-picker"]?ie(B.$slots,"time-picker",ze(Qe({key:0},{time:j(M),updateTime:j(C)}))):(R(),Q(we,{key:1},[B.enableTimePicker&&!B.monthPicker&&!B.weekPicker?(R(),Pe(ds,Qe({key:0,ref_key:"timePickerRef",ref:A,hours:j(M).hours,minutes:j(M).minutes,seconds:j(M).seconds,"internal-model-value":t.internalModelValue},r.value,{onMount:te[5]||(te[5]=ue=>b("timePicker")),"onUpdate:hours":te[6]||(te[6]=ue=>j(C)(ue)),"onUpdate:minutes":te[7]||(te[7]=ue=>j(C)(ue,!1)),"onUpdate:seconds":te[8]||(te[8]=ue=>j(C)(ue,!1,!0)),onResetFlow:v,onOverlayClosed:mt,onOverlayOpened:te[9]||(te[9]=ue=>B.$emit("time-picker-open",ue)),onAmPmChange:te[10]||(te[10]=ue=>B.$emit("am-pm-change",ue))}),nt({_:2},[Fe(j(Je),(ue,Mt)=>({name:ue,fn:_e(De=>[ie(B.$slots,ue,ze(ft(De)))])}))]),1040,["hours","minutes","seconds","internal-model-value"])):G("",!0)],64))])],512),B.$slots["right-sidebar"]?(R(),Q("div",ys,[ie(B.$slots,"right-sidebar",ze(ft(be)))])):G("",!0),B.$slots["action-extra"]?(R(),Q("div",gs,[B.$slots["action-extra"]?ie(B.$slots,"action-extra",{key:0,selectCurrentDate:j(I)}):G("",!0)])):G("",!0)],2),!B.autoApply||B.keepActionRow?(R(),Pe(Su,Qe({key:2,"menu-mount":k.value,"calendar-width":X.value,"internal-model-value":t.internalModelValue},r.value,{onClosePicker:te[11]||(te[11]=ue=>B.$emit("close-picker")),onSelectDate:te[12]||(te[12]=ue=>B.$emit("select-date")),onInvalidSelect:te[13]||(te[13]=ue=>B.$emit("invalid-select")),onSelectNow:j(I)}),nt({_:2},[Fe(j(We),(ue,Mt)=>({name:ue,fn:_e(De=>[ie(B.$slots,ue,ze(ft({...De})))])}))]),1040,["menu-mount","calendar-width","internal-model-value","onSelectNow"])):G("",!0)],42,vs)]}),_:3},8,["name","css"])}}}),bs=typeof window<"u"?window:void 0,Qa=()=>{},_s=t=>Nr()?(Ar(t),!0):!1,ks=(t,n,a,e)=>{if(!t)return Qa;let r=Qa;const i=Nt(()=>j(t),l=>{r(),l&&(l.addEventListener(n,a,e),r=()=>{l.removeEventListener(n,a,e),r=Qa})},{immediate:!0,flush:"post"}),o=()=>{i(),r()};return _s(o),o},Ts=(t,n,a,e={})=>{const{window:r=bs,event:i="pointerdown"}=e;return r?ks(r,i,o=>{const l=Re(t),d=Re(n);!l||!d||l===o.target||o.composedPath().includes(l)||o.composedPath().includes(d)||a(o)},{passive:!0}):void 0},Ds=vt({__name:"VueDatePicker",props:{...Yt},emits:["update:model-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end"],setup(t,{expose:n,emit:a}){const e=t,r=nn(),i=ne(!1),o=da(e,"modelValue"),l=da(e,"timezone"),d=ne(null),u=ne(null),y=ne(!1),m=ne(null),c=zt({disabledDates:null,allowedDates:null,highlightedDates:null}),{setMenuFocused:p,setShiftKey:$}=br(),{clearArrowNav:A}=Et(),{validateDate:N,isValidTime:X,defaults:k,mapDatesArrToMap:_}=it(e);ct(()=>{F(e.modelValue),e.inline||(v(m.value).addEventListener("scroll",K),window.addEventListener("resize",W)),e.inline&&(i.value=!0),_(c)}),rn(()=>{if(!e.inline){const se=v(m.value);se&&se.removeEventListener("scroll",K),window.removeEventListener("resize",W)}});const S=Bt(r,"all",e.presetRanges),w=Bt(r,"input");Nt([o,l],()=>{F(o.value)},{deep:!0});const{openOnTop:O,menuStyle:Y,resetPosition:U,setMenuPosition:L,setInitialPosition:H,getScrollableParent:v}=wu(d,u,a,e),{inputValue:g,internalModelValue:P,parseExternalModelValue:F,emitModelValue:D,formatInputValue:M,checkBeforeEmit:C}=yu(a,e,y),x=Z(()=>({dp__main:!0,dp__theme_dark:e.dark,dp__theme_light:!e.dark,dp__flex_display:e.inline,dp__flex_display_with_input:e.inlineWithInput})),s=Z(()=>e.dark?"dp__theme_dark":"dp__theme_light"),E=Z(()=>e.teleport?{to:typeof e.teleport=="boolean"?"body":e.teleport,disabled:e.inline}:{class:"dp__outer_menu_wrap"}),K=()=>{i.value&&(e.closeOnScroll?be():L())},W=()=>{i.value&&L()},T=async()=>{var se,me,ge;!e.disabled&&!e.readonly&&(U(),await At(),i.value=!0,await At(),H(),await At(),L(),delete Y.value.opacity,!((se=k.value.transitions)!=null&&se.menuAppear)&&e.transitions&&((ge=(me=d.value)==null?void 0:me.$el)==null||ge.classList.add("dp__menu_transitioned")),i.value&&a("open"),i.value||ye(),F(e.modelValue))},f=()=>{g.value="",ye(),a("update:model-value",null),a("cleared"),e.closeOnClearValue&&be()},h=()=>{const se=P.value;return!se||!Array.isArray(se)&&N(se)?!0:Array.isArray(se)?se.length===2&&N(se[0])&&N(se[1])?!0:N(se[0]):!1},I=()=>{C()&&h()?(D(),be()):a("invalid-select",P.value)},z=se=>{oe(),D(),e.closeOnAutoApply&&!se&&be()},oe=()=>{u.value&&e.textInput&&u.value.setParsedDate(P.value)},ae=(se=!1)=>{e.autoApply&&X(P.value)&&h()&&(e.range&&Array.isArray(P.value)?(e.partialRange||P.value.length===2)&&z(se):z(se))},ye=()=>{e.textInput||(P.value=null)},be=()=>{e.inline||(i.value&&(i.value=!1,p(!1),$(!1),A(),a("closed"),H(),g.value&&F(o.value)),ye())},de=(se,me)=>{if(!se){P.value=null;return}P.value=se,me&&(I(),a("text-submit"))},We=()=>{e.autoApply&&X(P.value)&&D(),oe()},Je=()=>i.value?be():T(),qe=se=>{P.value=se},dt=()=>{e.textInput&&(y.value=!0,M()),a("focus")},pt=()=>{e.textInput&&(y.value=!1,F(e.modelValue)),a("blur")},Tt=se=>{d.value&&d.value.updateMonthYear(0,{month:Vn(se.month),year:Vn(se.year)})},Dt=se=>{F(se||e.modelValue)},ea=(se,me)=>{var ge;(ge=d.value)==null||ge.switchView(se,me)};return Ts(d,u,e.onClickOutside?()=>e.onClickOutside(h):be),n({closeMenu:be,selectDate:I,clearValue:f,openMenu:T,onScroll:K,formatInputValue:M,updateInternalModelValue:qe,setMonthYear:Tt,parseModel:Dt,switchView:ea}),(se,me)=>(R(),Q("div",{class:Ce(x.value),ref_key:"pickerWrapperRef",ref:m},[_t(xu,Qe({ref_key:"inputRef",ref:u,"is-menu-open":i.value,"input-value":j(g),"onUpdate:inputValue":me[0]||(me[0]=ge=>gn(g)?g.value=ge:null)},se.$props,{onClear:f,onOpen:T,onSetInputDate:de,onSetEmptyDate:j(D),onSelectDate:I,onToggle:Je,onClose:be,onFocus:dt,onBlur:pt,onRealBlur:me[1]||(me[1]=ge=>y.value=!1)}),nt({_:2},[Fe(j(w),(ge,ta)=>({name:ge,fn:_e(Ut=>[ie(se.$slots,ge,ze(ft(Ut)))])}))]),1040,["is-menu-open","input-value","onSetEmptyDate"]),i.value?(R(),Pe(Gn(se.teleport?Sr:"div"),ze(Qe({key:0},E.value)),{default:_e(()=>[i.value?(R(),Pe(ws,Qe({key:0,ref_key:"dpMenuRef",ref:d,class:s.value,style:se.inline?void 0:j(Y),"open-on-top":j(O),"arr-map-values":c},se.$props,{"internal-model-value":j(P),"onUpdate:internalModelValue":me[2]||(me[2]=ge=>gn(P)?P.value=ge:null),onClosePicker:be,onSelectDate:I,onAutoApply:ae,onTimeUpdate:We,onFlowStep:me[3]||(me[3]=ge=>se.$emit("flow-step",ge)),onUpdateMonthYear:me[4]||(me[4]=ge=>se.$emit("update-month-year",ge)),onInvalidSelect:me[5]||(me[5]=ge=>se.$emit("invalid-select",j(P))),onInvalidFixedRange:me[6]||(me[6]=ge=>se.$emit("invalid-fixed-range",ge)),onRecalculatePosition:j(L),onTooltipOpen:me[7]||(me[7]=ge=>se.$emit("tooltip-open",ge)),onTooltipClose:me[8]||(me[8]=ge=>se.$emit("tooltip-close",ge)),onTimePickerOpen:me[9]||(me[9]=ge=>se.$emit("time-picker-open",ge)),onTimePickerClose:me[10]||(me[10]=ge=>se.$emit("time-picker-close",ge)),onAmPmChange:me[11]||(me[11]=ge=>se.$emit("am-pm-change",ge)),onRangeStart:me[12]||(me[12]=ge=>se.$emit("range-start",ge)),onRangeEnd:me[13]||(me[13]=ge=>se.$emit("range-end",ge))}),nt({_:2},[Fe(j(S),(ge,ta)=>({name:ge,fn:_e(Ut=>[ie(se.$slots,ge,ze(ft({...Ut})))])}))]),1040,["class","style","open-on-top","arr-map-values","internal-model-value","onRecalculatePosition"])):G("",!0)]),_:3},16)):G("",!0)],2))}}),mn=(()=>{const t=Ds;return t.install=n=>{n.component("Vue3DatePicker",t)},t})(),xs=Object.freeze(Object.defineProperty({__proto__:null,default:mn},Symbol.toStringTag,{value:"Module"}));Object.entries(xs).forEach(([t,n])=>{t!=="default"&&(mn[t]=n)});const Ms={components:{VueEditorJs:Qn,List:hn,Header:yn,VueDatePicker:mn},props:{postId:{type:Number,default:null},timezone:{type:String,default:null}},data(){return{isSaving:!1,showEditorJs:!1,post:{id:null,title:"",slug:"",excerpt:"",cliffhanger:"",author_id:null,featured:!0,publish_date:null,featured_image:null,body:{time:1591362820044,blocks:[],version:"2.25.0"},locale_slug:null,locale_id:null,status:"draft",categories:null},status:["publish","future","draft","private","trash"],config:{placeholder:"Write something (ノ◕ヮ◕)ノ*:・゚✧",tools:{header:{class:yn,config:{placeholder:"Enter a header",levels:[2,3,4],defaultLevel:3}},list:{class:hn,inlineToolbar:!0},image:{class:Fr,config:{field:"file",endpoints:{byFile:null,byUrl:null}}}},onReady:()=>{},onChange:t=>{},data:{time:1690738306815,blocks:[{id:"DYr36VT6KH",data:{text:"Introduction",level:3},type:"header"},{id:"TAh-E2RIrs",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"sQWS7Ivg74",data:{text:"First Point",level:3},type:"header"},{id:"Y9GYmrtsEk",data:{file:{url:"https://cdn1.productalert.co/uploads/1690738207_3b4cf9ff-c617-4062-b910-22e61e1751d0.jpg"},caption:"Picture of First Point",stretched:!1,withBorder:!1,withBackground:!1},type:"image"},{id:"7qzQF_jale",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"_oYWs021IJ",data:{text:"Second Point",level:3},type:"header"},{id:"PzXRqEDx1Z",data:{file:{url:"https://cdn1.productalert.co/uploads/1690738243_8eb9f5b2-f3ad-45d9-a626-8ef160ef4068.jpg"},caption:"Picture of Second Point",stretched:!1,withBorder:!1,withBackground:!1},type:"image"},{id:"oD5oZ_q0Qo",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"am9pIHopIw",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"iFvJ1tYZk-",data:{text:"Third Point",level:3},type:"header"},{id:"zqwukyGttU",data:{file:{url:"https://cdn1.productalert.co/uploads/1690738271_180a520a-22df-4b98-aad3-9962e10832d6.jpg"},caption:"Picture of Third Point",stretched:!1,withBorder:!1,withBackground:!1},type:"image"},{id:"uuR88uia0m",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"KNVtnJ5lou",data:{text:"Fourth Point",level:3},type:"header"},{id:"SWdpL4jh6G",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"},{id:"dQqWsgP_FO",data:{text:"Conclusion",level:3},type:"header"},{id:"I7FOByi69M",data:{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."},type:"paragraph"}],version:"2.27.2"}}}},watch:{"post.title":{deep:!0,handler(t,n){this.post.slug=this.slugify(t)}}},computed:{...Ir(bn,["countryLocales","localeCategories","defaultLocaleSlug","authors"]),getPostFullUrl(){var t;return((t=this.post.slug)==null?void 0:t.length)>0?"https://productalert.co/"+this.post.locale_slug+"/posts/"+this.post.slug:"https://productalert.co/"+this.post.locale_slug+"/posts/enter-a-post-title-to-autogen-slug"}},methods:{...Er(bn,["fetchCountryLocales","fetchLocaleCategories","fetchAuthors"]),checkAndSave(){var n,a,e,r,i,o;let t=[];((n=this.post.title)==null?void 0:n.length)>0||t.push("post title"),((a=this.post.slug)==null?void 0:a.length)>0||t.push("post slug"),this.post.status=="publish"&&(this.post.publish_date==null&&t.push("publish date"),((e=this.post.excerpt)==null?void 0:e.length)>0||t.push("post excerpt"),((r=this.post.featured_image)==null?void 0:r.length)>0||t.push("post featured image"),((i=this.post.body.blocks)==null?void 0:i.length)>0||t.push("Post body"),(!(((o=this.post.locale_slug)==null?void 0:o.length)>0)||this.post.locale_id==null)&&t.push("Country locality"),this.post.categories==null&&t.push("Category")),t.length>0?alert("HAIYA many errors! For "+this.post.status+" status, pls fix "+t.join(", ")):this.savePost()},savePost(){this.isSaving=!0;const t=new FormData;for(const[n,a]of Object.entries(this.post))if(a!=null)if(n=="body")t.append(n,JSON.stringify(a));else if(n=="publish_date")if(a instanceof Date){let e=a.toISOString();t.append(n,e)}else t.append(n,a);else t.append(n,a);ua.post(Ft("api.admin.post.upsert"),t,{headers:{"Content-Type":"application/json"}}).then(n=>{console.warn(n),n.data.action=="redirect_back"&&window.location.replace(Ft("posts.manage"))}),setTimeout((function(){this.isSaving=!1}).bind(this),1e3)},onInitialized(t){},imageSaved(t){this.post.featured_image=t},editorSaved(t){this.post.body=t},statusChanged(t){this.post.status=t.target.value},localeChanged(t){this.post.locale_slug=t.target.value,this.post.locale_id=this.getLocaleIdBySlug(t.target.value),this.post.categories=[],setTimeout((function(){this.fetchLocaleCategories(this.post.locale_slug)}).bind(this),100)},setDefaultLocale(){(this.post.locale_slug==null||this.post.locale_slug=="")&&(this.post.locale_slug=this.defaultLocaleSlug,this.post.locale_id=this.getLocaleIdBySlug(this.defaultLocaleSlug))},getLocaleIdBySlug(t){for(const[n,a]of Object.entries(this.countryLocales))if(a.slug==t)return a.id;return null},async fetchPostData(t){var a;const n=await ua.get(Ft("api.admin.post.get",{id:t}));if(((a=n==null?void 0:n.data)==null?void 0:a.post)!=null){let e=this.post,r=n.data.post;e.id=r.id,e.title=r.title,e.slug=r.slug,e.publish_date=r.publish_date,e.excerpt=r.excerpt,e.cliffhanger=r.cliffhanger,e.author_id=r.author_id,e.featured=r.featured,e.featured_image=r.featured_image,e.body=r.body,e.locale_slug=r.post_category.category.country_locale_slug,e.locale_id=r.post_category.category.country_locale_id,e.status=r.status,e.categories=r.post_category.category.id,this.post=e,this.config.data=r.body}console.log(n.data.post)},slugify:function(t){var n="",a=t.toLowerCase();return n=a.replace(/[^a-z0-9\s]/g,""),n=n.replace(/\s+/g," "),n=n.trim(),n=n.replace(/\s+/g,"-"),n},setAuthor(){if(this.post.id==null&&this.post.author_id==null)for(const[t,n]of Object.entries(this.authors)){this.post.author_id=n.id;break}},setLocalCategory(){if(this.post.id==null&&this.post.categories==null)for(const[t,n]of Object.entries(this.localeCategories)){this.post.categories=n.id;break}}},mounted(){this.config.tools.image.config.endpoints.byFile=Ft("api.admin.upload.cloud.image"),this.config.tools.image.config.additionalRequestHeaders={"X-CSRF-TOKEN":document.querySelector('meta[name="csrf-token"]').getAttribute("content")},this.fetchCountryLocales().then(()=>{this.setDefaultLocale(),setTimeout((function(){this.fetchLocaleCategories(this.post.locale_slug).then(()=>{this.setLocalCategory()}),this.fetchAuthors().then(()=>{this.setAuthor()}),this.postId!=null?this.fetchPostData(this.postId).then(()=>{setTimeout((function(){this.showEditorJs=!0}).bind(this),1e3)}):setTimeout((function(){this.showEditorJs=!0}).bind(this),1e3)}).bind(this),100)})}},Cs={class:"row justify-content-center"},Ps={class:"col-9",style:{"max-width":"700px"}},Ss={class:"mb-3"},Os={class:"form-floating"},Ns=J("label",null,"Write a SEO post title",-1),As={class:"text-secondary"},$s={class:"form-floating mb-3"},Is=J("label",null,"Write a post cliffhanger (optional)",-1),Es=J("div",{class:"alert mt-1"},[rt(' Cliffhanger examples: "'),J("i",null,"Can Alpinestars Tech-Air redefine motorcycle safety? Find out now."),rt('" or "'),J("i",null,'Are they worth the hype? Stay tuned for our in-depth review."')],-1),Ys={class:"form-floating mb-3"},Us=J("label",null,"Write a simple excerpt to convince & entice users to view this post!",-1),Ls={key:0,class:"card"},Rs={class:"card-body"},Fs={class:"col-3"},Vs={class:"d-grid mb-2"},Bs=["selected","value"],Ws=J("div",{class:"fw-bold"},"Publish Date",-1),Hs={class:"input-icon mb-2"},js=Lr('',1),qs=["disabled"],Qs=J("span",{class:"visually-hidden"},"Saving...",-1),Gs=[Qs],Xs={key:1},Js={class:"card mb-2"},Ks=J("div",{class:"card-header fw-bold"},"Country Locality",-1),zs={class:"card-body"},Zs=["value","selected"],ec={class:"card mb-2"},tc=J("div",{class:"card-header fw-bold"},"Categories",-1),ac={class:"card-body"},nc=["id","value"],rc={class:"card mb-2"},oc=J("div",{class:"card-header fw-bold"},"Authors",-1),ic={class:"card-body"},lc=["id","value"],uc={class:"card mb-2"},sc=J("div",{class:"card-header fw-bold"},"Other Settings",-1),cc={class:"card-body"},dc={class:"form-check form-switch"},fc=J("label",{class:"form-check-label"},"Feature this Post",-1);function vc(t,n,a,e,r,i){const o=Mr,l=Qn,d=Yr("VueDatePicker");return R(),Q("div",null,[J("div",Cs,[J("div",Ps,[J("div",Ss,[J("div",Os,[yt(J("input",{"onUpdate:modelValue":n[0]||(n[0]=u=>r.post.title=u),type:"text",class:"form-control",placeholder:"Post title"},null,512),[[Ia,r.post.title]]),Ns]),J("small",null,[J("span",As,Ve(i.getPostFullUrl),1)])]),J("div",$s,[yt(J("textarea",{"onUpdate:modelValue":n[1]||(n[1]=u=>r.post.cliffhanger=u),class:"form-control",style:{"min-height":"150px"},placeholder:"Enter a post cliffhanger"},null,512),[[Ia,r.post.cliffhanger]]),Is,Es]),J("div",Ys,[yt(J("textarea",{"onUpdate:modelValue":n[2]||(n[2]=u=>r.post.excerpt=u),class:"form-control",style:{"min-height":"150px"},placeholder:"Enter a post excerpt/summary"},null,512),[[Ia,r.post.excerpt]]),Us]),_t(o,{ref:"imageBlock",class:"mb-3","input-image":r.post.featured_image,onSaved:i.imageSaved},null,8,["input-image","onSaved"]),r.showEditorJs?(R(),Q("div",Ls,[J("div",Rs,[_t(l,{onSaved:i.editorSaved,config:r.config,initialized:i.onInitialized},null,8,["onSaved","config","initialized"])])])):G("",!0)]),J("div",Fs,[J("div",Vs,[J("select",{class:"form-select mb-2","aria-label":"Default select example",onChange:n[3]||(n[3]=(...u)=>i.statusChanged&&i.statusChanged(...u))},[(R(!0),Q(we,null,Fe(r.status,u=>(R(),Q("option",{key:u,selected:u==r.post.status,value:u}," Post Status: "+Ve(u),9,Bs))),128))],32),Ws,J("div",Hs,[js,_t(d,{timezone:a.timezone,modelValue:r.post.publish_date,"onUpdate:modelValue":n[4]||(n[4]=u=>r.post.publish_date=u)},null,8,["timezone","modelValue"])]),J("button",{onClick:n[5]||(n[5]=(...u)=>i.checkAndSave&&i.checkAndSave(...u)),class:"btn btn-primary",style:{height:"50px"}},[r.isSaving?(R(),Q("div",{key:0,class:Ce(["spinner-border",r.isSaving?"disabled":""]),role:"status",disabled:r.isSaving},Gs,10,qs)):(R(),Q("span",Xs,"Save as "+Ve(r.post.status),1))])]),J("div",Js,[Ks,J("div",zs,[J("select",{class:"form-select",onChange:n[6]||(n[6]=(...u)=>i.localeChanged&&i.localeChanged(...u))},[(R(!0),Q(we,null,Fe(t.countryLocales,u=>(R(),Q("option",{key:u.id,value:u.slug,selected:u.slug==r.post.locale_slug},Ve(u.name),9,Zs))),128))],32)])]),J("div",ec,[tc,J("div",ac,[(R(!0),Q(we,null,Fe(t.localeCategories,u=>(R(),Q("div",{class:"py-1",key:u.id},[J("label",null,[yt(J("input",{type:"radio",id:u.id,value:u.id,"onUpdate:modelValue":n[7]||(n[7]=y=>r.post.categories=y)},null,8,nc),[[wn,r.post.categories]]),rt(" "+Ve(u.name),1)])]))),128))])]),J("div",rc,[oc,J("div",ic,[(R(!0),Q(we,null,Fe(t.authors,u=>(R(),Q("div",{class:"py-1",key:u.id},[J("label",null,[yt(J("input",{type:"radio",id:u.id,value:u.id,"onUpdate:modelValue":n[8]||(n[8]=y=>r.post.author_id=y)},null,8,lc),[[wn,r.post.author_id]]),rt(" "+Ve(u.name),1)])]))),128))])]),J("div",uc,[sc,J("div",cc,[J("div",dc,[yt(J("input",{"onUpdate:modelValue":n[9]||(n[9]=u=>r.post.featured=u),class:"form-check-input",type:"checkbox",role:"switch"},null,512),[[Ur,r.post.featured]]),fc])])])])])])}const wc=$r(Ms,[["render",vc]]);export{wc as default}; diff --git a/public/build/assets/PostEditor-e2c0e1b1.js.gz b/public/build/assets/PostEditor-e2c0e1b1.js.gz deleted file mode 100644 index bb95190..0000000 Binary files a/public/build/assets/PostEditor-e2c0e1b1.js.gz and /dev/null differ diff --git a/public/build/assets/ToastMessage-cef385bb.js b/public/build/assets/ToastMessage-cef385bb.js new file mode 100644 index 0000000..609a65c --- /dev/null +++ b/public/build/assets/ToastMessage-cef385bb.js @@ -0,0 +1 @@ +import{_ as t,l as e,c as s,o}from"./app-front-d6902e40.js";const r={name:"ToastMessage",mixins:[],components:{},props:["type","message","timeout"],data:()=>({}),watch:{},computed:{},methods:{triggerMounted(){this.type=="error"&&e(this.message,{position:"bottom-center",type:"error",timeout:3e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:!0,icon:!0,rtl:!1}),this.type=="success"&&e(this.message,{position:"bottom-center",type:"success",timeout:3e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!1,closeButton:!0,icon:!0,rtl:!1})}},mounted(){this.triggerMounted()}};function a(n,u,c,i,l,p){return o(),s("div")}const m=t(r,[["render",a]]);export{m as default}; diff --git a/public/build/assets/VueEditorJs-4c208fc9.js.gz b/public/build/assets/VueEditorJs-4c208fc9.js.gz deleted file mode 100644 index 555927c..0000000 Binary files a/public/build/assets/VueEditorJs-4c208fc9.js.gz and /dev/null differ diff --git a/public/build/assets/VueEditorJs-bbb0be71.js b/public/build/assets/VueEditorJs-bbb0be71.js deleted file mode 100644 index 9dbbb55..0000000 --- a/public/build/assets/VueEditorJs-bbb0be71.js +++ /dev/null @@ -1,83 +0,0 @@ -import{_ as Oe,a1 as Zt,f as Ne,c as De,r as Re,h as Pe,o as Fe}from"./app-front-32dad050.js";var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xt(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Ct(){}Object.assign(Ct,{default:Ct,register:Ct,revert:function(){},__esModule:!0});Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(s){const t=(this.document||this.ownerDocument).querySelectorAll(s);let e=t.length;for(;--e>=0&&t.item(e)!==this;);return e>-1});Element.prototype.closest||(Element.prototype.closest=function(s){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(s))return t;t=t.parentElement||t.parentNode}while(t!==null);return null});Element.prototype.prepend||(Element.prototype.prepend=function(s){const t=document.createDocumentFragment();Array.isArray(s)||(s=[s]),s.forEach(e=>{const o=e instanceof Node;t.appendChild(o?e:document.createTextNode(e))}),this.insertBefore(t,this.firstChild)});Element.prototype.scrollIntoViewIfNeeded||(Element.prototype.scrollIntoViewIfNeeded=function(s){s=arguments.length===0?!0:!!s;const t=this.parentNode,e=window.getComputedStyle(t,null),o=parseInt(e.getPropertyValue("border-top-width")),i=parseInt(e.getPropertyValue("border-left-width")),n=this.offsetTop-t.offsetTopt.scrollTop+t.clientHeight,a=this.offsetLeft-t.offsetLeftt.scrollLeft+t.clientWidth,c=n&&!r;(n||r)&&s&&(t.scrollTop=this.offsetTop-t.offsetTop-t.clientHeight/2-o+this.clientHeight/2),(a||l)&&s&&(t.scrollLeft=this.offsetLeft-t.offsetLeft-t.clientWidth/2-i+this.clientWidth/2),(n||r||a||l)&&!s&&this.scrollIntoView(c)});window.requestIdleCallback=window.requestIdleCallback||function(s){const t=Date.now();return setTimeout(function(){s({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};window.cancelIdleCallback=window.cancelIdleCallback||function(s){clearTimeout(s)};let je=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((t,e)=>(e&=63,e<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),"");var se=(s=>(s.VERBOSE="VERBOSE",s.INFO="INFO",s.WARN="WARN",s.ERROR="ERROR",s))(se||{});const E={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91},ze={LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4};function mt(s,t,e="log",o,i="color: inherit"){if(!("console"in window)||!window.console[e])return;const n=["info","log","warn","error"].includes(e),r=[];switch(mt.logLevel){case"ERROR":if(e!=="error")return;break;case"WARN":if(!["error","warn"].includes(e))return;break;case"INFO":if(!n||s)return;break}o&&r.push(o);const a="Editor.js 2.28.0",l=`line-height: 1em; - color: #006FEA; - display: inline-block; - font-size: 11px; - line-height: 1em; - background-color: #fff; - padding: 4px 9px; - border-radius: 30px; - border: 1px solid rgba(56, 138, 229, 0.16); - margin: 4px 5px 4px 0;`;s&&(n?(r.unshift(l,i),t=`%c${a}%c ${t}`):t=`( ${a} )${t}`);try{n?o?console[e](`${t} %o`,...r):console[e](t,...r):console[e](t)}catch{}}mt.logLevel="VERBOSE";function Ue(s){mt.logLevel=s}const _=mt.bind(window,!1),K=mt.bind(window,!0);function ot(s){return Object.prototype.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function R(s){return ot(s)==="function"||ot(s)==="asyncfunction"}function z(s){return ot(s)==="object"}function J(s){return ot(s)==="string"}function $e(s){return ot(s)==="boolean"}function Gt(s){return ot(s)==="number"}function Jt(s){return ot(s)==="undefined"}function V(s){return s?Object.keys(s).length===0&&s.constructor===Object:!0}function re(s){return s>47&&s<58||s===32||s===13||s===229||s>64&&s<91||s>95&&s<112||s>185&&s<193||s>218&&s<223}async function We(s,t=()=>{},e=()=>{}){async function o(i,n,r){try{await i.function(i.data),await n(Jt(i.data)?{}:i.data)}catch{r(Jt(i.data)?{}:i.data)}}return s.reduce(async(i,n)=>(await i,o(n,t,e)),Promise.resolve())}function ae(s){return Array.prototype.slice.call(s)}function rt(s,t){return function(){const e=this,o=arguments;window.setTimeout(()=>s.apply(e,o),t)}}function Ye(s){return s.name.split(".").pop()}function Ke(s){return/^[-\w]+\/([-+\w]+|\*)$/.test(s)}function Xe(s,t,e){let o;return(...i)=>{const n=this,r=()=>{o=null,e||s.apply(n,i)},a=e&&!o;window.clearTimeout(o),o=window.setTimeout(r,t),a&&s.apply(n,i)}}function St(s,t,e=void 0){let o,i,n,r=null,a=0;e||(e={});const l=function(){a=e.leading===!1?0:Date.now(),r=null,n=s.apply(o,i),r||(o=i=null)};return function(){const c=Date.now();!a&&e.leading===!1&&(a=c);const p=t-(c-a);return o=this,i=arguments,p<=0||p>t?(r&&(clearTimeout(r),r=null),a=c,n=s.apply(o,i),r||(o=i=null)):!r&&e.trailing!==!1&&(r=setTimeout(l,p)),n}}function Ve(){const s={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(s).find(e=>window.navigator.appVersion.toLowerCase().indexOf(e)!==-1);return t&&(s[t]=!0),s}function at(s){return s[0].toUpperCase()+s.slice(1)}function It(s,...t){if(!t.length)return s;const e=t.shift();if(z(s)&&z(e))for(const o in e)z(e[o])?(s[o]||Object.assign(s,{[o]:{}}),It(s[o],e[o])):Object.assign(s,{[o]:e[o]});return It(s,...t)}function Rt(s){const t=Ve();return s=s.replace(/shift/gi,"⇧").replace(/backspace/gi,"⌫").replace(/enter/gi,"⏎").replace(/up/gi,"↑").replace(/left/gi,"→").replace(/down/gi,"↓").replace(/right/gi,"←").replace(/escape/gi,"⎋").replace(/insert/gi,"Ins").replace(/delete/gi,"␡").replace(/\+/gi," + "),t.mac?s=s.replace(/ctrl|cmd/gi,"⌘").replace(/alt/gi,"⌥"):s=s.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN"),s}function qe(s){try{return new URL(s).href}catch{}return s.substring(0,2)==="//"?window.location.protocol+s:window.location.origin+s}function Ze(){return je(10)}function Ge(s){window.open(s,"_blank")}function Je(s=""){return`${s}${Math.floor(Math.random()*1e8).toString(16)}`}function Mt(s,t,e){const o=`«${t}» is deprecated and will be removed in the next major release. Please use the «${e}» instead.`;s&&K(o,"warn")}function ct(s,t,e){const o=e.value?"value":"get",i=e[o],n=`#${t}Cache`;if(e[o]=function(...r){return this[n]===void 0&&(this[n]=i.apply(this,...r)),this[n]},o==="get"&&e.set){const r=e.set;e.set=function(a){delete s[n],r.apply(this,a)}}return e}const le=650;function et(){return window.matchMedia(`(max-width: ${le}px)`).matches}const Qt=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);function Qe(s,t){const e=Array.isArray(s)||z(s),o=Array.isArray(t)||z(t);return e||o?JSON.stringify(s)===JSON.stringify(t):s===t}class d{static isSingleTag(t){return t.tagName&&["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(t.tagName)}static isLineBreakTag(t){return t&&t.tagName&&["BR","WBR"].includes(t.tagName)}static make(t,e=null,o={}){const i=document.createElement(t);Array.isArray(e)?i.classList.add(...e):e&&i.classList.add(e);for(const n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i[n]=o[n]);return i}static text(t){return document.createTextNode(t)}static append(t,e){Array.isArray(e)?e.forEach(o=>t.appendChild(o)):t.appendChild(e)}static prepend(t,e){Array.isArray(e)?(e=e.reverse(),e.forEach(o=>t.prepend(o))):t.prepend(e)}static swap(t,e){const o=document.createElement("div"),i=t.parentNode;i.insertBefore(o,t),i.insertBefore(t,e),i.insertBefore(e,o),i.removeChild(o)}static find(t=document,e){return t.querySelector(e)}static get(t){return document.getElementById(t)}static findAll(t=document,e){return t.querySelectorAll(e)}static get allInputsSelector(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map(t=>`input[type="${t}"]`).join(", ")}static findAllInputs(t){return ae(t.querySelectorAll(d.allInputsSelector)).reduce((e,o)=>d.isNativeInput(o)||d.containsOnlyInlineElements(o)?[...e,o]:[...e,...d.getDeepestBlockElements(o)],[])}static getDeepestNode(t,e=!1){const o=e?"lastChild":"firstChild",i=e?"previousSibling":"nextSibling";if(t&&t.nodeType===Node.ELEMENT_NODE&&t[o]){let n=t[o];if(d.isSingleTag(n)&&!d.isNativeInput(n)&&!d.isLineBreakTag(n))if(n[i])n=n[i];else if(n.parentNode[i])n=n.parentNode[i];else return n.parentNode;return this.getDeepestNode(n,e)}return t}static isElement(t){return Gt(t)?!1:t&&t.nodeType&&t.nodeType===Node.ELEMENT_NODE}static isFragment(t){return Gt(t)?!1:t&&t.nodeType&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE}static isContentEditable(t){return t.contentEditable==="true"}static isNativeInput(t){const e=["INPUT","TEXTAREA"];return t&&t.tagName?e.includes(t.tagName):!1}static canSetCaret(t){let e=!0;if(d.isNativeInput(t))switch(t.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":e=!1;break}else e=d.isContentEditable(t);return e}static isNodeEmpty(t){let e;return this.isSingleTag(t)&&!this.isLineBreakTag(t)?!1:(this.isElement(t)&&this.isNativeInput(t)?e=t.value:e=t.textContent.replace("​",""),e.trim().length===0)}static isLeaf(t){return t?t.childNodes.length===0:!1}static isEmpty(t){t.normalize();const e=[t];for(;e.length>0;)if(t=e.shift(),!!t){if(this.isLeaf(t)&&!this.isNodeEmpty(t))return!1;t.childNodes&&e.push(...Array.from(t.childNodes))}return!0}static isHTMLString(t){const e=d.make("div");return e.innerHTML=t,e.childElementCount>0}static getContentLength(t){return d.isNativeInput(t)?t.value.length:t.nodeType===Node.TEXT_NODE?t.length:t.textContent.length}static get blockElements(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tbody","thead","tr","tfoot","ul","video"]}static containsOnlyInlineElements(t){let e;J(t)?(e=document.createElement("div"),e.innerHTML=t):e=t;const o=i=>!d.blockElements.includes(i.tagName.toLowerCase())&&Array.from(i.children).every(o);return Array.from(e.children).every(o)}static getDeepestBlockElements(t){return d.containsOnlyInlineElements(t)?[t]:Array.from(t.children).reduce((e,o)=>[...e,...d.getDeepestBlockElements(o)],[])}static getHolder(t){return J(t)?document.getElementById(t):t}static isAnchor(t){return t.tagName.toLowerCase()==="a"}static offset(t){const e=t.getBoundingClientRect(),o=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop,n=e.top+i,r=e.left+o;return{top:n,left:r,bottom:n+e.height,right:r+e.width}}}const to={blockTunes:{toggler:{"Click to tune":"","or drag to move":""}},inlineToolbar:{converter:{"Convert to":""}},toolbar:{toolbox:{Add:""}},popover:{Filter:"","Nothing found":""}},eo={Text:"",Link:"",Bold:"",Italic:""},oo={link:{"Add a link":""},stub:{"The block can not be displayed correctly.":""}},io={delete:{Delete:"","Click to delete":""},moveUp:{"Move up":""},moveDown:{"Move down":""}},ce={ui:to,toolNames:eo,tools:oo,blockTunes:io},it=class{static ui(s,t){return it._t(s,t)}static t(s,t){return it._t(s,t)}static setDictionary(s){it.currentDictionary=s}static _t(s,t){const e=it.getNamespace(s);return!e||!e[t]?t:e[t]}static getNamespace(s){return s.split(".").reduce((t,e)=>!t||!Object.keys(t).length?{}:t[e],it.currentDictionary)}};let $=it;$.currentDictionary=ce;class de extends Error{}class wt{constructor(){this.subscribers={}}on(t,e){t in this.subscribers||(this.subscribers[t]=[]),this.subscribers[t].push(e)}once(t,e){t in this.subscribers||(this.subscribers[t]=[]);const o=i=>{const n=e(i),r=this.subscribers[t].indexOf(o);return r!==-1&&this.subscribers[t].splice(r,1),n};this.subscribers[t].push(o)}emit(t,e){V(this.subscribers)||!this.subscribers[t]||this.subscribers[t].reduce((o,i)=>{const n=i(o);return n!==void 0?n:o},e)}off(t,e){if(this.subscribers[t]===void 0){console.warn(`EventDispatcher .off(): there is no subscribers for event "${t.toString()}". Probably, .off() called before .on()`);return}for(let o=0;o{const l=this.allListeners.indexOf(n[a]);l>-1&&(this.allListeners.splice(l,1),r.element.removeEventListener(r.eventType,r.handler,r.options))})}offById(t){const e=this.findById(t);e&&e.element.removeEventListener(e.eventType,e.handler,e.options)}findOne(t,e,o){const i=this.findAll(t,e,o);return i.length>0?i[0]:null}findAll(t,e,o){let i;const n=t?this.findByEventTarget(t):[];return t&&e&&o?i=n.filter(r=>r.eventType===e&&r.handler===o):t&&e?i=n.filter(r=>r.eventType===e):i=n,i}removeAll(){this.allListeners.map(t=>{t.element.removeEventListener(t.eventType,t.handler,t.options)}),this.allListeners=[]}destroy(){this.removeAll()}findByEventTarget(t){return this.allListeners.filter(e=>{if(e.element===t)return e})}findByType(t){return this.allListeners.filter(e=>{if(e.eventType===t)return e})}findByHandler(t){return this.allListeners.filter(e=>{if(e.handler===t)return e})}findById(t){return this.allListeners.find(e=>e.id===t)}}class T{constructor({config:t,eventsDispatcher:e}){if(this.nodes={},this.listeners=new Pt,this.readOnlyMutableListeners={on:(o,i,n,r=!1)=>{this.mutableListenerIds.push(this.listeners.on(o,i,n,r))},clearAll:()=>{for(const o of this.mutableListenerIds)this.listeners.offById(o);this.mutableListenerIds=[]}},this.mutableListenerIds=[],new.target===T)throw new TypeError("Constructors for abstract class Module are not allowed.");this.config=t,this.eventsDispatcher=e}set state(t){this.Editor=t}removeAllNodes(){for(const t in this.nodes){const e=this.nodes[t];e instanceof HTMLElement&&e.remove()}}get isRtl(){return this.config.i18n.direction==="rtl"}}class b{constructor(){this.instance=null,this.selection=null,this.savedSelectionRange=null,this.isFakeBackgroundEnabled=!1,this.commandBackground="backColor",this.commandRemoveFormat="removeFormat"}static get CSS(){return{editorWrapper:"codex-editor",editorZone:"codex-editor__redactor"}}static get anchorNode(){const t=window.getSelection();return t?t.anchorNode:null}static get anchorElement(){const t=window.getSelection();if(!t)return null;const e=t.anchorNode;return e?d.isElement(e)?e:e.parentElement:null}static get anchorOffset(){const t=window.getSelection();return t?t.anchorOffset:null}static get isCollapsed(){const t=window.getSelection();return t?t.isCollapsed:null}static get isAtEditor(){return this.isSelectionAtEditor(b.get())}static isSelectionAtEditor(t){if(!t)return!1;let e=t.anchorNode||t.focusNode;e&&e.nodeType===Node.TEXT_NODE&&(e=e.parentNode);let o=null;return e&&e instanceof Element&&(o=e.closest(`.${b.CSS.editorZone}`)),o?o.nodeType===Node.ELEMENT_NODE:!1}static isRangeAtEditor(t){if(!t)return;let e=t.startContainer;e&&e.nodeType===Node.TEXT_NODE&&(e=e.parentNode);let o=null;return e&&e instanceof Element&&(o=e.closest(`.${b.CSS.editorZone}`)),o?o.nodeType===Node.ELEMENT_NODE:!1}static get isSelectionExists(){return!!b.get().anchorNode}static get range(){return this.getRangeFromSelection(this.get())}static getRangeFromSelection(t){return t&&t.rangeCount?t.getRangeAt(0):null}static get rect(){let t=document.selection,e,o={x:0,y:0,width:0,height:0};if(t&&t.type!=="Control")return t=t,e=t.createRange(),o.x=e.boundingLeft,o.y=e.boundingTop,o.width=e.boundingWidth,o.height=e.boundingHeight,o;if(!window.getSelection)return _("Method window.getSelection is not supported","warn"),o;if(t=window.getSelection(),t.rangeCount===null||isNaN(t.rangeCount))return _("Method SelectionUtils.rangeCount is not supported","warn"),o;if(t.rangeCount===0)return o;if(e=t.getRangeAt(0).cloneRange(),e.getBoundingClientRect&&(o=e.getBoundingClientRect()),o.x===0&&o.y===0){const i=document.createElement("span");if(i.getBoundingClientRect){i.appendChild(document.createTextNode("​")),e.insertNode(i),o=i.getBoundingClientRect();const n=i.parentNode;n.removeChild(i),n.normalize()}}return o}static get text(){return window.getSelection?window.getSelection().toString():""}static get(){return window.getSelection()}static setCursor(t,e=0){const o=document.createRange(),i=window.getSelection();return d.isNativeInput(t)?d.canSetCaret(t)?(t.focus(),t.selectionStart=t.selectionEnd=e,t.getBoundingClientRect()):void 0:(o.setStart(t,e),o.setEnd(t,e),i.removeAllRanges(),i.addRange(o),o.getBoundingClientRect())}static isRangeInsideContainer(t){const e=b.range;return e===null?!1:t.contains(e.startContainer)}static addFakeCursor(){const t=b.range;if(t===null)return;const e=d.make("span","codex-editor__fake-cursor");e.dataset.mutationFree="true",t.collapse(),t.insertNode(e)}static isFakeCursorInsideContainer(t){return d.find(t,".codex-editor__fake-cursor")!==null}static removeFakeCursor(t=document.body){const e=d.find(t,".codex-editor__fake-cursor");e&&e.remove()}removeFakeBackground(){this.isFakeBackgroundEnabled&&(this.isFakeBackgroundEnabled=!1,document.execCommand(this.commandRemoveFormat))}setFakeBackground(){document.execCommand(this.commandBackground,!1,"#a8d6ff"),this.isFakeBackgroundEnabled=!0}save(){this.savedSelectionRange=b.range}restore(){if(!this.savedSelectionRange)return;const t=window.getSelection();t.removeAllRanges(),t.addRange(this.savedSelectionRange)}clearSaved(){this.savedSelectionRange=null}collapseToEnd(){const t=window.getSelection(),e=document.createRange();e.selectNodeContents(t.focusNode),e.collapse(!1),t.removeAllRanges(),t.addRange(e)}findParentTag(t,e,o=10){const i=window.getSelection();let n=null;return!i||!i.anchorNode||!i.focusNode?null:([i.anchorNode,i.focusNode].forEach(r=>{let a=o;for(;a>0&&r.parentNode&&!(r.tagName===t&&(n=r,e&&r.classList&&!r.classList.contains(e)&&(n=null),n));)r=r.parentNode,a--}),n)}expandToTag(t){const e=window.getSelection();e.removeAllRanges();const o=document.createRange();o.selectNodeContents(t),e.addRange(o)}}function no(s,t){const{type:e,target:o,addedNodes:i,removedNodes:n}=s;if(o===t)return!0;if(["characterData","attributes"].includes(e)){const l=o.nodeType===Node.TEXT_NODE?o.parentNode:o;return t.contains(l)}const r=Array.from(i).some(l=>t.contains(l)),a=Array.from(n).some(l=>t.contains(l));return r||a}const _t="redactor dom changed",he="block changed",pe="fake cursor is about to be toggled",ue="fake cursor have been set";function te(s,t){return s.mergeable&&s.name===t.name}function so(s,t){const e=t==null?void 0:t.export;return R(e)?e(s):J(e)?s[e]:(e!==void 0&&_("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."),"")}function ro(s,t){const e=t==null?void 0:t.import;return R(e)?e(s):J(e)?{[e]:s}:(e!==void 0&&_("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."),{})}var q=(s=>(s.APPEND_CALLBACK="appendCallback",s.RENDERED="rendered",s.MOVED="moved",s.UPDATED="updated",s.REMOVED="removed",s.ON_PASTE="onPaste",s))(q||{});class F extends wt{constructor({id:t=Ze(),data:e,tool:o,api:i,readOnly:n,tunesData:r},a){super(),this.cachedInputs=[],this.toolRenderedElement=null,this.tunesInstances=new Map,this.defaultTunesInstances=new Map,this.unavailableTunesData={},this.inputIndex=0,this.editorEventBus=null,this.handleFocus=()=>{this.dropInputsCache(),this.updateCurrentInput()},this.didMutated=(l=void 0)=>{const c=l===void 0,p=l instanceof InputEvent;!c&&!p&&this.detectToolRootChange(l);let h;c||p?h=!0:h=!(l.length>0&&l.every(f=>{const{addedNodes:k,removedNodes:u,target:C}=f;return[...Array.from(k),...Array.from(u),C].some(L=>d.isElement(L)?L.dataset.mutationFree==="true":!1)})),h&&(this.dropInputsCache(),this.updateCurrentInput(),this.call("updated"),this.emit("didMutated",this))},this.name=o.name,this.id=t,this.settings=o.settings,this.config=o.settings.config||{},this.api=i,this.editorEventBus=a||null,this.blockAPI=new tt(this),this.tool=o,this.toolInstance=o.create(e,this.blockAPI,n),this.tunes=o.tunes,this.composeTunes(r),this.holder=this.compose(),window.requestIdleCallback(()=>{this.watchBlockMutations(),this.addInputEvents()})}static get CSS(){return{wrapper:"ce-block",wrapperStretched:"ce-block--stretched",content:"ce-block__content",focused:"ce-block--focused",selected:"ce-block--selected",dropTarget:"ce-block--drop-target"}}get inputs(){if(this.cachedInputs.length!==0)return this.cachedInputs;const t=d.findAllInputs(this.holder);return this.inputIndex>t.length-1&&(this.inputIndex=t.length-1),this.cachedInputs=t,t}get currentInput(){return this.inputs[this.inputIndex]}set currentInput(t){const e=this.inputs.findIndex(o=>o===t||o.contains(t));e!==-1&&(this.inputIndex=e)}get firstInput(){return this.inputs[0]}get lastInput(){const t=this.inputs;return t[t.length-1]}get nextInput(){return this.inputs[this.inputIndex+1]}get previousInput(){return this.inputs[this.inputIndex-1]}get data(){return this.save().then(t=>t&&!V(t.data)?t.data:{})}get sanitize(){return this.tool.sanitizeConfig}get mergeable(){return R(this.toolInstance.merge)}get isEmpty(){const t=d.isEmpty(this.pluginsContent),e=!this.hasMedia;return t&&e}get hasMedia(){const t=["img","iframe","video","audio","source","input","textarea","twitterwidget"];return!!this.holder.querySelector(t.join(","))}set focused(t){this.holder.classList.toggle(F.CSS.focused,t)}get focused(){return this.holder.classList.contains(F.CSS.focused)}set selected(t){var e,o;this.holder.classList.toggle(F.CSS.selected,t);const i=t===!0&&b.isRangeInsideContainer(this.holder),n=t===!1&&b.isFakeCursorInsideContainer(this.holder);(i||n)&&((e=this.editorEventBus)==null||e.emit(pe,{state:t}),i?b.addFakeCursor():b.removeFakeCursor(this.holder),(o=this.editorEventBus)==null||o.emit(ue,{state:t}))}get selected(){return this.holder.classList.contains(F.CSS.selected)}set stretched(t){this.holder.classList.toggle(F.CSS.wrapperStretched,t)}get stretched(){return this.holder.classList.contains(F.CSS.wrapperStretched)}set dropTarget(t){this.holder.classList.toggle(F.CSS.dropTarget,t)}get pluginsContent(){return this.toolRenderedElement}call(t,e){if(R(this.toolInstance[t])){t==="appendCallback"&&_("`appendCallback` hook is deprecated and will be removed in the next major release. Use `rendered` hook instead","warn");try{this.toolInstance[t].call(this.toolInstance,e)}catch(o){_(`Error during '${t}' call: ${o.message}`,"error")}}}async mergeWith(t){await this.toolInstance.merge(t)}async save(){const t=await this.toolInstance.save(this.pluginsContent),e=this.unavailableTunesData;[...this.tunesInstances.entries(),...this.defaultTunesInstances.entries()].forEach(([n,r])=>{if(R(r.save))try{e[n]=r.save()}catch(a){_(`Tune ${r.constructor.name} save method throws an Error %o`,"warn",a)}});const o=window.performance.now();let i;return Promise.resolve(t).then(n=>(i=window.performance.now(),{id:this.id,tool:this.name,data:n,tunes:e,time:i-o})).catch(n=>{_(`Saving process for ${this.name} tool failed due to the ${n}`,"log","red")})}async validate(t){let e=!0;return this.toolInstance.validate instanceof Function&&(e=await this.toolInstance.validate(t)),e}getTunes(){const t=document.createElement("div"),e=[],o=typeof this.toolInstance.renderSettings=="function"?this.toolInstance.renderSettings():[],i=[...this.tunesInstances.values(),...this.defaultTunesInstances.values()].map(n=>n.render());return[o,i].flat().forEach(n=>{d.isElement(n)?t.appendChild(n):Array.isArray(n)?e.push(...n):e.push(n)}),[e,t]}updateCurrentInput(){this.currentInput=d.isNativeInput(document.activeElement)||!b.anchorNode?document.activeElement:b.anchorNode}dispatchChange(){this.didMutated()}destroy(){this.unwatchBlockMutations(),this.removeInputEvents(),super.destroy(),R(this.toolInstance.destroy)&&this.toolInstance.destroy()}async getActiveToolboxEntry(){const t=this.tool.toolbox;if(t.length===1)return Promise.resolve(this.tool.toolbox[0]);const e=await this.data;return t.find(o=>Object.entries(o.data).some(([i,n])=>e[i]&&Qe(e[i],n)))}async exportDataAsString(){const t=await this.data;return so(t,this.tool.conversionConfig)}compose(){const t=d.make("div",F.CSS.wrapper),e=d.make("div",F.CSS.content),o=this.toolInstance.render();t.dataset.id=this.id,this.toolRenderedElement=o,e.appendChild(this.toolRenderedElement);let i=e;return[...this.tunesInstances.values(),...this.defaultTunesInstances.values()].forEach(n=>{if(R(n.wrap))try{i=n.wrap(i)}catch(r){_(`Tune ${n.constructor.name} wrap method throws an Error %o`,"warn",r)}}),t.appendChild(i),t}composeTunes(t){Array.from(this.tunes.values()).forEach(e=>{(e.isInternal?this.defaultTunesInstances:this.tunesInstances).set(e.name,e.create(t[e.name],this.blockAPI))}),Object.entries(t).forEach(([e,o])=>{this.tunesInstances.has(e)||(this.unavailableTunesData[e]=o)})}addInputEvents(){this.inputs.forEach(t=>{t.addEventListener("focus",this.handleFocus),d.isNativeInput(t)&&t.addEventListener("input",this.didMutated)})}removeInputEvents(){this.inputs.forEach(t=>{t.removeEventListener("focus",this.handleFocus),d.isNativeInput(t)&&t.removeEventListener("input",this.didMutated)})}watchBlockMutations(){var t;this.redactorDomChangedCallback=e=>{const{mutations:o}=e;o.some(i=>no(i,this.toolRenderedElement))&&this.didMutated(o)},(t=this.editorEventBus)==null||t.on(_t,this.redactorDomChangedCallback)}unwatchBlockMutations(){var t;(t=this.editorEventBus)==null||t.off(_t,this.redactorDomChangedCallback)}detectToolRootChange(t){t.forEach(e=>{if(Array.from(e.removedNodes).includes(this.toolRenderedElement)){const o=e.addedNodes[e.addedNodes.length-1];this.toolRenderedElement=o}})}dropInputsCache(){this.cachedInputs=[]}}class ao extends T{constructor(){super(...arguments),this.insert=(t=this.config.defaultBlock,e={},o={},i,n,r,a)=>{const l=this.Editor.BlockManager.insert({id:a,tool:t,data:e,index:i,needToFocus:n,replace:r});return new tt(l)},this.composeBlockData=async t=>{const e=this.Editor.Tools.blockTools.get(t);return new F({tool:e,api:this.Editor.API,readOnly:!0,data:{},tunesData:{}}).data},this.update=async(t,e)=>{const{BlockManager:o}=this.Editor,i=o.getBlockById(t);if(i===void 0)throw new Error(`Block with id "${t}" not found`);const n=await o.update(i,e);return new tt(n)},this.convert=(t,e,o)=>{var i,n;const{BlockManager:r,Tools:a}=this.Editor,l=r.getBlockById(t);if(!l)throw new Error(`Block with id "${t}" not found`);const c=a.blockTools.get(l.name),p=a.blockTools.get(e);if(!p)throw new Error(`Block Tool with type "${e}" not found`);const h=((i=c==null?void 0:c.conversionConfig)==null?void 0:i.export)!==void 0,f=((n=p.conversionConfig)==null?void 0:n.import)!==void 0;if(h&&f)r.convert(l,e,o);else{const k=[h?!1:at(l.name),f?!1:at(e)].filter(Boolean).join(" and ");throw new Error(`Conversion from "${l.name}" to "${e}" is not possible. ${k} tool(s) should provide a "conversionConfig"`)}},this.insertMany=(t,e=this.Editor.BlockManager.blocks.length-1)=>{this.validateIndex(e);const o=t.map(({id:i,type:n,data:r})=>this.Editor.BlockManager.composeBlock({id:i,tool:n||this.config.defaultBlock,data:r}));return this.Editor.BlockManager.insertMany(o,e),o.map(i=>new tt(i))}}get methods(){return{clear:()=>this.clear(),render:t=>this.render(t),renderFromHTML:t=>this.renderFromHTML(t),delete:t=>this.delete(t),swap:(t,e)=>this.swap(t,e),move:(t,e)=>this.move(t,e),getBlockByIndex:t=>this.getBlockByIndex(t),getById:t=>this.getById(t),getCurrentBlockIndex:()=>this.getCurrentBlockIndex(),getBlockIndex:t=>this.getBlockIndex(t),getBlocksCount:()=>this.getBlocksCount(),stretchBlock:(t,e=!0)=>this.stretchBlock(t,e),insertNewBlock:()=>this.insertNewBlock(),insert:this.insert,insertMany:this.insertMany,update:this.update,composeBlockData:this.composeBlockData,convert:this.convert}}getBlocksCount(){return this.Editor.BlockManager.blocks.length}getCurrentBlockIndex(){return this.Editor.BlockManager.currentBlockIndex}getBlockIndex(t){const e=this.Editor.BlockManager.getBlockById(t);if(!e){K("There is no block with id `"+t+"`","warn");return}return this.Editor.BlockManager.getBlockIndex(e)}getBlockByIndex(t){const e=this.Editor.BlockManager.getBlockByIndex(t);if(e===void 0){K("There is no block at index `"+t+"`","warn");return}return new tt(e)}getById(t){const e=this.Editor.BlockManager.getBlockById(t);return e===void 0?(K("There is no block with id `"+t+"`","warn"),null):new tt(e)}swap(t,e){_("`blocks.swap()` method is deprecated and will be removed in the next major release. Use `block.move()` method instead","info"),this.Editor.BlockManager.swap(t,e)}move(t,e){this.Editor.BlockManager.move(t,e)}delete(t=this.Editor.BlockManager.currentBlockIndex){try{const e=this.Editor.BlockManager.getBlockByIndex(t);this.Editor.BlockManager.removeBlock(e)}catch(e){K(e,"warn");return}this.Editor.BlockManager.blocks.length===0&&this.Editor.BlockManager.insert(),this.Editor.BlockManager.currentBlock&&this.Editor.Caret.setToBlock(this.Editor.BlockManager.currentBlock,this.Editor.Caret.positions.END),this.Editor.Toolbar.close()}async clear(){await this.Editor.BlockManager.clear(!0),this.Editor.InlineToolbar.close()}async render(t){if(t===void 0||t.blocks===void 0)throw new Error("Incorrect data passed to the render() method");this.Editor.ModificationsObserver.disable(),await this.Editor.BlockManager.clear(),await this.Editor.Renderer.render(t.blocks),this.Editor.ModificationsObserver.enable()}renderFromHTML(t){return this.Editor.BlockManager.clear(),this.Editor.Paste.processText(t,!0)}stretchBlock(t,e=!0){Mt(!0,"blocks.stretchBlock()","BlockAPI");const o=this.Editor.BlockManager.getBlockByIndex(t);o&&(o.stretched=e)}insertNewBlock(){_("Method blocks.insertNewBlock() is deprecated and it will be removed in the next major release. Use blocks.insert() instead.","warn"),this.insert()}validateIndex(t){if(typeof t!="number")throw new Error("Index should be a number");if(t<0)throw new Error("Index should be greater than or equal to 0");if(t===null)throw new Error("Index should be greater than or equal to 0")}}class lo extends T{constructor(){super(...arguments),this.setToFirstBlock=(t=this.Editor.Caret.positions.DEFAULT,e=0)=>this.Editor.BlockManager.firstBlock?(this.Editor.Caret.setToBlock(this.Editor.BlockManager.firstBlock,t,e),!0):!1,this.setToLastBlock=(t=this.Editor.Caret.positions.DEFAULT,e=0)=>this.Editor.BlockManager.lastBlock?(this.Editor.Caret.setToBlock(this.Editor.BlockManager.lastBlock,t,e),!0):!1,this.setToPreviousBlock=(t=this.Editor.Caret.positions.DEFAULT,e=0)=>this.Editor.BlockManager.previousBlock?(this.Editor.Caret.setToBlock(this.Editor.BlockManager.previousBlock,t,e),!0):!1,this.setToNextBlock=(t=this.Editor.Caret.positions.DEFAULT,e=0)=>this.Editor.BlockManager.nextBlock?(this.Editor.Caret.setToBlock(this.Editor.BlockManager.nextBlock,t,e),!0):!1,this.setToBlock=(t,e=this.Editor.Caret.positions.DEFAULT,o=0)=>this.Editor.BlockManager.blocks[t]?(this.Editor.Caret.setToBlock(this.Editor.BlockManager.blocks[t],e,o),!0):!1,this.focus=(t=!1)=>t?this.setToLastBlock(this.Editor.Caret.positions.END):this.setToFirstBlock(this.Editor.Caret.positions.START)}get methods(){return{setToFirstBlock:this.setToFirstBlock,setToLastBlock:this.setToLastBlock,setToPreviousBlock:this.setToPreviousBlock,setToNextBlock:this.setToNextBlock,setToBlock:this.setToBlock,focus:this.focus}}}class co extends T{get methods(){return{emit:(t,e)=>this.emit(t,e),off:(t,e)=>this.off(t,e),on:(t,e)=>this.on(t,e)}}on(t,e){this.eventsDispatcher.on(t,e)}emit(t,e){this.eventsDispatcher.emit(t,e)}off(t,e){this.eventsDispatcher.off(t,e)}}class Ft extends T{static getNamespace(t){return t.isTune()?`blockTunes.${t.name}`:`tools.${t.name}`}get methods(){return{t:()=>{K("I18n.t() method can be accessed only from Tools","warn")}}}getMethodsForTool(t){return Object.assign(this.methods,{t:e=>$.t(Ft.getNamespace(t),e)})}}class ho extends T{get methods(){return{blocks:this.Editor.BlocksAPI.methods,caret:this.Editor.CaretAPI.methods,events:this.Editor.EventsAPI.methods,listeners:this.Editor.ListenersAPI.methods,notifier:this.Editor.NotifierAPI.methods,sanitizer:this.Editor.SanitizerAPI.methods,saver:this.Editor.SaverAPI.methods,selection:this.Editor.SelectionAPI.methods,styles:this.Editor.StylesAPI.classes,toolbar:this.Editor.ToolbarAPI.methods,inlineToolbar:this.Editor.InlineToolbarAPI.methods,tooltip:this.Editor.TooltipAPI.methods,i18n:this.Editor.I18nAPI.methods,readOnly:this.Editor.ReadOnlyAPI.methods,ui:this.Editor.UiAPI.methods}}getMethodsForTool(t){return Object.assign(this.methods,{i18n:this.Editor.I18nAPI.getMethodsForTool(t)})}}class po extends T{get methods(){return{close:()=>this.close(),open:()=>this.open()}}open(){this.Editor.InlineToolbar.tryToShow()}close(){this.Editor.InlineToolbar.close()}}class uo extends T{get methods(){return{on:(t,e,o,i)=>this.on(t,e,o,i),off:(t,e,o,i)=>this.off(t,e,o,i),offById:t=>this.offById(t)}}on(t,e,o,i){return this.listeners.on(t,e,o,i)}off(t,e,o,i){this.listeners.off(t,e,o,i)}offById(t){this.listeners.offById(t)}}var At={},fo={get exports(){return At},set exports(s){At=s}};(function(s,t){(function(e,o){s.exports=o()})(window,function(){return function(e){var o={};function i(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=o,i.d=function(n,r,a){i.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:a})},i.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,r){if(1&r&&(n=i(n)),8&r||4&r&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&r&&typeof n!="string")for(var l in n)i.d(a,l,(function(c){return n[c]}).bind(null,l));return a},i.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(r,"a",r),r},i.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},i.p="/",i(i.s=0)}([function(e,o,i){i(1),e.exports=function(){var n=i(6),r="cdx-notify--bounce-in",a=null;return{show:function(l){if(l.message){(function(){if(a)return!0;a=n.getWrapper(),document.body.appendChild(a)})();var c=null,p=l.time||8e3;switch(l.type){case"confirm":c=n.confirm(l);break;case"prompt":c=n.prompt(l);break;default:c=n.alert(l),window.setTimeout(function(){c.remove()},p)}a.appendChild(c),c.classList.add(r)}}}}()},function(e,o,i){var n=i(2);typeof n=="string"&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};i(4)(n,r),n.locals&&(e.exports=n.locals)},function(e,o,i){(e.exports=i(3)(!1)).push([e.i,`.cdx-notify--error{background:#fffbfb!important}.cdx-notify--error::before{background:#fb5d5d!important}.cdx-notify__input{max-width:130px;padding:5px 10px;background:#f7f7f7;border:0;border-radius:3px;font-size:13px;color:#656b7c;outline:0}.cdx-notify__input:-ms-input-placeholder{color:#656b7c}.cdx-notify__input::placeholder{color:#656b7c}.cdx-notify__input:focus:-ms-input-placeholder{color:rgba(101,107,124,.3)}.cdx-notify__input:focus::placeholder{color:rgba(101,107,124,.3)}.cdx-notify__button{border:none;border-radius:3px;font-size:13px;padding:5px 10px;cursor:pointer}.cdx-notify__button:last-child{margin-left:10px}.cdx-notify__button--cancel{background:#f2f5f7;box-shadow:0 2px 1px 0 rgba(16,19,29,0);color:#656b7c}.cdx-notify__button--cancel:hover{background:#eee}.cdx-notify__button--confirm{background:#34c992;box-shadow:0 1px 1px 0 rgba(18,49,35,.05);color:#fff}.cdx-notify__button--confirm:hover{background:#33b082}.cdx-notify__btns-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-top:5px}.cdx-notify__cross{position:absolute;top:5px;right:5px;width:10px;height:10px;padding:5px;opacity:.54;cursor:pointer}.cdx-notify__cross::after,.cdx-notify__cross::before{content:'';position:absolute;left:9px;top:5px;height:12px;width:2px;background:#575d67}.cdx-notify__cross::before{transform:rotate(-45deg)}.cdx-notify__cross::after{transform:rotate(45deg)}.cdx-notify__cross:hover{opacity:1}.cdx-notifies{position:fixed;z-index:2;bottom:20px;left:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.cdx-notify{position:relative;width:220px;margin-top:15px;padding:13px 16px;background:#fff;box-shadow:0 11px 17px 0 rgba(23,32,61,.13);border-radius:5px;font-size:14px;line-height:1.4em;word-wrap:break-word}.cdx-notify::before{content:'';position:absolute;display:block;top:0;left:0;width:3px;height:calc(100% - 6px);margin:3px;border-radius:5px;background:0 0}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(.9)}100%{transform:scale(1)}}.cdx-notify--bounce-in{animation-name:bounceIn;animation-duration:.6s;animation-iteration-count:1}.cdx-notify--success{background:#fafffe!important}.cdx-notify--success::before{background:#41ffb1!important}`,""])},function(e,o){e.exports=function(i){var n=[];return n.toString=function(){return this.map(function(r){var a=function(l,c){var p=l[1]||"",h=l[3];if(!h)return p;if(c&&typeof btoa=="function"){var f=(u=h,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(u))))+" */"),k=h.sources.map(function(C){return"/*# sourceURL="+h.sourceRoot+C+" */"});return[p].concat(k).concat([f]).join(` -`)}var u;return[p].join(` -`)}(r,i);return r[2]?"@media "+r[2]+"{"+a+"}":a}).join("")},n.i=function(r,a){typeof r=="string"&&(r=[[null,r,""]]);for(var l={},c=0;c=0&&f.splice(g,1)}function D(m){var g=document.createElement("style");return m.attrs.type===void 0&&(m.attrs.type="text/css"),w(g,m.attrs),L(m,g),g}function w(m,g){Object.keys(g).forEach(function(y){m.setAttribute(y,g[y])})}function v(m,g){var y,B,A,S;if(g.transform&&m.css){if(!(S=g.transform(m.css)))return function(){};m.css=S}if(g.singleton){var H=h++;y=p||(p=D(g)),B=O.bind(null,y,H,!1),A=O.bind(null,y,H,!0)}else m.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(y=function(M){var W=document.createElement("link");return M.attrs.type===void 0&&(M.attrs.type="text/css"),M.attrs.rel="stylesheet",w(W,M.attrs),L(M,W),W}(g),B=(function(M,W,dt){var Q=dt.css,Et=dt.sourceMap,Ae=W.convertToAbsoluteUrls===void 0&&Et;(W.convertToAbsoluteUrls||Ae)&&(Q=k(Q)),Et&&(Q+=` -/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(Et))))+" */");var Le=new Blob([Q],{type:"text/css"}),qt=M.href;M.href=URL.createObjectURL(Le),qt&&URL.revokeObjectURL(qt)}).bind(null,y,g),A=function(){N(y),y.href&&URL.revokeObjectURL(y.href)}):(y=D(g),B=(function(M,W){var dt=W.css,Q=W.media;if(Q&&M.setAttribute("media",Q),M.styleSheet)M.styleSheet.cssText=dt;else{for(;M.firstChild;)M.removeChild(M.firstChild);M.appendChild(document.createTextNode(dt))}}).bind(null,y),A=function(){N(y)});return B(m),function(M){if(M){if(M.css===m.css&&M.media===m.media&&M.sourceMap===m.sourceMap)return;B(m=M)}else A()}}e.exports=function(m,g){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(g=g||{}).attrs=typeof g.attrs=="object"?g.attrs:{},g.singleton||typeof g.singleton=="boolean"||(g.singleton=l()),g.insertInto||(g.insertInto="head"),g.insertAt||(g.insertAt="bottom");var y=C(m,g);return u(y,g),function(B){for(var A=[],S=0;Sthis.show(t)}}show(t){return this.notifier.show(t)}}class ko extends T{get methods(){const t=()=>this.isEnabled;return{toggle:e=>this.toggle(e),get isEnabled(){return t()}}}toggle(t){return this.Editor.ReadOnly.toggle(t)}get isEnabled(){return this.Editor.ReadOnly.isEnabled}}var Lt={},vo={get exports(){return Lt},set exports(s){Lt=s}};(function(s,t){(function(e,o){s.exports=o()})(He,function(){function e(h){var f=h.tags,k=Object.keys(f),u=k.map(function(C){return typeof f[C]}).every(function(C){return C==="object"||C==="boolean"||C==="function"});if(!u)throw new Error("The configuration was invalid");this.config=h}var o=["P","LI","TD","TH","DIV","H1","H2","H3","H4","H5","H6","PRE"];function i(h){return o.indexOf(h.nodeName)!==-1}var n=["A","B","STRONG","I","EM","SUB","SUP","U","STRIKE"];function r(h){return n.indexOf(h.nodeName)!==-1}e.prototype.clean=function(h){const f=document.implementation.createHTMLDocument(),k=f.createElement("div");return k.innerHTML=h,this._sanitize(f,k),k.innerHTML},e.prototype._sanitize=function(h,f){var k=a(h,f),u=k.firstChild();if(u)do{if(u.nodeType===Node.TEXT_NODE)if(u.data.trim()===""&&(u.previousElementSibling&&i(u.previousElementSibling)||u.nextElementSibling&&i(u.nextElementSibling))){f.removeChild(u),this._sanitize(h,f);break}else continue;if(u.nodeType===Node.COMMENT_NODE){f.removeChild(u),this._sanitize(h,f);break}var C=r(u),L;C&&(L=Array.prototype.some.call(u.childNodes,i));var N=!!f.parentNode,D=i(f)&&i(u)&&N,w=u.nodeName.toLowerCase(),v=l(this.config,w,u),x=C&&L;if(x||c(u,v)||!this.config.keepNestedBlockElements&&D){if(!(u.nodeName==="SCRIPT"||u.nodeName==="STYLE"))for(;u.childNodes.length>0;)f.insertBefore(u.childNodes[0],u);f.removeChild(u),this._sanitize(h,f);break}for(var I=0;I"u"?!0:typeof f=="boolean"?!f:!1}function p(h,f,k){var u=h.name.toLowerCase();return f===!0?!1:typeof f[u]=="function"?!f[u](h.value,k):typeof f[u]>"u"||f[u]===!1?!0:typeof f[u]=="string"?f[u]!==h.value:!1}return e})})(vo);const xo=Lt;function fe(s,t){return s.map(e=>{const o=R(t)?t(e.tool):t;return V(o)||(e.data=Ht(e.data,o)),e})}function Z(s,t={}){const e={tags:t};return new xo(e).clean(s)}function Ht(s,t){return Array.isArray(s)?wo(s,t):z(s)?yo(s,t):J(s)?Eo(s,t):s}function wo(s,t){return s.map(e=>Ht(e,t))}function yo(s,t){const e={};for(const o in s){if(!Object.prototype.hasOwnProperty.call(s,o))continue;const i=s[o],n=Co(t[o])?t[o]:t;e[o]=Ht(i,n)}return e}function Eo(s,t){return z(t)?Z(s,t):t===!1?Z(s,{}):s}function Co(s){return z(s)||$e(s)||R(s)}class Bo extends T{get methods(){return{clean:(t,e)=>this.clean(t,e)}}clean(t,e){return Z(t,e)}}class To extends T{get methods(){return{save:()=>this.save()}}save(){const t="Editor's content can not be saved in read-only mode";return this.Editor.ReadOnly.isEnabled?(K(t,"warn"),Promise.reject(new Error(t))):this.Editor.Saver.save()}}class So extends T{get methods(){return{findParentTag:(t,e)=>this.findParentTag(t,e),expandToTag:t=>this.expandToTag(t)}}findParentTag(t,e){return new b().findParentTag(t,e)}expandToTag(t){new b().expandToTag(t)}}class Io extends T{get classes(){return{block:"cdx-block",inlineToolButton:"ce-inline-tool",inlineToolButtonActive:"ce-inline-tool--active",input:"cdx-input",loader:"cdx-loader",button:"cdx-button",settingsButton:"cdx-settings-button",settingsButtonActive:"cdx-settings-button--active"}}}class Mo extends T{get methods(){return{close:()=>this.close(),open:()=>this.open(),toggleBlockSettings:t=>this.toggleBlockSettings(t),toggleToolbox:t=>this.toggleToolbox(t)}}open(){this.Editor.Toolbar.moveAndOpen()}close(){this.Editor.Toolbar.close()}toggleBlockSettings(t){if(this.Editor.BlockManager.currentBlockIndex===-1){K("Could't toggle the Toolbar because there is no block selected ","warn");return}t??!this.Editor.BlockSettings.opened?(this.Editor.Toolbar.moveAndOpen(),this.Editor.BlockSettings.open()):this.Editor.BlockSettings.close()}toggleToolbox(t){if(this.Editor.BlockManager.currentBlockIndex===-1){K("Could't toggle the Toolbox because there is no block selected ","warn");return}t??!this.Editor.Toolbar.toolbox.opened?(this.Editor.Toolbar.moveAndOpen(),this.Editor.Toolbar.toolbox.open()):this.Editor.Toolbar.toolbox.close()}}var Ot={},_o={get exports(){return Ot},set exports(s){Ot=s}};/*! - * CodeX.Tooltips - * - * @version 1.0.5 - * - * @licence MIT - * @author CodeX - * - * - */(function(s,t){(function(e,o){s.exports=o()})(window,function(){return function(e){var o={};function i(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=o,i.d=function(n,r,a){i.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:a})},i.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,r){if(1&r&&(n=i(n)),8&r||4&r&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&r&&typeof n!="string")for(var l in n)i.d(a,l,(function(c){return n[c]}).bind(null,l));return a},i.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(r,"a",r),r},i.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},i.p="",i(i.s=0)}([function(e,o,i){e.exports=i(1)},function(e,o,i){i.r(o),i.d(o,"default",function(){return n});class n{constructor(){this.nodes={wrapper:null,content:null},this.showed=!1,this.offsetTop=10,this.offsetLeft=10,this.offsetRight=10,this.hidingDelay=0,this.handleWindowScroll=()=>{this.showed&&this.hide(!0)},this.loadStyles(),this.prepare(),window.addEventListener("scroll",this.handleWindowScroll,{passive:!0})}get CSS(){return{tooltip:"ct",tooltipContent:"ct__content",tooltipShown:"ct--shown",placement:{left:"ct--left",bottom:"ct--bottom",right:"ct--right",top:"ct--top"}}}show(a,l,c){this.nodes.wrapper||this.prepare(),this.hidingTimeout&&clearTimeout(this.hidingTimeout);const p=Object.assign({placement:"bottom",marginTop:0,marginLeft:0,marginRight:0,marginBottom:0,delay:70,hidingDelay:0},c);if(p.hidingDelay&&(this.hidingDelay=p.hidingDelay),this.nodes.content.innerHTML="",typeof l=="string")this.nodes.content.appendChild(document.createTextNode(l));else{if(!(l instanceof Node))throw Error("[CodeX Tooltip] Wrong type of «content» passed. It should be an instance of Node or String. But "+typeof l+" given.");this.nodes.content.appendChild(l)}switch(this.nodes.wrapper.classList.remove(...Object.values(this.CSS.placement)),p.placement){case"top":this.placeTop(a,p);break;case"left":this.placeLeft(a,p);break;case"right":this.placeRight(a,p);break;case"bottom":default:this.placeBottom(a,p)}p&&p.delay?this.showingTimeout=setTimeout(()=>{this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0},p.delay):(this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0)}hide(a=!1){if(this.hidingDelay&&!a)return this.hidingTimeout&&clearTimeout(this.hidingTimeout),void(this.hidingTimeout=setTimeout(()=>{this.hide(!0)},this.hidingDelay));this.nodes.wrapper.classList.remove(this.CSS.tooltipShown),this.showed=!1,this.showingTimeout&&clearTimeout(this.showingTimeout)}onHover(a,l,c){a.addEventListener("mouseenter",()=>{this.show(a,l,c)}),a.addEventListener("mouseleave",()=>{this.hide()})}destroy(){this.nodes.wrapper.remove(),window.removeEventListener("scroll",this.handleWindowScroll)}prepare(){this.nodes.wrapper=this.make("div",this.CSS.tooltip),this.nodes.content=this.make("div",this.CSS.tooltipContent),this.append(this.nodes.wrapper,this.nodes.content),this.append(document.body,this.nodes.wrapper)}loadStyles(){const a="codex-tooltips-style";if(document.getElementById(a))return;const l=i(2),c=this.make("style",null,{textContent:l.toString(),id:a});this.prepend(document.head,c)}placeBottom(a,l){const c=a.getBoundingClientRect(),p=c.left+a.clientWidth/2-this.nodes.wrapper.offsetWidth/2,h=c.bottom+window.pageYOffset+this.offsetTop+l.marginTop;this.applyPlacement("bottom",p,h)}placeTop(a,l){const c=a.getBoundingClientRect(),p=c.left+a.clientWidth/2-this.nodes.wrapper.offsetWidth/2,h=c.top+window.pageYOffset-this.nodes.wrapper.clientHeight-this.offsetTop;this.applyPlacement("top",p,h)}placeLeft(a,l){const c=a.getBoundingClientRect(),p=c.left-this.nodes.wrapper.offsetWidth-this.offsetLeft-l.marginLeft,h=c.top+window.pageYOffset+a.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("left",p,h)}placeRight(a,l){const c=a.getBoundingClientRect(),p=c.right+this.offsetRight+l.marginRight,h=c.top+window.pageYOffset+a.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("right",p,h)}applyPlacement(a,l,c){this.nodes.wrapper.classList.add(this.CSS.placement[a]),this.nodes.wrapper.style.left=l+"px",this.nodes.wrapper.style.top=c+"px"}make(a,l=null,c={}){const p=document.createElement(a);Array.isArray(l)?p.classList.add(...l):l&&p.classList.add(l);for(const h in c)c.hasOwnProperty(h)&&(p[h]=c[h]);return p}append(a,l){Array.isArray(l)?l.forEach(c=>a.appendChild(c)):a.appendChild(l)}prepend(a,l){Array.isArray(l)?(l=l.reverse()).forEach(c=>a.prepend(c)):a.prepend(l)}}},function(e,o){e.exports=`.ct{z-index:999;opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1),-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);will-change:opacity,top,left;-webkit-box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);border-radius:9px}.ct,.ct:before{position:absolute;top:0;left:0}.ct:before{content:"";bottom:0;right:0;background-color:#1d202b;z-index:-1;border-radius:4px}@supports(-webkit-mask-box-image:url("")){.ct:before{border-radius:0;-webkit-mask-box-image:url('data:image/svg+xml;charset=utf-8,') 48% 41% 37.9% 53.3%}}@media (--mobile){.ct{display:none}}.ct__content{padding:6px 10px;color:#cdd1e0;font-size:12px;text-align:center;letter-spacing:.02em;line-height:1em}.ct:after{content:"";width:8px;height:8px;position:absolute;background-color:#1d202b;z-index:-1}.ct--bottom{-webkit-transform:translateY(5px);transform:translateY(5px)}.ct--bottom:after{top:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--top{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.ct--top:after{top:auto;bottom:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--left{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.ct--left:after{top:50%;left:auto;right:0;-webkit-transform:translate(41.6%,-50%) rotate(-45deg);transform:translate(41.6%,-50%) rotate(-45deg)}.ct--right{-webkit-transform:translateX(5px);transform:translateX(5px)}.ct--right:after{top:50%;left:0;-webkit-transform:translate(-41.6%,-50%) rotate(-45deg);transform:translate(-41.6%,-50%) rotate(-45deg)}.ct--shown{opacity:1;-webkit-transform:none;transform:none}`}]).default})})(_o);const Ao=xt(Ot);class jt{constructor(){this.lib=new Ao}destroy(){this.lib.destroy()}show(t,e,o){this.lib.show(t,e,o)}hide(t=!1){this.lib.hide(t)}onHover(t,e,o){this.lib.onHover(t,e,o)}}class Lo extends T{constructor({config:t,eventsDispatcher:e}){super({config:t,eventsDispatcher:e}),this.tooltip=new jt}destroy(){this.tooltip.destroy()}get methods(){return{show:(t,e,o)=>this.show(t,e,o),hide:()=>this.hide(),onHover:(t,e,o)=>this.onHover(t,e,o)}}show(t,e,o){this.tooltip.show(t,e,o)}hide(){this.tooltip.hide()}onHover(t,e,o){this.tooltip.onHover(t,e,o)}}class Oo extends T{get methods(){return{nodes:this.editorNodes}}get editorNodes(){return{wrapper:this.Editor.UI.nodes.wrapper,redactor:this.Editor.UI.nodes.redactor}}}function ge(s,t){const e={};return Object.entries(s).forEach(([o,i])=>{if(z(i)){const n=t?`${t}.${o}`:o;Object.values(i).every(r=>J(r))?e[o]=n:e[o]=ge(i,n);return}e[o]=i}),e}const X=ge(ce);function No(s,t){const e={};return Object.keys(s).forEach(o=>{const i=t[o];i!==void 0?e[i]=s[o]:e[o]=s[o]}),e}const Do='',me='',Ro='',Po='',Fo='',Ho='',ee='',jo='',zo='',Uo='',$o='',Wo='';class P{constructor(t){this.nodes={root:null,icon:null},this.confirmationState=null,this.removeSpecialFocusBehavior=()=>{this.nodes.root.classList.remove(P.CSS.noFocus)},this.removeSpecialHoverBehavior=()=>{this.nodes.root.classList.remove(P.CSS.noHover)},this.onErrorAnimationEnd=()=>{this.nodes.icon.classList.remove(P.CSS.wobbleAnimation),this.nodes.icon.removeEventListener("animationend",this.onErrorAnimationEnd)},this.params=t,this.nodes.root=this.make(t)}get isDisabled(){return this.params.isDisabled}get toggle(){return this.params.toggle}get title(){return this.params.title}get closeOnActivate(){return this.params.closeOnActivate}get isConfirmationStateEnabled(){return this.confirmationState!==null}get isFocused(){return this.nodes.root.classList.contains(P.CSS.focused)}static get CSS(){return{container:"ce-popover-item",title:"ce-popover-item__title",secondaryTitle:"ce-popover-item__secondary-title",icon:"ce-popover-item__icon",active:"ce-popover-item--active",disabled:"ce-popover-item--disabled",focused:"ce-popover-item--focused",hidden:"ce-popover-item--hidden",confirmationState:"ce-popover-item--confirmation",noHover:"ce-popover-item--no-hover",noFocus:"ce-popover-item--no-focus",wobbleAnimation:"wobble"}}getElement(){return this.nodes.root}handleClick(){if(this.isConfirmationStateEnabled){this.activateOrEnableConfirmationMode(this.confirmationState);return}this.activateOrEnableConfirmationMode(this.params)}toggleActive(t){this.nodes.root.classList.toggle(P.CSS.active,t)}toggleHidden(t){this.nodes.root.classList.toggle(P.CSS.hidden,t)}reset(){this.isConfirmationStateEnabled&&this.disableConfirmationMode()}onFocus(){this.disableSpecialHoverAndFocusBehavior()}make(t){const e=d.make("div",P.CSS.container);return t.name&&(e.dataset.itemName=t.name),this.nodes.icon=d.make("div",P.CSS.icon,{innerHTML:t.icon||Fo}),e.appendChild(this.nodes.icon),e.appendChild(d.make("div",P.CSS.title,{innerHTML:t.title||""})),t.secondaryLabel&&e.appendChild(d.make("div",P.CSS.secondaryTitle,{textContent:t.secondaryLabel})),t.isActive&&e.classList.add(P.CSS.active),t.isDisabled&&e.classList.add(P.CSS.disabled),e}enableConfirmationMode(t){const e={...this.params,...t,confirmation:t.confirmation},o=this.make(e);this.nodes.root.innerHTML=o.innerHTML,this.nodes.root.classList.add(P.CSS.confirmationState),this.confirmationState=t,this.enableSpecialHoverAndFocusBehavior()}disableConfirmationMode(){const t=this.make(this.params);this.nodes.root.innerHTML=t.innerHTML,this.nodes.root.classList.remove(P.CSS.confirmationState),this.confirmationState=null,this.disableSpecialHoverAndFocusBehavior()}enableSpecialHoverAndFocusBehavior(){this.nodes.root.classList.add(P.CSS.noHover),this.nodes.root.classList.add(P.CSS.noFocus),this.nodes.root.addEventListener("mouseleave",this.removeSpecialHoverBehavior,{once:!0})}disableSpecialHoverAndFocusBehavior(){this.removeSpecialFocusBehavior(),this.removeSpecialHoverBehavior(),this.nodes.root.removeEventListener("mouseleave",this.removeSpecialHoverBehavior)}activateOrEnableConfirmationMode(t){if(t.confirmation===void 0)try{t.onActivate(t),this.disableConfirmationMode()}catch{this.animateError()}else this.enableConfirmationMode(t.confirmation)}animateError(){this.nodes.icon.classList.contains(P.CSS.wobbleAnimation)||(this.nodes.icon.classList.add(P.CSS.wobbleAnimation),this.nodes.icon.addEventListener("animationend",this.onErrorAnimationEnd))}}const ht=class{constructor(s,t){this.cursor=-1,this.items=[],this.items=s||[],this.focusedCssClass=t}get currentItem(){return this.cursor===-1?null:this.items[this.cursor]}setCursor(s){s=-1&&(this.dropCursor(),this.cursor=s,this.items[this.cursor].classList.add(this.focusedCssClass))}setItems(s){this.items=s}next(){this.cursor=this.leafNodesAndReturnIndex(ht.directions.RIGHT)}previous(){this.cursor=this.leafNodesAndReturnIndex(ht.directions.LEFT)}dropCursor(){this.cursor!==-1&&(this.items[this.cursor].classList.remove(this.focusedCssClass),this.cursor=-1)}leafNodesAndReturnIndex(s){if(this.items.length===0)return this.cursor;let t=this.cursor;return t===-1?t=s===ht.directions.RIGHT?-1:0:this.items[t].classList.remove(this.focusedCssClass),s===ht.directions.RIGHT?t=(t+1)%this.items.length:t=(this.items.length+t-1)%this.items.length,d.canSetCaret(this.items[t])&&rt(()=>b.setCursor(this.items[t]),50)(),this.items[t].classList.add(this.focusedCssClass),t}};let nt=ht;nt.directions={RIGHT:"right",LEFT:"left"};class G{constructor(t){this.iterator=null,this.activated=!1,this.flipCallbacks=[],this.onKeyDown=e=>{if(this.isEventReadyForHandling(e))switch(G.usedKeys.includes(e.keyCode)&&e.preventDefault(),e.keyCode){case E.TAB:this.handleTabPress(e);break;case E.LEFT:case E.UP:this.flipLeft();break;case E.RIGHT:case E.DOWN:this.flipRight();break;case E.ENTER:this.handleEnterPress(e);break}},this.iterator=new nt(t.items,t.focusedItemClass),this.activateCallback=t.activateCallback,this.allowedKeys=t.allowedKeys||G.usedKeys}get isActivated(){return this.activated}static get usedKeys(){return[E.TAB,E.LEFT,E.RIGHT,E.ENTER,E.UP,E.DOWN]}activate(t,e){this.activated=!0,t&&this.iterator.setItems(t),e!==void 0&&this.iterator.setCursor(e),document.addEventListener("keydown",this.onKeyDown,!0)}deactivate(){this.activated=!1,this.dropCursor(),document.removeEventListener("keydown",this.onKeyDown)}focusFirst(){this.dropCursor(),this.flipRight()}flipLeft(){this.iterator.previous(),this.flipCallback()}flipRight(){this.iterator.next(),this.flipCallback()}hasFocus(){return!!this.iterator.currentItem}onFlip(t){this.flipCallbacks.push(t)}removeOnFlip(t){this.flipCallbacks=this.flipCallbacks.filter(e=>e!==t)}dropCursor(){this.iterator.dropCursor()}isEventReadyForHandling(t){return this.activated&&this.allowedKeys.includes(t.keyCode)}handleTabPress(t){switch(t.shiftKey?nt.directions.LEFT:nt.directions.RIGHT){case nt.directions.RIGHT:this.flipRight();break;case nt.directions.LEFT:this.flipLeft();break}}handleEnterPress(t){this.activated&&(this.iterator.currentItem&&(t.stopPropagation(),t.preventDefault(),this.iterator.currentItem.click()),R(this.activateCallback)&&this.activateCallback(this.iterator.currentItem))}flipCallback(){this.iterator.currentItem&&this.iterator.currentItem.scrollIntoViewIfNeeded(),this.flipCallbacks.forEach(t=>t())}}class ut{static get CSS(){return{wrapper:"cdx-search-field",icon:"cdx-search-field__icon",input:"cdx-search-field__input"}}constructor({items:t,onSearch:e,placeholder:o}){this.listeners=new Pt,this.items=t,this.onSearch=e,this.render(o)}getElement(){return this.wrapper}focus(){this.input.focus()}clear(){this.input.value="",this.searchQuery="",this.onSearch("",this.foundItems)}destroy(){this.listeners.removeAll()}render(t){this.wrapper=d.make("div",ut.CSS.wrapper);const e=d.make("div",ut.CSS.icon,{innerHTML:Uo});this.input=d.make("input",ut.CSS.input,{placeholder:t}),this.wrapper.appendChild(e),this.wrapper.appendChild(this.input),this.listeners.on(this.input,"input",()=>{this.searchQuery=this.input.value,this.onSearch(this.searchQuery,this.foundItems)})}get foundItems(){return this.items.filter(t=>this.checkItem(t))}checkItem(t){var e;const o=((e=t.title)==null?void 0:e.toLowerCase())||"",i=this.searchQuery.toLowerCase();return o.includes(i)}}const pt=class{lock(){Qt?this.lockHard():document.body.classList.add(pt.CSS.scrollLocked)}unlock(){Qt?this.unlockHard():document.body.classList.remove(pt.CSS.scrollLocked)}lockHard(){this.scrollPosition=window.pageYOffset,document.documentElement.style.setProperty("--window-scroll-offset",`${this.scrollPosition}px`),document.body.classList.add(pt.CSS.scrollLockedHard)}unlockHard(){document.body.classList.remove(pt.CSS.scrollLockedHard),this.scrollPosition!==null&&window.scrollTo(0,this.scrollPosition),this.scrollPosition=null}};let be=pt;be.CSS={scrollLocked:"ce-scroll-locked",scrollLockedHard:"ce-scroll-locked--hard"};var Yo=Object.defineProperty,Ko=Object.getOwnPropertyDescriptor,Xo=(s,t,e,o)=>{for(var i=o>1?void 0:o?Ko(t,e):t,n=s.length-1,r;n>=0;n--)(r=s[n])&&(i=(o?r(t,e,i):r(i))||i);return o&&i&&Yo(t,e,i),i},gt=(s=>(s.Close="close",s))(gt||{});const j=class extends wt{constructor(s){super(),this.scopeElement=document.body,this.listeners=new Pt,this.scrollLocker=new be,this.nodes={wrapper:null,popover:null,nothingFoundMessage:null,customContent:null,items:null,overlay:null},this.messages={nothingFound:"Nothing found",search:"Search"},this.onFlip=()=>{this.items.find(t=>t.isFocused).onFocus()},this.items=s.items.map(t=>new P(t)),s.scopeElement!==void 0&&(this.scopeElement=s.scopeElement),s.messages&&(this.messages={...this.messages,...s.messages}),s.customContentFlippableItems&&(this.customContentFlippableItems=s.customContentFlippableItems),this.make(),s.customContent&&this.addCustomContent(s.customContent),s.searchable&&this.addSearch(),this.initializeFlipper()}static get CSS(){return{popover:"ce-popover",popoverOpenTop:"ce-popover--open-top",popoverOpened:"ce-popover--opened",search:"ce-popover__search",nothingFoundMessage:"ce-popover__nothing-found-message",nothingFoundMessageDisplayed:"ce-popover__nothing-found-message--displayed",customContent:"ce-popover__custom-content",customContentHidden:"ce-popover__custom-content--hidden",items:"ce-popover__items",overlay:"ce-popover__overlay",overlayHidden:"ce-popover__overlay--hidden"}}getElement(){return this.nodes.wrapper}hasFocus(){return this.flipper.hasFocus()}show(){this.shouldOpenBottom||(this.nodes.popover.style.setProperty("--popover-height",this.height+"px"),this.nodes.popover.classList.add(j.CSS.popoverOpenTop)),this.nodes.overlay.classList.remove(j.CSS.overlayHidden),this.nodes.popover.classList.add(j.CSS.popoverOpened),this.flipper.activate(this.flippableElements),this.search!==void 0&&setTimeout(()=>{this.search.focus()},100),et()&&this.scrollLocker.lock()}hide(){this.nodes.popover.classList.remove(j.CSS.popoverOpened),this.nodes.popover.classList.remove(j.CSS.popoverOpenTop),this.nodes.overlay.classList.add(j.CSS.overlayHidden),this.flipper.deactivate(),this.items.forEach(s=>s.reset()),this.search!==void 0&&this.search.clear(),et()&&this.scrollLocker.unlock(),this.emit("close")}destroy(){this.flipper.deactivate(),this.listeners.removeAll(),et()&&this.scrollLocker.unlock()}make(){this.nodes.popover=d.make("div",[j.CSS.popover]),this.nodes.nothingFoundMessage=d.make("div",[j.CSS.nothingFoundMessage],{textContent:this.messages.nothingFound}),this.nodes.popover.appendChild(this.nodes.nothingFoundMessage),this.nodes.items=d.make("div",[j.CSS.items]),this.items.forEach(s=>{this.nodes.items.appendChild(s.getElement())}),this.nodes.popover.appendChild(this.nodes.items),this.listeners.on(this.nodes.popover,"click",s=>{const t=this.getTargetItem(s);t!==void 0&&this.handleItemClick(t)}),this.nodes.wrapper=d.make("div"),this.nodes.overlay=d.make("div",[j.CSS.overlay,j.CSS.overlayHidden]),this.listeners.on(this.nodes.overlay,"click",()=>{this.hide()}),this.nodes.wrapper.appendChild(this.nodes.overlay),this.nodes.wrapper.appendChild(this.nodes.popover)}addSearch(){this.search=new ut({items:this.items,placeholder:this.messages.search,onSearch:(t,e)=>{this.items.forEach(i=>{const n=!e.includes(i);i.toggleHidden(n)}),this.toggleNothingFoundMessage(e.length===0),this.toggleCustomContent(t!=="");const o=t===""?this.flippableElements:e.map(i=>i.getElement());this.flipper.isActivated&&(this.flipper.deactivate(),this.flipper.activate(o))}});const s=this.search.getElement();s.classList.add(j.CSS.search),this.nodes.popover.insertBefore(s,this.nodes.popover.firstChild)}addCustomContent(s){this.nodes.customContent=s,this.nodes.customContent.classList.add(j.CSS.customContent),this.nodes.popover.insertBefore(s,this.nodes.popover.firstChild)}getTargetItem(s){return this.items.find(t=>s.composedPath().includes(t.getElement()))}handleItemClick(s){s.isDisabled||(this.items.filter(t=>t!==s).forEach(t=>t.reset()),s.handleClick(),this.toggleItemActivenessIfNeeded(s),s.closeOnActivate&&this.hide())}initializeFlipper(){this.flipper=new G({items:this.flippableElements,focusedItemClass:P.CSS.focused,allowedKeys:[E.TAB,E.UP,E.DOWN,E.ENTER]}),this.flipper.onFlip(this.onFlip)}get flippableElements(){const s=this.items.map(t=>t.getElement());return(this.customContentFlippableItems||[]).concat(s)}get height(){let s=0;if(this.nodes.popover===null)return s;const t=this.nodes.popover.cloneNode(!0);return t.style.visibility="hidden",t.style.position="absolute",t.style.top="-1000px",t.classList.add(j.CSS.popoverOpened),document.body.appendChild(t),s=t.offsetHeight,t.remove(),s}get shouldOpenBottom(){const s=this.nodes.popover.getBoundingClientRect(),t=this.scopeElement.getBoundingClientRect(),e=this.height,o=s.top+e,i=s.top-e,n=Math.min(window.innerHeight,t.bottom);return ie.toggle===s.toggle);if(t.length===1){s.toggleActive();return}t.forEach(e=>{e.toggleActive(e===s)})}}};let zt=j;Xo([ct],zt.prototype,"height",1);class Vo extends T{constructor(){super(...arguments),this.opened=!1,this.selection=new b,this.onPopoverClose=()=>{this.close()}}get events(){return{opened:"block-settings-opened",closed:"block-settings-closed"}}get CSS(){return{settings:"ce-settings"}}get flipper(){var t;return(t=this.popover)==null?void 0:t.flipper}make(){this.nodes.wrapper=d.make("div",[this.CSS.settings])}destroy(){this.removeAllNodes()}open(t=this.Editor.BlockManager.currentBlock){this.opened=!0,this.selection.save(),t.selected=!0,this.Editor.BlockSelection.clearCache();const[e,o]=t.getTunes();this.eventsDispatcher.emit(this.events.opened),this.popover=new zt({searchable:!0,items:e.map(i=>this.resolveTuneAliases(i)),customContent:o,customContentFlippableItems:this.getControls(o),scopeElement:this.Editor.API.methods.ui.nodes.redactor,messages:{nothingFound:$.ui(X.ui.popover,"Nothing found"),search:$.ui(X.ui.popover,"Filter")}}),this.popover.on(gt.Close,this.onPopoverClose),this.nodes.wrapper.append(this.popover.getElement()),this.popover.show()}getElement(){return this.nodes.wrapper}close(){this.opened=!1,b.isAtEditor||this.selection.restore(),this.selection.clearSaved(),!this.Editor.CrossBlockSelection.isCrossBlockSelectionStarted&&this.Editor.BlockManager.currentBlock&&(this.Editor.BlockManager.currentBlock.selected=!1),this.eventsDispatcher.emit(this.events.closed),this.popover&&(this.popover.off(gt.Close,this.onPopoverClose),this.popover.destroy(),this.popover.getElement().remove(),this.popover=null)}getControls(t){const{StylesAPI:e}=this.Editor,o=t.querySelectorAll(`.${e.classes.settingsButton}, ${d.allInputsSelector}`);return Array.from(o)}resolveTuneAliases(t){const e=No(t,{label:"title"});return t.confirmation&&(e.confirmation=this.resolveTuneAliases(t.confirmation)),e}}class Y extends T{constructor(){super(...arguments),this.opened=!1,this.tools=[],this.flipper=null,this.togglingCallback=null}static get CSS(){return{conversionToolbarWrapper:"ce-conversion-toolbar",conversionToolbarShowed:"ce-conversion-toolbar--showed",conversionToolbarTools:"ce-conversion-toolbar__tools",conversionToolbarLabel:"ce-conversion-toolbar__label",conversionTool:"ce-conversion-tool",conversionToolHidden:"ce-conversion-tool--hidden",conversionToolIcon:"ce-conversion-tool__icon",conversionToolSecondaryLabel:"ce-conversion-tool__secondary-label",conversionToolFocused:"ce-conversion-tool--focused",conversionToolActive:"ce-conversion-tool--active"}}make(){this.nodes.wrapper=d.make("div",[Y.CSS.conversionToolbarWrapper,...this.isRtl?[this.Editor.UI.CSS.editorRtlFix]:[]]),this.nodes.tools=d.make("div",Y.CSS.conversionToolbarTools);const t=d.make("div",Y.CSS.conversionToolbarLabel,{textContent:$.ui(X.ui.inlineToolbar.converter,"Convert to")});return this.addTools(),this.enableFlipper(),d.append(this.nodes.wrapper,t),d.append(this.nodes.wrapper,this.nodes.tools),this.nodes.wrapper}destroy(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes()}toggle(t){this.opened?this.close():this.open(),R(t)&&(this.togglingCallback=t)}open(){this.filterTools(),this.opened=!0,this.nodes.wrapper.classList.add(Y.CSS.conversionToolbarShowed),window.requestAnimationFrame(()=>{this.flipper.activate(this.tools.map(t=>t.button).filter(t=>!t.classList.contains(Y.CSS.conversionToolHidden))),this.flipper.focusFirst(),R(this.togglingCallback)&&this.togglingCallback(!0)})}close(){this.opened=!1,this.flipper.deactivate(),this.nodes.wrapper.classList.remove(Y.CSS.conversionToolbarShowed),R(this.togglingCallback)&&this.togglingCallback(!1)}hasTools(){return this.tools.length===1?this.tools[0].name!==this.config.defaultBlock:!0}async replaceWithBlock(t,e){const{BlockManager:o,BlockSelection:i,InlineToolbar:n,Caret:r}=this.Editor;o.convert(this.Editor.BlockManager.currentBlock,t,e),i.clearSelection(),this.close(),n.close(),window.requestAnimationFrame(()=>{r.setToBlock(this.Editor.BlockManager.currentBlock,r.positions.END)})}addTools(){const t=this.Editor.Tools.blockTools;Array.from(t.entries()).forEach(([e,o])=>{var i;const n=o.conversionConfig;!n||!n.import||(i=o.toolbox)==null||i.forEach(r=>this.addToolIfValid(e,r))})}addToolIfValid(t,e){V(e)||!e.icon||this.addTool(t,e)}addTool(t,e){var o;const i=d.make("div",[Y.CSS.conversionTool]),n=d.make("div",[Y.CSS.conversionToolIcon]);i.dataset.tool=t,n.innerHTML=e.icon,d.append(i,n),d.append(i,d.text($.t(X.toolNames,e.title||at(t))));const r=(o=this.Editor.Tools.blockTools.get(t))==null?void 0:o.shortcut;if(r){const a=d.make("span",Y.CSS.conversionToolSecondaryLabel,{innerText:Rt(r)});d.append(i,a)}d.append(this.nodes.tools,i),this.tools.push({name:t,button:i,toolboxItem:e}),this.listeners.on(i,"click",async()=>{await this.replaceWithBlock(t,e.data)})}async filterTools(){const{currentBlock:t}=this.Editor.BlockManager,e=await t.getActiveToolboxEntry();function o(i,n){return i.icon===n.icon&&i.title===n.title}this.tools.forEach(i=>{let n=!1;if(e){const r=o(e,i.toolboxItem);n=i.button.dataset.tool===t.name&&r}i.button.hidden=n,i.button.classList.toggle(Y.CSS.conversionToolHidden,n)})}enableFlipper(){this.flipper=new G({focusedItemClass:Y.CSS.conversionToolFocused})}}var Nt={},qo={get exports(){return Nt},set exports(s){Nt=s}};/*! - * Library for handling keyboard shortcuts - * @copyright CodeX (https://codex.so) - * @license MIT - * @author CodeX (https://codex.so) - * @version 1.2.0 - */(function(s,t){(function(e,o){s.exports=o()})(window,function(){return function(e){var o={};function i(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=o,i.d=function(n,r,a){i.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:a})},i.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,r){if(1&r&&(n=i(n)),8&r||4&r&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&r&&typeof n!="string")for(var l in n)i.d(a,l,(function(c){return n[c]}).bind(null,l));return a},i.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(r,"a",r),r},i.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},i.p="",i(i.s=0)}([function(e,o,i){function n(l,c){for(var p=0;pn!==o))}findShortcut(t,e){return(this.registeredShortcuts.get(t)||[]).find(({name:o})=>o===e)}}const lt=new Go;var Jo=Object.defineProperty,Qo=Object.getOwnPropertyDescriptor,ke=(s,t,e,o)=>{for(var i=o>1?void 0:o?Qo(t,e):t,n=s.length-1,r;n>=0;n--)(r=s[n])&&(i=(o?r(t,e,i):r(i))||i);return o&&i&&Jo(t,e,i),i},bt=(s=>(s.Opened="toolbox-opened",s.Closed="toolbox-closed",s.BlockAdded="toolbox-block-added",s))(bt||{});const ve=class extends wt{constructor({api:s,tools:t,i18nLabels:e}){super(),this.opened=!1,this.nodes={toolbox:null},this.onPopoverClose=()=>{this.opened=!1,this.emit("toolbox-closed")},this.api=s,this.tools=t,this.i18nLabels=e}get isEmpty(){return this.toolsToBeDisplayed.length===0}static get CSS(){return{toolbox:"ce-toolbox"}}make(){return this.popover=new zt({scopeElement:this.api.ui.nodes.redactor,searchable:!0,messages:{nothingFound:this.i18nLabels.nothingFound,search:this.i18nLabels.filter},items:this.toolboxItemsToBeDisplayed}),this.popover.on(gt.Close,this.onPopoverClose),this.enableShortcuts(),this.nodes.toolbox=this.popover.getElement(),this.nodes.toolbox.classList.add(ve.CSS.toolbox),this.nodes.toolbox}hasFocus(){var s;return(s=this.popover)==null?void 0:s.hasFocus()}destroy(){var s;super.destroy(),this.nodes&&this.nodes.toolbox&&(this.nodes.toolbox.remove(),this.nodes.toolbox=null),this.removeAllShortcuts(),(s=this.popover)==null||s.off(gt.Close,this.onPopoverClose)}toolButtonActivated(s,t){this.insertNewBlock(s,t)}open(){var s;this.isEmpty||((s=this.popover)==null||s.show(),this.opened=!0,this.emit("toolbox-opened"))}close(){var s;(s=this.popover)==null||s.hide(),this.opened=!1,this.emit("toolbox-closed")}toggle(){this.opened?this.close():this.open()}get toolsToBeDisplayed(){const s=[];return this.tools.forEach(t=>{t.toolbox&&s.push(t)}),s}get toolboxItemsToBeDisplayed(){const s=(t,e)=>({icon:t.icon,title:$.t(X.toolNames,t.title||at(e.name)),name:e.name,onActivate:()=>{this.toolButtonActivated(e.name,t.data)},secondaryLabel:e.shortcut?Rt(e.shortcut):""});return this.toolsToBeDisplayed.reduce((t,e)=>(Array.isArray(e.toolbox)?e.toolbox.forEach(o=>{t.push(s(o,e))}):e.toolbox!==void 0&&t.push(s(e.toolbox,e)),t),[])}enableShortcuts(){this.toolsToBeDisplayed.forEach(s=>{const t=s.shortcut;t&&this.enableShortcutForTool(s.name,t)})}enableShortcutForTool(s,t){lt.add({name:t,on:this.api.ui.nodes.redactor,handler:e=>{e.preventDefault();const o=this.api.blocks.getCurrentBlockIndex(),i=this.api.blocks.getBlockByIndex(o);if(i)try{this.api.blocks.convert(i.id,s),window.requestAnimationFrame(()=>{this.api.caret.setToBlock(o,"end")});return}catch{}this.insertNewBlock(s)}})}removeAllShortcuts(){this.toolsToBeDisplayed.forEach(s=>{const t=s.shortcut;t&<.remove(this.api.ui.nodes.redactor,t)})}async insertNewBlock(s,t){const e=this.api.blocks.getCurrentBlockIndex(),o=this.api.blocks.getBlockByIndex(e);if(!o)return;const i=o.isEmpty?e:e+1;let n;if(t){const a=await this.api.blocks.composeBlockData(s);n=Object.assign(a,t)}const r=this.api.blocks.insert(s,n,void 0,i,void 0,o.isEmpty);r.call(q.APPEND_CALLBACK),this.api.caret.setToBlock(i),this.emit("toolbox-block-added",{block:r}),this.api.toolbar.close()}};let Ut=ve;ke([ct],Ut.prototype,"toolsToBeDisplayed",1);ke([ct],Ut.prototype,"toolboxItemsToBeDisplayed",1);const xe="block hovered";class ti extends T{constructor({config:t,eventsDispatcher:e}){super({config:t,eventsDispatcher:e}),this.toolboxInstance=null,this.tooltip=new jt}get CSS(){return{toolbar:"ce-toolbar",content:"ce-toolbar__content",actions:"ce-toolbar__actions",actionsOpened:"ce-toolbar__actions--opened",toolbarOpened:"ce-toolbar--opened",openedToolboxHolderModifier:"codex-editor--toolbox-opened",plusButton:"ce-toolbar__plus",plusButtonShortcut:"ce-toolbar__plus-shortcut",settingsToggler:"ce-toolbar__settings-btn",settingsTogglerHidden:"ce-toolbar__settings-btn--hidden"}}get opened(){return this.nodes.wrapper.classList.contains(this.CSS.toolbarOpened)}get toolbox(){var t;return{opened:(t=this.toolboxInstance)==null?void 0:t.opened,close:()=>{var e;(e=this.toolboxInstance)==null||e.close()},open:()=>{if(this.toolboxInstance===null){_("toolbox.open() called before initialization is finished","warn");return}this.Editor.BlockManager.currentBlock=this.hoveredBlock,this.toolboxInstance.open()},toggle:()=>{if(this.toolboxInstance===null){_("toolbox.toggle() called before initialization is finished","warn");return}this.toolboxInstance.toggle()},hasFocus:()=>{var e;return(e=this.toolboxInstance)==null?void 0:e.hasFocus()}}}get blockActions(){return{hide:()=>{this.nodes.actions.classList.remove(this.CSS.actionsOpened)},show:()=>{this.nodes.actions.classList.add(this.CSS.actionsOpened)}}}get blockTunesToggler(){return{hide:()=>this.nodes.settingsToggler.classList.add(this.CSS.settingsTogglerHidden),show:()=>this.nodes.settingsToggler.classList.remove(this.CSS.settingsTogglerHidden)}}toggleReadOnly(t){t?(this.destroy(),this.Editor.BlockSettings.destroy(),this.disableModuleBindings()):window.requestIdleCallback(()=>{this.drawUI(),this.enableModuleBindings()},{timeout:2e3})}moveAndOpen(t=this.Editor.BlockManager.currentBlock){if(this.toolboxInstance===null){_("Can't open Toolbar since Editor initialization is not finished yet","warn");return}if(this.toolboxInstance.opened&&this.toolboxInstance.close(),this.Editor.BlockSettings.opened&&this.Editor.BlockSettings.close(),!t)return;this.hoveredBlock=t;const e=t.holder,{isMobile:o}=this.Editor.UI,i=t.pluginsContent,n=window.getComputedStyle(i),r=parseInt(n.paddingTop,10),a=e.offsetHeight;let l;o?l=e.offsetTop+a:l=e.offsetTop+r,this.nodes.wrapper.style.top=`${Math.floor(l)}px`,this.Editor.BlockManager.blocks.length===1&&t.isEmpty?this.blockTunesToggler.hide():this.blockTunesToggler.show(),this.open()}close(){var t;this.Editor.ReadOnly.isEnabled||(this.nodes.wrapper.classList.remove(this.CSS.toolbarOpened),this.blockActions.hide(),(t=this.toolboxInstance)==null||t.close(),this.Editor.BlockSettings.close())}open(t=!0){rt(()=>{this.nodes.wrapper.classList.add(this.CSS.toolbarOpened),t?this.blockActions.show():this.blockActions.hide()},50)()}make(){this.nodes.wrapper=d.make("div",this.CSS.toolbar),["content","actions"].forEach(e=>{this.nodes[e]=d.make("div",this.CSS[e])}),d.append(this.nodes.wrapper,this.nodes.content),d.append(this.nodes.content,this.nodes.actions),this.nodes.plusButton=d.make("div",this.CSS.plusButton,{innerHTML:zo}),d.append(this.nodes.actions,this.nodes.plusButton),this.readOnlyMutableListeners.on(this.nodes.plusButton,"click",()=>{this.tooltip.hide(!0),this.plusButtonClicked()},!1);const t=d.make("div");t.appendChild(document.createTextNode($.ui(X.ui.toolbar.toolbox,"Add"))),t.appendChild(d.make("div",this.CSS.plusButtonShortcut,{textContent:"⇥ Tab"})),this.tooltip.onHover(this.nodes.plusButton,t,{hidingDelay:400}),this.nodes.settingsToggler=d.make("span",this.CSS.settingsToggler,{innerHTML:jo}),d.append(this.nodes.actions,this.nodes.settingsToggler),this.tooltip.onHover(this.nodes.settingsToggler,$.ui(X.ui.blockTunes.toggler,"Click to tune"),{hidingDelay:400}),d.append(this.nodes.actions,this.makeToolbox()),d.append(this.nodes.actions,this.Editor.BlockSettings.getElement()),d.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper)}makeToolbox(){return this.toolboxInstance=new Ut({api:this.Editor.API.methods,tools:this.Editor.Tools.blockTools,i18nLabels:{filter:$.ui(X.ui.popover,"Filter"),nothingFound:$.ui(X.ui.popover,"Nothing found")}}),this.toolboxInstance.on(bt.Opened,()=>{this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolboxHolderModifier)}),this.toolboxInstance.on(bt.Closed,()=>{this.Editor.UI.nodes.wrapper.classList.remove(this.CSS.openedToolboxHolderModifier)}),this.toolboxInstance.on(bt.BlockAdded,({block:t})=>{const{BlockManager:e,Caret:o}=this.Editor,i=e.getBlockById(t.id);i.inputs.length===0&&(i===e.lastBlock?(e.insertAtEnd(),o.setToBlock(e.lastBlock)):o.setToBlock(e.nextBlock))}),this.toolboxInstance.make()}plusButtonClicked(){var t;this.Editor.BlockManager.currentBlock=this.hoveredBlock,(t=this.toolboxInstance)==null||t.toggle()}enableModuleBindings(){this.readOnlyMutableListeners.on(this.nodes.settingsToggler,"mousedown",t=>{var e;t.stopPropagation(),this.settingsTogglerClicked(),(e=this.toolboxInstance)!=null&&e.opened&&this.toolboxInstance.close(),this.tooltip.hide(!0)},!0),et()||this.eventsDispatcher.on(xe,t=>{var e;this.Editor.BlockSettings.opened||(e=this.toolboxInstance)!=null&&e.opened||this.moveAndOpen(t.block)})}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}settingsTogglerClicked(){this.Editor.BlockManager.currentBlock=this.hoveredBlock,this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.BlockSettings.open(this.hoveredBlock)}drawUI(){this.Editor.BlockSettings.make(),this.make()}destroy(){this.removeAllNodes(),this.toolboxInstance&&this.toolboxInstance.destroy(),this.tooltip.destroy()}}var yt=(s=>(s[s.Block=0]="Block",s[s.Inline=1]="Inline",s[s.Tune=2]="Tune",s))(yt||{}),kt=(s=>(s.Shortcut="shortcut",s.Toolbox="toolbox",s.EnabledInlineTools="inlineToolbar",s.EnabledBlockTunes="tunes",s.Config="config",s))(kt||{}),we=(s=>(s.Shortcut="shortcut",s.SanitizeConfig="sanitize",s))(we||{}),st=(s=>(s.IsEnabledLineBreaks="enableLineBreaks",s.Toolbox="toolbox",s.ConversionConfig="conversionConfig",s.IsReadOnlySupported="isReadOnlySupported",s.PasteConfig="pasteConfig",s))(st||{}),$t=(s=>(s.IsInline="isInline",s.Title="title",s))($t||{}),ye=(s=>(s.IsTune="isTune",s))(ye||{});class Wt{constructor({name:t,constructable:e,config:o,api:i,isDefault:n,isInternal:r=!1,defaultPlaceholder:a}){this.api=i,this.name=t,this.constructable=e,this.config=o,this.isDefault=n,this.isInternal=r,this.defaultPlaceholder=a}get settings(){const t=this.config.config||{};return this.isDefault&&!("placeholder"in t)&&this.defaultPlaceholder&&(t.placeholder=this.defaultPlaceholder),t}reset(){if(R(this.constructable.reset))return this.constructable.reset()}prepare(){if(R(this.constructable.prepare))return this.constructable.prepare({toolName:this.name,config:this.settings})}get shortcut(){const t=this.constructable.shortcut;return this.config.shortcut||t}get sanitizeConfig(){return this.constructable.sanitize||{}}isInline(){return this.type===1}isBlock(){return this.type===0}isTune(){return this.type===2}}class ei extends T{constructor({config:t,eventsDispatcher:e}){super({config:t,eventsDispatcher:e}),this.CSS={inlineToolbar:"ce-inline-toolbar",inlineToolbarShowed:"ce-inline-toolbar--showed",inlineToolbarLeftOriented:"ce-inline-toolbar--left-oriented",inlineToolbarRightOriented:"ce-inline-toolbar--right-oriented",inlineToolbarShortcut:"ce-inline-toolbar__shortcut",buttonsWrapper:"ce-inline-toolbar__buttons",actionsWrapper:"ce-inline-toolbar__actions",inlineToolButton:"ce-inline-tool",inputField:"cdx-input",focusedButton:"ce-inline-tool--focused",conversionToggler:"ce-inline-toolbar__dropdown",conversionTogglerArrow:"ce-inline-toolbar__dropdown-arrow",conversionTogglerHidden:"ce-inline-toolbar__dropdown--hidden",conversionTogglerContent:"ce-inline-toolbar__dropdown-content",togglerAndButtonsWrapper:"ce-inline-toolbar__toggler-and-button-wrapper"},this.opened=!1,this.toolbarVerticalMargin=et()?20:6,this.buttonsList=null,this.width=0,this.flipper=null,this.tooltip=new jt}toggleReadOnly(t){t?(this.destroy(),this.Editor.ConversionToolbar.destroy()):window.requestIdleCallback(()=>{this.make()},{timeout:2e3})}tryToShow(t=!1,e=!0){if(!this.allowedToShow()){t&&this.close();return}this.move(),this.open(e),this.Editor.Toolbar.close()}move(){const t=b.rect,e=this.Editor.UI.nodes.wrapper.getBoundingClientRect(),o={x:t.x-e.left,y:t.y+t.height-e.top+this.toolbarVerticalMargin};t.width&&(o.x+=Math.floor(t.width/2));const i=o.x-this.width/2,n=o.x+this.width/2;this.nodes.wrapper.classList.toggle(this.CSS.inlineToolbarLeftOriented,ithis.Editor.UI.contentRect.right),this.nodes.wrapper.style.left=Math.floor(o.x)+"px",this.nodes.wrapper.style.top=Math.floor(o.y)+"px"}close(){this.opened&&(this.Editor.ReadOnly.isEnabled||(this.nodes.wrapper.classList.remove(this.CSS.inlineToolbarShowed),Array.from(this.toolsInstances.entries()).forEach(([t,e])=>{const o=this.getToolShortcut(t);o&<.remove(this.Editor.UI.nodes.redactor,o),R(e.clear)&&e.clear()}),this.opened=!1,this.flipper.deactivate(),this.Editor.ConversionToolbar.close()))}open(t=!0){if(this.opened)return;this.addToolsFiltered(),this.nodes.wrapper.classList.add(this.CSS.inlineToolbarShowed),this.buttonsList=this.nodes.buttons.querySelectorAll(`.${this.CSS.inlineToolButton}`),this.opened=!0,t&&this.Editor.ConversionToolbar.hasTools()?this.setConversionTogglerContent():this.nodes.conversionToggler.hidden=!0;let e=Array.from(this.buttonsList);e.unshift(this.nodes.conversionToggler),e=e.filter(o=>!o.hidden),this.flipper.activate(e)}containsNode(t){return this.nodes.wrapper.contains(t)}destroy(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes(),this.tooltip.destroy()}make(){this.nodes.wrapper=d.make("div",[this.CSS.inlineToolbar,...this.isRtl?[this.Editor.UI.CSS.editorRtlFix]:[]]),this.nodes.togglerAndButtonsWrapper=d.make("div",this.CSS.togglerAndButtonsWrapper),this.nodes.buttons=d.make("div",this.CSS.buttonsWrapper),this.nodes.actions=d.make("div",this.CSS.actionsWrapper),this.listeners.on(this.nodes.wrapper,"mousedown",t=>{t.target.closest(`.${this.CSS.actionsWrapper}`)||t.preventDefault()}),d.append(this.nodes.wrapper,[this.nodes.togglerAndButtonsWrapper,this.nodes.actions]),d.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper),this.addConversionToggler(),d.append(this.nodes.togglerAndButtonsWrapper,this.nodes.buttons),this.prepareConversionToolbar(),window.requestAnimationFrame(()=>{this.recalculateWidth()}),this.enableFlipper()}allowedToShow(){const t=["IMG","INPUT"],e=b.get(),o=b.text;if(!e||!e.anchorNode||e.isCollapsed||o.length<1)return!1;const i=d.isElement(e.anchorNode)?e.anchorNode:e.anchorNode.parentElement;if(e&&t.includes(i.tagName)||i.closest('[contenteditable="true"]')===null)return!1;const n=this.Editor.BlockManager.getBlock(e.anchorNode);return n?n.tool.inlineTools.size!==0:!1}recalculateWidth(){this.width=this.nodes.wrapper.offsetWidth}addConversionToggler(){this.nodes.conversionToggler=d.make("div",this.CSS.conversionToggler),this.nodes.conversionTogglerContent=d.make("div",this.CSS.conversionTogglerContent);const t=d.make("div",this.CSS.conversionTogglerArrow,{innerHTML:me});this.nodes.conversionToggler.appendChild(this.nodes.conversionTogglerContent),this.nodes.conversionToggler.appendChild(t),this.nodes.togglerAndButtonsWrapper.appendChild(this.nodes.conversionToggler),this.listeners.on(this.nodes.conversionToggler,"click",()=>{this.Editor.ConversionToolbar.toggle(e=>{!e&&this.opened?this.flipper.activate():this.opened&&this.flipper.deactivate()})}),et()===!1&&this.tooltip.onHover(this.nodes.conversionToggler,$.ui(X.ui.inlineToolbar.converter,"Convert to"),{placement:"top",hidingDelay:100})}async setConversionTogglerContent(){const{BlockManager:t}=this.Editor,{currentBlock:e}=t,o=e.name,i=e.tool.conversionConfig,n=i&&i.export;this.nodes.conversionToggler.hidden=!n,this.nodes.conversionToggler.classList.toggle(this.CSS.conversionTogglerHidden,!n);const r=await e.getActiveToolboxEntry()||{};this.nodes.conversionTogglerContent.innerHTML=r.icon||r.title||at(o)}prepareConversionToolbar(){const t=this.Editor.ConversionToolbar.make();d.append(this.nodes.wrapper,t)}addToolsFiltered(){const t=b.get(),e=this.Editor.BlockManager.getBlock(t.anchorNode);this.nodes.buttons.innerHTML="",this.nodes.actions.innerHTML="",this.toolsInstances=new Map,Array.from(e.tool.inlineTools.values()).forEach(o=>{this.addTool(o)}),this.recalculateWidth()}addTool(t){const e=t.create(),o=e.render();if(!o){_("Render method must return an instance of Node","warn",t.name);return}if(o.dataset.tool=t.name,this.nodes.buttons.appendChild(o),this.toolsInstances.set(t.name,e),R(e.renderActions)){const a=e.renderActions();this.nodes.actions.appendChild(a)}this.listeners.on(o,"click",a=>{this.toolClicked(e),a.preventDefault()});const i=this.getToolShortcut(t.name);if(i)try{this.enableShortcuts(e,i)}catch{}const n=d.make("div"),r=$.t(X.toolNames,t.title||at(t.name));n.appendChild(d.text(r)),i&&n.appendChild(d.make("div",this.CSS.inlineToolbarShortcut,{textContent:Rt(i)})),et()===!1&&this.tooltip.onHover(o,n,{placement:"top",hidingDelay:100}),e.checkState(b.get())}getToolShortcut(t){const{Tools:e}=this.Editor,o=e.inlineTools.get(t),i=e.internal.inlineTools;return Array.from(i.keys()).includes(t)?this.inlineTools[t][we.Shortcut]:o.shortcut}enableShortcuts(t,e){lt.add({name:e,handler:o=>{const{currentBlock:i}=this.Editor.BlockManager;i&&i.tool.enabledInlineTools&&(o.preventDefault(),this.toolClicked(t))},on:this.Editor.UI.nodes.redactor})}toolClicked(t){const e=b.range;t.surround(e),this.checkToolsState(),t.renderActions!==void 0&&this.flipper.deactivate()}checkToolsState(){this.toolsInstances.forEach(t=>{t.checkState(b.get())})}get inlineTools(){const t={};return Array.from(this.Editor.Tools.inlineTools.entries()).forEach(([e,o])=>{t[e]=o.create()}),t}enableFlipper(){this.flipper=new G({focusedItemClass:this.CSS.focusedButton,allowedKeys:[E.ENTER,E.TAB]})}}class oi extends T{keydown(t){switch(this.beforeKeydownProcessing(t),t.keyCode){case E.BACKSPACE:this.backspace(t);break;case E.DELETE:this.delete(t);break;case E.ENTER:this.enter(t);break;case E.DOWN:case E.RIGHT:this.arrowRightAndDown(t);break;case E.UP:case E.LEFT:this.arrowLeftAndUp(t);break;case E.TAB:this.tabPressed(t);break}}beforeKeydownProcessing(t){this.needToolbarClosing(t)&&re(t.keyCode)&&(this.Editor.Toolbar.close(),this.Editor.ConversionToolbar.close(),t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||(this.Editor.BlockManager.clearFocused(),this.Editor.BlockSelection.clearSelection(t)))}keyup(t){t.shiftKey||this.Editor.UI.checkEmptiness()}tabPressed(t){this.Editor.BlockSelection.clearSelection(t);const{BlockManager:e,InlineToolbar:o,ConversionToolbar:i}=this.Editor,n=e.currentBlock;if(!n)return;const r=n.isEmpty,a=n.tool.isDefault&&r,l=!r&&i.opened,c=!r&&!b.isCollapsed&&o.opened;a?this.activateToolbox():!l&&!c&&this.activateBlockSettings()}dragOver(t){const e=this.Editor.BlockManager.getBlockByChildNode(t.target);e.dropTarget=!0}dragLeave(t){const e=this.Editor.BlockManager.getBlockByChildNode(t.target);e.dropTarget=!1}handleCommandC(t){const{BlockSelection:e}=this.Editor;e.anyBlockSelected&&e.copySelectedBlocks(t)}handleCommandX(t){const{BlockSelection:e,BlockManager:o,Caret:i}=this.Editor;e.anyBlockSelected&&e.copySelectedBlocks(t).then(()=>{const n=o.removeSelectedBlocks(),r=o.insertDefaultBlockAtIndex(n,!0);i.setToBlock(r,i.positions.START),e.clearSelection(t)})}enter(t){const{BlockManager:e,UI:o}=this.Editor;if(e.currentBlock.tool.isLineBreaksEnabled||o.someToolbarOpened&&o.someFlipperButtonFocused||t.shiftKey)return;let i=this.Editor.BlockManager.currentBlock;this.Editor.Caret.isAtStart&&!this.Editor.BlockManager.currentBlock.hasMedia?this.Editor.BlockManager.insertDefaultBlockAtIndex(this.Editor.BlockManager.currentBlockIndex):this.Editor.Caret.isAtEnd?i=this.Editor.BlockManager.insertDefaultBlockAtIndex(this.Editor.BlockManager.currentBlockIndex+1):i=this.Editor.BlockManager.split(),this.Editor.Caret.setToBlock(i),this.Editor.Toolbar.moveAndOpen(i),t.preventDefault()}backspace(t){const{BlockManager:e,Caret:o}=this.Editor,{currentBlock:i,previousBlock:n}=e;if(!(!b.isCollapsed||!o.isAtStart)){if(t.preventDefault(),this.Editor.Toolbar.close(),i.currentInput!==i.firstInput){o.navigatePrevious();return}if(n!==null){if(n.isEmpty){e.removeBlock(n);return}if(i.isEmpty){e.removeBlock(i);const r=e.currentBlock;o.setToBlock(r,o.positions.END);return}te(i,n)?this.mergeBlocks(n,i):o.setToBlock(n,o.positions.END)}}}delete(t){const{BlockManager:e,Caret:o}=this.Editor,{currentBlock:i,nextBlock:n}=e;if(!(!b.isCollapsed||!o.isAtEnd)){if(t.preventDefault(),this.Editor.Toolbar.close(),i.currentInput!==i.lastInput){o.navigateNext();return}if(n!==null){if(n.isEmpty){e.removeBlock(n);return}if(i.isEmpty){e.removeBlock(i),o.setToBlock(n,o.positions.START);return}te(i,n)?this.mergeBlocks(i,n):o.setToBlock(n,o.positions.START)}}}mergeBlocks(t,e){const{BlockManager:o,Caret:i,Toolbar:n}=this.Editor;i.createShadow(t.pluginsContent),o.mergeBlocks(t,e).then(()=>{window.requestAnimationFrame(()=>{i.restoreCaret(t.pluginsContent),t.pluginsContent.normalize(),n.close()})})}arrowRightAndDown(t){const e=G.usedKeys.includes(t.keyCode)&&(!t.shiftKey||t.keyCode===E.TAB);if(this.Editor.UI.someToolbarOpened&&e)return;this.Editor.BlockManager.clearFocused(),this.Editor.Toolbar.close();const o=this.Editor.Caret.isAtEnd||this.Editor.BlockSelection.anyBlockSelected;if(t.shiftKey&&t.keyCode===E.DOWN&&o){this.Editor.CrossBlockSelection.toggleBlockSelectedState();return}(t.keyCode===E.DOWN||t.keyCode===E.RIGHT&&!this.isRtl?this.Editor.Caret.navigateNext():this.Editor.Caret.navigatePrevious())?t.preventDefault():rt(()=>{this.Editor.BlockManager.currentBlock&&this.Editor.BlockManager.currentBlock.updateCurrentInput()},20)(),this.Editor.BlockSelection.clearSelection(t)}arrowLeftAndUp(t){if(this.Editor.UI.someToolbarOpened){if(G.usedKeys.includes(t.keyCode)&&(!t.shiftKey||t.keyCode===E.TAB))return;this.Editor.UI.closeAllToolbars()}this.Editor.BlockManager.clearFocused(),this.Editor.Toolbar.close();const e=this.Editor.Caret.isAtStart||this.Editor.BlockSelection.anyBlockSelected;if(t.shiftKey&&t.keyCode===E.UP&&e){this.Editor.CrossBlockSelection.toggleBlockSelectedState(!1);return}(t.keyCode===E.UP||t.keyCode===E.LEFT&&!this.isRtl?this.Editor.Caret.navigatePrevious():this.Editor.Caret.navigateNext())?t.preventDefault():rt(()=>{this.Editor.BlockManager.currentBlock&&this.Editor.BlockManager.currentBlock.updateCurrentInput()},20)(),this.Editor.BlockSelection.clearSelection(t)}needToolbarClosing(t){const e=t.keyCode===E.ENTER&&this.Editor.Toolbar.toolbox.opened,o=t.keyCode===E.ENTER&&this.Editor.BlockSettings.opened,i=t.keyCode===E.ENTER&&this.Editor.InlineToolbar.opened,n=t.keyCode===E.ENTER&&this.Editor.ConversionToolbar.opened,r=t.keyCode===E.TAB;return!(t.shiftKey||r||e||o||i||n)}activateToolbox(){this.Editor.Toolbar.opened||this.Editor.Toolbar.moveAndOpen(),this.Editor.Toolbar.toolbox.open()}activateBlockSettings(){this.Editor.Toolbar.opened||(this.Editor.BlockManager.currentBlock.focused=!0,this.Editor.Toolbar.moveAndOpen()),this.Editor.BlockSettings.opened||this.Editor.BlockSettings.open()}}class Bt{constructor(t){this.blocks=[],this.workingArea=t}get length(){return this.blocks.length}get array(){return this.blocks}get nodes(){return ae(this.workingArea.children)}static set(t,e,o){return isNaN(Number(e))?(Reflect.set(t,e,o),!0):(t.insert(+e,o),!0)}static get(t,e){return isNaN(Number(e))?Reflect.get(t,e):t.get(+e)}push(t){this.blocks.push(t),this.insertToDOM(t)}swap(t,e){const o=this.blocks[e];d.swap(this.blocks[t].holder,o.holder),this.blocks[e]=this.blocks[t],this.blocks[t]=o}move(t,e){const o=this.blocks.splice(e,1)[0],i=t-1,n=Math.max(0,i),r=this.blocks[n];t>0?this.insertToDOM(o,"afterend",r):this.insertToDOM(o,"beforebegin",r),this.blocks.splice(t,0,o);const a=this.composeBlockEvent("move",{fromIndex:e,toIndex:t});o.call(q.MOVED,a)}insert(t,e,o=!1){if(!this.length){this.push(e);return}t>this.length&&(t=this.length),o&&(this.blocks[t].holder.remove(),this.blocks[t].call(q.REMOVED));const i=o?1:0;if(this.blocks.splice(t,i,e),t>0){const n=this.blocks[t-1];this.insertToDOM(e,"afterend",n)}else{const n=this.blocks[t+1];n?this.insertToDOM(e,"beforebegin",n):this.insertToDOM(e)}}replace(t,e){if(this.blocks[t]===void 0)throw Error("Incorrect index");this.blocks[t].holder.replaceWith(e.holder),this.blocks[t]=e}insertMany(t,e){const o=new DocumentFragment;for(const i of t)o.appendChild(i.holder);if(this.length>0){if(e>0){const i=Math.min(e-1,this.length-1);this.blocks[i].holder.after(o)}else e===0&&this.workingArea.prepend(o);this.blocks.splice(e,0,...t)}else this.blocks.push(...t),this.workingArea.appendChild(o);t.forEach(i=>i.call(q.RENDERED))}remove(t){isNaN(t)&&(t=this.length-1),this.blocks[t].holder.remove(),this.blocks[t].call(q.REMOVED),this.blocks.splice(t,1)}removeAll(){this.workingArea.innerHTML="",this.blocks.forEach(t=>t.call(q.REMOVED)),this.blocks.length=0}insertAfter(t,e){const o=this.blocks.indexOf(t);this.insert(o+1,e)}get(t){return this.blocks[t]}indexOf(t){return this.blocks.indexOf(t)}insertToDOM(t,e,o){e?o.holder.insertAdjacentElement(e,t.holder):this.workingArea.appendChild(t.holder),t.call(q.RENDERED)}composeBlockEvent(t,e){return new CustomEvent(t,{detail:e})}}const oe="block-removed",ie="block-added",ii="block-moved",ne="block-changed";class ni{constructor(){this.completed=Promise.resolve()}add(t){return new Promise((e,o)=>{this.completed=this.completed.then(t).then(e).catch(o)})}}class si extends T{constructor(){super(...arguments),this._currentBlockIndex=-1,this._blocks=null}get currentBlockIndex(){return this._currentBlockIndex}set currentBlockIndex(t){this._currentBlockIndex=t}get firstBlock(){return this._blocks[0]}get lastBlock(){return this._blocks[this._blocks.length-1]}get currentBlock(){return this._blocks[this.currentBlockIndex]}set currentBlock(t){this.currentBlockIndex=this.getBlockIndex(t)}get nextBlock(){return this.currentBlockIndex===this._blocks.length-1?null:this._blocks[this.currentBlockIndex+1]}get nextContentfulBlock(){return this.blocks.slice(this.currentBlockIndex+1).find(t=>!!t.inputs.length)}get previousContentfulBlock(){return this.blocks.slice(0,this.currentBlockIndex).reverse().find(t=>!!t.inputs.length)}get previousBlock(){return this.currentBlockIndex===0?null:this._blocks[this.currentBlockIndex-1]}get blocks(){return this._blocks.array}get isEditorEmpty(){return this.blocks.every(t=>t.isEmpty)}prepare(){const t=new Bt(this.Editor.UI.nodes.redactor);this._blocks=new Proxy(t,{set:Bt.set,get:Bt.get}),this.listeners.on(document,"copy",e=>this.Editor.BlockEvents.handleCommandC(e))}toggleReadOnly(t){t?this.disableModuleBindings():this.enableModuleBindings()}composeBlock({tool:t,data:e={},id:o=void 0,tunes:i={}}){const n=this.Editor.ReadOnly.isEnabled,r=this.Editor.Tools.blockTools.get(t),a=new F({id:o,data:e,tool:r,api:this.Editor.API,readOnly:n,tunesData:i},this.eventsDispatcher);return n||window.requestIdleCallback(()=>{this.bindBlockEvents(a)},{timeout:2e3}),a}insert({id:t=void 0,tool:e=this.config.defaultBlock,data:o={},index:i,needToFocus:n=!0,replace:r=!1,tunes:a={}}={}){let l=i;l===void 0&&(l=this.currentBlockIndex+(r?0:1));const c=this.composeBlock({id:t,tool:e,data:o,tunes:a});return r&&this.blockDidMutated(oe,this.getBlockByIndex(l),{index:l}),this._blocks.insert(l,c,r),this.blockDidMutated(ie,c,{index:l}),n?this.currentBlockIndex=l:l<=this.currentBlockIndex&&this.currentBlockIndex++,c}insertMany(t,e=0){this._blocks.insertMany(t,e)}async update(t,e){const o=await t.data,i=this.composeBlock({id:t.id,tool:t.name,data:Object.assign({},o,e),tunes:t.tunes}),n=this.getBlockIndex(t);return this._blocks.replace(n,i),this.blockDidMutated(ne,i,{index:n}),i}replace(t,e,o){const i=this.getBlockIndex(t);this.insert({tool:e,data:o,index:i,replace:!0})}paste(t,e,o=!1){const i=this.insert({tool:t,replace:o});try{i.call(q.ON_PASTE,e)}catch(n){_(`${t}: onPaste callback call is failed`,"error",n)}return i}insertDefaultBlockAtIndex(t,e=!1){const o=this.composeBlock({tool:this.config.defaultBlock});return this._blocks[t]=o,this.blockDidMutated(ie,o,{index:t}),e?this.currentBlockIndex=t:t<=this.currentBlockIndex&&this.currentBlockIndex++,o}insertAtEnd(){return this.currentBlockIndex=this.blocks.length-1,this.insert()}async mergeBlocks(t,e){const o=await e.data;V(o)||await t.mergeWith(o),this.removeBlock(e),this.currentBlockIndex=this._blocks.indexOf(t)}removeBlock(t,e=!0){return new Promise(o=>{const i=this._blocks.indexOf(t);if(!this.validateIndex(i))throw new Error("Can't find a Block to remove");t.destroy(),this._blocks.remove(i),this.blockDidMutated(oe,t,{index:i}),this.currentBlockIndex>=i&&this.currentBlockIndex--,this.blocks.length?i===0&&(this.currentBlockIndex=0):(this.currentBlockIndex=-1,e&&this.insert()),o()})}removeSelectedBlocks(){let t;for(let e=this.blocks.length-1;e>=0;e--)this.blocks[e].selected&&(this.removeBlock(this.blocks[e]),t=e);return t}removeAllBlocks(){for(let t=this.blocks.length-1;t>=0;t--)this._blocks.remove(t);this.currentBlockIndex=-1,this.insert(),this.currentBlock.firstInput.focus()}split(){const t=this.Editor.Caret.extractFragmentFromCaretPosition(),e=d.make("div");e.appendChild(t);const o={text:d.isEmpty(e)?"":e.innerHTML};return this.insert({data:o})}getBlockByIndex(t){return t===-1&&(t=this._blocks.length-1),this._blocks[t]}getBlockIndex(t){return this._blocks.indexOf(t)}getBlockById(t){return this._blocks.array.find(e=>e.id===t)}getBlock(t){d.isElement(t)||(t=t.parentNode);const e=this._blocks.nodes,o=t.closest(`.${F.CSS.wrapper}`),i=e.indexOf(o);if(i>=0)return this._blocks[i]}highlightCurrentNode(){this.clearFocused(),this.currentBlock.focused=!0}clearFocused(){this.blocks.forEach(t=>{t.focused=!1})}setCurrentBlockByChildNode(t){d.isElement(t)||(t=t.parentNode);const e=t.closest(`.${F.CSS.wrapper}`);if(!e)return;const o=e.closest(`.${this.Editor.UI.CSS.editorWrapper}`);if(o!=null&&o.isEqualNode(this.Editor.UI.nodes.wrapper))return this.currentBlockIndex=this._blocks.nodes.indexOf(e),this.currentBlock.updateCurrentInput(),this.currentBlock}getBlockByChildNode(t){d.isElement(t)||(t=t.parentNode);const e=t.closest(`.${F.CSS.wrapper}`);return this.blocks.find(o=>o.holder===e)}swap(t,e){this._blocks.swap(t,e),this.currentBlockIndex=e}move(t,e=this.currentBlockIndex){if(isNaN(t)||isNaN(e)){_("Warning during 'move' call: incorrect indices provided.","warn");return}if(!this.validateIndex(t)||!this.validateIndex(e)){_("Warning during 'move' call: indices cannot be lower than 0 or greater than the amount of blocks.","warn");return}this._blocks.move(t,e),this.currentBlockIndex=t,this.blockDidMutated(ii,this.currentBlock,{fromIndex:e,toIndex:t})}async convert(t,e,o){if(!await t.save())throw new Error("Could not convert Block. Failed to extract original Block data.");const i=this.Editor.Tools.blockTools.get(e);if(!i)throw new Error(`Could not convert Block. Tool «${e}» not found.`);const n=await t.exportDataAsString(),r=Z(n,i.sanitizeConfig);let a=ro(r,i.conversionConfig);o&&(a=Object.assign(a,o)),this.replace(t,i.name,a)}dropPointer(){this.currentBlockIndex=-1,this.clearFocused()}async clear(t=!1){const e=new ni;this.blocks.forEach(o=>{e.add(async()=>{await this.removeBlock(o,!1)})}),await e.completed,this.dropPointer(),t&&this.insert(),this.Editor.UI.checkEmptiness()}async destroy(){await Promise.all(this.blocks.map(t=>t.destroy()))}bindBlockEvents(t){const{BlockEvents:e}=this.Editor;this.readOnlyMutableListeners.on(t.holder,"keydown",o=>{e.keydown(o)}),this.readOnlyMutableListeners.on(t.holder,"keyup",o=>{e.keyup(o)}),this.readOnlyMutableListeners.on(t.holder,"dragover",o=>{e.dragOver(o)}),this.readOnlyMutableListeners.on(t.holder,"dragleave",o=>{e.dragLeave(o)}),t.on("didMutated",o=>this.blockDidMutated(ne,o,{index:this.getBlockIndex(o)}))}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}enableModuleBindings(){this.readOnlyMutableListeners.on(document,"cut",t=>this.Editor.BlockEvents.handleCommandX(t)),this.blocks.forEach(t=>{this.bindBlockEvents(t)})}validateIndex(t){return!(t<0||t>=this._blocks.length)}blockDidMutated(t,e,o){const i=new CustomEvent(t,{detail:{target:new tt(e),...o}});return this.eventsDispatcher.emit(he,{event:i}),e}}class ri extends T{constructor(){super(...arguments),this.anyBlockSelectedCache=null,this.needToSelectAll=!1,this.nativeInputSelected=!1,this.readyToBlockSelection=!1}get sanitizerConfig(){return{p:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},ol:{},ul:{},li:{},br:!0,img:{src:!0,width:!0,height:!0},a:{href:!0},b:{},i:{},u:{}}}get allBlocksSelected(){const{BlockManager:t}=this.Editor;return t.blocks.every(e=>e.selected===!0)}set allBlocksSelected(t){const{BlockManager:e}=this.Editor;e.blocks.forEach(o=>{o.selected=t}),this.clearCache()}get anyBlockSelected(){const{BlockManager:t}=this.Editor;return this.anyBlockSelectedCache===null&&(this.anyBlockSelectedCache=t.blocks.some(e=>e.selected===!0)),this.anyBlockSelectedCache}get selectedBlocks(){return this.Editor.BlockManager.blocks.filter(t=>t.selected)}prepare(){this.selection=new b,lt.add({name:"CMD+A",handler:t=>{const{BlockManager:e,ReadOnly:o}=this.Editor;if(o.isEnabled){t.preventDefault(),this.selectAllBlocks();return}e.currentBlock&&this.handleCommandA(t)},on:this.Editor.UI.nodes.redactor})}toggleReadOnly(){b.get().removeAllRanges(),this.allBlocksSelected=!1}unSelectBlockByIndex(t){const{BlockManager:e}=this.Editor;let o;isNaN(t)?o=e.currentBlock:o=e.getBlockByIndex(t),o.selected=!1,this.clearCache()}clearSelection(t,e=!1){const{BlockManager:o,Caret:i,RectangleSelection:n}=this.Editor;this.needToSelectAll=!1,this.nativeInputSelected=!1,this.readyToBlockSelection=!1;const r=t&&t instanceof KeyboardEvent,a=r&&re(t.keyCode);if(this.anyBlockSelected&&r&&a&&!b.isSelectionExists){const l=o.removeSelectedBlocks();o.insertDefaultBlockAtIndex(l,!0),i.setToBlock(o.currentBlock),rt(()=>{const c=t.key;i.insertContentAtCaretPosition(c.length>1?"":c)},20)()}if(this.Editor.CrossBlockSelection.clear(t),!this.anyBlockSelected||n.isRectActivated()){this.Editor.RectangleSelection.clearSelection();return}e&&this.selection.restore(),this.allBlocksSelected=!1}copySelectedBlocks(t){t.preventDefault();const e=d.make("div");this.selectedBlocks.forEach(n=>{const r=Z(n.holder.innerHTML,this.sanitizerConfig),a=d.make("p");a.innerHTML=r,e.appendChild(a)});const o=Array.from(e.childNodes).map(n=>n.textContent).join(` - -`),i=e.innerHTML;return t.clipboardData.setData("text/plain",o),t.clipboardData.setData("text/html",i),Promise.all(this.selectedBlocks.map(n=>n.save())).then(n=>{try{t.clipboardData.setData(this.Editor.Paste.MIME_TYPE,JSON.stringify(n))}catch{}})}selectBlockByIndex(t){const{BlockManager:e}=this.Editor;e.clearFocused();let o;isNaN(t)?o=e.currentBlock:o=e.getBlockByIndex(t),this.selection.save(),b.get().removeAllRanges(),o.selected=!0,this.clearCache(),this.Editor.InlineToolbar.close()}clearCache(){this.anyBlockSelectedCache=null}destroy(){lt.remove(this.Editor.UI.nodes.redactor,"CMD+A")}handleCommandA(t){if(this.Editor.RectangleSelection.clearSelection(),d.isNativeInput(t.target)&&!this.readyToBlockSelection){this.readyToBlockSelection=!0;return}const e=this.Editor.BlockManager.getBlock(t.target).inputs;if(e.length>1&&!this.readyToBlockSelection){this.readyToBlockSelection=!0;return}if(e.length===1&&!this.needToSelectAll){this.needToSelectAll=!0;return}this.needToSelectAll?(t.preventDefault(),this.selectAllBlocks(),this.needToSelectAll=!1,this.readyToBlockSelection=!1,this.Editor.ConversionToolbar.close()):this.readyToBlockSelection&&(t.preventDefault(),this.selectBlockByIndex(),this.needToSelectAll=!0)}selectAllBlocks(){this.selection.save(),b.get().removeAllRanges(),this.allBlocksSelected=!0,this.Editor.InlineToolbar.close()}}class vt extends T{get positions(){return{START:"start",END:"end",DEFAULT:"default"}}static get CSS(){return{shadowCaret:"cdx-shadow-caret"}}get isAtStart(){const t=b.get(),e=d.getDeepestNode(this.Editor.BlockManager.currentBlock.currentInput);let o=t.focusNode;if(d.isNativeInput(e))return e.selectionEnd===0;if(!t.anchorNode)return!1;let i=o.textContent.search(/\S/);i===-1&&(i=0);let n=t.focusOffset;return o.nodeType!==Node.TEXT_NODE&&o.childNodes.length&&(o.childNodes[n]?(o=o.childNodes[n],n=0):(o=o.childNodes[n-1],n=o.textContent.length)),(d.isLineBreakTag(e)||d.isEmpty(e))&&this.getHigherLevelSiblings(o,"left").every(r=>{const a=d.isLineBreakTag(r),l=r.children.length===1&&d.isLineBreakTag(r.children[0]),c=a||l;return d.isEmpty(r)&&!c})&&n===i?!0:e===null||o===e&&n<=i}get isAtEnd(){const t=b.get();let e=t.focusNode;const o=d.getDeepestNode(this.Editor.BlockManager.currentBlock.currentInput,!0);if(d.isNativeInput(o))return o.selectionEnd===o.value.length;if(!t.focusNode)return!1;let i=t.focusOffset;if(e.nodeType!==Node.TEXT_NODE&&e.childNodes.length&&(e.childNodes[i-1]?(e=e.childNodes[i-1],i=e.textContent.length):(e=e.childNodes[0],i=0)),d.isLineBreakTag(o)||d.isEmpty(o)){const r=this.getHigherLevelSiblings(e,"right");if(r.every((a,l)=>l===r.length-1&&d.isLineBreakTag(a)||d.isEmpty(a)&&!d.isLineBreakTag(a))&&i===e.textContent.length)return!0}const n=o.textContent.replace(/\s+$/,"");return e===o&&i>=n.length}setToBlock(t,e=this.positions.DEFAULT,o=0){const{BlockManager:i}=this.Editor;let n;switch(e){case this.positions.START:n=t.firstInput;break;case this.positions.END:n=t.lastInput;break;default:n=t.currentInput}if(!n)return;const r=d.getDeepestNode(n,e===this.positions.END),a=d.getContentLength(r);switch(!0){case e===this.positions.START:o=0;break;case e===this.positions.END:case o>a:o=a;break}rt(()=>{this.set(r,o)},20)(),i.setCurrentBlockByChildNode(t.holder),i.currentBlock.currentInput=n}setToInput(t,e=this.positions.DEFAULT,o=0){const{currentBlock:i}=this.Editor.BlockManager,n=d.getDeepestNode(t);switch(e){case this.positions.START:this.set(n,0);break;case this.positions.END:this.set(n,d.getContentLength(n));break;default:o&&this.set(n,o)}i.currentInput=t}set(t,e=0){const{top:o,bottom:i}=b.setCursor(t,e),{innerHeight:n}=window;o<0&&window.scrollBy(0,o),i>n&&window.scrollBy(0,i-n)}setToTheLastBlock(){const t=this.Editor.BlockManager.lastBlock;if(t)if(t.tool.isDefault&&t.isEmpty)this.setToBlock(t);else{const e=this.Editor.BlockManager.insertAtEnd();this.setToBlock(e)}}extractFragmentFromCaretPosition(){const t=b.get();if(t.rangeCount){const e=t.getRangeAt(0),o=this.Editor.BlockManager.currentBlock.currentInput;if(e.deleteContents(),o)if(d.isNativeInput(o)){const i=o,n=document.createDocumentFragment(),r=i.value.substring(0,i.selectionStart),a=i.value.substring(i.selectionStart);return n.textContent=a,i.value=r,n}else{const i=e.cloneRange();return i.selectNodeContents(o),i.setStart(e.endContainer,e.endOffset),i.extractContents()}}}navigateNext(){const{BlockManager:t}=this.Editor,{currentBlock:e,nextContentfulBlock:o}=t,{nextInput:i}=e,n=this.isAtEnd;let r=o;if(!r&&!i){if(e.tool.isDefault||!n)return!1;r=t.insertAtEnd()}return n?(i?this.setToInput(i,this.positions.START):this.setToBlock(r,this.positions.START),!0):!1}navigatePrevious(){const{currentBlock:t,previousContentfulBlock:e}=this.Editor.BlockManager;if(!t)return!1;const{previousInput:o}=t;return!e&&!o?!1:this.isAtStart?(o?this.setToInput(o,this.positions.END):this.setToBlock(e,this.positions.END),!0):!1}createShadow(t){const e=document.createElement("span");e.classList.add(vt.CSS.shadowCaret),t.insertAdjacentElement("beforeend",e)}restoreCaret(t){const e=t.querySelector(`.${vt.CSS.shadowCaret}`);if(!e)return;new b().expandToTag(e);const o=document.createRange();o.selectNode(e),o.extractContents()}insertContentAtCaretPosition(t){const e=document.createDocumentFragment(),o=document.createElement("div"),i=b.get(),n=b.range;o.innerHTML=t,Array.from(o.childNodes).forEach(c=>e.appendChild(c)),e.childNodes.length===0&&e.appendChild(new Text);const r=e.lastChild;n.deleteContents(),n.insertNode(e);const a=document.createRange(),l=r.nodeType===Node.TEXT_NODE?r:r.firstChild;l!==null&&l.textContent!==null&&a.setStart(l,l.textContent.length),i.removeAllRanges(),i.addRange(a)}getHigherLevelSiblings(t,e){let o=t;const i=[];for(;o.parentNode&&o.parentNode.contentEditable!=="true";)o=o.parentNode;const n=e==="left"?"previousSibling":"nextSibling";for(;o[n];)o=o[n],i.push(o);return i}}class ai extends T{constructor(){super(...arguments),this.onMouseUp=()=>{this.listeners.off(document,"mouseover",this.onMouseOver),this.listeners.off(document,"mouseup",this.onMouseUp)},this.onMouseOver=t=>{const{BlockManager:e,BlockSelection:o}=this.Editor,i=e.getBlockByChildNode(t.relatedTarget)||this.lastSelectedBlock,n=e.getBlockByChildNode(t.target);if(!(!i||!n)&&n!==i){if(i===this.firstSelectedBlock){b.get().removeAllRanges(),i.selected=!0,n.selected=!0,o.clearCache();return}if(n===this.firstSelectedBlock){i.selected=!1,n.selected=!1,o.clearCache();return}this.Editor.InlineToolbar.close(),this.toggleBlocksSelectedState(i,n),this.lastSelectedBlock=n}}}async prepare(){this.listeners.on(document,"mousedown",t=>{this.enableCrossBlockSelection(t)})}watchSelection(t){if(t.button!==ze.LEFT)return;const{BlockManager:e}=this.Editor;this.firstSelectedBlock=e.getBlock(t.target),this.lastSelectedBlock=this.firstSelectedBlock,this.listeners.on(document,"mouseover",this.onMouseOver),this.listeners.on(document,"mouseup",this.onMouseUp)}get isCrossBlockSelectionStarted(){return!!this.firstSelectedBlock&&!!this.lastSelectedBlock}toggleBlockSelectedState(t=!0){const{BlockManager:e,BlockSelection:o}=this.Editor;this.lastSelectedBlock||(this.lastSelectedBlock=this.firstSelectedBlock=e.currentBlock),this.firstSelectedBlock===this.lastSelectedBlock&&(this.firstSelectedBlock.selected=!0,o.clearCache(),b.get().removeAllRanges());const i=e.blocks.indexOf(this.lastSelectedBlock)+(t?1:-1),n=e.blocks[i];n&&(this.lastSelectedBlock.selected!==n.selected?(n.selected=!0,o.clearCache()):(this.lastSelectedBlock.selected=!1,o.clearCache()),this.lastSelectedBlock=n,this.Editor.InlineToolbar.close(),n.holder.scrollIntoView({block:"nearest"}))}clear(t){const{BlockManager:e,BlockSelection:o,Caret:i}=this.Editor,n=e.blocks.indexOf(this.firstSelectedBlock),r=e.blocks.indexOf(this.lastSelectedBlock);if(o.anyBlockSelected&&n>-1&&r>-1)if(t&&t instanceof KeyboardEvent)switch(t.keyCode){case E.DOWN:case E.RIGHT:i.setToBlock(e.blocks[Math.max(n,r)],i.positions.END);break;case E.UP:case E.LEFT:i.setToBlock(e.blocks[Math.min(n,r)],i.positions.START);break;default:i.setToBlock(e.blocks[Math.max(n,r)],i.positions.END)}else i.setToBlock(e.blocks[Math.max(n,r)],i.positions.END);this.firstSelectedBlock=this.lastSelectedBlock=null}enableCrossBlockSelection(t){const{UI:e}=this.Editor;b.isCollapsed||this.Editor.BlockSelection.clearSelection(t),e.nodes.redactor.contains(t.target)?this.watchSelection(t):this.Editor.BlockSelection.clearSelection(t)}toggleBlocksSelectedState(t,e){const{BlockManager:o,BlockSelection:i}=this.Editor,n=o.blocks.indexOf(t),r=o.blocks.indexOf(e),a=t.selected!==e.selected;for(let l=Math.min(n,r);l<=Math.max(n,r);l++){const c=o.blocks[l];c!==this.firstSelectedBlock&&c!==(a?t:e)&&(o.blocks[l].selected=!o.blocks[l].selected,i.clearCache())}}}class li extends T{constructor(){super(...arguments),this.isStartedAtEditor=!1}toggleReadOnly(t){t?this.disableModuleBindings():this.enableModuleBindings()}enableModuleBindings(){const{UI:t}=this.Editor;this.readOnlyMutableListeners.on(t.nodes.holder,"drop",async e=>{await this.processDrop(e)},!0),this.readOnlyMutableListeners.on(t.nodes.holder,"dragstart",()=>{this.processDragStart()}),this.readOnlyMutableListeners.on(t.nodes.holder,"dragover",e=>{this.processDragOver(e)},!0)}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}async processDrop(t){const{BlockManager:e,Caret:o,Paste:i}=this.Editor;t.preventDefault(),e.blocks.forEach(r=>{r.dropTarget=!1}),b.isAtEditor&&!b.isCollapsed&&this.isStartedAtEditor&&document.execCommand("delete"),this.isStartedAtEditor=!1;const n=e.setCurrentBlockByChildNode(t.target);if(n)this.Editor.Caret.setToBlock(n,o.positions.END);else{const r=e.setCurrentBlockByChildNode(e.lastBlock.holder);this.Editor.Caret.setToBlock(r,o.positions.END)}await i.processDataTransfer(t.dataTransfer,!0)}processDragStart(){b.isAtEditor&&!b.isCollapsed&&(this.isStartedAtEditor=!0),this.Editor.InlineToolbar.close()}processDragOver(t){t.preventDefault()}}class ci extends T{constructor({config:t,eventsDispatcher:e}){super({config:t,eventsDispatcher:e}),this.disabled=!1,this.batchingTimeout=null,this.batchingOnChangeQueue=new Map,this.batchTime=400,this.mutationObserver=new MutationObserver(o=>{this.redactorChanged(o)}),this.eventsDispatcher.on(he,o=>{this.particularBlockChanged(o.event)}),this.eventsDispatcher.on(pe,()=>{this.disable()}),this.eventsDispatcher.on(ue,()=>{this.enable()})}enable(){this.mutationObserver.observe(this.Editor.UI.nodes.redactor,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),this.disabled=!1}disable(){this.mutationObserver.disconnect(),this.disabled=!0}particularBlockChanged(t){this.disabled||!R(this.config.onChange)||(this.batchingOnChangeQueue.set(`block:${t.detail.target.id}:event:${t.type}`,t),this.batchingTimeout&&clearTimeout(this.batchingTimeout),this.batchingTimeout=setTimeout(()=>{let e;this.batchingOnChangeQueue.size===1?e=this.batchingOnChangeQueue.values().next().value:e=Array.from(this.batchingOnChangeQueue.values()),this.config.onChange&&this.config.onChange(this.Editor.API.methods,e),this.batchingOnChangeQueue.clear()},this.batchTime))}redactorChanged(t){this.eventsDispatcher.emit(_t,{mutations:t})}}const Ee=class extends T{constructor(){super(...arguments),this.MIME_TYPE="application/x-editor-js",this.toolsTags={},this.tagsByTool={},this.toolsPatterns=[],this.toolsFiles={},this.exceptionList=[],this.processTool=s=>{try{const t=s.create({},{},!1);if(s.pasteConfig===!1){this.exceptionList.push(s.name);return}if(!R(t.onPaste))return;this.getTagsConfig(s),this.getFilesConfig(s),this.getPatternsConfig(s)}catch(t){_(`Paste handling for «${s.name}» Tool hasn't been set up because of the error`,"warn",t)}},this.handlePasteEvent=async s=>{const{BlockManager:t,Toolbar:e}=this.Editor,o=t.setCurrentBlockByChildNode(s.target);!o||this.isNativeBehaviour(s.target)&&!s.clipboardData.types.includes("Files")||o&&this.exceptionList.includes(o.name)||(s.preventDefault(),this.processDataTransfer(s.clipboardData),t.clearFocused(),e.close())}}async prepare(){this.processTools()}toggleReadOnly(s){s?this.unsetCallback():this.setCallback()}async processDataTransfer(s,t=!1){const{Tools:e}=this.Editor,o=s.types;if((o.includes?o.includes("Files"):o.contains("Files"))&&!V(this.toolsFiles)){await this.processFiles(s.files);return}const i=s.getData(this.MIME_TYPE),n=s.getData("text/plain");let r=s.getData("text/html");if(i)try{this.insertEditorJSData(JSON.parse(i));return}catch{}t&&n.trim()&&r.trim()&&(r="

"+(r.trim()?r:n)+"

");const a=Object.keys(this.toolsTags).reduce((p,h)=>(p[h.toLowerCase()]=this.toolsTags[h].sanitizationConfig??{},p),{}),l=Object.assign({},a,e.getAllInlineToolsSanitizeConfig(),{br:{}}),c=Z(r,l);!c.trim()||c.trim()===n||!d.isHTMLString(c)?await this.processText(n):await this.processText(c,!0)}async processText(s,t=!1){const{Caret:e,BlockManager:o}=this.Editor,i=t?this.processHTML(s):this.processPlain(s);if(!i.length)return;if(i.length===1){i[0].isBlock?this.processSingleBlock(i.pop()):this.processInlinePaste(i.pop());return}const n=o.currentBlock&&o.currentBlock.tool.isDefault&&o.currentBlock.isEmpty;i.map(async(r,a)=>this.insertBlock(r,a===0&&n)),o.currentBlock&&e.setToBlock(o.currentBlock,e.positions.END)}setCallback(){this.listeners.on(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}unsetCallback(){this.listeners.off(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}processTools(){const s=this.Editor.Tools.blockTools;Array.from(s.values()).forEach(this.processTool)}collectTagNames(s){return J(s)?[s]:z(s)?Object.keys(s):[]}getTagsConfig(s){if(s.pasteConfig===!1)return;const t=s.pasteConfig.tags||[],e=[];t.forEach(o=>{const i=this.collectTagNames(o);e.push(...i),i.forEach(n=>{if(Object.prototype.hasOwnProperty.call(this.toolsTags,n)){_(`Paste handler for «${s.name}» Tool on «${n}» tag is skipped because it is already used by «${this.toolsTags[n].tool.name}» Tool.`,"warn");return}const r=z(o)?o[n]:null;this.toolsTags[n.toUpperCase()]={tool:s,sanitizationConfig:r}})}),this.tagsByTool[s.name]=e.map(o=>o.toUpperCase())}getFilesConfig(s){if(s.pasteConfig===!1)return;const{files:t={}}=s.pasteConfig;let{extensions:e,mimeTypes:o}=t;!e&&!o||(e&&!Array.isArray(e)&&(_(`«extensions» property of the onDrop config for «${s.name}» Tool should be an array`),e=[]),o&&!Array.isArray(o)&&(_(`«mimeTypes» property of the onDrop config for «${s.name}» Tool should be an array`),o=[]),o&&(o=o.filter(i=>Ke(i)?!0:(_(`MIME type value «${i}» for the «${s.name}» Tool is not a valid MIME type`,"warn"),!1))),this.toolsFiles[s.name]={extensions:e||[],mimeTypes:o||[]})}getPatternsConfig(s){s.pasteConfig===!1||!s.pasteConfig.patterns||V(s.pasteConfig.patterns)||Object.entries(s.pasteConfig.patterns).forEach(([t,e])=>{e instanceof RegExp||_(`Pattern ${e} for «${s.name}» Tool is skipped because it should be a Regexp instance.`,"warn"),this.toolsPatterns.push({key:t,pattern:e,tool:s})})}isNativeBehaviour(s){return d.isNativeInput(s)}async processFiles(s){const{BlockManager:t}=this.Editor;let e;e=await Promise.all(Array.from(s).map(i=>this.processFile(i))),e=e.filter(i=>!!i);const o=t.currentBlock.tool.isDefault&&t.currentBlock.isEmpty;e.forEach((i,n)=>{t.paste(i.type,i.event,n===0&&o)})}async processFile(s){const t=Ye(s),e=Object.entries(this.toolsFiles).find(([i,{mimeTypes:n,extensions:r}])=>{const[a,l]=s.type.split("/"),c=r.find(h=>h.toLowerCase()===t.toLowerCase()),p=n.find(h=>{const[f,k]=h.split("/");return f===a&&(k===l||k==="*")});return!!c||!!p});if(!e)return;const[o]=e;return{event:this.composePasteEvent("file",{file:s}),type:o}}processHTML(s){const{Tools:t}=this.Editor,e=d.make("DIV");return e.innerHTML=s,this.getNodes(e).map(o=>{let i,n=t.defaultTool,r=!1;switch(o.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:i=d.make("div"),i.appendChild(o);break;case Node.ELEMENT_NODE:i=o,r=!0,this.toolsTags[i.tagName]&&(n=this.toolsTags[i.tagName].tool);break}const{tags:a}=n.pasteConfig||{tags:[]},l=a.reduce((h,f)=>(this.collectTagNames(f).forEach(k=>{const u=z(f)?f[k]:null;h[k.toLowerCase()]=u||{}}),h),{}),c=Object.assign({},l,n.baseSanitizeConfig);if(i.tagName.toLowerCase()==="table"){const h=Z(i.outerHTML,c);i=d.make("div",void 0,{innerHTML:h}).firstChild}else i.innerHTML=Z(i.innerHTML,c);const p=this.composePasteEvent("tag",{data:i});return{content:i,isBlock:r,tool:n.name,event:p}}).filter(o=>{const i=d.isEmpty(o.content),n=d.isSingleTag(o.content);return!i||n})}processPlain(s){const{defaultBlock:t}=this.config;if(!s)return[];const e=t;return s.split(/\r?\n/).filter(o=>o.trim()).map(o=>{const i=d.make("div");i.textContent=o;const n=this.composePasteEvent("tag",{data:i});return{content:i,tool:e,isBlock:!1,event:n}})}async processSingleBlock(s){const{Caret:t,BlockManager:e}=this.Editor,{currentBlock:o}=e;if(!o||s.tool!==o.name||!d.containsOnlyInlineElements(s.content.innerHTML)){this.insertBlock(s,(o==null?void 0:o.tool.isDefault)&&o.isEmpty);return}t.insertContentAtCaretPosition(s.content.innerHTML)}async processInlinePaste(s){const{BlockManager:t,Caret:e}=this.Editor,{content:o}=s;if(t.currentBlock&&t.currentBlock.tool.isDefault&&o.textContent.length{const o=e.pattern.exec(s);return o?s===o.shift():!1});return t?{event:this.composePasteEvent("pattern",{key:t.key,data:s}),tool:t.tool.name}:void 0}insertBlock(s,t=!1){const{BlockManager:e,Caret:o}=this.Editor,{currentBlock:i}=e;let n;if(t&&i&&i.isEmpty){n=e.paste(s.tool,s.event,!0),o.setToBlock(n,o.positions.END);return}n=e.paste(s.tool,s.event),o.setToBlock(n,o.positions.END)}insertEditorJSData(s){const{BlockManager:t,Caret:e,Tools:o}=this.Editor;fe(s,i=>o.blockTools.get(i).sanitizeConfig).forEach(({tool:i,data:n},r)=>{let a=!1;r===0&&(a=t.currentBlock&&t.currentBlock.tool.isDefault&&t.currentBlock.isEmpty);const l=t.insert({tool:i,data:n,replace:a});e.setToBlock(l,e.positions.END)})}processElementNode(s,t,e){const o=Object.keys(this.toolsTags),i=s,{tool:n}=this.toolsTags[i.tagName]||{},r=this.tagsByTool[n==null?void 0:n.name]||[],a=o.includes(i.tagName),l=d.blockElements.includes(i.tagName.toLowerCase()),c=Array.from(i.children).some(({tagName:h})=>o.includes(h)&&!r.includes(h)),p=Array.from(i.children).some(({tagName:h})=>d.blockElements.includes(h.toLowerCase()));if(!l&&!a&&!c)return e.appendChild(i),[...t,e];if(a&&!c||l&&!p&&!c)return[...t,e,i]}getNodes(s){const t=Array.from(s.childNodes);let e;const o=(i,n)=>{if(d.isEmpty(n)&&!d.isSingleTag(n))return i;const r=i[i.length-1];let a=new DocumentFragment;switch(r&&d.isFragment(r)&&(a=i.pop()),n.nodeType){case Node.ELEMENT_NODE:if(e=this.processElementNode(n,i,a),e)return e;break;case Node.TEXT_NODE:return a.appendChild(n),[...i,a];default:return[...i,a]}return[...i,...Array.from(n.childNodes).reduce(o,[])]};return t.reduce(o,[])}composePasteEvent(s,t){return new CustomEvent(s,{detail:t})}};let Ce=Ee;Ce.PATTERN_PROCESSING_MAX_LENGTH=450;class di extends T{constructor(){super(...arguments),this.toolsDontSupportReadOnly=[],this.readOnlyEnabled=!1}get isEnabled(){return this.readOnlyEnabled}async prepare(){const{Tools:t}=this.Editor,{blockTools:e}=t,o=[];Array.from(e.entries()).forEach(([i,n])=>{n.isReadOnlySupported||o.push(i)}),this.toolsDontSupportReadOnly=o,this.config.readOnly&&o.length>0&&this.throwCriticalError(),this.toggle(this.config.readOnly)}async toggle(t=!this.readOnlyEnabled){t&&this.toolsDontSupportReadOnly.length>0&&this.throwCriticalError();const e=this.readOnlyEnabled;this.readOnlyEnabled=t;for(const i in this.Editor)this.Editor[i].toggleReadOnly&&this.Editor[i].toggleReadOnly(t);if(e===t)return this.readOnlyEnabled;const o=await this.Editor.Saver.save();return await this.Editor.BlockManager.clear(),await this.Editor.Renderer.render(o.blocks),this.readOnlyEnabled}throwCriticalError(){throw new de(`To enable read-only mode all connected tools should support it. Tools ${this.toolsDontSupportReadOnly.join(", ")} don't support read-only mode.`)}}class ft extends T{constructor(){super(...arguments),this.isRectSelectionActivated=!1,this.SCROLL_SPEED=3,this.HEIGHT_OF_SCROLL_ZONE=40,this.BOTTOM_SCROLL_ZONE=1,this.TOP_SCROLL_ZONE=2,this.MAIN_MOUSE_BUTTON=0,this.mousedown=!1,this.isScrolling=!1,this.inScrollZone=null,this.startX=0,this.startY=0,this.mouseX=0,this.mouseY=0,this.stackOfSelected=[],this.listenerIds=[]}static get CSS(){return{overlay:"codex-editor-overlay",overlayContainer:"codex-editor-overlay__container",rect:"codex-editor-overlay__rectangle",topScrollZone:"codex-editor-overlay__scroll-zone--top",bottomScrollZone:"codex-editor-overlay__scroll-zone--bottom"}}prepare(){this.enableModuleBindings()}startSelection(t,e){const o=document.elementFromPoint(t-window.pageXOffset,e-window.pageYOffset);o.closest(`.${this.Editor.Toolbar.CSS.toolbar}`)||(this.Editor.BlockSelection.allBlocksSelected=!1,this.clearSelection(),this.stackOfSelected=[]);const i=[`.${F.CSS.content}`,`.${this.Editor.Toolbar.CSS.toolbar}`,`.${this.Editor.InlineToolbar.CSS.inlineToolbar}`],n=o.closest("."+this.Editor.UI.CSS.editorWrapper),r=i.some(a=>!!o.closest(a));!n||r||(this.mousedown=!0,this.startX=t,this.startY=e)}endSelection(){this.mousedown=!1,this.startX=0,this.startY=0,this.overlayRectangle.style.display="none"}isRectActivated(){return this.isRectSelectionActivated}clearSelection(){this.isRectSelectionActivated=!1}enableModuleBindings(){const{container:t}=this.genHTML();this.listeners.on(t,"mousedown",e=>{this.processMouseDown(e)},!1),this.listeners.on(document.body,"mousemove",St(e=>{this.processMouseMove(e)},10),{passive:!0}),this.listeners.on(document.body,"mouseleave",()=>{this.processMouseLeave()}),this.listeners.on(window,"scroll",St(e=>{this.processScroll(e)},10),{passive:!0}),this.listeners.on(document.body,"mouseup",()=>{this.processMouseUp()},!1)}processMouseDown(t){t.button===this.MAIN_MOUSE_BUTTON&&(t.target.closest(d.allInputsSelector)!==null||this.startSelection(t.pageX,t.pageY))}processMouseMove(t){this.changingRectangle(t),this.scrollByZones(t.clientY)}processMouseLeave(){this.clearSelection(),this.endSelection()}processScroll(t){this.changingRectangle(t)}processMouseUp(){this.clearSelection(),this.endSelection()}scrollByZones(t){if(this.inScrollZone=null,t<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.TOP_SCROLL_ZONE),document.documentElement.clientHeight-t<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.BOTTOM_SCROLL_ZONE),!this.inScrollZone){this.isScrolling=!1;return}this.isScrolling||(this.scrollVertical(this.inScrollZone===this.TOP_SCROLL_ZONE?-this.SCROLL_SPEED:this.SCROLL_SPEED),this.isScrolling=!0)}genHTML(){const{UI:t}=this.Editor,e=t.nodes.holder.querySelector("."+t.CSS.editorWrapper),o=d.make("div",ft.CSS.overlay,{}),i=d.make("div",ft.CSS.overlayContainer,{}),n=d.make("div",ft.CSS.rect,{});return i.appendChild(n),o.appendChild(i),e.appendChild(o),this.overlayRectangle=n,{container:e,overlay:o}}scrollVertical(t){if(!(this.inScrollZone&&this.mousedown))return;const e=window.pageYOffset;window.scrollBy(0,t),this.mouseY+=window.pageYOffset-e,setTimeout(()=>{this.scrollVertical(t)},0)}changingRectangle(t){if(!this.mousedown)return;t.pageY!==void 0&&(this.mouseX=t.pageX,this.mouseY=t.pageY);const{rightPos:e,leftPos:o,index:i}=this.genInfoForMouseSelection(),n=this.startX>e&&this.mouseX>e,r=this.startX=this.startY?(this.overlayRectangle.style.top=`${this.startY-window.pageYOffset}px`,this.overlayRectangle.style.bottom=`calc(100% - ${this.mouseY-window.pageYOffset}px`):(this.overlayRectangle.style.bottom=`calc(100% - ${this.startY-window.pageYOffset}px`,this.overlayRectangle.style.top=`${this.mouseY-window.pageYOffset}px`),this.mouseX>=this.startX?(this.overlayRectangle.style.left=`${this.startX-window.pageXOffset}px`,this.overlayRectangle.style.right=`calc(100% - ${this.mouseX-window.pageXOffset}px`):(this.overlayRectangle.style.right=`calc(100% - ${this.startX-window.pageXOffset}px`,this.overlayRectangle.style.left=`${this.mouseX-window.pageXOffset}px`)}genInfoForMouseSelection(){const t=document.body.offsetWidth/2,e=this.mouseY-window.pageYOffset,o=document.elementFromPoint(t,e),i=this.Editor.BlockManager.getBlockByChildNode(o);let n;i!==void 0&&(n=this.Editor.BlockManager.blocks.findIndex(p=>p.holder===i.holder));const r=this.Editor.BlockManager.lastBlock.holder.querySelector("."+F.CSS.content),a=Number.parseInt(window.getComputedStyle(r).width,10)/2,l=t-a,c=t+a;return{index:n,leftPos:l,rightPos:c}}addBlockInSelection(t){this.rectCrossesBlocks&&this.Editor.BlockSelection.selectBlockByIndex(t),this.stackOfSelected.push(t)}trySelectNextBlock(t){const e=this.stackOfSelected[this.stackOfSelected.length-1]===t,o=this.stackOfSelected.length,i=1,n=-1,r=0;if(e)return;const a=this.stackOfSelected[o-1]-this.stackOfSelected[o-2]>0;let l=r;o>1&&(l=a?i:n);const c=t>this.stackOfSelected[o-1]&&l===i,p=tthis.stackOfSelected[o-1]||this.stackOfSelected[o-1]===void 0)){let u=this.stackOfSelected[o-1]+1||t;for(u;u<=t;u++)this.addBlockInSelection(u);return}if(!h&&t=t;u--)this.addBlockInSelection(u);return}if(!h)return;let f=o-1,k;for(t>this.stackOfSelected[o-1]?k=()=>t>this.stackOfSelected[f]:k=()=>t{const{Tools:o,BlockManager:i}=this.Editor,n=t.map(({type:r,data:a,tunes:l,id:c})=>{o.available.has(r)===!1&&(K(`Tool «${r}» is not found. Check 'tools' property at the Editor.js config.`,"warn"),a=this.composeStubDataForTool(r,a,c),r=o.stubTool);let p;try{p=i.composeBlock({id:c,tool:r,data:a,tunes:l})}catch(h){_(`Block «${r}» skipped because of plugins error`,"error",{data:a,error:h}),a=this.composeStubDataForTool(r,a,c),r=o.stubTool,p=i.composeBlock({id:c,tool:r,data:a,tunes:l})}return p});i.insertMany(n),window.requestIdleCallback(()=>{e()},{timeout:2e3})})}composeStubDataForTool(t,e,o){const{Tools:i}=this.Editor;let n=t;if(i.unavailable.has(t)){const r=i.unavailable.get(t).toolbox;r!==void 0&&r[0].title!==void 0&&(n=r[0].title)}return{savedData:{id:o,type:t,data:e},title:n}}}class pi extends T{async save(){const{BlockManager:t,Tools:e}=this.Editor,o=t.blocks,i=[];try{o.forEach(a=>{i.push(this.getSavedData(a))});const n=await Promise.all(i),r=await fe(n,a=>e.blockTools.get(a).sanitizeConfig);return this.makeOutput(r)}catch(n){K("Saving failed due to the Error %o","error",n)}}async getSavedData(t){const e=await t.save(),o=e&&await t.validate(e.data);return{...e,isValid:o}}makeOutput(t){const e=[];return t.forEach(({id:o,tool:i,data:n,tunes:r,isValid:a})=>{if(!a){_(`Block «${i}» skipped because saved data is invalid`);return}if(i===this.Editor.Tools.stubTool){e.push(n);return}const l={id:o,type:i,data:n,...!V(r)&&{tunes:r}};e.push(l)}),{time:+new Date,blocks:e,version:"2.28.0"}}}var Dt={},ui={get exports(){return Dt},set exports(s){Dt=s}};(function(s,t){(function(e,o){s.exports=o()})(window,function(){return function(e){var o={};function i(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=o,i.d=function(n,r,a){i.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:a})},i.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,r){if(1&r&&(n=i(n)),8&r||4&r&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&r&&typeof n!="string")for(var l in n)i.d(a,l,(function(c){return n[c]}).bind(null,l));return a},i.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(r,"a",r),r},i.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},i.p="/",i(i.s=4)}([function(e,o,i){var n=i(1),r=i(2);typeof(r=r.__esModule?r.default:r)=="string"&&(r=[[e.i,r,""]]);var a={insert:"head",singleton:!1};n(r,a),e.exports=r.locals||{}},function(e,o,i){var n,r=function(){return n===void 0&&(n=!!(window&&document&&document.all&&!window.atob)),n},a=function(){var w={};return function(v){if(w[v]===void 0){var x=document.querySelector(v);if(window.HTMLIFrameElement&&x instanceof window.HTMLIFrameElement)try{x=x.contentDocument.head}catch{x=null}w[v]=x}return w[v]}}(),l=[];function c(w){for(var v=-1,x=0;x',title:"Text"}}}]),l}()}]).default})})(ui);const fi=xt(Dt);class Yt{constructor(){this.commandName="bold",this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--bold"},this.nodes={button:void 0}}static get sanitize(){return{b:{}}}render(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.innerHTML=Do,this.nodes.button}surround(){document.execCommand(this.commandName)}checkState(){const t=document.queryCommandState(this.commandName);return this.nodes.button.classList.toggle(this.CSS.buttonActive,t),t}get shortcut(){return"CMD+B"}}Yt.isInline=!0;Yt.title="Bold";class Kt{constructor(){this.commandName="italic",this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--italic"},this.nodes={button:null}}static get sanitize(){return{i:{}}}render(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.innerHTML=Ho,this.nodes.button}surround(){document.execCommand(this.commandName)}checkState(){const t=document.queryCommandState(this.commandName);return this.nodes.button.classList.toggle(this.CSS.buttonActive,t),t}get shortcut(){return"CMD+I"}}Kt.isInline=!0;Kt.title="Italic";class Xt{constructor({api:t}){this.commandLink="createLink",this.commandUnlink="unlink",this.ENTER_KEY=13,this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--link",buttonUnlink:"ce-inline-tool--unlink",input:"ce-inline-tool-input",inputShowed:"ce-inline-tool-input--showed"},this.nodes={button:null,input:null},this.inputOpened=!1,this.toolbar=t.toolbar,this.inlineToolbar=t.inlineToolbar,this.notifier=t.notifier,this.i18n=t.i18n,this.selection=new b}static get sanitize(){return{a:{href:!0,target:"_blank",rel:"nofollow"}}}render(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.innerHTML=ee,this.nodes.button}renderActions(){return this.nodes.input=document.createElement("input"),this.nodes.input.placeholder=this.i18n.t("Add a link"),this.nodes.input.classList.add(this.CSS.input),this.nodes.input.addEventListener("keydown",t=>{t.keyCode===this.ENTER_KEY&&this.enterPressed(t)}),this.nodes.input}surround(t){if(t){this.inputOpened?(this.selection.restore(),this.selection.removeFakeBackground()):(this.selection.setFakeBackground(),this.selection.save());const e=this.selection.findParentTag("A");if(e){this.selection.expandToTag(e),this.unlink(),this.closeActions(),this.checkState(),this.toolbar.close();return}}this.toggleActions()}checkState(){const t=this.selection.findParentTag("A");if(t){this.nodes.button.innerHTML=$o,this.nodes.button.classList.add(this.CSS.buttonUnlink),this.nodes.button.classList.add(this.CSS.buttonActive),this.openActions();const e=t.getAttribute("href");this.nodes.input.value=e!=="null"?e:"",this.selection.save()}else this.nodes.button.innerHTML=ee,this.nodes.button.classList.remove(this.CSS.buttonUnlink),this.nodes.button.classList.remove(this.CSS.buttonActive);return!!t}clear(){this.closeActions()}get shortcut(){return"CMD+K"}toggleActions(){this.inputOpened?this.closeActions(!1):this.openActions(!0)}openActions(t=!1){this.nodes.input.classList.add(this.CSS.inputShowed),t&&this.nodes.input.focus(),this.inputOpened=!0}closeActions(t=!0){if(this.selection.isFakeBackgroundEnabled){const e=new b;e.save(),this.selection.restore(),this.selection.removeFakeBackground(),e.restore()}this.nodes.input.classList.remove(this.CSS.inputShowed),this.nodes.input.value="",t&&this.selection.clearSaved(),this.inputOpened=!1}enterPressed(t){let e=this.nodes.input.value||"";if(!e.trim()){this.selection.restore(),this.unlink(),t.preventDefault(),this.closeActions();return}if(!this.validateURL(e)){this.notifier.show({message:"Pasted link is not valid.",style:"error"}),_("Incorrect Link pasted","warn",e);return}e=this.prepareLink(e),this.selection.restore(),this.selection.removeFakeBackground(),this.insertLink(e),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.selection.collapseToEnd(),this.inlineToolbar.close()}validateURL(t){return!/\s/.test(t)}prepareLink(t){return t=t.trim(),t=this.addProtocol(t),t}addProtocol(t){if(/^(\w+):(\/\/)?/.test(t))return t;const e=/^\/[^/\s]/.test(t),o=t.substring(0,1)==="#",i=/^\/\/[^/\s]/.test(t);return!e&&!o&&!i&&(t="http://"+t),t}insertLink(t){const e=this.selection.findParentTag("A");e&&this.selection.expandToTag(e),document.execCommand(this.commandLink,!1,t)}unlink(){document.execCommand(this.commandUnlink)}}Xt.isInline=!0;Xt.title="Link";class Be{constructor({data:t,api:e}){this.CSS={wrapper:"ce-stub",info:"ce-stub__info",title:"ce-stub__title",subtitle:"ce-stub__subtitle"},this.api=e,this.title=t.title||this.api.i18n.t("Error"),this.subtitle=this.api.i18n.t("The block can not be displayed correctly."),this.savedData=t.savedData,this.wrapper=this.make()}render(){return this.wrapper}save(){return this.savedData}make(){const t=d.make("div",this.CSS.wrapper),e=Wo,o=d.make("div",this.CSS.info),i=d.make("div",this.CSS.title,{textContent:this.title}),n=d.make("div",this.CSS.subtitle,{textContent:this.subtitle});return t.innerHTML=e,o.appendChild(i),o.appendChild(n),t.appendChild(o),t}}Be.isReadOnlySupported=!0;class gi extends Wt{constructor(){super(...arguments),this.type=yt.Inline}get title(){return this.constructable[$t.Title]}create(){return new this.constructable({api:this.api.getMethodsForTool(this),config:this.settings})}}class mi extends Wt{constructor(){super(...arguments),this.type=yt.Tune}create(t,e){return new this.constructable({api:this.api.getMethodsForTool(this),config:this.settings,block:e,data:t})}}class U extends Map{get blockTools(){const t=Array.from(this.entries()).filter(([,e])=>e.isBlock());return new U(t)}get inlineTools(){const t=Array.from(this.entries()).filter(([,e])=>e.isInline());return new U(t)}get blockTunes(){const t=Array.from(this.entries()).filter(([,e])=>e.isTune());return new U(t)}get internalTools(){const t=Array.from(this.entries()).filter(([,e])=>e.isInternal);return new U(t)}get externalTools(){const t=Array.from(this.entries()).filter(([,e])=>!e.isInternal);return new U(t)}}var bi=Object.defineProperty,ki=Object.getOwnPropertyDescriptor,Te=(s,t,e,o)=>{for(var i=o>1?void 0:o?ki(t,e):t,n=s.length-1,r;n>=0;n--)(r=s[n])&&(i=(o?r(t,e,i):r(i))||i);return o&&i&&bi(t,e,i),i};class Vt extends Wt{constructor(){super(...arguments),this.type=yt.Block,this.inlineTools=new U,this.tunes=new U}create(t,e,o){return new this.constructable({data:t,block:e,readOnly:o,api:this.api.getMethodsForTool(this),config:this.settings})}get isReadOnlySupported(){return this.constructable[st.IsReadOnlySupported]===!0}get isLineBreaksEnabled(){return this.constructable[st.IsEnabledLineBreaks]}get toolbox(){const t=this.constructable[st.Toolbox],e=this.config[kt.Toolbox];if(!V(t)&&e!==!1)return e?Array.isArray(t)?Array.isArray(e)?e.map((o,i)=>{const n=t[i];return n?{...n,...o}:o}):[e]:Array.isArray(e)?e:[{...t,...e}]:Array.isArray(t)?t:[t]}get conversionConfig(){return this.constructable[st.ConversionConfig]}get enabledInlineTools(){return this.config[kt.EnabledInlineTools]||!1}get enabledBlockTunes(){return this.config[kt.EnabledBlockTunes]}get pasteConfig(){return this.constructable[st.PasteConfig]??{}}get sanitizeConfig(){const t=super.sanitizeConfig,e=this.baseSanitizeConfig;if(V(t))return e;const o={};for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const n=t[i];z(n)?o[i]=Object.assign({},e,n):o[i]=n}return o}get baseSanitizeConfig(){const t={};return Array.from(this.inlineTools.values()).forEach(e=>Object.assign(t,e.sanitizeConfig)),Array.from(this.tunes.values()).forEach(e=>Object.assign(t,e.sanitizeConfig)),t}}Te([ct],Vt.prototype,"sanitizeConfig",1);Te([ct],Vt.prototype,"baseSanitizeConfig",1);class vi{constructor(t,e,o){this.api=o,this.config=t,this.editorConfig=e}get(t){const{class:e,isInternal:o=!1,...i}=this.config[t],n=this.getConstructor(e);return new n({name:t,constructable:e,config:i,api:this.api,isDefault:t===this.editorConfig.defaultBlock,defaultPlaceholder:this.editorConfig.placeholder,isInternal:o})}getConstructor(t){switch(!0){case t[$t.IsInline]:return gi;case t[ye.IsTune]:return mi;default:return Vt}}}class Se{constructor({api:t}){this.CSS={animation:"wobble"},this.api=t}render(){return{icon:me,title:this.api.i18n.t("Move down"),onActivate:()=>this.handleClick(),name:"move-down"}}handleClick(){const t=this.api.blocks.getCurrentBlockIndex(),e=this.api.blocks.getBlockByIndex(t+1);if(!e)throw new Error("Unable to move Block down since it is already the last");const o=e.holder,i=o.getBoundingClientRect();let n=Math.abs(window.innerHeight-o.offsetHeight);i.topthis.handleClick()}}}handleClick(){this.api.blocks.delete()}}Ie.isTune=!0;class Me{constructor({api:t}){this.CSS={animation:"wobble"},this.api=t}render(){return{icon:Ro,title:this.api.i18n.t("Move up"),onActivate:()=>this.handleClick(),name:"move-up"}}handleClick(){const t=this.api.blocks.getCurrentBlockIndex(),e=this.api.blocks.getBlockByIndex(t),o=this.api.blocks.getBlockByIndex(t-1);if(t===0||!e||!o)throw new Error("Unable to move Block up since it is already the first");const i=e.holder,n=o.holder,r=i.getBoundingClientRect(),a=n.getBoundingClientRect();let l;a.top>0?l=Math.abs(r.top)-Math.abs(a.top):l=Math.abs(r.top)+a.height,window.scrollBy(0,-1*l),this.api.blocks.move(t-1),this.api.toolbar.toggleBlockSettings(!0)}}Me.isTune=!0;var xi=Object.defineProperty,wi=Object.getOwnPropertyDescriptor,yi=(s,t,e,o)=>{for(var i=o>1?void 0:o?wi(t,e):t,n=s.length-1,r;n>=0;n--)(r=s[n])&&(i=(o?r(t,e,i):r(i))||i);return o&&i&&xi(t,e,i),i};class _e extends T{constructor(){super(...arguments),this.stubTool="stub",this.toolsAvailable=new U,this.toolsUnavailable=new U}get available(){return this.toolsAvailable}get unavailable(){return this.toolsUnavailable}get inlineTools(){return this.available.inlineTools}get blockTools(){return this.available.blockTools}get blockTunes(){return this.available.blockTunes}get defaultTool(){return this.blockTools.get(this.config.defaultBlock)}get internal(){return this.available.internalTools}async prepare(){if(this.validateTools(),this.config.tools=It({},this.internalTools,this.config.tools),!Object.prototype.hasOwnProperty.call(this.config,"tools")||Object.keys(this.config.tools).length===0)throw Error("Can't start without tools");const t=this.prepareConfig();this.factory=new vi(t,this.config,this.Editor.API);const e=this.getListOfPrepareFunctions(t);if(e.length===0)return Promise.resolve();await We(e,o=>{this.toolPrepareMethodSuccess(o)},o=>{this.toolPrepareMethodFallback(o)}),this.prepareBlockTools()}getAllInlineToolsSanitizeConfig(){const t={};return Array.from(this.inlineTools.values()).forEach(e=>{Object.assign(t,e.sanitizeConfig)}),t}destroy(){Object.values(this.available).forEach(async t=>{R(t.reset)&&await t.reset()})}get internalTools(){return{bold:{class:Yt,isInternal:!0},italic:{class:Kt,isInternal:!0},link:{class:Xt,isInternal:!0},paragraph:{class:fi,inlineToolbar:!0,isInternal:!0},stub:{class:Be,isInternal:!0},moveUp:{class:Me,isInternal:!0},delete:{class:Ie,isInternal:!0},moveDown:{class:Se,isInternal:!0}}}toolPrepareMethodSuccess(t){const e=this.factory.get(t.toolName);if(e.isInline()){const o=["render","surround","checkState"].filter(i=>!e.create()[i]);if(o.length){_(`Incorrect Inline Tool: ${e.name}. Some of required methods is not implemented %o`,"warn",o),this.toolsUnavailable.set(e.name,e);return}}this.toolsAvailable.set(e.name,e)}toolPrepareMethodFallback(t){this.toolsUnavailable.set(t.toolName,this.factory.get(t.toolName))}getListOfPrepareFunctions(t){const e=[];return Object.entries(t).forEach(([o,i])=>{e.push({function:R(i.class.prepare)?i.class.prepare:()=>{},data:{toolName:o,config:i.config}})}),e}prepareBlockTools(){Array.from(this.blockTools.values()).forEach(t=>{this.assignInlineToolsToBlockTool(t),this.assignBlockTunesToBlockTool(t)})}assignInlineToolsToBlockTool(t){if(this.config.inlineToolbar!==!1){if(t.enabledInlineTools===!0){t.inlineTools=new U(Array.isArray(this.config.inlineToolbar)?this.config.inlineToolbar.map(e=>[e,this.inlineTools.get(e)]):Array.from(this.inlineTools.entries()));return}Array.isArray(t.enabledInlineTools)&&(t.inlineTools=new U(t.enabledInlineTools.map(e=>[e,this.inlineTools.get(e)])))}}assignBlockTunesToBlockTool(t){if(t.enabledBlockTunes!==!1){if(Array.isArray(t.enabledBlockTunes)){const e=new U(t.enabledBlockTunes.map(o=>[o,this.blockTunes.get(o)]));t.tunes=new U([...e,...this.blockTunes.internalTools]);return}if(Array.isArray(this.config.tunes)){const e=new U(this.config.tunes.map(o=>[o,this.blockTunes.get(o)]));t.tunes=new U([...e,...this.blockTunes.internalTools]);return}t.tunes=this.blockTunes.internalTools}}validateTools(){for(const t in this.config.tools)if(Object.prototype.hasOwnProperty.call(this.config.tools,t)){if(t in this.internalTools)return;const e=this.config.tools[t];if(!R(e)&&!R(e.class))throw Error(`Tool «${t}» must be a constructor function or an object with function in the «class» property`)}}prepareConfig(){const t={};for(const e in this.config.tools)z(this.config.tools[e])?t[e]=this.config.tools[e]:t[e]={class:this.config.tools[e]};return t}}yi([ct],_e.prototype,"getAllInlineToolsSanitizeConfig",1);const Ei=`:root{--selectionColor: #e1f2ff;--inlineSelectionColor: #d4ecff;--bg-light: #eff2f5;--grayText: #707684;--color-dark: #1D202B;--color-active-icon: #388AE5;--color-gray-border: rgba(201, 201, 204, .48);--content-width: 650px;--narrow-mode-right-padding: 50px;--toolbox-buttons-size: 26px;--toolbox-buttons-size--mobile: 36px;--icon-size: 20px;--icon-size--mobile: 28px;--block-padding-vertical: .4em;--color-line-gray: #EFF0F1 }.codex-editor{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.codex-editor .hide{display:none}.codex-editor__redactor [contenteditable]:empty:after{content:"\\feff"}@media (min-width: 651px){.codex-editor--narrow .codex-editor__redactor{margin-right:50px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .codex-editor__redactor{margin-left:50px;margin-right:0}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__actions{right:-5px}}.codex-editor-copyable{position:absolute;height:1px;width:1px;top:-400%;opacity:.001}.codex-editor-overlay{position:fixed;top:0px;left:0px;right:0px;bottom:0px;z-index:999;pointer-events:none;overflow:hidden}.codex-editor-overlay__container{position:relative;pointer-events:auto;z-index:0}.codex-editor-overlay__rectangle{position:absolute;pointer-events:none;background-color:#2eaadc33;border:1px solid transparent}.codex-editor svg{max-height:100%}.codex-editor path{stroke:currentColor}.codex-editor ::-moz-selection{background-color:#d4ecff}.codex-editor ::selection{background-color:#d4ecff}.codex-editor--toolbox-opened [contentEditable=true][data-placeholder]:focus:before{opacity:0!important}.ce-scroll-locked{overflow:hidden}.ce-scroll-locked--hard{overflow:hidden;top:calc(-1 * var(--window-scroll-offset));position:fixed;width:100%}.ce-toolbar{position:absolute;left:0;right:0;top:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity,top;display:none}.ce-toolbar--opened{display:block}.ce-toolbar__content{max-width:650px;margin:0 auto;position:relative}.ce-toolbar__plus{color:#1d202b;cursor:pointer;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-negative:0;flex-shrink:0}@media (max-width: 650px){.ce-toolbar__plus{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__plus:hover{background-color:#eff2f5}}.ce-toolbar__plus--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__plus-shortcut{opacity:.6;word-spacing:-2px;margin-top:5px}@media (max-width: 650px){.ce-toolbar__plus{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__plus--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__plus--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__actions{position:absolute;right:100%;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:5px}.ce-toolbar__actions--opened{opacity:1}@media (max-width: 650px){.ce-toolbar__actions{right:auto}}.ce-toolbar__settings-btn{color:#1d202b;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;margin-left:3px;cursor:pointer;user-select:none}@media (max-width: 650px){.ce-toolbar__settings-btn{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__settings-btn:hover{background-color:#eff2f5}}.ce-toolbar__settings-btn--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (min-width: 651px){.ce-toolbar__settings-btn{width:24px}}.ce-toolbar__settings-btn--hidden{display:none}@media (max-width: 650px){.ce-toolbar__settings-btn{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__settings-btn--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__settings-btn--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__plus svg,.ce-toolbar__settings-btn svg{width:24px;height:24px}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__plus{left:5px}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbox .ce-popover{right:0;left:auto;left:initial}}.ce-inline-toolbar{--y-offset: 8px;position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;-webkit-transform:translateX(-50%) translateY(8px) scale(.94);transform:translate(-50%) translateY(8px) scale(.94);opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,-webkit-transform .15s ease;transition:opacity .25s ease,-webkit-transform .15s ease;transition:transform .15s ease,opacity .25s ease;transition:transform .15s ease,opacity .25s ease,-webkit-transform .15s ease;will-change:transform,opacity;top:0;left:0;z-index:3}.ce-inline-toolbar--left-oriented:before{left:15px;margin-left:0}.ce-inline-toolbar--right-oriented:before{left:auto;right:15px;margin-left:0}.ce-inline-toolbar--showed{opacity:1;visibility:visible;-webkit-transform:translateX(-50%);transform:translate(-50%)}.ce-inline-toolbar--left-oriented{-webkit-transform:translateX(-23px) translateY(8px) scale(.94);transform:translate(-23px) translateY(8px) scale(.94)}.ce-inline-toolbar--left-oriented.ce-inline-toolbar--showed{-webkit-transform:translateX(-23px);transform:translate(-23px)}.ce-inline-toolbar--right-oriented{-webkit-transform:translateX(-100%) translateY(8px) scale(.94);transform:translate(-100%) translateY(8px) scale(.94);margin-left:23px}.ce-inline-toolbar--right-oriented.ce-inline-toolbar--showed{-webkit-transform:translateX(-100%);transform:translate(-100%)}.ce-inline-toolbar [hidden]{display:none!important}.ce-inline-toolbar__toggler-and-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:0 6px}.ce-inline-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown{display:-webkit-box;display:-ms-flexbox;display:flex;padding:6px;margin:0 6px 0 -6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-right:1px solid rgba(201,201,204,.48);-webkit-box-sizing:border-box;box-sizing:border-box}@media (hover: hover){.ce-inline-toolbar__dropdown:hover{background:#eff2f5}}.ce-inline-toolbar__dropdown--hidden{display:none}.ce-inline-toolbar__dropdown-content,.ce-inline-toolbar__dropdown-arrow{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown-content svg,.ce-inline-toolbar__dropdown-arrow svg{width:20px;height:20px}.ce-inline-toolbar__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}.ce-inline-tool{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:6px 1px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;border-radius:0;line-height:normal}.ce-inline-tool svg{width:20px;height:20px}@media (max-width: 650px){.ce-inline-tool svg{width:28px;height:28px}}@media (hover: hover){.ce-inline-tool:hover{background-color:#eff2f5}}.ce-inline-tool--active{color:#388ae5}.ce-inline-tool--focused{background:rgba(34,186,255,.08)!important}.ce-inline-tool--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.ce-inline-tool--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.ce-inline-tool--link .icon--unlink,.ce-inline-tool--unlink .icon--link{display:none}.ce-inline-tool--unlink .icon--unlink{display:inline-block;margin-bottom:-1px}.ce-inline-tool-input{outline:none;border:0;border-radius:0 0 4px 4px;margin:0;font-size:13px;padding:10px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-weight:500;border-top:1px solid rgba(201,201,204,.48);-webkit-appearance:none;font-family:inherit}@media (max-width: 650px){.ce-inline-tool-input{font-size:15px;font-weight:500}}.ce-inline-tool-input::-webkit-input-placeholder{color:#707684}.ce-inline-tool-input::-moz-placeholder{color:#707684}.ce-inline-tool-input:-ms-input-placeholder{color:#707684}.ce-inline-tool-input::-ms-input-placeholder{color:#707684}.ce-inline-tool-input::placeholder{color:#707684}.ce-inline-tool-input--showed{display:block}.ce-conversion-toolbar{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;opacity:0;visibility:hidden;will-change:transform,opacity;-webkit-transition:opacity .1s ease,-webkit-transform .1s ease;transition:opacity .1s ease,-webkit-transform .1s ease;transition:transform .1s ease,opacity .1s ease;transition:transform .1s ease,opacity .1s ease,-webkit-transform .1s ease;-webkit-transform:translateY(-8px);transform:translateY(-8px);left:-1px;width:190px;margin-top:5px;-webkit-box-sizing:content-box;box-sizing:content-box}.ce-conversion-toolbar--left-oriented:before{left:15px;margin-left:0}.ce-conversion-toolbar--right-oriented:before{left:auto;right:15px;margin-left:0}.ce-conversion-toolbar--showed{opacity:1;visibility:visible;-webkit-transform:none;transform:none}.ce-conversion-toolbar [hidden]{display:none!important}.ce-conversion-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-conversion-toolbar__label{color:#707684;font-size:11px;font-weight:500;letter-spacing:.33px;padding:10px 10px 5px;text-transform:uppercase}.ce-conversion-tool{display:-webkit-box;display:-ms-flexbox;display:flex;padding:5px 10px;font-size:14px;line-height:20px;font-weight:500;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-conversion-tool--hidden{display:none}.ce-conversion-tool--focused{background:rgba(34,186,255,.08)!important}.ce-conversion-tool--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.ce-conversion-tool--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.ce-conversion-tool:hover{background:#eff2f5}.ce-conversion-tool__icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:26px;height:26px;-webkit-box-shadow:0 0 0 1px rgba(201,201,204,.48);box-shadow:0 0 0 1px #c9c9cc7a;border-radius:5px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#fff;-webkit-box-sizing:content-box;box-sizing:content-box;-ms-flex-negative:0;flex-shrink:0;margin-right:10px}.ce-conversion-tool__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-conversion-tool__icon{width:36px;height:36px;border-radius:8px}.ce-conversion-tool__icon svg{width:28px;height:28px}}.ce-conversion-tool--last{margin-right:0!important}.ce-conversion-tool--active{color:#388ae5!important}.ce-conversion-tool--active{-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-conversion-tool__secondary-label{color:#707684;font-size:12px;margin-left:auto;white-space:nowrap;letter-spacing:-.1em;padding-right:5px;margin-bottom:-2px;opacity:.6}@media (max-width: 650px){.ce-conversion-tool__secondary-label{display:none}}.ce-settings__button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:6px 1px;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;line-height:32px}.ce-settings__button svg{width:20px;height:20px}@media (max-width: 650px){.ce-settings__button svg{width:28px;height:28px}}@media (hover: hover){.ce-settings__button:hover{background-color:#eff2f5}}.ce-settings__button--active{color:#388ae5}.ce-settings__button--focused{background:rgba(34,186,255,.08)!important}.ce-settings__button--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.ce-settings__button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.ce-settings__button:not(:nth-child(3n+3)){margin-right:3px}.ce-settings__button:nth-child(n+4){margin-top:3px}.ce-settings__button--disabled{cursor:not-allowed!important}.ce-settings__button--disabled{opacity:.3}.ce-settings__button--selected{color:#388ae5}@media (min-width: 651px){.codex-editor--narrow .ce-settings .ce-popover{right:0;left:auto;left:initial}}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ce-block{-webkit-animation:fade-in .3s ease;animation:fade-in .3s ease;-webkit-animation-fill-mode:none;animation-fill-mode:none;-webkit-animation-fill-mode:initial;animation-fill-mode:initial}.ce-block:first-of-type{margin-top:0}.ce-block--selected .ce-block__content{background:#e1f2ff}.ce-block--selected .ce-block__content [contenteditable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-block--selected .ce-block__content img,.ce-block--selected .ce-block__content .ce-stub{opacity:.55}.ce-block--stretched .ce-block__content{max-width:none}.ce-block__content{position:relative;max-width:650px;margin:0 auto;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.ce-block--drop-target .ce-block__content:before{content:"";position:absolute;top:100%;left:-20px;margin-top:-1px;height:8px;width:8px;border:solid #388AE5;border-width:1px 1px 0 0;-webkit-transform-origin:right;transform-origin:right;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ce-block--drop-target .ce-block__content:after{content:"";position:absolute;top:100%;height:1px;width:100%;color:#388ae5;background:repeating-linear-gradient(90deg,#388AE5,#388AE5 1px,#fff 1px,#fff 6px)}.ce-block a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.ce-block b{font-weight:700}.ce-block i{font-style:italic}@media (min-width: 651px){.codex-editor--narrow .ce-block--focused{margin-right:-50px;padding-right:50px}}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.cdx-block{padding:.4em 0}.cdx-block::-webkit-input-placeholder{line-height:normal!important}.cdx-input{border:1px solid rgba(201,201,204,.48);-webkit-box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);box-shadow:inset 0 1px 2px #232c480f;border-radius:3px;padding:10px 12px;outline:none;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.cdx-input[data-placeholder]:before{position:static!important}.cdx-input[data-placeholder]:before{display:inline-block;width:0;white-space:nowrap;pointer-events:none}.cdx-settings-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:6px 1px;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;min-width:26px;min-height:26px}.cdx-settings-button svg{width:20px;height:20px}@media (max-width: 650px){.cdx-settings-button svg{width:28px;height:28px}}@media (hover: hover){.cdx-settings-button:hover{background-color:#eff2f5}}.cdx-settings-button--focused{background:rgba(34,186,255,.08)!important}.cdx-settings-button--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.cdx-settings-button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.cdx-settings-button--active{color:#388ae5}.cdx-settings-button svg{width:auto;height:auto}@media (max-width: 650px){.cdx-settings-button{width:36px;height:36px;border-radius:8px}}.cdx-loader{position:relative;border:1px solid rgba(201,201,204,.48)}.cdx-loader:before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-11px 0 0 -11px;border:2px solid rgba(201,201,204,.48);border-left-color:#388ae5;border-radius:50%;-webkit-animation:cdxRotation 1.2s infinite linear;animation:cdxRotation 1.2s infinite linear}@-webkit-keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cdx-button{padding:13px;border-radius:3px;border:1px solid rgba(201,201,204,.48);font-size:14.9px;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(18,30,57,.04);box-shadow:0 2px 2px #121e390a;color:#707684;text-align:center;cursor:pointer}@media (hover: hover){.cdx-button:hover{background:#FBFCFE;-webkit-box-shadow:0 1px 3px 0 rgba(18,30,57,.08);box-shadow:0 1px 3px #121e3914}}.cdx-button svg{height:20px;margin-right:.2em;margin-top:-2px}.ce-stub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 18px;margin:10px 0;border-radius:10px;background:#eff2f5;border:1px solid #EFF0F1;color:#707684;font-size:14px}.ce-stub svg{width:20px;height:20px}.ce-stub__info{margin-left:14px}.ce-stub__title{font-weight:500;text-transform:capitalize}.codex-editor.codex-editor--rtl{direction:rtl}.codex-editor.codex-editor--rtl .cdx-list{padding-left:0;padding-right:40px}.codex-editor.codex-editor--rtl .ce-toolbar__plus{right:-26px;left:auto}.codex-editor.codex-editor--rtl .ce-toolbar__actions{right:auto;left:-26px}@media (max-width: 650px){.codex-editor.codex-editor--rtl .ce-toolbar__actions{margin-left:0;margin-right:auto;padding-right:0;padding-left:10px}}.codex-editor.codex-editor--rtl .ce-settings{left:5px;right:auto}.codex-editor.codex-editor--rtl .ce-settings:before{right:auto;left:25px}.codex-editor.codex-editor--rtl .ce-settings__button:not(:nth-child(3n+3)){margin-left:3px;margin-right:0}.codex-editor.codex-editor--rtl .ce-conversion-tool__icon{margin-right:0;margin-left:10px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown{border-right:0px solid transparent;border-left:1px solid rgba(201,201,204,.48);margin:0 -6px 0 6px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:0;margin-right:4px}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__plus{left:0px;right:5px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__actions{left:-5px}}.cdx-search-field{--icon-margin-right: 10px;background:rgba(232,232,235,.49);border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:2px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto}.cdx-search-field__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:var(--icon-margin-right)}.cdx-search-field__icon svg{width:20px;height:20px;color:#707684}.cdx-search-field__input{font-size:14px;outline:none;font-weight:500;font-family:inherit;border:0;background:transparent;margin:0;padding:0;line-height:22px;min-width:calc(100% - 26px - var(--icon-margin-right))}.cdx-search-field__input::-webkit-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-moz-placeholder{color:#707684;font-weight:500}.cdx-search-field__input:-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::placeholder{color:#707684;font-weight:500}.ce-popover{--border-radius: 6px;--width: 200px;--max-height: 270px;--padding: 6px;--offset-from-target: 8px;--color-border: #e8e8eb;--color-shadow: rgba(13,20,33,.13);--color-background: white;--color-text-primary: black;--color-text-secondary: #707684;--color-border-icon: rgba(201, 201, 204, .48);--color-border-icon-disabled: #EFF0F1;--color-text-icon-active: #388AE5;--color-background-icon-active: rgba(56, 138, 229, .1);--color-background-item-focus: rgba(34, 186, 255, .08);--color-shadow-item-focus: rgba(7, 161, 227, .08);--color-background-item-hover: #eff2f5;--color-background-item-confirm: #E24A4A;--color-background-item-confirm-hover: #CE4343;min-width:var(--width);width:var(--width);max-height:var(--max-height);border-radius:var(--border-radius);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 3px 15px -3px var(--color-shadow);box-shadow:0 3px 15px -3px var(--color-shadow);position:absolute;left:0;top:calc(100% + var(--offset-from-target));background:var(--color-background);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:4;opacity:0;max-height:0;pointer-events:none;padding:0;border:none}.ce-popover--opened{opacity:1;padding:var(--padding);max-height:var(--max-height);pointer-events:auto;-webkit-animation:panelShowing .1s ease;animation:panelShowing .1s ease;border:1px solid var(--color-border)}@media (max-width: 650px){.ce-popover--opened{-webkit-animation:panelShowingMobile .25s ease;animation:panelShowingMobile .25s ease}}.ce-popover__items{overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain}@media (max-width: 650px){.ce-popover__overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#1D202B;z-index:3;opacity:.5;-webkit-transition:opacity .12s ease-in;transition:opacity .12s ease-in;will-change:opacity;visibility:visible}}.ce-popover__overlay--hidden{display:none}.ce-popover--open-top{top:calc(-1 * (var(--offset-from-target) + var(--popover-height)))}@media (max-width: 650px){.ce-popover{--offset: 5px;position:fixed;max-width:none;min-width:calc(100% - var(--offset) * 2);left:var(--offset);right:var(--offset);bottom:calc(var(--offset) + env(safe-area-inset-bottom));top:auto;border-radius:10px}.ce-popover .ce-popover__search{display:none}}.ce-popover__search,.ce-popover__custom-content:not(:empty){margin-bottom:5px}.ce-popover__nothing-found-message{color:#707684;display:none;cursor:default;padding:3px;font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ce-popover__nothing-found-message--displayed{display:block}.ce-popover__custom-content:not(:empty){padding:4px}@media (min-width: 651px){.ce-popover__custom-content:not(:empty){padding:0}}.ce-popover__custom-content--hidden{display:none}.ce-popover-item{--border-radius: 6px;--icon-size: 20px;--icon-size-mobile: 28px;border-radius:var(--border-radius);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:3px;color:var(--color-text-primary);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width: 650px){.ce-popover-item{padding:4px}}.ce-popover-item:not(:last-of-type){margin-bottom:1px}.ce-popover-item__icon{border-radius:5px;width:26px;height:26px;-webkit-box-shadow:0 0 0 1px var(--color-border-icon);box-shadow:0 0 0 1px var(--color-border-icon);background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:10px}.ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover-item__icon{width:36px;height:36px;border-radius:8px}.ce-popover-item__icon svg{width:var(--icon-size-mobile);height:var(--icon-size-mobile)}}.ce-popover-item__title{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (max-width: 650px){.ce-popover-item__title{font-size:16px}}.ce-popover-item__secondary-title{color:var(--color-text-secondary);font-size:12px;margin-left:auto;white-space:nowrap;letter-spacing:-.1em;padding-right:5px;margin-bottom:-2px;opacity:.6}@media (max-width: 650px){.ce-popover-item__secondary-title{display:none}}.ce-popover-item--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}.ce-popover-item--active .ce-popover-item__icon{-webkit-box-shadow:none;box-shadow:none}.ce-popover-item--disabled{color:var(--color-text-secondary);cursor:default;pointer-events:none}.ce-popover-item--disabled .ce-popover-item__icon{-webkit-box-shadow:0 0 0 1px var(--color-border-icon-disabled);box-shadow:0 0 0 1px var(--color-border-icon-disabled)}.ce-popover-item--focused:not(.ce-popover-item--no-focus){background:var(--color-background-item-focus)!important}.ce-popover-item--focused:not(.ce-popover-item--no-focus){-webkit-box-shadow:inset 0 0 0px 1px var(--color-shadow-item-focus);box-shadow:inset 0 0 0 1px var(--color-shadow-item-focus)}.ce-popover-item--hidden{display:none}@media (hover: hover){.ce-popover-item:hover{cursor:pointer}.ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-background-item-hover)}.ce-popover-item:hover .ce-popover-item__icon{-webkit-box-shadow:none;box-shadow:none}}.ce-popover-item--confirmation{background:var(--color-background-item-confirm)}.ce-popover-item--confirmation .ce-popover-item__icon{color:var(--color-background-item-confirm)}.ce-popover-item--confirmation .ce-popover-item__title{color:#fff}@media (hover: hover){.ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover{background:var(--color-background-item-confirm-hover)}}.ce-popover-item--confirmation:not(.ce-popover-item--no-focus).ce-popover-item--focused{background:var(--color-background-item-confirm-hover)!important}.ce-popover-item--confirmation .ce-popover-item__icon,.ce-popover-item--active .ce-popover-item__icon,.ce-popover-item--focused .ce-popover-item__icon{-webkit-box-shadow:none;box-shadow:none}@-webkit-keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble;-webkit-animation-duration:.4s;animation-duration:.4s}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}} -`;class Ci extends T{constructor(){super(...arguments),this.isMobile=!1,this.contentRectCache=void 0,this.resizeDebouncer=Xe(()=>{this.windowResize()},200)}get CSS(){return{editorWrapper:"codex-editor",editorWrapperNarrow:"codex-editor--narrow",editorZone:"codex-editor__redactor",editorZoneHidden:"codex-editor__redactor--hidden",editorEmpty:"codex-editor--empty",editorRtlFix:"codex-editor--rtl"}}get contentRect(){if(this.contentRectCache)return this.contentRectCache;const t=this.nodes.wrapper.querySelector(`.${F.CSS.content}`);return t?(this.contentRectCache=t.getBoundingClientRect(),this.contentRectCache):{width:650,left:0,right:0}}async prepare(){this.checkIsMobile(),this.make(),this.loadStyles()}toggleReadOnly(t){t?this.disableModuleBindings():this.enableModuleBindings()}checkEmptiness(){const{BlockManager:t}=this.Editor;this.nodes.wrapper.classList.toggle(this.CSS.editorEmpty,t.isEditorEmpty)}get someToolbarOpened(){const{Toolbar:t,BlockSettings:e,InlineToolbar:o,ConversionToolbar:i}=this.Editor;return e.opened||o.opened||i.opened||t.toolbox.opened}get someFlipperButtonFocused(){return this.Editor.Toolbar.toolbox.hasFocus()?!0:Object.entries(this.Editor).filter(([t,e])=>e.flipper instanceof G).some(([t,e])=>e.flipper.hasFocus())}destroy(){this.nodes.holder.innerHTML=""}closeAllToolbars(){const{Toolbar:t,BlockSettings:e,InlineToolbar:o,ConversionToolbar:i}=this.Editor;e.close(),o.close(),i.close(),t.toolbox.close()}checkIsMobile(){this.isMobile=window.innerWidth{this.redactorClicked(t)},!1),this.readOnlyMutableListeners.on(this.nodes.redactor,"mousedown",t=>{this.documentTouched(t)},!0),this.readOnlyMutableListeners.on(this.nodes.redactor,"touchstart",t=>{this.documentTouched(t)},!0),this.readOnlyMutableListeners.on(document,"keydown",t=>{this.documentKeydown(t)},!0),this.readOnlyMutableListeners.on(document,"mousedown",t=>{this.documentClicked(t)},!0),this.readOnlyMutableListeners.on(document,"selectionchange",()=>{this.selectionChanged()},!0),this.readOnlyMutableListeners.on(window,"resize",()=>{this.resizeDebouncer()},{passive:!0}),this.watchBlockHoveredEvents()}watchBlockHoveredEvents(){let t;this.readOnlyMutableListeners.on(this.nodes.redactor,"mousemove",St(e=>{const o=e.target.closest(".ce-block");this.Editor.BlockSelection.anyBlockSelected||o&&t!==o&&(t=o,this.eventsDispatcher.emit(xe,{block:this.Editor.BlockManager.getBlockByChildNode(o)}))},20),{passive:!0})}disableModuleBindings(){this.readOnlyMutableListeners.clearAll()}windowResize(){this.contentRectCache=null,this.checkIsMobile()}documentKeydown(t){switch(t.keyCode){case E.ENTER:this.enterPressed(t);break;case E.BACKSPACE:case E.DELETE:this.backspacePressed(t);break;case E.ESC:this.escapePressed(t);break;default:this.defaultBehaviour(t);break}}defaultBehaviour(t){const{currentBlock:e}=this.Editor.BlockManager,o=t.target.closest(`.${this.CSS.editorWrapper}`),i=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;if(e!==void 0&&o===null){this.Editor.BlockEvents.keydown(t);return}o||e&&i||(this.Editor.BlockManager.dropPointer(),this.Editor.Toolbar.close())}backspacePressed(t){const{BlockManager:e,BlockSelection:o,Caret:i}=this.Editor;if(o.anyBlockSelected&&!b.isSelectionExists){const n=e.removeSelectedBlocks();i.setToBlock(e.insertDefaultBlockAtIndex(n,!0),i.positions.START),o.clearSelection(t),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()}}escapePressed(t){this.Editor.BlockSelection.clearSelection(t),this.Editor.Toolbar.toolbox.opened?(this.Editor.Toolbar.toolbox.close(),this.Editor.Caret.setToBlock(this.Editor.BlockManager.currentBlock)):this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.ConversionToolbar.opened?this.Editor.ConversionToolbar.close():this.Editor.InlineToolbar.opened?this.Editor.InlineToolbar.close():this.Editor.Toolbar.close()}enterPressed(t){const{BlockManager:e,BlockSelection:o}=this.Editor,i=e.currentBlockIndex>=0;if(o.anyBlockSelected&&!b.isSelectionExists){o.clearSelection(t),t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation();return}if(!this.someToolbarOpened&&i&&t.target.tagName==="BODY"){const n=this.Editor.BlockManager.insert();this.Editor.Caret.setToBlock(n),this.Editor.BlockManager.highlightCurrentNode(),this.Editor.Toolbar.moveAndOpen(n)}this.Editor.BlockSelection.clearSelection(t)}documentClicked(t){if(!t.isTrusted)return;const e=t.target;this.nodes.holder.contains(e)||b.isAtEditor||(this.Editor.BlockManager.dropPointer(),this.Editor.Toolbar.close());const o=this.Editor.BlockSettings.nodes.wrapper.contains(e),i=this.Editor.Toolbar.nodes.settingsToggler.contains(e),n=o||i;if(this.Editor.BlockSettings.opened&&!n){this.Editor.BlockSettings.close();const r=this.Editor.BlockManager.getBlockByChildNode(e);this.Editor.Toolbar.moveAndOpen(r)}this.Editor.BlockSelection.clearSelection(t)}documentTouched(t){let e=t.target;if(e===this.nodes.redactor){const o=t instanceof MouseEvent?t.clientX:t.touches[0].clientX,i=t instanceof MouseEvent?t.clientY:t.touches[0].clientY;e=document.elementFromPoint(o,i)}try{this.Editor.BlockManager.setCurrentBlockByChildNode(e),this.Editor.BlockManager.highlightCurrentNode()}catch{this.Editor.RectangleSelection.isRectActivated()||this.Editor.Caret.setToTheLastBlock()}this.Editor.Toolbar.moveAndOpen()}redactorClicked(t){const{BlockSelection:e}=this.Editor;if(!b.isCollapsed)return;const o=()=>{t.stopImmediatePropagation(),t.stopPropagation()},i=t.target,n=t.metaKey||t.ctrlKey;if(d.isAnchor(i)&&n){o();const c=i.getAttribute("href"),p=qe(c);Ge(p);return}const r=this.Editor.BlockManager.getBlockByIndex(-1),a=d.offset(r.holder).bottom,l=t.pageY;if(t.target instanceof Element&&t.target.isEqualNode(this.nodes.redactor)&&!e.anyBlockSelected&&a{e=i,o=n}),Promise.resolve().then(async()=>{this.configuration=t,this.validate(),this.init(),await this.start(),await this.render();const{BlockManager:i,Caret:n,UI:r,ModificationsObserver:a}=this.moduleInstances;r.checkEmptiness(),a.enable(),this.configuration.autofocus&&(n.setToBlock(i.blocks[0],n.positions.START),i.highlightCurrentNode()),e()}).catch(i=>{_(`Editor.js is not ready because of ${i}`,"error"),o(i)})}set configuration(t){var e,o;z(t)?this.config={...t}:this.config={holder:t},Mt(!!this.config.holderId,"config.holderId","config.holder"),this.config.holderId&&!this.config.holder&&(this.config.holder=this.config.holderId,this.config.holderId=null),this.config.holder==null&&(this.config.holder="editorjs"),this.config.logLevel||(this.config.logLevel=se.VERBOSE),Ue(this.config.logLevel),Mt(!!this.config.initialBlock,"config.initialBlock","config.defaultBlock"),this.config.defaultBlock=this.config.defaultBlock||this.config.initialBlock||"paragraph",this.config.minHeight=this.config.minHeight!==void 0?this.config.minHeight:300;const i={type:this.config.defaultBlock,data:{}};this.config.placeholder=this.config.placeholder||!1,this.config.sanitizer=this.config.sanitizer||{p:!0,b:!0,a:!0},this.config.hideToolbar=this.config.hideToolbar?this.config.hideToolbar:!1,this.config.tools=this.config.tools||{},this.config.i18n=this.config.i18n||{},this.config.data=this.config.data||{blocks:[]},this.config.onReady=this.config.onReady||(()=>{}),this.config.onChange=this.config.onChange||(()=>{}),this.config.inlineToolbar=this.config.inlineToolbar!==void 0?this.config.inlineToolbar:!0,(V(this.config.data)||!this.config.data.blocks||this.config.data.blocks.length===0)&&(this.config.data={blocks:[i]}),this.config.readOnly=this.config.readOnly||!1,(e=this.config.i18n)!=null&&e.messages&&$.setDictionary(this.config.i18n.messages),this.config.i18n.direction=((o=this.config.i18n)==null?void 0:o.direction)||"ltr"}get configuration(){return this.config}validate(){const{holderId:t,holder:e}=this.config;if(t&&e)throw Error("«holderId» and «holder» param can't assign at the same time.");if(J(e)&&!d.get(e))throw Error(`element with ID «${e}» is missing. Pass correct holder's ID.`);if(e&&z(e)&&!d.isElement(e))throw Error("«holder» value must be an Element node")}init(){this.constructModules(),this.configureModules()}async start(){await["Tools","UI","BlockManager","Paste","BlockSelection","RectangleSelection","CrossBlockSelection","ReadOnly"].reduce((t,e)=>t.then(async()=>{try{await this.moduleInstances[e].prepare()}catch(o){if(o instanceof de)throw new Error(o.message);_(`Module ${e} was skipped because of %o`,"warn",o)}}),Promise.resolve())}render(){return this.moduleInstances.Renderer.render(this.config.data.blocks)}constructModules(){Object.entries(Bi).forEach(([t,e])=>{try{this.moduleInstances[t]=new e({config:this.configuration,eventsDispatcher:this.eventsDispatcher})}catch(o){_("[constructModules]",`Module ${t} skipped because`,"error",o)}})}configureModules(){for(const t in this.moduleInstances)Object.prototype.hasOwnProperty.call(this.moduleInstances,t)&&(this.moduleInstances[t].state=this.getModulesDiff(t))}getModulesDiff(t){const e={};for(const o in this.moduleInstances)o!==t&&(e[o]=this.moduleInstances[o]);return e}}/** - * Editor.js - * - * @license Apache-2.0 - * @see Editor.js - * @author CodeX Team - */class Si{static get version(){return"2.28.0"}constructor(t){let e=()=>{};z(t)&&R(t.onReady)&&(e=t.onReady);const o=new Ti(t);this.isReady=o.isReady.then(()=>{this.exportAPI(o),e()})}exportAPI(t){const e=["configuration"],o=()=>{Object.values(t.moduleInstances).forEach(i=>{R(i.destroy)&&i.destroy(),i.listeners.removeAll()}),t=null;for(const i in this)Object.prototype.hasOwnProperty.call(this,i)&&delete this[i];Object.setPrototypeOf(this,null)};e.forEach(i=>{this[i]=t[i]}),this.destroy=o,Object.setPrototypeOf(this,t.moduleInstances.API.methods),delete this.exportAPI,Object.entries({blocks:{clear:"clear",render:"render"},caret:{focus:"focus"},events:{on:"on",off:"off",emit:"emit"},saver:{save:"save"}}).forEach(([i,n])=>{Object.entries(n).forEach(([r,a])=>{this[a]=t.moduleInstances.API.methods[i][r]})})}}const Tt={header:Zt(()=>import("./bundle-72871e75.js").then(s=>s.b),["assets/bundle-72871e75.js","assets/app-front-32dad050.js","assets/app-front-935fc652.css"]),list:Zt(()=>import("./bundle-c20bcf97.js").then(s=>s.b),["assets/bundle-c20bcf97.js","assets/app-front-32dad050.js","assets/app-front-935fc652.css"])},Ii=Ne({name:"vue-editor-js",props:{holder:{type:String,default:()=>"vue-editor-js",require:!0},config:{type:Object,default:()=>({}),require:!0},initialized:{type:Function,default:()=>{}}},setup:(s,t)=>{const e=Re({editor:null});function o(r){i(),e.editor=new Si({holder:r.holder||"vue-editor-js",...r.config,onChange:(a,l)=>{n()}}),r.initialized(e.editor)}function i(){e.editor&&(e.editor.destroy(),e.editor=null)}function n(){console.log("saveEditor"),e.editor&&e.editor.save().then(r=>{console.log(r),t.emit("saved",r)})}return Pe(r=>o(s)),{props:s,state:e}},methods:{useTools(s,t){const e=Object.keys(Tt),o={...s.customTools};return e.every(i=>!s[i])?(e.forEach(i=>o[i]={class:Tt[i]}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o):(e.forEach(i=>{const n=s[i];if(n&&(o[i]={class:Tt[i]},typeof n=="object")){const r=Object.assign({},s[i]);delete r.class,o[i]=Object.assign(o[i],r)}}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o)}}}),Mi=["id"];function _i(s,t,e,o,i,n){return Fe(),De("div",{id:s.holder},null,8,Mi)}const Li=Oe(Ii,[["render",_i]]);export{Tt as PLUGINS,Li as default}; diff --git a/public/build/assets/VueEditorJs-4c208fc9.js b/public/build/assets/VueEditorJs-c40f6d08.js similarity index 99% rename from public/build/assets/VueEditorJs-4c208fc9.js rename to public/build/assets/VueEditorJs-c40f6d08.js index e1e5d8a..782a61a 100644 --- a/public/build/assets/VueEditorJs-4c208fc9.js +++ b/public/build/assets/VueEditorJs-c40f6d08.js @@ -1,4 +1,4 @@ -import{_ as Oe,a1 as Zt,f as Ne,c as De,r as Re,h as Pe,o as Fe}from"./app-front-ae9fe805.js";var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xt(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Ct(){}Object.assign(Ct,{default:Ct,register:Ct,revert:function(){},__esModule:!0});Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(s){const t=(this.document||this.ownerDocument).querySelectorAll(s);let e=t.length;for(;--e>=0&&t.item(e)!==this;);return e>-1});Element.prototype.closest||(Element.prototype.closest=function(s){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(s))return t;t=t.parentElement||t.parentNode}while(t!==null);return null});Element.prototype.prepend||(Element.prototype.prepend=function(s){const t=document.createDocumentFragment();Array.isArray(s)||(s=[s]),s.forEach(e=>{const o=e instanceof Node;t.appendChild(o?e:document.createTextNode(e))}),this.insertBefore(t,this.firstChild)});Element.prototype.scrollIntoViewIfNeeded||(Element.prototype.scrollIntoViewIfNeeded=function(s){s=arguments.length===0?!0:!!s;const t=this.parentNode,e=window.getComputedStyle(t,null),o=parseInt(e.getPropertyValue("border-top-width")),i=parseInt(e.getPropertyValue("border-left-width")),n=this.offsetTop-t.offsetTopt.scrollTop+t.clientHeight,a=this.offsetLeft-t.offsetLeftt.scrollLeft+t.clientWidth,c=n&&!r;(n||r)&&s&&(t.scrollTop=this.offsetTop-t.offsetTop-t.clientHeight/2-o+this.clientHeight/2),(a||l)&&s&&(t.scrollLeft=this.offsetLeft-t.offsetLeft-t.clientWidth/2-i+this.clientWidth/2),(n||r||a||l)&&!s&&this.scrollIntoView(c)});window.requestIdleCallback=window.requestIdleCallback||function(s){const t=Date.now();return setTimeout(function(){s({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};window.cancelIdleCallback=window.cancelIdleCallback||function(s){clearTimeout(s)};let je=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((t,e)=>(e&=63,e<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),"");var se=(s=>(s.VERBOSE="VERBOSE",s.INFO="INFO",s.WARN="WARN",s.ERROR="ERROR",s))(se||{});const E={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91},ze={LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4};function mt(s,t,e="log",o,i="color: inherit"){if(!("console"in window)||!window.console[e])return;const n=["info","log","warn","error"].includes(e),r=[];switch(mt.logLevel){case"ERROR":if(e!=="error")return;break;case"WARN":if(!["error","warn"].includes(e))return;break;case"INFO":if(!n||s)return;break}o&&r.push(o);const a="Editor.js 2.28.0",l=`line-height: 1em; +import{_ as Oe,a1 as Zt,f as Ne,c as De,r as Re,h as Pe,o as Fe}from"./app-front-d6902e40.js";var He=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xt(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Ct(){}Object.assign(Ct,{default:Ct,register:Ct,revert:function(){},__esModule:!0});Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(s){const t=(this.document||this.ownerDocument).querySelectorAll(s);let e=t.length;for(;--e>=0&&t.item(e)!==this;);return e>-1});Element.prototype.closest||(Element.prototype.closest=function(s){let t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(s))return t;t=t.parentElement||t.parentNode}while(t!==null);return null});Element.prototype.prepend||(Element.prototype.prepend=function(s){const t=document.createDocumentFragment();Array.isArray(s)||(s=[s]),s.forEach(e=>{const o=e instanceof Node;t.appendChild(o?e:document.createTextNode(e))}),this.insertBefore(t,this.firstChild)});Element.prototype.scrollIntoViewIfNeeded||(Element.prototype.scrollIntoViewIfNeeded=function(s){s=arguments.length===0?!0:!!s;const t=this.parentNode,e=window.getComputedStyle(t,null),o=parseInt(e.getPropertyValue("border-top-width")),i=parseInt(e.getPropertyValue("border-left-width")),n=this.offsetTop-t.offsetTopt.scrollTop+t.clientHeight,a=this.offsetLeft-t.offsetLeftt.scrollLeft+t.clientWidth,c=n&&!r;(n||r)&&s&&(t.scrollTop=this.offsetTop-t.offsetTop-t.clientHeight/2-o+this.clientHeight/2),(a||l)&&s&&(t.scrollLeft=this.offsetLeft-t.offsetLeft-t.clientWidth/2-i+this.clientWidth/2),(n||r||a||l)&&!s&&this.scrollIntoView(c)});window.requestIdleCallback=window.requestIdleCallback||function(s){const t=Date.now();return setTimeout(function(){s({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};window.cancelIdleCallback=window.cancelIdleCallback||function(s){clearTimeout(s)};let je=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((t,e)=>(e&=63,e<36?t+=e.toString(36):e<62?t+=(e-26).toString(36).toUpperCase():e>62?t+="-":t+="_",t),"");var se=(s=>(s.VERBOSE="VERBOSE",s.INFO="INFO",s.WARN="WARN",s.ERROR="ERROR",s))(se||{});const E={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91},ze={LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4};function mt(s,t,e="log",o,i="color: inherit"){if(!("console"in window)||!window.console[e])return;const n=["info","log","warn","error"].includes(e),r=[];switch(mt.logLevel){case"ERROR":if(e!=="error")return;break;case"WARN":if(!["error","warn"].includes(e))return;break;case"INFO":if(!n||s)return;break}o&&r.push(o);const a="Editor.js 2.28.0",l=`line-height: 1em; color: #006FEA; display: inline-block; font-size: 11px; @@ -80,4 +80,4 @@ import{_ as Oe,a1 as Zt,f as Ne,c as De,r as Re,h as Pe,o as Fe}from"./app-front * @license Apache-2.0 * @see Editor.js * @author CodeX Team - */class Si{static get version(){return"2.28.0"}constructor(t){let e=()=>{};z(t)&&R(t.onReady)&&(e=t.onReady);const o=new Ti(t);this.isReady=o.isReady.then(()=>{this.exportAPI(o),e()})}exportAPI(t){const e=["configuration"],o=()=>{Object.values(t.moduleInstances).forEach(i=>{R(i.destroy)&&i.destroy(),i.listeners.removeAll()}),t=null;for(const i in this)Object.prototype.hasOwnProperty.call(this,i)&&delete this[i];Object.setPrototypeOf(this,null)};e.forEach(i=>{this[i]=t[i]}),this.destroy=o,Object.setPrototypeOf(this,t.moduleInstances.API.methods),delete this.exportAPI,Object.entries({blocks:{clear:"clear",render:"render"},caret:{focus:"focus"},events:{on:"on",off:"off",emit:"emit"},saver:{save:"save"}}).forEach(([i,n])=>{Object.entries(n).forEach(([r,a])=>{this[a]=t.moduleInstances.API.methods[i][r]})})}}const Tt={header:Zt(()=>import("./bundle-8efc010f.js").then(s=>s.b),["assets/bundle-8efc010f.js","assets/app-front-ae9fe805.js","assets/app-front-935fc652.css"]),list:Zt(()=>import("./bundle-2f2c1632.js").then(s=>s.b),["assets/bundle-2f2c1632.js","assets/app-front-ae9fe805.js","assets/app-front-935fc652.css"])},Ii=Ne({name:"vue-editor-js",props:{holder:{type:String,default:()=>"vue-editor-js",require:!0},config:{type:Object,default:()=>({}),require:!0},initialized:{type:Function,default:()=>{}}},setup:(s,t)=>{const e=Re({editor:null});function o(r){i(),e.editor=new Si({holder:r.holder||"vue-editor-js",...r.config,onChange:(a,l)=>{n()}}),r.initialized(e.editor)}function i(){e.editor&&(e.editor.destroy(),e.editor=null)}function n(){console.log("saveEditor"),e.editor&&e.editor.save().then(r=>{console.log(r),t.emit("saved",r)})}return Pe(r=>o(s)),{props:s,state:e}},methods:{useTools(s,t){const e=Object.keys(Tt),o={...s.customTools};return e.every(i=>!s[i])?(e.forEach(i=>o[i]={class:Tt[i]}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o):(e.forEach(i=>{const n=s[i];if(n&&(o[i]={class:Tt[i]},typeof n=="object")){const r=Object.assign({},s[i]);delete r.class,o[i]=Object.assign(o[i],r)}}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o)}}}),Mi=["id"];function _i(s,t,e,o,i,n){return Fe(),De("div",{id:s.holder},null,8,Mi)}const Li=Oe(Ii,[["render",_i]]);export{Tt as PLUGINS,Li as default}; + */class Si{static get version(){return"2.28.0"}constructor(t){let e=()=>{};z(t)&&R(t.onReady)&&(e=t.onReady);const o=new Ti(t);this.isReady=o.isReady.then(()=>{this.exportAPI(o),e()})}exportAPI(t){const e=["configuration"],o=()=>{Object.values(t.moduleInstances).forEach(i=>{R(i.destroy)&&i.destroy(),i.listeners.removeAll()}),t=null;for(const i in this)Object.prototype.hasOwnProperty.call(this,i)&&delete this[i];Object.setPrototypeOf(this,null)};e.forEach(i=>{this[i]=t[i]}),this.destroy=o,Object.setPrototypeOf(this,t.moduleInstances.API.methods),delete this.exportAPI,Object.entries({blocks:{clear:"clear",render:"render"},caret:{focus:"focus"},events:{on:"on",off:"off",emit:"emit"},saver:{save:"save"}}).forEach(([i,n])=>{Object.entries(n).forEach(([r,a])=>{this[a]=t.moduleInstances.API.methods[i][r]})})}}const Tt={header:Zt(()=>import("./bundle-7ca97fea.js").then(s=>s.b),["assets/bundle-7ca97fea.js","assets/app-front-d6902e40.js","assets/app-front-935fc652.css"]),list:Zt(()=>import("./bundle-f4b2cd77.js").then(s=>s.b),["assets/bundle-f4b2cd77.js","assets/app-front-d6902e40.js","assets/app-front-935fc652.css"])},Ii=Ne({name:"vue-editor-js",props:{holder:{type:String,default:()=>"vue-editor-js",require:!0},config:{type:Object,default:()=>({}),require:!0},initialized:{type:Function,default:()=>{}}},setup:(s,t)=>{const e=Re({editor:null});function o(r){i(),e.editor=new Si({holder:r.holder||"vue-editor-js",...r.config,onChange:(a,l)=>{n()}}),r.initialized(e.editor)}function i(){e.editor&&(e.editor.destroy(),e.editor=null)}function n(){console.log("saveEditor"),e.editor&&e.editor.save().then(r=>{console.log(r),t.emit("saved",r)})}return Pe(r=>o(s)),{props:s,state:e}},methods:{useTools(s,t){const e=Object.keys(Tt),o={...s.customTools};return e.every(i=>!s[i])?(e.forEach(i=>o[i]={class:Tt[i]}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o):(e.forEach(i=>{const n=s[i];if(n&&(o[i]={class:Tt[i]},typeof n=="object")){const r=Object.assign({},s[i]);delete r.class,o[i]=Object.assign(o[i],r)}}),Object.keys(t).forEach(i=>{o[i]!==void 0&&o[i]!==null&&(o[i].config=t[i])}),o)}}}),Mi=["id"];function _i(s,t,e,o,i,n){return Fe(),De("div",{id:s.holder},null,8,Mi)}const Li=Oe(Ii,[["render",_i]]);export{Tt as PLUGINS,Li as default}; diff --git a/public/build/assets/VueEditorJs-bbb0be71.js.gz b/public/build/assets/VueEditorJs-c40f6d08.js.gz similarity index 92% rename from public/build/assets/VueEditorJs-bbb0be71.js.gz rename to public/build/assets/VueEditorJs-c40f6d08.js.gz index 668a113..7ae361c 100644 Binary files a/public/build/assets/VueEditorJs-bbb0be71.js.gz and b/public/build/assets/VueEditorJs-c40f6d08.js.gz differ diff --git a/public/build/assets/app-front-32dad050.js b/public/build/assets/app-front-32dad050.js deleted file mode 100644 index f53c971..0000000 --- a/public/build/assets/app-front-32dad050.js +++ /dev/null @@ -1,19 +0,0 @@ -const Jg="modulepreload",Zg=function(t){return"/build/"+t},Pc={},Ti=function(e,n,s){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Zg(i),i in Pc)return;Pc[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const f=r[c];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Jg,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};var Sr=new Map;function Qg(t){var e=Sr.get(t);e&&e.destroy()}function e_(t){var e=Sr.get(t);e&&e.update()}var br=null;typeof window>"u"?((br=function(t){return t}).destroy=function(t){return t},br.update=function(t){return t}):((br=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(n){return function(s){if(s&&s.nodeName&&s.nodeName==="TEXTAREA"&&!Sr.has(s)){var r,i=null,o=window.getComputedStyle(s),a=(r=s.value,function(){u({testForHeightReduction:r===""||!s.value.startsWith(r),restoreTextAlign:null}),r=s.value}),l=(function(f){s.removeEventListener("autosize:destroy",l),s.removeEventListener("autosize:update",c),s.removeEventListener("input",a),window.removeEventListener("resize",c),Object.keys(f).forEach(function(_){return s.style[_]=f[_]}),Sr.delete(s)}).bind(s,{height:s.style.height,resize:s.style.resize,textAlign:s.style.textAlign,overflowY:s.style.overflowY,overflowX:s.style.overflowX,wordWrap:s.style.wordWrap});s.addEventListener("autosize:destroy",l),s.addEventListener("autosize:update",c),s.addEventListener("input",a),window.addEventListener("resize",c),s.style.overflowX="hidden",s.style.wordWrap="break-word",Sr.set(s,{destroy:l,update:c}),c()}function u(f){var _,p,m=f.restoreTextAlign,h=m===void 0?null:m,y=f.testForHeightReduction,E=y===void 0||y,d=o.overflowY;if(s.scrollHeight!==0&&(o.resize==="vertical"?s.style.resize="none":o.resize==="both"&&(s.style.resize="horizontal"),E&&(_=function(g){for(var A=[];g&&g.parentNode&&g.parentNode instanceof Element;)g.parentNode.scrollTop&&A.push([g.parentNode,g.parentNode.scrollTop]),g=g.parentNode;return function(){return A.forEach(function(C){var O=C[0],v=C[1];O.style.scrollBehavior="auto",O.scrollTop=v,O.style.scrollBehavior=null})}}(s),s.style.height=""),p=o.boxSizing==="content-box"?s.scrollHeight-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):s.scrollHeight+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),o.maxHeight!=="none"&&p>parseFloat(o.maxHeight)?(o.overflowY==="hidden"&&(s.style.overflow="scroll"),p=parseFloat(o.maxHeight)):o.overflowY!=="hidden"&&(s.style.overflow="hidden"),s.style.height=p+"px",h&&(s.style.textAlign=h),_&&_(),i!==p&&(s.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=p),d!==o.overflow&&!h)){var b=o.textAlign;o.overflow==="hidden"&&(s.style.textAlign=b==="start"?"end":"start"),u({restoreTextAlign:b,testForHeightReduction:!0})}}function c(){u({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],Qg),t},br.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],e_),t});var t_=br;const Dc=document.querySelectorAll('[data-bs-toggle="autosize"]');Dc.length&&Dc.forEach(function(t){t_(t)});function xs(t,e){if(t==null)return{};var n={},s=Object.keys(t),r,i;for(i=0;i=0)&&(n[r]=t[r]);return n}function oe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new oe.InputMask(t,e)}class ge{constructor(e){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},e)}aggregate(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}oe.ChangeDetails=ge;function ks(t){return typeof t=="string"||t instanceof String}const G={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function n_(t){switch(t){case G.LEFT:return G.FORCE_LEFT;case G.RIGHT:return G.FORCE_RIGHT;default:return t}}function ya(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function xr(t){return Array.isArray(t)?t:[t,new ge]}function lo(t,e){if(e===t)return!0;var n=Array.isArray(e),s=Array.isArray(t),r;if(n&&s){if(e.length!=t.length)return!1;for(r=0;r0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;this.value=e,this.from=n,this.stop=s}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||e!=null&&this.from>=e)return"";const n=this.value[0];return this.value=this.value.slice(1),n}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class Je{constructor(e){this._value="",this._update(Object.assign({},Je.DEFAULTS,e)),this.isInitialized=!0}updateOptions(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e)}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{input:!0};return this.reset(),this.append(e,n,""),this.doCommit(),this.value}get unmaskedValue(){return this.value}set unmaskedValue(e){this.reset(),this.append(e,{},""),this.doCommit()}get typedValue(){return this.doParse(this.value)}set typedValue(e){this.value=this.doFormat(e)}get rawInputValue(){return this.extractInput(0,this.value.length,{raw:!0})}set rawInputValue(e){this.reset(),this.append(e,{raw:!0},""),this.doCommit()}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,n){return e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return Math.min(this.value.length,n-e)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n)}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return new Jt(this.extractInput(e,n),e)}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}_appendCharRaw(e){return e?(this._value+=e,new ge({inserted:e,rawInserted:e})):new ge}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.state;let i;if([e,i]=xr(this.doPrepare(e,n)),i=i.aggregate(this._appendCharRaw(e,n)),i.inserted){let o,a=this.doValidate(n)!==!1;if(a&&s!=null){const l=this.state;this.overwrite===!0&&(o=s.state,s.unshift(this.value.length-i.tailShift));let u=this.appendTail(s);a=u.rawInserted===s.toString(),!(a&&u.inserted)&&this.overwrite==="shift"&&(this.state=l,o=s.state,s.shift(),u=this.appendTail(s),a=u.rawInserted===s.toString()),a&&u.inserted&&(this.state=l)}a||(i=new ge,this.state=r,s&&o&&(s.state=o))}return i}_appendPlaceholder(){return new ge}_appendEager(){return new ge}append(e,n,s){if(!ks(e))throw new Error("value should be string");const r=new ge,i=ks(s)?new Jt(String(s)):s;n!=null&&n.tail&&(n._beforeTailState=this.state);for(let o=0;o0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this._value=this.value.slice(0,e)+this.value.slice(n),new ge}withValueRefresh(e){if(this._refreshing||!this.isInitialized)return e();this._refreshing=!0;const n=this.rawInputValue,s=this.value,r=e();return this.rawInputValue=n,this.value&&this.value!==s&&s.indexOf(this.value)===0&&this.append(s.slice(this.value.length),{},""),delete this._refreshing,r}runIsolated(e){if(this._isolated||!this.isInitialized)return e(this);this._isolated=!0;const n=this.state,s=e(this);return this.state=n,delete this._isolated,s}doSkipInvalid(e){return this.skipInvalid}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.prepare?this.prepare(e,this,n):e}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}doFormat(e){return this.format?this.format(e,this):e}doParse(e){return this.parse?this.parse(e,this):e}splice(e,n,s,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{input:!0};const o=e+n,a=this.extractTail(o),l=this.eager===!0||this.eager==="remove";let u;l&&(r=n_(r),u=this.extractInput(0,o,{raw:!0}));let c=e;const f=new ge;if(r!==G.NONE&&(c=this.nearestInputPos(e,n>1&&e!==0&&!l?G.NONE:r),f.tailShift=c-e),f.aggregate(this.remove(c)),l&&r!==G.NONE&&u===this.rawInputValue)if(r===G.FORCE_LEFT){let _;for(;u===this.rawInputValue&&(_=this.value.length);)f.aggregate(new ge({tailShift:-1})).aggregate(this.remove(_-1))}else r===G.FORCE_RIGHT&&a.unshift();return f.aggregate(this.append(s,i,a))}maskEquals(e){return this.mask===e}typedValueEquals(e){const n=this.typedValue;return e===n||Je.EMPTY_VALUES.includes(e)&&Je.EMPTY_VALUES.includes(n)||this.doFormat(e)===this.doFormat(this.typedValue)}}Je.DEFAULTS={format:String,parse:t=>t,skipInvalid:!0};Je.EMPTY_VALUES=[void 0,null,""];oe.Masked=Je;function xd(t){if(t==null)throw new Error("mask property should be defined");return t instanceof RegExp?oe.MaskedRegExp:ks(t)?oe.MaskedPattern:t instanceof Date||t===Date?oe.MaskedDate:t instanceof Number||typeof t=="number"||t===Number?oe.MaskedNumber:Array.isArray(t)||t===Array?oe.MaskedDynamic:oe.Masked&&t.prototype instanceof oe.Masked?t:t instanceof oe.Masked?t.constructor:t instanceof Function?oe.MaskedFunction:(console.warn("Mask not found for mask",t),oe.Masked)}function Zn(t){if(oe.Masked&&t instanceof oe.Masked)return t;t=Object.assign({},t);const e=t.mask;if(oe.Masked&&e instanceof oe.Masked)return e;const n=xd(e);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(t)}oe.createMask=Zn;const r_=["parent","isOptional","placeholderChar","displayChar","lazy","eager"],i_={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class Bd{constructor(e){const{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a}=e,l=xs(e,r_);this.masked=Zn(l),Object.assign(this,{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return e===0&&n>=1?(this.isFilled=!1,this.masked.remove(e,n)):new ge}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isFilled)return new ge;const s=this.masked.state,r=this.masked._appendChar(e,n);return r.inserted&&this.doValidate(n)===!1&&(r.inserted=r.rawInserted="",this.masked.state=s),!r.inserted&&!this.isOptional&&!this.lazy&&!n.input&&(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this.isFilled=!!r.inserted,r}append(){return this.masked.append(...arguments)}_appendPlaceholder(){const e=new ge;return this.isFilled||this.isOptional||(this.isFilled=!0,e.inserted=this.placeholderChar),e}_appendEager(){return new ge}extractTail(){return this.masked.extractTail(...arguments)}appendTail(){return this.masked.appendTail(...arguments)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(e,n,s)}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this.value.length,i=Math.min(Math.max(e,s),r);switch(n){case G.LEFT:case G.FORCE_LEFT:return this.isComplete?i:s;case G.RIGHT:case G.FORCE_RIGHT:return this.isComplete?i:r;case G.NONE:default:return i}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n).length}doValidate(){return this.masked.doValidate(...arguments)&&(!this.parent||this.parent.doValidate(...arguments))}doCommit(){this.masked.doCommit()}get state(){return{masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}}class $d{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._value=this._value.slice(0,e)+this._value.slice(n),this._value||(this._isRawInput=!1),new ge}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this._value.length;switch(n){case G.LEFT:case G.FORCE_LEFT:return s;case G.NONE:case G.RIGHT:case G.FORCE_RIGHT:default:return r}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._isRawInput?n-e:0}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).raw&&this._isRawInput&&this._value.slice(e,n)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=new ge;if(this.isFilled)return s;const r=this.eager===!0||this.eager==="append",o=this.char===e&&(this.isUnmasking||n.input||n.raw)&&(!n.raw||!r)&&!n.tail;return o&&(s.rawInserted=this.char),this._value=s.inserted=this.char,this._isRawInput=o&&(n.raw||n.input),s}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new ge;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,new Jt("")}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}append(e,n,s){const r=this._appendChar(e[0],n);return s!=null&&(r.tailShift+=this.appendTail(s).tailShift),r}doCommit(){}get state(){return{_value:this._value,_isRawInput:this._isRawInput}}set state(e){Object.assign(this,e)}}const o_=["chunks"];class Hn{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.chunks=e,this.from=n}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;ks(e)&&(e=new Jt(String(e)));const n=this.chunks[this.chunks.length-1],s=n&&(n.stop===e.stop||e.stop==null)&&e.from===n.from+n.toString().length;if(e instanceof Jt)s?n.extend(e.toString()):this.chunks.push(e);else if(e instanceof Hn){if(e.stop==null){let r;for(;e.chunks.length&&e.chunks[0].stop==null;)r=e.chunks.shift(),r.from+=e.from,this.extend(r)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof oe.MaskedPattern))return new Jt(this.toString()).appendTo(e);const n=new ge;for(let s=0;s=0){const l=e._appendPlaceholder(o);n.aggregate(l)}a=r instanceof Hn&&e._blocks[o]}if(a){const l=a.appendTail(r);l.skip=!1,n.aggregate(l),e._value+=l.inserted;const u=r.toString().slice(l.rawInserted.length);u&&n.aggregate(e.append(u,{tail:!0}))}else n.aggregate(e.append(r.toString(),{tail:!0}))}return n}get state(){return{chunks:this.chunks.map(e=>e.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:n}=e,s=xs(e,o_);Object.assign(this,s),this.chunks=n.map(r=>{const i="chunks"in r?new Hn:new Jt;return i.state=r,i})}unshift(e){if(!this.chunks.length||e!=null&&this.from>=e)return"";const n=e!=null?e-this.from:e;let s=0;for(;s=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.value.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=((n=this.block)===null||n===void 0?void 0:n.value.length)||0){var n;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_LEFT),this.offset!==0))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}}class l_ extends Je{_update(e){e.mask&&(e.validate=n=>n.search(e.mask)>=0),super._update(e)}}oe.MaskedRegExp=l_;const u_=["_blocks"];class it extends Je{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},i_,e.definitions),super(Object.assign({},it.DEFAULTS,e))}_update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};let n=this.mask;if(!n||!e)return;let s=!1,r=!1;for(let a=0;a_.indexOf(h)===0);p.sort((h,y)=>y.length-h.length);const m=p[0];if(m){const h=Zn(Object.assign({parent:this,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite},this.blocks[m]));h&&(this._blocks.push(h),this._maskedBlocks[m]||(this._maskedBlocks[m]=[]),this._maskedBlocks[m].push(this._blocks.length-1)),a+=m.length-1;continue}}let l=n[a],u=l in e;if(l===it.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(l==="{"||l==="}"){s=!s;continue}if(l==="["||l==="]"){r=!r;continue}if(l===it.ESCAPE_CHAR){if(++a,l=n[a],!l)break;u=!1}const c=(i=e[l])!==null&&i!==void 0&&i.mask&&!(((o=e[l])===null||o===void 0?void 0:o.mask.prototype)instanceof oe.Masked)?e[l]:{mask:e[l]},f=u?new Bd(Object.assign({parent:this,isOptional:r,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar},c)):new $d({char:l,eager:this.eager,isUnmasking:s});this._blocks.push(f)}}get state(){return Object.assign({},super.state,{_blocks:this._blocks.map(e=>e.state)})}set state(e){const{_blocks:n}=e,s=xs(e,u_);this._blocks.forEach((r,i)=>r.state=n[i]),super.state=s}reset(){super.reset(),this._blocks.forEach(e=>e.reset())}get isComplete(){return this._blocks.every(e=>e.isComplete)}get isFilled(){return this._blocks.every(e=>e.isFilled)}get isFixed(){return this._blocks.every(e=>e.isFixed)}get isOptional(){return this._blocks.every(e=>e.isOptional)}doCommit(){this._blocks.forEach(e=>e.doCommit()),super.doCommit()}get unmaskedValue(){return this._blocks.reduce((e,n)=>e+=n.unmaskedValue,"")}set unmaskedValue(e){super.unmaskedValue=e}get value(){return this._blocks.reduce((e,n)=>e+=n.value,"")}set value(e){super.value=e}get displayValue(){return this._blocks.reduce((e,n)=>e+=n.displayValue,"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const n=new ge;let s=(e=this._mapPosToBlock(this.value.length))===null||e===void 0?void 0:e.index;if(s==null)return n;this._blocks[s].isFilled&&++s;for(let r=s;r1&&arguments[1]!==void 0?arguments[1]:{};const s=this._mapPosToBlock(this.value.length),r=new ge;if(!s)return r;for(let a=s.index;;++a){var i,o;const l=this._blocks[a];if(!l)break;const u=l._appendChar(e,Object.assign({},n,{_beforeTailState:(i=n._beforeTailState)===null||i===void 0||(o=i._blocks)===null||o===void 0?void 0:o[a]})),c=u.skip;if(r.aggregate(u),c||u.rawInserted)break}return r}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=new Hn;return e===n||this._forEachBlocksInRange(e,n,(r,i,o,a)=>{const l=r.extractTail(o,a);l.stop=this._findStopBefore(i),l.from=this._blockStartPos(i),l instanceof Hn&&(l.blockIndex=i),s.extend(l)}),s}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e===n)return"";let r="";return this._forEachBlocksInRange(e,n,(i,o,a,l)=>{r+=i.extractInput(a,l,s)}),r}_findStopBefore(e){let n;for(let s=0;s{if(!o.lazy||e!=null){const a=o._blocks!=null?[o._blocks.length]:[],l=o._appendPlaceholder(...a);this._value+=l.inserted,n.aggregate(l)}}),n}_mapPosToBlock(e){let n="";for(let s=0;sn+=s.value.length,0)}_forEachBlocksInRange(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;const r=this._mapPosToBlock(e);if(r){const i=this._mapPosToBlock(n),o=i&&r.index===i.index,a=r.offset,l=i&&o?i.offset:this._blocks[r.index].value.length;if(s(this._blocks[r.index],r.index,a,l),i&&!o){for(let u=r.index+1;u0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=super.remove(e,n);return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s.aggregate(r.remove(o,a))}),s}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;if(!this._blocks.length)return 0;const s=new a_(this,e);if(n===G.NONE)return s.pushRightBeforeInput()||(s.popState(),s.pushLeftBeforeInput())?s.pos:this.value.length;if(n===G.LEFT||n===G.FORCE_LEFT){if(n===G.LEFT){if(s.pushRightBeforeFilled(),s.ok&&s.pos===e)return e;s.popState()}if(s.pushLeftBeforeInput(),s.pushLeftBeforeRequired(),s.pushLeftBeforeFilled(),n===G.LEFT){if(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.ok&&s.pos<=e||(s.popState(),s.ok&&s.pos<=e))return s.pos;s.popState()}return s.ok?s.pos:n===G.FORCE_LEFT?0:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:0)}return n===G.RIGHT||n===G.FORCE_RIGHT?(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.pushRightBeforeFilled()?s.pos:n===G.FORCE_RIGHT?this.value.length:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:this.nearestInputPos(e,G.LEFT))):e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=0;return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s+=r.totalInputPositions(o,a)}),s}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const n=this._maskedBlocks[e];return n?n.map(s=>this._blocks[s]):[]}}it.DEFAULTS={lazy:!0,placeholderChar:"_"};it.STOP_CHAR="`";it.ESCAPE_CHAR="\\";it.InputDefinition=Bd;it.FixedDefinition=$d;oe.MaskedPattern=it;class Ki extends it{get _matchFrom(){return this.maxLength-String(this.from).length}_update(e){e=Object.assign({to:this.to||0,from:this.from||0,maxLength:this.maxLength||0},e);let n=String(e.to).length;e.maxLength!=null&&(n=Math.max(n,e.maxLength)),e.maxLength=n;const s=String(e.from).padStart(n,"0"),r=String(e.to).padStart(n,"0");let i=0;for(;i1&&arguments[1]!==void 0?arguments[1]:{},s;if([e,s]=xr(super.doPrepare(e.replace(/\D/g,""),n)),!this.autofix||!e)return e;const r=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0");let o=this.value+e;if(o.length>this.maxLength)return"";const[a,l]=this.boundaries(o);return Number(l)this.to?this.autofix==="pad"&&o.length{const r=e.blocks[s];!("autofix"in r)&&"autofix"in e&&(r.autofix=e.autofix)}),super._update(e)}doValidate(){const e=this.date;return super.doValidate(...arguments)&&(!this.isComplete||this.isDateExist(this.value)&&e!=null&&(this.min==null||this.min<=e)&&(this.max==null||e<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}}Bs.DEFAULTS={pattern:"d{.}`m{.}`Y",format:t=>{if(!t)return"";const e=String(t.getDate()).padStart(2,"0"),n=String(t.getMonth()+1).padStart(2,"0"),s=t.getFullYear();return[e,n,s].join(".")},parse:t=>{const[e,n,s]=t.split(".");return new Date(s,n-1,e)}};Bs.GET_DEFAULT_BLOCKS=()=>({d:{mask:Ki,from:1,to:31,maxLength:2},m:{mask:Ki,from:1,to:12,maxLength:2},Y:{mask:Ki,from:1900,to:9999}});oe.MaskedDate=Bs;class Ql{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return e??this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return e??this.value.length}select(e,n){if(!(e==null||n==null||e===this.selectionStart&&n===this.selectionEnd))try{this._unsafeSelect(e,n)}catch{}}_unsafeSelect(e,n){}get isActive(){return!1}bindEvents(e){}unbindEvents(){}}oe.MaskElement=Ql;class tr extends Ql{constructor(e){super(),this.input=e,this._handlers={}}get rootElement(){var e,n,s;return(e=(n=(s=this.input).getRootNode)===null||n===void 0?void 0:n.call(s))!==null&&e!==void 0?e:document}get isActive(){return this.input===this.rootElement.activeElement}get _unsafeSelectionStart(){return this.input.selectionStart}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,n){this.input.setSelectionRange(e,n)}get value(){return this.input.value}set value(e){this.input.value=e}bindEvents(e){Object.keys(e).forEach(n=>this._toggleEventHandler(tr.EVENTS_MAP[n],e[n]))}unbindEvents(){Object.keys(this._handlers).forEach(e=>this._toggleEventHandler(e))}_toggleEventHandler(e,n){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),n&&(this.input.addEventListener(e,n),this._handlers[e]=n)}}tr.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"};oe.HTMLMaskElement=tr;class Vd extends tr{get _unsafeSelectionStart(){const e=this.rootElement,n=e.getSelection&&e.getSelection(),s=n&&n.anchorOffset,r=n&&n.focusOffset;return r==null||s==null||sr?s:r}_unsafeSelect(e,n){if(!this.rootElement.createRange)return;const s=this.rootElement.createRange();s.setStart(this.input.firstChild||this.input,e),s.setEnd(this.input.lastChild||this.input,n);const r=this.rootElement,i=r.getSelection&&r.getSelection();i&&(i.removeAllRanges(),i.addRange(s))}get value(){return this.input.textContent}set value(e){this.input.textContent=e}}oe.HTMLContenteditableMaskElement=Vd;const c_=["mask"];class f_{constructor(e,n){this.el=e instanceof Ql?e:e.isContentEditable&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"?new Vd(e):new tr(e),this.masked=Zn(n),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}get mask(){return this.masked.mask}maskEquals(e){var n;return e==null||((n=this.masked)===null||n===void 0?void 0:n.maskEquals(e))}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof oe.Masked)&&this.masked.constructor===xd(e)){this.masked.updateOptions({mask:e});return}const n=Zn({mask:e});n.unmaskedValue=this.masked.unmaskedValue,this.masked=n}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;ro(...s))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){!this.el||!this.el.isActive||(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const e=this.masked.unmaskedValue,n=this.masked.value,s=this.displayValue,r=this.unmaskedValue!==e||this.value!==n;this._unmaskedValue=e,this._value=n,this.el.value!==s&&(this.el.value=s),r&&this._fireChangeEvents()}updateOptions(e){const{mask:n}=e,s=xs(e,c_),r=!this.maskEquals(n),i=!lo(this.masked,s);r&&(this.mask=n),i&&this.masked.updateOptions(s),(r||i)&&this.updateControl()}updateCursor(e){e!=null&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,G.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,n){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(n),this}off(e,n){if(!this._listeners[e])return this;if(!n)return delete this._listeners[e],this;const s=this._listeners[e].indexOf(n);return s>=0&&this._listeners[e].splice(s,1),this}_onInput(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();const n=new s_(this.el.value,this.cursorPos,this.displayValue,this._selection),s=this.masked.rawInputValue,r=this.masked.splice(n.startChangePos,n.removed.length,n.inserted,n.removeDirection,{input:!0,raw:!0}).offset,i=s===this.masked.rawInputValue?n.removeDirection:G.NONE;let o=this.masked.nearestInputPos(n.startChangePos+r,i);i!==G.NONE&&(o=this.masked.nearestInputPos(o,G.NONE)),this.updateControl(),this.updateCursor(o),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}oe.InputMask=f_;class d_ extends it{_update(e){e.enum&&(e.mask="*".repeat(e.enum[0].length)),super._update(e)}doValidate(){return this.enum.some(e=>e.indexOf(this.unmaskedValue)>=0)&&super.doValidate(...arguments)}}oe.MaskedEnum=d_;class pt extends Je{constructor(e){super(Object.assign({},pt.DEFAULTS,e))}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){let e="^"+(this.allowNegative?"[+|\\-]?":""),n="\\d*",s=(this.scale?"(".concat(ya(this.radix),"\\d{0,").concat(this.scale,"})?"):"")+"$";this._numberRegExp=new RegExp(e+n+s),this._mapToRadixRegExp=new RegExp("[".concat(this.mapToRadix.map(ya).join(""),"]"),"g"),this._thousandsSeparatorRegExp=new RegExp(ya(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const n=e.split(this.radix);return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),n.join(this.radix)}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e=this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(n.input&&n.raw||!n.input&&!n.raw)?e.replace(this._mapToRadixRegExp,this.radix):e);const[s,r]=xr(super.doPrepare(e,n));return e&&!s&&(r.skip=!0),[s,r]}_separatorsCount(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=0;for(let r=0;r0&&arguments[0]!==void 0?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return[e,n]=this._adjustRangeWithSeparators(e,n),this._removeThousandsSeparators(super.extractInput(e,n,s))}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.thousandsSeparator)return super._appendCharRaw(e,n);const s=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(s);this._value=this._removeThousandsSeparators(this.value);const i=super._appendCharRaw(e,n);this._value=this._insertThousandsSeparators(this._value);const o=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(o);return i.tailShift+=(a-r)*this.thousandsSeparator.length,i.skip=!i.rawInserted&&e===this.thousandsSeparator,i}_findSeparatorAround(e){if(this.thousandsSeparator){const n=e-this.thousandsSeparator.length+1,s=this.value.indexOf(this.thousandsSeparator,n);if(s<=e)return s}return-1}_adjustRangeWithSeparators(e,n){const s=this._findSeparatorAround(e);s>=0&&(e=s);const r=this._findSeparatorAround(n);return r>=0&&(n=r+this.thousandsSeparator.length),[e,n]}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;[e,n]=this._adjustRangeWithSeparators(e,n);const s=this.value.slice(0,e),r=this.value.slice(n),i=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+r));const o=this._separatorsCountFromSlice(s);return new ge({tailShift:(o-i)*this.thousandsSeparator.length})}nearestInputPos(e,n){if(!this.thousandsSeparator)return e;switch(n){case G.NONE:case G.LEFT:case G.FORCE_LEFT:{const s=this._findSeparatorAround(e-1);if(s>=0){const r=s+this.thousandsSeparator.length;if(e=0)return s+this.thousandsSeparator.length}}return e}doValidate(e){let n=!!this._removeThousandsSeparators(this.value).match(this._numberRegExp);if(n){const s=this.number;n=n&&!isNaN(s)&&(this.min==null||this.min>=0||this.min<=this.number)&&(this.max==null||this.max<=0||this.number<=this.max)}return n&&super.doValidate(e)}doCommit(){if(this.value){const e=this.number;let n=e;this.min!=null&&(n=Math.max(n,this.min)),this.max!=null&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=this.doFormat(n));let s=this.value;this.normalizeZeros&&(s=this._normalizeZeros(s)),this.padFractionalZeros&&this.scale>0&&(s=this._padFractionalZeros(s)),this._value=s}super.doCommit()}_normalizeZeros(e){const n=this._removeThousandsSeparators(e).split(this.radix);return n[0]=n[0].replace(/^(\D*)(0*)(\d*)/,(s,r,i,o)=>r+o),e.length&&!/\d$/.test(n[0])&&(n[0]=n[0]+"0"),n.length>1&&(n[1]=n[1].replace(/0*$/,""),n[1].length||(n.length=1)),this._insertThousandsSeparators(n.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const n=e.split(this.radix);return n.length<2&&n.push(""),n[1]=n[1].padEnd(this.scale,"0"),n.join(this.radix)}doSkipInvalid(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===pt.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,n,s)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,pt.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.doParse(this.unmaskedValue)}set typedValue(e){this.rawInputValue=this.doFormat(e).replace(pt.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return this.signed||this.min!=null&&this.min<0||this.max!=null&&this.max<0}typedValueEquals(e){return(super.typedValueEquals(e)||pt.EMPTY_VALUES.includes(e)&&pt.EMPTY_VALUES.includes(this.typedValue))&&!(e===0&&this.value==="")}}pt.UNMASKED_RADIX=".";pt.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:[pt.UNMASKED_RADIX],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})};pt.EMPTY_VALUES=[...Je.EMPTY_VALUES,0];oe.MaskedNumber=pt;class h_ extends Je{_update(e){e.mask&&(e.validate=e.mask),super._update(e)}}oe.MaskedFunction=h_;const p_=["compiledMasks","currentMaskRef","currentMask"],m_=["mask"];class xo extends Je{constructor(e){super(Object.assign({},xo.DEFAULTS,e)),this.currentMask=null}_update(e){super._update(e),"mask"in e&&(this.compiledMasks=Array.isArray(e.mask)?e.mask.map(n=>Zn(n)):[])}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this._applyDispatch(e,n);return this.currentMask&&s.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(n))),s}_applyDispatch(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";const r=n.tail&&n._beforeTailState!=null?n._beforeTailState._value:this.value,i=this.rawInputValue,o=n.tail&&n._beforeTailState!=null?n._beforeTailState._rawInputValue:i,a=i.slice(o.length),l=this.currentMask,u=new ge,c=l==null?void 0:l.state;if(this.currentMask=this.doDispatch(e,Object.assign({},n),s),this.currentMask)if(this.currentMask!==l){if(this.currentMask.reset(),o){const f=this.currentMask.append(o,{raw:!0});u.tailShift=f.inserted.length-r.length}a&&(u.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=c;return u}_appendPlaceholder(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const n=new ge;return e&&n.aggregate(this._applyDispatch("",{},e)),n.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var n,s;return Object.assign({},e,{_beforeTailState:((n=e._beforeTailState)===null||n===void 0?void 0:n.currentMaskRef)===this.currentMask&&((s=e._beforeTailState)===null||s===void 0?void 0:s.currentMask)||e._beforeTailState})}doDispatch(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return this.dispatch(e,this,n,s)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},[s,r]=xr(super.doPrepare(e,n));if(this.currentMask){let i;[s,i]=xr(super.doPrepare(s,this.currentMaskFlags(n))),r=r.aggregate(i)}return[s,r]}reset(){var e;(e=this.currentMask)===null||e===void 0||e.reset(),this.compiledMasks.forEach(n=>n.reset())}get value(){return this.currentMask?this.currentMask.value:""}set value(e){super.value=e}get unmaskedValue(){return this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.currentMask?this.currentMask.typedValue:""}set typedValue(e){let n=String(e);this.currentMask&&(this.currentMask.typedValue=e,n=this.currentMask.unmaskedValue),this.unmaskedValue=n}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isComplete)}get isFilled(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isFilled)}remove(){const e=new ge;return this.currentMask&&e.aggregate(this.currentMask.remove(...arguments)).aggregate(this._applyDispatch()),e}get state(){var e;return Object.assign({},super.state,{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(n=>n.state),currentMaskRef:this.currentMask,currentMask:(e=this.currentMask)===null||e===void 0?void 0:e.state})}set state(e){const{compiledMasks:n,currentMaskRef:s,currentMask:r}=e,i=xs(e,p_);this.compiledMasks.forEach((o,a)=>o.state=n[a]),s!=null&&(this.currentMask=s,this.currentMask.state=r),super.state=i}extractInput(){return this.currentMask?this.currentMask.extractInput(...arguments):""}extractTail(){return this.currentMask?this.currentMask.extractTail(...arguments):super.extractTail(...arguments)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(){return this.currentMask?this.currentMask.nearestInputPos(...arguments):super.nearestInputPos(...arguments)}get overwrite(){return this.currentMask?this.currentMask.overwrite:super.overwrite}set overwrite(e){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}get eager(){return this.currentMask?this.currentMask.eager:super.eager}set eager(e){console.warn('"eager" option is not available in dynamic mask, use this option in siblings')}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:super.skipInvalid}set skipInvalid(e){(this.isInitialized||e!==Je.DEFAULTS.skipInvalid)&&console.warn('"skipInvalid" option is not available in dynamic mask, use this option in siblings')}maskEquals(e){return Array.isArray(e)&&this.compiledMasks.every((n,s)=>{if(!e[s])return;const r=e[s],{mask:i}=r,o=xs(r,m_);return lo(n,o)&&n.maskEquals(i)})}typedValueEquals(e){var n;return!!(!((n=this.currentMask)===null||n===void 0)&&n.typedValueEquals(e))}}xo.DEFAULTS={dispatch:(t,e,n,s)=>{if(!e.compiledMasks.length)return;const r=e.rawInputValue,i=e.compiledMasks.map((o,a)=>{const l=e.currentMask===o,u=l?o.value.length:o.nearestInputPos(o.value.length,G.FORCE_LEFT);return o.rawInputValue!==r?(o.reset(),o.append(r,{raw:!0})):l||o.remove(u),o.append(t,e.currentMaskFlags(n)),o.appendTail(s),{index:a,weight:o.rawInputValue.length,totalInputPositions:o.totalInputPositions(0,Math.max(u,o.nearestInputPos(o.value.length,G.FORCE_LEFT)))}});return i.sort((o,a)=>a.weight-o.weight||a.totalInputPositions-o.totalInputPositions),e.compiledMasks[i[0].index]}};oe.MaskedDynamic=xo;const nl={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function Hd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nl.MASKED,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nl.MASKED;const s=Zn(t);return r=>s.runIsolated(i=>(i[e]=r,i[n]))}function g_(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s"u")return!1;var e=ct(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function E_(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},r=e.attributes[n]||{},i=e.elements[n];!Et(i)||!jt(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function y_(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var r=e.elements[s],i=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!Et(r)||!jt(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const su={name:"applyStyles",enabled:!0,phase:"write",fn:E_,effect:y_,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Kn=Math.max,uo=Math.min,Vs=Math.round;function rl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function eh(){return!/^((?!chrome|android).)*safari/i.test(rl())}function Hs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),r=1,i=1;e&&Et(t)&&(r=t.offsetWidth>0&&Vs(s.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Vs(s.height)/t.offsetHeight||1);var o=es(t)?ct(t):window,a=o.visualViewport,l=!eh()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,f=s.width/r,_=s.height/i;return{width:f,height:_,top:c,right:u+f,bottom:c+_,left:u,x:u,y:c}}function ru(t){var e=Hs(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function th(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&nu(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function sn(t){return ct(t).getComputedStyle(t)}function v_(t){return["table","td","th"].indexOf(jt(t))>=0}function Pn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function $o(t){return jt(t)==="html"?t:t.assignedSlot||t.parentNode||(nu(t)?t.host:null)||Pn(t)}function Ic(t){return!Et(t)||sn(t).position==="fixed"?null:t.offsetParent}function b_(t){var e=/firefox/i.test(rl()),n=/Trident/i.test(rl());if(n&&Et(t)){var s=sn(t);if(s.position==="fixed")return null}var r=$o(t);for(nu(r)&&(r=r.host);Et(r)&&["html","body"].indexOf(jt(r))<0;){var i=sn(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ei(t){for(var e=ct(t),n=Ic(t);n&&v_(n)&&sn(n).position==="static";)n=Ic(n);return n&&(jt(n)==="html"||jt(n)==="body"&&sn(n).position==="static")?e:n||b_(t)||e}function iu(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wr(t,e,n){return Kn(t,uo(e,n))}function A_(t,e,n){var s=wr(t,e,n);return s>n?n:s}function nh(){return{top:0,right:0,bottom:0,left:0}}function sh(t){return Object.assign({},nh(),t)}function rh(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var T_=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,sh(typeof e!="number"?e:rh(e,nr))};function C_(t){var e,n=t.state,s=t.name,r=t.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Vt(n.placement),l=iu(a),u=[je,ut].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=T_(r.padding,n),_=ru(i),p=l==="y"?He:je,m=l==="y"?lt:ut,h=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],y=o[l]-n.rects.reference[l],E=ei(i),d=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,b=h/2-y/2,g=f[p],A=d-_[c]-f[m],C=d/2-_[c]/2+b,O=wr(g,C,A),v=l;n.modifiersData[s]=(e={},e[v]=O,e.centerOffset=O-C,e)}}function S_(t){var e=t.state,n=t.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||th(e.elements.popper,r)&&(e.elements.arrow=r))}const ih={name:"arrow",enabled:!0,phase:"main",fn:C_,effect:S_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function js(t){return t.split("-")[1]}var w_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O_(t,e){var n=t.x,s=t.y,r=e.devicePixelRatio||1;return{x:Vs(n*r)/r||0,y:Vs(s*r)/r||0}}function Rc(t){var e,n=t.popper,s=t.popperRect,r=t.placement,i=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,_=o.x,p=_===void 0?0:_,m=o.y,h=m===void 0?0:m,y=typeof c=="function"?c({x:p,y:h}):{x:p,y:h};p=y.x,h=y.y;var E=o.hasOwnProperty("x"),d=o.hasOwnProperty("y"),b=je,g=He,A=window;if(u){var C=ei(n),O="clientHeight",v="clientWidth";if(C===ct(n)&&(C=Pn(n),sn(C).position!=="static"&&a==="absolute"&&(O="scrollHeight",v="scrollWidth")),C=C,r===He||(r===je||r===ut)&&i===$s){g=lt;var w=f&&C===A&&A.visualViewport?A.visualViewport.height:C[O];h-=w-s.height,h*=l?1:-1}if(r===je||(r===He||r===lt)&&i===$s){b=ut;var k=f&&C===A&&A.visualViewport?A.visualViewport.width:C[v];p-=k-s.width,p*=l?1:-1}}var N=Object.assign({position:a},u&&w_),P=c===!0?O_({x:p,y:h},ct(n)):{x:p,y:h};if(p=P.x,h=P.y,l){var R;return Object.assign({},N,(R={},R[g]=d?"0":"",R[b]=E?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",R))}return Object.assign({},N,(e={},e[g]=d?h+"px":"",e[b]=E?p+"px":"",e.transform="",e))}function k_(t){var e=t.state,n=t.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Vt(e.placement),variation:js(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Rc(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Rc(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ou={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:k_,data:{}};var Ci={passive:!0};function N_(t){var e=t.state,n=t.instance,s=t.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=ct(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ci)}),a&&l.addEventListener("resize",n.update,Ci),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ci)}),a&&l.removeEventListener("resize",n.update,Ci)}}const au={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:N_,data:{}};var P_={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(t){return t.replace(/left|right|bottom|top/g,function(e){return P_[e]})}var D_={start:"end",end:"start"};function Lc(t){return t.replace(/start|end/g,function(e){return D_[e]})}function lu(t){var e=ct(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function uu(t){return Hs(Pn(t)).left+lu(t).scrollLeft}function I_(t,e){var n=ct(t),s=Pn(t),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){i=r.width,o=r.height;var u=eh();(u||!u&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:o,x:a+uu(t),y:l}}function R_(t){var e,n=Pn(t),s=lu(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=Kn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Kn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+uu(t),l=-s.scrollTop;return sn(r||n).direction==="rtl"&&(a+=Kn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function cu(t){var e=sn(t),n=e.overflow,s=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function oh(t){return["html","body","#document"].indexOf(jt(t))>=0?t.ownerDocument.body:Et(t)&&cu(t)?t:oh($o(t))}function Or(t,e){var n;e===void 0&&(e=[]);var s=oh(t),r=s===((n=t.ownerDocument)==null?void 0:n.body),i=ct(s),o=r?[i].concat(i.visualViewport||[],cu(s)?s:[]):s,a=e.concat(o);return r?a:a.concat(Or($o(o)))}function il(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function L_(t,e){var n=Hs(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Fc(t,e,n){return e===eu?il(I_(t,n)):es(e)?L_(e,n):il(R_(Pn(t)))}function F_(t){var e=Or($o(t)),n=["absolute","fixed"].indexOf(sn(t).position)>=0,s=n&&Et(t)?ei(t):t;return es(s)?e.filter(function(r){return es(r)&&th(r,s)&&jt(r)!=="body"}):[]}function M_(t,e,n,s){var r=e==="clippingParents"?F_(t):[].concat(e),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(l,u){var c=Fc(t,u,s);return l.top=Kn(c.top,l.top),l.right=uo(c.right,l.right),l.bottom=uo(c.bottom,l.bottom),l.left=Kn(c.left,l.left),l},Fc(t,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ah(t){var e=t.reference,n=t.element,s=t.placement,r=s?Vt(s):null,i=s?js(s):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case He:l={x:o,y:e.y-n.height};break;case lt:l={x:o,y:e.y+e.height};break;case ut:l={x:e.x+e.width,y:a};break;case je:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=r?iu(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Qn:l[u]=l[u]-(e[c]/2-n[c]/2);break;case $s:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function Us(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=s===void 0?t.placement:s,i=n.strategy,o=i===void 0?t.strategy:i,a=n.boundary,l=a===void 0?jd:a,u=n.rootBoundary,c=u===void 0?eu:u,f=n.elementContext,_=f===void 0?bs:f,p=n.altBoundary,m=p===void 0?!1:p,h=n.padding,y=h===void 0?0:h,E=sh(typeof y!="number"?y:rh(y,nr)),d=_===bs?Ud:bs,b=t.rects.popper,g=t.elements[m?d:_],A=M_(es(g)?g:g.contextElement||Pn(t.elements.popper),l,c,o),C=Hs(t.elements.reference),O=ah({reference:C,element:b,strategy:"absolute",placement:r}),v=il(Object.assign({},b,O)),w=_===bs?v:C,k={top:A.top-w.top+E.top,bottom:w.bottom-A.bottom+E.bottom,left:A.left-w.left+E.left,right:w.right-A.right+E.right},N=t.modifiersData.offset;if(_===bs&&N){var P=N[r];Object.keys(k).forEach(function(R){var B=[ut,lt].indexOf(R)>=0?1:-1,X=[He,lt].indexOf(R)>=0?"y":"x";k[R]+=P[X]*B})}return k}function x_(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?tu:l,c=js(s),f=c?a?sl:sl.filter(function(m){return js(m)===c}):nr,_=f.filter(function(m){return u.indexOf(m)>=0});_.length===0&&(_=f);var p=_.reduce(function(m,h){return m[h]=Us(t,{placement:h,boundary:r,rootBoundary:i,padding:o})[Vt(h)],m},{});return Object.keys(p).sort(function(m,h){return p[m]-p[h]})}function B_(t){if(Vt(t)===Bo)return[];var e=zi(t);return[Lc(t),e,Lc(e)]}function $_(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,_=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,h=n.allowedAutoPlacements,y=e.options.placement,E=Vt(y),d=E===y,b=l||(d||!m?[zi(y)]:B_(y)),g=[y].concat(b).reduce(function(Rt,qe){return Rt.concat(Vt(qe)===Bo?x_(e,{placement:qe,boundary:c,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:h}):qe)},[]),A=e.rects.reference,C=e.rects.popper,O=new Map,v=!0,w=g[0],k=0;k=0,X=B?"width":"height",W=Us(e,{placement:N,boundary:c,rootBoundary:f,altBoundary:_,padding:u}),ee=B?R?ut:je:R?lt:He;A[X]>C[X]&&(ee=zi(ee));var se=zi(ee),_e=[];if(i&&_e.push(W[P]<=0),a&&_e.push(W[ee]<=0,W[se]<=0),_e.every(function(Rt){return Rt})){w=N,v=!1;break}O.set(N,_e)}if(v)for(var dt=m?3:1,Be=function(qe){var $e=g.find(function(zt){var Lt=O.get(zt);if(Lt)return Lt.slice(0,qe).every(function(Ft){return Ft})});if($e)return w=$e,"break"},ye=dt;ye>0;ye--){var It=Be(ye);if(It==="break")break}e.placement!==w&&(e.modifiersData[s]._skip=!0,e.placement=w,e.reset=!0)}}const lh={name:"flip",enabled:!0,phase:"main",fn:$_,requiresIfExists:["offset"],data:{_skip:!1}};function Mc(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xc(t){return[He,ut,lt,je].some(function(e){return t[e]>=0})}function V_(t){var e=t.state,n=t.name,s=e.rects.reference,r=e.rects.popper,i=e.modifiersData.preventOverflow,o=Us(e,{elementContext:"reference"}),a=Us(e,{altBoundary:!0}),l=Mc(o,s),u=Mc(a,r,i),c=xc(l),f=xc(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const uh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V_};function H_(t,e,n){var s=Vt(t),r=[je,He].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[je,ut].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function j_(t){var e=t.state,n=t.options,s=t.name,r=n.offset,i=r===void 0?[0,0]:r,o=tu.reduce(function(c,f){return c[f]=H_(f,e.rects,i),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=o}const ch={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:j_};function U_(t){var e=t.state,n=t.name;e.modifiersData[n]=ah({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const fu={name:"popperOffsets",enabled:!0,phase:"read",fn:U_,data:{}};function W_(t){return t==="x"?"y":"x"}function q_(t){var e=t.state,n=t.options,s=t.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,_=n.tether,p=_===void 0?!0:_,m=n.tetherOffset,h=m===void 0?0:m,y=Us(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),E=Vt(e.placement),d=js(e.placement),b=!d,g=iu(E),A=W_(g),C=e.modifiersData.popperOffsets,O=e.rects.reference,v=e.rects.popper,w=typeof h=="function"?h(Object.assign({},e.rects,{placement:e.placement})):h,k=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(C){if(i){var R,B=g==="y"?He:je,X=g==="y"?lt:ut,W=g==="y"?"height":"width",ee=C[g],se=ee+y[B],_e=ee-y[X],dt=p?-v[W]/2:0,Be=d===Qn?O[W]:v[W],ye=d===Qn?-v[W]:-O[W],It=e.elements.arrow,Rt=p&&It?ru(It):{width:0,height:0},qe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:nh(),$e=qe[B],zt=qe[X],Lt=wr(0,O[W],Rt[W]),Ft=b?O[W]/2-dt-Lt-$e-k.mainAxis:Be-Lt-$e-k.mainAxis,hr=b?-O[W]/2+dt+Lt+zt+k.mainAxis:ye+Lt+zt+k.mainAxis,Mn=e.elements.arrow&&ei(e.elements.arrow),T=Mn?g==="y"?Mn.clientTop||0:Mn.clientLeft||0:0,S=(R=N==null?void 0:N[g])!=null?R:0,D=ee+Ft-S-T,F=ee+hr-S,L=wr(p?uo(se,D):se,ee,p?Kn(_e,F):_e);C[g]=L,P[g]=L-ee}if(a){var V,j=g==="x"?He:je,$=g==="x"?lt:ut,H=C[A],x=A==="y"?"height":"width",z=H+y[j],q=H-y[$],K=[He,je].indexOf(E)!==-1,J=(V=N==null?void 0:N[A])!=null?V:0,re=K?z:H-O[x]-v[x]-J+k.altAxis,de=K?H+O[x]+v[x]-J-k.altAxis:q,ce=p&&K?A_(re,H,de):wr(p?re:z,H,p?de:q);C[A]=ce,P[A]=ce-H}e.modifiersData[s]=P}}const fh={name:"preventOverflow",enabled:!0,phase:"main",fn:q_,requiresIfExists:["offset"]};function K_(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function z_(t){return t===ct(t)||!Et(t)?lu(t):K_(t)}function G_(t){var e=t.getBoundingClientRect(),n=Vs(e.width)/t.offsetWidth||1,s=Vs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function Y_(t,e,n){n===void 0&&(n=!1);var s=Et(e),r=Et(e)&&G_(e),i=Pn(e),o=Hs(t,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((jt(e)!=="body"||cu(i))&&(a=z_(e)),Et(e)?(l=Hs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=uu(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function X_(t){var e=new Map,n=new Set,s=[];t.forEach(function(i){e.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),s.push(i)}return t.forEach(function(i){n.has(i.name)||r(i)}),s}function J_(t){var e=X_(t);return Qd.reduce(function(n,s){return n.concat(e.filter(function(r){return r.phase===s}))},[])}function Z_(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Q_(t){var e=t.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Bc={placement:"bottom",modifiers:[],strategy:"absolute"};function $c(){for(var t=arguments.length,e=new Array(t),n=0;n(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),oE=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),aE=t=>{do t+=Math.floor(Math.random()*rE);while(document.getElementById(t));return t},lE=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e),r=Number.parseFloat(n);return!s&&!r?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*iE)},ph=t=>{t.dispatchEvent(new Event(ol))},Zt=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),An=t=>Zt(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(hh(t)):null,sr=t=>{if(!Zt(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const s=t.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return e},Tn=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",mh=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?mh(t.parentNode):null},co=()=>{},ti=t=>{t.offsetHeight},gh=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ba=[],uE=t=>{document.readyState==="loading"?(ba.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of ba)e()}),ba.push(t)):t()},bt=()=>document.documentElement.dir==="rtl",Ct=t=>{uE(()=>{const e=gh();if(e){const n=t.NAME,s=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=s,t.jQueryInterface)}})},ze=(t,e=[],n=t)=>typeof t=="function"?t(...e):n,_h=(t,e,n=!0)=>{if(!n){ze(t);return}const s=5,r=lE(e)+s;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(ol,o),ze(t))};e.addEventListener(ol,o),setTimeout(()=>{i||ph(e)},r)},hu=(t,e,n,s)=>{const r=t.length;let i=t.indexOf(e);return i===-1?!n&&s?t[r-1]:t[0]:(i+=n?1:-1,s&&(i=(i+r)%r),t[Math.max(0,Math.min(i,r-1))])},cE=/[^.]*(?=\..*)\.|.*/,fE=/\..*/,dE=/::\d+$/,Aa={};let Vc=1;const Eh={mouseenter:"mouseover",mouseleave:"mouseout"},hE=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function yh(t,e){return e&&`${e}::${Vc++}`||t.uidEvent||Vc++}function vh(t){const e=yh(t);return t.uidEvent=e,Aa[e]=Aa[e]||{},Aa[e]}function pE(t,e){return function n(s){return pu(s,{delegateTarget:t}),n.oneOff&&M.off(t,s.type,e),e.apply(t,[s])}}function mE(t,e,n){return function s(r){const i=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return pu(r,{delegateTarget:o}),s.oneOff&&M.off(t,r.type,e,n),n.apply(o,[r])}}function bh(t,e,n=null){return Object.values(t).find(s=>s.callable===e&&s.delegationSelector===n)}function Ah(t,e,n){const s=typeof e=="string",r=s?n:e||n;let i=Th(t);return hE.has(i)||(i=t),[s,r,i]}function Hc(t,e,n,s,r){if(typeof e!="string"||!t)return;let[i,o,a]=Ah(e,n,s);e in Eh&&(o=(m=>function(h){if(!h.relatedTarget||h.relatedTarget!==h.delegateTarget&&!h.delegateTarget.contains(h.relatedTarget))return m.call(this,h)})(o));const l=vh(t),u=l[a]||(l[a]={}),c=bh(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const f=yh(o,e.replace(cE,"")),_=i?mE(t,n,o):pE(t,o);_.delegationSelector=i?n:null,_.callable=o,_.oneOff=r,_.uidEvent=f,u[f]=_,t.addEventListener(a,_,i)}function al(t,e,n,s,r){const i=bh(e[n],s,r);i&&(t.removeEventListener(n,i,!!r),delete e[n][i.uidEvent])}function gE(t,e,n,s){const r=e[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&al(t,e,n,o.callable,o.delegationSelector)}function Th(t){return t=t.replace(fE,""),Eh[t]||t}const M={on(t,e,n,s){Hc(t,e,n,s,!1)},one(t,e,n,s){Hc(t,e,n,s,!0)},off(t,e,n,s){if(typeof e!="string"||!t)return;const[r,i,o]=Ah(e,n,s),a=o!==e,l=vh(t),u=l[o]||{},c=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;al(t,l,o,i,r?n:null);return}if(c)for(const f of Object.keys(l))gE(t,l,f,e.slice(1));for(const[f,_]of Object.entries(u)){const p=f.replace(dE,"");(!a||e.includes(p))&&al(t,l,o,_.callable,_.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const s=gh(),r=Th(e),i=e!==r;let o=null,a=!0,l=!0,u=!1;i&&s&&(o=s.Event(e,n),s(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=pu(new Event(e,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function pu(t,e={}){for(const[n,s]of Object.entries(e))try{t[n]=s}catch{Object.defineProperty(t,n,{configurable:!0,get(){return s}})}return t}function jc(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Ta(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Qt={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Ta(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ta(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=jc(t.dataset[s])}return e},getDataAttribute(t,e){return jc(t.getAttribute(`data-bs-${Ta(e)}`))}};class ni{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const s=Zt(n)?Qt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Zt(n)?Qt.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=e[s],o=Zt(i)?"element":oE(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const _E="5.3.1";class Pt extends ni{constructor(e,n){super(),e=An(e),e&&(this._element=e,this._config=this._getConfig(n),va.set(this._element,this.constructor.DATA_KEY,this))}dispose(){va.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,s=!0){_h(e,n,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return va.get(An(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return _E}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ca=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return hh(e)},Y={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let s=t.parentNode.closest(e);for(;s;)n.push(s),s=s.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Tn(n)&&sr(n))},getSelectorFromElement(t){const e=Ca(t);return e&&Y.findOne(e)?e:null},getElementFromSelector(t){const e=Ca(t);return e?Y.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ca(t);return e?Y.find(e):[]}},Ho=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;M.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Tn(this))return;const i=Y.getElementFromSelector(this)||this.closest(`.${s}`);t.getOrCreateInstance(i)[e]()})},EE="alert",yE="bs.alert",Ch=`.${yE}`,vE=`close${Ch}`,bE=`closed${Ch}`,AE="fade",TE="show";class si extends Pt{static get NAME(){return EE}close(){if(M.trigger(this._element,vE).defaultPrevented)return;this._element.classList.remove(TE);const n=this._element.classList.contains(AE);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),M.trigger(this._element,bE),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=si.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}Ho(si,"close");Ct(si);const CE="button",SE="bs.button",wE=`.${SE}`,OE=".data-api",kE="active",Uc='[data-bs-toggle="button"]',NE=`click${wE}${OE}`;class ri extends Pt{static get NAME(){return CE}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kE))}static jQueryInterface(e){return this.each(function(){const n=ri.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}M.on(document,NE,Uc,t=>{t.preventDefault();const e=t.target.closest(Uc);ri.getOrCreateInstance(e).toggle()});Ct(ri);const PE="swipe",rr=".bs.swipe",DE=`touchstart${rr}`,IE=`touchmove${rr}`,RE=`touchend${rr}`,LE=`pointerdown${rr}`,FE=`pointerup${rr}`,ME="touch",xE="pen",BE="pointer-event",$E=40,VE={endCallback:null,leftCallback:null,rightCallback:null},HE={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fo extends ni{constructor(e,n){super(),this._element=e,!(!e||!fo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return VE}static get DefaultType(){return HE}static get NAME(){return PE}dispose(){M.off(this._element,rr)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),ze(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=$E)return;const n=e/this._deltaX;this._deltaX=0,n&&ze(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,LE,e=>this._start(e)),M.on(this._element,FE,e=>this._end(e)),this._element.classList.add(BE)):(M.on(this._element,DE,e=>this._start(e)),M.on(this._element,IE,e=>this._move(e)),M.on(this._element,RE,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===xE||e.pointerType===ME)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const jE="carousel",UE="bs.carousel",Dn=`.${UE}`,Sh=".data-api",WE="ArrowLeft",qE="ArrowRight",KE=500,mr="next",gs="prev",As="left",Gi="right",zE=`slide${Dn}`,Sa=`slid${Dn}`,GE=`keydown${Dn}`,YE=`mouseenter${Dn}`,XE=`mouseleave${Dn}`,JE=`dragstart${Dn}`,ZE=`load${Dn}${Sh}`,QE=`click${Dn}${Sh}`,wh="carousel",Si="active",ey="slide",ty="carousel-item-end",ny="carousel-item-start",sy="carousel-item-next",ry="carousel-item-prev",Oh=".active",kh=".carousel-item",iy=Oh+kh,oy=".carousel-item img",ay=".carousel-indicators",ly="[data-bs-slide], [data-bs-slide-to]",uy='[data-bs-ride="carousel"]',cy={[WE]:Gi,[qE]:As},fy={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},dy={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ir extends Pt{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(ay,this._element),this._addEventListeners(),this._config.ride===wh&&this.cycle()}static get Default(){return fy}static get DefaultType(){return dy}static get NAME(){return jE}next(){this._slide(mr)}nextWhenVisible(){!document.hidden&&sr(this._element)&&this.next()}prev(){this._slide(gs)}pause(){this._isSliding&&ph(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){M.one(this._element,Sa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){M.one(this._element,Sa,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const r=e>s?mr:gs;this._slide(r,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&M.on(this._element,GE,e=>this._keydown(e)),this._config.pause==="hover"&&(M.on(this._element,YE,()=>this.pause()),M.on(this._element,XE,()=>this._maybeEnableCycle())),this._config.touch&&fo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of Y.find(oy,this._element))M.on(s,JE,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(As)),rightCallback:()=>this._slide(this._directionToOrder(Gi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),KE+this._config.interval))}};this._swipeHelper=new fo(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=cy[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=Y.findOne(Oh,this._indicatorsElement);n.classList.remove(Si),n.removeAttribute("aria-current");const s=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(Si),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const s=this._getActive(),r=e===mr,i=n||hu(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=p=>M.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(zE).defaultPrevented||!s||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?ny:ty,f=r?sy:ry;i.classList.add(f),ti(i),s.classList.add(c),i.classList.add(c);const _=()=>{i.classList.remove(c,f),i.classList.add(Si),s.classList.remove(Si,f,c),this._isSliding=!1,a(Sa)};this._queueCallback(_,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ey)}_getActive(){return Y.findOne(iy,this._element)}_getItems(){return Y.find(kh,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return bt()?e===As?gs:mr:e===As?mr:gs}_orderToDirection(e){return bt()?e===gs?As:Gi:e===gs?Gi:As}static jQueryInterface(e){return this.each(function(){const n=ir.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,QE,ly,function(t){const e=Y.getElementFromSelector(this);if(!e||!e.classList.contains(wh))return;t.preventDefault();const n=ir.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Qt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});M.on(window,ZE,()=>{const t=Y.find(uy);for(const e of t)ir.getOrCreateInstance(e)});Ct(ir);const hy="collapse",py="bs.collapse",ii=`.${py}`,my=".data-api",gy=`show${ii}`,_y=`shown${ii}`,Ey=`hide${ii}`,yy=`hidden${ii}`,vy=`click${ii}${my}`,wa="show",Ss="collapse",wi="collapsing",by="collapsed",Ay=`:scope .${Ss} .${Ss}`,Ty="collapse-horizontal",Cy="width",Sy="height",wy=".collapse.show, .collapse.collapsing",ll='[data-bs-toggle="collapse"]',Oy={parent:null,toggle:!0},ky={parent:"(null|element)",toggle:"boolean"};class Ws extends Pt{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=Y.find(ll);for(const r of s){const i=Y.getSelectorFromElement(r),o=Y.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Oy}static get DefaultType(){return ky}static get NAME(){return hy}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(wy).filter(a=>a!==this._element).map(a=>Ws.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||M.trigger(this._element,gy).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove(Ss),this._element.classList.add(wi),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Ss,wa),this._element.style[s]="",M.trigger(this._element,_y)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,Ey).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ti(this._element),this._element.classList.add(wi),this._element.classList.remove(Ss,wa);for(const r of this._triggerArray){const i=Y.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Ss),M.trigger(this._element,yy)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(wa)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=An(e.parent),e}_getDimension(){return this._element.classList.contains(Ty)?Cy:Sy}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ll);for(const n of e){const s=Y.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=Y.find(Ay,this._config.parent);return Y.find(e,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const s of e)s.classList.toggle(by,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const s=Ws.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}M.on(document,vy,ll,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Y.getMultipleElementsFromSelector(this))Ws.getOrCreateInstance(e,{toggle:!1}).toggle()});Ct(Ws);const Wc="dropdown",Ny="bs.dropdown",as=`.${Ny}`,mu=".data-api",Py="Escape",qc="Tab",Dy="ArrowUp",Kc="ArrowDown",Iy=2,Ry=`hide${as}`,Ly=`hidden${as}`,Fy=`show${as}`,My=`shown${as}`,Nh=`click${as}${mu}`,Ph=`keydown${as}${mu}`,xy=`keyup${as}${mu}`,Ts="show",By="dropup",$y="dropend",Vy="dropstart",Hy="dropup-center",jy="dropdown-center",jn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Uy=`${jn}.${Ts}`,Yi=".dropdown-menu",Wy=".navbar",qy=".navbar-nav",Ky=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",zy=bt()?"top-end":"top-start",Gy=bt()?"top-start":"top-end",Yy=bt()?"bottom-end":"bottom-start",Xy=bt()?"bottom-start":"bottom-end",Jy=bt()?"left-start":"right-start",Zy=bt()?"right-start":"left-start",Qy="top",ev="bottom",tv={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},nv={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class yt extends Pt{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,Yi)[0]||Y.prev(this._element,Yi)[0]||Y.findOne(Yi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return tv}static get DefaultType(){return nv}static get NAME(){return Wc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Tn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!M.trigger(this._element,Fy,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(qy))for(const s of[].concat(...document.body.children))M.on(s,"mouseover",co);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ts),this._element.classList.add(Ts),M.trigger(this._element,My,e)}}hide(){if(Tn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!M.trigger(this._element,Ry,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))M.off(s,"mouseover",co);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ts),this._element.classList.remove(Ts),this._element.setAttribute("aria-expanded","false"),Qt.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,Ly,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Zt(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof dh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Zt(this._config.reference)?e=An(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=du(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Ts)}_getPlacement(){const e=this._parent;if(e.classList.contains($y))return Jy;if(e.classList.contains(Vy))return Zy;if(e.classList.contains(Hy))return Qy;if(e.classList.contains(jy))return ev;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(By)?n?Gy:zy:n?Xy:Yy}_detectNavbar(){return this._element.closest(Wy)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...ze(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const s=Y.find(Ky,this._menu).filter(r=>sr(r));s.length&&hu(s,n,e===Kc,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Iy||e.type==="keyup"&&e.key!==qc)return;const n=Y.find(Uy);for(const s of n){const r=yt.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(e.target)&&(e.type==="keyup"&&e.key===qc||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:r._element};e.type==="click"&&(a.clickEvent=e),r._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),s=e.key===Py,r=[Dy,Kc].includes(e.key);if(!r&&!s||n&&!s)return;e.preventDefault();const i=this.matches(jn)?this:Y.prev(this,jn)[0]||Y.next(this,jn)[0]||Y.findOne(jn,e.delegateTarget.parentNode),o=yt.getOrCreateInstance(i);if(r){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}M.on(document,Ph,jn,yt.dataApiKeydownHandler);M.on(document,Ph,Yi,yt.dataApiKeydownHandler);M.on(document,Nh,yt.clearMenus);M.on(document,xy,yt.clearMenus);M.on(document,Nh,jn,function(t){t.preventDefault(),yt.getOrCreateInstance(this).toggle()});Ct(yt);const Dh="backdrop",sv="fade",zc="show",Gc=`mousedown.bs.${Dh}`,rv={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},iv={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ih extends ni{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return rv}static get DefaultType(){return iv}static get NAME(){return Dh}show(e){if(!this._config.isVisible){ze(e);return}this._append();const n=this._getElement();this._config.isAnimated&&ti(n),n.classList.add(zc),this._emulateAnimation(()=>{ze(e)})}hide(e){if(!this._config.isVisible){ze(e);return}this._getElement().classList.remove(zc),this._emulateAnimation(()=>{this.dispose(),ze(e)})}dispose(){this._isAppended&&(M.off(this._element,Gc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(sv),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=An(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),M.on(e,Gc,()=>{ze(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){_h(e,this._getElement(),this._config.isAnimated)}}const ov="focustrap",av="bs.focustrap",ho=`.${av}`,lv=`focusin${ho}`,uv=`keydown.tab${ho}`,cv="Tab",fv="forward",Yc="backward",dv={autofocus:!0,trapElement:null},hv={autofocus:"boolean",trapElement:"element"};class Rh extends ni{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return dv}static get DefaultType(){return hv}static get NAME(){return ov}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,ho),M.on(document,lv,e=>this._handleFocusin(e)),M.on(document,uv,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,ho))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=Y.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Yc?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===cv&&(this._lastTabNavDirection=e.shiftKey?Yc:fv)}}const Xc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Jc=".sticky-top",Oi="padding-right",Zc="margin-right";class ul{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Oi,n=>n+e),this._setElementAttributes(Xc,Oi,n=>n+e),this._setElementAttributes(Jc,Zc,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Oi),this._resetElementAttributes(Xc,Oi),this._resetElementAttributes(Jc,Zc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const s=e.style.getPropertyValue(n);s&&Qt.setDataAttribute(e,n,s)}_resetElementAttributes(e,n){const s=r=>{const i=Qt.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}Qt.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,n){if(Zt(e)){n(e);return}for(const s of Y.find(e,this._element))n(s)}}const pv="modal",mv="bs.modal",At=`.${mv}`,gv=".data-api",_v="Escape",Ev=`hide${At}`,yv=`hidePrevented${At}`,Lh=`hidden${At}`,Fh=`show${At}`,vv=`shown${At}`,bv=`resize${At}`,Av=`click.dismiss${At}`,Tv=`mousedown.dismiss${At}`,Cv=`keydown.dismiss${At}`,Sv=`click${At}${gv}`,Qc="modal-open",wv="fade",ef="show",Oa="modal-static",Ov=".modal.show",kv=".modal-dialog",Nv=".modal-body",Pv='[data-bs-toggle="modal"]',Dv={backdrop:!0,focus:!0,keyboard:!0},Iv={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ts extends Pt{constructor(e,n){super(e,n),this._dialog=Y.findOne(kv,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ul,this._addEventListeners()}static get Default(){return Dv}static get DefaultType(){return Iv}static get NAME(){return pv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||M.trigger(this._element,Fh,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||M.trigger(this._element,Ev).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ef),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){M.off(window,At),M.off(this._dialog,At),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ih({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Y.findOne(Nv,this._dialog);n&&(n.scrollTop=0),ti(this._element),this._element.classList.add(ef);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,vv,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,Cv,e=>{if(e.key===_v){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),M.on(window,bv,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,Tv,e=>{M.one(this._element,Av,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Qc),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,Lh)})}_isAnimated(){return this._element.classList.contains(wv)}_triggerBackdropTransition(){if(M.trigger(this._element,yv).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Oa)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!e){const r=bt()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&e){const r=bt()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const s=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](n)}})}}M.on(document,Sv,Pv,function(t){const e=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),M.one(e,Fh,r=>{r.defaultPrevented||M.one(e,Lh,()=>{sr(this)&&this.focus()})});const n=Y.findOne(Ov);n&&ts.getInstance(n).hide(),ts.getOrCreateInstance(e).toggle(this)});Ho(ts);Ct(ts);const Rv="offcanvas",Lv="bs.offcanvas",an=`.${Lv}`,Mh=".data-api",Fv=`load${an}${Mh}`,Mv="Escape",tf="show",nf="showing",sf="hiding",xv="offcanvas-backdrop",xh=".offcanvas.show",Bv=`show${an}`,$v=`shown${an}`,Vv=`hide${an}`,rf=`hidePrevented${an}`,Bh=`hidden${an}`,Hv=`resize${an}`,jv=`click${an}${Mh}`,Uv=`keydown.dismiss${an}`,Wv='[data-bs-toggle="offcanvas"]',qv={backdrop:!0,keyboard:!0,scroll:!1},Kv={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class rn extends Pt{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qv}static get DefaultType(){return Kv}static get NAME(){return Rv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||M.trigger(this._element,Bv,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ul().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(nf);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(tf),this._element.classList.remove(nf),M.trigger(this._element,$v,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||M.trigger(this._element,Vv).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(sf),this._backdrop.hide();const n=()=>{this._element.classList.remove(tf,sf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ul().reset(),M.trigger(this._element,Bh)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){M.trigger(this._element,rf);return}this.hide()},n=!!this._config.backdrop;return new Ih({className:xv,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_addEventListeners(){M.on(this._element,Uv,e=>{if(e.key===Mv){if(this._config.keyboard){this.hide();return}M.trigger(this._element,rf)}})}static jQueryInterface(e){return this.each(function(){const n=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}M.on(document,jv,Wv,function(t){const e=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Tn(this))return;M.one(e,Bh,()=>{sr(this)&&this.focus()});const n=Y.findOne(xh);n&&n!==e&&rn.getInstance(n).hide(),rn.getOrCreateInstance(e).toggle(this)});M.on(window,Fv,()=>{for(const t of Y.find(xh))rn.getOrCreateInstance(t).show()});M.on(window,Hv,()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&rn.getOrCreateInstance(t).hide()});Ho(rn);Ct(rn);const zv=/^aria-[\w-]*$/i,$h={"*":["class","dir","id","lang","role",zv],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Gv=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xv=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?Gv.has(n)?!!Yv.test(t.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function Jv(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const r=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)Xv(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const Zv="TemplateFactory",Qv={allowList:$h,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},eb={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tb={entry:"(string|element|function|null)",selector:"(string|element)"};class nb extends ni{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Qv}static get DefaultType(){return eb}static get NAME(){return Zv}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);const n=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,s]of Object.entries(e))super._typeCheckConfig({selector:n,entry:s},tb)}_setContent(e,n,s){const r=Y.findOne(s,e);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Zt(n)){this._putElementInTemplate(An(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(e){return this._config.sanitize?Jv(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return ze(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const sb="tooltip",rb=new Set(["sanitize","allowList","sanitizeFn"]),ka="fade",ib="modal",ki="show",ob=".tooltip-inner",of=`.${ib}`,af="hide.bs.modal",gr="hover",Na="focus",ab="click",lb="manual",ub="hide",cb="hidden",fb="show",db="shown",hb="inserted",pb="click",mb="focusin",gb="focusout",_b="mouseenter",Eb="mouseleave",yb={AUTO:"auto",TOP:"top",RIGHT:bt()?"left":"right",BOTTOM:"bottom",LEFT:bt()?"right":"left"},vb={allowList:$h,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},bb={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class In extends Pt{constructor(e,n){if(typeof dh>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return vb}static get DefaultType(){return bb}static get NAME(){return sb}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(of),af,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=M.trigger(this._element,this.constructor.eventName(fb)),s=(mh(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),M.trigger(this._element,this.constructor.eventName(hb))),this._popper=this._createPopper(r),r.classList.add(ki),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))M.on(a,"mouseover",co);const o=()=>{M.trigger(this._element,this.constructor.eventName(db)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||M.trigger(this._element,this.constructor.eventName(ub)).defaultPrevented)return;if(this._getTipElement().classList.remove(ki),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))M.off(r,"mouseover",co);this._activeTrigger[ab]=!1,this._activeTrigger[Na]=!1,this._activeTrigger[gr]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.eventName(cb)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(ka,ki),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=aE(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(ka),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new nb({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ob]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ka)}_isShown(){return this.tip&&this.tip.classList.contains(ki)}_createPopper(e){const n=ze(this._config.placement,[this,e,this._element]),s=yb[n.toUpperCase()];return du(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return ze(e,[this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...ze(this._config.popperConfig,[n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")M.on(this._element,this.constructor.eventName(pb),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==lb){const s=n===gr?this.constructor.eventName(_b):this.constructor.eventName(mb),r=n===gr?this.constructor.eventName(Eb):this.constructor.eventName(gb);M.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Na:gr]=!0,o._enter()}),M.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Na:gr]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(of),af,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Qt.getDataAttributes(this._element);for(const s of Object.keys(n))rb.has(s)&&delete n[s];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:An(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(e[n]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=In.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Ct(In);const Ab="popover",Tb=".popover-header",Cb=".popover-body",Sb={...In.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},wb={...In.DefaultType,content:"(null|string|element|function)"};class oi extends In{static get Default(){return Sb}static get DefaultType(){return wb}static get NAME(){return Ab}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Tb]:this._getTitle(),[Cb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=oi.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Ct(oi);const Ob="scrollspy",kb="bs.scrollspy",gu=`.${kb}`,Nb=".data-api",Pb=`activate${gu}`,lf=`click${gu}`,Db=`load${gu}${Nb}`,Ib="dropdown-item",_s="active",Rb='[data-bs-spy="scroll"]',Pa="[href]",Lb=".nav, .list-group",uf=".nav-link",Fb=".nav-item",Mb=".list-group-item",xb=`${uf}, ${Fb} > ${uf}, ${Mb}`,Bb=".dropdown",$b=".dropdown-toggle",Vb={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Hb={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ai extends Pt{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Vb}static get DefaultType(){return Hb}static get NAME(){return Ob}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=An(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,lf),M.on(this._config.target,lf,Pa,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Y.find(Pa,this._config.target);for(const n of e){if(!n.hash||Tn(n))continue;const s=Y.findOne(decodeURI(n.hash),this._element);sr(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(_s),this._activateParents(e),M.trigger(this._element,Pb,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ib)){Y.findOne($b,e.closest(Bb)).classList.add(_s);return}for(const n of Y.parents(e,Lb))for(const s of Y.prev(n,xb))s.classList.add(_s)}_clearActiveClass(e){e.classList.remove(_s);const n=Y.find(`${Pa}.${_s}`,e);for(const s of n)s.classList.remove(_s)}static jQueryInterface(e){return this.each(function(){const n=ai.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(window,Db,()=>{for(const t of Y.find(Rb))ai.getOrCreateInstance(t)});Ct(ai);const jb="tab",Ub="bs.tab",ls=`.${Ub}`,Wb=`hide${ls}`,qb=`hidden${ls}`,Kb=`show${ls}`,zb=`shown${ls}`,Gb=`click${ls}`,Yb=`keydown${ls}`,Xb=`load${ls}`,Jb="ArrowLeft",cf="ArrowRight",Zb="ArrowUp",ff="ArrowDown",Da="Home",df="End",Un="active",hf="fade",Ia="show",Qb="dropdown",e0=".dropdown-toggle",t0=".dropdown-menu",Ra=":not(.dropdown-toggle)",n0='.list-group, .nav, [role="tablist"]',s0=".nav-item, .list-group-item",r0=`.nav-link${Ra}, .list-group-item${Ra}, [role="tab"]${Ra}`,Vh='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',La=`${r0}, ${Vh}`,i0=`.${Un}[data-bs-toggle="tab"], .${Un}[data-bs-toggle="pill"], .${Un}[data-bs-toggle="list"]`;class Cn extends Pt{constructor(e){super(e),this._parent=this._element.closest(n0),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Yb,n=>this._keydown(n)))}static get NAME(){return jb}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),s=n?M.trigger(n,Wb,{relatedTarget:e}):null;M.trigger(e,Kb,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Un),this._activate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ia);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),M.trigger(e,zb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_deactivate(e,n){if(!e)return;e.classList.remove(Un),e.blur(),this._deactivate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ia);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),M.trigger(e,qb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_keydown(e){if(![Jb,cf,Zb,ff,Da,df].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(r=>!Tn(r));let s;if([Da,df].includes(e.key))s=n[e.key===Da?0:n.length-1];else{const r=[cf,ff].includes(e.key);s=hu(n,e.target,r,!0)}s&&(s.focus({preventScroll:!0}),Cn.getOrCreateInstance(s).show())}_getChildren(){return Y.find(La,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",n),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=Y.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(Qb))return;const r=(i,o)=>{const a=Y.findOne(i,s);a&&a.classList.toggle(o,n)};r(e0,Un),r(t0,Ia),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,s){e.hasAttribute(n)||e.setAttribute(n,s)}_elemIsActive(e){return e.classList.contains(Un)}_getInnerElement(e){return e.matches(La)?e:Y.findOne(La,e)}_getOuterElement(e){return e.closest(s0)||e}static jQueryInterface(e){return this.each(function(){const n=Cn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,Gb,Vh,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Tn(this)&&Cn.getOrCreateInstance(this).show()});M.on(window,Xb,()=>{for(const t of Y.find(i0))Cn.getOrCreateInstance(t)});Ct(Cn);const o0="toast",a0="bs.toast",Rn=`.${a0}`,l0=`mouseover${Rn}`,u0=`mouseout${Rn}`,c0=`focusin${Rn}`,f0=`focusout${Rn}`,d0=`hide${Rn}`,h0=`hidden${Rn}`,p0=`show${Rn}`,m0=`shown${Rn}`,g0="fade",pf="hide",Ni="show",Pi="showing",_0={animation:"boolean",autohide:"boolean",delay:"number"},E0={animation:!0,autohide:!0,delay:5e3};class or extends Pt{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return E0}static get DefaultType(){return _0}static get NAME(){return o0}show(){if(M.trigger(this._element,p0).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(g0);const n=()=>{this._element.classList.remove(Pi),M.trigger(this._element,m0),this._maybeScheduleHide()};this._element.classList.remove(pf),ti(this._element),this._element.classList.add(Ni,Pi),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||M.trigger(this._element,d0).defaultPrevented)return;const n=()=>{this._element.classList.add(pf),this._element.classList.remove(Pi,Ni),M.trigger(this._element,h0)};this._element.classList.add(Pi),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ni),super.dispose()}isShown(){return this._element.classList.contains(Ni)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,l0,e=>this._onInteraction(e,!0)),M.on(this._element,u0,e=>this._onInteraction(e,!1)),M.on(this._element,c0,e=>this._onInteraction(e,!0)),M.on(this._element,f0,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=or.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}Ho(or);Ct(or);const y0=Object.freeze(Object.defineProperty({__proto__:null,Alert:si,Button:ri,Carousel:ir,Collapse:Ws,Dropdown:yt,Modal:ts,Offcanvas:rn,Popover:oi,ScrollSpy:ai,Tab:Cn,Toast:or,Tooltip:In},Symbol.toStringTag,{value:"Module"}));let v0=[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));v0.map(function(t){let e={boundary:t.getAttribute("data-bs-boundary")==="viewport"?document.querySelector(".btn"):"clippingParents"};return new yt(t,e)});let b0=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));b0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new In(t,e)});let A0=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));A0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new oi(t,e)});let T0=[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]'));T0.map(function(t){t.addEventListener("click",e=>{e.stopPropagation(),t.classList.toggle("active")})});const C0=()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(s=>s.hash===t).map(s=>{new Cn(s).show()})};C0();let S0=[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]'));S0.map(function(t){return new or(t)});const Hh="tblr-",jh=(t,e)=>{const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?`rgba(${parseInt(n[1],16)}, ${parseInt(n[2],16)}, ${parseInt(n[3],16)}, ${e})`:null},w0=(t,e=1)=>{const n=getComputedStyle(document.body).getPropertyValue(`--${Hh}${t}`).trim();return e!==1?jh(n,e):n},O0=Object.freeze(Object.defineProperty({__proto__:null,getColor:w0,hexToRgba:jh,prefix:Hh},Symbol.toStringTag,{value:"Module"}));globalThis.bootstrap=y0;globalThis.tabler=O0;function Uh(t,e){return function(){return t.apply(e,arguments)}}const{toString:k0}=Object.prototype,{getPrototypeOf:_u}=Object,jo=(t=>e=>{const n=k0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qt=t=>(t=t.toLowerCase(),e=>jo(e)===t),Uo=t=>e=>typeof e===t,{isArray:ar}=Array,Br=Uo("undefined");function N0(t){return t!==null&&!Br(t)&&t.constructor!==null&&!Br(t.constructor)&&vt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wh=qt("ArrayBuffer");function P0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Wh(t.buffer),e}const D0=Uo("string"),vt=Uo("function"),qh=Uo("number"),Wo=t=>t!==null&&typeof t=="object",I0=t=>t===!0||t===!1,Xi=t=>{if(jo(t)!=="object")return!1;const e=_u(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},R0=qt("Date"),L0=qt("File"),F0=qt("Blob"),M0=qt("FileList"),x0=t=>Wo(t)&&vt(t.pipe),B0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||vt(t.append)&&((e=jo(t))==="formdata"||e==="object"&&vt(t.toString)&&t.toString()==="[object FormData]"))},$0=qt("URLSearchParams"),V0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,r;if(typeof t!="object"&&(t=[t]),ar(t))for(s=0,r=t.length;s0;)if(r=n[s],e===r.toLowerCase())return r;return null}const zh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Gh=t=>!Br(t)&&t!==zh;function cl(){const{caseless:t}=Gh(this)&&this||{},e={},n=(s,r)=>{const i=t&&Kh(e,r)||r;Xi(e[i])&&Xi(s)?e[i]=cl(e[i],s):Xi(s)?e[i]=cl({},s):ar(s)?e[i]=s.slice():e[i]=s};for(let s=0,r=arguments.length;s(li(e,(r,i)=>{n&&vt(r)?t[i]=Uh(r,n):t[i]=r},{allOwnKeys:s}),t),j0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),U0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},W0=(t,e,n,s)=>{let r,i,o;const a={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),i=r.length;i-- >0;)o=r[i],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&_u(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},q0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},K0=t=>{if(!t)return null;if(ar(t))return t;let e=t.length;if(!qh(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},z0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_u(Uint8Array)),G0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=s.next())&&!r.done;){const i=r.value;e.call(t,i[0],i[1])}},Y0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},X0=qt("HTMLFormElement"),J0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),mf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Z0=qt("RegExp"),Yh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};li(n,(r,i)=>{let o;(o=e(r,i,t))!==!1&&(s[i]=o||r)}),Object.defineProperties(t,s)},Q0=t=>{Yh(t,(e,n)=>{if(vt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(vt(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},eA=(t,e)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return ar(t)?s(t):s(String(t).split(e)),n},tA=()=>{},nA=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fa="abcdefghijklmnopqrstuvwxyz",gf="0123456789",Xh={DIGIT:gf,ALPHA:Fa,ALPHA_DIGIT:Fa+Fa.toUpperCase()+gf},sA=(t=16,e=Xh.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function rA(t){return!!(t&&vt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const iA=t=>{const e=new Array(10),n=(s,r)=>{if(Wo(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[r]=s;const i=ar(s)?[]:{};return li(s,(o,a)=>{const l=n(o,r+1);!Br(l)&&(i[a]=l)}),e[r]=void 0,i}}return s};return n(t,0)},oA=qt("AsyncFunction"),aA=t=>t&&(Wo(t)||vt(t))&&vt(t.then)&&vt(t.catch),I={isArray:ar,isArrayBuffer:Wh,isBuffer:N0,isFormData:B0,isArrayBufferView:P0,isString:D0,isNumber:qh,isBoolean:I0,isObject:Wo,isPlainObject:Xi,isUndefined:Br,isDate:R0,isFile:L0,isBlob:F0,isRegExp:Z0,isFunction:vt,isStream:x0,isURLSearchParams:$0,isTypedArray:z0,isFileList:M0,forEach:li,merge:cl,extend:H0,trim:V0,stripBOM:j0,inherits:U0,toFlatObject:W0,kindOf:jo,kindOfTest:qt,endsWith:q0,toArray:K0,forEachEntry:G0,matchAll:Y0,isHTMLForm:X0,hasOwnProperty:mf,hasOwnProp:mf,reduceDescriptors:Yh,freezeMethods:Q0,toObjectSet:eA,toCamelCase:J0,noop:tA,toFiniteNumber:nA,findKey:Kh,global:zh,isContextDefined:Gh,ALPHABET:Xh,generateString:sA,isSpecCompliantForm:rA,toJSONObject:iA,isAsyncFn:oA,isThenable:aA};function le(t,e,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}I.inherits(le,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Jh=le.prototype,Zh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Zh[t]={value:t}});Object.defineProperties(le,Zh);Object.defineProperty(Jh,"isAxiosError",{value:!0});le.from=(t,e,n,s,r,i)=>{const o=Object.create(Jh);return I.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),le.call(o,t.message,e,n,s,r),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};const lA=null;function fl(t){return I.isPlainObject(t)||I.isArray(t)}function Qh(t){return I.endsWith(t,"[]")?t.slice(0,-2):t}function _f(t,e,n){return t?t.concat(e).map(function(r,i){return r=Qh(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function uA(t){return I.isArray(t)&&!t.some(fl)}const cA=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function qo(t,e,n){if(!I.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,y){return!I.isUndefined(y[h])});const s=n.metaTokens,r=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(e);if(!I.isFunction(r))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(I.isDate(m))return m.toISOString();if(!l&&I.isBlob(m))throw new le("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(m)||I.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,h,y){let E=m;if(m&&!y&&typeof m=="object"){if(I.endsWith(h,"{}"))h=s?h:h.slice(0,-2),m=JSON.stringify(m);else if(I.isArray(m)&&uA(m)||(I.isFileList(m)||I.endsWith(h,"[]"))&&(E=I.toArray(m)))return h=Qh(h),E.forEach(function(b,g){!(I.isUndefined(b)||b===null)&&e.append(o===!0?_f([h],g,i):o===null?h:h+"[]",u(b))}),!1}return fl(m)?!0:(e.append(_f(y,h,i),u(m)),!1)}const f=[],_=Object.assign(cA,{defaultVisitor:c,convertValue:u,isVisitable:fl});function p(m,h){if(!I.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));f.push(m),I.forEach(m,function(E,d){(!(I.isUndefined(E)||E===null)&&r.call(e,E,I.isString(d)?d.trim():d,h,_))===!0&&p(E,h?h.concat(d):[d])}),f.pop()}}if(!I.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Ef(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Eu(t,e){this._pairs=[],t&&qo(t,this,e)}const ep=Eu.prototype;ep.append=function(e,n){this._pairs.push([e,n])};ep.toString=function(e){const n=e?function(s){return e.call(this,s,Ef)}:Ef;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function fA(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tp(t,e,n){if(!e)return t;const s=n&&n.encode||fA,r=n&&n.serialize;let i;if(r?i=r(e,n):i=I.isURLSearchParams(e)?e.toString():new Eu(e,n).toString(s),i){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class dA{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,function(s){s!==null&&e(s)})}}const yf=dA,np={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hA=typeof URLSearchParams<"u"?URLSearchParams:Eu,pA=typeof FormData<"u"?FormData:null,mA=typeof Blob<"u"?Blob:null,gA=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),_A=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$t={isBrowser:!0,classes:{URLSearchParams:hA,FormData:pA,Blob:mA},isStandardBrowserEnv:gA,isStandardBrowserWebWorkerEnv:_A,protocols:["http","https","file","blob","url","data"]};function EA(t,e){return qo(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return $t.isNode&&I.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function yA(t){return I.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function vA(t){const e={},n=Object.keys(t);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&I.isArray(r)?r.length:o,l?(I.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!I.isObject(r[o]))&&(r[o]=[]),e(n,s,r[o],i)&&I.isArray(r[o])&&(r[o]=vA(r[o])),!a)}if(I.isFormData(t)&&I.isFunction(t.entries)){const n={};return I.forEachEntry(t,(s,r)=>{e(yA(s),r,n,0)}),n}return null}function bA(t,e,n){if(I.isString(t))try{return(e||JSON.parse)(t),I.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const yu={transitional:np,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=I.isObject(e);if(i&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r&&r?JSON.stringify(sp(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return EA(e,this.formSerializer).toString();if((a=I.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return qo(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),bA(e)):e}],transformResponse:[function(e){const n=this.transitional||yu.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(e&&I.isString(e)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],t=>{yu.headers[t]={}});const vu=yu,AA=I.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),TA=t=>{const e={};let n,s,r;return t&&t.split(` -`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||e[n]&&AA[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},vf=Symbol("internals");function _r(t){return t&&String(t).trim().toLowerCase()}function Ji(t){return t===!1||t==null?t:I.isArray(t)?t.map(Ji):String(t)}function CA(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const SA=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ma(t,e,n,s,r){if(I.isFunction(s))return s.call(this,e,n);if(r&&(e=n),!!I.isString(e)){if(I.isString(s))return e.indexOf(s)!==-1;if(I.isRegExp(s))return s.test(e)}}function wA(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function OA(t,e){const n=I.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(r,i,o){return this[s].call(this,e,r,i,o)},configurable:!0})})}class Ko{constructor(e){e&&this.set(e)}set(e,n,s){const r=this;function i(a,l,u){const c=_r(l);if(!c)throw new Error("header name must be a non-empty string");const f=I.findKey(r,c);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||l]=Ji(a))}const o=(a,l)=>I.forEach(a,(u,c)=>i(u,c,l));return I.isPlainObject(e)||e instanceof this.constructor?o(e,n):I.isString(e)&&(e=e.trim())&&!SA(e)?o(TA(e),n):e!=null&&i(n,e,s),this}get(e,n){if(e=_r(e),e){const s=I.findKey(this,e);if(s){const r=this[s];if(!n)return r;if(n===!0)return CA(r);if(I.isFunction(n))return n.call(this,r,s);if(I.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=_r(e),e){const s=I.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ma(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let r=!1;function i(o){if(o=_r(o),o){const a=I.findKey(s,o);a&&(!n||Ma(s,s[a],a,n))&&(delete s[a],r=!0)}}return I.isArray(e)?e.forEach(i):i(e),r}clear(e){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!e||Ma(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){const n=this,s={};return I.forEach(this,(r,i)=>{const o=I.findKey(s,i);if(o){n[o]=Ji(r),delete n[i];return}const a=e?wA(i):String(i).trim();a!==i&&delete n[i],n[a]=Ji(r),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return I.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=e&&I.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(r=>s.set(r)),s}static accessor(e){const s=(this[vf]=this[vf]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=_r(o);s[a]||(OA(r,o),s[a]=!0)}return I.isArray(e)?e.forEach(i):i(e),this}}Ko.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Ko.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});I.freezeMethods(Ko);const en=Ko;function xa(t,e){const n=this||vu,s=e||n,r=en.from(s.headers);let i=s.data;return I.forEach(t,function(a){i=a.call(n,i,r.normalize(),e?e.status:void 0)}),r.normalize(),i}function rp(t){return!!(t&&t.__CANCEL__)}function ui(t,e,n){le.call(this,t??"canceled",le.ERR_CANCELED,e,n),this.name="CanceledError"}I.inherits(ui,le,{__CANCEL__:!0});function kA(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new le("Request failed with status code "+n.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const NA=$t.isStandardBrowserEnv?function(){return{write:function(n,s,r,i,o,a){const l=[];l.push(n+"="+encodeURIComponent(s)),I.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),I.isString(i)&&l.push("path="+i),I.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function PA(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function DA(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function ip(t,e){return t&&!PA(e)?DA(t,e):e}const IA=$t.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=I.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function RA(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function LA(t,e){t=t||10;const n=new Array(t),s=new Array(t);let r=0,i=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let f=i,_=0;for(;f!==r;)_+=n[f++],f=f%t;if(r=(r+1)%t,r===i&&(i=(i+1)%t),u-o{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,l=s(a),u=i<=o;n=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-i)/l:void 0,event:r};c[e?"download":"upload"]=!0,t(c)}}const FA=typeof XMLHttpRequest<"u",MA=FA&&function(t){return new Promise(function(n,s){let r=t.data;const i=en.from(t.headers).normalize(),o=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}let u;I.isFormData(r)&&($t.isStandardBrowserEnv||$t.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.getContentType(/^\s*multipart\/form-data/)?I.isString(u=i.getContentType())&&i.setContentType(u.replace(/^\s*(multipart\/form-data);+/,"$1")):i.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",h=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+h))}const f=ip(t.baseURL,t.url);c.open(t.method.toUpperCase(),tp(f,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function _(){if(!c)return;const m=en.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:t,request:c};kA(function(d){n(d),l()},function(d){s(d),l()},y),c=null}if("onloadend"in c?c.onloadend=_:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(_)},c.onabort=function(){c&&(s(new le("Request aborted",le.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new le("Network Error",le.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let h=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||np;t.timeoutErrorMessage&&(h=t.timeoutErrorMessage),s(new le(h,y.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,t,c)),c=null},$t.isStandardBrowserEnv){const m=(t.withCredentials||IA(f))&&t.xsrfCookieName&&NA.read(t.xsrfCookieName);m&&i.set(t.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in c&&I.forEach(i.toJSON(),function(h,y){c.setRequestHeader(y,h)}),I.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),o&&o!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",bf(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",bf(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=m=>{c&&(s(!m||m.type?new ui(null,t,c):m),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const p=RA(f);if(p&&$t.protocols.indexOf(p)===-1){s(new le("Unsupported protocol "+p+":",le.ERR_BAD_REQUEST,t));return}c.send(r||null)})},dl={http:lA,xhr:MA};I.forEach(dl,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Af=t=>`- ${t}`,xA=t=>I.isFunction(t)||t===null||t===!1,op={getAdapter:t=>{t=I.isArray(t)?t:[t];const{length:e}=t;let n,s;const r={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?i.length>1?`since : -`+i.map(Af).join(` -`):" "+Af(i[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:dl};function Ba(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ui(null,t)}function Tf(t){return Ba(t),t.headers=en.from(t.headers),t.data=xa.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),op.getAdapter(t.adapter||vu.adapter)(t).then(function(s){return Ba(t),s.data=xa.call(t,t.transformResponse,s),s.headers=en.from(s.headers),s},function(s){return rp(s)||(Ba(t),s&&s.response&&(s.response.data=xa.call(t,t.transformResponse,s.response),s.response.headers=en.from(s.response.headers))),Promise.reject(s)})}const Cf=t=>t instanceof en?t.toJSON():t;function qs(t,e){e=e||{};const n={};function s(u,c,f){return I.isPlainObject(u)&&I.isPlainObject(c)?I.merge.call({caseless:f},u,c):I.isPlainObject(c)?I.merge({},c):I.isArray(c)?c.slice():c}function r(u,c,f){if(I.isUndefined(c)){if(!I.isUndefined(u))return s(void 0,u,f)}else return s(u,c,f)}function i(u,c){if(!I.isUndefined(c))return s(void 0,c)}function o(u,c){if(I.isUndefined(c)){if(!I.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,f){if(f in e)return s(u,c);if(f in t)return s(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>r(Cf(u),Cf(c),!0)};return I.forEach(Object.keys(Object.assign({},t,e)),function(c){const f=l[c]||r,_=f(t[c],e[c],c);I.isUndefined(_)&&f!==a||(n[c]=_)}),n}const ap="1.5.1",bu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{bu[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sf={};bu.transitional=function(e,n,s){function r(i,o){return"[Axios v"+ap+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(e===!1)throw new le(r(o," has been removed"+(n?" in "+n:"")),le.ERR_DEPRECATED);return n&&!Sf[o]&&(Sf[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};function BA(t,e,n){if(typeof t!="object")throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let r=s.length;for(;r-- >0;){const i=s[r],o=e[i];if(o){const a=t[i],l=a===void 0||o(a,i,t);if(l!==!0)throw new le("option "+i+" must be "+l,le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new le("Unknown option "+i,le.ERR_BAD_OPTION)}}const hl={assertOptions:BA,validators:bu},fn=hl.validators;class po{constructor(e){this.defaults=e,this.interceptors={request:new yf,response:new yf}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=qs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&hl.assertOptions(s,{silentJSONParsing:fn.transitional(fn.boolean),forcedJSONParsing:fn.transitional(fn.boolean),clarifyTimeoutError:fn.transitional(fn.boolean)},!1),r!=null&&(I.isFunction(r)?n.paramsSerializer={serialize:r}:hl.assertOptions(r,{encode:fn.function,serialize:fn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&I.merge(i.common,i[n.method]);i&&I.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=en.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,f=0,_;if(!l){const m=[Tf.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),_=m.length,c=Promise.resolve(n);f<_;)c=c.then(m[f++],m[f++]);return c}_=a.length;let p=n;for(f=0;f<_;){const m=a[f++],h=a[f++];try{p=m(p)}catch(y){h.call(this,y);break}}try{c=Tf.call(this,p)}catch(m){return Promise.reject(m)}for(f=0,_=u.length;f<_;)c=c.then(u[f++],u[f++]);return c}getUri(e){e=qs(this.defaults,e);const n=ip(e.baseURL,e.url);return tp(n,e.params,e.paramsSerializer)}}I.forEach(["delete","get","head","options"],function(e){po.prototype[e]=function(n,s){return this.request(qs(s||{},{method:e,url:n,data:(s||{}).data}))}});I.forEach(["post","put","patch"],function(e){function n(s){return function(i,o,a){return this.request(qs(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}po.prototype[e]=n(),po.prototype[e+"Form"]=n(!0)});const Zi=po;class Au{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},e(function(i,o,a){s.reason||(s.reason=new ui(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Au(function(r){e=r}),cancel:e}}}const $A=Au;function VA(t){return function(n){return t.apply(null,n)}}function HA(t){return I.isObject(t)&&t.isAxiosError===!0}const pl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pl).forEach(([t,e])=>{pl[e]=t});const jA=pl;function lp(t){const e=new Zi(t),n=Uh(Zi.prototype.request,e);return I.extend(n,Zi.prototype,e,{allOwnKeys:!0}),I.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return lp(qs(t,r))},n}const Oe=lp(vu);Oe.Axios=Zi;Oe.CanceledError=ui;Oe.CancelToken=$A;Oe.isCancel=rp;Oe.VERSION=ap;Oe.toFormData=qo;Oe.AxiosError=le;Oe.Cancel=Oe.CanceledError;Oe.all=function(e){return Promise.all(e)};Oe.spread=VA;Oe.isAxiosError=HA;Oe.mergeConfig=qs;Oe.AxiosHeaders=en;Oe.formToJSON=t=>sp(I.isHTMLForm(t)?new FormData(t):t);Oe.getAdapter=op.getAdapter;Oe.HttpStatusCode=jA;Oe.default=Oe;const st=Oe;window.axios=st;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";function Qe(t,e){const n=Object.create(null),s=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const pe={},Ns=[],Ue=()=>{},Qi=()=>!1,UA=/^on[^a-z]/,us=t=>UA.test(t),Tu=t=>t.startsWith("onUpdate:"),ae=Object.assign,Cu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},WA=Object.prototype.hasOwnProperty,ue=(t,e)=>WA.call(t,e),U=Array.isArray,Ps=t=>lr(t)==="[object Map]",cs=t=>lr(t)==="[object Set]",wf=t=>lr(t)==="[object Date]",qA=t=>lr(t)==="[object RegExp]",Z=t=>typeof t=="function",ne=t=>typeof t=="string",Sn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",Su=t=>me(t)&&Z(t.then)&&Z(t.catch),up=Object.prototype.toString,lr=t=>up.call(t),KA=t=>lr(t).slice(8,-1),cp=t=>lr(t)==="[object Object]",wu=t=>ne(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,zn=Qe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zA=Qe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),zo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},GA=/-(\w)/g,we=zo(t=>t.replace(GA,(e,n)=>n?n.toUpperCase():"")),YA=/\B([A-Z])/g,rt=zo(t=>t.replace(YA,"-$1").toLowerCase()),fs=zo(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ds=zo(t=>t?`on${fs(t)}`:""),Ks=(t,e)=>!Object.is(t,e),Is=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},go=t=>{const e=parseFloat(t);return isNaN(e)?t:e},_o=t=>{const e=ne(t)?Number(t):NaN;return isNaN(e)?t:e};let Of;const ml=()=>Of||(Of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),XA="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",JA=Qe(XA);function ci(t){if(U(t)){const e={};for(let n=0;n{if(n){const s=n.split(QA);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function fi(t){let e="";if(ne(t))e=t;else if(U(t))for(let n=0;nwn(n,e))}const fT=t=>ne(t)?t:t==null?"":U(t)||me(t)&&(t.toString===up||!Z(t.toString))?JSON.stringify(t,hp,2):String(t),hp=(t,e)=>e&&e.__v_isRef?hp(t,e.value):Ps(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:cs(e)?{[`Set(${e.size})`]:[...e.values()]}:me(e)&&!U(e)&&!cp(e)?String(e):e;let tt;class Ou{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},gp=t=>(t.w&On)>0,_p=t=>(t.n&On)>0,dT=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(c==="length"||c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":U(t)?wu(n)&&a.push(o.get("length")):(a.push(o.get(Gn)),Ps(t)&&a.push(o.get(_l)));break;case"delete":U(t)||(a.push(o.get(Gn)),Ps(t)&&a.push(o.get(_l)));break;case"set":Ps(t)&&a.push(o.get(Gn));break}if(a.length===1)a[0]&&El(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);El(Pu(l))}}function El(t,e){const n=U(t)?t:[...t];for(const s of n)s.computed&&Nf(s);for(const s of n)s.computed||Nf(s)}function Nf(t,e){(t!==wt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function gT(t,e){var n;return(n=Eo.get(t))==null?void 0:n.get(e)}const _T=Qe("__proto__,__v_isRef,__isVue"),vp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Sn)),ET=Yo(),yT=Yo(!1,!0),vT=Yo(!0),bT=Yo(!0,!0),Pf=AT();function AT(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Q(this);for(let i=0,o=this.length;i{t[e]=function(...n){ur();const s=Q(this)[e].apply(this,n);return cr(),s}}),t}function TT(t){const e=Q(this);return Ze(e,"has",t),e.hasOwnProperty(t)}function Yo(t=!1,e=!1){return function(s,r,i){if(r==="__v_isReactive")return!t;if(r==="__v_isReadonly")return t;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&i===(t?e?Op:wp:e?Sp:Cp).get(s))return s;const o=U(s);if(!t){if(o&&ue(Pf,r))return Reflect.get(Pf,r,i);if(r==="hasOwnProperty")return TT}const a=Reflect.get(s,r,i);return(Sn(r)?vp.has(r):_T(r))||(t||Ze(s,"get",r),e)?a:be(a)?o&&wu(r)?a:a.value:me(a)?t?Iu(a):Dt(a):a}}const CT=bp(),ST=bp(!0);function bp(t=!1){return function(n,s,r,i){let o=n[s];if(ns(o)&&be(o)&&!be(r))return!1;if(!t&&(!$r(r)&&!ns(r)&&(o=Q(o),r=Q(r)),!U(n)&&be(o)&&!be(r)))return o.value=r,!0;const a=U(n)&&wu(s)?Number(s)t,Xo=t=>Reflect.getPrototypeOf(t);function Di(t,e,n=!1,s=!1){t=t.__v_raw;const r=Q(t),i=Q(e);n||(e!==i&&Ze(r,"get",e),Ze(r,"get",i));const{has:o}=Xo(r),a=s?Du:n?Lu:Vr;if(o.call(r,e))return a(t.get(e));if(o.call(r,i))return a(t.get(i));t!==r&&t.get(e)}function Ii(t,e=!1){const n=this.__v_raw,s=Q(n),r=Q(t);return e||(t!==r&&Ze(s,"has",t),Ze(s,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function Ri(t,e=!1){return t=t.__v_raw,!e&&Ze(Q(t),"iterate",Gn),Reflect.get(t,"size",t)}function Df(t){t=Q(t);const e=Q(this);return Xo(e).has.call(e,t)||(e.add(t),on(e,"add",t,t)),this}function If(t,e){e=Q(e);const n=Q(this),{has:s,get:r}=Xo(n);let i=s.call(n,t);i||(t=Q(t),i=s.call(n,t));const o=r.call(n,t);return n.set(t,e),i?Ks(e,o)&&on(n,"set",t,e):on(n,"add",t,e),this}function Rf(t){const e=Q(this),{has:n,get:s}=Xo(e);let r=n.call(e,t);r||(t=Q(t),r=n.call(e,t)),s&&s.call(e,t);const i=e.delete(t);return r&&on(e,"delete",t,void 0),i}function Lf(){const t=Q(this),e=t.size!==0,n=t.clear();return e&&on(t,"clear",void 0,void 0),n}function Li(t,e){return function(s,r){const i=this,o=i.__v_raw,a=Q(o),l=e?Du:t?Lu:Vr;return!t&&Ze(a,"iterate",Gn),o.forEach((u,c)=>s.call(r,l(u),l(c),i))}}function Fi(t,e,n){return function(...s){const r=this.__v_raw,i=Q(r),o=Ps(i),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=r[t](...s),c=n?Du:e?Lu:Vr;return!e&&Ze(i,"iterate",l?_l:Gn),{next(){const{value:f,done:_}=u.next();return _?{value:f,done:_}:{value:a?[c(f[0]),c(f[1])]:c(f),done:_}},[Symbol.iterator](){return this}}}}function dn(t){return function(...e){return t==="delete"?!1:this}}function DT(){const t={get(i){return Di(this,i)},get size(){return Ri(this)},has:Ii,add:Df,set:If,delete:Rf,clear:Lf,forEach:Li(!1,!1)},e={get(i){return Di(this,i,!1,!0)},get size(){return Ri(this)},has:Ii,add:Df,set:If,delete:Rf,clear:Lf,forEach:Li(!1,!0)},n={get(i){return Di(this,i,!0)},get size(){return Ri(this,!0)},has(i){return Ii.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Li(!0,!1)},s={get(i){return Di(this,i,!0,!0)},get size(){return Ri(this,!0)},has(i){return Ii.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Li(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Fi(i,!1,!1),n[i]=Fi(i,!0,!1),e[i]=Fi(i,!1,!0),s[i]=Fi(i,!0,!0)}),[t,n,e,s]}const[IT,RT,LT,FT]=DT();function Jo(t,e){const n=e?t?FT:LT:t?RT:IT;return(s,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?s:Reflect.get(ue(n,r)&&r in s?n:s,r,i)}const MT={get:Jo(!1,!1)},xT={get:Jo(!1,!0)},BT={get:Jo(!0,!1)},$T={get:Jo(!0,!0)},Cp=new WeakMap,Sp=new WeakMap,wp=new WeakMap,Op=new WeakMap;function VT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function HT(t){return t.__v_skip||!Object.isExtensible(t)?0:VT(KA(t))}function Dt(t){return ns(t)?t:Zo(t,!1,Ap,MT,Cp)}function kp(t){return Zo(t,!1,NT,xT,Sp)}function Iu(t){return Zo(t,!0,Tp,BT,wp)}function jT(t){return Zo(t,!0,PT,$T,Op)}function Zo(t,e,n,s,r){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=r.get(t);if(i)return i;const o=HT(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return r.set(t,a),a}function tn(t){return ns(t)?tn(t.__v_raw):!!(t&&t.__v_isReactive)}function ns(t){return!!(t&&t.__v_isReadonly)}function $r(t){return!!(t&&t.__v_isShallow)}function Ru(t){return tn(t)||ns(t)}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function hi(t){return mo(t,"__v_skip",!0),t}const Vr=t=>me(t)?Dt(t):t,Lu=t=>me(t)?Iu(t):t;function Fu(t){En&&wt&&(t=Q(t),yp(t.dep||(t.dep=Pu())))}function Qo(t,e){t=Q(t);const n=t.dep;n&&El(n)}function be(t){return!!(t&&t.__v_isRef===!0)}function Ge(t){return Np(t,!1)}function UT(t){return Np(t,!0)}function Np(t,e){return be(t)?t:new WT(t,e)}class WT{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Q(e),this._value=n?e:Vr(e)}get value(){return Fu(this),this._value}set value(e){const n=this.__v_isShallow||$r(e)||ns(e);e=n?e:Q(e),Ks(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Vr(e),Qo(this))}}function qT(t){Qo(t)}function Mu(t){return be(t)?t.value:t}function KT(t){return Z(t)?t():Mu(t)}const zT={get:(t,e,n)=>Mu(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const r=t[e];return be(r)&&!be(n)?(r.value=n,!0):Reflect.set(t,e,n,s)}};function xu(t){return tn(t)?t:new Proxy(t,zT)}class GT{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=e(()=>Fu(this),()=>Qo(this));this._get=n,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function YT(t){return new GT(t)}function Pp(t){const e=U(t)?new Array(t.length):{};for(const n in t)e[n]=Dp(t,n);return e}class XT{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return gT(Q(this._object),this._key)}}class JT{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ZT(t,e,n){return be(t)?t:Z(t)?new JT(t):me(t)&&arguments.length>1?Dp(t,e,n):Ge(t)}function Dp(t,e,n){const s=t[e];return be(s)?s:new XT(t,e,n)}class QT{constructor(e,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new di(e,()=>{this._dirty||(this._dirty=!0,Qo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const e=Q(this);return Fu(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function eC(t,e,n=!1){let s,r;const i=Z(t);return i?(s=t,r=Ue):(s=t.get,r=t.set),new QT(s,r,i||!r,n)}function tC(t,...e){}function nC(t,e){}function nn(t,e,n,s){let r;try{r=s?t(...s):t()}catch(i){ds(i,e,n)}return r}function ot(t,e,n,s){if(Z(t)){const i=nn(t,e,n,s);return i&&Su(i)&&i.catch(o=>{ds(o,e,n)}),i}const r=[];for(let i=0;i>>1;jr(Le[s])Bt&&Le.splice(e,1)}function $u(t){U(t)?Rs.push(...t):(!Yt||!Yt.includes(t,t.allowRecurse?$n+1:$n))&&Rs.push(t),Rp()}function Ff(t,e=Hr?Bt+1:0){for(;ejr(n)-jr(s)),$n=0;$nt.id==null?1/0:t.id,oC=(t,e)=>{const n=jr(t)-jr(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Lp(t){yl=!1,Hr=!0,Le.sort(oC);const e=Ue;try{for(Bt=0;BtCs.emit(r,...i)),Mi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Fp(i,e)}),setTimeout(()=>{Cs||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Mi=[])},3e3)):Mi=[]}function aC(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||pe;let r=n;const i=e.startsWith("update:"),o=i&&e.slice(7);if(o&&o in s){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:_}=s[c]||pe;_&&(r=n.map(p=>ne(p)?p.trim():p)),f&&(r=n.map(go))}let a,l=s[a=Ds(e)]||s[a=Ds(we(e))];!l&&i&&(l=s[a=Ds(rt(e))]),l&&ot(l,t,6,r);const u=s[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,ot(u,t,6,r)}}function Mp(t,e,n=!1){const s=e.emitsCache,r=s.get(t);if(r!==void 0)return r;const i=t.emits;let o={},a=!1;if(!Z(t)){const l=u=>{const c=Mp(u,e,!0);c&&(a=!0,ae(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(me(t)&&s.set(t,null),null):(U(i)?i.forEach(l=>o[l]=null):ae(o,i),me(t)&&s.set(t,o),o)}function ta(t,e){return!t||!us(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,rt(e))||ue(t,e))}let De=null,na=null;function Ur(t){const e=De;return De=t,na=t&&t.type.__scopeId||null,e}function lC(t){na=t}function uC(){na=null}const cC=t=>Vu;function Vu(t,e=De,n){if(!e||t._n)return t;const s=(...r)=>{s._d&&wl(-1);const i=Ur(e);let o;try{o=t(...r)}finally{Ur(i),s._d&&wl(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function eo(t){const{type:e,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:_,setupState:p,ctx:m,inheritAttrs:h}=t;let y,E;const d=Ur(t);try{if(n.shapeFlag&4){const g=r||s;y=nt(c.call(g,g,f,i,p,_,m)),E=l}else{const g=e;y=nt(g.length>1?g(i,{attrs:l,slots:a,emit:u}):g(i,null)),E=e.props?l:dC(l)}}catch(g){Dr.length=0,ds(g,t,1),y=te(Me)}let b=y;if(E&&h!==!1){const g=Object.keys(E),{shapeFlag:A}=b;g.length&&A&7&&(o&&g.some(Tu)&&(E=hC(E,o)),b=Nt(b,E))}return n.dirs&&(b=Nt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),y=b,Ur(d),y}function fC(t){let e;for(let n=0;n{let e;for(const n in t)(n==="class"||n==="style"||us(n))&&((e||(e={}))[n]=t[n]);return e},hC=(t,e)=>{const n={};for(const s in t)(!Tu(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function pC(t,e,n){const{props:s,children:r,component:i}=t,{props:o,children:a,patchFlag:l}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mf(s,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense,mC={name:"Suspense",__isSuspense:!0,process(t,e,n,s,r,i,o,a,l,u){t==null?_C(e,n,s,r,i,o,a,l,u):EC(t,e,n,s,r,o,a,l,u)},hydrate:yC,create:ju,normalize:vC},gC=mC;function Wr(t,e){const n=t.props&&t.props[e];Z(n)&&n()}function _C(t,e,n,s,r,i,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),_=t.suspense=ju(t,r,s,e,f,n,i,o,a,l);u(null,_.pendingBranch=t.ssContent,f,null,s,_,i,o),_.deps>0?(Wr(t,"onPending"),Wr(t,"onFallback"),u(null,t.ssFallback,e,n,s,null,i,o),Ls(_,t.ssFallback)):_.resolve(!1,!0)}function EC(t,e,n,s,r,i,o,a,{p:l,um:u,o:{createElement:c}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const _=e.ssContent,p=e.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:y,isHydrating:E}=f;if(h)f.pendingBranch=_,Ot(_,h)?(l(h,_,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():y&&(l(m,p,n,s,r,null,i,o,a),Ls(f,p))):(f.pendingId++,E?(f.isHydrating=!1,f.activeBranch=h):u(h,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(l(null,_,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():(l(m,p,n,s,r,null,i,o,a),Ls(f,p))):m&&Ot(_,m)?(l(m,_,n,s,r,f,i,o,a),f.resolve(!0)):(l(null,_,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0&&f.resolve()));else if(m&&Ot(_,m))l(m,_,n,s,r,f,i,o,a),Ls(f,_);else if(Wr(e,"onPending"),f.pendingBranch=_,f.pendingId++,l(null,_,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:d,pendingId:b}=f;d>0?setTimeout(()=>{f.pendingId===b&&f.fallback(p)},d):d===0&&f.fallback(p)}}function ju(t,e,n,s,r,i,o,a,l,u,c=!1){const{p:f,m:_,um:p,n:m,o:{parentNode:h,remove:y}}=u;let E;const d=bC(t);d&&e!=null&&e.pendingBranch&&(E=e.pendingId,e.deps++);const b=t.props?_o(t.props.timeout):void 0,g={vnode:t,parent:e,parentComponent:n,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(A=!1,C=!1){const{vnode:O,activeBranch:v,pendingBranch:w,pendingId:k,effects:N,parentComponent:P,container:R}=g;if(g.isHydrating)g.isHydrating=!1;else if(!A){const W=v&&w.transition&&w.transition.mode==="out-in";W&&(v.transition.afterLeave=()=>{k===g.pendingId&&_(w,R,ee,0)});let{anchor:ee}=g;v&&(ee=m(v),p(v,P,g,!0)),W||_(w,R,ee,0)}Ls(g,w),g.pendingBranch=null,g.isInFallback=!1;let B=g.parent,X=!1;for(;B;){if(B.pendingBranch){B.effects.push(...N),X=!0;break}B=B.parent}X||$u(N),g.effects=[],d&&e&&e.pendingBranch&&E===e.pendingId&&(e.deps--,e.deps===0&&!C&&e.resolve()),Wr(O,"onResolve")},fallback(A){if(!g.pendingBranch)return;const{vnode:C,activeBranch:O,parentComponent:v,container:w,isSVG:k}=g;Wr(C,"onFallback");const N=m(O),P=()=>{g.isInFallback&&(f(null,A,w,N,v,null,k,a,l),Ls(g,A))},R=A.transition&&A.transition.mode==="out-in";R&&(O.transition.afterLeave=P),g.isInFallback=!0,p(O,v,null,!0),R||P()},move(A,C,O){g.activeBranch&&_(g.activeBranch,A,C,O),g.container=A},next(){return g.activeBranch&&m(g.activeBranch)},registerDep(A,C){const O=!!g.pendingBranch;O&&g.deps++;const v=A.vnode.el;A.asyncDep.catch(w=>{ds(w,A,0)}).then(w=>{if(A.isUnmounted||g.isUnmounted||g.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:k}=A;Ol(A,w,!1),v&&(k.el=v);const N=!v&&A.subTree.el;C(A,k,h(v||A.subTree.el),v?null:m(A.subTree),g,o,l),N&&y(N),Hu(A,k.el),O&&--g.deps===0&&g.resolve()})},unmount(A,C){g.isUnmounted=!0,g.activeBranch&&p(g.activeBranch,n,A,C),g.pendingBranch&&p(g.pendingBranch,n,A,C)}};return g}function yC(t,e,n,s,r,i,o,a,l){const u=e.suspense=ju(e,s,n,t.parentNode,document.createElement("div"),null,r,i,o,a,!0),c=l(t,u.pendingBranch=e.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),c}function vC(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=xf(s?n.default:n),t.ssFallback=s?xf(n.fallback):te(Me)}function xf(t){let e;if(Z(t)){const n=is&&t._c;n&&(t._d=!1,gi()),t=t(),n&&(t._d=!0,e=Ye,mm())}return U(t)&&(t=fC(t)),t=nt(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Bp(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):$u(t)}function Ls(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t,r=n.el=e.el;s&&s.subTree===n&&(s.vnode.el=r,Hu(s,r))}function bC(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function kr(t,e){return pi(t,null,e)}function $p(t,e){return pi(t,null,{flush:"post"})}function AC(t,e){return pi(t,null,{flush:"sync"})}const xi={};function yn(t,e,n){return pi(t,e,n)}function pi(t,e,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=pe){var a;const l=Nu()===((a=Se)==null?void 0:a.scope)?Se:null;let u,c=!1,f=!1;if(be(t)?(u=()=>t.value,c=$r(t)):tn(t)?(u=()=>t,s=!0):U(t)?(f=!0,c=t.some(g=>tn(g)||$r(g)),u=()=>t.map(g=>{if(be(g))return g.value;if(tn(g))return Wn(g);if(Z(g))return nn(g,l,2)})):Z(t)?e?u=()=>nn(t,l,2):u=()=>{if(!(l&&l.isUnmounted))return _&&_(),ot(t,l,3,[p])}:u=Ue,e&&s){const g=u;u=()=>Wn(g())}let _,p=g=>{_=d.onStop=()=>{nn(g,l,4)}},m;if(Gs)if(p=Ue,e?n&&ot(e,l,3,[u(),f?[]:void 0,p]):u(),r==="sync"){const g=Om();m=g.__watcherHandles||(g.__watcherHandles=[])}else return Ue;let h=f?new Array(t.length).fill(xi):xi;const y=()=>{if(d.active)if(e){const g=d.run();(s||c||(f?g.some((A,C)=>Ks(A,h[C])):Ks(g,h)))&&(_&&_(),ot(e,l,3,[g,h===xi?void 0:f&&h[0]===xi?[]:h,p]),h=g)}else d.run()};y.allowRecurse=!!e;let E;r==="sync"?E=y:r==="post"?E=()=>Ie(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),E=()=>ea(y));const d=new di(u,E);e?n?y():h=d.run():r==="post"?Ie(d.run.bind(d),l&&l.suspense):d.run();const b=()=>{d.stop(),l&&l.scope&&Cu(l.scope.effects,d)};return m&&m.push(b),b}function TC(t,e,n){const s=this.proxy,r=ne(t)?t.includes(".")?Vp(s,t):()=>s[t]:t.bind(s,s);let i;Z(e)?i=e:(i=e.handler,n=e);const o=Se;kn(this);const a=pi(r,i.bind(s),n);return o?kn(o):vn(),a}function Vp(t,e){const n=e.split(".");return()=>{let s=t;for(let r=0;r{Wn(n,e)});else if(cp(t))for(const n in t)Wn(t[n],e);return t}function CC(t,e){const n=De;if(n===null)return t;const s=la(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let i=0;i{t.isMounted=!0}),oa(()=>{t.isUnmounting=!0}),t}const ht=[Function,Array],Wu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ht,onEnter:ht,onAfterEnter:ht,onEnterCancelled:ht,onBeforeLeave:ht,onLeave:ht,onAfterLeave:ht,onLeaveCancelled:ht,onBeforeAppear:ht,onAppear:ht,onAfterAppear:ht,onAppearCancelled:ht},SC={name:"BaseTransition",props:Wu,setup(t,{slots:e}){const n=un(),s=Uu();let r;return()=>{const i=e.default&&sa(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const h of i)if(h.type!==Me){o=h;break}}const a=Q(t),{mode:l}=a;if(s.isLeaving)return $a(o);const u=Bf(o);if(!u)return $a(o);const c=zs(u,a,s,n);ss(u,c);const f=n.subTree,_=f&&Bf(f);let p=!1;const{getTransitionKey:m}=u.type;if(m){const h=m();r===void 0?r=h:h!==r&&(r=h,p=!0)}if(_&&_.type!==Me&&(!Ot(u,_)||p)){const h=zs(_,a,s,n);if(ss(_,h),l==="out-in")return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},$a(o);l==="in-out"&&u.type!==Me&&(h.delayLeave=(y,E,d)=>{const b=jp(s,_);b[String(_.key)]=_,y._leaveCb=()=>{E(),y._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=d})}return o}}},Hp=SC;function jp(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function zs(t,e,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:_,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:h,onAppear:y,onAfterAppear:E,onAppearCancelled:d}=e,b=String(t.key),g=jp(n,t),A=(v,w)=>{v&&ot(v,s,9,w)},C=(v,w)=>{const k=w[1];A(v,w),U(v)?v.every(N=>N.length<=1)&&k():v.length<=1&&k()},O={mode:i,persisted:o,beforeEnter(v){let w=a;if(!n.isMounted)if(r)w=h||a;else return;v._leaveCb&&v._leaveCb(!0);const k=g[b];k&&Ot(t,k)&&k.el._leaveCb&&k.el._leaveCb(),A(w,[v])},enter(v){let w=l,k=u,N=c;if(!n.isMounted)if(r)w=y||l,k=E||u,N=d||c;else return;let P=!1;const R=v._enterCb=B=>{P||(P=!0,B?A(N,[v]):A(k,[v]),O.delayedLeave&&O.delayedLeave(),v._enterCb=void 0)};w?C(w,[v,R]):R()},leave(v,w){const k=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return w();A(f,[v]);let N=!1;const P=v._leaveCb=R=>{N||(N=!0,w(),R?A(m,[v]):A(p,[v]),v._leaveCb=void 0,g[k]===t&&delete g[k])};g[k]=t,_?C(_,[v,P]):P()},clone(v){return zs(v,e,n,s)}};return O}function $a(t){if(mi(t))return t=Nt(t),t.children=null,t}function Bf(t){return mi(t)?t.children?t.children[0]:void 0:t}function ss(t,e){t.shapeFlag&6&&t.component?ss(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function sa(t,e=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iae({name:t.name},e,{setup:t}))():t}const Yn=t=>!!t.type.__asyncLoader;function Up(t){Z(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:a}=t;let l=null,u,c=0;const f=()=>(c++,l=null,_()),_=()=>{let p;return l||(p=l=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((h,y)=>{a(m,()=>h(f()),()=>y(m),c+1)});throw m}).then(m=>p!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return hs({name:"AsyncComponentWrapper",__asyncLoader:_,get __asyncResolved(){return u},setup(){const p=Se;if(u)return()=>Va(u,p);const m=d=>{l=null,ds(d,p,13,!s)};if(o&&p.suspense||Gs)return _().then(d=>()=>Va(d,p)).catch(d=>(m(d),()=>s?te(s,{error:d}):null));const h=Ge(!1),y=Ge(),E=Ge(!!r);return r&&setTimeout(()=>{E.value=!1},r),i!=null&&setTimeout(()=>{if(!h.value&&!y.value){const d=new Error(`Async component timed out after ${i}ms.`);m(d),y.value=d}},i),_().then(()=>{h.value=!0,p.parent&&mi(p.parent.vnode)&&ea(p.parent.update)}).catch(d=>{m(d),y.value=d}),()=>{if(h.value&&u)return Va(u,p);if(y.value&&s)return te(s,{error:y.value});if(n&&!E.value)return te(n)}}})}function Va(t,e){const{ref:n,props:s,children:r,ce:i}=e.vnode,o=te(t,s,r);return o.ref=n,o.ce=i,delete e.vnode.ce,o}const mi=t=>t.type.__isKeepAlive,wC={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=un(),s=n.ctx;if(!s.renderer)return()=>{const d=e.default&&e.default();return d&&d.length===1?d[0]:d};const r=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=s,_=f("div");s.activate=(d,b,g,A,C)=>{const O=d.component;u(d,b,g,0,a),l(O.vnode,d,b,g,O,a,A,d.slotScopeIds,C),Ie(()=>{O.isDeactivated=!1,O.a&&Is(O.a);const v=d.props&&d.props.onVnodeMounted;v&&Ke(v,O.parent,d)},a)},s.deactivate=d=>{const b=d.component;u(d,_,null,1,a),Ie(()=>{b.da&&Is(b.da);const g=d.props&&d.props.onVnodeUnmounted;g&&Ke(g,b.parent,d),b.isDeactivated=!0},a)};function p(d){Ha(d),c(d,n,a,!0)}function m(d){r.forEach((b,g)=>{const A=Nl(b.type);A&&(!d||!d(A))&&h(g)})}function h(d){const b=r.get(d);!o||!Ot(b,o)?p(b):o&&Ha(o),r.delete(d),i.delete(d)}yn(()=>[t.include,t.exclude],([d,b])=>{d&&m(g=>Tr(d,g)),b&&m(g=>!Tr(b,g))},{flush:"post",deep:!0});let y=null;const E=()=>{y!=null&&r.set(y,ja(n.subTree))};return ps(E),ia(E),oa(()=>{r.forEach(d=>{const{subTree:b,suspense:g}=n,A=ja(b);if(d.type===A.type&&d.key===A.key){Ha(A);const C=A.component.da;C&&Ie(C,g);return}p(d)})}),()=>{if(y=null,!e.default)return null;const d=e.default(),b=d[0];if(d.length>1)return o=null,d;if(!Ut(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let g=ja(b);const A=g.type,C=Nl(Yn(g)?g.type.__asyncResolved||{}:A),{include:O,exclude:v,max:w}=t;if(O&&(!C||!Tr(O,C))||v&&C&&Tr(v,C))return o=g,b;const k=g.key==null?A:g.key,N=r.get(k);return g.el&&(g=Nt(g),b.shapeFlag&128&&(b.ssContent=g)),y=k,N?(g.el=N.el,g.component=N.component,g.transition&&ss(g,g.transition),g.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),w&&i.size>parseInt(w,10)&&h(i.values().next().value)),g.shapeFlag|=256,o=g,xp(b.type)?b:g}}},OC=wC;function Tr(t,e){return U(t)?t.some(n=>Tr(n,e)):ne(t)?t.split(",").includes(e):qA(t)?t.test(e):!1}function Wp(t,e){Kp(t,"a",e)}function qp(t,e){Kp(t,"da",e)}function Kp(t,e,n=Se){const s=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(ra(e,s,n),n){let r=n.parent;for(;r&&r.parent;)mi(r.parent.vnode)&&kC(s,e,n,r),r=r.parent}}function kC(t,e,n,s){const r=ra(e,t,s,!0);dr(()=>{Cu(s[e],r)},n)}function Ha(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function ja(t){return t.shapeFlag&128?t.ssContent:t}function ra(t,e,n=Se,s=!1){if(n){const r=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;ur(),kn(n);const a=ot(e,n,t,o);return vn(),cr(),a});return s?r.unshift(i):r.push(i),i}}const ln=t=>(e,n=Se)=>(!Gs||t==="sp")&&ra(t,(...s)=>e(...s),n),zp=ln("bm"),ps=ln("m"),Gp=ln("bu"),ia=ln("u"),oa=ln("bum"),dr=ln("um"),Yp=ln("sp"),Xp=ln("rtg"),Jp=ln("rtc");function Zp(t,e=Se){ra("ec",t,e)}const qu="components",NC="directives";function PC(t,e){return Ku(qu,t,!0,e)||t}const Qp=Symbol.for("v-ndc");function DC(t){return ne(t)?Ku(qu,t,!1)||t:t||Qp}function IC(t){return Ku(NC,t)}function Ku(t,e,n=!0,s=!1){const r=De||Se;if(r){const i=r.type;if(t===qu){const a=Nl(i,!1);if(a&&(a===e||a===we(e)||a===fs(we(e))))return i}const o=$f(r[t]||i[t],e)||$f(r.appContext[t],e);return!o&&s?i:o}}function $f(t,e){return t&&(t[e]||t[we(e)]||t[fs(we(e))])}function RC(t,e,n,s){let r;const i=n&&n[s];if(U(t)||ne(t)){r=new Array(t.length);for(let o=0,a=t.length;oe(o,a,void 0,i&&i[a]));else{const o=Object.keys(t);r=new Array(o.length);for(let a=0,l=o.length;a{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return t}function FC(t,e,n={},s,r){if(De.isCE||De.parent&&Yn(De.parent)&&De.parent.isCE)return e!=="default"&&(n.name=e),te("slot",n,s&&s());let i=t[e];i&&i._c&&(i._d=!1),gi();const o=i&&em(i(n)),a=Xu(Pe,{key:n.key||o&&o.key||`_${e}`},o||(s?s():[]),o&&t._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function em(t){return t.some(e=>Ut(e)?!(e.type===Me||e.type===Pe&&!em(e.children)):!0)?t:null}function MC(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:Ds(s)]=t[s];return n}const vl=t=>t?bm(t)?la(t)||t.proxy:vl(t.parent):null,Nr=ae(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>vl(t.parent),$root:t=>vl(t.root),$emit:t=>t.emit,$options:t=>zu(t),$forceUpdate:t=>t.f||(t.f=()=>ea(t.update)),$nextTick:t=>t.n||(t.n=fr.bind(t.proxy)),$watch:t=>TC.bind(t)}),Ua=(t,e)=>t!==pe&&!t.__isScriptSetup&&ue(t,e),bl={get({_:t},e){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return r[e];case 4:return n[e];case 3:return i[e]}else{if(Ua(s,e))return o[e]=1,s[e];if(r!==pe&&ue(r,e))return o[e]=2,r[e];if((u=t.propsOptions[0])&&ue(u,e))return o[e]=3,i[e];if(n!==pe&&ue(n,e))return o[e]=4,n[e];Al&&(o[e]=0)}}const c=Nr[e];let f,_;if(c)return e==="$attrs"&&Ze(t,"get",e),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==pe&&ue(n,e))return o[e]=4,n[e];if(_=l.config.globalProperties,ue(_,e))return _[e]},set({_:t},e,n){const{data:s,setupState:r,ctx:i}=t;return Ua(r,e)?(r[e]=n,!0):s!==pe&&ue(s,e)?(s[e]=n,!0):ue(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!n[o]||t!==pe&&ue(t,o)||Ua(e,o)||(a=i[0])&&ue(a,o)||ue(s,o)||ue(Nr,o)||ue(r.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ue(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},xC=ae({},bl,{get(t,e){if(e!==Symbol.unscopables)return bl.get(t,e,t)},has(t,e){return e[0]!=="_"&&!JA(e)}});function BC(){return null}function $C(){return null}function VC(t){}function HC(t){}function jC(){return null}function UC(){}function WC(t,e){return null}function qC(){return tm().slots}function KC(){return tm().attrs}function zC(t,e,n){const s=un();if(n&&n.local){const r=Ge(t[e]);return yn(()=>t[e],i=>r.value=i),yn(r,i=>{i!==t[e]&&s.emit(`update:${e}`,i)}),r}else return{__v_isRef:!0,get value(){return t[e]},set value(r){s.emit(`update:${e}`,r)}}}function tm(){const t=un();return t.setupContext||(t.setupContext=Sm(t))}function qr(t){return U(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function GC(t,e){const n=qr(t);for(const s in e){if(s.startsWith("__skip"))continue;let r=n[s];r?U(r)||Z(r)?r=n[s]={type:r,default:e[s]}:r.default=e[s]:r===null&&(r=n[s]={default:e[s]}),r&&e[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function YC(t,e){return!t||!e?t||e:U(t)&&U(e)?t.concat(e):ae({},qr(t),qr(e))}function XC(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function JC(t){const e=un();let n=t();return vn(),Su(n)&&(n=n.catch(s=>{throw kn(e),s})),[n,()=>kn(e)]}let Al=!0;function ZC(t){const e=zu(t),n=t.proxy,s=t.ctx;Al=!1,e.beforeCreate&&Vf(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:_,beforeUpdate:p,updated:m,activated:h,deactivated:y,beforeDestroy:E,beforeUnmount:d,destroyed:b,unmounted:g,render:A,renderTracked:C,renderTriggered:O,errorCaptured:v,serverPrefetch:w,expose:k,inheritAttrs:N,components:P,directives:R,filters:B}=e;if(u&&QC(u,s,null),o)for(const ee in o){const se=o[ee];Z(se)&&(s[ee]=se.bind(n))}if(r){const ee=r.call(n,n);me(ee)&&(t.data=Dt(ee))}if(Al=!0,i)for(const ee in i){const se=i[ee],_e=Z(se)?se.bind(n,n):Z(se.get)?se.get.bind(n,n):Ue,dt=!Z(se)&&Z(se.set)?se.set.bind(n):Ue,Be=ke({get:_e,set:dt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Be.value,set:ye=>Be.value=ye})}if(a)for(const ee in a)nm(a[ee],s,n,ee);if(l){const ee=Z(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(se=>{rm(se,ee[se])})}c&&Vf(c,t,"c");function W(ee,se){U(se)?se.forEach(_e=>ee(_e.bind(n))):se&&ee(se.bind(n))}if(W(zp,f),W(ps,_),W(Gp,p),W(ia,m),W(Wp,h),W(qp,y),W(Zp,v),W(Jp,C),W(Xp,O),W(oa,d),W(dr,g),W(Yp,w),U(k))if(k.length){const ee=t.exposed||(t.exposed={});k.forEach(se=>{Object.defineProperty(ee,se,{get:()=>n[se],set:_e=>n[se]=_e})})}else t.exposed||(t.exposed={});A&&t.render===Ue&&(t.render=A),N!=null&&(t.inheritAttrs=N),P&&(t.components=P),R&&(t.directives=R)}function QC(t,e,n=Ue){U(t)&&(t=Tl(t));for(const s in t){const r=t[s];let i;me(r)?"default"in r?i=Fs(r.from||s,r.default,!0):i=Fs(r.from||s):i=Fs(r),be(i)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[s]=i}}function Vf(t,e,n){ot(U(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function nm(t,e,n,s){const r=s.includes(".")?Vp(n,s):()=>n[s];if(ne(t)){const i=e[t];Z(i)&&yn(r,i)}else if(Z(t))yn(r,t.bind(n));else if(me(t))if(U(t))t.forEach(i=>nm(i,e,n,s));else{const i=Z(t.handler)?t.handler.bind(n):e[t.handler];Z(i)&&yn(r,i,t)}}function zu(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,a=i.get(e);let l;return a?l=a:!r.length&&!n&&!s?l=e:(l={},r.length&&r.forEach(u=>vo(l,u,o,!0)),vo(l,e,o)),me(e)&&i.set(e,l),l}function vo(t,e,n,s=!1){const{mixins:r,extends:i}=e;i&&vo(t,i,n,!0),r&&r.forEach(o=>vo(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=eS[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const eS={data:Hf,props:jf,emits:jf,methods:Cr,computed:Cr,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:Cr,directives:Cr,watch:nS,provide:Hf,inject:tS};function Hf(t,e){return e?t?function(){return ae(Z(t)?t.call(this,this):t,Z(e)?e.call(this,this):e)}:e:t}function tS(t,e){return Cr(Tl(t),Tl(e))}function Tl(t){if(U(t)){const e={};for(let n=0;n1)return n&&Z(e)?e.call(s&&s.proxy):e}}function im(){return!!(Se||De||Kr)}function iS(t,e,n,s=!1){const r={},i={};mo(i,aa,1),t.propsDefaults=Object.create(null),om(t,e,r,i);for(const o in t.propsOptions[0])o in r||(r[o]=void 0);n?t.props=s?r:kp(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function oS(t,e,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=t,a=Q(r),[l]=t.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[_,p]=am(f,e,!0);ae(o,_),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!i&&!l)return me(t)&&s.set(t,Ns),Ns;if(U(i))for(let c=0;c-1,p[1]=h<0||m-1||ue(p,"default"))&&a.push(f)}}}const u=[o,a];return me(t)&&s.set(t,u),u}function Uf(t){return t[0]!=="$"}function Wf(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function qf(t,e){return Wf(t)===Wf(e)}function Kf(t,e){return U(e)?e.findIndex(n=>qf(n,t)):Z(e)&&qf(e,t)?0:-1}const lm=t=>t[0]==="_"||t==="$stable",Gu=t=>U(t)?t.map(nt):[nt(t)],aS=(t,e,n)=>{if(e._n)return e;const s=Vu((...r)=>Gu(e(...r)),n);return s._c=!1,s},um=(t,e,n)=>{const s=t._ctx;for(const r in t){if(lm(r))continue;const i=t[r];if(Z(i))e[r]=aS(r,i,s);else if(i!=null){const o=Gu(i);e[r]=()=>o}}},cm=(t,e)=>{const n=Gu(e);t.slots.default=()=>n},lS=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Q(e),mo(e,"_",n)):um(e,t.slots={})}else t.slots={},e&&cm(t,e);mo(t.slots,aa,1)},uS=(t,e,n)=>{const{vnode:s,slots:r}=t;let i=!0,o=pe;if(s.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:(ae(r,e),!n&&a===1&&delete r._):(i=!e.$stable,um(e,r)),o=e}else e&&(cm(t,e),o={default:1});if(i)for(const a in r)!lm(a)&&!(a in o)&&delete r[a]};function bo(t,e,n,s,r=!1){if(U(t)){t.forEach((_,p)=>bo(_,e&&(U(e)?e[p]:e),n,s,r));return}if(Yn(s)&&!r)return;const i=s.shapeFlag&4?la(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=t,u=e&&e.r,c=a.refs===pe?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(ne(u)?(c[u]=null,ue(f,u)&&(f[u]=null)):be(u)&&(u.value=null)),Z(l))nn(l,a,12,[o,c]);else{const _=ne(l),p=be(l);if(_||p){const m=()=>{if(t.f){const h=_?ue(f,l)?f[l]:c[l]:l.value;r?U(h)&&Cu(h,i):U(h)?h.includes(i)||h.push(i):_?(c[l]=[i],ue(f,l)&&(f[l]=c[l])):(l.value=[i],t.k&&(c[t.k]=l.value))}else _?(c[l]=o,ue(f,l)&&(f[l]=o)):p&&(l.value=o,t.k&&(c[t.k]=o))};o?(m.id=-1,Ie(m,n)):m()}}}let hn=!1;const Bi=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",$i=t=>t.nodeType===8;function cS(t){const{mt:e,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:u}}=t,c=(E,d)=>{if(!d.hasChildNodes()){n(null,E,d),yo(),d._vnode=E;return}hn=!1,f(d.firstChild,E,null,null,null),yo(),d._vnode=E,hn&&console.error("Hydration completed but contains mismatches.")},f=(E,d,b,g,A,C=!1)=>{const O=$i(E)&&E.data==="[",v=()=>h(E,d,b,g,A,O),{type:w,ref:k,shapeFlag:N,patchFlag:P}=d;let R=E.nodeType;d.el=E,P===-2&&(C=!1,d.dynamicChildren=null);let B=null;switch(w){case rs:R!==3?d.children===""?(l(d.el=r(""),o(E),E),B=E):B=v():(E.data!==d.children&&(hn=!0,E.data=d.children),B=i(E));break;case Me:R!==8||O?B=v():B=i(E);break;case Xn:if(O&&(E=i(E),R=E.nodeType),R===1||R===3){B=E;const X=!d.children.length;for(let W=0;W{C=C||!!d.dynamicChildren;const{type:O,props:v,patchFlag:w,shapeFlag:k,dirs:N}=d,P=O==="input"&&N||O==="option";if(P||w!==-1){if(N&&xt(d,null,b,"created"),v)if(P||!C||w&48)for(const B in v)(P&&B.endsWith("value")||us(B)&&!zn(B))&&s(E,B,null,v[B],!1,void 0,b);else v.onClick&&s(E,"onClick",null,v.onClick,!1,void 0,b);let R;if((R=v&&v.onVnodeBeforeMount)&&Ke(R,b,d),N&&xt(d,null,b,"beforeMount"),((R=v&&v.onVnodeMounted)||N)&&Bp(()=>{R&&Ke(R,b,d),N&&xt(d,null,b,"mounted")},g),k&16&&!(v&&(v.innerHTML||v.textContent))){let B=p(E.firstChild,d,E,b,g,A,C);for(;B;){hn=!0;const X=B;B=B.nextSibling,a(X)}}else k&8&&E.textContent!==d.children&&(hn=!0,E.textContent=d.children)}return E.nextSibling},p=(E,d,b,g,A,C,O)=>{O=O||!!d.dynamicChildren;const v=d.children,w=v.length;for(let k=0;k{const{slotScopeIds:O}=d;O&&(A=A?A.concat(O):O);const v=o(E),w=p(i(E),d,v,b,g,A,C);return w&&$i(w)&&w.data==="]"?i(d.anchor=w):(hn=!0,l(d.anchor=u("]"),v,w),w)},h=(E,d,b,g,A,C)=>{if(hn=!0,d.el=null,C){const w=y(E);for(;;){const k=i(E);if(k&&k!==w)a(k);else break}}const O=i(E),v=o(E);return a(E),n(null,d,v,O,b,g,Bi(v),A),O},y=E=>{let d=0;for(;E;)if(E=i(E),E&&$i(E)&&(E.data==="["&&d++,E.data==="]")){if(d===0)return i(E);d--}return E};return[c,f]}const Ie=Bp;function fm(t){return hm(t)}function dm(t){return hm(t,cS)}function hm(t,e){const n=ml();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:_,setScopeId:p=Ue,insertStaticContent:m}=t,h=(T,S,D,F=null,L=null,V=null,j=!1,$=null,H=!!S.dynamicChildren)=>{if(T===S)return;T&&!Ot(T,S)&&(F=zt(T),ye(T,L,V,!0),T=null),S.patchFlag===-2&&(H=!1,S.dynamicChildren=null);const{type:x,ref:z,shapeFlag:q}=S;switch(x){case rs:y(T,S,D,F);break;case Me:E(T,S,D,F);break;case Xn:T==null&&d(S,D,F,j);break;case Pe:P(T,S,D,F,L,V,j,$,H);break;default:q&1?A(T,S,D,F,L,V,j,$,H):q&6?R(T,S,D,F,L,V,j,$,H):(q&64||q&128)&&x.process(T,S,D,F,L,V,j,$,H,Ft)}z!=null&&L&&bo(z,T&&T.ref,V,S||T,!S)},y=(T,S,D,F)=>{if(T==null)s(S.el=a(S.children),D,F);else{const L=S.el=T.el;S.children!==T.children&&u(L,S.children)}},E=(T,S,D,F)=>{T==null?s(S.el=l(S.children||""),D,F):S.el=T.el},d=(T,S,D,F)=>{[T.el,T.anchor]=m(T.children,S,D,F,T.el,T.anchor)},b=({el:T,anchor:S},D,F)=>{let L;for(;T&&T!==S;)L=_(T),s(T,D,F),T=L;s(S,D,F)},g=({el:T,anchor:S})=>{let D;for(;T&&T!==S;)D=_(T),r(T),T=D;r(S)},A=(T,S,D,F,L,V,j,$,H)=>{j=j||S.type==="svg",T==null?C(S,D,F,L,V,j,$,H):w(T,S,L,V,j,$,H)},C=(T,S,D,F,L,V,j,$)=>{let H,x;const{type:z,props:q,shapeFlag:K,transition:J,dirs:re}=T;if(H=T.el=o(T.type,V,q&&q.is,q),K&8?c(H,T.children):K&16&&v(T.children,H,null,F,L,V&&z!=="foreignObject",j,$),re&&xt(T,null,F,"created"),O(H,T,T.scopeId,j,F),q){for(const ce in q)ce!=="value"&&!zn(ce)&&i(H,ce,null,q[ce],V,T.children,F,L,$e);"value"in q&&i(H,"value",null,q.value),(x=q.onVnodeBeforeMount)&&Ke(x,F,T)}re&&xt(T,null,F,"beforeMount");const de=(!L||L&&!L.pendingBranch)&&J&&!J.persisted;de&&J.beforeEnter(H),s(H,S,D),((x=q&&q.onVnodeMounted)||de||re)&&Ie(()=>{x&&Ke(x,F,T),de&&J.enter(H),re&&xt(T,null,F,"mounted")},L)},O=(T,S,D,F,L)=>{if(D&&p(T,D),F)for(let V=0;V{for(let x=H;x{const $=S.el=T.el;let{patchFlag:H,dynamicChildren:x,dirs:z}=S;H|=T.patchFlag&16;const q=T.props||pe,K=S.props||pe;let J;D&&xn(D,!1),(J=K.onVnodeBeforeUpdate)&&Ke(J,D,S,T),z&&xt(S,T,D,"beforeUpdate"),D&&xn(D,!0);const re=L&&S.type!=="foreignObject";if(x?k(T.dynamicChildren,x,$,D,F,re,V):j||se(T,S,$,null,D,F,re,V,!1),H>0){if(H&16)N($,S,q,K,D,F,L);else if(H&2&&q.class!==K.class&&i($,"class",null,K.class,L),H&4&&i($,"style",q.style,K.style,L),H&8){const de=S.dynamicProps;for(let ce=0;ce{J&&Ke(J,D,S,T),z&&xt(S,T,D,"updated")},F)},k=(T,S,D,F,L,V,j)=>{for(let $=0;${if(D!==F){if(D!==pe)for(const $ in D)!zn($)&&!($ in F)&&i(T,$,D[$],null,j,S.children,L,V,$e);for(const $ in F){if(zn($))continue;const H=F[$],x=D[$];H!==x&&$!=="value"&&i(T,$,x,H,j,S.children,L,V,$e)}"value"in F&&i(T,"value",D.value,F.value)}},P=(T,S,D,F,L,V,j,$,H)=>{const x=S.el=T?T.el:a(""),z=S.anchor=T?T.anchor:a("");let{patchFlag:q,dynamicChildren:K,slotScopeIds:J}=S;J&&($=$?$.concat(J):J),T==null?(s(x,D,F),s(z,D,F),v(S.children,D,z,L,V,j,$,H)):q>0&&q&64&&K&&T.dynamicChildren?(k(T.dynamicChildren,K,D,L,V,j,$),(S.key!=null||L&&S===L.subTree)&&Yu(T,S,!0)):se(T,S,D,z,L,V,j,$,H)},R=(T,S,D,F,L,V,j,$,H)=>{S.slotScopeIds=$,T==null?S.shapeFlag&512?L.ctx.activate(S,D,F,j,H):B(S,D,F,L,V,j,H):X(T,S,H)},B=(T,S,D,F,L,V,j)=>{const $=T.component=vm(T,F,L);if(mi(T)&&($.ctx.renderer=Ft),Am($),$.asyncDep){if(L&&L.registerDep($,W),!T.el){const H=$.subTree=te(Me);E(null,H,S,D)}return}W($,T,S,D,L,V,j)},X=(T,S,D)=>{const F=S.component=T.component;if(pC(T,S,D))if(F.asyncDep&&!F.asyncResolved){ee(F,S,D);return}else F.next=S,iC(F.update),F.update();else S.el=T.el,F.vnode=S},W=(T,S,D,F,L,V,j)=>{const $=()=>{if(T.isMounted){let{next:z,bu:q,u:K,parent:J,vnode:re}=T,de=z,ce;xn(T,!1),z?(z.el=re.el,ee(T,z,j)):z=re,q&&Is(q),(ce=z.props&&z.props.onVnodeBeforeUpdate)&&Ke(ce,J,z,re),xn(T,!0);const Te=eo(T),St=T.subTree;T.subTree=Te,h(St,Te,f(St.el),zt(St),T,L,V),z.el=Te.el,de===null&&Hu(T,Te.el),K&&Ie(K,L),(ce=z.props&&z.props.onVnodeUpdated)&&Ie(()=>Ke(ce,J,z,re),L)}else{let z;const{el:q,props:K}=S,{bm:J,m:re,parent:de}=T,ce=Yn(S);if(xn(T,!1),J&&Is(J),!ce&&(z=K&&K.onVnodeBeforeMount)&&Ke(z,de,S),xn(T,!0),q&&Mn){const Te=()=>{T.subTree=eo(T),Mn(q,T.subTree,T,L,null)};ce?S.type.__asyncLoader().then(()=>!T.isUnmounted&&Te()):Te()}else{const Te=T.subTree=eo(T);h(null,Te,D,F,T,L,V),S.el=Te.el}if(re&&Ie(re,L),!ce&&(z=K&&K.onVnodeMounted)){const Te=S;Ie(()=>Ke(z,de,Te),L)}(S.shapeFlag&256||de&&Yn(de.vnode)&&de.vnode.shapeFlag&256)&&T.a&&Ie(T.a,L),T.isMounted=!0,S=D=F=null}},H=T.effect=new di($,()=>ea(x),T.scope),x=T.update=()=>H.run();x.id=T.uid,xn(T,!0),x()},ee=(T,S,D)=>{S.component=T;const F=T.vnode.props;T.vnode=S,T.next=null,oS(T,S.props,F,D),uS(T,S.children,D),ur(),Ff(),cr()},se=(T,S,D,F,L,V,j,$,H=!1)=>{const x=T&&T.children,z=T?T.shapeFlag:0,q=S.children,{patchFlag:K,shapeFlag:J}=S;if(K>0){if(K&128){dt(x,q,D,F,L,V,j,$,H);return}else if(K&256){_e(x,q,D,F,L,V,j,$,H);return}}J&8?(z&16&&$e(x,L,V),q!==x&&c(D,q)):z&16?J&16?dt(x,q,D,F,L,V,j,$,H):$e(x,L,V,!0):(z&8&&c(D,""),J&16&&v(q,D,F,L,V,j,$,H))},_e=(T,S,D,F,L,V,j,$,H)=>{T=T||Ns,S=S||Ns;const x=T.length,z=S.length,q=Math.min(x,z);let K;for(K=0;Kz?$e(T,L,V,!0,!1,q):v(S,D,F,L,V,j,$,H,q)},dt=(T,S,D,F,L,V,j,$,H)=>{let x=0;const z=S.length;let q=T.length-1,K=z-1;for(;x<=q&&x<=K;){const J=T[x],re=S[x]=H?_n(S[x]):nt(S[x]);if(Ot(J,re))h(J,re,D,null,L,V,j,$,H);else break;x++}for(;x<=q&&x<=K;){const J=T[q],re=S[K]=H?_n(S[K]):nt(S[K]);if(Ot(J,re))h(J,re,D,null,L,V,j,$,H);else break;q--,K--}if(x>q){if(x<=K){const J=K+1,re=JK)for(;x<=q;)ye(T[x],L,V,!0),x++;else{const J=x,re=x,de=new Map;for(x=re;x<=K;x++){const et=S[x]=H?_n(S[x]):nt(S[x]);et.key!=null&&de.set(et.key,x)}let ce,Te=0;const St=K-re+1;let ms=!1,Oc=0;const pr=new Array(St);for(x=0;x=St){ye(et,L,V,!0);continue}let Mt;if(et.key!=null)Mt=de.get(et.key);else for(ce=re;ce<=K;ce++)if(pr[ce-re]===0&&Ot(et,S[ce])){Mt=ce;break}Mt===void 0?ye(et,L,V,!0):(pr[Mt-re]=x+1,Mt>=Oc?Oc=Mt:ms=!0,h(et,S[Mt],D,null,L,V,j,$,H),Te++)}const kc=ms?fS(pr):Ns;for(ce=kc.length-1,x=St-1;x>=0;x--){const et=re+x,Mt=S[et],Nc=et+1{const{el:V,type:j,transition:$,children:H,shapeFlag:x}=T;if(x&6){Be(T.component.subTree,S,D,F);return}if(x&128){T.suspense.move(S,D,F);return}if(x&64){j.move(T,S,D,Ft);return}if(j===Pe){s(V,S,D);for(let q=0;q$.enter(V),L);else{const{leave:q,delayLeave:K,afterLeave:J}=$,re=()=>s(V,S,D),de=()=>{q(V,()=>{re(),J&&J()})};K?K(V,re,de):de()}else s(V,S,D)},ye=(T,S,D,F=!1,L=!1)=>{const{type:V,props:j,ref:$,children:H,dynamicChildren:x,shapeFlag:z,patchFlag:q,dirs:K}=T;if($!=null&&bo($,null,D,T,!0),z&256){S.ctx.deactivate(T);return}const J=z&1&&K,re=!Yn(T);let de;if(re&&(de=j&&j.onVnodeBeforeUnmount)&&Ke(de,S,T),z&6)qe(T.component,D,F);else{if(z&128){T.suspense.unmount(D,F);return}J&&xt(T,null,S,"beforeUnmount"),z&64?T.type.remove(T,S,D,L,Ft,F):x&&(V!==Pe||q>0&&q&64)?$e(x,S,D,!1,!0):(V===Pe&&q&384||!L&&z&16)&&$e(H,S,D),F&&It(T)}(re&&(de=j&&j.onVnodeUnmounted)||J)&&Ie(()=>{de&&Ke(de,S,T),J&&xt(T,null,S,"unmounted")},D)},It=T=>{const{type:S,el:D,anchor:F,transition:L}=T;if(S===Pe){Rt(D,F);return}if(S===Xn){g(T);return}const V=()=>{r(D),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(T.shapeFlag&1&&L&&!L.persisted){const{leave:j,delayLeave:$}=L,H=()=>j(D,V);$?$(T.el,V,H):H()}else V()},Rt=(T,S)=>{let D;for(;T!==S;)D=_(T),r(T),T=D;r(S)},qe=(T,S,D)=>{const{bum:F,scope:L,update:V,subTree:j,um:$}=T;F&&Is(F),L.stop(),V&&(V.active=!1,ye(j,T,S,D)),$&&Ie($,S),Ie(()=>{T.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},$e=(T,S,D,F=!1,L=!1,V=0)=>{for(let j=V;jT.shapeFlag&6?zt(T.component.subTree):T.shapeFlag&128?T.suspense.next():_(T.anchor||T.el),Lt=(T,S,D)=>{T==null?S._vnode&&ye(S._vnode,null,null,!0):h(S._vnode||null,T,S,null,null,null,D),Ff(),yo(),S._vnode=T},Ft={p:h,um:ye,m:Be,r:It,mt:B,mc:v,pc:se,pbc:k,n:zt,o:t};let hr,Mn;return e&&([hr,Mn]=e(Ft)),{render:Lt,hydrate:hr,createApp:rS(Lt,hr)}}function xn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Yu(t,e,n=!1){const s=t.children,r=e.children;if(U(s)&&U(r))for(let i=0;i>1,t[n[a]]0&&(e[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=e[o];return n}const dS=t=>t.__isTeleport,Pr=t=>t&&(t.disabled||t.disabled===""),zf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Sl=(t,e)=>{const n=t&&t.to;return ne(n)?e?e(n):null:n},hS={__isTeleport:!0,process(t,e,n,s,r,i,o,a,l,u){const{mc:c,pc:f,pbc:_,o:{insert:p,querySelector:m,createText:h,createComment:y}}=u,E=Pr(e.props);let{shapeFlag:d,children:b,dynamicChildren:g}=e;if(t==null){const A=e.el=h(""),C=e.anchor=h("");p(A,n,s),p(C,n,s);const O=e.target=Sl(e.props,m),v=e.targetAnchor=h("");O&&(p(v,O),o=o||zf(O));const w=(k,N)=>{d&16&&c(b,k,N,r,i,o,a,l)};E?w(n,C):O&&w(O,v)}else{e.el=t.el;const A=e.anchor=t.anchor,C=e.target=t.target,O=e.targetAnchor=t.targetAnchor,v=Pr(t.props),w=v?n:C,k=v?A:O;if(o=o||zf(C),g?(_(t.dynamicChildren,g,w,r,i,o,a),Yu(t,e,!0)):l||f(t,e,w,k,r,i,o,a,!1),E)v||Vi(e,n,A,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const N=e.target=Sl(e.props,m);N&&Vi(e,N,null,u,0)}else v&&Vi(e,C,O,u,1)}pm(e)},remove(t,e,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:_}=t;if(f&&i(c),(o||!Pr(_))&&(i(u),a&16))for(let p=0;p0?Ye||Ns:null,mm(),is>0&&Ye&&Ye.push(t),t}function _m(t,e,n,s,r,i){return gm(Ju(t,e,n,s,r,i,!0))}function Xu(t,e,n,s,r){return gm(te(t,e,n,s,r,!0))}function Ut(t){return t?t.__v_isVNode===!0:!1}function Ot(t,e){return t.type===e.type&&t.key===e.key}function gS(t){}const aa="__vInternal",Em=({key:t})=>t??null,to=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ne(t)||be(t)||Z(t)?{i:De,r:t,k:e,f:!!n}:t:null);function Ju(t,e=null,n=null,s=0,r=null,i=t===Pe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Em(e),ref:e&&to(e),scopeId:na,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:De};return a?(Qu(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=ne(n)?8:16),is>0&&!o&&Ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ye.push(l),l}const te=_S;function _S(t,e=null,n=null,s=0,r=null,i=!1){if((!t||t===Qp)&&(t=Me),Ut(t)){const a=Nt(t,e,!0);return n&&Qu(a,n),is>0&&!i&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(t)]=a:Ye.push(a)),a.patchFlag|=-2,a}if(SS(t)&&(t=t.__vccOpts),e){e=ym(e);let{class:a,style:l}=e;a&&!ne(a)&&(e.class=fi(a)),me(l)&&(Ru(l)&&!U(l)&&(l=ae({},l)),e.style=ci(l))}const o=ne(t)?1:xp(t)?128:dS(t)?64:me(t)?4:Z(t)?2:0;return Ju(t,e,n,s,r,o,i,!0)}function ym(t){return t?Ru(t)||aa in t?ae({},t):t:null}function Nt(t,e,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=t,a=e?Kt(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Em(a),ref:e&&e.ref?n&&r?U(r)?r.concat(to(e)):[r,to(e)]:to(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Pe?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Nt(t.ssContent),ssFallback:t.ssFallback&&Nt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Zu(t=" ",e=0){return te(rs,null,t,e)}function ES(t,e){const n=te(Xn,null,t);return n.staticCount=e,n}function yS(t="",e=!1){return e?(gi(),Xu(Me,null,t)):te(Me,null,t)}function nt(t){return t==null||typeof t=="boolean"?te(Me):U(t)?te(Pe,null,t.slice()):typeof t=="object"?_n(t):te(rs,null,String(t))}function _n(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Nt(t)}function Qu(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(U(e))n=16;else if(typeof e=="object")if(s&65){const r=e.default;r&&(r._c&&(r._d=!1),Qu(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(aa in e)?e._ctx=De:r===3&&De&&(De.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Z(e)?(e={default:e,_ctx:De},n=32):(e=String(e),s&64?(n=16,e=[Zu(e)]):n=8);t.children=e,t.shapeFlag|=n}function Kt(...t){const e={};for(let n=0;nSe||De;let ec,Es,Gf="__VUE_INSTANCE_SETTERS__";(Es=ml()[Gf])||(Es=ml()[Gf]=[]),Es.push(t=>Se=t),ec=t=>{Es.length>1?Es.forEach(e=>e(t)):Es[0](t)};const kn=t=>{ec(t),t.scope.on()},vn=()=>{Se&&Se.scope.off(),ec(null)};function bm(t){return t.vnode.shapeFlag&4}let Gs=!1;function Am(t,e=!1){Gs=e;const{props:n,children:s}=t.vnode,r=bm(t);iS(t,n,r,e),lS(t,s);const i=r?AS(t,e):void 0;return Gs=!1,i}function AS(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=hi(new Proxy(t.ctx,bl));const{setup:s}=n;if(s){const r=t.setupContext=s.length>1?Sm(t):null;kn(t),ur();const i=nn(s,t,0,[t.props,r]);if(cr(),vn(),Su(i)){if(i.then(vn,vn),e)return i.then(o=>{Ol(t,o,e)}).catch(o=>{ds(o,t,0)});t.asyncDep=i}else Ol(t,i,e)}else Cm(t,e)}function Ol(t,e,n){Z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=xu(e)),Cm(t,n)}let Ao,kl;function Tm(t){Ao=t,kl=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,xC))}}const TS=()=>!Ao;function Cm(t,e,n){const s=t.type;if(!t.render){if(!e&&Ao&&!s.render){const r=s.template||zu(t).template;if(r){const{isCustomElement:i,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,u=ae(ae({isCustomElement:i,delimiters:a},o),l);s.render=Ao(r,u)}}t.render=s.render||Ue,kl&&kl(t)}kn(t),ur(),ZC(t),cr(),vn()}function CS(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Ze(t,"get","$attrs"),e[n]}}))}function Sm(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return CS(t)},slots:t.slots,emit:t.emit,expose:e}}function la(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(xu(hi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Nr)return Nr[n](t)},has(e,n){return n in e||n in Nr}}))}function Nl(t,e=!0){return Z(t)?t.displayName||t.name:t.name||e&&t.__name}function SS(t){return Z(t)&&"__vccOpts"in t}const ke=(t,e)=>eC(t,e,Gs);function ws(t,e,n){const s=arguments.length;return s===2?me(e)&&!U(e)?Ut(e)?te(t,null,[e]):te(t,e):te(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ut(n)&&(n=[n]),te(t,e,n))}const wm=Symbol.for("v-scx"),Om=()=>Fs(wm);function wS(){}function OS(t,e,n,s){const r=n[s];if(r&&km(r,t))return r;const i=e();return i.memo=t.slice(),n[s]=i}function km(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let s=0;s0&&Ye&&Ye.push(t),!0}const Nm="3.3.4",kS={createComponentInstance:vm,setupComponent:Am,renderComponentRoot:eo,setCurrentRenderingInstance:Ur,isVNode:Ut,normalizeVNode:nt},NS=kS,PS=null,DS=null,IS="http://www.w3.org/2000/svg",Vn=typeof document<"u"?document:null,Yf=Vn&&Vn.createElement("template"),RS={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e?Vn.createElementNS(IS,t):Vn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>Vn.createTextNode(t),createComment:t=>Vn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,i){const o=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Yf.innerHTML=s?`${t}`:t;const a=Yf.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function LS(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function FS(t,e,n){const s=t.style,r=ne(n);if(n&&!r){if(e&&!ne(e))for(const i in e)n[i]==null&&Pl(s,i,"");for(const i in n)Pl(s,i,n[i])}else{const i=s.display;r?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=i)}}const Xf=/\s*!important$/;function Pl(t,e,n){if(U(n))n.forEach(s=>Pl(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=MS(t,e);Xf.test(n)?t.setProperty(rt(s),n.replace(Xf,""),"important"):t[s]=n}}const Jf=["Webkit","Moz","ms"],Wa={};function MS(t,e){const n=Wa[e];if(n)return n;let s=we(e);if(s!=="filter"&&s in t)return Wa[e]=s;s=fs(s);for(let r=0;rqa||(jS.then(()=>qa=0),qa=Date.now());function WS(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ot(qS(s,n.value),e,5,[s])};return n.value=t,n.attached=US(),n}function qS(t,e){if(U(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const ed=/^on[a-z]/,KS=(t,e,n,s,r=!1,i,o,a,l)=>{e==="class"?LS(t,s,r):e==="style"?FS(t,n,s):us(e)?Tu(e)||VS(t,e,n,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):zS(t,e,s,r))?BS(t,e,s,i,o,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),xS(t,e,s,r))};function zS(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&ed.test(e)&&Z(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||ed.test(e)&&ne(n)?!1:e in t}function Pm(t,e){const n=hs(t);class s extends ua{constructor(i){super(n,i,e)}}return s.def=n,s}const GS=t=>Pm(t,Km),YS=typeof HTMLElement<"u"?HTMLElement:class{};class ua extends YS{constructor(e,n={},s){super(),this._def=e,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,fr(()=>{this._connected||(Rl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const e=(s,r=!1)=>{const{props:i,styles:o}=s;let a;if(i&&!U(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=_o(this._props[l])),(a||(a=Object.create(null)))[we(l)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>e(s,!0)):e(this._def)}_resolveProps(e){const{props:n}=e,s=U(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(we))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(e){let n=this.getAttribute(e);const s=we(e);this._numberProps&&this._numberProps[s]&&(n=_o(n)),this._setProp(s,n,!1)}_getProp(e){return this._props[e]}_setProp(e,n,s=!0,r=!0){n!==this._props[e]&&(this._props[e]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(rt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(rt(e),n+""):n||this.removeAttribute(rt(e))))}_update(){Rl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=te(this._def,ae({},this._props));return this._instance||(e.ce=n=>{this._instance=n,n.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{s(i,o),rt(i)!==i&&s(rt(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ua){n.parent=r._instance,n.provides=r._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function XS(t="$style"){{const e=un();if(!e)return pe;const n=e.type.__cssModules;if(!n)return pe;const s=n[t];return s||pe}}function JS(t){const e=un();if(!e)return;const n=e.ut=(r=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>Il(i,r))},s=()=>{const r=t(e.proxy);Dl(e.subTree,r),n(r)};$p(s),ps(()=>{const r=new MutationObserver(s);r.observe(e.subTree.el.parentNode,{childList:!0}),dr(()=>r.disconnect())})}function Dl(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Dl(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Il(t.el,e);else if(t.type===Pe)t.children.forEach(n=>Dl(n,e));else if(t.type===Xn){let{el:n,anchor:s}=t;for(;n&&(Il(n,e),n!==s);)n=n.nextSibling}}function Il(t,e){if(t.nodeType===1){const n=t.style;for(const s in e)n.setProperty(`--${s}`,e[s])}}const pn="transition",Er="animation",tc=(t,{slots:e})=>ws(Hp,Im(t),e);tc.displayName="Transition";const Dm={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ZS=tc.props=ae({},Wu,Dm),Bn=(t,e=[])=>{U(t)?t.forEach(n=>n(...e)):t&&t(...e)},td=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function Im(t){const e={};for(const P in t)P in Dm||(e[P]=t[P]);if(t.css===!1)return e;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,m=QS(r),h=m&&m[0],y=m&&m[1],{onBeforeEnter:E,onEnter:d,onEnterCancelled:b,onLeave:g,onLeaveCancelled:A,onBeforeAppear:C=E,onAppear:O=d,onAppearCancelled:v=b}=e,w=(P,R,B)=>{mn(P,R?c:a),mn(P,R?u:o),B&&B()},k=(P,R)=>{P._isLeaving=!1,mn(P,f),mn(P,p),mn(P,_),R&&R()},N=P=>(R,B)=>{const X=P?O:d,W=()=>w(R,P,B);Bn(X,[R,W]),nd(()=>{mn(R,P?l:i),Gt(R,P?c:a),td(X)||sd(R,s,h,W)})};return ae(e,{onBeforeEnter(P){Bn(E,[P]),Gt(P,i),Gt(P,o)},onBeforeAppear(P){Bn(C,[P]),Gt(P,l),Gt(P,u)},onEnter:N(!1),onAppear:N(!0),onLeave(P,R){P._isLeaving=!0;const B=()=>k(P,R);Gt(P,f),Lm(),Gt(P,_),nd(()=>{P._isLeaving&&(mn(P,f),Gt(P,p),td(g)||sd(P,s,y,B))}),Bn(g,[P,B])},onEnterCancelled(P){w(P,!1),Bn(b,[P])},onAppearCancelled(P){w(P,!0),Bn(v,[P])},onLeaveCancelled(P){k(P),Bn(A,[P])}})}function QS(t){if(t==null)return null;if(me(t))return[Ka(t.enter),Ka(t.leave)];{const e=Ka(t);return[e,e]}}function Ka(t){return _o(t)}function Gt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function mn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function nd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let e1=0;function sd(t,e,n,s){const r=t._endId=++e1,i=()=>{r===t._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=Rm(t,e);if(!o)return s();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,_),i()},_=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c(n[m]||"").split(", "),r=s(`${pn}Delay`),i=s(`${pn}Duration`),o=rd(r,i),a=s(`${Er}Delay`),l=s(`${Er}Duration`),u=rd(a,l);let c=null,f=0,_=0;e===pn?o>0&&(c=pn,f=o,_=i.length):e===Er?u>0&&(c=Er,f=u,_=l.length):(f=Math.max(o,u),c=f>0?o>u?pn:Er:null,_=c?c===pn?i.length:l.length:0);const p=c===pn&&/\b(transform|all)(,|$)/.test(s(`${pn}Property`).toString());return{type:c,timeout:f,propCount:_,hasTransform:p}}function rd(t,e){for(;t.lengthid(n)+id(t[s])))}function id(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Lm(){return document.body.offsetHeight}const Fm=new WeakMap,Mm=new WeakMap,xm={name:"TransitionGroup",props:ae({},ZS,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=un(),s=Uu();let r,i;return ia(()=>{if(!r.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!o1(r[0].el,n.vnode.el,o))return;r.forEach(s1),r.forEach(r1);const a=r.filter(i1);Lm(),a.forEach(l=>{const u=l.el,c=u.style;Gt(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=_=>{_&&_.target!==u||(!_||/transform$/.test(_.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,mn(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=Q(t),a=Im(o);let l=o.tag||Pe;r=i,i=e.default?sa(e.default()):[];for(let u=0;udelete t.mode;xm.props;const n1=xm;function s1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function r1(t){Mm.set(t,t.el.getBoundingClientRect())}function i1(t){const e=Fm.get(t),n=Mm.get(t),s=e.left-n.left,r=e.top-n.top;if(s||r){const i=t.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",t}}function o1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:i}=Rm(s);return r.removeChild(s),i}const Nn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return U(e)?n=>Is(e,n):e};function a1(t){t.target.composing=!0}function od(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const To={created(t,{modifiers:{lazy:e,trim:n,number:s}},r){t._assign=Nn(r);const i=s||r.props&&r.props.type==="number";Xt(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),i&&(a=go(a)),t._assign(a)}),n&&Xt(t,"change",()=>{t.value=t.value.trim()}),e||(Xt(t,"compositionstart",a1),Xt(t,"compositionend",od),Xt(t,"change",od))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:r}},i){if(t._assign=Nn(i),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(r||t.type==="number")&&go(t.value)===e))return;const o=e??"";t.value!==o&&(t.value=o)}},nc={deep:!0,created(t,e,n){t._assign=Nn(n),Xt(t,"change",()=>{const s=t._modelValue,r=Ys(t),i=t.checked,o=t._assign;if(U(s)){const a=Go(s,r),l=a!==-1;if(i&&!l)o(s.concat(r));else if(!i&&l){const u=[...s];u.splice(a,1),o(u)}}else if(cs(s)){const a=new Set(s);i?a.add(r):a.delete(r),o(a)}else o($m(t,i))})},mounted:ad,beforeUpdate(t,e,n){t._assign=Nn(n),ad(t,e,n)}};function ad(t,{value:e,oldValue:n},s){t._modelValue=e,U(e)?t.checked=Go(e,s.props.value)>-1:cs(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=wn(e,$m(t,!0)))}const sc={created(t,{value:e},n){t.checked=wn(e,n.props.value),t._assign=Nn(n),Xt(t,"change",()=>{t._assign(Ys(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t._assign=Nn(s),e!==n&&(t.checked=wn(e,s.props.value))}},Bm={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const r=cs(e);Xt(t,"change",()=>{const i=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?go(Ys(o)):Ys(o));t._assign(t.multiple?r?new Set(i):i:i[0])}),t._assign=Nn(s)},mounted(t,{value:e}){ld(t,e)},beforeUpdate(t,e,n){t._assign=Nn(n)},updated(t,{value:e}){ld(t,e)}};function ld(t,e){const n=t.multiple;if(!(n&&!U(e)&&!cs(e))){for(let s=0,r=t.options.length;s-1:i.selected=e.has(o);else if(wn(Ys(i),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ys(t){return"_value"in t?t._value:t.value}function $m(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const Vm={created(t,e,n){Hi(t,e,n,null,"created")},mounted(t,e,n){Hi(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){Hi(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){Hi(t,e,n,s,"updated")}};function Hm(t,e){switch(t){case"SELECT":return Bm;case"TEXTAREA":return To;default:switch(e){case"checkbox":return nc;case"radio":return sc;default:return To}}}function Hi(t,e,n,s,r){const o=Hm(t.tagName,n.props&&n.props.type)[r];o&&o(t,e,n,s)}function l1(){To.getSSRProps=({value:t})=>({value:t}),sc.getSSRProps=({value:t},e)=>{if(e.props&&wn(e.props.value,t))return{checked:!0}},nc.getSSRProps=({value:t},e)=>{if(U(t)){if(e.props&&Go(t,e.props.value)>-1)return{checked:!0}}else if(cs(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},Vm.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=Hm(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const u1=["ctrl","shift","alt","meta"],c1={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>u1.some(n=>t[`${n}Key`]&&!e.includes(n))},f1=(t,e)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=rt(n.key);if(e.some(r=>r===s||d1[r]===s))return t(n)},jm={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):yr(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),yr(t,!0),s.enter(t)):s.leave(t,()=>{yr(t,!1)}):yr(t,e))},beforeUnmount(t,{value:e}){yr(t,e)}};function yr(t,e){t.style.display=e?t._vod:"none"}function p1(){jm.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Um=ae({patchProp:KS},RS);let Ir,ud=!1;function Wm(){return Ir||(Ir=fm(Um))}function qm(){return Ir=ud?Ir:dm(Um),ud=!0,Ir}const Rl=(...t)=>{Wm().render(...t)},Km=(...t)=>{qm().hydrate(...t)},rc=(...t)=>{const e=Wm().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=zm(s);if(!r)return;const i=e._component;!Z(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e},m1=(...t)=>{const e=qm().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=zm(s);if(r)return n(r,!0,r instanceof SVGElement)},e};function zm(t){return ne(t)?document.querySelector(t):t}let cd=!1;const g1=()=>{cd||(cd=!0,l1(),p1())},_1=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Hp,BaseTransitionPropsValidators:Wu,Comment:Me,EffectScope:Ou,Fragment:Pe,KeepAlive:OC,ReactiveEffect:di,Static:Xn,Suspense:gC,Teleport:mS,Text:rs,Transition:tc,TransitionGroup:n1,VueElement:ua,assertNumber:nC,callWithAsyncErrorHandling:ot,callWithErrorHandling:nn,camelize:we,capitalize:fs,cloneVNode:Nt,compatUtils:DS,computed:ke,createApp:rc,createBlock:Xu,createCommentVNode:yS,createElementBlock:_m,createElementVNode:Ju,createHydrationRenderer:dm,createPropsRestProxy:XC,createRenderer:fm,createSSRApp:m1,createSlots:LC,createStaticVNode:ES,createTextVNode:Zu,createVNode:te,customRef:YT,defineAsyncComponent:Up,defineComponent:hs,defineCustomElement:Pm,defineEmits:$C,defineExpose:VC,defineModel:UC,defineOptions:HC,defineProps:BC,defineSSRCustomElement:GS,defineSlots:jC,get devtools(){return Cs},effect:pT,effectScope:ku,getCurrentInstance:un,getCurrentScope:Nu,getTransitionRawChildren:sa,guardReactiveProps:ym,h:ws,handleError:ds,hasInjectionContext:im,hydrate:Km,initCustomFormatter:wS,initDirectivesForSSR:g1,inject:Fs,isMemoSame:km,isProxy:Ru,isReactive:tn,isReadonly:ns,isRef:be,isRuntimeOnly:TS,isShallow:$r,isVNode:Ut,markRaw:hi,mergeDefaults:GC,mergeModels:YC,mergeProps:Kt,nextTick:fr,normalizeClass:fi,normalizeProps:tT,normalizeStyle:ci,onActivated:Wp,onBeforeMount:zp,onBeforeUnmount:oa,onBeforeUpdate:Gp,onDeactivated:qp,onErrorCaptured:Zp,onMounted:ps,onRenderTracked:Jp,onRenderTriggered:Xp,onScopeDispose:mp,onServerPrefetch:Yp,onUnmounted:dr,onUpdated:ia,openBlock:gi,popScopeId:uC,provide:rm,proxyRefs:xu,pushScopeId:lC,queuePostFlushCb:$u,reactive:Dt,readonly:Iu,ref:Ge,registerRuntimeCompiler:Tm,render:Rl,renderList:RC,renderSlot:FC,resolveComponent:PC,resolveDirective:IC,resolveDynamicComponent:DC,resolveFilter:PS,resolveTransitionHooks:zs,setBlockTracking:wl,setDevtoolsHook:Fp,setTransitionHooks:ss,shallowReactive:kp,shallowReadonly:jT,shallowRef:UT,ssrContextKey:wm,ssrUtils:NS,stop:mT,toDisplayString:fT,toHandlerKey:Ds,toHandlers:MC,toRaw:Q,toRef:ZT,toRefs:Pp,toValue:KT,transformVNodeArgs:gS,triggerRef:qT,unref:Mu,useAttrs:KC,useCssModule:XS,useCssVars:JS,useModel:zC,useSSRContext:Om,useSlots:qC,useTransitionState:Uu,vModelCheckbox:nc,vModelDynamic:Vm,vModelRadio:sc,vModelSelect:Bm,vModelText:To,vShow:jm,version:Nm,warn:tC,watch:yn,watchEffect:kr,watchPostEffect:$p,watchSyncEffect:AC,withAsyncContext:JC,withCtx:Vu,withDefaults:WC,withDirectives:CC,withKeys:h1,withMemo:OS,withModifiers:f1,withScopeId:cC},Symbol.toStringTag,{value:"Module"}));function ic(t){throw t}function Gm(t){}function ve(t,e,n,s){const r=t,i=new SyntaxError(String(r));return i.code=t,i.loc=e,i}const zr=Symbol(""),Rr=Symbol(""),oc=Symbol(""),Co=Symbol(""),Ym=Symbol(""),os=Symbol(""),Xm=Symbol(""),Jm=Symbol(""),ac=Symbol(""),lc=Symbol(""),_i=Symbol(""),uc=Symbol(""),Zm=Symbol(""),cc=Symbol(""),So=Symbol(""),fc=Symbol(""),dc=Symbol(""),hc=Symbol(""),pc=Symbol(""),Qm=Symbol(""),eg=Symbol(""),ca=Symbol(""),wo=Symbol(""),mc=Symbol(""),gc=Symbol(""),Gr=Symbol(""),Ei=Symbol(""),_c=Symbol(""),Ll=Symbol(""),E1=Symbol(""),Fl=Symbol(""),Oo=Symbol(""),y1=Symbol(""),v1=Symbol(""),Ec=Symbol(""),b1=Symbol(""),A1=Symbol(""),yc=Symbol(""),tg=Symbol(""),Xs={[zr]:"Fragment",[Rr]:"Teleport",[oc]:"Suspense",[Co]:"KeepAlive",[Ym]:"BaseTransition",[os]:"openBlock",[Xm]:"createBlock",[Jm]:"createElementBlock",[ac]:"createVNode",[lc]:"createElementVNode",[_i]:"createCommentVNode",[uc]:"createTextVNode",[Zm]:"createStaticVNode",[cc]:"resolveComponent",[So]:"resolveDynamicComponent",[fc]:"resolveDirective",[dc]:"resolveFilter",[hc]:"withDirectives",[pc]:"renderList",[Qm]:"renderSlot",[eg]:"createSlots",[ca]:"toDisplayString",[wo]:"mergeProps",[mc]:"normalizeClass",[gc]:"normalizeStyle",[Gr]:"normalizeProps",[Ei]:"guardReactiveProps",[_c]:"toHandlers",[Ll]:"camelize",[E1]:"capitalize",[Fl]:"toHandlerKey",[Oo]:"setBlockTracking",[y1]:"pushScopeId",[v1]:"popScopeId",[Ec]:"withCtx",[b1]:"unref",[A1]:"isRef",[yc]:"withMemo",[tg]:"isMemoSame"};function T1(t){Object.getOwnPropertySymbols(t).forEach(e=>{Xs[e]=t[e]})}const ft={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function C1(t,e=ft){return{type:0,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function Yr(t,e,n,s,r,i,o,a=!1,l=!1,u=!1,c=ft){return t&&(a?(t.helper(os),t.helper(Qs(t.inSSR,u))):t.helper(Zs(t.inSSR,u)),o&&t.helper(hc)),{type:13,tag:e,props:n,children:s,patchFlag:r,dynamicProps:i,directives:o,isBlock:a,disableTracking:l,isComponent:u,loc:c}}function yi(t,e=ft){return{type:17,loc:e,elements:t}}function gt(t,e=ft){return{type:15,loc:e,properties:t}}function Ae(t,e){return{type:16,loc:ft,key:ne(t)?ie(t,!0):t,value:e}}function ie(t,e=!1,n=ft,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function kt(t,e=ft){return{type:8,loc:e,children:t}}function Ce(t,e=[],n=ft){return{type:14,loc:n,callee:t,arguments:e}}function Js(t,e=void 0,n=!1,s=!1,r=ft){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:r}}function Ml(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:ft}}function S1(t,e,n=!1){return{type:20,index:t,value:e,isVNode:n,loc:ft}}function w1(t){return{type:21,body:t,loc:ft}}function Zs(t,e){return t||e?ac:lc}function Qs(t,e){return t||e?Xm:Jm}function vc(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Zs(s,t.isComponent)),e(os),e(Qs(s,t.isComponent)))}const Xe=t=>t.type===4&&t.isStatic,Os=(t,e)=>t===e||t===rt(e);function ng(t){if(Os(t,"Teleport"))return Rr;if(Os(t,"Suspense"))return oc;if(Os(t,"KeepAlive"))return Co;if(Os(t,"BaseTransition"))return Ym}const O1=/^\d|[^\$\w]/,bc=t=>!O1.test(t),k1=/[A-Za-z_$\xA0-\uFFFF]/,N1=/[\.\?\w$\xA0-\uFFFF]/,P1=/\s+[.[]\s*|\s*[.[]\s+/g,D1=t=>{t=t.trim().replace(P1,o=>o.trim());let e=0,n=[],s=0,r=0,i=null;for(let o=0;oe.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function za(t){return t.type===5||t.type===2}function R1(t){return t.type===7&&t.name==="slot"}function Po(t){return t.type===1&&t.tagType===3}function Do(t){return t.type===1&&t.tagType===2}const L1=new Set([Gr,Ei]);function ig(t,e=[]){if(t&&!ne(t)&&t.type===14){const n=t.callee;if(!ne(n)&&L1.has(n))return ig(t.arguments[0],e.concat(t))}return[t,e]}function Io(t,e,n){let s,r=t.type===13?t.props:t.arguments[2],i=[],o;if(r&&!ne(r)&&r.type===14){const a=ig(r);r=a[0],i=a[1],o=i[i.length-1]}if(r==null||ne(r))s=gt([e]);else if(r.type===14){const a=r.arguments[0];!ne(a)&&a.type===15?fd(e,a)||a.properties.unshift(e):r.callee===_c?s=Ce(n.helper(wo),[gt([e]),r]):r.arguments.unshift(gt([e])),!s&&(s=r)}else r.type===15?(fd(e,r)||r.properties.unshift(e),s=r):(s=Ce(n.helper(wo),[gt([e]),r]),o&&o.callee===Ei&&(o=i[i.length-2]));t.type===13?o?o.arguments[0]=s:t.props=s:o?o.arguments[0]=s:t.arguments[2]=s}function fd(t,e){let n=!1;if(t.key.type===4){const s=t.key.content;n=e.properties.some(r=>r.key.type===4&&r.key.content===s)}return n}function Xr(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function F1(t){return t.type===14&&t.callee===yc?t.arguments[1].returns:t}function dd(t,e){const n=e.options?e.options.compatConfig:e.compatConfig,s=n&&n[t];return t==="MODE"?s||3:s}function Jn(t,e){const n=dd("MODE",e),s=dd(t,e);return n===3?s===!0:s!==!1}function Jr(t,e,n,...s){return Jn(t,e)}const M1=/&(gt|lt|amp|apos|quot);/g,x1={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},hd={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Qi,isPreTag:Qi,isCustomElement:Qi,decodeEntities:t=>t.replace(M1,(e,n)=>x1[n]),onError:ic,onWarn:Gm,comments:!1};function B1(t,e={}){const n=$1(t,e),s=at(n);return C1(Ac(n,0,[]),Tt(n,s))}function $1(t,e){const n=ae({},hd);let s;for(s in e)n[s]=e[s]===void 0?hd[s]:e[s];return{options:n,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function Ac(t,e,n){const s=da(n),r=s?s.ns:0,i=[];for(;!G1(t,e,n);){const a=t.source;let l;if(e===0||e===1){if(!t.inVPre&&Fe(a,t.options.delimiters[0]))l=K1(t,e);else if(e===0&&a[0]==="<")if(a.length===1)he(t,5,1);else if(a[1]==="!")Fe(a,"=0;){const u=o[a];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(i)s.codegenNode=yd(r,l,n);else{const u=Ew(s.codegenNode);u.alternate=yd(r,l+s.branches.length-1,n)}}}));function _w(t,e,n,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const r=e.exp?e.exp.loc:t.loc;n.onError(ve(28,e.loc)),e.exp=ie("true",!1,r)}if(e.name==="if"){const r=Ed(t,e),i={type:9,loc:t.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(t);for(;i-->=-1;){const o=r[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(ve(30,t.loc)),n.removeNode();const a=Ed(t,e);o.branches.push(a);const l=s&&s(o,a,!1);ha(a,n),l&&l(),n.currentNode=null}else n.onError(ve(30,t.loc));break}}}function Ed(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!mt(t,"for")?t.children:[t],userKey:fa(t,"key"),isTemplateIf:n}}function yd(t,e,n){return t.condition?Ml(t.condition,vd(t,e,n),Ce(n.helper(_i),['""',"true"])):vd(t,e,n)}function vd(t,e,n){const{helper:s}=n,r=Ae("key",ie(`${e}`,!1,ft,2)),{children:i}=t,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return Io(l,r,n),l}else{let l=64;return Yr(n,s(zr),gt([r]),i,l+"",void 0,void 0,!0,!1,!1,t.loc)}else{const l=o.codegenNode,u=F1(l);return u.type===13&&vc(u,n),Io(u,r,n),l}}function Ew(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const yw=dg("for",(t,e,n)=>{const{helper:s,removeHelper:r}=n;return vw(t,e,n,i=>{const o=Ce(s(pc),[i.source]),a=Po(t),l=mt(t,"memo"),u=fa(t,"key"),c=u&&(u.type===6?ie(u.value.content,!0):u.exp),f=u?Ae("key",c):null,_=i.source.type===4&&i.source.constType>0,p=_?64:u?128:256;return i.codegenNode=Yr(n,s(zr),void 0,o,p+"",void 0,void 0,!0,!_,!1,t.loc),()=>{let m;const{children:h}=i,y=h.length!==1||h[0].type!==1,E=Do(t)?t:a&&t.children.length===1&&Do(t.children[0])?t.children[0]:null;if(E?(m=E.codegenNode,a&&f&&Io(m,f,n)):y?m=Yr(n,s(zr),f?gt([f]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(m=h[0].codegenNode,a&&f&&Io(m,f,n),m.isBlock!==!_&&(m.isBlock?(r(os),r(Qs(n.inSSR,m.isComponent))):r(Zs(n.inSSR,m.isComponent))),m.isBlock=!_,m.isBlock?(s(os),s(Qs(n.inSSR,m.isComponent))):s(Zs(n.inSSR,m.isComponent))),l){const d=Js($l(i.parseResult,[ie("_cached")]));d.body=w1([kt(["const _memo = (",l.exp,")"]),kt(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(tg)}(_cached, _memo)) return _cached`]),kt(["const _item = ",m]),ie("_item.memo = _memo"),ie("return _item")]),o.arguments.push(d,ie("_cache"),ie(String(n.cached++)))}else o.arguments.push(Js($l(i.parseResult),m,!0))}})});function vw(t,e,n,s){if(!e.exp){n.onError(ve(31,e.loc));return}const r=gg(e.exp);if(!r){n.onError(ve(32,e.loc));return}const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:u,key:c,index:f}=r,_={type:11,loc:e.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:f,parseResult:r,children:Po(t)?t.children:[t]};n.replaceNode(_),a.vFor++;const p=s&&s(_);return()=>{a.vFor--,p&&p()}}const bw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Aw=/^\(|\)$/g;function gg(t,e){const n=t.loc,s=t.content,r=s.match(bw);if(!r)return;const[,i,o]=r,a={source:ji(n,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(Aw,"").trim();const u=i.indexOf(l),c=l.match(bd);if(c){l=l.replace(bd,"").trim();const f=c[1].trim();let _;if(f&&(_=s.indexOf(f,u+l.length),a.key=ji(n,f,_)),c[2]){const p=c[2].trim();p&&(a.index=ji(n,p,s.indexOf(p,a.key?_+f.length:u+l.length)))}}return l&&(a.value=ji(n,l,u)),a}function ji(t,e,n){return ie(e,!1,rg(t,n,e.length))}function $l({value:t,key:e,index:n},s=[]){return Tw([t,e,n,...s])}function Tw(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||ie("_".repeat(s+1),!1))}const Ad=ie("undefined",!1),Cw=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=mt(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Sw=(t,e,n)=>Js(t,e,!1,!0,e.length?e[0].loc:n);function ww(t,e,n=Sw){e.helper(Ec);const{children:s,loc:r}=t,i=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=mt(t,"slot",!0);if(l){const{arg:y,exp:E}=l;y&&!Xe(y)&&(a=!0),i.push(Ae(y||ie("default",!0),n(E,s,r)))}let u=!1,c=!1;const f=[],_=new Set;let p=0;for(let y=0;y{const b=n(E,d,r);return e.compatConfig&&(b.isNonScopedSlot=!0),Ae("default",b)};u?f.length&&f.some(E=>_g(E))&&(c?e.onError(ve(39,f[0].loc)):i.push(y(void 0,f))):i.push(y(void 0,s))}const m=a?2:so(t.children)?3:1;let h=gt(i.concat(Ae("_",ie(m+"",!1))),r);return o.length&&(h=Ce(e.helper(eg),[h,yi(o)])),{slots:h,hasDynamicSlots:a}}function Ui(t,e,n){const s=[Ae("name",t),Ae("fn",e)];return n!=null&&s.push(Ae("key",ie(String(n),!0))),gt(s)}function so(t){for(let e=0;efunction(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:s,props:r}=t,i=t.tagType===1;let o=i?kw(t,e):`"${s}"`;const a=me(o)&&o.callee===So;let l,u,c,f=0,_,p,m,h=a||o===Rr||o===oc||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const y=yg(t,e,void 0,i,a);l=y.props,f=y.patchFlag,p=y.dynamicPropNames;const E=y.directives;m=E&&E.length?yi(E.map(d=>Pw(d,e))):void 0,y.shouldUseBlock&&(h=!0)}if(t.children.length>0)if(o===Co&&(h=!0,f|=1024),i&&o!==Rr&&o!==Co){const{slots:E,hasDynamicSlots:d}=ww(t,e);u=E,d&&(f|=1024)}else if(t.children.length===1&&o!==Rr){const E=t.children[0],d=E.type,b=d===5||d===8;b&&_t(E,e)===0&&(f|=1),b||d===2?u=E:u=t.children}else u=t.children;f!==0&&(c=String(f),p&&p.length&&(_=Dw(p))),t.codegenNode=Yr(e,o,l,u,c,_,m,!!h,!1,i,t.loc)};function kw(t,e,n=!1){let{tag:s}=t;const r=Vl(s),i=fa(t,"is");if(i)if(r||Jn("COMPILER_IS_ON_ELEMENT",e)){const l=i.type===6?i.value&&ie(i.value.content,!0):i.exp;if(l)return Ce(e.helper(So),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!r&&mt(t,"is");if(o&&o.exp)return Ce(e.helper(So),[o.exp]);const a=ng(s)||e.isBuiltInComponent(s);return a?(n||e.helper(a),a):(e.helper(cc),e.components.add(s),Xr(s,"component"))}function yg(t,e,n=t.props,s,r,i=!1){const{tag:o,loc:a,children:l}=t;let u=[];const c=[],f=[],_=l.length>0;let p=!1,m=0,h=!1,y=!1,E=!1,d=!1,b=!1,g=!1;const A=[],C=w=>{u.length&&(c.push(gt(Td(u),a)),u=[]),w&&c.push(w)},O=({key:w,value:k})=>{if(Xe(w)){const N=w.content,P=us(N);if(P&&(!s||r)&&N.toLowerCase()!=="onclick"&&N!=="onUpdate:modelValue"&&!zn(N)&&(d=!0),P&&zn(N)&&(g=!0),k.type===20||(k.type===4||k.type===8)&&_t(k,e)>0)return;N==="ref"?h=!0:N==="class"?y=!0:N==="style"?E=!0:N!=="key"&&!A.includes(N)&&A.push(N),s&&(N==="class"||N==="style")&&!A.includes(N)&&A.push(N)}else b=!0};for(let w=0;w0&&u.push(Ae(ie("ref_for",!0),ie("true")))),P==="is"&&(Vl(o)||R&&R.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",e)))continue;u.push(Ae(ie(P,!0,rg(N,0,P.length)),ie(R?R.content:"",B,R?R.loc:N)))}else{const{name:N,arg:P,exp:R,loc:B}=k,X=N==="bind",W=N==="on";if(N==="slot"){s||e.onError(ve(40,B));continue}if(N==="once"||N==="memo"||N==="is"||X&&qn(P,"is")&&(Vl(o)||Jn("COMPILER_IS_ON_ELEMENT",e))||W&&i)continue;if((X&&qn(P,"key")||W&&_&&qn(P,"vue:before-update"))&&(p=!0),X&&qn(P,"ref")&&e.scopes.vFor>0&&u.push(Ae(ie("ref_for",!0),ie("true"))),!P&&(X||W)){if(b=!0,R)if(X){if(C(),Jn("COMPILER_V_BIND_OBJECT_ORDER",e)){c.unshift(R);continue}c.push(R)}else C({type:14,loc:B,callee:e.helper(_c),arguments:s?[R]:[R,"true"]});else e.onError(ve(X?34:35,B));continue}const ee=e.directiveTransforms[N];if(ee){const{props:se,needRuntime:_e}=ee(k,t,e);!i&&se.forEach(O),W&&P&&!Xe(P)?C(gt(se,a)):u.push(...se),_e&&(f.push(k),Sn(_e)&&Eg.set(k,_e))}else zA(N)||(f.push(k),_&&(p=!0))}}let v;if(c.length?(C(),c.length>1?v=Ce(e.helper(wo),c,a):v=c[0]):u.length&&(v=gt(Td(u),a)),b?m|=16:(y&&!s&&(m|=2),E&&!s&&(m|=4),A.length&&(m|=8),d&&(m|=32)),!p&&(m===0||m===32)&&(h||g||f.length>0)&&(m|=512),!e.inSSR&&v)switch(v.type){case 15:let w=-1,k=-1,N=!1;for(let B=0;BAe(o,i)),r))}return yi(n,t.loc)}function Dw(t){let e="[";for(let n=0,s=t.length;n{if(Do(t)){const{children:n,loc:s}=t,{slotName:r,slotProps:i}=Rw(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Js([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Ce(e.helper(Qm),o,s)}};function Rw(t,e){let n='"default"',s;const r=[];for(let i=0;i0){const{props:i,directives:o}=yg(t,e,r,!1,!1);s=i,o.length&&e.onError(ve(36,o[0].loc))}return{slotName:n,slotProps:s}}const Lw=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,vg=(t,e,n,s)=>{const{loc:r,modifiers:i,arg:o}=t;!t.exp&&!i.length&&n.onError(ve(35,r));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const _=e.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Ds(we(f)):`on:${f}`;a=ie(_,!0,o.loc)}else a=kt([`${n.helperString(Fl)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(Fl)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=sg(l.content),_=!(f||Lw.test(l.content)),p=l.content.includes(";");(_||u&&f)&&(l=kt([`${_?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let c={props:[Ae(a,l||ie("() => {}",!1,r))]};return s&&(c=s(c)),u&&(c.props[0].value=n.cache(c.props[0].value)),c.props.forEach(f=>f.key.isHandlerKey=!0),c},Fw=(t,e,n)=>{const{exp:s,modifiers:r,loc:i}=t,o=t.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.includes("camel")&&(o.type===4?o.isStatic?o.content=we(o.content):o.content=`${n.helperString(Ll)}(${o.content})`:(o.children.unshift(`${n.helperString(Ll)}(`),o.children.push(")"))),n.inSSR||(r.includes("prop")&&Cd(o,"."),r.includes("attr")&&Cd(o,"^")),!s||s.type===4&&!s.content.trim()?(n.onError(ve(34,i)),{props:[Ae(o,ie("",!0,i))]}):{props:[Ae(o,s)]}},Cd=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},Mw=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const n=t.children;let s,r=!1;for(let i=0;ii.type===7&&!e.directiveTransforms[i.name])&&t.tag!=="template")))for(let i=0;i{if(t.type===1&&mt(t,"once",!0))return Sd.has(t)||e.inVOnce||e.inSSR?void 0:(Sd.add(t),e.inVOnce=!0,e.helper(Oo),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0))})},bg=(t,e,n)=>{const{exp:s,arg:r}=t;if(!s)return n.onError(ve(41,t.loc)),Wi();const i=s.loc.source,o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(ve(44,s.loc)),Wi();const l=!1;if(!o.trim()||!sg(o)&&!l)return n.onError(ve(42,s.loc)),Wi();const u=r||ie("modelValue",!0),c=r?Xe(r)?`onUpdate:${we(r.content)}`:kt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let f;const _=n.isTS?"($event: any)":"$event";f=kt([`${_} => ((`,s,") = $event)"]);const p=[Ae(u,t.exp),Ae(c,f)];if(t.modifiers.length&&e.tagType===1){const m=t.modifiers.map(y=>(bc(y)?y:JSON.stringify(y))+": true").join(", "),h=r?Xe(r)?`${r.content}Modifiers`:kt([r,' + "Modifiers"']):"modelModifiers";p.push(Ae(h,ie(`{ ${m} }`,!1,t.loc,2)))}return Wi(p)};function Wi(t=[]){return{props:t}}const Bw=/[\w).+\-_$\]]/,$w=(t,e)=>{Jn("COMPILER_FILTER",e)&&(t.type===5&&Lo(t.content,e),t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Lo(n.exp,e)}))};function Lo(t,e){if(t.type===4)wd(t,e);else for(let n=0;n=0&&(d=n.charAt(E),d===" ");E--);(!d||!Bw.test(d))&&(o=!0)}}m===void 0?m=n.slice(0,p).trim():c!==0&&y();function y(){h.push(n.slice(c,p).trim()),c=p+1}if(h.length){for(p=0;p{if(t.type===1){const n=mt(t,"memo");return!n||Od.has(t)?void 0:(Od.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&vc(s,e),t.codegenNode=Ce(e.helper(yc),[n.exp,Js(void 0,s),"_cache",String(e.cached++)]))})}};function jw(t){return[[xw,gw,Hw,yw,$w,Iw,Ow,Cw,Mw],{on:vg,bind:Fw,model:bg}]}function Uw(t,e={}){const n=e.onError||ic,s=e.mode==="module";e.prefixIdentifiers===!0?n(ve(47)):s&&n(ve(48));const r=!1;e.cacheHandlers&&n(ve(49)),e.scopeId&&!s&&n(ve(50));const i=ne(t)?B1(t,e):t,[o,a]=jw();return Z1(i,ae({},e,{prefixIdentifiers:r,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:ae({},a,e.directiveTransforms||{})})),tw(i,ae({},e,{prefixIdentifiers:r}))}const Ww=()=>({props:[]}),Ag=Symbol(""),Tg=Symbol(""),Cg=Symbol(""),Sg=Symbol(""),Hl=Symbol(""),wg=Symbol(""),Og=Symbol(""),kg=Symbol(""),Ng=Symbol(""),Pg=Symbol("");T1({[Ag]:"vModelRadio",[Tg]:"vModelCheckbox",[Cg]:"vModelText",[Sg]:"vModelSelect",[Hl]:"vModelDynamic",[wg]:"withModifiers",[Og]:"withKeys",[kg]:"vShow",[Ng]:"Transition",[Pg]:"TransitionGroup"});let ys;function qw(t,e=!1){return ys||(ys=document.createElement("div")),e?(ys.innerHTML=`
`,ys.children[0].getAttribute("foo")):(ys.innerHTML=t,ys.textContent)}const Kw=Qe("style,iframe,script,noscript",!0),zw={isVoidTag:aT,isNativeTag:t=>iT(t)||oT(t),isPreTag:t=>t==="pre",decodeEntities:qw,isBuiltInComponent:t=>{if(Os(t,"Transition"))return Ng;if(Os(t,"TransitionGroup"))return Pg},getNamespace(t,e){let n=e?e.ns:0;if(e&&n===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(n=0);else e&&n===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(n=0);if(n===0){if(t==="svg")return 1;if(t==="math")return 2}return n},getTextMode({tag:t,ns:e}){if(e===0){if(t==="textarea"||t==="title")return 1;if(Kw(t))return 2}return 0}},Gw=t=>{t.type===1&&t.props.forEach((e,n)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[n]={type:7,name:"bind",arg:ie("style",!0,e.loc),exp:Yw(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Yw=(t,e)=>{const n=fp(t);return ie(JSON.stringify(n),!1,e,3)};function bn(t,e){return ve(t,e)}const Xw=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(53,r)),e.children.length&&(n.onError(bn(54,r)),e.children.length=0),{props:[Ae(ie("innerHTML",!0,r),s||ie("",!0))]}},Jw=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(55,r)),e.children.length&&(n.onError(bn(56,r)),e.children.length=0),{props:[Ae(ie("textContent",!0),s?_t(s,n)>0?s:Ce(n.helperString(ca),[s],r):ie("",!0))]}},Zw=(t,e,n)=>{const s=bg(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(bn(58,t.arg.loc));const{tag:r}=e,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=Cg,a=!1;if(r==="input"||i){const l=fa(e,"type");if(l){if(l.type===7)o=Hl;else if(l.value)switch(l.value.content){case"radio":o=Ag;break;case"checkbox":o=Tg;break;case"file":a=!0,n.onError(bn(59,t.loc));break}}else I1(e)&&(o=Hl)}else r==="select"&&(o=Sg);a||(s.needRuntime=n.helper(o))}else n.onError(bn(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},Qw=Qe("passive,once,capture"),eO=Qe("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),tO=Qe("left,right"),Dg=Qe("onkeyup,onkeydown,onkeypress",!0),nO=(t,e,n,s)=>{const r=[],i=[],o=[];for(let a=0;aXe(t)&&t.content.toLowerCase()==="onclick"?ie(e,!0):t.type!==4?kt(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,sO=(t,e,n)=>vg(t,e,n,s=>{const{modifiers:r}=t;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:u}=nO(i,r,n,t.loc);if(l.includes("right")&&(i=kd(i,"onContextmenu")),l.includes("middle")&&(i=kd(i,"onMouseup")),l.length&&(o=Ce(n.helper(wg),[o,JSON.stringify(l)])),a.length&&(!Xe(i)||Dg(i.content))&&(o=Ce(n.helper(Og),[o,JSON.stringify(a)])),u.length){const c=u.map(fs).join("");i=Xe(i)?ie(`${i.content}${c}`,!0):kt(["(",i,`) + "${c}"`])}return{props:[Ae(i,o)]}}),rO=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(61,r)),{props:[],needRuntime:n.helper(kg)}},iO=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},oO=[Gw],aO={cloak:Ww,html:Xw,text:Jw,model:Zw,on:sO,show:rO};function lO(t,e={}){return Uw(t,ae({},zw,e,{nodeTransforms:[iO,...oO,...e.nodeTransforms||[]],directiveTransforms:ae({},aO,e.directiveTransforms||{}),transformHoist:null}))}const Nd=Object.create(null);function uO(t,e){if(!ne(t))if(t.nodeType)t=t.innerHTML;else return Ue;const n=t,s=Nd[n];if(s)return s;if(t[0]==="#"){const a=document.querySelector(t);t=a?a.innerHTML:""}const r=ae({hoistStatic:!0,onError:void 0,onWarn:Ue},e);!r.isCustomElement&&typeof customElements<"u"&&(r.isCustomElement=a=>!!customElements.get(a));const{code:i}=lO(t,r),o=new Function("Vue",i)(_1);return o._rc=!0,Nd[n]=o}Tm(uO);const cO=(t,e)=>{const n=t.__vccOpts||t;for(const[s,r]of e)n[s]=r;return n},fO={name:"App"};function dO(t,e,n,s,r,i){return gi(),_m("div")}const hO=cO(fO,[["render",dO]]);var pO=!1;/*! - * pinia v2.1.6 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Ig;const ma=t=>Ig=t,Rg=Symbol();function jl(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Fr;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Fr||(Fr={}));function mO(){const t=ku(!0),e=t.run(()=>Ge({}));let n=[],s=[];const r=hi({install(i){ma(r),r._a=i,i.provide(Rg,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!pO?s.push(i):n.push(i),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const Lg=()=>{};function Pd(t,e,n,s=Lg){t.push(e);const r=()=>{const i=t.indexOf(e);i>-1&&(t.splice(i,1),s())};return!n&&Nu()&&mp(r),r}function vs(t,...e){t.slice().forEach(n=>{n(...e)})}const gO=t=>t();function Ul(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],r=t[n];jl(r)&&jl(s)&&t.hasOwnProperty(n)&&!be(s)&&!tn(s)?t[n]=Ul(r,s):t[n]=s}return t}const _O=Symbol();function EO(t){return!jl(t)||!t.hasOwnProperty(_O)}const{assign:gn}=Object;function yO(t){return!!(be(t)&&t.effect)}function vO(t,e,n,s){const{state:r,actions:i,getters:o}=e,a=n.state.value[t];let l;function u(){a||(n.state.value[t]=r?r():{});const c=Pp(n.state.value[t]);return gn(c,i,Object.keys(o||{}).reduce((f,_)=>(f[_]=hi(ke(()=>{ma(n);const p=n._s.get(t);return o[_].call(p,p)})),f),{}))}return l=Fg(t,u,e,n,s,!0),l}function Fg(t,e,n={},s,r,i){let o;const a=gn({actions:{}},n),l={deep:!0};let u,c,f=[],_=[],p;const m=s.state.value[t];!i&&!m&&(s.state.value[t]={}),Ge({});let h;function y(v){let w;u=c=!1,typeof v=="function"?(v(s.state.value[t]),w={type:Fr.patchFunction,storeId:t,events:p}):(Ul(s.state.value[t],v),w={type:Fr.patchObject,payload:v,storeId:t,events:p});const k=h=Symbol();fr().then(()=>{h===k&&(u=!0)}),c=!0,vs(f,w,s.state.value[t])}const E=i?function(){const{state:w}=n,k=w?w():{};this.$patch(N=>{gn(N,k)})}:Lg;function d(){o.stop(),f=[],_=[],s._s.delete(t)}function b(v,w){return function(){ma(s);const k=Array.from(arguments),N=[],P=[];function R(W){N.push(W)}function B(W){P.push(W)}vs(_,{args:k,name:v,store:A,after:R,onError:B});let X;try{X=w.apply(this&&this.$id===t?this:A,k)}catch(W){throw vs(P,W),W}return X instanceof Promise?X.then(W=>(vs(N,W),W)).catch(W=>(vs(P,W),Promise.reject(W))):(vs(N,X),X)}}const g={_p:s,$id:t,$onAction:Pd.bind(null,_),$patch:y,$reset:E,$subscribe(v,w={}){const k=Pd(f,v,w.detached,()=>N()),N=o.run(()=>yn(()=>s.state.value[t],P=>{(w.flush==="sync"?c:u)&&v({storeId:t,type:Fr.direct,events:p},P)},gn({},l,w)));return k},$dispose:d},A=Dt(g);s._s.set(t,A);const C=s._a&&s._a.runWithContext||gO,O=s._e.run(()=>(o=ku(),C(()=>o.run(e))));for(const v in O){const w=O[v];if(be(w)&&!yO(w)||tn(w))i||(m&&EO(w)&&(be(w)?w.value=m[v]:Ul(w,m[v])),s.state.value[t][v]=w);else if(typeof w=="function"){const k=b(v,w);O[v]=k,a.actions[v]=w}}return gn(A,O),gn(Q(A),O),Object.defineProperty(A,"$state",{get:()=>s.state.value[t],set:v=>{y(w=>{gn(w,v)})}}),s._p.forEach(v=>{gn(A,o.run(()=>v({store:A,app:s._a,pinia:s,options:a})))}),m&&i&&n.hydrate&&n.hydrate(A.$state,m),u=!0,c=!0,A}function Mg(t,e,n){let s,r;const i=typeof e=="function";typeof t=="string"?(s=t,r=i?n:e):(r=t,s=t.id);function o(a,l){const u=im();return a=a||(u?Fs(Rg,null):null),a&&ma(a),a=Ig,a._s.has(s)||(i?Fg(s,e,r,a):vO(s,r,a)),a._s.get(s)}return o.$id=s,o}function Ck(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(){return t(this.$pinia)[s]},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(){const r=t(this.$pinia),i=e[s];return typeof i=="function"?i.call(this,r):r[i]},n),{})}function Sk(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[s](...r)},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[e[s]](...r)},n),{})}const xg=Mg("error",{state:()=>({message:null,errors:{}})});/*! js-cookie v3.0.5 | MIT */function qi(t){for(var e=1;e"u")){o=qi({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in o)o[l]&&(a+="; "+l,o[l]!==!0&&(a+="="+o[l].split(";")[0]));return document.cookie=r+"="+t.write(i,r)+a}}function s(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var i=document.cookie?document.cookie.split("; "):[],o={},a=0;ast.get("/sanctum/csrf-cookie");st.interceptors.request.use(function(t){return xg().$reset(),ql.get("XSRF-TOKEN")?t:AO().then(e=>t)},function(t){return Promise.reject(t)});st.interceptors.response.use(function(t){var e,n,s,r,i,o;return(((s=(n=(e=t==null?void 0:t.data)==null?void 0:e.data)==null?void 0:n.csrf_token)==null?void 0:s.length)>0||((o=(i=(r=t==null?void 0:t.data)==null?void 0:r.data)==null?void 0:i.token)==null?void 0:o.length)>0)&&ql.set("XSRF-TOKEN",t.data.data.csrf_token),t},function(t){switch(t.response.status){case 401:localStorage.removeItem("token"),window.location.reload();break;case 403:case 404:console.error("404");break;case 422:xg().$state=t.response.data;break;default:console.log(t.response.data)}return Promise.reject(t)});function Fo(t){return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(t)}function ro(t,e){if(!t.vueAxiosInstalled){var n=Bg(e)?SO(e):e;if(wO(n)){var s=OO(t);if(s){var r=s<3?TO:CO;Object.keys(n).forEach(function(i){r(t,i,n[i])}),t.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function TO(t,e,n){Object.defineProperty(t.prototype,e,{get:function(){return n}}),t[e]=n}function CO(t,e,n){t.config.globalProperties[e]=n,t[e]=n}function Bg(t){return t&&typeof t.get=="function"&&typeof t.post=="function"}function SO(t){return{axios:t,$http:t}}function wO(t){return Fo(t)==="object"&&Object.keys(t).every(function(e){return Bg(t[e])})}function OO(t){return t&&t.version&&Number(t.version.split(".")[0])}(typeof exports>"u"?"undefined":Fo(exports))=="object"?module.exports=ro:typeof define=="function"&&define.amd?define([],function(){return ro}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(ro,window.axios);const Ya=Mg("auth",{state:()=>({loggedIn:!!localStorage.getItem("token"),user:null}),getters:{},actions:{async login(t){await st.get("sanctum/csrf-cookie");const e=(await st.post("api/login",t)).data;if(e){const n=`Bearer ${e.token}`;localStorage.setItem("token",n),st.defaults.headers.common.Authorization=n,await this.ftechUser()}},async logout(){(await st.post("api/logout")).data&&(localStorage.removeItem("token"),this.$reset())},async ftechUser(){this.user=(await st.get("api/me")).data,this.loggedIn=!0}}}),kO={install:({config:t})=>{t.globalProperties.$auth=Ya(),Ya().loggedIn&&Ya().ftechUser()}};function NO(t){return{all:t=t||new Map,on:function(e,n){var s=t.get(e);s?s.push(n):t.set(e,[n])},off:function(e,n){var s=t.get(e);s&&(n?s.splice(s.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var s=t.get(e);s&&s.slice().map(function(r){r(n)}),(s=t.get("*"))&&s.slice().map(function(r){r(e,n)})}}}const PO={install:(t,e)=>{t.config.globalProperties.$eventBus=NO()}},bi={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},er={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},We={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},DO={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom"},$g={dangerouslyHTMLString:!1,multiple:!0,position:bi.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},IO={rtl:!1,newestOnTop:!1,toastClassName:""},Vg={...$g,...IO};({...$g,type:We.DEFAULT});var fe=(t=>(t[t.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",t[t.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",t.CSS_NAMESPACE="Toastify",t))(fe||{}),Kl=(t=>(t.ENTRANCE_ANIMATION_END="d",t))(Kl||{});const RO={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},LO={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},FO={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},MO={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"};function Hg(t){let e=RO;if(!t||typeof t=="string")switch(t){case"flip":e=MO;break;case"zoom":e=FO;break;case"slide":e=LO;break}else e=t;return e}function xO(t){return t.containerId||String(t.position)}const ga="will-unmount";function BO(t=bi.TOP_RIGHT){return!!document.querySelector(".".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t))}function $O(t=bi.TOP_RIGHT){return"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t)}function VO(t,e,n=!1){const s=["".concat(fe.CSS_NAMESPACE,"__toast-container"),"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t),n?"".concat(fe.CSS_NAMESPACE,"__toast-container--rtl"):null].filter(Boolean).join(" ");return Ms(e)?e({position:t,rtl:n,defaultClassName:s}):"".concat(s," ").concat(e||"")}function HO(t){var e;const{position:n,containerClassName:s,rtl:r=!1,style:i={}}=t,o=fe.CSS_NAMESPACE,a=$O(n),l=document.querySelector(".".concat(o)),u=document.querySelector(".".concat(a)),c=!!u&&!((e=u.className)!=null&&e.includes(ga)),f=l||document.createElement("div"),_=document.createElement("div");_.className=VO(n,s,r),_.dataset.testid="".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(n),_.id=xO(t);for(const p in i)if(Object.prototype.hasOwnProperty.call(i,p)){const m=i[p];_.style[p]=m}return l||(f.className=fe.CSS_NAMESPACE,document.body.appendChild(f)),c||f.appendChild(_),_}function zl(t){var e,n,s;const r=typeof t=="string"?t:((e=t.currentTarget)==null?void 0:e.id)||((n=t.target)==null?void 0:n.id),i=document.getElementById(r);i&&i.removeEventListener("animationend",zl,!1);try{Qr[r].unmount(),(s=document.getElementById(r))==null||s.remove(),delete Qr[r],delete Re[r]}catch{}}const Qr=Dt({});function jO(t,e){const n=document.getElementById(String(e));n&&(Qr[n.id]=t)}function Gl(t,e=!0){const n=String(t);if(!Qr[n])return;const s=document.getElementById(n);s&&s.classList.add(ga),e?(WO(t),s&&s.addEventListener("animationend",zl,!1)):zl(n),Wt.items=Wt.items.filter(r=>r.containerId!==t)}function UO(t){for(const e in Qr)Gl(e,t);Wt.items=[]}function jg(t,e){const n=document.getElementById(t.toastId);if(n){let s=t;s={...s,...Hg(s.transition)};const r=s.appendPosition?"".concat(s.exit,"--").concat(s.position):s.exit;n.className+=" ".concat(r),e&&e(n)}}function WO(t){for(const e in Re)if(e===t)for(const n of Re[e]||[])jg(n)}function qO(t){const e=Ai().find(n=>n.toastId===t);return e==null?void 0:e.containerId}function Cc(t){return document.getElementById(t)}function KO(t){const e=Cc(t.containerId);return e&&e.classList.contains(ga)}function Dd(t){var e;const n=Ut(t.content)?Q(t.content.props):null;return n??Q((e=t.data)!=null?e:{})}function zO(t){return t?Wt.items.filter(e=>e.containerId===t).length>0:Wt.items.length>0}function GO(){if(Wt.items.length>0){const t=Wt.items.shift();io(t==null?void 0:t.toastContent,t==null?void 0:t.toastProps)}}const Re=Dt({}),Wt=Dt({items:[]});function Ai(){const t=Q(Re);return Object.values(t).reduce((e,n)=>[...e,...n],[])}function YO(t){return Ai().find(e=>e.toastId===t)}function io(t,e={}){if(KO(e)){const n=Cc(e.containerId);n&&n.addEventListener("animationend",Yl.bind(null,t,e),!1)}else Yl(t,e)}function Yl(t,e={}){const n=Cc(e.containerId);n&&n.removeEventListener("animationend",Yl.bind(null,t,e),!1);const s=Re[e.containerId]||[],r=s.length>0;if(!r&&!BO(e.position)){const i=HO(e),o=rc(pk,e);o.mount(i),jO(o,i.id)}r&&(e.position=s[0].position),fr(()=>{e.updateId?Ht.update(e):Ht.add(t,e)})}const Ht={add(t,e){const{containerId:n=""}=e;n&&(Re[n]=Re[n]||[],Re[n].find(s=>s.toastId===e.toastId)||setTimeout(()=>{var s,r;e.newestOnTop?(s=Re[n])==null||s.unshift(e):(r=Re[n])==null||r.push(e),e.onOpen&&e.onOpen(Dd(e))},e.delay||0))},remove(t){if(t){const e=qO(t);if(e){const n=Re[e];let s=n.find(r=>r.toastId===t);Re[e]=n.filter(r=>r.toastId!==t),!Re[e].length&&!zO(e)&&Gl(e,!1),GO(),fr(()=>{s!=null&&s.onClose&&(s.onClose(Dd(s)),s=void 0)})}}},update(t={}){const{containerId:e=""}=t;if(e&&t.updateId){Re[e]=Re[e]||[];const n=Re[e].find(s=>s.toastId===t.toastId);n&&setTimeout(()=>{for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const r=t[s];n[s]=r}},t.delay||0)}},clear(t,e=!0){t?Gl(t,e):UO(e)},dismissCallback(t){var e;const n=(e=t.currentTarget)==null?void 0:e.id,s=document.getElementById(n);s&&(s.removeEventListener("animationend",Ht.dismissCallback,!1),setTimeout(()=>{Ht.remove(n)}))},dismiss(t){if(t){const e=Ai();for(const n of e)if(n.toastId===t){jg(n,s=>{s.addEventListener("animationend",Ht.dismissCallback,!1)});break}}}},Ug=Dt({}),Mo=Dt({});function Wg(){return Math.random().toString(36).substring(2,9)}function XO(t){return typeof t=="number"&&!isNaN(t)}function Xl(t){return typeof t=="string"}function Ms(t){return typeof t=="function"}function _a(...t){return Kt(...t)}function oo(t){return typeof t=="object"&&(!!(t!=null&&t.render)||!!(t!=null&&t.setup)||typeof(t==null?void 0:t.type)=="object")}function JO(t={}){Ug["".concat(fe.CSS_NAMESPACE,"-default-options")]=t}function ZO(){return Ug["".concat(fe.CSS_NAMESPACE,"-default-options")]||Vg}function QO(){return document.documentElement.classList.contains("dark")?"dark":"light"}var ao=(t=>(t[t.Enter=0]="Enter",t[t.Exit=1]="Exit",t))(ao||{});const qg={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:bi.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:er.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:We.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""}},ek={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:We.DEFAULT},theme:{type:String,required:!1,default:er.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},tk=hs({name:"ProgressBar",props:ek,setup(t,{attrs:e}){const n=Ge(),s=ke(()=>t.hide?"true":"false"),r=ke(()=>({...e.style||{},animationDuration:"".concat(t.autoClose===!0?5e3:t.autoClose,"ms"),animationPlayState:t.isRunning?"running":"paused",opacity:t.hide?0:1,transform:t.controlledProgress?"scaleX(".concat(t.progress,")"):"none"})),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__progress-bar"),t.controlledProgress?"".concat(fe.CSS_NAMESPACE,"__progress-bar--controlled"):"".concat(fe.CSS_NAMESPACE,"__progress-bar--animated"),"".concat(fe.CSS_NAMESPACE,"__progress-bar-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__progress-bar--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__progress-bar--rtl"):null].filter(Boolean).join(" ")),o=ke(()=>"".concat(i.value," ").concat((e==null?void 0:e.class)||"")),a=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},l=()=>{t.isIn&&t.closeToast&&t.autoClose!==!1&&(t.closeToast(),a())},u=ke(()=>t.controlledProgress?null:l),c=ke(()=>t.controlledProgress?l:null);return kr(()=>{n.value&&(a(),n.value.onanimationend=u.value,n.value.ontransitionend=c.value)}),()=>te("div",{ref:n,role:"progressbar","aria-hidden":s.value,"aria-label":"notification timer",class:o.value,style:r.value},null)}}),nk=hs({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:er.AUTO},type:{type:String,required:!1,default:er.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(t){return()=>te("button",{class:"".concat(fe.CSS_NAMESPACE,"__close-button ").concat(fe.CSS_NAMESPACE,"__close-button--").concat(t.theme),type:"button",onClick:e=>{e.stopPropagation(),t.closeToast&&t.closeToast(e)},"aria-label":t.ariaLabel},[te("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[te("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Ea=({theme:t,type:e,path:n,...s})=>te("svg",Kt({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":"var(--toastify-icon-color-".concat(e,")")},s),[te("path",{d:n},null)]);function sk(t){return te(Ea,Kt(t,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function rk(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function ik(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function ok(t){return te(Ea,Kt(t,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function ak(){return te("div",{class:"".concat(fe.CSS_NAMESPACE,"__spinner")},null)}const Jl={info:rk,warning:sk,success:ik,error:ok,spinner:ak},lk=t=>t in Jl;function uk({theme:t,type:e,isLoading:n,icon:s}){let r;const i={theme:t,type:e};return n?r=Jl.spinner():s===!1?r=void 0:oo(s)?r=Q(s):Ms(s)?r=s(i):Ut(s)?r=Nt(s,i):Xl(s)||XO(s)?r=s:lk(e)&&(r=Jl[e](i)),r}const ck=()=>{};function fk(t,e,n=fe.COLLAPSE_DURATION){const{scrollHeight:s,style:r}=t,i=n;requestAnimationFrame(()=>{r.minHeight="initial",r.height=s+"px",r.transition="all ".concat(i,"ms"),requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,i)})})}function dk(t){const e=Ge(!1),n=Ge(!1),s=Ge(!1),r=Ge(ao.Enter),i=Dt({...t,appendPosition:t.appendPosition||!1,collapse:typeof t.collapse>"u"?!0:t.collapse,collapseDuration:t.collapseDuration||fe.COLLAPSE_DURATION}),o=i.done||ck,a=ke(()=>i.appendPosition?"".concat(i.enter,"--").concat(i.position):i.enter),l=ke(()=>i.appendPosition?"".concat(i.exit,"--").concat(i.position):i.exit),u=ke(()=>t.pauseOnHover?{onMouseenter:y,onMouseleave:h}:{});function c(){const d=a.value.split(" ");_().addEventListener(Kl.ENTRANCE_ANIMATION_END,h,{once:!0});const b=A=>{const C=_();A.target===C&&(C.dispatchEvent(new Event(Kl.ENTRANCE_ANIMATION_END)),C.removeEventListener("animationend",b),C.removeEventListener("animationcancel",b),r.value===ao.Enter&&A.type!=="animationcancel"&&C.classList.remove(...d))},g=()=>{const A=_();A.classList.add(...d),A.addEventListener("animationend",b),A.addEventListener("animationcancel",b)};t.pauseOnFocusLoss&&p(),g()}function f(){if(!_())return;const d=()=>{const g=_();g.removeEventListener("animationend",d),i.collapse?fk(g,o,i.collapseDuration):o()},b=()=>{const g=_();r.value=ao.Exit,g&&(g.className+=" ".concat(l.value),g.addEventListener("animationend",d))};n.value||(s.value?d():setTimeout(b))}function _(){return t.toastRef.value}function p(){document.hasFocus()||y(),window.addEventListener("focus",h),window.addEventListener("blur",y)}function m(){window.removeEventListener("focus",h),window.removeEventListener("blur",y)}function h(){(!t.loading.value||t.isLoading===void 0)&&(e.value=!0)}function y(){e.value=!1}function E(d){d&&(d.stopPropagation(),d.preventDefault()),n.value=!1}return kr(f),kr(()=>{const d=Ai();n.value=d.findIndex(b=>b.toastId===i.toastId)>-1}),kr(()=>{t.isLoading!==void 0&&(t.loading.value?y():h())}),ps(c),dr(()=>{t.pauseOnFocusLoss&&m()}),{isIn:n,isRunning:e,hideToast:E,eventHandlers:u}}const hk=hs({name:"ToastItem",inheritAttrs:!1,props:qg,setup(t){const e=Ge(),n=ke(()=>!!t.isLoading),s=ke(()=>t.progress!==void 0&&t.progress!==null),r=ke(()=>uk(t)),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__toast"),"".concat(fe.CSS_NAMESPACE,"__toast-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__toast--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__toast--rtl"):void 0,t.toastClassName||""].filter(Boolean).join(" ")),{isRunning:o,isIn:a,hideToast:l,eventHandlers:u}=dk({toastRef:e,loading:n,done:()=>{Ht.remove(t.toastId)},...Hg(t.transition),...t});return()=>te("div",Kt({id:t.toastId,class:i.value,style:t.toastStyle||{},ref:e,"data-testid":"toast-item-".concat(t.toastId),onClick:c=>{t.closeOnClick&&l(),t.onClick&&t.onClick(c)}},u.value),[te("div",{role:t.role,"data-testid":"toast-body",class:"".concat(fe.CSS_NAMESPACE,"__toast-body ").concat(t.bodyClassName||"")},[r.value!=null&&te("div",{"data-testid":"toast-icon-".concat(t.type),class:["".concat(fe.CSS_NAMESPACE,"__toast-icon"),t.isLoading?"":"".concat(fe.CSS_NAMESPACE,"--animate-icon ").concat(fe.CSS_NAMESPACE,"__zoom-enter")].join(" ")},[oo(r.value)?ws(Q(r.value),{theme:t.theme,type:t.type}):Ms(r.value)?r.value({theme:t.theme,type:t.type}):r.value]),te("div",{"data-testid":"toast-content"},[oo(t.content)?ws(Q(t.content),{toastProps:Q(t),closeToast:l,data:t.data}):Ms(t.content)?t.content({toastProps:Q(t),closeToast:l,data:t.data}):t.dangerouslyHTMLString?ws("div",{innerHTML:t.content}):t.content])]),(t.closeButton===void 0||t.closeButton===!0)&&te(nk,{theme:t.theme,closeToast:c=>{c.stopPropagation(),c.preventDefault(),l()}},null),oo(t.closeButton)?ws(Q(t.closeButton),{closeToast:l,type:t.type,theme:t.theme}):Ms(t.closeButton)?t.closeButton({closeToast:l,type:t.type,theme:t.theme}):null,te(tk,{className:t.progressClassName,style:t.progressStyle,rtl:t.rtl,theme:t.theme,isIn:a.value,type:t.type,hide:t.hideProgressBar,isRunning:o.value,autoClose:t.autoClose,controlledProgress:s.value,progress:t.progress,closeToast:t.isLoading?void 0:l},null)])}});let Mr=0;function Kg(){typeof window>"u"||(Mr&&window.cancelAnimationFrame(Mr),Mr=window.requestAnimationFrame(Kg),Mo.lastUrl!==window.location.href&&(Mo.lastUrl=window.location.href,Ht.clear()))}const pk=hs({name:"ToastifyContainer",inheritAttrs:!1,props:qg,setup(t){const e=ke(()=>t.containerId),n=ke(()=>Re[e.value]||[]),s=ke(()=>n.value.filter(r=>r.position===t.position));return ps(()=>{typeof window<"u"&&t.clearOnUrlChange&&window.requestAnimationFrame(Kg)}),dr(()=>{typeof window<"u"&&Mr&&(window.cancelAnimationFrame(Mr),Mo.lastUrl="")}),()=>te(Pe,null,[s.value.map(r=>{const{toastId:i=""}=r;return te(hk,Kt({key:i},r),null)})])}});let Xa=!1;function zg(){const t=[];return Ai().forEach(e=>{const n=document.getElementById(e.containerId);n&&!n.classList.contains(ga)&&t.push(e)}),t}function mk(t){const e=zg().length,n=t??0;return n>0&&e+Wt.items.length>=n}function gk(t){mk(t.limit)&&!t.updateId&&Wt.items.push({toastId:t.toastId,containerId:t.containerId,toastContent:t.content,toastProps:t})}function Ln(t,e,n={}){if(Xa)return;n=_a(ZO(),{type:e},Q(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=Wg()),n={...n,content:t,containerId:n.containerId||String(n.position)};const s=Number(n==null?void 0:n.progress);return s<0&&(n.progress=0),s>1&&(n.progress=1),n.theme==="auto"&&(n.theme=QO()),gk(n),Mo.lastUrl=window.location.href,n.multiple?Wt.items.length?n.updateId&&io(t,n):io(t,n):(Xa=!0,Ee.clearAll(void 0,!1),setTimeout(()=>{io(t,n)},0),setTimeout(()=>{Xa=!1},390)),n.toastId}const Ee=(t,e)=>Ln(t,We.DEFAULT,e);Ee.info=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.INFO});Ee.error=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.ERROR});Ee.warning=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.WARNING});Ee.warn=Ee.warning;Ee.success=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.SUCCESS});Ee.loading=(t,e)=>Ln(t,We.DEFAULT,_a(e,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1}));Ee.dark=(t,e)=>Ln(t,We.DEFAULT,_a(e,{theme:er.DARK}));Ee.remove=t=>{t?Ht.dismiss(t):Ht.clear()};Ee.clearAll=(t,e)=>{Ht.clear(t,e)};Ee.isActive=t=>{let e=!1;return e=zg().findIndex(n=>n.toastId===t)>-1,e};Ee.update=(t,e={})=>{setTimeout(()=>{const n=YO(t);if(n){const s=Q(n),{content:r}=s,i={...s,...e,toastId:e.toastId||t,updateId:Wg()},o=i.render||r;delete i.render,Ln(o,i.type,i)}},0)};Ee.done=t=>{Ee.update(t,{isLoading:!1,progress:1})};Ee.promise=_k;function _k(t,{pending:e,error:n,success:s},r){var i,o,a;let l;const u={...r||{},autoClose:!1};e&&(l=Xl(e)?Ee.loading(e,u):Ee.loading(e.render,{...u,...e}));const c={autoClose:(i=r==null?void 0:r.autoClose)!=null?i:!0,closeOnClick:(o=r==null?void 0:r.closeOnClick)!=null?o:!0,closeButton:(a=r==null?void 0:r.autoClose)!=null?a:null,isLoading:void 0,draggable:null,delay:100},f=(p,m,h)=>{if(m==null){Ee.remove(l);return}const y={type:p,...c,...r,data:h},E=Xl(m)?{render:m}:m;return l?Ee.update(l,{...y,...E,isLoading:!1}):Ee(E.render,{...y,...E,isLoading:!1}),h},_=Ms(t)?t():t;return _.then(p=>{f("success",s,p)}).catch(p=>{f("error",n,p)}),_}Ee.POSITION=bi;Ee.THEME=er;Ee.TYPE=We;Ee.TRANSITIONS=DO;const Gg={install(t,e={}){Ek(e)}};typeof window<"u"&&(window.Vue3Toastify=Gg);function Ek(t={}){const e=_a(Vg,t);JO(e)}const Sc={url:"https://aibuddytool.com",port:null,defaults:{},routes:{"debugbar.openhandler":{uri:"_debugbar/open",methods:["GET","HEAD"]},"debugbar.clockwork":{uri:"_debugbar/clockwork/{id}",methods:["GET","HEAD"],parameters:["id"]},"debugbar.assets.css":{uri:"_debugbar/assets/stylesheets",methods:["GET","HEAD"]},"debugbar.assets.js":{uri:"_debugbar/assets/javascript",methods:["GET","HEAD"]},"debugbar.cache.delete":{uri:"_debugbar/cache/{key}/{tags?}",methods:["DELETE"],parameters:["key","tags"]},"horizon.stats.index":{uri:"chorizo/api/stats",methods:["GET","HEAD"]},"horizon.workload.index":{uri:"chorizo/api/workload",methods:["GET","HEAD"]},"horizon.masters.index":{uri:"chorizo/api/masters",methods:["GET","HEAD"]},"horizon.monitoring.index":{uri:"chorizo/api/monitoring",methods:["GET","HEAD"]},"horizon.monitoring.store":{uri:"chorizo/api/monitoring",methods:["POST"]},"horizon.monitoring-tag.paginate":{uri:"chorizo/api/monitoring/{tag}",methods:["GET","HEAD"],parameters:["tag"]},"horizon.monitoring-tag.destroy":{uri:"chorizo/api/monitoring/{tag}",methods:["DELETE"],wheres:{tag:".*"},parameters:["tag"]},"horizon.jobs-metrics.index":{uri:"chorizo/api/metrics/jobs",methods:["GET","HEAD"]},"horizon.jobs-metrics.show":{uri:"chorizo/api/metrics/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.queues-metrics.index":{uri:"chorizo/api/metrics/queues",methods:["GET","HEAD"]},"horizon.queues-metrics.show":{uri:"chorizo/api/metrics/queues/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.index":{uri:"chorizo/api/batches",methods:["GET","HEAD"]},"horizon.jobs-batches.show":{uri:"chorizo/api/batches/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.retry":{uri:"chorizo/api/batches/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.pending-jobs.index":{uri:"chorizo/api/jobs/pending",methods:["GET","HEAD"]},"horizon.completed-jobs.index":{uri:"chorizo/api/jobs/completed",methods:["GET","HEAD"]},"horizon.silenced-jobs.index":{uri:"chorizo/api/jobs/silenced",methods:["GET","HEAD"]},"horizon.failed-jobs.index":{uri:"chorizo/api/jobs/failed",methods:["GET","HEAD"]},"horizon.failed-jobs.show":{uri:"chorizo/api/jobs/failed/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.retry-jobs.show":{uri:"chorizo/api/jobs/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.jobs.show":{uri:"chorizo/api/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.index":{uri:"chorizo/{view?}",methods:["GET","HEAD"],wheres:{view:"(.*)"},parameters:["view"]},"sanctum.csrf-cookie":{uri:"sanctum/csrf-cookie",methods:["GET","HEAD"]},"ignition.healthCheck":{uri:"_ignition/health-check",methods:["GET","HEAD"]},"ignition.executeSolution":{uri:"_ignition/execute-solution",methods:["POST"]},"ignition.updateConfig":{uri:"_ignition/update-config",methods:["POST"]},"api.auth.login.post":{uri:"api/login",methods:["POST"]},"api.auth.logout.post":{uri:"api/logout",methods:["POST"]},"api.admin.post.get":{uri:"api/admin/post/{id}",methods:["GET","HEAD"],parameters:["id"]},"api.admin.country-locales":{uri:"api/admin/country-locales",methods:["GET","HEAD"]},"api.admin.categories":{uri:"api/admin/categories/{country_locale_slug}",methods:["GET","HEAD"],parameters:["country_locale_slug"]},"api.admin.authors":{uri:"api/admin/authors",methods:["GET","HEAD"]},"api.admin.upload.cloud.image":{uri:"api/admin/image/upload",methods:["POST"]},"api.admin.post.upsert":{uri:"api/admin/admin/post/upsert",methods:["POST"]},"feeds.main":{uri:"posts.rss",methods:["GET","HEAD"]},login:{uri:"login",methods:["GET","HEAD"]},logout:{uri:"logout",methods:["POST"]},register:{uri:"register",methods:["GET","HEAD"]},"password.request":{uri:"password/reset",methods:["GET","HEAD"]},"password.email":{uri:"password/email",methods:["POST"]},"password.reset":{uri:"password/reset/{token}",methods:["GET","HEAD"],parameters:["token"]},"password.update":{uri:"password/reset",methods:["POST"]},"password.confirm":{uri:"password/confirm",methods:["GET","HEAD"]},dashboard:{uri:"admin",methods:["GET","HEAD"]},"admin.changelog":{uri:"admin/changelog",methods:["GET","HEAD"]},about:{uri:"admin/about",methods:["GET","HEAD"]},"users.index":{uri:"admin/users",methods:["GET","HEAD"]},"posts.manage":{uri:"admin/posts",methods:["GET","HEAD"]},"posts.manage.edit":{uri:"admin/posts/edit/{post_id}",methods:["GET","HEAD"],parameters:["post_id"]},"posts.manage.delete":{uri:"admin/posts/delete/{post_id}",methods:["GET","HEAD"],parameters:["post_id"]},"posts.manage.indexing":{uri:"admin/posts/indexing/{post_id}",methods:["GET","HEAD"],parameters:["post_id"]},"posts.manage.new":{uri:"admin/posts/new",methods:["GET","HEAD"]},"profile.show":{uri:"admin/profile",methods:["GET","HEAD"]},"profile.update":{uri:"admin/profile",methods:["PUT"]},"front.home":{uri:"/",methods:["GET","HEAD"]},"front.discover.home":{uri:"discover",methods:["GET","HEAD"]},"front.discover.category":{uri:"discover/{category_slug}",methods:["GET","HEAD"],parameters:["category_slug"]},"front.search.post":{uri:"ai-search",methods:["POST"]},"front.search.results":{uri:"ai-search/{query}",methods:["GET","HEAD"],parameters:["query"]},"front.aitool.show":{uri:"ai-tool/{ai_tool_slug}",methods:["GET","HEAD"],parameters:["ai_tool_slug"]},"front.terms":{uri:"terms",methods:["GET","HEAD"]},"front.privacy":{uri:"privacy",methods:["GET","HEAD"]},"front.disclaimer":{uri:"disclaimer",methods:["GET","HEAD"]}}};typeof window<"u"&&typeof window.Ziggy<"u"&&Object.assign(Sc.routes,window.Ziggy.routes);var yk=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wk(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zl={exports:{}},Ja,Id;function wc(){if(Id)return Ja;Id=1;var t=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Ja={default:n.RFC3986,formatters:{RFC1738:function(s){return t.call(s,e,"+")},RFC3986:function(s){return String(s)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},Ja}var Za,Rd;function Yg(){if(Rd)return Za;Rd=1;var t=wc(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s=function(){for(var h=[],y=0;y<256;++y)h.push("%"+((y<16?"0":"")+y.toString(16)).toUpperCase());return h}(),r=function(y){for(;y.length>1;){var E=y.pop(),d=E.obj[E.prop];if(n(d)){for(var b=[],g=0;g=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||g===t.RFC1738&&(v===40||v===41)){C+=A.charAt(O);continue}if(v<128){C=C+s[v];continue}if(v<2048){C=C+(s[192|v>>6]+s[128|v&63]);continue}if(v<55296||v>=57344){C=C+(s[224|v>>12]+s[128|v>>6&63]+s[128|v&63]);continue}O+=1,v=65536+((v&1023)<<10|A.charCodeAt(O)&1023),C+=s[240|v>>18]+s[128|v>>12&63]+s[128|v>>6&63]+s[128|v&63]}return C},c=function(y){for(var E=[{obj:{o:y},prop:"o"}],d=[],b=0;b"u")return se;var _e;if(E==="comma"&&r(R))_e=[{value:R.length>0?R.join(",")||null:void 0}];else if(r(A))_e=A;else{var dt=Object.keys(R);_e=C?dt.sort(C):dt}for(var Be=0;Be<_e.length;++Be){var ye=_e[Be],It=typeof ye=="object"&&typeof ye.value<"u"?ye.value:R[ye];if(!(b&&It===null)){var Rt=r(R)?typeof E=="function"?E(y,ye):y:y+(O?"."+ye:"["+ye+"]");a(se,m(It,Rt,E,d,b,g,A,C,O,v,w,k,N,P))}}return se},p=function(h){if(!h)return c;if(h.encoder!==null&&typeof h.encoder<"u"&&typeof h.encoder!="function")throw new TypeError("Encoder has to be a function.");var y=h.charset||c.charset;if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var E=e.default;if(typeof h.format<"u"){if(!n.call(e.formatters,h.format))throw new TypeError("Unknown format option provided.");E=h.format}var d=e.formatters[E],b=c.filter;return(typeof h.filter=="function"||r(h.filter))&&(b=h.filter),{addQueryPrefix:typeof h.addQueryPrefix=="boolean"?h.addQueryPrefix:c.addQueryPrefix,allowDots:typeof h.allowDots>"u"?c.allowDots:!!h.allowDots,charset:y,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:c.charsetSentinel,delimiter:typeof h.delimiter>"u"?c.delimiter:h.delimiter,encode:typeof h.encode=="boolean"?h.encode:c.encode,encoder:typeof h.encoder=="function"?h.encoder:c.encoder,encodeValuesOnly:typeof h.encodeValuesOnly=="boolean"?h.encodeValuesOnly:c.encodeValuesOnly,filter:b,format:E,formatter:d,serializeDate:typeof h.serializeDate=="function"?h.serializeDate:c.serializeDate,skipNulls:typeof h.skipNulls=="boolean"?h.skipNulls:c.skipNulls,sort:typeof h.sort=="function"?h.sort:null,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:c.strictNullHandling}};return Qa=function(m,h){var y=m,E=p(h),d,b;typeof E.filter=="function"?(b=E.filter,y=b("",y)):r(E.filter)&&(b=E.filter,d=b);var g=[];if(typeof y!="object"||y===null)return"";var A;h&&h.arrayFormat in s?A=h.arrayFormat:h&&"indices"in h?A=h.indices?"indices":"repeat":A="indices";var C=s[A];d||(d=Object.keys(y)),E.sort&&d.sort(E.sort);for(var O=0;O0?k+w:""},Qa}var el,Fd;function bk(){if(Fd)return el;Fd=1;var t=Yg(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:t.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(_){return _.replace(/&#(\d+);/g,function(p,m){return String.fromCharCode(parseInt(m,10))})},i=function(_,p){return _&&typeof _=="string"&&p.comma&&_.indexOf(",")>-1?_.split(","):_},o="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(p,m){var h={},y=m.ignoreQueryPrefix?p.replace(/^\?/,""):p,E=m.parameterLimit===1/0?void 0:m.parameterLimit,d=y.split(m.delimiter,E),b=-1,g,A=m.charset;if(m.charsetSentinel)for(g=0;g-1&&(k=n(k)?[k]:k),e.call(h,w)?h[w]=t.combine(h[w],k):h[w]=k}return h},u=function(_,p,m,h){for(var y=h?p:i(p,m),E=_.length-1;E>=0;--E){var d,b=_[E];if(b==="[]"&&m.parseArrays)d=[].concat(y);else{d=m.plainObjects?Object.create(null):{};var g=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,A=parseInt(g,10);!m.parseArrays&&g===""?d={0:y}:!isNaN(A)&&b!==g&&String(A)===g&&A>=0&&m.parseArrays&&A<=m.arrayLimit?(d=[],d[A]=y):g!=="__proto__"&&(d[g]=y)}y=d}return y},c=function(p,m,h,y){if(p){var E=h.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,d=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,g=h.depth>0&&d.exec(E),A=g?E.slice(0,g.index):E,C=[];if(A){if(!h.plainObjects&&e.call(Object.prototype,A)&&!h.allowPrototypes)return;C.push(A)}for(var O=0;h.depth>0&&(g=b.exec(E))!==null&&O"u"?s.charset:p.charset;return{allowDots:typeof p.allowDots>"u"?s.allowDots:!!p.allowDots,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:s.allowPrototypes,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:s.arrayLimit,charset:m,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:s.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:s.comma,decoder:typeof p.decoder=="function"?p.decoder:s.decoder,delimiter:typeof p.delimiter=="string"||t.isRegExp(p.delimiter)?p.delimiter:s.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:s.depth,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:s.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:s.plainObjects,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:s.strictNullHandling}};return el=function(_,p){var m=f(p);if(_===""||_===null||typeof _>"u")return m.plainObjects?Object.create(null):{};for(var h=typeof _=="string"?l(_,m):_,y=m.plainObjects?Object.create(null):{},E=Object.keys(h),d=0;d"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(y,E,d){var b=[null];b.push.apply(b,E);var g=new(Function.bind.apply(y,b));return d&&l(g,d.prototype),g},u.apply(null,arguments)}function c(p){var m=typeof Map=="function"?new Map:void 0;return c=function(h){if(h===null||Function.toString.call(h).indexOf("[native code]")===-1)return h;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(m!==void 0){if(m.has(h))return m.get(h);m.set(h,y)}function y(){return u(h,arguments,a(this).constructor)}return y.prototype=Object.create(h.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),l(y,h)},c(p)}var f=function(){function p(h,y,E){var d,b;this.name=h,this.definition=y,this.bindings=(d=y.bindings)!=null?d:{},this.wheres=(b=y.wheres)!=null?b:{},this.config=E}var m=p.prototype;return m.matchesUrl=function(h){var y=this;if(!this.definition.methods.includes("GET"))return!1;var E=this.template.replace(/(\/?){([^}?]*)(\??)}/g,function(O,v,w,k){var N,P="(?<"+w+">"+(((N=y.wheres[w])==null?void 0:N.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return k?"("+v+P+")?":""+v+P}).replace(/^\w+:\/\//,""),d=h.replace(/^\w+:\/\//,"").split("?"),b=d[0],g=d[1],A=new RegExp("^"+E+"/?$").exec(b);if(A){for(var C in A.groups)A.groups[C]=typeof A.groups[C]=="string"?decodeURIComponent(A.groups[C]):A.groups[C];return{params:A.groups,query:s.parse(g)}}return!1},m.compile=function(h){var y=this,E=this.parameterSegments;return E.length?this.template.replace(/{([^}?]+)(\??)}/g,function(d,b,g){var A;if(!g&&[null,void 0].includes(h[b]))throw new Error("Ziggy error: '"+b+"' parameter is required for route '"+y.name+"'.");if(y.wheres[b]){var C,O;if(!new RegExp("^"+(g?"("+y.wheres[b]+")?":y.wheres[b])+"$").test((C=h[b])!=null?C:""))throw new Error("Ziggy error: '"+b+"' parameter does not match required format '"+y.wheres[b]+"' for route '"+y.name+"'.");if(E[E.length-1].name===b)return encodeURIComponent((O=h[b])!=null?O:"").replace(/%2F/g,"/")}return encodeURIComponent((A=h[b])!=null?A:"")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},i(p,[{key:"template",get:function(){return(this.origin+"/"+this.definition.uri).replace(/\/+$/,"")}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var h,y;return(h=(y=this.template.match(/{[^}?]+\??}/g))==null?void 0:y.map(function(E){return{name:E.replace(/{|\??}/g,""),required:!/\?}$/.test(E)}}))!=null?h:[]}}]),p}(),_=function(p){var m,h;function y(d,b,g,A){var C;if(g===void 0&&(g=!0),(C=p.call(this)||this).t=A??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),C.t=o({},C.t,{absolute:g}),d){if(!C.t.routes[d])throw new Error("Ziggy error: route '"+d+"' is not in the route list.");C.i=new f(d,C.t.routes[d],C.t),C.u=C.o(b)}return C}h=p,(m=y).prototype=Object.create(h.prototype),m.prototype.constructor=m,l(m,h);var E=y.prototype;return E.toString=function(){var d=this,b=Object.keys(this.u).filter(function(g){return!d.i.parameterSegments.some(function(A){return A.name===g})}).filter(function(g){return g!=="_query"}).reduce(function(g,A){var C;return o({},g,((C={})[A]=d.u[A],C))},{});return this.i.compile(this.u)+s.stringify(o({},b,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(g,A){return typeof g=="boolean"?Number(g):A(g)}})},E.l=function(d){var b=this;d?this.t.absolute&&d.startsWith("/")&&(d=this.h().host+d):d=this.v();var g={},A=Object.entries(this.t.routes).find(function(C){return g=new f(C[0],C[1],b.t).matchesUrl(d)})||[void 0,void 0];return o({name:A[0]},g,{route:A[1]})},E.v=function(){var d=this.h(),b=d.pathname,g=d.search;return(this.t.absolute?d.host+b:b.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+g},E.current=function(d,b){var g=this.l(),A=g.name,C=g.params,O=g.query,v=g.route;if(!d)return A;var w=new RegExp("^"+d.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(A);if([null,void 0].includes(b)||!w)return w;var k=new f(A,v,this.t);b=this.o(b,k);var N=o({},C,O);return!(!Object.values(b).every(function(P){return!P})||Object.values(N).some(function(P){return P!==void 0}))||Object.entries(b).every(function(P){return N[P[0]]==P[1]})},E.h=function(){var d,b,g,A,C,O,v=typeof window<"u"?window.location:{},w=v.host,k=v.pathname,N=v.search;return{host:(d=(b=this.t.location)==null?void 0:b.host)!=null?d:w===void 0?"":w,pathname:(g=(A=this.t.location)==null?void 0:A.pathname)!=null?g:k===void 0?"":k,search:(C=(O=this.t.location)==null?void 0:O.search)!=null?C:N===void 0?"":N}},E.has=function(d){return Object.keys(this.t.routes).includes(d)},E.o=function(d,b){var g=this;d===void 0&&(d={}),b===void 0&&(b=this.i),d!=null||(d={}),d=["string","number"].includes(typeof d)?[d]:d;var A=b.parameterSegments.filter(function(O){return!g.t.defaults[O.name]});if(Array.isArray(d))d=d.reduce(function(O,v,w){var k,N;return o({},O,A[w]?((k={})[A[w].name]=v,k):typeof v=="object"?v:((N={})[v]="",N))},{});else if(A.length===1&&!d[A[0].name]&&(d.hasOwnProperty(Object.values(b.bindings)[0])||d.hasOwnProperty("id"))){var C;(C={})[A[0].name]=d,d=C}return o({},this.p(b),this.g(d,b))},E.p=function(d){var b=this;return d.parameterSegments.filter(function(g){return b.t.defaults[g.name]}).reduce(function(g,A,C){var O,v=A.name;return o({},g,((O={})[v]=b.t.defaults[v],O))},{})},E.g=function(d,b){var g=b.bindings,A=b.parameterSegments;return Object.entries(d).reduce(function(C,O){var v,w,k=O[0],N=O[1];if(!N||typeof N!="object"||Array.isArray(N)||!A.some(function(P){return P.name===k}))return o({},C,((w={})[k]=N,w));if(!N.hasOwnProperty(g[k])){if(!N.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+k+"' parameter is missing route model binding key '"+g[k]+"'.");g[k]="id"}return o({},C,((v={})[k]=N[g[k]],v))},{})},E.valueOf=function(){return this.toString()},E.check=function(d){return this.has(d)},i(y,[{key:"params",get:function(){var d=this.l();return o({},d.params,d.query)}}]),y}(c(String));n.ZiggyVue={install:function(p,m){var h=function(y,E,d,b){return b===void 0&&(b=m),function(g,A,C,O){var v=new _(g,A,C,O);return g?v.toString():v}(y,E,d,b)};p.mixin({methods:{route:h}}),parseInt(p.version)>2&&p.provide("route",h)}}})})(Zl,Zl.exports);var Tk=Zl.exports;const Fn=rc({FrontApp:hO}),Xg=Object.assign({"/resources/js/vue/GetEmbedCode.vue":()=>Ti(()=>import("./GetEmbedCode-767c2709.js"),[]),"/resources/js/vue/NativeImageBlock.vue":()=>Ti(()=>import("./NativeImageBlock-a8b03c38.js").then(t=>t.N),["assets/NativeImageBlock-a8b03c38.js","assets/NativeImageBlock-e3b0c442.css"]),"/resources/js/vue/PostEditor.vue":()=>Ti(()=>import("./PostEditor-86a4f765.js"),["assets/PostEditor-86a4f765.js","assets/VueEditorJs-bbb0be71.js","assets/NativeImageBlock-a8b03c38.js","assets/NativeImageBlock-e3b0c442.css","assets/bundle-c20bcf97.js","assets/bundle-72871e75.js","assets/PostEditor-8d534a4a.css"]),"/resources/js/vue/VueEditorJs.vue":()=>Ti(()=>import("./VueEditorJs-bbb0be71.js"),[])});console.log(Xg);Fn.use(mO());Fn.use(ro,st);Fn.use(kO);Fn.use(PO);Fn.use(Gg);Fn.use(Tk.ZiggyVue,Sc);window.Ziggy=Sc;Object.entries({...Xg}).forEach(([t,e])=>{const n=t.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Fn.component(n,Up(e))});Fn.mount("#app");export{lC as $,Xu as A,yS as B,DC as C,fi as D,h1 as E,f1 as F,Pe as G,ci as H,Zu as I,fT as J,tc as K,fr as L,CC as M,jm as N,Gp as O,Nu as P,mp as Q,Ck as R,Sk as S,mS as T,PC as U,To as V,nc as W,ES as X,sc as Y,Ak as Z,cO as _,Ju as a,uC as a0,Ti as a1,st as b,_m as c,Mg as d,Ge as e,hs as f,wk as g,ps as h,dr as i,ke as j,te as k,Ee as l,LC as m,RC as n,gi as o,Vu as p,FC as q,Dt as r,tT as s,ZT as t,qC as u,ym as v,yn as w,Mu as x,Kt as y,be as z}; diff --git a/public/build/assets/app-front-32dad050.js.gz b/public/build/assets/app-front-32dad050.js.gz deleted file mode 100644 index e8d15bf..0000000 Binary files a/public/build/assets/app-front-32dad050.js.gz and /dev/null differ diff --git a/public/build/assets/app-front-5c1eb32f.css b/public/build/assets/app-front-5c1eb32f.css deleted file mode 100644 index bcbab4d..0000000 --- a/public/build/assets/app-front-5c1eb32f.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "UTF-8";@import"https://fonts.bunny.net/css?family=pt-sans:400,400i,700|black-ops-one:400|zilla-slab:400,700";/*! - * Bootstrap v5.3.2 (https://getbootstrap.com/) - * Copyright 2011-2023 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - *//*! - * Bootstrap Icons v1.11.1 (https://icons.getbootstrap.com/) - * Copyright 2019-2023 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) - */@font-face{font-display:block;font-family:bootstrap-icons;src:url(/build/assets/bootstrap-icons-bacd70af.woff2?2820a3852bdb9a5832199cc61cec4e65) format("woff2"),url(/build/assets/bootstrap-icons-4d4572ef.woff?2820a3852bdb9a5832199cc61cec4e65) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}.lqip-loader{position:relative;overflow:hidden;width:auto}.lqip-loader img{position:absolute;top:0;left:0;width:100%}.lqip-loader img{display:block}.lqip-loader img{position:relative;float:left;display:block}.lqip-frozen{-webkit-filter:blur(8px);-moz-filter:blur(8px);-o-filter:blur(8px);-ms-filter:blur(8px);filter:blur(8px);transform:scale(1.04);animation:.2s ease-in .4s 1 forwards lqipFade;width:100%}@keyframes lqipFade{0%{opacity:1}to{opacity:0}}.hover-text-white{--bs-nav-link-hover-color: white}.hover-text-white:hover{color:#fff!important}figure.image>img{max-width:100%;height:auto}footer.image-caption{font-size:.875em;text-align:center;opacity:.7}.glow-1{-webkit-box-shadow:0px 0px 9px 5px rgba(45,255,196,.38);-moz-box-shadow:0px 0px 9px 5px rgba(45,255,196,.38);box-shadow:0 0 9px 5px #2dffc461}.glow-2{-webkit-box-shadow:0px 0px 9px 5px rgba(238,46,255,.38);-moz-box-shadow:0px 0px 9px 5px rgba(238,46,255,.38);box-shadow:0 0 9px 5px #ee2eff61}.glow-3{-webkit-box-shadow:0px 0px 9px 5px rgba(46,147,255,.38);-moz-box-shadow:0px 0px 9px 5px rgba(46,147,255,.38);box-shadow:0 0 9px 5px #2e93ff61}.line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hover-grow{transition:.3s;transform:scale(1)}.hover-grow:hover,.d-grow{transform:scale(1.03);transition:.3s}@keyframes breathing{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.breathing-effect{animation:breathing 1s ease-in-out infinite}.illuminated{position:relative;overflow:hidden;z-index:1;animation:shimmer 3s infinite linear}.illuminated:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(-45deg,rgba(255,255,255,0) 25%,rgba(255,255,255,.6) 50%,rgba(255,255,255,0) 75%);background-size:400% 400%;z-index:-1;animation:shimmer 3s infinite}.illuminated-slow{position:relative;overflow:hidden;z-index:1;animation:shimmer 10s infinite linear}.illuminated-slow:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(-45deg,rgba(255,255,255,0) 25%,rgba(255,255,255,.6) 50%,rgba(255,255,255,0) 75%);background-size:400% 400%;z-index:-1;animation:shimmer 10s infinite}.bg-gradient-rainbow{background:linear-gradient(270deg,#ffa63d,#ff3d77,#338aff,#3cf0c5,#ffa63d);background-size:400% 400%}@keyframes shimmer{0%{background-position:0 0}to{background-position:-400% 0}}:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #952fff;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-highlighter-yellow: #ccf62b;--bs-highlighter-pink: #feacf5;--bs-highlighter-orange: #ff962a;--bs-highlighter-blue: #507fff;--bs-highlighter-purple: #952fff;--bs-primary-rgb: 149, 47, 255;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-highlighter-yellow-rgb: 204, 246, 43;--bs-highlighter-pink-rgb: 254, 172, 245;--bs-highlighter-orange-rgb: 255, 150, 42;--bs-highlighter-blue-rgb: 80, 127, 255;--bs-highlighter-purple-rgb: 149, 47, 255;--bs-primary-text-emphasis: #3c1366;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #ead5ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #d5acff;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "PT Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #952fff;--bs-link-color-rgb: 149, 47, 255;--bs-link-decoration: underline;--bs-link-hover-color: #7726cc;--bs-link-hover-color-rgb: 119, 38, 204;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: tint-color(#ffc107, 80%);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(149, 47, 255, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #bf82ff;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #1e0933;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #591c99;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #bf82ff;--bs-link-hover-color: #cc9bff;--bs-link-color-rgb: 191, 130, 255;--bs-link-hover-color-rgb: 204, 155, 255;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: shade-color(#ffc107, 60%);--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: tint-color(#198754, 40%);--bs-form-valid-border-color: tint-color(#198754, 40%);--bs-form-invalid-color: tint-color(#dc3545, 40%);--bs-form-invalid-border-color: tint-color(#dc3545, 40%)}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #ead5ff;--bs-table-border-color: #bbaacc;--bs-table-striped-bg: #decaf2;--bs-table-striped-color: #000;--bs-table-active-bg: #d3c0e6;--bs-table-active-color: #000;--bs-table-hover-bg: #d8c5ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#ca97ff;outline:0;box-shadow:0 0 0 .25rem #952fff40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#ca97ff;outline:0;box-shadow:0 0 0 .25rem #952fff40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#ca97ff;outline:0;box-shadow:0 0 0 .25rem #952fff40}.form-check-input:checked{background-color:#952fff;border-color:#952fff}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#952fff;border-color:#952fff;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ca97ff'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #952fff40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #952fff40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#952fff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#dfc1ff}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#952fff;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#dfc1ff}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:focus~label:after,.form-floating>.form-control:not(:placeholder-shown)~label:after,.form-floating>.form-control-plaintext~label:after,.form-floating>.form-select~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.form-floating>:disabled~label:after,.form-floating>.form-control:disabled~label:after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #952fff;--bs-btn-border-color: #952fff;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #7f28d9;--bs-btn-hover-border-color: #7726cc;--bs-btn-focus-shadow-rgb: 165, 78, 255;--bs-btn-active-color: #fff;--bs-btn-active-bg: #7726cc;--bs-btn-active-border-color: #7023bf;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #952fff;--bs-btn-disabled-border-color: #952fff}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-highlighter-yellow{--bs-btn-color: #000;--bs-btn-bg: #ccf62b;--bs-btn-border-color: #ccf62b;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d4f74b;--bs-btn-hover-border-color: #d1f740;--bs-btn-focus-shadow-rgb: 173, 209, 37;--bs-btn-active-color: #000;--bs-btn-active-bg: #d6f855;--bs-btn-active-border-color: #d1f740;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ccf62b;--bs-btn-disabled-border-color: #ccf62b}.btn-highlighter-pink{--bs-btn-color: #000;--bs-btn-bg: #feacf5;--bs-btn-border-color: #feacf5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #feb8f7;--bs-btn-hover-border-color: #feb4f6;--bs-btn-focus-shadow-rgb: 216, 146, 208;--bs-btn-active-color: #000;--bs-btn-active-bg: #febdf7;--bs-btn-active-border-color: #feb4f6;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #feacf5;--bs-btn-disabled-border-color: #feacf5}.btn-highlighter-orange{--bs-btn-color: #000;--bs-btn-bg: #ff962a;--bs-btn-border-color: #ff962a;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffa64a;--bs-btn-hover-border-color: #ffa13f;--bs-btn-focus-shadow-rgb: 217, 128, 36;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffab55;--bs-btn-active-border-color: #ffa13f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ff962a;--bs-btn-disabled-border-color: #ff962a}.btn-highlighter-blue{--bs-btn-color: #000;--bs-btn-bg: #507fff;--bs-btn-border-color: #507fff;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #6a92ff;--bs-btn-hover-border-color: #628cff;--bs-btn-focus-shadow-rgb: 68, 108, 217;--bs-btn-active-color: #000;--bs-btn-active-bg: #7399ff;--bs-btn-active-border-color: #628cff;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #507fff;--bs-btn-disabled-border-color: #507fff}.btn-highlighter-purple{--bs-btn-color: #fff;--bs-btn-bg: #952fff;--bs-btn-border-color: #952fff;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #7f28d9;--bs-btn-hover-border-color: #7726cc;--bs-btn-focus-shadow-rgb: 165, 78, 255;--bs-btn-active-color: #fff;--bs-btn-active-bg: #7726cc;--bs-btn-active-border-color: #7023bf;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #952fff;--bs-btn-disabled-border-color: #952fff}.btn-outline-primary{--bs-btn-color: #952fff;--bs-btn-border-color: #952fff;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #952fff;--bs-btn-hover-border-color: #952fff;--bs-btn-focus-shadow-rgb: 149, 47, 255;--bs-btn-active-color: #fff;--bs-btn-active-bg: #952fff;--bs-btn-active-border-color: #952fff;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #952fff;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #952fff;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-outline-highlighter-yellow{--bs-btn-color: #ccf62b;--bs-btn-border-color: #ccf62b;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ccf62b;--bs-btn-hover-border-color: #ccf62b;--bs-btn-focus-shadow-rgb: 204, 246, 43;--bs-btn-active-color: #000;--bs-btn-active-bg: #ccf62b;--bs-btn-active-border-color: #ccf62b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ccf62b;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ccf62b;--bs-gradient: none}.btn-outline-highlighter-pink{--bs-btn-color: #feacf5;--bs-btn-border-color: #feacf5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #feacf5;--bs-btn-hover-border-color: #feacf5;--bs-btn-focus-shadow-rgb: 254, 172, 245;--bs-btn-active-color: #000;--bs-btn-active-bg: #feacf5;--bs-btn-active-border-color: #feacf5;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #feacf5;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #feacf5;--bs-gradient: none}.btn-outline-highlighter-orange{--bs-btn-color: #ff962a;--bs-btn-border-color: #ff962a;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ff962a;--bs-btn-hover-border-color: #ff962a;--bs-btn-focus-shadow-rgb: 255, 150, 42;--bs-btn-active-color: #000;--bs-btn-active-bg: #ff962a;--bs-btn-active-border-color: #ff962a;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ff962a;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ff962a;--bs-gradient: none}.btn-outline-highlighter-blue{--bs-btn-color: #507fff;--bs-btn-border-color: #507fff;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #507fff;--bs-btn-hover-border-color: #507fff;--bs-btn-focus-shadow-rgb: 80, 127, 255;--bs-btn-active-color: #000;--bs-btn-active-bg: #507fff;--bs-btn-active-border-color: #507fff;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #507fff;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #507fff;--bs-gradient: none}.btn-outline-highlighter-purple{--bs-btn-color: #952fff;--bs-btn-border-color: #952fff;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #952fff;--bs-btn-hover-border-color: #952fff;--bs-btn-focus-shadow-rgb: 149, 47, 255;--bs-btn-active-color: #fff;--bs-btn-active-bg: #952fff;--bs-btn-active-border-color: #952fff;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #952fff;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #952fff;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 165, 78, 255;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #952fff;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #952fff;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #952fff40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #952fff}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c1366'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #ca97ff;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(149, 47, 255, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23bf82ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23bf82ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(149, 47, 255, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #952fff;--bs-pagination-active-border-color: #952fff;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}.alert-highlighter-yellow{--bs-alert-color: var(--bs-highlighter-yellow-text-emphasis);--bs-alert-bg: var(--bs-highlighter-yellow-bg-subtle);--bs-alert-border-color: var(--bs-highlighter-yellow-border-subtle);--bs-alert-link-color: var(--bs-highlighter-yellow-text-emphasis)}.alert-highlighter-pink{--bs-alert-color: var(--bs-highlighter-pink-text-emphasis);--bs-alert-bg: var(--bs-highlighter-pink-bg-subtle);--bs-alert-border-color: var(--bs-highlighter-pink-border-subtle);--bs-alert-link-color: var(--bs-highlighter-pink-text-emphasis)}.alert-highlighter-orange{--bs-alert-color: var(--bs-highlighter-orange-text-emphasis);--bs-alert-bg: var(--bs-highlighter-orange-bg-subtle);--bs-alert-border-color: var(--bs-highlighter-orange-border-subtle);--bs-alert-link-color: var(--bs-highlighter-orange-text-emphasis)}.alert-highlighter-blue{--bs-alert-color: var(--bs-highlighter-blue-text-emphasis);--bs-alert-bg: var(--bs-highlighter-blue-bg-subtle);--bs-alert-border-color: var(--bs-highlighter-blue-border-subtle);--bs-alert-link-color: var(--bs-highlighter-blue-text-emphasis)}.alert-highlighter-purple{--bs-alert-color: var(--bs-highlighter-purple-text-emphasis);--bs-alert-bg: var(--bs-highlighter-purple-bg-subtle);--bs-alert-border-color: var(--bs-highlighter-purple-border-subtle);--bs-alert-link-color: var(--bs-highlighter-purple-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #952fff;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #952fff;--bs-list-group-active-border-color: #952fff;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.list-group-item-highlighter-yellow{--bs-list-group-color: var(--bs-highlighter-yellow-text-emphasis);--bs-list-group-bg: var(--bs-highlighter-yellow-bg-subtle);--bs-list-group-border-color: var(--bs-highlighter-yellow-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-highlighter-yellow-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-highlighter-yellow-border-subtle);--bs-list-group-active-color: var(--bs-highlighter-yellow-bg-subtle);--bs-list-group-active-bg: var(--bs-highlighter-yellow-text-emphasis);--bs-list-group-active-border-color: var(--bs-highlighter-yellow-text-emphasis)}.list-group-item-highlighter-pink{--bs-list-group-color: var(--bs-highlighter-pink-text-emphasis);--bs-list-group-bg: var(--bs-highlighter-pink-bg-subtle);--bs-list-group-border-color: var(--bs-highlighter-pink-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-highlighter-pink-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-highlighter-pink-border-subtle);--bs-list-group-active-color: var(--bs-highlighter-pink-bg-subtle);--bs-list-group-active-bg: var(--bs-highlighter-pink-text-emphasis);--bs-list-group-active-border-color: var(--bs-highlighter-pink-text-emphasis)}.list-group-item-highlighter-orange{--bs-list-group-color: var(--bs-highlighter-orange-text-emphasis);--bs-list-group-bg: var(--bs-highlighter-orange-bg-subtle);--bs-list-group-border-color: var(--bs-highlighter-orange-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-highlighter-orange-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-highlighter-orange-border-subtle);--bs-list-group-active-color: var(--bs-highlighter-orange-bg-subtle);--bs-list-group-active-bg: var(--bs-highlighter-orange-text-emphasis);--bs-list-group-active-border-color: var(--bs-highlighter-orange-text-emphasis)}.list-group-item-highlighter-blue{--bs-list-group-color: var(--bs-highlighter-blue-text-emphasis);--bs-list-group-bg: var(--bs-highlighter-blue-bg-subtle);--bs-list-group-border-color: var(--bs-highlighter-blue-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-highlighter-blue-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-highlighter-blue-border-subtle);--bs-list-group-active-color: var(--bs-highlighter-blue-bg-subtle);--bs-list-group-active-bg: var(--bs-highlighter-blue-text-emphasis);--bs-list-group-active-border-color: var(--bs-highlighter-blue-text-emphasis)}.list-group-item-highlighter-purple{--bs-list-group-color: var(--bs-highlighter-purple-text-emphasis);--bs-list-group-bg: var(--bs-highlighter-purple-bg-subtle);--bs-list-group-border-color: var(--bs-highlighter-purple-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-highlighter-purple-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-highlighter-purple-border-subtle);--bs-list-group-active-color: var(--bs-highlighter-purple-bg-subtle);--bs-list-group-active-bg: var(--bs-highlighter-purple-text-emphasis);--bs-list-group-active-border-color: var(--bs-highlighter-purple-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(149, 47, 255, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;--bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white,[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-highlighter-yellow{color:#000!important;background-color:RGBA(var(--bs-highlighter-yellow-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-highlighter-pink{color:#000!important;background-color:RGBA(var(--bs-highlighter-pink-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-highlighter-orange{color:#000!important;background-color:RGBA(var(--bs-highlighter-orange-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-highlighter-blue{color:#000!important;background-color:RGBA(var(--bs-highlighter-blue-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-highlighter-purple{color:#fff!important;background-color:RGBA(var(--bs-highlighter-purple-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(119,38,204,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(119,38,204,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-highlighter-yellow{color:RGBA(var(--bs-highlighter-yellow-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-highlighter-yellow-rgb),var(--bs-link-underline-opacity, 1))!important}.link-highlighter-yellow:hover,.link-highlighter-yellow:focus{color:RGBA(214,248,85,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(214,248,85,var(--bs-link-underline-opacity, 1))!important}.link-highlighter-pink{color:RGBA(var(--bs-highlighter-pink-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-highlighter-pink-rgb),var(--bs-link-underline-opacity, 1))!important}.link-highlighter-pink:hover,.link-highlighter-pink:focus{color:RGBA(254,189,247,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(254,189,247,var(--bs-link-underline-opacity, 1))!important}.link-highlighter-orange{color:RGBA(var(--bs-highlighter-orange-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-highlighter-orange-rgb),var(--bs-link-underline-opacity, 1))!important}.link-highlighter-orange:hover,.link-highlighter-orange:focus{color:RGBA(255,171,85,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(255,171,85,var(--bs-link-underline-opacity, 1))!important}.link-highlighter-blue{color:RGBA(var(--bs-highlighter-blue-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-highlighter-blue-rgb),var(--bs-link-underline-opacity, 1))!important}.link-highlighter-blue:hover,.link-highlighter-blue:focus{color:RGBA(115,153,255,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(115,153,255,var(--bs-link-underline-opacity, 1))!important}.link-highlighter-purple{color:RGBA(var(--bs-highlighter-purple-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-highlighter-purple-rgb),var(--bs-link-underline-opacity, 1))!important}.link-highlighter-purple:hover,.link-highlighter-purple:focus{color:RGBA(119,38,204,var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(119,38,204,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{object-fit:contain!important}.object-fit-cover{object-fit:cover!important}.object-fit-fill{object-fit:fill!important}.object-fit-scale{object-fit:scale-down!important}.object-fit-none{object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.focus-ring-highlighter-yellow{--bs-focus-ring-color: rgba(var(--bs-highlighter-yellow-rgb), var(--bs-focus-ring-opacity))}.focus-ring-highlighter-pink{--bs-focus-ring-color: rgba(var(--bs-highlighter-pink-rgb), var(--bs-focus-ring-opacity))}.focus-ring-highlighter-orange{--bs-focus-ring-color: rgba(var(--bs-highlighter-orange-rgb), var(--bs-focus-ring-opacity))}.focus-ring-highlighter-blue{--bs-focus-ring-color: rgba(var(--bs-highlighter-blue-rgb), var(--bs-focus-ring-opacity))}.focus-ring-highlighter-purple{--bs-focus-ring-color: rgba(var(--bs-highlighter-purple-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-highlighter-yellow{--bs-border-opacity: 1;border-color:rgba(var(--bs-highlighter-yellow-rgb),var(--bs-border-opacity))!important}.border-highlighter-pink{--bs-border-opacity: 1;border-color:rgba(var(--bs-highlighter-pink-rgb),var(--bs-border-opacity))!important}.border-highlighter-orange{--bs-border-opacity: 1;border-color:rgba(var(--bs-highlighter-orange-rgb),var(--bs-border-opacity))!important}.border-highlighter-blue{--bs-border-opacity: 1;border-color:rgba(var(--bs-highlighter-blue-rgb),var(--bs-border-opacity))!important}.border-highlighter-purple{--bs-border-opacity: 1;border-color:rgba(var(--bs-highlighter-purple-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{column-gap:0!important}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-highlighter-yellow{--bs-text-opacity: 1;color:rgba(var(--bs-highlighter-yellow-rgb),var(--bs-text-opacity))!important}.text-highlighter-pink{--bs-text-opacity: 1;color:rgba(var(--bs-highlighter-pink-rgb),var(--bs-text-opacity))!important}.text-highlighter-orange{--bs-text-opacity: 1;color:rgba(var(--bs-highlighter-orange-rgb),var(--bs-text-opacity))!important}.text-highlighter-blue{--bs-text-opacity: 1;color:rgba(var(--bs-highlighter-blue-rgb),var(--bs-text-opacity))!important}.text-highlighter-purple{--bs-text-opacity: 1;color:rgba(var(--bs-highlighter-purple-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline-highlighter-yellow{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-highlighter-yellow-rgb),var(--bs-link-underline-opacity))!important}.link-underline-highlighter-pink{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-highlighter-pink-rgb),var(--bs-link-underline-opacity))!important}.link-underline-highlighter-orange{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-highlighter-orange-rgb),var(--bs-link-underline-opacity))!important}.link-underline-highlighter-blue{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-highlighter-blue-rgb),var(--bs-link-underline-opacity))!important}.link-underline-highlighter-purple{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-highlighter-purple-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-highlighter-yellow{--bs-bg-opacity: 1;background-color:rgba(var(--bs-highlighter-yellow-rgb),var(--bs-bg-opacity))!important}.bg-highlighter-pink{--bs-bg-opacity: 1;background-color:rgba(var(--bs-highlighter-pink-rgb),var(--bs-bg-opacity))!important}.bg-highlighter-orange{--bs-bg-opacity: 1;background-color:rgba(var(--bs-highlighter-orange-rgb),var(--bs-bg-opacity))!important}.bg-highlighter-blue{--bs-bg-opacity: 1;background-color:rgba(var(--bs-highlighter-blue-rgb),var(--bs-bg-opacity))!important}.bg-highlighter-purple{--bs-bg-opacity: 1;background-color:rgba(var(--bs-highlighter-purple-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{object-fit:contain!important}.object-fit-sm-cover{object-fit:cover!important}.object-fit-sm-fill{object-fit:fill!important}.object-fit-sm-scale{object-fit:scale-down!important}.object-fit-sm-none{object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{column-gap:0!important}.column-gap-sm-1{column-gap:.25rem!important}.column-gap-sm-2{column-gap:.5rem!important}.column-gap-sm-3{column-gap:1rem!important}.column-gap-sm-4{column-gap:1.5rem!important}.column-gap-sm-5{column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{object-fit:contain!important}.object-fit-md-cover{object-fit:cover!important}.object-fit-md-fill{object-fit:fill!important}.object-fit-md-scale{object-fit:scale-down!important}.object-fit-md-none{object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{column-gap:0!important}.column-gap-md-1{column-gap:.25rem!important}.column-gap-md-2{column-gap:.5rem!important}.column-gap-md-3{column-gap:1rem!important}.column-gap-md-4{column-gap:1.5rem!important}.column-gap-md-5{column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{object-fit:contain!important}.object-fit-lg-cover{object-fit:cover!important}.object-fit-lg-fill{object-fit:fill!important}.object-fit-lg-scale{object-fit:scale-down!important}.object-fit-lg-none{object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{column-gap:0!important}.column-gap-lg-1{column-gap:.25rem!important}.column-gap-lg-2{column-gap:.5rem!important}.column-gap-lg-3{column-gap:1rem!important}.column-gap-lg-4{column-gap:1.5rem!important}.column-gap-lg-5{column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{object-fit:contain!important}.object-fit-xl-cover{object-fit:cover!important}.object-fit-xl-fill{object-fit:fill!important}.object-fit-xl-scale{object-fit:scale-down!important}.object-fit-xl-none{object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{column-gap:0!important}.column-gap-xl-1{column-gap:.25rem!important}.column-gap-xl-2{column-gap:.5rem!important}.column-gap-xl-3{column-gap:1rem!important}.column-gap-xl-4{column-gap:1.5rem!important}.column-gap-xl-5{column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{object-fit:contain!important}.object-fit-xxl-cover{object-fit:cover!important}.object-fit-xxl-fill{object-fit:fill!important}.object-fit-xxl-scale{object-fit:scale-down!important}.object-fit-xxl-none{object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{column-gap:0!important}.column-gap-xxl-1{column-gap:.25rem!important}.column-gap-xxl-2{column-gap:.5rem!important}.column-gap-xxl-3{column-gap:1rem!important}.column-gap-xxl-4{column-gap:1.5rem!important}.column-gap-xxl-5{column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.font-family-black-ops-one{font-family:Black Ops One,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Liberation Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.font-family-zilla-slab{font-family:Zilla Slab,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Liberation Sans,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}a{text-decoration:none}a:hover{text-decoration:underline} diff --git a/public/build/assets/app-front-5c1eb32f.css.gz b/public/build/assets/app-front-5c1eb32f.css.gz deleted file mode 100644 index da53766..0000000 Binary files a/public/build/assets/app-front-5c1eb32f.css.gz and /dev/null differ diff --git a/public/build/assets/app-front-ae9fe805.js.gz b/public/build/assets/app-front-ae9fe805.js.gz deleted file mode 100644 index eda2a55..0000000 Binary files a/public/build/assets/app-front-ae9fe805.js.gz and /dev/null differ diff --git a/public/build/assets/app-front-ae9fe805.js b/public/build/assets/app-front-d6902e40.js similarity index 80% rename from public/build/assets/app-front-ae9fe805.js rename to public/build/assets/app-front-d6902e40.js index fa573bd..228cad7 100644 --- a/public/build/assets/app-front-ae9fe805.js +++ b/public/build/assets/app-front-d6902e40.js @@ -1,19 +1,19 @@ -const Zg="modulepreload",Qg=function(t){return"/build/"+t},Pc={},Ti=function(e,n,s){if(!n||n.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Qg(i),i in Pc)return;Pc[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const f=r[c];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Zg,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};var Sr=new Map;function e_(t){var e=Sr.get(t);e&&e.destroy()}function t_(t){var e=Sr.get(t);e&&e.update()}var br=null;typeof window>"u"?((br=function(t){return t}).destroy=function(t){return t},br.update=function(t){return t}):((br=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(n){return function(s){if(s&&s.nodeName&&s.nodeName==="TEXTAREA"&&!Sr.has(s)){var r,i=null,o=window.getComputedStyle(s),a=(r=s.value,function(){u({testForHeightReduction:r===""||!s.value.startsWith(r),restoreTextAlign:null}),r=s.value}),l=(function(f){s.removeEventListener("autosize:destroy",l),s.removeEventListener("autosize:update",c),s.removeEventListener("input",a),window.removeEventListener("resize",c),Object.keys(f).forEach(function(m){return s.style[m]=f[m]}),Sr.delete(s)}).bind(s,{height:s.style.height,resize:s.style.resize,textAlign:s.style.textAlign,overflowY:s.style.overflowY,overflowX:s.style.overflowX,wordWrap:s.style.wordWrap});s.addEventListener("autosize:destroy",l),s.addEventListener("autosize:update",c),s.addEventListener("input",a),window.addEventListener("resize",c),s.style.overflowX="hidden",s.style.wordWrap="break-word",Sr.set(s,{destroy:l,update:c}),c()}function u(f){var m,p,E=f.restoreTextAlign,d=E===void 0?null:E,y=f.testForHeightReduction,_=y===void 0||y,h=o.overflowY;if(s.scrollHeight!==0&&(o.resize==="vertical"?s.style.resize="none":o.resize==="both"&&(s.style.resize="horizontal"),_&&(m=function(g){for(var A=[];g&&g.parentNode&&g.parentNode instanceof Element;)g.parentNode.scrollTop&&A.push([g.parentNode,g.parentNode.scrollTop]),g=g.parentNode;return function(){return A.forEach(function(C){var O=C[0],v=C[1];O.style.scrollBehavior="auto",O.scrollTop=v,O.style.scrollBehavior=null})}}(s),s.style.height=""),p=o.boxSizing==="content-box"?s.scrollHeight-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):s.scrollHeight+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),o.maxHeight!=="none"&&p>parseFloat(o.maxHeight)?(o.overflowY==="hidden"&&(s.style.overflow="scroll"),p=parseFloat(o.maxHeight)):o.overflowY!=="hidden"&&(s.style.overflow="hidden"),s.style.height=p+"px",d&&(s.style.textAlign=d),m&&m(),i!==p&&(s.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=p),h!==o.overflow&&!d)){var b=o.textAlign;o.overflow==="hidden"&&(s.style.textAlign=b==="start"?"end":"start"),u({restoreTextAlign:b,testForHeightReduction:!0})}}function c(){u({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],e_),t},br.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],t_),t});var n_=br;const Dc=document.querySelectorAll('[data-bs-toggle="autosize"]');Dc.length&&Dc.forEach(function(t){n_(t)});function xs(t,e){if(t==null)return{};var n={},s=Object.keys(t),r,i;for(i=0;i=0)&&(n[r]=t[r]);return n}function oe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new oe.InputMask(t,e)}class ge{constructor(e){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},e)}aggregate(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}oe.ChangeDetails=ge;function ks(t){return typeof t=="string"||t instanceof String}const G={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function s_(t){switch(t){case G.LEFT:return G.FORCE_LEFT;case G.RIGHT:return G.FORCE_RIGHT;default:return t}}function ya(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function xr(t){return Array.isArray(t)?t:[t,new ge]}function lo(t,e){if(e===t)return!0;var n=Array.isArray(e),s=Array.isArray(t),r;if(n&&s){if(e.length!=t.length)return!1;for(r=0;r0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;this.value=e,this.from=n,this.stop=s}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||e!=null&&this.from>=e)return"";const n=this.value[0];return this.value=this.value.slice(1),n}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class Je{constructor(e){this._value="",this._update(Object.assign({},Je.DEFAULTS,e)),this.isInitialized=!0}updateOptions(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e)}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{input:!0};return this.reset(),this.append(e,n,""),this.doCommit(),this.value}get unmaskedValue(){return this.value}set unmaskedValue(e){this.reset(),this.append(e,{},""),this.doCommit()}get typedValue(){return this.doParse(this.value)}set typedValue(e){this.value=this.doFormat(e)}get rawInputValue(){return this.extractInput(0,this.value.length,{raw:!0})}set rawInputValue(e){this.reset(),this.append(e,{raw:!0},""),this.doCommit()}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,n){return e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return Math.min(this.value.length,n-e)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n)}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return new Jt(this.extractInput(e,n),e)}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}_appendCharRaw(e){return e?(this._value+=e,new ge({inserted:e,rawInserted:e})):new ge}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.state;let i;if([e,i]=xr(this.doPrepare(e,n)),i=i.aggregate(this._appendCharRaw(e,n)),i.inserted){let o,a=this.doValidate(n)!==!1;if(a&&s!=null){const l=this.state;this.overwrite===!0&&(o=s.state,s.unshift(this.value.length-i.tailShift));let u=this.appendTail(s);a=u.rawInserted===s.toString(),!(a&&u.inserted)&&this.overwrite==="shift"&&(this.state=l,o=s.state,s.shift(),u=this.appendTail(s),a=u.rawInserted===s.toString()),a&&u.inserted&&(this.state=l)}a||(i=new ge,this.state=r,s&&o&&(s.state=o))}return i}_appendPlaceholder(){return new ge}_appendEager(){return new ge}append(e,n,s){if(!ks(e))throw new Error("value should be string");const r=new ge,i=ks(s)?new Jt(String(s)):s;n!=null&&n.tail&&(n._beforeTailState=this.state);for(let o=0;o0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this._value=this.value.slice(0,e)+this.value.slice(n),new ge}withValueRefresh(e){if(this._refreshing||!this.isInitialized)return e();this._refreshing=!0;const n=this.rawInputValue,s=this.value,r=e();return this.rawInputValue=n,this.value&&this.value!==s&&s.indexOf(this.value)===0&&this.append(s.slice(this.value.length),{},""),delete this._refreshing,r}runIsolated(e){if(this._isolated||!this.isInitialized)return e(this);this._isolated=!0;const n=this.state,s=e(this);return this.state=n,delete this._isolated,s}doSkipInvalid(e){return this.skipInvalid}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.prepare?this.prepare(e,this,n):e}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}doFormat(e){return this.format?this.format(e,this):e}doParse(e){return this.parse?this.parse(e,this):e}splice(e,n,s,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{input:!0};const o=e+n,a=this.extractTail(o),l=this.eager===!0||this.eager==="remove";let u;l&&(r=s_(r),u=this.extractInput(0,o,{raw:!0}));let c=e;const f=new ge;if(r!==G.NONE&&(c=this.nearestInputPos(e,n>1&&e!==0&&!l?G.NONE:r),f.tailShift=c-e),f.aggregate(this.remove(c)),l&&r!==G.NONE&&u===this.rawInputValue)if(r===G.FORCE_LEFT){let m;for(;u===this.rawInputValue&&(m=this.value.length);)f.aggregate(new ge({tailShift:-1})).aggregate(this.remove(m-1))}else r===G.FORCE_RIGHT&&a.unshift();return f.aggregate(this.append(s,i,a))}maskEquals(e){return this.mask===e}typedValueEquals(e){const n=this.typedValue;return e===n||Je.EMPTY_VALUES.includes(e)&&Je.EMPTY_VALUES.includes(n)||this.doFormat(e)===this.doFormat(this.typedValue)}}Je.DEFAULTS={format:String,parse:t=>t,skipInvalid:!0};Je.EMPTY_VALUES=[void 0,null,""];oe.Masked=Je;function xd(t){if(t==null)throw new Error("mask property should be defined");return t instanceof RegExp?oe.MaskedRegExp:ks(t)?oe.MaskedPattern:t instanceof Date||t===Date?oe.MaskedDate:t instanceof Number||typeof t=="number"||t===Number?oe.MaskedNumber:Array.isArray(t)||t===Array?oe.MaskedDynamic:oe.Masked&&t.prototype instanceof oe.Masked?t:t instanceof oe.Masked?t.constructor:t instanceof Function?oe.MaskedFunction:(console.warn("Mask not found for mask",t),oe.Masked)}function Zn(t){if(oe.Masked&&t instanceof oe.Masked)return t;t=Object.assign({},t);const e=t.mask;if(oe.Masked&&e instanceof oe.Masked)return e;const n=xd(e);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(t)}oe.createMask=Zn;const i_=["parent","isOptional","placeholderChar","displayChar","lazy","eager"],o_={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class Bd{constructor(e){const{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a}=e,l=xs(e,i_);this.masked=Zn(l),Object.assign(this,{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return e===0&&n>=1?(this.isFilled=!1,this.masked.remove(e,n)):new ge}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isFilled)return new ge;const s=this.masked.state,r=this.masked._appendChar(e,n);return r.inserted&&this.doValidate(n)===!1&&(r.inserted=r.rawInserted="",this.masked.state=s),!r.inserted&&!this.isOptional&&!this.lazy&&!n.input&&(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this.isFilled=!!r.inserted,r}append(){return this.masked.append(...arguments)}_appendPlaceholder(){const e=new ge;return this.isFilled||this.isOptional||(this.isFilled=!0,e.inserted=this.placeholderChar),e}_appendEager(){return new ge}extractTail(){return this.masked.extractTail(...arguments)}appendTail(){return this.masked.appendTail(...arguments)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(e,n,s)}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this.value.length,i=Math.min(Math.max(e,s),r);switch(n){case G.LEFT:case G.FORCE_LEFT:return this.isComplete?i:s;case G.RIGHT:case G.FORCE_RIGHT:return this.isComplete?i:r;case G.NONE:default:return i}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n).length}doValidate(){return this.masked.doValidate(...arguments)&&(!this.parent||this.parent.doValidate(...arguments))}doCommit(){this.masked.doCommit()}get state(){return{masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}}class $d{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._value=this._value.slice(0,e)+this._value.slice(n),this._value||(this._isRawInput=!1),new ge}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this._value.length;switch(n){case G.LEFT:case G.FORCE_LEFT:return s;case G.NONE:case G.RIGHT:case G.FORCE_RIGHT:default:return r}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._isRawInput?n-e:0}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).raw&&this._isRawInput&&this._value.slice(e,n)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=new ge;if(this.isFilled)return s;const r=this.eager===!0||this.eager==="append",o=this.char===e&&(this.isUnmasking||n.input||n.raw)&&(!n.raw||!r)&&!n.tail;return o&&(s.rawInserted=this.char),this._value=s.inserted=this.char,this._isRawInput=o&&(n.raw||n.input),s}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new ge;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,new Jt("")}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}append(e,n,s){const r=this._appendChar(e[0],n);return s!=null&&(r.tailShift+=this.appendTail(s).tailShift),r}doCommit(){}get state(){return{_value:this._value,_isRawInput:this._isRawInput}}set state(e){Object.assign(this,e)}}const a_=["chunks"];class jn{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.chunks=e,this.from=n}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;ks(e)&&(e=new Jt(String(e)));const n=this.chunks[this.chunks.length-1],s=n&&(n.stop===e.stop||e.stop==null)&&e.from===n.from+n.toString().length;if(e instanceof Jt)s?n.extend(e.toString()):this.chunks.push(e);else if(e instanceof jn){if(e.stop==null){let r;for(;e.chunks.length&&e.chunks[0].stop==null;)r=e.chunks.shift(),r.from+=e.from,this.extend(r)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof oe.MaskedPattern))return new Jt(this.toString()).appendTo(e);const n=new ge;for(let s=0;s=0){const l=e._appendPlaceholder(o);n.aggregate(l)}a=r instanceof jn&&e._blocks[o]}if(a){const l=a.appendTail(r);l.skip=!1,n.aggregate(l),e._value+=l.inserted;const u=r.toString().slice(l.rawInserted.length);u&&n.aggregate(e.append(u,{tail:!0}))}else n.aggregate(e.append(r.toString(),{tail:!0}))}return n}get state(){return{chunks:this.chunks.map(e=>e.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:n}=e,s=xs(e,a_);Object.assign(this,s),this.chunks=n.map(r=>{const i="chunks"in r?new jn:new Jt;return i.state=r,i})}unshift(e){if(!this.chunks.length||e!=null&&this.from>=e)return"";const n=e!=null?e-this.from:e;let s=0;for(;s=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.value.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=((n=this.block)===null||n===void 0?void 0:n.value.length)||0){var n;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_LEFT),this.offset!==0))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}}class u_ extends Je{_update(e){e.mask&&(e.validate=n=>n.search(e.mask)>=0),super._update(e)}}oe.MaskedRegExp=u_;const c_=["_blocks"];class it extends Je{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},o_,e.definitions),super(Object.assign({},it.DEFAULTS,e))}_update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};let n=this.mask;if(!n||!e)return;let s=!1,r=!1;for(let a=0;am.indexOf(d)===0);p.sort((d,y)=>y.length-d.length);const E=p[0];if(E){const d=Zn(Object.assign({parent:this,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite},this.blocks[E]));d&&(this._blocks.push(d),this._maskedBlocks[E]||(this._maskedBlocks[E]=[]),this._maskedBlocks[E].push(this._blocks.length-1)),a+=E.length-1;continue}}let l=n[a],u=l in e;if(l===it.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(l==="{"||l==="}"){s=!s;continue}if(l==="["||l==="]"){r=!r;continue}if(l===it.ESCAPE_CHAR){if(++a,l=n[a],!l)break;u=!1}const c=(i=e[l])!==null&&i!==void 0&&i.mask&&!(((o=e[l])===null||o===void 0?void 0:o.mask.prototype)instanceof oe.Masked)?e[l]:{mask:e[l]},f=u?new Bd(Object.assign({parent:this,isOptional:r,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar},c)):new $d({char:l,eager:this.eager,isUnmasking:s});this._blocks.push(f)}}get state(){return Object.assign({},super.state,{_blocks:this._blocks.map(e=>e.state)})}set state(e){const{_blocks:n}=e,s=xs(e,c_);this._blocks.forEach((r,i)=>r.state=n[i]),super.state=s}reset(){super.reset(),this._blocks.forEach(e=>e.reset())}get isComplete(){return this._blocks.every(e=>e.isComplete)}get isFilled(){return this._blocks.every(e=>e.isFilled)}get isFixed(){return this._blocks.every(e=>e.isFixed)}get isOptional(){return this._blocks.every(e=>e.isOptional)}doCommit(){this._blocks.forEach(e=>e.doCommit()),super.doCommit()}get unmaskedValue(){return this._blocks.reduce((e,n)=>e+=n.unmaskedValue,"")}set unmaskedValue(e){super.unmaskedValue=e}get value(){return this._blocks.reduce((e,n)=>e+=n.value,"")}set value(e){super.value=e}get displayValue(){return this._blocks.reduce((e,n)=>e+=n.displayValue,"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const n=new ge;let s=(e=this._mapPosToBlock(this.value.length))===null||e===void 0?void 0:e.index;if(s==null)return n;this._blocks[s].isFilled&&++s;for(let r=s;r1&&arguments[1]!==void 0?arguments[1]:{};const s=this._mapPosToBlock(this.value.length),r=new ge;if(!s)return r;for(let a=s.index;;++a){var i,o;const l=this._blocks[a];if(!l)break;const u=l._appendChar(e,Object.assign({},n,{_beforeTailState:(i=n._beforeTailState)===null||i===void 0||(o=i._blocks)===null||o===void 0?void 0:o[a]})),c=u.skip;if(r.aggregate(u),c||u.rawInserted)break}return r}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=new jn;return e===n||this._forEachBlocksInRange(e,n,(r,i,o,a)=>{const l=r.extractTail(o,a);l.stop=this._findStopBefore(i),l.from=this._blockStartPos(i),l instanceof jn&&(l.blockIndex=i),s.extend(l)}),s}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e===n)return"";let r="";return this._forEachBlocksInRange(e,n,(i,o,a,l)=>{r+=i.extractInput(a,l,s)}),r}_findStopBefore(e){let n;for(let s=0;s{if(!o.lazy||e!=null){const a=o._blocks!=null?[o._blocks.length]:[],l=o._appendPlaceholder(...a);this._value+=l.inserted,n.aggregate(l)}}),n}_mapPosToBlock(e){let n="";for(let s=0;sn+=s.value.length,0)}_forEachBlocksInRange(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;const r=this._mapPosToBlock(e);if(r){const i=this._mapPosToBlock(n),o=i&&r.index===i.index,a=r.offset,l=i&&o?i.offset:this._blocks[r.index].value.length;if(s(this._blocks[r.index],r.index,a,l),i&&!o){for(let u=r.index+1;u0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=super.remove(e,n);return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s.aggregate(r.remove(o,a))}),s}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;if(!this._blocks.length)return 0;const s=new l_(this,e);if(n===G.NONE)return s.pushRightBeforeInput()||(s.popState(),s.pushLeftBeforeInput())?s.pos:this.value.length;if(n===G.LEFT||n===G.FORCE_LEFT){if(n===G.LEFT){if(s.pushRightBeforeFilled(),s.ok&&s.pos===e)return e;s.popState()}if(s.pushLeftBeforeInput(),s.pushLeftBeforeRequired(),s.pushLeftBeforeFilled(),n===G.LEFT){if(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.ok&&s.pos<=e||(s.popState(),s.ok&&s.pos<=e))return s.pos;s.popState()}return s.ok?s.pos:n===G.FORCE_LEFT?0:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:0)}return n===G.RIGHT||n===G.FORCE_RIGHT?(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.pushRightBeforeFilled()?s.pos:n===G.FORCE_RIGHT?this.value.length:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:this.nearestInputPos(e,G.LEFT))):e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=0;return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s+=r.totalInputPositions(o,a)}),s}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const n=this._maskedBlocks[e];return n?n.map(s=>this._blocks[s]):[]}}it.DEFAULTS={lazy:!0,placeholderChar:"_"};it.STOP_CHAR="`";it.ESCAPE_CHAR="\\";it.InputDefinition=Bd;it.FixedDefinition=$d;oe.MaskedPattern=it;class Ki extends it{get _matchFrom(){return this.maxLength-String(this.from).length}_update(e){e=Object.assign({to:this.to||0,from:this.from||0,maxLength:this.maxLength||0},e);let n=String(e.to).length;e.maxLength!=null&&(n=Math.max(n,e.maxLength)),e.maxLength=n;const s=String(e.from).padStart(n,"0"),r=String(e.to).padStart(n,"0");let i=0;for(;i1&&arguments[1]!==void 0?arguments[1]:{},s;if([e,s]=xr(super.doPrepare(e.replace(/\D/g,""),n)),!this.autofix||!e)return e;const r=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0");let o=this.value+e;if(o.length>this.maxLength)return"";const[a,l]=this.boundaries(o);return Number(l)this.to?this.autofix==="pad"&&o.length{const r=e.blocks[s];!("autofix"in r)&&"autofix"in e&&(r.autofix=e.autofix)}),super._update(e)}doValidate(){const e=this.date;return super.doValidate(...arguments)&&(!this.isComplete||this.isDateExist(this.value)&&e!=null&&(this.min==null||this.min<=e)&&(this.max==null||e<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}}Bs.DEFAULTS={pattern:"d{.}`m{.}`Y",format:t=>{if(!t)return"";const e=String(t.getDate()).padStart(2,"0"),n=String(t.getMonth()+1).padStart(2,"0"),s=t.getFullYear();return[e,n,s].join(".")},parse:t=>{const[e,n,s]=t.split(".");return new Date(s,n-1,e)}};Bs.GET_DEFAULT_BLOCKS=()=>({d:{mask:Ki,from:1,to:31,maxLength:2},m:{mask:Ki,from:1,to:12,maxLength:2},Y:{mask:Ki,from:1900,to:9999}});oe.MaskedDate=Bs;class Ql{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return e??this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return e??this.value.length}select(e,n){if(!(e==null||n==null||e===this.selectionStart&&n===this.selectionEnd))try{this._unsafeSelect(e,n)}catch{}}_unsafeSelect(e,n){}get isActive(){return!1}bindEvents(e){}unbindEvents(){}}oe.MaskElement=Ql;class tr extends Ql{constructor(e){super(),this.input=e,this._handlers={}}get rootElement(){var e,n,s;return(e=(n=(s=this.input).getRootNode)===null||n===void 0?void 0:n.call(s))!==null&&e!==void 0?e:document}get isActive(){return this.input===this.rootElement.activeElement}get _unsafeSelectionStart(){return this.input.selectionStart}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,n){this.input.setSelectionRange(e,n)}get value(){return this.input.value}set value(e){this.input.value=e}bindEvents(e){Object.keys(e).forEach(n=>this._toggleEventHandler(tr.EVENTS_MAP[n],e[n]))}unbindEvents(){Object.keys(this._handlers).forEach(e=>this._toggleEventHandler(e))}_toggleEventHandler(e,n){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),n&&(this.input.addEventListener(e,n),this._handlers[e]=n)}}tr.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"};oe.HTMLMaskElement=tr;class Vd extends tr{get _unsafeSelectionStart(){const e=this.rootElement,n=e.getSelection&&e.getSelection(),s=n&&n.anchorOffset,r=n&&n.focusOffset;return r==null||s==null||sr?s:r}_unsafeSelect(e,n){if(!this.rootElement.createRange)return;const s=this.rootElement.createRange();s.setStart(this.input.firstChild||this.input,e),s.setEnd(this.input.lastChild||this.input,n);const r=this.rootElement,i=r.getSelection&&r.getSelection();i&&(i.removeAllRanges(),i.addRange(s))}get value(){return this.input.textContent}set value(e){this.input.textContent=e}}oe.HTMLContenteditableMaskElement=Vd;const f_=["mask"];class d_{constructor(e,n){this.el=e instanceof Ql?e:e.isContentEditable&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"?new Vd(e):new tr(e),this.masked=Zn(n),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}get mask(){return this.masked.mask}maskEquals(e){var n;return e==null||((n=this.masked)===null||n===void 0?void 0:n.maskEquals(e))}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof oe.Masked)&&this.masked.constructor===xd(e)){this.masked.updateOptions({mask:e});return}const n=Zn({mask:e});n.unmaskedValue=this.masked.unmaskedValue,this.masked=n}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;ro(...s))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){!this.el||!this.el.isActive||(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const e=this.masked.unmaskedValue,n=this.masked.value,s=this.displayValue,r=this.unmaskedValue!==e||this.value!==n;this._unmaskedValue=e,this._value=n,this.el.value!==s&&(this.el.value=s),r&&this._fireChangeEvents()}updateOptions(e){const{mask:n}=e,s=xs(e,f_),r=!this.maskEquals(n),i=!lo(this.masked,s);r&&(this.mask=n),i&&this.masked.updateOptions(s),(r||i)&&this.updateControl()}updateCursor(e){e!=null&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,G.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,n){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(n),this}off(e,n){if(!this._listeners[e])return this;if(!n)return delete this._listeners[e],this;const s=this._listeners[e].indexOf(n);return s>=0&&this._listeners[e].splice(s,1),this}_onInput(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();const n=new r_(this.el.value,this.cursorPos,this.displayValue,this._selection),s=this.masked.rawInputValue,r=this.masked.splice(n.startChangePos,n.removed.length,n.inserted,n.removeDirection,{input:!0,raw:!0}).offset,i=s===this.masked.rawInputValue?n.removeDirection:G.NONE;let o=this.masked.nearestInputPos(n.startChangePos+r,i);i!==G.NONE&&(o=this.masked.nearestInputPos(o,G.NONE)),this.updateControl(),this.updateCursor(o),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}oe.InputMask=d_;class h_ extends it{_update(e){e.enum&&(e.mask="*".repeat(e.enum[0].length)),super._update(e)}doValidate(){return this.enum.some(e=>e.indexOf(this.unmaskedValue)>=0)&&super.doValidate(...arguments)}}oe.MaskedEnum=h_;class pt extends Je{constructor(e){super(Object.assign({},pt.DEFAULTS,e))}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){let e="^"+(this.allowNegative?"[+|\\-]?":""),n="\\d*",s=(this.scale?"(".concat(ya(this.radix),"\\d{0,").concat(this.scale,"})?"):"")+"$";this._numberRegExp=new RegExp(e+n+s),this._mapToRadixRegExp=new RegExp("[".concat(this.mapToRadix.map(ya).join(""),"]"),"g"),this._thousandsSeparatorRegExp=new RegExp(ya(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const n=e.split(this.radix);return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),n.join(this.radix)}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e=this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(n.input&&n.raw||!n.input&&!n.raw)?e.replace(this._mapToRadixRegExp,this.radix):e);const[s,r]=xr(super.doPrepare(e,n));return e&&!s&&(r.skip=!0),[s,r]}_separatorsCount(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=0;for(let r=0;r0&&arguments[0]!==void 0?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return[e,n]=this._adjustRangeWithSeparators(e,n),this._removeThousandsSeparators(super.extractInput(e,n,s))}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.thousandsSeparator)return super._appendCharRaw(e,n);const s=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(s);this._value=this._removeThousandsSeparators(this.value);const i=super._appendCharRaw(e,n);this._value=this._insertThousandsSeparators(this._value);const o=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(o);return i.tailShift+=(a-r)*this.thousandsSeparator.length,i.skip=!i.rawInserted&&e===this.thousandsSeparator,i}_findSeparatorAround(e){if(this.thousandsSeparator){const n=e-this.thousandsSeparator.length+1,s=this.value.indexOf(this.thousandsSeparator,n);if(s<=e)return s}return-1}_adjustRangeWithSeparators(e,n){const s=this._findSeparatorAround(e);s>=0&&(e=s);const r=this._findSeparatorAround(n);return r>=0&&(n=r+this.thousandsSeparator.length),[e,n]}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;[e,n]=this._adjustRangeWithSeparators(e,n);const s=this.value.slice(0,e),r=this.value.slice(n),i=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+r));const o=this._separatorsCountFromSlice(s);return new ge({tailShift:(o-i)*this.thousandsSeparator.length})}nearestInputPos(e,n){if(!this.thousandsSeparator)return e;switch(n){case G.NONE:case G.LEFT:case G.FORCE_LEFT:{const s=this._findSeparatorAround(e-1);if(s>=0){const r=s+this.thousandsSeparator.length;if(e=0)return s+this.thousandsSeparator.length}}return e}doValidate(e){let n=!!this._removeThousandsSeparators(this.value).match(this._numberRegExp);if(n){const s=this.number;n=n&&!isNaN(s)&&(this.min==null||this.min>=0||this.min<=this.number)&&(this.max==null||this.max<=0||this.number<=this.max)}return n&&super.doValidate(e)}doCommit(){if(this.value){const e=this.number;let n=e;this.min!=null&&(n=Math.max(n,this.min)),this.max!=null&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=this.doFormat(n));let s=this.value;this.normalizeZeros&&(s=this._normalizeZeros(s)),this.padFractionalZeros&&this.scale>0&&(s=this._padFractionalZeros(s)),this._value=s}super.doCommit()}_normalizeZeros(e){const n=this._removeThousandsSeparators(e).split(this.radix);return n[0]=n[0].replace(/^(\D*)(0*)(\d*)/,(s,r,i,o)=>r+o),e.length&&!/\d$/.test(n[0])&&(n[0]=n[0]+"0"),n.length>1&&(n[1]=n[1].replace(/0*$/,""),n[1].length||(n.length=1)),this._insertThousandsSeparators(n.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const n=e.split(this.radix);return n.length<2&&n.push(""),n[1]=n[1].padEnd(this.scale,"0"),n.join(this.radix)}doSkipInvalid(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===pt.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,n,s)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,pt.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.doParse(this.unmaskedValue)}set typedValue(e){this.rawInputValue=this.doFormat(e).replace(pt.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return this.signed||this.min!=null&&this.min<0||this.max!=null&&this.max<0}typedValueEquals(e){return(super.typedValueEquals(e)||pt.EMPTY_VALUES.includes(e)&&pt.EMPTY_VALUES.includes(this.typedValue))&&!(e===0&&this.value==="")}}pt.UNMASKED_RADIX=".";pt.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:[pt.UNMASKED_RADIX],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})};pt.EMPTY_VALUES=[...Je.EMPTY_VALUES,0];oe.MaskedNumber=pt;class p_ extends Je{_update(e){e.mask&&(e.validate=e.mask),super._update(e)}}oe.MaskedFunction=p_;const m_=["compiledMasks","currentMaskRef","currentMask"],g_=["mask"];class xo extends Je{constructor(e){super(Object.assign({},xo.DEFAULTS,e)),this.currentMask=null}_update(e){super._update(e),"mask"in e&&(this.compiledMasks=Array.isArray(e.mask)?e.mask.map(n=>Zn(n)):[])}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this._applyDispatch(e,n);return this.currentMask&&s.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(n))),s}_applyDispatch(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";const r=n.tail&&n._beforeTailState!=null?n._beforeTailState._value:this.value,i=this.rawInputValue,o=n.tail&&n._beforeTailState!=null?n._beforeTailState._rawInputValue:i,a=i.slice(o.length),l=this.currentMask,u=new ge,c=l==null?void 0:l.state;if(this.currentMask=this.doDispatch(e,Object.assign({},n),s),this.currentMask)if(this.currentMask!==l){if(this.currentMask.reset(),o){const f=this.currentMask.append(o,{raw:!0});u.tailShift=f.inserted.length-r.length}a&&(u.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=c;return u}_appendPlaceholder(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const n=new ge;return e&&n.aggregate(this._applyDispatch("",{},e)),n.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var n,s;return Object.assign({},e,{_beforeTailState:((n=e._beforeTailState)===null||n===void 0?void 0:n.currentMaskRef)===this.currentMask&&((s=e._beforeTailState)===null||s===void 0?void 0:s.currentMask)||e._beforeTailState})}doDispatch(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return this.dispatch(e,this,n,s)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},[s,r]=xr(super.doPrepare(e,n));if(this.currentMask){let i;[s,i]=xr(super.doPrepare(s,this.currentMaskFlags(n))),r=r.aggregate(i)}return[s,r]}reset(){var e;(e=this.currentMask)===null||e===void 0||e.reset(),this.compiledMasks.forEach(n=>n.reset())}get value(){return this.currentMask?this.currentMask.value:""}set value(e){super.value=e}get unmaskedValue(){return this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.currentMask?this.currentMask.typedValue:""}set typedValue(e){let n=String(e);this.currentMask&&(this.currentMask.typedValue=e,n=this.currentMask.unmaskedValue),this.unmaskedValue=n}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isComplete)}get isFilled(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isFilled)}remove(){const e=new ge;return this.currentMask&&e.aggregate(this.currentMask.remove(...arguments)).aggregate(this._applyDispatch()),e}get state(){var e;return Object.assign({},super.state,{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(n=>n.state),currentMaskRef:this.currentMask,currentMask:(e=this.currentMask)===null||e===void 0?void 0:e.state})}set state(e){const{compiledMasks:n,currentMaskRef:s,currentMask:r}=e,i=xs(e,m_);this.compiledMasks.forEach((o,a)=>o.state=n[a]),s!=null&&(this.currentMask=s,this.currentMask.state=r),super.state=i}extractInput(){return this.currentMask?this.currentMask.extractInput(...arguments):""}extractTail(){return this.currentMask?this.currentMask.extractTail(...arguments):super.extractTail(...arguments)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(){return this.currentMask?this.currentMask.nearestInputPos(...arguments):super.nearestInputPos(...arguments)}get overwrite(){return this.currentMask?this.currentMask.overwrite:super.overwrite}set overwrite(e){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}get eager(){return this.currentMask?this.currentMask.eager:super.eager}set eager(e){console.warn('"eager" option is not available in dynamic mask, use this option in siblings')}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:super.skipInvalid}set skipInvalid(e){(this.isInitialized||e!==Je.DEFAULTS.skipInvalid)&&console.warn('"skipInvalid" option is not available in dynamic mask, use this option in siblings')}maskEquals(e){return Array.isArray(e)&&this.compiledMasks.every((n,s)=>{if(!e[s])return;const r=e[s],{mask:i}=r,o=xs(r,g_);return lo(n,o)&&n.maskEquals(i)})}typedValueEquals(e){var n;return!!(!((n=this.currentMask)===null||n===void 0)&&n.typedValueEquals(e))}}xo.DEFAULTS={dispatch:(t,e,n,s)=>{if(!e.compiledMasks.length)return;const r=e.rawInputValue,i=e.compiledMasks.map((o,a)=>{const l=e.currentMask===o,u=l?o.value.length:o.nearestInputPos(o.value.length,G.FORCE_LEFT);return o.rawInputValue!==r?(o.reset(),o.append(r,{raw:!0})):l||o.remove(u),o.append(t,e.currentMaskFlags(n)),o.appendTail(s),{index:a,weight:o.rawInputValue.length,totalInputPositions:o.totalInputPositions(0,Math.max(u,o.nearestInputPos(o.value.length,G.FORCE_LEFT)))}});return i.sort((o,a)=>a.weight-o.weight||a.totalInputPositions-o.totalInputPositions),e.compiledMasks[i[0].index]}};oe.MaskedDynamic=xo;const nl={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function jd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nl.MASKED,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nl.MASKED;const s=Zn(t);return r=>s.runIsolated(i=>(i[e]=r,i[n]))}function __(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s"u")return!1;var e=ct(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function y_(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},r=e.attributes[n]||{},i=e.elements[n];!Et(i)||!Ht(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function v_(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var r=e.elements[s],i=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!Et(r)||!Ht(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const su={name:"applyStyles",enabled:!0,phase:"write",fn:y_,effect:v_,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Kn=Math.max,uo=Math.min,Vs=Math.round;function rl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function eh(){return!/^((?!chrome|android).)*safari/i.test(rl())}function js(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),r=1,i=1;e&&Et(t)&&(r=t.offsetWidth>0&&Vs(s.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Vs(s.height)/t.offsetHeight||1);var o=es(t)?ct(t):window,a=o.visualViewport,l=!eh()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,f=s.width/r,m=s.height/i;return{width:f,height:m,top:c,right:u+f,bottom:c+m,left:u,x:u,y:c}}function ru(t){var e=js(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function th(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&nu(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function sn(t){return ct(t).getComputedStyle(t)}function b_(t){return["table","td","th"].indexOf(Ht(t))>=0}function Pn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function $o(t){return Ht(t)==="html"?t:t.assignedSlot||t.parentNode||(nu(t)?t.host:null)||Pn(t)}function Ic(t){return!Et(t)||sn(t).position==="fixed"?null:t.offsetParent}function A_(t){var e=/firefox/i.test(rl()),n=/Trident/i.test(rl());if(n&&Et(t)){var s=sn(t);if(s.position==="fixed")return null}var r=$o(t);for(nu(r)&&(r=r.host);Et(r)&&["html","body"].indexOf(Ht(r))<0;){var i=sn(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ei(t){for(var e=ct(t),n=Ic(t);n&&b_(n)&&sn(n).position==="static";)n=Ic(n);return n&&(Ht(n)==="html"||Ht(n)==="body"&&sn(n).position==="static")?e:n||A_(t)||e}function iu(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wr(t,e,n){return Kn(t,uo(e,n))}function T_(t,e,n){var s=wr(t,e,n);return s>n?n:s}function nh(){return{top:0,right:0,bottom:0,left:0}}function sh(t){return Object.assign({},nh(),t)}function rh(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var C_=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,sh(typeof e!="number"?e:rh(e,nr))};function S_(t){var e,n=t.state,s=t.name,r=t.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Vt(n.placement),l=iu(a),u=[He,ut].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=C_(r.padding,n),m=ru(i),p=l==="y"?je:He,E=l==="y"?lt:ut,d=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],y=o[l]-n.rects.reference[l],_=ei(i),h=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,b=d/2-y/2,g=f[p],A=h-m[c]-f[E],C=h/2-m[c]/2+b,O=wr(g,C,A),v=l;n.modifiersData[s]=(e={},e[v]=O,e.centerOffset=O-C,e)}}function w_(t){var e=t.state,n=t.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||th(e.elements.popper,r)&&(e.elements.arrow=r))}const ih={name:"arrow",enabled:!0,phase:"main",fn:S_,effect:w_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(t){return t.split("-")[1]}var O_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k_(t,e){var n=t.x,s=t.y,r=e.devicePixelRatio||1;return{x:Vs(n*r)/r||0,y:Vs(s*r)/r||0}}function Rc(t){var e,n=t.popper,s=t.popperRect,r=t.placement,i=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,m=o.x,p=m===void 0?0:m,E=o.y,d=E===void 0?0:E,y=typeof c=="function"?c({x:p,y:d}):{x:p,y:d};p=y.x,d=y.y;var _=o.hasOwnProperty("x"),h=o.hasOwnProperty("y"),b=He,g=je,A=window;if(u){var C=ei(n),O="clientHeight",v="clientWidth";if(C===ct(n)&&(C=Pn(n),sn(C).position!=="static"&&a==="absolute"&&(O="scrollHeight",v="scrollWidth")),C=C,r===je||(r===He||r===ut)&&i===$s){g=lt;var w=f&&C===A&&A.visualViewport?A.visualViewport.height:C[O];d-=w-s.height,d*=l?1:-1}if(r===He||(r===je||r===lt)&&i===$s){b=ut;var k=f&&C===A&&A.visualViewport?A.visualViewport.width:C[v];p-=k-s.width,p*=l?1:-1}}var N=Object.assign({position:a},u&&O_),P=c===!0?k_({x:p,y:d},ct(n)):{x:p,y:d};if(p=P.x,d=P.y,l){var R;return Object.assign({},N,(R={},R[g]=h?"0":"",R[b]=_?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",R))}return Object.assign({},N,(e={},e[g]=h?d+"px":"",e[b]=_?p+"px":"",e.transform="",e))}function N_(t){var e=t.state,n=t.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Vt(e.placement),variation:Hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Rc(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Rc(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ou={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:N_,data:{}};var Ci={passive:!0};function P_(t){var e=t.state,n=t.instance,s=t.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=ct(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ci)}),a&&l.addEventListener("resize",n.update,Ci),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ci)}),a&&l.removeEventListener("resize",n.update,Ci)}}const au={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P_,data:{}};var D_={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(t){return t.replace(/left|right|bottom|top/g,function(e){return D_[e]})}var I_={start:"end",end:"start"};function Lc(t){return t.replace(/start|end/g,function(e){return I_[e]})}function lu(t){var e=ct(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function uu(t){return js(Pn(t)).left+lu(t).scrollLeft}function R_(t,e){var n=ct(t),s=Pn(t),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){i=r.width,o=r.height;var u=eh();(u||!u&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:o,x:a+uu(t),y:l}}function L_(t){var e,n=Pn(t),s=lu(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=Kn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Kn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+uu(t),l=-s.scrollTop;return sn(r||n).direction==="rtl"&&(a+=Kn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function cu(t){var e=sn(t),n=e.overflow,s=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function oh(t){return["html","body","#document"].indexOf(Ht(t))>=0?t.ownerDocument.body:Et(t)&&cu(t)?t:oh($o(t))}function Or(t,e){var n;e===void 0&&(e=[]);var s=oh(t),r=s===((n=t.ownerDocument)==null?void 0:n.body),i=ct(s),o=r?[i].concat(i.visualViewport||[],cu(s)?s:[]):s,a=e.concat(o);return r?a:a.concat(Or($o(o)))}function il(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function F_(t,e){var n=js(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Fc(t,e,n){return e===eu?il(R_(t,n)):es(e)?F_(e,n):il(L_(Pn(t)))}function M_(t){var e=Or($o(t)),n=["absolute","fixed"].indexOf(sn(t).position)>=0,s=n&&Et(t)?ei(t):t;return es(s)?e.filter(function(r){return es(r)&&th(r,s)&&Ht(r)!=="body"}):[]}function x_(t,e,n,s){var r=e==="clippingParents"?M_(t):[].concat(e),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(l,u){var c=Fc(t,u,s);return l.top=Kn(c.top,l.top),l.right=uo(c.right,l.right),l.bottom=uo(c.bottom,l.bottom),l.left=Kn(c.left,l.left),l},Fc(t,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ah(t){var e=t.reference,n=t.element,s=t.placement,r=s?Vt(s):null,i=s?Hs(s):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case je:l={x:o,y:e.y-n.height};break;case lt:l={x:o,y:e.y+e.height};break;case ut:l={x:e.x+e.width,y:a};break;case He:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=r?iu(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Qn:l[u]=l[u]-(e[c]/2-n[c]/2);break;case $s:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function Us(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=s===void 0?t.placement:s,i=n.strategy,o=i===void 0?t.strategy:i,a=n.boundary,l=a===void 0?Hd:a,u=n.rootBoundary,c=u===void 0?eu:u,f=n.elementContext,m=f===void 0?bs:f,p=n.altBoundary,E=p===void 0?!1:p,d=n.padding,y=d===void 0?0:d,_=sh(typeof y!="number"?y:rh(y,nr)),h=m===bs?Ud:bs,b=t.rects.popper,g=t.elements[E?h:m],A=x_(es(g)?g:g.contextElement||Pn(t.elements.popper),l,c,o),C=js(t.elements.reference),O=ah({reference:C,element:b,strategy:"absolute",placement:r}),v=il(Object.assign({},b,O)),w=m===bs?v:C,k={top:A.top-w.top+_.top,bottom:w.bottom-A.bottom+_.bottom,left:A.left-w.left+_.left,right:w.right-A.right+_.right},N=t.modifiersData.offset;if(m===bs&&N){var P=N[r];Object.keys(k).forEach(function(R){var B=[ut,lt].indexOf(R)>=0?1:-1,X=[je,lt].indexOf(R)>=0?"y":"x";k[R]+=P[X]*B})}return k}function B_(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?tu:l,c=Hs(s),f=c?a?sl:sl.filter(function(E){return Hs(E)===c}):nr,m=f.filter(function(E){return u.indexOf(E)>=0});m.length===0&&(m=f);var p=m.reduce(function(E,d){return E[d]=Us(t,{placement:d,boundary:r,rootBoundary:i,padding:o})[Vt(d)],E},{});return Object.keys(p).sort(function(E,d){return p[E]-p[d]})}function $_(t){if(Vt(t)===Bo)return[];var e=zi(t);return[Lc(t),e,Lc(e)]}function V_(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,E=p===void 0?!0:p,d=n.allowedAutoPlacements,y=e.options.placement,_=Vt(y),h=_===y,b=l||(h||!E?[zi(y)]:$_(y)),g=[y].concat(b).reduce(function(Rt,qe){return Rt.concat(Vt(qe)===Bo?B_(e,{placement:qe,boundary:c,rootBoundary:f,padding:u,flipVariations:E,allowedAutoPlacements:d}):qe)},[]),A=e.rects.reference,C=e.rects.popper,O=new Map,v=!0,w=g[0],k=0;k=0,X=B?"width":"height",W=Us(e,{placement:N,boundary:c,rootBoundary:f,altBoundary:m,padding:u}),ee=B?R?ut:He:R?lt:je;A[X]>C[X]&&(ee=zi(ee));var se=zi(ee),_e=[];if(i&&_e.push(W[P]<=0),a&&_e.push(W[ee]<=0,W[se]<=0),_e.every(function(Rt){return Rt})){w=N,v=!1;break}O.set(N,_e)}if(v)for(var dt=E?3:1,Be=function(qe){var $e=g.find(function(zt){var Lt=O.get(zt);if(Lt)return Lt.slice(0,qe).every(function(Ft){return Ft})});if($e)return w=$e,"break"},ye=dt;ye>0;ye--){var It=Be(ye);if(It==="break")break}e.placement!==w&&(e.modifiersData[s]._skip=!0,e.placement=w,e.reset=!0)}}const lh={name:"flip",enabled:!0,phase:"main",fn:V_,requiresIfExists:["offset"],data:{_skip:!1}};function Mc(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xc(t){return[je,ut,lt,He].some(function(e){return t[e]>=0})}function j_(t){var e=t.state,n=t.name,s=e.rects.reference,r=e.rects.popper,i=e.modifiersData.preventOverflow,o=Us(e,{elementContext:"reference"}),a=Us(e,{altBoundary:!0}),l=Mc(o,s),u=Mc(a,r,i),c=xc(l),f=xc(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const uh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:j_};function H_(t,e,n){var s=Vt(t),r=[He,je].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[He,ut].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function U_(t){var e=t.state,n=t.options,s=t.name,r=n.offset,i=r===void 0?[0,0]:r,o=tu.reduce(function(c,f){return c[f]=H_(f,e.rects,i),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=o}const ch={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:U_};function W_(t){var e=t.state,n=t.name;e.modifiersData[n]=ah({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const fu={name:"popperOffsets",enabled:!0,phase:"read",fn:W_,data:{}};function q_(t){return t==="x"?"y":"x"}function K_(t){var e=t.state,n=t.options,s=t.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,m=n.tether,p=m===void 0?!0:m,E=n.tetherOffset,d=E===void 0?0:E,y=Us(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=Vt(e.placement),h=Hs(e.placement),b=!h,g=iu(_),A=q_(g),C=e.modifiersData.popperOffsets,O=e.rects.reference,v=e.rects.popper,w=typeof d=="function"?d(Object.assign({},e.rects,{placement:e.placement})):d,k=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(C){if(i){var R,B=g==="y"?je:He,X=g==="y"?lt:ut,W=g==="y"?"height":"width",ee=C[g],se=ee+y[B],_e=ee-y[X],dt=p?-v[W]/2:0,Be=h===Qn?O[W]:v[W],ye=h===Qn?-v[W]:-O[W],It=e.elements.arrow,Rt=p&&It?ru(It):{width:0,height:0},qe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:nh(),$e=qe[B],zt=qe[X],Lt=wr(0,O[W],Rt[W]),Ft=b?O[W]/2-dt-Lt-$e-k.mainAxis:Be-Lt-$e-k.mainAxis,hr=b?-O[W]/2+dt+Lt+zt+k.mainAxis:ye+Lt+zt+k.mainAxis,Mn=e.elements.arrow&&ei(e.elements.arrow),T=Mn?g==="y"?Mn.clientTop||0:Mn.clientLeft||0:0,S=(R=N==null?void 0:N[g])!=null?R:0,D=ee+Ft-S-T,F=ee+hr-S,L=wr(p?uo(se,D):se,ee,p?Kn(_e,F):_e);C[g]=L,P[g]=L-ee}if(a){var V,H=g==="x"?je:He,$=g==="x"?lt:ut,j=C[A],x=A==="y"?"height":"width",z=j+y[H],q=j-y[$],K=[je,He].indexOf(_)!==-1,J=(V=N==null?void 0:N[A])!=null?V:0,re=K?z:j-O[x]-v[x]-J+k.altAxis,de=K?j+O[x]+v[x]-J-k.altAxis:q,ce=p&&K?T_(re,j,de):wr(p?re:z,j,p?de:q);C[A]=ce,P[A]=ce-j}e.modifiersData[s]=P}}const fh={name:"preventOverflow",enabled:!0,phase:"main",fn:K_,requiresIfExists:["offset"]};function z_(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function G_(t){return t===ct(t)||!Et(t)?lu(t):z_(t)}function Y_(t){var e=t.getBoundingClientRect(),n=Vs(e.width)/t.offsetWidth||1,s=Vs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function X_(t,e,n){n===void 0&&(n=!1);var s=Et(e),r=Et(e)&&Y_(e),i=Pn(e),o=js(t,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Ht(e)!=="body"||cu(i))&&(a=G_(e)),Et(e)?(l=js(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=uu(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function J_(t){var e=new Map,n=new Set,s=[];t.forEach(function(i){e.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),s.push(i)}return t.forEach(function(i){n.has(i.name)||r(i)}),s}function Z_(t){var e=J_(t);return Qd.reduce(function(n,s){return n.concat(e.filter(function(r){return r.phase===s}))},[])}function Q_(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function eE(t){var e=t.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Bc={placement:"bottom",modifiers:[],strategy:"absolute"};function $c(){for(var t=arguments.length,e=new Array(t),n=0;n{if(i=Qg(i),i in Pc)return;Pc[i]=!0;const o=i.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const f=r[c];if(f.href===i&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Zg,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})};var wr=new Map;function e_(t){var e=wr.get(t);e&&e.destroy()}function t_(t){var e=wr.get(t);e&&e.update()}var Ar=null;typeof window>"u"?((Ar=function(t){return t}).destroy=function(t){return t},Ar.update=function(t){return t}):((Ar=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(n){return function(s){if(s&&s.nodeName&&s.nodeName==="TEXTAREA"&&!wr.has(s)){var r,i=null,o=window.getComputedStyle(s),a=(r=s.value,function(){u({testForHeightReduction:r===""||!s.value.startsWith(r),restoreTextAlign:null}),r=s.value}),l=(function(f){s.removeEventListener("autosize:destroy",l),s.removeEventListener("autosize:update",c),s.removeEventListener("input",a),window.removeEventListener("resize",c),Object.keys(f).forEach(function(m){return s.style[m]=f[m]}),wr.delete(s)}).bind(s,{height:s.style.height,resize:s.style.resize,textAlign:s.style.textAlign,overflowY:s.style.overflowY,overflowX:s.style.overflowX,wordWrap:s.style.wordWrap});s.addEventListener("autosize:destroy",l),s.addEventListener("autosize:update",c),s.addEventListener("input",a),window.addEventListener("resize",c),s.style.overflowX="hidden",s.style.wordWrap="break-word",wr.set(s,{destroy:l,update:c}),c()}function u(f){var m,p,E=f.restoreTextAlign,d=E===void 0?null:E,y=f.testForHeightReduction,_=y===void 0||y,h=o.overflowY;if(s.scrollHeight!==0&&(o.resize==="vertical"?s.style.resize="none":o.resize==="both"&&(s.style.resize="horizontal"),_&&(m=function(g){for(var A=[];g&&g.parentNode&&g.parentNode instanceof Element;)g.parentNode.scrollTop&&A.push([g.parentNode,g.parentNode.scrollTop]),g=g.parentNode;return function(){return A.forEach(function(S){var O=S[0],v=S[1];O.style.scrollBehavior="auto",O.scrollTop=v,O.style.scrollBehavior=null})}}(s),s.style.height=""),p=o.boxSizing==="content-box"?s.scrollHeight-(parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)):s.scrollHeight+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),o.maxHeight!=="none"&&p>parseFloat(o.maxHeight)?(o.overflowY==="hidden"&&(s.style.overflow="scroll"),p=parseFloat(o.maxHeight)):o.overflowY!=="hidden"&&(s.style.overflow="hidden"),s.style.height=p+"px",d&&(s.style.textAlign=d),m&&m(),i!==p&&(s.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=p),h!==o.overflow&&!d)){var b=o.textAlign;o.overflow==="hidden"&&(s.style.textAlign=b==="start"?"end":"start"),u({restoreTextAlign:b,testForHeightReduction:!0})}}function c(){u({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],e_),t},Ar.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],t_),t});var n_=Ar;const Dc=document.querySelectorAll('[data-bs-toggle="autosize"]');Dc.length&&Dc.forEach(function(t){n_(t)});function xs(t,e){if(t==null)return{};var n={},s=Object.keys(t),r,i;for(i=0;i=0)&&(n[r]=t[r]);return n}function oe(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new oe.InputMask(t,e)}class ge{constructor(e){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},e)}aggregate(e){return this.rawInserted+=e.rawInserted,this.skip=this.skip||e.skip,this.inserted+=e.inserted,this.tailShift+=e.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}oe.ChangeDetails=ge;function ks(t){return typeof t=="string"||t instanceof String}const G={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function s_(t){switch(t){case G.LEFT:return G.FORCE_LEFT;case G.RIGHT:return G.FORCE_RIGHT;default:return t}}function ya(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function Br(t){return Array.isArray(t)?t:[t,new ge]}function lo(t,e){if(e===t)return!0;var n=Array.isArray(e),s=Array.isArray(t),r;if(n&&s){if(e.length!=t.length)return!1;for(r=0;r0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;this.value=e,this.from=n,this.stop=s}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||e!=null&&this.from>=e)return"";const n=this.value[0];return this.value=this.value.slice(1),n}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class Je{constructor(e){this._value="",this._update(Object.assign({},Je.DEFAULTS,e)),this.isInitialized=!0}updateOptions(e){Object.keys(e).length&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e)}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{input:!0};return this.reset(),this.append(e,n,""),this.doCommit(),this.value}get unmaskedValue(){return this.value}set unmaskedValue(e){this.reset(),this.append(e,{},""),this.doCommit()}get typedValue(){return this.doParse(this.value)}set typedValue(e){this.value=this.doFormat(e)}get rawInputValue(){return this.extractInput(0,this.value.length,{raw:!0})}set rawInputValue(e){this.reset(),this.append(e,{raw:!0},""),this.doCommit()}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,n){return e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return Math.min(this.value.length,n-e)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n)}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return new Jt(this.extractInput(e,n),e)}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}_appendCharRaw(e){return e?(this._value+=e,new ge({inserted:e,rawInserted:e})):new ge}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.state;let i;if([e,i]=Br(this.doPrepare(e,n)),i=i.aggregate(this._appendCharRaw(e,n)),i.inserted){let o,a=this.doValidate(n)!==!1;if(a&&s!=null){const l=this.state;this.overwrite===!0&&(o=s.state,s.unshift(this.value.length-i.tailShift));let u=this.appendTail(s);a=u.rawInserted===s.toString(),!(a&&u.inserted)&&this.overwrite==="shift"&&(this.state=l,o=s.state,s.shift(),u=this.appendTail(s),a=u.rawInserted===s.toString()),a&&u.inserted&&(this.state=l)}a||(i=new ge,this.state=r,s&&o&&(s.state=o))}return i}_appendPlaceholder(){return new ge}_appendEager(){return new ge}append(e,n,s){if(!ks(e))throw new Error("value should be string");const r=new ge,i=ks(s)?new Jt(String(s)):s;n!=null&&n.tail&&(n._beforeTailState=this.state);for(let o=0;o0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this._value=this.value.slice(0,e)+this.value.slice(n),new ge}withValueRefresh(e){if(this._refreshing||!this.isInitialized)return e();this._refreshing=!0;const n=this.rawInputValue,s=this.value,r=e();return this.rawInputValue=n,this.value&&this.value!==s&&s.indexOf(this.value)===0&&this.append(s.slice(this.value.length),{},""),delete this._refreshing,r}runIsolated(e){if(this._isolated||!this.isInitialized)return e(this);this._isolated=!0;const n=this.state,s=e(this);return this.state=n,delete this._isolated,s}doSkipInvalid(e){return this.skipInvalid}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.prepare?this.prepare(e,this,n):e}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}doFormat(e){return this.format?this.format(e,this):e}doParse(e){return this.parse?this.parse(e,this):e}splice(e,n,s,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{input:!0};const o=e+n,a=this.extractTail(o),l=this.eager===!0||this.eager==="remove";let u;l&&(r=s_(r),u=this.extractInput(0,o,{raw:!0}));let c=e;const f=new ge;if(r!==G.NONE&&(c=this.nearestInputPos(e,n>1&&e!==0&&!l?G.NONE:r),f.tailShift=c-e),f.aggregate(this.remove(c)),l&&r!==G.NONE&&u===this.rawInputValue)if(r===G.FORCE_LEFT){let m;for(;u===this.rawInputValue&&(m=this.value.length);)f.aggregate(new ge({tailShift:-1})).aggregate(this.remove(m-1))}else r===G.FORCE_RIGHT&&a.unshift();return f.aggregate(this.append(s,i,a))}maskEquals(e){return this.mask===e}typedValueEquals(e){const n=this.typedValue;return e===n||Je.EMPTY_VALUES.includes(e)&&Je.EMPTY_VALUES.includes(n)||this.doFormat(e)===this.doFormat(this.typedValue)}}Je.DEFAULTS={format:String,parse:t=>t,skipInvalid:!0};Je.EMPTY_VALUES=[void 0,null,""];oe.Masked=Je;function xd(t){if(t==null)throw new Error("mask property should be defined");return t instanceof RegExp?oe.MaskedRegExp:ks(t)?oe.MaskedPattern:t instanceof Date||t===Date?oe.MaskedDate:t instanceof Number||typeof t=="number"||t===Number?oe.MaskedNumber:Array.isArray(t)||t===Array?oe.MaskedDynamic:oe.Masked&&t.prototype instanceof oe.Masked?t:t instanceof oe.Masked?t.constructor:t instanceof Function?oe.MaskedFunction:(console.warn("Mask not found for mask",t),oe.Masked)}function Zn(t){if(oe.Masked&&t instanceof oe.Masked)return t;t=Object.assign({},t);const e=t.mask;if(oe.Masked&&e instanceof oe.Masked)return e;const n=xd(e);if(!n)throw new Error("Masked class is not found for provided mask, appropriate module needs to be import manually before creating mask.");return new n(t)}oe.createMask=Zn;const i_=["parent","isOptional","placeholderChar","displayChar","lazy","eager"],o_={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class Bd{constructor(e){const{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a}=e,l=xs(e,i_);this.masked=Zn(l),Object.assign(this,{parent:n,isOptional:s,placeholderChar:r,displayChar:i,lazy:o,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return e===0&&n>=1?(this.isFilled=!1,this.masked.remove(e,n)):new ge}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isFilled)return new ge;const s=this.masked.state,r=this.masked._appendChar(e,n);return r.inserted&&this.doValidate(n)===!1&&(r.inserted=r.rawInserted="",this.masked.state=s),!r.inserted&&!this.isOptional&&!this.lazy&&!n.input&&(r.inserted=this.placeholderChar),r.skip=!r.inserted&&!this.isOptional,this.isFilled=!!r.inserted,r}append(){return this.masked.append(...arguments)}_appendPlaceholder(){const e=new ge;return this.isFilled||this.isOptional||(this.isFilled=!0,e.inserted=this.placeholderChar),e}_appendEager(){return new ge}extractTail(){return this.masked.extractTail(...arguments)}appendTail(){return this.masked.appendTail(...arguments)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return this.masked.extractInput(e,n,s)}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this.value.length,i=Math.min(Math.max(e,s),r);switch(n){case G.LEFT:case G.FORCE_LEFT:return this.isComplete?i:s;case G.RIGHT:case G.FORCE_RIGHT:return this.isComplete?i:r;case G.NONE:default:return i}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;return this.value.slice(e,n).length}doValidate(){return this.masked.doValidate(...arguments)&&(!this.parent||this.parent.doValidate(...arguments))}doCommit(){this.masked.doCommit()}get state(){return{masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}}class $d{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._value=this._value.slice(0,e)+this._value.slice(n),this._value||(this._isRawInput=!1),new ge}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;const s=0,r=this._value.length;switch(n){case G.LEFT:case G.FORCE_LEFT:return s;case G.NONE:case G.RIGHT:case G.FORCE_RIGHT:default:return r}}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return this._isRawInput?n-e:0}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._value.length;return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).raw&&this._isRawInput&&this._value.slice(e,n)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=new ge;if(this.isFilled)return s;const r=this.eager===!0||this.eager==="append",o=this.char===e&&(this.isUnmasking||n.input||n.raw)&&(!n.raw||!r)&&!n.tail;return o&&(s.rawInserted=this.char),this._value=s.inserted=this.char,this._isRawInput=o&&(n.raw||n.input),s}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new ge;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,new Jt("")}appendTail(e){return ks(e)&&(e=new Jt(String(e))),e.appendTo(this)}append(e,n,s){const r=this._appendChar(e[0],n);return s!=null&&(r.tailShift+=this.appendTail(s).tailShift),r}doCommit(){}get state(){return{_value:this._value,_isRawInput:this._isRawInput}}set state(e){Object.assign(this,e)}}const a_=["chunks"];class jn{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;this.chunks=e,this.from=n}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;ks(e)&&(e=new Jt(String(e)));const n=this.chunks[this.chunks.length-1],s=n&&(n.stop===e.stop||e.stop==null)&&e.from===n.from+n.toString().length;if(e instanceof Jt)s?n.extend(e.toString()):this.chunks.push(e);else if(e instanceof jn){if(e.stop==null){let r;for(;e.chunks.length&&e.chunks[0].stop==null;)r=e.chunks.shift(),r.from+=e.from,this.extend(r)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof oe.MaskedPattern))return new Jt(this.toString()).appendTo(e);const n=new ge;for(let s=0;s=0){const l=e._appendPlaceholder(o);n.aggregate(l)}a=r instanceof jn&&e._blocks[o]}if(a){const l=a.appendTail(r);l.skip=!1,n.aggregate(l),e._value+=l.inserted;const u=r.toString().slice(l.rawInserted.length);u&&n.aggregate(e.append(u,{tail:!0}))}else n.aggregate(e.append(r.toString(),{tail:!0}))}return n}get state(){return{chunks:this.chunks.map(e=>e.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:n}=e,s=xs(e,a_);Object.assign(this,s),this.chunks=n.map(r=>{const i="chunks"in r?new jn:new Jt;return i.state=r,i})}unshift(e){if(!this.chunks.length||e!=null&&this.from>=e)return"";const n=e!=null?e-this.from:e;let s=0;for(;s=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.value.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=((n=this.block)===null||n===void 0?void 0:n.value.length)||0){var n;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_LEFT),this.offset!==0))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,G.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,G.NONE),!0})}}class u_ extends Je{_update(e){e.mask&&(e.validate=n=>n.search(e.mask)>=0),super._update(e)}}oe.MaskedRegExp=u_;const c_=["_blocks"];class it extends Je{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},o_,e.definitions),super(Object.assign({},it.DEFAULTS,e))}_update(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this._stops=[],this._maskedBlocks={};let n=this.mask;if(!n||!e)return;let s=!1,r=!1;for(let a=0;am.indexOf(d)===0);p.sort((d,y)=>y.length-d.length);const E=p[0];if(E){const d=Zn(Object.assign({parent:this,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite},this.blocks[E]));d&&(this._blocks.push(d),this._maskedBlocks[E]||(this._maskedBlocks[E]=[]),this._maskedBlocks[E].push(this._blocks.length-1)),a+=E.length-1;continue}}let l=n[a],u=l in e;if(l===it.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(l==="{"||l==="}"){s=!s;continue}if(l==="["||l==="]"){r=!r;continue}if(l===it.ESCAPE_CHAR){if(++a,l=n[a],!l)break;u=!1}const c=(i=e[l])!==null&&i!==void 0&&i.mask&&!(((o=e[l])===null||o===void 0?void 0:o.mask.prototype)instanceof oe.Masked)?e[l]:{mask:e[l]},f=u?new Bd(Object.assign({parent:this,isOptional:r,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar},c)):new $d({char:l,eager:this.eager,isUnmasking:s});this._blocks.push(f)}}get state(){return Object.assign({},super.state,{_blocks:this._blocks.map(e=>e.state)})}set state(e){const{_blocks:n}=e,s=xs(e,c_);this._blocks.forEach((r,i)=>r.state=n[i]),super.state=s}reset(){super.reset(),this._blocks.forEach(e=>e.reset())}get isComplete(){return this._blocks.every(e=>e.isComplete)}get isFilled(){return this._blocks.every(e=>e.isFilled)}get isFixed(){return this._blocks.every(e=>e.isFixed)}get isOptional(){return this._blocks.every(e=>e.isOptional)}doCommit(){this._blocks.forEach(e=>e.doCommit()),super.doCommit()}get unmaskedValue(){return this._blocks.reduce((e,n)=>e+=n.unmaskedValue,"")}set unmaskedValue(e){super.unmaskedValue=e}get value(){return this._blocks.reduce((e,n)=>e+=n.value,"")}set value(e){super.value=e}get displayValue(){return this._blocks.reduce((e,n)=>e+=n.displayValue,"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const n=new ge;let s=(e=this._mapPosToBlock(this.value.length))===null||e===void 0?void 0:e.index;if(s==null)return n;this._blocks[s].isFilled&&++s;for(let r=s;r1&&arguments[1]!==void 0?arguments[1]:{};const s=this._mapPosToBlock(this.value.length),r=new ge;if(!s)return r;for(let a=s.index;;++a){var i,o;const l=this._blocks[a];if(!l)break;const u=l._appendChar(e,Object.assign({},n,{_beforeTailState:(i=n._beforeTailState)===null||i===void 0||(o=i._blocks)===null||o===void 0?void 0:o[a]})),c=u.skip;if(r.aggregate(u),c||u.rawInserted)break}return r}extractTail(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=new jn;return e===n||this._forEachBlocksInRange(e,n,(r,i,o,a)=>{const l=r.extractTail(o,a);l.stop=this._findStopBefore(i),l.from=this._blockStartPos(i),l instanceof jn&&(l.blockIndex=i),s.extend(l)}),s}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(e===n)return"";let r="";return this._forEachBlocksInRange(e,n,(i,o,a,l)=>{r+=i.extractInput(a,l,s)}),r}_findStopBefore(e){let n;for(let s=0;s{if(!o.lazy||e!=null){const a=o._blocks!=null?[o._blocks.length]:[],l=o._appendPlaceholder(...a);this._value+=l.inserted,n.aggregate(l)}}),n}_mapPosToBlock(e){let n="";for(let s=0;sn+=s.value.length,0)}_forEachBlocksInRange(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;const r=this._mapPosToBlock(e);if(r){const i=this._mapPosToBlock(n),o=i&&r.index===i.index,a=r.offset,l=i&&o?i.offset:this._blocks[r.index].value.length;if(s(this._blocks[r.index],r.index,a,l),i&&!o){for(let u=r.index+1;u0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;const s=super.remove(e,n);return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s.aggregate(r.remove(o,a))}),s}nearestInputPos(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:G.NONE;if(!this._blocks.length)return 0;const s=new l_(this,e);if(n===G.NONE)return s.pushRightBeforeInput()||(s.popState(),s.pushLeftBeforeInput())?s.pos:this.value.length;if(n===G.LEFT||n===G.FORCE_LEFT){if(n===G.LEFT){if(s.pushRightBeforeFilled(),s.ok&&s.pos===e)return e;s.popState()}if(s.pushLeftBeforeInput(),s.pushLeftBeforeRequired(),s.pushLeftBeforeFilled(),n===G.LEFT){if(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.ok&&s.pos<=e||(s.popState(),s.ok&&s.pos<=e))return s.pos;s.popState()}return s.ok?s.pos:n===G.FORCE_LEFT?0:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:0)}return n===G.RIGHT||n===G.FORCE_RIGHT?(s.pushRightBeforeInput(),s.pushRightBeforeRequired(),s.pushRightBeforeFilled()?s.pos:n===G.FORCE_RIGHT?this.value.length:(s.popState(),s.ok||(s.popState(),s.ok)?s.pos:this.nearestInputPos(e,G.LEFT))):e}totalInputPositions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=0;return this._forEachBlocksInRange(e,n,(r,i,o,a)=>{s+=r.totalInputPositions(o,a)}),s}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const n=this._maskedBlocks[e];return n?n.map(s=>this._blocks[s]):[]}}it.DEFAULTS={lazy:!0,placeholderChar:"_"};it.STOP_CHAR="`";it.ESCAPE_CHAR="\\";it.InputDefinition=Bd;it.FixedDefinition=$d;oe.MaskedPattern=it;class Ki extends it{get _matchFrom(){return this.maxLength-String(this.from).length}_update(e){e=Object.assign({to:this.to||0,from:this.from||0,maxLength:this.maxLength||0},e);let n=String(e.to).length;e.maxLength!=null&&(n=Math.max(n,e.maxLength)),e.maxLength=n;const s=String(e.from).padStart(n,"0"),r=String(e.to).padStart(n,"0");let i=0;for(;i1&&arguments[1]!==void 0?arguments[1]:{},s;if([e,s]=Br(super.doPrepare(e.replace(/\D/g,""),n)),!this.autofix||!e)return e;const r=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0");let o=this.value+e;if(o.length>this.maxLength)return"";const[a,l]=this.boundaries(o);return Number(l)this.to?this.autofix==="pad"&&o.length{const r=e.blocks[s];!("autofix"in r)&&"autofix"in e&&(r.autofix=e.autofix)}),super._update(e)}doValidate(){const e=this.date;return super.doValidate(...arguments)&&(!this.isComplete||this.isDateExist(this.value)&&e!=null&&(this.min==null||this.min<=e)&&(this.max==null||e<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}}Bs.DEFAULTS={pattern:"d{.}`m{.}`Y",format:t=>{if(!t)return"";const e=String(t.getDate()).padStart(2,"0"),n=String(t.getMonth()+1).padStart(2,"0"),s=t.getFullYear();return[e,n,s].join(".")},parse:t=>{const[e,n,s]=t.split(".");return new Date(s,n-1,e)}};Bs.GET_DEFAULT_BLOCKS=()=>({d:{mask:Ki,from:1,to:31,maxLength:2},m:{mask:Ki,from:1,to:12,maxLength:2},Y:{mask:Ki,from:1900,to:9999}});oe.MaskedDate=Bs;class Ql{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return e??this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return e??this.value.length}select(e,n){if(!(e==null||n==null||e===this.selectionStart&&n===this.selectionEnd))try{this._unsafeSelect(e,n)}catch{}}_unsafeSelect(e,n){}get isActive(){return!1}bindEvents(e){}unbindEvents(){}}oe.MaskElement=Ql;class tr extends Ql{constructor(e){super(),this.input=e,this._handlers={}}get rootElement(){var e,n,s;return(e=(n=(s=this.input).getRootNode)===null||n===void 0?void 0:n.call(s))!==null&&e!==void 0?e:document}get isActive(){return this.input===this.rootElement.activeElement}get _unsafeSelectionStart(){return this.input.selectionStart}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,n){this.input.setSelectionRange(e,n)}get value(){return this.input.value}set value(e){this.input.value=e}bindEvents(e){Object.keys(e).forEach(n=>this._toggleEventHandler(tr.EVENTS_MAP[n],e[n]))}unbindEvents(){Object.keys(this._handlers).forEach(e=>this._toggleEventHandler(e))}_toggleEventHandler(e,n){this._handlers[e]&&(this.input.removeEventListener(e,this._handlers[e]),delete this._handlers[e]),n&&(this.input.addEventListener(e,n),this._handlers[e]=n)}}tr.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"};oe.HTMLMaskElement=tr;class Vd extends tr{get _unsafeSelectionStart(){const e=this.rootElement,n=e.getSelection&&e.getSelection(),s=n&&n.anchorOffset,r=n&&n.focusOffset;return r==null||s==null||sr?s:r}_unsafeSelect(e,n){if(!this.rootElement.createRange)return;const s=this.rootElement.createRange();s.setStart(this.input.firstChild||this.input,e),s.setEnd(this.input.lastChild||this.input,n);const r=this.rootElement,i=r.getSelection&&r.getSelection();i&&(i.removeAllRanges(),i.addRange(s))}get value(){return this.input.textContent}set value(e){this.input.textContent=e}}oe.HTMLContenteditableMaskElement=Vd;const f_=["mask"];class d_{constructor(e,n){this.el=e instanceof Ql?e:e.isContentEditable&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"?new Vd(e):new tr(e),this.masked=Zn(n),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}get mask(){return this.masked.mask}maskEquals(e){var n;return e==null||((n=this.masked)===null||n===void 0?void 0:n.maskEquals(e))}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof oe.Masked)&&this.masked.constructor===xd(e)){this.masked.updateOptions({mask:e});return}const n=Zn({mask:e});n.unmaskedValue=this.masked.unmaskedValue,this.masked=n}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;ro(...s))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){!this.el||!this.el.isActive||(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const e=this.masked.unmaskedValue,n=this.masked.value,s=this.displayValue,r=this.unmaskedValue!==e||this.value!==n;this._unmaskedValue=e,this._value=n,this.el.value!==s&&(this.el.value=s),r&&this._fireChangeEvents()}updateOptions(e){const{mask:n}=e,s=xs(e,f_),r=!this.maskEquals(n),i=!lo(this.masked,s);r&&(this.mask=n),i&&this.masked.updateOptions(s),(r||i)&&this.updateControl()}updateCursor(e){e!=null&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,G.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,n){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(n),this}off(e,n){if(!this._listeners[e])return this;if(!n)return delete this._listeners[e],this;const s=this._listeners[e].indexOf(n);return s>=0&&this._listeners[e].splice(s,1),this}_onInput(e){if(this._inputEvent=e,this._abortUpdateCursor(),!this._selection)return this.updateValue();const n=new r_(this.el.value,this.cursorPos,this.displayValue,this._selection),s=this.masked.rawInputValue,r=this.masked.splice(n.startChangePos,n.removed.length,n.inserted,n.removeDirection,{input:!0,raw:!0}).offset,i=s===this.masked.rawInputValue?n.removeDirection:G.NONE;let o=this.masked.nearestInputPos(n.startChangePos+r,i);i!==G.NONE&&(o=this.masked.nearestInputPos(o,G.NONE)),this.updateControl(),this.updateCursor(o),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}oe.InputMask=d_;class h_ extends it{_update(e){e.enum&&(e.mask="*".repeat(e.enum[0].length)),super._update(e)}doValidate(){return this.enum.some(e=>e.indexOf(this.unmaskedValue)>=0)&&super.doValidate(...arguments)}}oe.MaskedEnum=h_;class pt extends Je{constructor(e){super(Object.assign({},pt.DEFAULTS,e))}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){let e="^"+(this.allowNegative?"[+|\\-]?":""),n="\\d*",s=(this.scale?"(".concat(ya(this.radix),"\\d{0,").concat(this.scale,"})?"):"")+"$";this._numberRegExp=new RegExp(e+n+s),this._mapToRadixRegExp=new RegExp("[".concat(this.mapToRadix.map(ya).join(""),"]"),"g"),this._thousandsSeparatorRegExp=new RegExp(ya(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const n=e.split(this.radix);return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),n.join(this.radix)}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e=this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(n.input&&n.raw||!n.input&&!n.raw)?e.replace(this._mapToRadixRegExp,this.radix):e);const[s,r]=Br(super.doPrepare(e,n));return e&&!s&&(r.skip=!0),[s,r]}_separatorsCount(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=0;for(let r=0;r0&&arguments[0]!==void 0?arguments[0]:this._value;return this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length,s=arguments.length>2?arguments[2]:void 0;return[e,n]=this._adjustRangeWithSeparators(e,n),this._removeThousandsSeparators(super.extractInput(e,n,s))}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.thousandsSeparator)return super._appendCharRaw(e,n);const s=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,r=this._separatorsCountFromSlice(s);this._value=this._removeThousandsSeparators(this.value);const i=super._appendCharRaw(e,n);this._value=this._insertThousandsSeparators(this._value);const o=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,a=this._separatorsCountFromSlice(o);return i.tailShift+=(a-r)*this.thousandsSeparator.length,i.skip=!i.rawInserted&&e===this.thousandsSeparator,i}_findSeparatorAround(e){if(this.thousandsSeparator){const n=e-this.thousandsSeparator.length+1,s=this.value.indexOf(this.thousandsSeparator,n);if(s<=e)return s}return-1}_adjustRangeWithSeparators(e,n){const s=this._findSeparatorAround(e);s>=0&&(e=s);const r=this._findSeparatorAround(n);return r>=0&&(n=r+this.thousandsSeparator.length),[e,n]}remove(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.value.length;[e,n]=this._adjustRangeWithSeparators(e,n);const s=this.value.slice(0,e),r=this.value.slice(n),i=this._separatorsCount(s.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(s+r));const o=this._separatorsCountFromSlice(s);return new ge({tailShift:(o-i)*this.thousandsSeparator.length})}nearestInputPos(e,n){if(!this.thousandsSeparator)return e;switch(n){case G.NONE:case G.LEFT:case G.FORCE_LEFT:{const s=this._findSeparatorAround(e-1);if(s>=0){const r=s+this.thousandsSeparator.length;if(e=0)return s+this.thousandsSeparator.length}}return e}doValidate(e){let n=!!this._removeThousandsSeparators(this.value).match(this._numberRegExp);if(n){const s=this.number;n=n&&!isNaN(s)&&(this.min==null||this.min>=0||this.min<=this.number)&&(this.max==null||this.max<=0||this.number<=this.max)}return n&&super.doValidate(e)}doCommit(){if(this.value){const e=this.number;let n=e;this.min!=null&&(n=Math.max(n,this.min)),this.max!=null&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=this.doFormat(n));let s=this.value;this.normalizeZeros&&(s=this._normalizeZeros(s)),this.padFractionalZeros&&this.scale>0&&(s=this._padFractionalZeros(s)),this._value=s}super.doCommit()}_normalizeZeros(e){const n=this._removeThousandsSeparators(e).split(this.radix);return n[0]=n[0].replace(/^(\D*)(0*)(\d*)/,(s,r,i,o)=>r+o),e.length&&!/\d$/.test(n[0])&&(n[0]=n[0]+"0"),n.length>1&&(n[1]=n[1].replace(/0*$/,""),n[1].length||(n.length=1)),this._insertThousandsSeparators(n.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const n=e.split(this.radix);return n.length<2&&n.push(""),n[1]=n[1].padEnd(this.scale,"0"),n.join(this.radix)}doSkipInvalid(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const r=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===pt.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,n,s)&&!r}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,pt.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.doParse(this.unmaskedValue)}set typedValue(e){this.rawInputValue=this.doFormat(e).replace(pt.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return this.signed||this.min!=null&&this.min<0||this.max!=null&&this.max<0}typedValueEquals(e){return(super.typedValueEquals(e)||pt.EMPTY_VALUES.includes(e)&&pt.EMPTY_VALUES.includes(this.typedValue))&&!(e===0&&this.value==="")}}pt.UNMASKED_RADIX=".";pt.DEFAULTS={radix:",",thousandsSeparator:"",mapToRadix:[pt.UNMASKED_RADIX],scale:2,signed:!1,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})};pt.EMPTY_VALUES=[...Je.EMPTY_VALUES,0];oe.MaskedNumber=pt;class p_ extends Je{_update(e){e.mask&&(e.validate=e.mask),super._update(e)}}oe.MaskedFunction=p_;const m_=["compiledMasks","currentMaskRef","currentMask"],g_=["mask"];class xo extends Je{constructor(e){super(Object.assign({},xo.DEFAULTS,e)),this.currentMask=null}_update(e){super._update(e),"mask"in e&&(this.compiledMasks=Array.isArray(e.mask)?e.mask.map(n=>Zn(n)):[])}_appendCharRaw(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this._applyDispatch(e,n);return this.currentMask&&s.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(n))),s}_applyDispatch(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";const r=n.tail&&n._beforeTailState!=null?n._beforeTailState._value:this.value,i=this.rawInputValue,o=n.tail&&n._beforeTailState!=null?n._beforeTailState._rawInputValue:i,a=i.slice(o.length),l=this.currentMask,u=new ge,c=l==null?void 0:l.state;if(this.currentMask=this.doDispatch(e,Object.assign({},n),s),this.currentMask)if(this.currentMask!==l){if(this.currentMask.reset(),o){const f=this.currentMask.append(o,{raw:!0});u.tailShift=f.inserted.length-r.length}a&&(u.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)}else this.currentMask.state=c;return u}_appendPlaceholder(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch(...arguments);return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const n=new ge;return e&&n.aggregate(this._applyDispatch("",{},e)),n.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var n,s;return Object.assign({},e,{_beforeTailState:((n=e._beforeTailState)===null||n===void 0?void 0:n.currentMaskRef)===this.currentMask&&((s=e._beforeTailState)===null||s===void 0?void 0:s.currentMask)||e._beforeTailState})}doDispatch(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return this.dispatch(e,this,n,s)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},[s,r]=Br(super.doPrepare(e,n));if(this.currentMask){let i;[s,i]=Br(super.doPrepare(s,this.currentMaskFlags(n))),r=r.aggregate(i)}return[s,r]}reset(){var e;(e=this.currentMask)===null||e===void 0||e.reset(),this.compiledMasks.forEach(n=>n.reset())}get value(){return this.currentMask?this.currentMask.value:""}set value(e){super.value=e}get unmaskedValue(){return this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.currentMask?this.currentMask.typedValue:""}set typedValue(e){let n=String(e);this.currentMask&&(this.currentMask.typedValue=e,n=this.currentMask.unmaskedValue),this.unmaskedValue=n}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isComplete)}get isFilled(){var e;return!!(!((e=this.currentMask)===null||e===void 0)&&e.isFilled)}remove(){const e=new ge;return this.currentMask&&e.aggregate(this.currentMask.remove(...arguments)).aggregate(this._applyDispatch()),e}get state(){var e;return Object.assign({},super.state,{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(n=>n.state),currentMaskRef:this.currentMask,currentMask:(e=this.currentMask)===null||e===void 0?void 0:e.state})}set state(e){const{compiledMasks:n,currentMaskRef:s,currentMask:r}=e,i=xs(e,m_);this.compiledMasks.forEach((o,a)=>o.state=n[a]),s!=null&&(this.currentMask=s,this.currentMask.state=r),super.state=i}extractInput(){return this.currentMask?this.currentMask.extractInput(...arguments):""}extractTail(){return this.currentMask?this.currentMask.extractTail(...arguments):super.extractTail(...arguments)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(){return this.currentMask?this.currentMask.nearestInputPos(...arguments):super.nearestInputPos(...arguments)}get overwrite(){return this.currentMask?this.currentMask.overwrite:super.overwrite}set overwrite(e){console.warn('"overwrite" option is not available in dynamic mask, use this option in siblings')}get eager(){return this.currentMask?this.currentMask.eager:super.eager}set eager(e){console.warn('"eager" option is not available in dynamic mask, use this option in siblings')}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:super.skipInvalid}set skipInvalid(e){(this.isInitialized||e!==Je.DEFAULTS.skipInvalid)&&console.warn('"skipInvalid" option is not available in dynamic mask, use this option in siblings')}maskEquals(e){return Array.isArray(e)&&this.compiledMasks.every((n,s)=>{if(!e[s])return;const r=e[s],{mask:i}=r,o=xs(r,g_);return lo(n,o)&&n.maskEquals(i)})}typedValueEquals(e){var n;return!!(!((n=this.currentMask)===null||n===void 0)&&n.typedValueEquals(e))}}xo.DEFAULTS={dispatch:(t,e,n,s)=>{if(!e.compiledMasks.length)return;const r=e.rawInputValue,i=e.compiledMasks.map((o,a)=>{const l=e.currentMask===o,u=l?o.value.length:o.nearestInputPos(o.value.length,G.FORCE_LEFT);return o.rawInputValue!==r?(o.reset(),o.append(r,{raw:!0})):l||o.remove(u),o.append(t,e.currentMaskFlags(n)),o.appendTail(s),{index:a,weight:o.rawInputValue.length,totalInputPositions:o.totalInputPositions(0,Math.max(u,o.nearestInputPos(o.value.length,G.FORCE_LEFT)))}});return i.sort((o,a)=>a.weight-o.weight||a.totalInputPositions-o.totalInputPositions),e.compiledMasks[i[0].index]}};oe.MaskedDynamic=xo;const nl={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function jd(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nl.MASKED,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:nl.MASKED;const s=Zn(t);return r=>s.runIsolated(i=>(i[e]=r,i[n]))}function __(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s"u")return!1;var e=ct(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function y_(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},r=e.attributes[n]||{},i=e.elements[n];!Et(i)||!Ht(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function v_(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var r=e.elements[s],i=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!Et(r)||!Ht(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const su={name:"applyStyles",enabled:!0,phase:"write",fn:y_,effect:v_,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Kn=Math.max,uo=Math.min,Vs=Math.round;function rl(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function eh(){return!/^((?!chrome|android).)*safari/i.test(rl())}function js(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),r=1,i=1;e&&Et(t)&&(r=t.offsetWidth>0&&Vs(s.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Vs(s.height)/t.offsetHeight||1);var o=es(t)?ct(t):window,a=o.visualViewport,l=!eh()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,f=s.width/r,m=s.height/i;return{width:f,height:m,top:c,right:u+f,bottom:c+m,left:u,x:u,y:c}}function ru(t){var e=js(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function th(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&nu(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function sn(t){return ct(t).getComputedStyle(t)}function b_(t){return["table","td","th"].indexOf(Ht(t))>=0}function Pn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function $o(t){return Ht(t)==="html"?t:t.assignedSlot||t.parentNode||(nu(t)?t.host:null)||Pn(t)}function Ic(t){return!Et(t)||sn(t).position==="fixed"?null:t.offsetParent}function A_(t){var e=/firefox/i.test(rl()),n=/Trident/i.test(rl());if(n&&Et(t)){var s=sn(t);if(s.position==="fixed")return null}var r=$o(t);for(nu(r)&&(r=r.host);Et(r)&&["html","body"].indexOf(Ht(r))<0;){var i=sn(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ti(t){for(var e=ct(t),n=Ic(t);n&&b_(n)&&sn(n).position==="static";)n=Ic(n);return n&&(Ht(n)==="html"||Ht(n)==="body"&&sn(n).position==="static")?e:n||A_(t)||e}function iu(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Or(t,e,n){return Kn(t,uo(e,n))}function T_(t,e,n){var s=Or(t,e,n);return s>n?n:s}function nh(){return{top:0,right:0,bottom:0,left:0}}function sh(t){return Object.assign({},nh(),t)}function rh(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var S_=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,sh(typeof e!="number"?e:rh(e,nr))};function C_(t){var e,n=t.state,s=t.name,r=t.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Vt(n.placement),l=iu(a),u=[He,ut].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!o)){var f=S_(r.padding,n),m=ru(i),p=l==="y"?je:He,E=l==="y"?lt:ut,d=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],y=o[l]-n.rects.reference[l],_=ti(i),h=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,b=d/2-y/2,g=f[p],A=h-m[c]-f[E],S=h/2-m[c]/2+b,O=Or(g,S,A),v=l;n.modifiersData[s]=(e={},e[v]=O,e.centerOffset=O-S,e)}}function w_(t){var e=t.state,n=t.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=e.elements.popper.querySelector(r),!r)||th(e.elements.popper,r)&&(e.elements.arrow=r))}const ih={name:"arrow",enabled:!0,phase:"main",fn:C_,effect:w_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(t){return t.split("-")[1]}var O_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k_(t,e){var n=t.x,s=t.y,r=e.devicePixelRatio||1;return{x:Vs(n*r)/r||0,y:Vs(s*r)/r||0}}function Rc(t){var e,n=t.popper,s=t.popperRect,r=t.placement,i=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,m=o.x,p=m===void 0?0:m,E=o.y,d=E===void 0?0:E,y=typeof c=="function"?c({x:p,y:d}):{x:p,y:d};p=y.x,d=y.y;var _=o.hasOwnProperty("x"),h=o.hasOwnProperty("y"),b=He,g=je,A=window;if(u){var S=ti(n),O="clientHeight",v="clientWidth";if(S===ct(n)&&(S=Pn(n),sn(S).position!=="static"&&a==="absolute"&&(O="scrollHeight",v="scrollWidth")),S=S,r===je||(r===He||r===ut)&&i===$s){g=lt;var w=f&&S===A&&A.visualViewport?A.visualViewport.height:S[O];d-=w-s.height,d*=l?1:-1}if(r===He||(r===je||r===lt)&&i===$s){b=ut;var k=f&&S===A&&A.visualViewport?A.visualViewport.width:S[v];p-=k-s.width,p*=l?1:-1}}var N=Object.assign({position:a},u&&O_),P=c===!0?k_({x:p,y:d},ct(n)):{x:p,y:d};if(p=P.x,d=P.y,l){var R;return Object.assign({},N,(R={},R[g]=h?"0":"",R[b]=_?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",R))}return Object.assign({},N,(e={},e[g]=h?d+"px":"",e[b]=_?p+"px":"",e.transform="",e))}function N_(t){var e=t.state,n=t.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Vt(e.placement),variation:Hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Rc(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Rc(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ou={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:N_,data:{}};var Si={passive:!0};function P_(t){var e=t.state,n=t.instance,s=t.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,a=o===void 0?!0:o,l=ct(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Si)}),a&&l.addEventListener("resize",n.update,Si),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Si)}),a&&l.removeEventListener("resize",n.update,Si)}}const au={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P_,data:{}};var D_={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(t){return t.replace(/left|right|bottom|top/g,function(e){return D_[e]})}var I_={start:"end",end:"start"};function Lc(t){return t.replace(/start|end/g,function(e){return I_[e]})}function lu(t){var e=ct(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function uu(t){return js(Pn(t)).left+lu(t).scrollLeft}function R_(t,e){var n=ct(t),s=Pn(t),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,a=0,l=0;if(r){i=r.width,o=r.height;var u=eh();(u||!u&&e==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:i,height:o,x:a+uu(t),y:l}}function L_(t){var e,n=Pn(t),s=lu(t),r=(e=t.ownerDocument)==null?void 0:e.body,i=Kn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Kn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-s.scrollLeft+uu(t),l=-s.scrollTop;return sn(r||n).direction==="rtl"&&(a+=Kn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:a,y:l}}function cu(t){var e=sn(t),n=e.overflow,s=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function oh(t){return["html","body","#document"].indexOf(Ht(t))>=0?t.ownerDocument.body:Et(t)&&cu(t)?t:oh($o(t))}function kr(t,e){var n;e===void 0&&(e=[]);var s=oh(t),r=s===((n=t.ownerDocument)==null?void 0:n.body),i=ct(s),o=r?[i].concat(i.visualViewport||[],cu(s)?s:[]):s,a=e.concat(o);return r?a:a.concat(kr($o(o)))}function il(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function F_(t,e){var n=js(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Fc(t,e,n){return e===eu?il(R_(t,n)):es(e)?F_(e,n):il(L_(Pn(t)))}function M_(t){var e=kr($o(t)),n=["absolute","fixed"].indexOf(sn(t).position)>=0,s=n&&Et(t)?ti(t):t;return es(s)?e.filter(function(r){return es(r)&&th(r,s)&&Ht(r)!=="body"}):[]}function x_(t,e,n,s){var r=e==="clippingParents"?M_(t):[].concat(e),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(l,u){var c=Fc(t,u,s);return l.top=Kn(c.top,l.top),l.right=uo(c.right,l.right),l.bottom=uo(c.bottom,l.bottom),l.left=Kn(c.left,l.left),l},Fc(t,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ah(t){var e=t.reference,n=t.element,s=t.placement,r=s?Vt(s):null,i=s?Hs(s):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(r){case je:l={x:o,y:e.y-n.height};break;case lt:l={x:o,y:e.y+e.height};break;case ut:l={x:e.x+e.width,y:a};break;case He:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=r?iu(r):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Qn:l[u]=l[u]-(e[c]/2-n[c]/2);break;case $s:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function Us(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=s===void 0?t.placement:s,i=n.strategy,o=i===void 0?t.strategy:i,a=n.boundary,l=a===void 0?Hd:a,u=n.rootBoundary,c=u===void 0?eu:u,f=n.elementContext,m=f===void 0?bs:f,p=n.altBoundary,E=p===void 0?!1:p,d=n.padding,y=d===void 0?0:d,_=sh(typeof y!="number"?y:rh(y,nr)),h=m===bs?Ud:bs,b=t.rects.popper,g=t.elements[E?h:m],A=x_(es(g)?g:g.contextElement||Pn(t.elements.popper),l,c,o),S=js(t.elements.reference),O=ah({reference:S,element:b,strategy:"absolute",placement:r}),v=il(Object.assign({},b,O)),w=m===bs?v:S,k={top:A.top-w.top+_.top,bottom:w.bottom-A.bottom+_.bottom,left:A.left-w.left+_.left,right:w.right-A.right+_.right},N=t.modifiersData.offset;if(m===bs&&N){var P=N[r];Object.keys(k).forEach(function(R){var B=[ut,lt].indexOf(R)>=0?1:-1,X=[je,lt].indexOf(R)>=0?"y":"x";k[R]+=P[X]*B})}return k}function B_(t,e){e===void 0&&(e={});var n=e,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?tu:l,c=Hs(s),f=c?a?sl:sl.filter(function(E){return Hs(E)===c}):nr,m=f.filter(function(E){return u.indexOf(E)>=0});m.length===0&&(m=f);var p=m.reduce(function(E,d){return E[d]=Us(t,{placement:d,boundary:r,rootBoundary:i,padding:o})[Vt(d)],E},{});return Object.keys(p).sort(function(E,d){return p[E]-p[d]})}function $_(t){if(Vt(t)===Bo)return[];var e=zi(t);return[Lc(t),e,Lc(e)]}function V_(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,m=n.altBoundary,p=n.flipVariations,E=p===void 0?!0:p,d=n.allowedAutoPlacements,y=e.options.placement,_=Vt(y),h=_===y,b=l||(h||!E?[zi(y)]:$_(y)),g=[y].concat(b).reduce(function(Rt,qe){return Rt.concat(Vt(qe)===Bo?B_(e,{placement:qe,boundary:c,rootBoundary:f,padding:u,flipVariations:E,allowedAutoPlacements:d}):qe)},[]),A=e.rects.reference,S=e.rects.popper,O=new Map,v=!0,w=g[0],k=0;k=0,X=B?"width":"height",W=Us(e,{placement:N,boundary:c,rootBoundary:f,altBoundary:m,padding:u}),ee=B?R?ut:He:R?lt:je;A[X]>S[X]&&(ee=zi(ee));var se=zi(ee),_e=[];if(i&&_e.push(W[P]<=0),a&&_e.push(W[ee]<=0,W[se]<=0),_e.every(function(Rt){return Rt})){w=N,v=!1;break}O.set(N,_e)}if(v)for(var dt=E?3:1,Be=function(qe){var $e=g.find(function(zt){var Lt=O.get(zt);if(Lt)return Lt.slice(0,qe).every(function(Ft){return Ft})});if($e)return w=$e,"break"},ye=dt;ye>0;ye--){var It=Be(ye);if(It==="break")break}e.placement!==w&&(e.modifiersData[s]._skip=!0,e.placement=w,e.reset=!0)}}const lh={name:"flip",enabled:!0,phase:"main",fn:V_,requiresIfExists:["offset"],data:{_skip:!1}};function Mc(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xc(t){return[je,ut,lt,He].some(function(e){return t[e]>=0})}function j_(t){var e=t.state,n=t.name,s=e.rects.reference,r=e.rects.popper,i=e.modifiersData.preventOverflow,o=Us(e,{elementContext:"reference"}),a=Us(e,{altBoundary:!0}),l=Mc(o,s),u=Mc(a,r,i),c=xc(l),f=xc(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const uh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:j_};function H_(t,e,n){var s=Vt(t),r=[He,je].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=i[0],a=i[1];return o=o||0,a=(a||0)*r,[He,ut].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function U_(t){var e=t.state,n=t.options,s=t.name,r=n.offset,i=r===void 0?[0,0]:r,o=tu.reduce(function(c,f){return c[f]=H_(f,e.rects,i),c},{}),a=o[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[s]=o}const ch={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:U_};function W_(t){var e=t.state,n=t.name;e.modifiersData[n]=ah({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const fu={name:"popperOffsets",enabled:!0,phase:"read",fn:W_,data:{}};function q_(t){return t==="x"?"y":"x"}function K_(t){var e=t.state,n=t.options,s=t.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,m=n.tether,p=m===void 0?!0:m,E=n.tetherOffset,d=E===void 0?0:E,y=Us(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),_=Vt(e.placement),h=Hs(e.placement),b=!h,g=iu(_),A=q_(g),S=e.modifiersData.popperOffsets,O=e.rects.reference,v=e.rects.popper,w=typeof d=="function"?d(Object.assign({},e.rects,{placement:e.placement})):d,k=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(S){if(i){var R,B=g==="y"?je:He,X=g==="y"?lt:ut,W=g==="y"?"height":"width",ee=S[g],se=ee+y[B],_e=ee-y[X],dt=p?-v[W]/2:0,Be=h===Qn?O[W]:v[W],ye=h===Qn?-v[W]:-O[W],It=e.elements.arrow,Rt=p&&It?ru(It):{width:0,height:0},qe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:nh(),$e=qe[B],zt=qe[X],Lt=Or(0,O[W],Rt[W]),Ft=b?O[W]/2-dt-Lt-$e-k.mainAxis:Be-Lt-$e-k.mainAxis,hr=b?-O[W]/2+dt+Lt+zt+k.mainAxis:ye+Lt+zt+k.mainAxis,Mn=e.elements.arrow&&ti(e.elements.arrow),T=Mn?g==="y"?Mn.clientTop||0:Mn.clientLeft||0:0,C=(R=N==null?void 0:N[g])!=null?R:0,D=ee+Ft-C-T,F=ee+hr-C,L=Or(p?uo(se,D):se,ee,p?Kn(_e,F):_e);S[g]=L,P[g]=L-ee}if(a){var V,H=g==="x"?je:He,$=g==="x"?lt:ut,j=S[A],x=A==="y"?"height":"width",z=j+y[H],q=j-y[$],K=[je,He].indexOf(_)!==-1,J=(V=N==null?void 0:N[A])!=null?V:0,re=K?z:j-O[x]-v[x]-J+k.altAxis,de=K?j+O[x]+v[x]-J-k.altAxis:q,ce=p&&K?T_(re,j,de):Or(p?re:z,j,p?de:q);S[A]=ce,P[A]=ce-j}e.modifiersData[s]=P}}const fh={name:"preventOverflow",enabled:!0,phase:"main",fn:K_,requiresIfExists:["offset"]};function z_(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function G_(t){return t===ct(t)||!Et(t)?lu(t):z_(t)}function Y_(t){var e=t.getBoundingClientRect(),n=Vs(e.width)/t.offsetWidth||1,s=Vs(e.height)/t.offsetHeight||1;return n!==1||s!==1}function X_(t,e,n){n===void 0&&(n=!1);var s=Et(e),r=Et(e)&&Y_(e),i=Pn(e),o=js(t,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Ht(e)!=="body"||cu(i))&&(a=G_(e)),Et(e)?(l=js(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=uu(i))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function J_(t){var e=new Map,n=new Set,s=[];t.forEach(function(i){e.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&r(l)}}),s.push(i)}return t.forEach(function(i){n.has(i.name)||r(i)}),s}function Z_(t){var e=J_(t);return Qd.reduce(function(n,s){return n.concat(e.filter(function(r){return r.phase===s}))},[])}function Q_(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function eE(t){var e=t.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Bc={placement:"bottom",modifiers:[],strategy:"absolute"};function $c(){for(var t=arguments.length,e=new Array(t),n=0;n(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),aE=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),lE=t=>{do t+=Math.floor(Math.random()*iE);while(document.getElementById(t));return t},uE=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e),r=Number.parseFloat(n);return!s&&!r?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*oE)},ph=t=>{t.dispatchEvent(new Event(ol))},Zt=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),An=t=>Zt(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(hh(t)):null,sr=t=>{if(!Zt(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const s=t.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return e},Tn=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",mh=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?mh(t.parentNode):null},co=()=>{},ti=t=>{t.offsetHeight},gh=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ba=[],cE=t=>{document.readyState==="loading"?(ba.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of ba)e()}),ba.push(t)):t()},bt=()=>document.documentElement.dir==="rtl",Ct=t=>{cE(()=>{const e=gh();if(e){const n=t.NAME,s=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=s,t.jQueryInterface)}})},ze=(t,e=[],n=t)=>typeof t=="function"?t(...e):n,_h=(t,e,n=!0)=>{if(!n){ze(t);return}const s=5,r=uE(e)+s;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(ol,o),ze(t))};e.addEventListener(ol,o),setTimeout(()=>{i||ph(e)},r)},hu=(t,e,n,s)=>{const r=t.length;let i=t.indexOf(e);return i===-1?!n&&s?t[r-1]:t[0]:(i+=n?1:-1,s&&(i=(i+r)%r),t[Math.max(0,Math.min(i,r-1))])},fE=/[^.]*(?=\..*)\.|.*/,dE=/\..*/,hE=/::\d+$/,Aa={};let Vc=1;const Eh={mouseenter:"mouseover",mouseleave:"mouseout"},pE=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function yh(t,e){return e&&`${e}::${Vc++}`||t.uidEvent||Vc++}function vh(t){const e=yh(t);return t.uidEvent=e,Aa[e]=Aa[e]||{},Aa[e]}function mE(t,e){return function n(s){return pu(s,{delegateTarget:t}),n.oneOff&&M.off(t,s.type,e),e.apply(t,[s])}}function gE(t,e,n){return function s(r){const i=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return pu(r,{delegateTarget:o}),s.oneOff&&M.off(t,r.type,e,n),n.apply(o,[r])}}function bh(t,e,n=null){return Object.values(t).find(s=>s.callable===e&&s.delegationSelector===n)}function Ah(t,e,n){const s=typeof e=="string",r=s?n:e||n;let i=Th(t);return pE.has(i)||(i=t),[s,r,i]}function jc(t,e,n,s,r){if(typeof e!="string"||!t)return;let[i,o,a]=Ah(e,n,s);e in Eh&&(o=(E=>function(d){if(!d.relatedTarget||d.relatedTarget!==d.delegateTarget&&!d.delegateTarget.contains(d.relatedTarget))return E.call(this,d)})(o));const l=vh(t),u=l[a]||(l[a]={}),c=bh(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const f=yh(o,e.replace(fE,"")),m=i?gE(t,n,o):mE(t,o);m.delegationSelector=i?n:null,m.callable=o,m.oneOff=r,m.uidEvent=f,u[f]=m,t.addEventListener(a,m,i)}function al(t,e,n,s,r){const i=bh(e[n],s,r);i&&(t.removeEventListener(n,i,!!r),delete e[n][i.uidEvent])}function _E(t,e,n,s){const r=e[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&al(t,e,n,o.callable,o.delegationSelector)}function Th(t){return t=t.replace(dE,""),Eh[t]||t}const M={on(t,e,n,s){jc(t,e,n,s,!1)},one(t,e,n,s){jc(t,e,n,s,!0)},off(t,e,n,s){if(typeof e!="string"||!t)return;const[r,i,o]=Ah(e,n,s),a=o!==e,l=vh(t),u=l[o]||{},c=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;al(t,l,o,i,r?n:null);return}if(c)for(const f of Object.keys(l))_E(t,l,f,e.slice(1));for(const[f,m]of Object.entries(u)){const p=f.replace(hE,"");(!a||e.includes(p))&&al(t,l,o,m.callable,m.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const s=gh(),r=Th(e),i=e!==r;let o=null,a=!0,l=!0,u=!1;i&&s&&(o=s.Event(e,n),s(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=pu(new Event(e,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function pu(t,e={}){for(const[n,s]of Object.entries(e))try{t[n]=s}catch{Object.defineProperty(t,n,{configurable:!0,get(){return s}})}return t}function Hc(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Ta(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Qt={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Ta(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ta(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=Hc(t.dataset[s])}return e},getDataAttribute(t,e){return Hc(t.getAttribute(`data-bs-${Ta(e)}`))}};class ni{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const s=Zt(n)?Qt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Zt(n)?Qt.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=e[s],o=Zt(i)?"element":aE(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const EE="5.3.1";class Pt extends ni{constructor(e,n){super(),e=An(e),e&&(this._element=e,this._config=this._getConfig(n),va.set(this._element,this.constructor.DATA_KEY,this))}dispose(){va.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,s=!0){_h(e,n,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return va.get(An(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return EE}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ca=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return hh(e)},Y={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let s=t.parentNode.closest(e);for(;s;)n.push(s),s=s.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Tn(n)&&sr(n))},getSelectorFromElement(t){const e=Ca(t);return e&&Y.findOne(e)?e:null},getElementFromSelector(t){const e=Ca(t);return e?Y.findOne(e):null},getMultipleElementsFromSelector(t){const e=Ca(t);return e?Y.find(e):[]}},jo=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;M.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Tn(this))return;const i=Y.getElementFromSelector(this)||this.closest(`.${s}`);t.getOrCreateInstance(i)[e]()})},yE="alert",vE="bs.alert",Ch=`.${vE}`,bE=`close${Ch}`,AE=`closed${Ch}`,TE="fade",CE="show";class si extends Pt{static get NAME(){return yE}close(){if(M.trigger(this._element,bE).defaultPrevented)return;this._element.classList.remove(CE);const n=this._element.classList.contains(TE);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),M.trigger(this._element,AE),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=si.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}jo(si,"close");Ct(si);const SE="button",wE="bs.button",OE=`.${wE}`,kE=".data-api",NE="active",Uc='[data-bs-toggle="button"]',PE=`click${OE}${kE}`;class ri extends Pt{static get NAME(){return SE}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(NE))}static jQueryInterface(e){return this.each(function(){const n=ri.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}M.on(document,PE,Uc,t=>{t.preventDefault();const e=t.target.closest(Uc);ri.getOrCreateInstance(e).toggle()});Ct(ri);const DE="swipe",rr=".bs.swipe",IE=`touchstart${rr}`,RE=`touchmove${rr}`,LE=`touchend${rr}`,FE=`pointerdown${rr}`,ME=`pointerup${rr}`,xE="touch",BE="pen",$E="pointer-event",VE=40,jE={endCallback:null,leftCallback:null,rightCallback:null},HE={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fo extends ni{constructor(e,n){super(),this._element=e,!(!e||!fo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return jE}static get DefaultType(){return HE}static get NAME(){return DE}dispose(){M.off(this._element,rr)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),ze(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=VE)return;const n=e/this._deltaX;this._deltaX=0,n&&ze(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,FE,e=>this._start(e)),M.on(this._element,ME,e=>this._end(e)),this._element.classList.add($E)):(M.on(this._element,IE,e=>this._start(e)),M.on(this._element,RE,e=>this._move(e)),M.on(this._element,LE,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===BE||e.pointerType===xE)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const UE="carousel",WE="bs.carousel",Dn=`.${WE}`,Sh=".data-api",qE="ArrowLeft",KE="ArrowRight",zE=500,mr="next",gs="prev",As="left",Gi="right",GE=`slide${Dn}`,Sa=`slid${Dn}`,YE=`keydown${Dn}`,XE=`mouseenter${Dn}`,JE=`mouseleave${Dn}`,ZE=`dragstart${Dn}`,QE=`load${Dn}${Sh}`,ey=`click${Dn}${Sh}`,wh="carousel",Si="active",ty="slide",ny="carousel-item-end",sy="carousel-item-start",ry="carousel-item-next",iy="carousel-item-prev",Oh=".active",kh=".carousel-item",oy=Oh+kh,ay=".carousel-item img",ly=".carousel-indicators",uy="[data-bs-slide], [data-bs-slide-to]",cy='[data-bs-ride="carousel"]',fy={[qE]:Gi,[KE]:As},dy={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},hy={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ir extends Pt{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(ly,this._element),this._addEventListeners(),this._config.ride===wh&&this.cycle()}static get Default(){return dy}static get DefaultType(){return hy}static get NAME(){return UE}next(){this._slide(mr)}nextWhenVisible(){!document.hidden&&sr(this._element)&&this.next()}prev(){this._slide(gs)}pause(){this._isSliding&&ph(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){M.one(this._element,Sa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){M.one(this._element,Sa,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const r=e>s?mr:gs;this._slide(r,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&M.on(this._element,YE,e=>this._keydown(e)),this._config.pause==="hover"&&(M.on(this._element,XE,()=>this.pause()),M.on(this._element,JE,()=>this._maybeEnableCycle())),this._config.touch&&fo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of Y.find(ay,this._element))M.on(s,ZE,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(As)),rightCallback:()=>this._slide(this._directionToOrder(Gi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),zE+this._config.interval))}};this._swipeHelper=new fo(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=fy[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=Y.findOne(Oh,this._indicatorsElement);n.classList.remove(Si),n.removeAttribute("aria-current");const s=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(Si),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const s=this._getActive(),r=e===mr,i=n||hu(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=p=>M.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(GE).defaultPrevented||!s||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?sy:ny,f=r?ry:iy;i.classList.add(f),ti(i),s.classList.add(c),i.classList.add(c);const m=()=>{i.classList.remove(c,f),i.classList.add(Si),s.classList.remove(Si,f,c),this._isSliding=!1,a(Sa)};this._queueCallback(m,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ty)}_getActive(){return Y.findOne(oy,this._element)}_getItems(){return Y.find(kh,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return bt()?e===As?gs:mr:e===As?mr:gs}_orderToDirection(e){return bt()?e===gs?As:Gi:e===gs?Gi:As}static jQueryInterface(e){return this.each(function(){const n=ir.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,ey,uy,function(t){const e=Y.getElementFromSelector(this);if(!e||!e.classList.contains(wh))return;t.preventDefault();const n=ir.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Qt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});M.on(window,QE,()=>{const t=Y.find(cy);for(const e of t)ir.getOrCreateInstance(e)});Ct(ir);const py="collapse",my="bs.collapse",ii=`.${my}`,gy=".data-api",_y=`show${ii}`,Ey=`shown${ii}`,yy=`hide${ii}`,vy=`hidden${ii}`,by=`click${ii}${gy}`,wa="show",Ss="collapse",wi="collapsing",Ay="collapsed",Ty=`:scope .${Ss} .${Ss}`,Cy="collapse-horizontal",Sy="width",wy="height",Oy=".collapse.show, .collapse.collapsing",ll='[data-bs-toggle="collapse"]',ky={parent:null,toggle:!0},Ny={parent:"(null|element)",toggle:"boolean"};class Ws extends Pt{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=Y.find(ll);for(const r of s){const i=Y.getSelectorFromElement(r),o=Y.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ky}static get DefaultType(){return Ny}static get NAME(){return py}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Oy).filter(a=>a!==this._element).map(a=>Ws.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||M.trigger(this._element,_y).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove(Ss),this._element.classList.add(wi),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Ss,wa),this._element.style[s]="",M.trigger(this._element,Ey)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,yy).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ti(this._element),this._element.classList.add(wi),this._element.classList.remove(Ss,wa);for(const r of this._triggerArray){const i=Y.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Ss),M.trigger(this._element,vy)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(wa)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=An(e.parent),e}_getDimension(){return this._element.classList.contains(Cy)?Sy:wy}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ll);for(const n of e){const s=Y.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=Y.find(Ty,this._config.parent);return Y.find(e,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const s of e)s.classList.toggle(Ay,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const s=Ws.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}M.on(document,by,ll,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Y.getMultipleElementsFromSelector(this))Ws.getOrCreateInstance(e,{toggle:!1}).toggle()});Ct(Ws);const Wc="dropdown",Py="bs.dropdown",as=`.${Py}`,mu=".data-api",Dy="Escape",qc="Tab",Iy="ArrowUp",Kc="ArrowDown",Ry=2,Ly=`hide${as}`,Fy=`hidden${as}`,My=`show${as}`,xy=`shown${as}`,Nh=`click${as}${mu}`,Ph=`keydown${as}${mu}`,By=`keyup${as}${mu}`,Ts="show",$y="dropup",Vy="dropend",jy="dropstart",Hy="dropup-center",Uy="dropdown-center",Hn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Wy=`${Hn}.${Ts}`,Yi=".dropdown-menu",qy=".navbar",Ky=".navbar-nav",zy=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Gy=bt()?"top-end":"top-start",Yy=bt()?"top-start":"top-end",Xy=bt()?"bottom-end":"bottom-start",Jy=bt()?"bottom-start":"bottom-end",Zy=bt()?"left-start":"right-start",Qy=bt()?"right-start":"left-start",ev="top",tv="bottom",nv={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},sv={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class yt extends Pt{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,Yi)[0]||Y.prev(this._element,Yi)[0]||Y.findOne(Yi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return nv}static get DefaultType(){return sv}static get NAME(){return Wc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Tn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!M.trigger(this._element,My,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Ky))for(const s of[].concat(...document.body.children))M.on(s,"mouseover",co);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ts),this._element.classList.add(Ts),M.trigger(this._element,xy,e)}}hide(){if(Tn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!M.trigger(this._element,Ly,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))M.off(s,"mouseover",co);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ts),this._element.classList.remove(Ts),this._element.setAttribute("aria-expanded","false"),Qt.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,Fy,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Zt(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof dh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Zt(this._config.reference)?e=An(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=du(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Ts)}_getPlacement(){const e=this._parent;if(e.classList.contains(Vy))return Zy;if(e.classList.contains(jy))return Qy;if(e.classList.contains(Hy))return ev;if(e.classList.contains(Uy))return tv;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains($y)?n?Yy:Gy:n?Jy:Xy}_detectNavbar(){return this._element.closest(qy)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...ze(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const s=Y.find(zy,this._menu).filter(r=>sr(r));s.length&&hu(s,n,e===Kc,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Ry||e.type==="keyup"&&e.key!==qc)return;const n=Y.find(Wy);for(const s of n){const r=yt.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(e.target)&&(e.type==="keyup"&&e.key===qc||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:r._element};e.type==="click"&&(a.clickEvent=e),r._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),s=e.key===Dy,r=[Iy,Kc].includes(e.key);if(!r&&!s||n&&!s)return;e.preventDefault();const i=this.matches(Hn)?this:Y.prev(this,Hn)[0]||Y.next(this,Hn)[0]||Y.findOne(Hn,e.delegateTarget.parentNode),o=yt.getOrCreateInstance(i);if(r){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}M.on(document,Ph,Hn,yt.dataApiKeydownHandler);M.on(document,Ph,Yi,yt.dataApiKeydownHandler);M.on(document,Nh,yt.clearMenus);M.on(document,By,yt.clearMenus);M.on(document,Nh,Hn,function(t){t.preventDefault(),yt.getOrCreateInstance(this).toggle()});Ct(yt);const Dh="backdrop",rv="fade",zc="show",Gc=`mousedown.bs.${Dh}`,iv={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ov={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ih extends ni{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return iv}static get DefaultType(){return ov}static get NAME(){return Dh}show(e){if(!this._config.isVisible){ze(e);return}this._append();const n=this._getElement();this._config.isAnimated&&ti(n),n.classList.add(zc),this._emulateAnimation(()=>{ze(e)})}hide(e){if(!this._config.isVisible){ze(e);return}this._getElement().classList.remove(zc),this._emulateAnimation(()=>{this.dispose(),ze(e)})}dispose(){this._isAppended&&(M.off(this._element,Gc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(rv),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=An(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),M.on(e,Gc,()=>{ze(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){_h(e,this._getElement(),this._config.isAnimated)}}const av="focustrap",lv="bs.focustrap",ho=`.${lv}`,uv=`focusin${ho}`,cv=`keydown.tab${ho}`,fv="Tab",dv="forward",Yc="backward",hv={autofocus:!0,trapElement:null},pv={autofocus:"boolean",trapElement:"element"};class Rh extends ni{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return hv}static get DefaultType(){return pv}static get NAME(){return av}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,ho),M.on(document,uv,e=>this._handleFocusin(e)),M.on(document,cv,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,ho))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=Y.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Yc?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===fv&&(this._lastTabNavDirection=e.shiftKey?Yc:dv)}}const Xc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Jc=".sticky-top",Oi="padding-right",Zc="margin-right";class ul{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Oi,n=>n+e),this._setElementAttributes(Xc,Oi,n=>n+e),this._setElementAttributes(Jc,Zc,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Oi),this._resetElementAttributes(Xc,Oi),this._resetElementAttributes(Jc,Zc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const s=e.style.getPropertyValue(n);s&&Qt.setDataAttribute(e,n,s)}_resetElementAttributes(e,n){const s=r=>{const i=Qt.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}Qt.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,n){if(Zt(e)){n(e);return}for(const s of Y.find(e,this._element))n(s)}}const mv="modal",gv="bs.modal",At=`.${gv}`,_v=".data-api",Ev="Escape",yv=`hide${At}`,vv=`hidePrevented${At}`,Lh=`hidden${At}`,Fh=`show${At}`,bv=`shown${At}`,Av=`resize${At}`,Tv=`click.dismiss${At}`,Cv=`mousedown.dismiss${At}`,Sv=`keydown.dismiss${At}`,wv=`click${At}${_v}`,Qc="modal-open",Ov="fade",ef="show",Oa="modal-static",kv=".modal.show",Nv=".modal-dialog",Pv=".modal-body",Dv='[data-bs-toggle="modal"]',Iv={backdrop:!0,focus:!0,keyboard:!0},Rv={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ts extends Pt{constructor(e,n){super(e,n),this._dialog=Y.findOne(Nv,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ul,this._addEventListeners()}static get Default(){return Iv}static get DefaultType(){return Rv}static get NAME(){return mv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||M.trigger(this._element,Fh,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||M.trigger(this._element,yv).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ef),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){M.off(window,At),M.off(this._dialog,At),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ih({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Y.findOne(Pv,this._dialog);n&&(n.scrollTop=0),ti(this._element),this._element.classList.add(ef);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,bv,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,Sv,e=>{if(e.key===Ev){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),M.on(window,Av,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,Cv,e=>{M.one(this._element,Tv,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Qc),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,Lh)})}_isAnimated(){return this._element.classList.contains(Ov)}_triggerBackdropTransition(){if(M.trigger(this._element,vv).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Oa)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!e){const r=bt()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&e){const r=bt()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const s=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](n)}})}}M.on(document,wv,Dv,function(t){const e=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),M.one(e,Fh,r=>{r.defaultPrevented||M.one(e,Lh,()=>{sr(this)&&this.focus()})});const n=Y.findOne(kv);n&&ts.getInstance(n).hide(),ts.getOrCreateInstance(e).toggle(this)});jo(ts);Ct(ts);const Lv="offcanvas",Fv="bs.offcanvas",an=`.${Fv}`,Mh=".data-api",Mv=`load${an}${Mh}`,xv="Escape",tf="show",nf="showing",sf="hiding",Bv="offcanvas-backdrop",xh=".offcanvas.show",$v=`show${an}`,Vv=`shown${an}`,jv=`hide${an}`,rf=`hidePrevented${an}`,Bh=`hidden${an}`,Hv=`resize${an}`,Uv=`click${an}${Mh}`,Wv=`keydown.dismiss${an}`,qv='[data-bs-toggle="offcanvas"]',Kv={backdrop:!0,keyboard:!0,scroll:!1},zv={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class rn extends Pt{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Kv}static get DefaultType(){return zv}static get NAME(){return Lv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||M.trigger(this._element,$v,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ul().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(nf);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(tf),this._element.classList.remove(nf),M.trigger(this._element,Vv,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||M.trigger(this._element,jv).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(sf),this._backdrop.hide();const n=()=>{this._element.classList.remove(tf,sf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ul().reset(),M.trigger(this._element,Bh)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){M.trigger(this._element,rf);return}this.hide()},n=!!this._config.backdrop;return new Ih({className:Bv,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_addEventListeners(){M.on(this._element,Wv,e=>{if(e.key===xv){if(this._config.keyboard){this.hide();return}M.trigger(this._element,rf)}})}static jQueryInterface(e){return this.each(function(){const n=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}M.on(document,Uv,qv,function(t){const e=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Tn(this))return;M.one(e,Bh,()=>{sr(this)&&this.focus()});const n=Y.findOne(xh);n&&n!==e&&rn.getInstance(n).hide(),rn.getOrCreateInstance(e).toggle(this)});M.on(window,Mv,()=>{for(const t of Y.find(xh))rn.getOrCreateInstance(t).show()});M.on(window,Hv,()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&rn.getOrCreateInstance(t).hide()});jo(rn);Ct(rn);const Gv=/^aria-[\w-]*$/i,$h={"*":["class","dir","id","lang","role",Gv],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Yv=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Jv=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?Yv.has(n)?!!Xv.test(t.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function Zv(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const r=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)Jv(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const Qv="TemplateFactory",eb={allowList:$h,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},tb={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},nb={entry:"(string|element|function|null)",selector:"(string|element)"};class sb extends ni{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return Qv}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);const n=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,s]of Object.entries(e))super._typeCheckConfig({selector:n,entry:s},nb)}_setContent(e,n,s){const r=Y.findOne(s,e);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Zt(n)){this._putElementInTemplate(An(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(e){return this._config.sanitize?Zv(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return ze(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const rb="tooltip",ib=new Set(["sanitize","allowList","sanitizeFn"]),ka="fade",ob="modal",ki="show",ab=".tooltip-inner",of=`.${ob}`,af="hide.bs.modal",gr="hover",Na="focus",lb="click",ub="manual",cb="hide",fb="hidden",db="show",hb="shown",pb="inserted",mb="click",gb="focusin",_b="focusout",Eb="mouseenter",yb="mouseleave",vb={AUTO:"auto",TOP:"top",RIGHT:bt()?"left":"right",BOTTOM:"bottom",LEFT:bt()?"right":"left"},bb={allowList:$h,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ab={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class In extends Pt{constructor(e,n){if(typeof dh>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return bb}static get DefaultType(){return Ab}static get NAME(){return rb}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(of),af,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=M.trigger(this._element,this.constructor.eventName(db)),s=(mh(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),M.trigger(this._element,this.constructor.eventName(pb))),this._popper=this._createPopper(r),r.classList.add(ki),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))M.on(a,"mouseover",co);const o=()=>{M.trigger(this._element,this.constructor.eventName(hb)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||M.trigger(this._element,this.constructor.eventName(cb)).defaultPrevented)return;if(this._getTipElement().classList.remove(ki),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))M.off(r,"mouseover",co);this._activeTrigger[lb]=!1,this._activeTrigger[Na]=!1,this._activeTrigger[gr]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.eventName(fb)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(ka,ki),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=lE(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(ka),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new sb({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ab]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ka)}_isShown(){return this.tip&&this.tip.classList.contains(ki)}_createPopper(e){const n=ze(this._config.placement,[this,e,this._element]),s=vb[n.toUpperCase()];return du(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return ze(e,[this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...ze(this._config.popperConfig,[n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")M.on(this._element,this.constructor.eventName(mb),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==ub){const s=n===gr?this.constructor.eventName(Eb):this.constructor.eventName(gb),r=n===gr?this.constructor.eventName(yb):this.constructor.eventName(_b);M.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Na:gr]=!0,o._enter()}),M.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Na:gr]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(of),af,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Qt.getDataAttributes(this._element);for(const s of Object.keys(n))ib.has(s)&&delete n[s];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:An(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(e[n]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=In.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Ct(In);const Tb="popover",Cb=".popover-header",Sb=".popover-body",wb={...In.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Ob={...In.DefaultType,content:"(null|string|element|function)"};class oi extends In{static get Default(){return wb}static get DefaultType(){return Ob}static get NAME(){return Tb}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Cb]:this._getTitle(),[Sb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=oi.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}Ct(oi);const kb="scrollspy",Nb="bs.scrollspy",gu=`.${Nb}`,Pb=".data-api",Db=`activate${gu}`,lf=`click${gu}`,Ib=`load${gu}${Pb}`,Rb="dropdown-item",_s="active",Lb='[data-bs-spy="scroll"]',Pa="[href]",Fb=".nav, .list-group",uf=".nav-link",Mb=".nav-item",xb=".list-group-item",Bb=`${uf}, ${Mb} > ${uf}, ${xb}`,$b=".dropdown",Vb=".dropdown-toggle",jb={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Hb={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ai extends Pt{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return jb}static get DefaultType(){return Hb}static get NAME(){return kb}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=An(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,lf),M.on(this._config.target,lf,Pa,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Y.find(Pa,this._config.target);for(const n of e){if(!n.hash||Tn(n))continue;const s=Y.findOne(decodeURI(n.hash),this._element);sr(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(_s),this._activateParents(e),M.trigger(this._element,Db,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Rb)){Y.findOne(Vb,e.closest($b)).classList.add(_s);return}for(const n of Y.parents(e,Fb))for(const s of Y.prev(n,Bb))s.classList.add(_s)}_clearActiveClass(e){e.classList.remove(_s);const n=Y.find(`${Pa}.${_s}`,e);for(const s of n)s.classList.remove(_s)}static jQueryInterface(e){return this.each(function(){const n=ai.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(window,Ib,()=>{for(const t of Y.find(Lb))ai.getOrCreateInstance(t)});Ct(ai);const Ub="tab",Wb="bs.tab",ls=`.${Wb}`,qb=`hide${ls}`,Kb=`hidden${ls}`,zb=`show${ls}`,Gb=`shown${ls}`,Yb=`click${ls}`,Xb=`keydown${ls}`,Jb=`load${ls}`,Zb="ArrowLeft",cf="ArrowRight",Qb="ArrowUp",ff="ArrowDown",Da="Home",df="End",Un="active",hf="fade",Ia="show",e0="dropdown",t0=".dropdown-toggle",n0=".dropdown-menu",Ra=":not(.dropdown-toggle)",s0='.list-group, .nav, [role="tablist"]',r0=".nav-item, .list-group-item",i0=`.nav-link${Ra}, .list-group-item${Ra}, [role="tab"]${Ra}`,Vh='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',La=`${i0}, ${Vh}`,o0=`.${Un}[data-bs-toggle="tab"], .${Un}[data-bs-toggle="pill"], .${Un}[data-bs-toggle="list"]`;class Cn extends Pt{constructor(e){super(e),this._parent=this._element.closest(s0),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Xb,n=>this._keydown(n)))}static get NAME(){return Ub}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),s=n?M.trigger(n,qb,{relatedTarget:e}):null;M.trigger(e,zb,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Un),this._activate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ia);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),M.trigger(e,Gb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_deactivate(e,n){if(!e)return;e.classList.remove(Un),e.blur(),this._deactivate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ia);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),M.trigger(e,Kb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_keydown(e){if(![Zb,cf,Qb,ff,Da,df].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(r=>!Tn(r));let s;if([Da,df].includes(e.key))s=n[e.key===Da?0:n.length-1];else{const r=[cf,ff].includes(e.key);s=hu(n,e.target,r,!0)}s&&(s.focus({preventScroll:!0}),Cn.getOrCreateInstance(s).show())}_getChildren(){return Y.find(La,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",n),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=Y.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(e0))return;const r=(i,o)=>{const a=Y.findOne(i,s);a&&a.classList.toggle(o,n)};r(t0,Un),r(n0,Ia),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,s){e.hasAttribute(n)||e.setAttribute(n,s)}_elemIsActive(e){return e.classList.contains(Un)}_getInnerElement(e){return e.matches(La)?e:Y.findOne(La,e)}_getOuterElement(e){return e.closest(r0)||e}static jQueryInterface(e){return this.each(function(){const n=Cn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,Yb,Vh,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Tn(this)&&Cn.getOrCreateInstance(this).show()});M.on(window,Jb,()=>{for(const t of Y.find(o0))Cn.getOrCreateInstance(t)});Ct(Cn);const a0="toast",l0="bs.toast",Rn=`.${l0}`,u0=`mouseover${Rn}`,c0=`mouseout${Rn}`,f0=`focusin${Rn}`,d0=`focusout${Rn}`,h0=`hide${Rn}`,p0=`hidden${Rn}`,m0=`show${Rn}`,g0=`shown${Rn}`,_0="fade",pf="hide",Ni="show",Pi="showing",E0={animation:"boolean",autohide:"boolean",delay:"number"},y0={animation:!0,autohide:!0,delay:5e3};class or extends Pt{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y0}static get DefaultType(){return E0}static get NAME(){return a0}show(){if(M.trigger(this._element,m0).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_0);const n=()=>{this._element.classList.remove(Pi),M.trigger(this._element,g0),this._maybeScheduleHide()};this._element.classList.remove(pf),ti(this._element),this._element.classList.add(Ni,Pi),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||M.trigger(this._element,h0).defaultPrevented)return;const n=()=>{this._element.classList.add(pf),this._element.classList.remove(Pi,Ni),M.trigger(this._element,p0)};this._element.classList.add(Pi),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ni),super.dispose()}isShown(){return this._element.classList.contains(Ni)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,u0,e=>this._onInteraction(e,!0)),M.on(this._element,c0,e=>this._onInteraction(e,!1)),M.on(this._element,f0,e=>this._onInteraction(e,!0)),M.on(this._element,d0,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=or.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}jo(or);Ct(or);const v0=Object.freeze(Object.defineProperty({__proto__:null,Alert:si,Button:ri,Carousel:ir,Collapse:Ws,Dropdown:yt,Modal:ts,Offcanvas:rn,Popover:oi,ScrollSpy:ai,Tab:Cn,Toast:or,Tooltip:In},Symbol.toStringTag,{value:"Module"}));let b0=[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));b0.map(function(t){let e={boundary:t.getAttribute("data-bs-boundary")==="viewport"?document.querySelector(".btn"):"clippingParents"};return new yt(t,e)});let A0=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));A0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new In(t,e)});let T0=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));T0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new oi(t,e)});let C0=[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]'));C0.map(function(t){t.addEventListener("click",e=>{e.stopPropagation(),t.classList.toggle("active")})});const S0=()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(s=>s.hash===t).map(s=>{new Cn(s).show()})};S0();let w0=[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]'));w0.map(function(t){return new or(t)});const jh="tblr-",Hh=(t,e)=>{const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?`rgba(${parseInt(n[1],16)}, ${parseInt(n[2],16)}, ${parseInt(n[3],16)}, ${e})`:null},O0=(t,e=1)=>{const n=getComputedStyle(document.body).getPropertyValue(`--${jh}${t}`).trim();return e!==1?Hh(n,e):n},k0=Object.freeze(Object.defineProperty({__proto__:null,getColor:O0,hexToRgba:Hh,prefix:jh},Symbol.toStringTag,{value:"Module"}));globalThis.bootstrap=v0;globalThis.tabler=k0;function Uh(t,e){return function(){return t.apply(e,arguments)}}const{toString:N0}=Object.prototype,{getPrototypeOf:_u}=Object,Ho=(t=>e=>{const n=N0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qt=t=>(t=t.toLowerCase(),e=>Ho(e)===t),Uo=t=>e=>typeof e===t,{isArray:ar}=Array,Br=Uo("undefined");function P0(t){return t!==null&&!Br(t)&&t.constructor!==null&&!Br(t.constructor)&&vt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wh=qt("ArrayBuffer");function D0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Wh(t.buffer),e}const I0=Uo("string"),vt=Uo("function"),qh=Uo("number"),Wo=t=>t!==null&&typeof t=="object",R0=t=>t===!0||t===!1,Xi=t=>{if(Ho(t)!=="object")return!1;const e=_u(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},L0=qt("Date"),F0=qt("File"),M0=qt("Blob"),x0=qt("FileList"),B0=t=>Wo(t)&&vt(t.pipe),$0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||vt(t.append)&&((e=Ho(t))==="formdata"||e==="object"&&vt(t.toString)&&t.toString()==="[object FormData]"))},V0=qt("URLSearchParams"),j0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function li(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,r;if(typeof t!="object"&&(t=[t]),ar(t))for(s=0,r=t.length;s0;)if(r=n[s],e===r.toLowerCase())return r;return null}const zh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Gh=t=>!Br(t)&&t!==zh;function cl(){const{caseless:t}=Gh(this)&&this||{},e={},n=(s,r)=>{const i=t&&Kh(e,r)||r;Xi(e[i])&&Xi(s)?e[i]=cl(e[i],s):Xi(s)?e[i]=cl({},s):ar(s)?e[i]=s.slice():e[i]=s};for(let s=0,r=arguments.length;s(li(e,(r,i)=>{n&&vt(r)?t[i]=Uh(r,n):t[i]=r},{allOwnKeys:s}),t),U0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),W0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},q0=(t,e,n,s)=>{let r,i,o;const a={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),i=r.length;i-- >0;)o=r[i],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&_u(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},K0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},z0=t=>{if(!t)return null;if(ar(t))return t;let e=t.length;if(!qh(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_u(Uint8Array)),Y0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=s.next())&&!r.done;){const i=r.value;e.call(t,i[0],i[1])}},X0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},J0=qt("HTMLFormElement"),Z0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),mf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Q0=qt("RegExp"),Yh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};li(n,(r,i)=>{let o;(o=e(r,i,t))!==!1&&(s[i]=o||r)}),Object.defineProperties(t,s)},eA=t=>{Yh(t,(e,n)=>{if(vt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(vt(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},tA=(t,e)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return ar(t)?s(t):s(String(t).split(e)),n},nA=()=>{},sA=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fa="abcdefghijklmnopqrstuvwxyz",gf="0123456789",Xh={DIGIT:gf,ALPHA:Fa,ALPHA_DIGIT:Fa+Fa.toUpperCase()+gf},rA=(t=16,e=Xh.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function iA(t){return!!(t&&vt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const oA=t=>{const e=new Array(10),n=(s,r)=>{if(Wo(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[r]=s;const i=ar(s)?[]:{};return li(s,(o,a)=>{const l=n(o,r+1);!Br(l)&&(i[a]=l)}),e[r]=void 0,i}}return s};return n(t,0)},aA=qt("AsyncFunction"),lA=t=>t&&(Wo(t)||vt(t))&&vt(t.then)&&vt(t.catch),I={isArray:ar,isArrayBuffer:Wh,isBuffer:P0,isFormData:$0,isArrayBufferView:D0,isString:I0,isNumber:qh,isBoolean:R0,isObject:Wo,isPlainObject:Xi,isUndefined:Br,isDate:L0,isFile:F0,isBlob:M0,isRegExp:Q0,isFunction:vt,isStream:B0,isURLSearchParams:V0,isTypedArray:G0,isFileList:x0,forEach:li,merge:cl,extend:H0,trim:j0,stripBOM:U0,inherits:W0,toFlatObject:q0,kindOf:Ho,kindOfTest:qt,endsWith:K0,toArray:z0,forEachEntry:Y0,matchAll:X0,isHTMLForm:J0,hasOwnProperty:mf,hasOwnProp:mf,reduceDescriptors:Yh,freezeMethods:eA,toObjectSet:tA,toCamelCase:Z0,noop:nA,toFiniteNumber:sA,findKey:Kh,global:zh,isContextDefined:Gh,ALPHABET:Xh,generateString:rA,isSpecCompliantForm:iA,toJSONObject:oA,isAsyncFn:aA,isThenable:lA};function le(t,e,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}I.inherits(le,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Jh=le.prototype,Zh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Zh[t]={value:t}});Object.defineProperties(le,Zh);Object.defineProperty(Jh,"isAxiosError",{value:!0});le.from=(t,e,n,s,r,i)=>{const o=Object.create(Jh);return I.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),le.call(o,t.message,e,n,s,r),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};const uA=null;function fl(t){return I.isPlainObject(t)||I.isArray(t)}function Qh(t){return I.endsWith(t,"[]")?t.slice(0,-2):t}function _f(t,e,n){return t?t.concat(e).map(function(r,i){return r=Qh(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function cA(t){return I.isArray(t)&&!t.some(fl)}const fA=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function qo(t,e,n){if(!I.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,y){return!I.isUndefined(y[d])});const s=n.metaTokens,r=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(e);if(!I.isFunction(r))throw new TypeError("visitor must be a function");function u(E){if(E===null)return"";if(I.isDate(E))return E.toISOString();if(!l&&I.isBlob(E))throw new le("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(E)||I.isTypedArray(E)?l&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function c(E,d,y){let _=E;if(E&&!y&&typeof E=="object"){if(I.endsWith(d,"{}"))d=s?d:d.slice(0,-2),E=JSON.stringify(E);else if(I.isArray(E)&&cA(E)||(I.isFileList(E)||I.endsWith(d,"[]"))&&(_=I.toArray(E)))return d=Qh(d),_.forEach(function(b,g){!(I.isUndefined(b)||b===null)&&e.append(o===!0?_f([d],g,i):o===null?d:d+"[]",u(b))}),!1}return fl(E)?!0:(e.append(_f(y,d,i),u(E)),!1)}const f=[],m=Object.assign(fA,{defaultVisitor:c,convertValue:u,isVisitable:fl});function p(E,d){if(!I.isUndefined(E)){if(f.indexOf(E)!==-1)throw Error("Circular reference detected in "+d.join("."));f.push(E),I.forEach(E,function(_,h){(!(I.isUndefined(_)||_===null)&&r.call(e,_,I.isString(h)?h.trim():h,d,m))===!0&&p(_,d?d.concat(h):[h])}),f.pop()}}if(!I.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Ef(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Eu(t,e){this._pairs=[],t&&qo(t,this,e)}const ep=Eu.prototype;ep.append=function(e,n){this._pairs.push([e,n])};ep.toString=function(e){const n=e?function(s){return e.call(this,s,Ef)}:Ef;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function dA(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tp(t,e,n){if(!e)return t;const s=n&&n.encode||dA,r=n&&n.serialize;let i;if(r?i=r(e,n):i=I.isURLSearchParams(e)?e.toString():new Eu(e,n).toString(s),i){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class hA{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,function(s){s!==null&&e(s)})}}const yf=hA,np={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pA=typeof URLSearchParams<"u"?URLSearchParams:Eu,mA=typeof FormData<"u"?FormData:null,gA=typeof Blob<"u"?Blob:null,_A={isBrowser:!0,classes:{URLSearchParams:pA,FormData:mA,Blob:gA},protocols:["http","https","file","blob","url","data"]},sp=typeof window<"u"&&typeof document<"u",EA=(t=>sp&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),yA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),vA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sp,hasStandardBrowserEnv:EA,hasStandardBrowserWebWorkerEnv:yA},Symbol.toStringTag,{value:"Module"})),$t={...vA,..._A};function bA(t,e){return qo(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return $t.isNode&&I.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function AA(t){return I.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function TA(t){const e={},n=Object.keys(t);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&I.isArray(r)?r.length:o,l?(I.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!I.isObject(r[o]))&&(r[o]=[]),e(n,s,r[o],i)&&I.isArray(r[o])&&(r[o]=TA(r[o])),!a)}if(I.isFormData(t)&&I.isFunction(t.entries)){const n={};return I.forEachEntry(t,(s,r)=>{e(AA(s),r,n,0)}),n}return null}function CA(t,e,n){if(I.isString(t))try{return(e||JSON.parse)(t),I.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const yu={transitional:np,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=I.isObject(e);if(i&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r&&r?JSON.stringify(rp(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return bA(e,this.formSerializer).toString();if((a=I.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return qo(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),CA(e)):e}],transformResponse:[function(e){const n=this.transitional||yu.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(e&&I.isString(e)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],t=>{yu.headers[t]={}});const vu=yu,SA=I.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wA=t=>{const e={};let n,s,r;return t&&t.split(` -`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||e[n]&&SA[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},vf=Symbol("internals");function _r(t){return t&&String(t).trim().toLowerCase()}function Ji(t){return t===!1||t==null?t:I.isArray(t)?t.map(Ji):String(t)}function OA(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const kA=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ma(t,e,n,s,r){if(I.isFunction(s))return s.call(this,e,n);if(r&&(e=n),!!I.isString(e)){if(I.isString(s))return e.indexOf(s)!==-1;if(I.isRegExp(s))return s.test(e)}}function NA(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function PA(t,e){const n=I.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(r,i,o){return this[s].call(this,e,r,i,o)},configurable:!0})})}class Ko{constructor(e){e&&this.set(e)}set(e,n,s){const r=this;function i(a,l,u){const c=_r(l);if(!c)throw new Error("header name must be a non-empty string");const f=I.findKey(r,c);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||l]=Ji(a))}const o=(a,l)=>I.forEach(a,(u,c)=>i(u,c,l));return I.isPlainObject(e)||e instanceof this.constructor?o(e,n):I.isString(e)&&(e=e.trim())&&!kA(e)?o(wA(e),n):e!=null&&i(n,e,s),this}get(e,n){if(e=_r(e),e){const s=I.findKey(this,e);if(s){const r=this[s];if(!n)return r;if(n===!0)return OA(r);if(I.isFunction(n))return n.call(this,r,s);if(I.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=_r(e),e){const s=I.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ma(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let r=!1;function i(o){if(o=_r(o),o){const a=I.findKey(s,o);a&&(!n||Ma(s,s[a],a,n))&&(delete s[a],r=!0)}}return I.isArray(e)?e.forEach(i):i(e),r}clear(e){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!e||Ma(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){const n=this,s={};return I.forEach(this,(r,i)=>{const o=I.findKey(s,i);if(o){n[o]=Ji(r),delete n[i];return}const a=e?NA(i):String(i).trim();a!==i&&delete n[i],n[a]=Ji(r),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return I.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=e&&I.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(r=>s.set(r)),s}static accessor(e){const s=(this[vf]=this[vf]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=_r(o);s[a]||(PA(r,o),s[a]=!0)}return I.isArray(e)?e.forEach(i):i(e),this}}Ko.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Ko.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});I.freezeMethods(Ko);const en=Ko;function xa(t,e){const n=this||vu,s=e||n,r=en.from(s.headers);let i=s.data;return I.forEach(t,function(a){i=a.call(n,i,r.normalize(),e?e.status:void 0)}),r.normalize(),i}function ip(t){return!!(t&&t.__CANCEL__)}function ui(t,e,n){le.call(this,t??"canceled",le.ERR_CANCELED,e,n),this.name="CanceledError"}I.inherits(ui,le,{__CANCEL__:!0});function DA(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new le("Request failed with status code "+n.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const IA=$t.hasStandardBrowserEnv?{write(t,e,n,s,r,i){const o=[t+"="+encodeURIComponent(e)];I.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),I.isString(s)&&o.push("path="+s),I.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function RA(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function LA(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function op(t,e){return t&&!RA(e)?LA(t,e):e}const FA=$t.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=I.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function MA(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function xA(t,e){t=t||10;const n=new Array(t),s=new Array(t);let r=0,i=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let f=i,m=0;for(;f!==r;)m+=n[f++],f=f%t;if(r=(r+1)%t,r===i&&(i=(i+1)%t),u-o{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,l=s(a),u=i<=o;n=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-i)/l:void 0,event:r};c[e?"download":"upload"]=!0,t(c)}}const BA=typeof XMLHttpRequest<"u",$A=BA&&function(t){return new Promise(function(n,s){let r=t.data;const i=en.from(t.headers).normalize();let{responseType:o,withXSRFToken:a}=t,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let c;if(I.isFormData(r)){if($t.hasStandardBrowserEnv||$t.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((c=i.getContentType())!==!1){const[d,...y]=c?c.split(";").map(_=>_.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...y].join("; "))}}let f=new XMLHttpRequest;if(t.auth){const d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(d+":"+y))}const m=op(t.baseURL,t.url);f.open(t.method.toUpperCase(),tp(m,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function p(){if(!f)return;const d=en.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),_={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:d,config:t,request:f};DA(function(b){n(b),u()},function(b){s(b),u()},_),f=null}if("onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(p)},f.onabort=function(){f&&(s(new le("Request aborted",le.ECONNABORTED,t,f)),f=null)},f.onerror=function(){s(new le("Network Error",le.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||np;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),s(new le(y,_.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,t,f)),f=null},$t.hasStandardBrowserEnv&&(a&&I.isFunction(a)&&(a=a(t)),a||a!==!1&&FA(m))){const d=t.xsrfHeaderName&&t.xsrfCookieName&&IA.read(t.xsrfCookieName);d&&i.set(t.xsrfHeaderName,d)}r===void 0&&i.setContentType(null),"setRequestHeader"in f&&I.forEach(i.toJSON(),function(y,_){f.setRequestHeader(_,y)}),I.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",bf(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",bf(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=d=>{f&&(s(!d||d.type?new ui(null,t,f):d),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const E=MA(m);if(E&&$t.protocols.indexOf(E)===-1){s(new le("Unsupported protocol "+E+":",le.ERR_BAD_REQUEST,t));return}f.send(r||null)})},dl={http:uA,xhr:$A};I.forEach(dl,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Af=t=>`- ${t}`,VA=t=>I.isFunction(t)||t===null||t===!1,ap={getAdapter:t=>{t=I.isArray(t)?t:[t];const{length:e}=t;let n,s;const r={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?i.length>1?`since : + */const cn=new Map,va={set(t,e,n){cn.has(t)||cn.set(t,new Map);const s=cn.get(t);if(!s.has(e)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(e,n)},get(t,e){return cn.has(t)&&cn.get(t).get(e)||null},remove(t,e){if(!cn.has(t))return;const n=cn.get(t);n.delete(e),n.size===0&&cn.delete(t)}},iE=1e6,oE=1e3,ol="transitionend",hh=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,n)=>`#${CSS.escape(n)}`)),t),aE=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),lE=t=>{do t+=Math.floor(Math.random()*iE);while(document.getElementById(t));return t},uE=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e),r=Number.parseFloat(n);return!s&&!r?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*oE)},ph=t=>{t.dispatchEvent(new Event(ol))},Zt=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),An=t=>Zt(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(hh(t)):null,sr=t=>{if(!Zt(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const s=t.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return e},Tn=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",mh=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?mh(t.parentNode):null},co=()=>{},ni=t=>{t.offsetHeight},gh=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,ba=[],cE=t=>{document.readyState==="loading"?(ba.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of ba)e()}),ba.push(t)):t()},bt=()=>document.documentElement.dir==="rtl",St=t=>{cE(()=>{const e=gh();if(e){const n=t.NAME,s=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=s,t.jQueryInterface)}})},ze=(t,e=[],n=t)=>typeof t=="function"?t(...e):n,_h=(t,e,n=!0)=>{if(!n){ze(t);return}const s=5,r=uE(e)+s;let i=!1;const o=({target:a})=>{a===e&&(i=!0,e.removeEventListener(ol,o),ze(t))};e.addEventListener(ol,o),setTimeout(()=>{i||ph(e)},r)},hu=(t,e,n,s)=>{const r=t.length;let i=t.indexOf(e);return i===-1?!n&&s?t[r-1]:t[0]:(i+=n?1:-1,s&&(i=(i+r)%r),t[Math.max(0,Math.min(i,r-1))])},fE=/[^.]*(?=\..*)\.|.*/,dE=/\..*/,hE=/::\d+$/,Aa={};let Vc=1;const Eh={mouseenter:"mouseover",mouseleave:"mouseout"},pE=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function yh(t,e){return e&&`${e}::${Vc++}`||t.uidEvent||Vc++}function vh(t){const e=yh(t);return t.uidEvent=e,Aa[e]=Aa[e]||{},Aa[e]}function mE(t,e){return function n(s){return pu(s,{delegateTarget:t}),n.oneOff&&M.off(t,s.type,e),e.apply(t,[s])}}function gE(t,e,n){return function s(r){const i=t.querySelectorAll(e);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return pu(r,{delegateTarget:o}),s.oneOff&&M.off(t,r.type,e,n),n.apply(o,[r])}}function bh(t,e,n=null){return Object.values(t).find(s=>s.callable===e&&s.delegationSelector===n)}function Ah(t,e,n){const s=typeof e=="string",r=s?n:e||n;let i=Th(t);return pE.has(i)||(i=t),[s,r,i]}function jc(t,e,n,s,r){if(typeof e!="string"||!t)return;let[i,o,a]=Ah(e,n,s);e in Eh&&(o=(E=>function(d){if(!d.relatedTarget||d.relatedTarget!==d.delegateTarget&&!d.delegateTarget.contains(d.relatedTarget))return E.call(this,d)})(o));const l=vh(t),u=l[a]||(l[a]={}),c=bh(u,o,i?n:null);if(c){c.oneOff=c.oneOff&&r;return}const f=yh(o,e.replace(fE,"")),m=i?gE(t,n,o):mE(t,o);m.delegationSelector=i?n:null,m.callable=o,m.oneOff=r,m.uidEvent=f,u[f]=m,t.addEventListener(a,m,i)}function al(t,e,n,s,r){const i=bh(e[n],s,r);i&&(t.removeEventListener(n,i,!!r),delete e[n][i.uidEvent])}function _E(t,e,n,s){const r=e[n]||{};for(const[i,o]of Object.entries(r))i.includes(s)&&al(t,e,n,o.callable,o.delegationSelector)}function Th(t){return t=t.replace(dE,""),Eh[t]||t}const M={on(t,e,n,s){jc(t,e,n,s,!1)},one(t,e,n,s){jc(t,e,n,s,!0)},off(t,e,n,s){if(typeof e!="string"||!t)return;const[r,i,o]=Ah(e,n,s),a=o!==e,l=vh(t),u=l[o]||{},c=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(u).length)return;al(t,l,o,i,r?n:null);return}if(c)for(const f of Object.keys(l))_E(t,l,f,e.slice(1));for(const[f,m]of Object.entries(u)){const p=f.replace(hE,"");(!a||e.includes(p))&&al(t,l,o,m.callable,m.delegationSelector)}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const s=gh(),r=Th(e),i=e!==r;let o=null,a=!0,l=!0,u=!1;i&&s&&(o=s.Event(e,n),s(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),u=o.isDefaultPrevented());const c=pu(new Event(e,{bubbles:a,cancelable:!0}),n);return u&&c.preventDefault(),l&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function pu(t,e={}){for(const[n,s]of Object.entries(e))try{t[n]=s}catch{Object.defineProperty(t,n,{configurable:!0,get(){return s}})}return t}function Hc(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Ta(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Qt={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Ta(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Ta(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of n){let r=s.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=Hc(t.dataset[s])}return e},getDataAttribute(t,e){return Hc(t.getAttribute(`data-bs-${Ta(e)}`))}};class si{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const s=Zt(n)?Qt.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...Zt(n)?Qt.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[s,r]of Object.entries(n)){const i=e[s],o=Zt(i)?"element":aE(i);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${r}".`)}}}const EE="5.3.1";class Pt extends si{constructor(e,n){super(),e=An(e),e&&(this._element=e,this._config=this._getConfig(n),va.set(this._element,this.constructor.DATA_KEY,this))}dispose(){va.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,s=!0){_h(e,n,s)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return va.get(An(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return EE}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Sa=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return hh(e)},Y={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let s=t.parentNode.closest(e);for(;s;)n.push(s),s=s.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!Tn(n)&&sr(n))},getSelectorFromElement(t){const e=Sa(t);return e&&Y.findOne(e)?e:null},getElementFromSelector(t){const e=Sa(t);return e?Y.findOne(e):null},getMultipleElementsFromSelector(t){const e=Sa(t);return e?Y.find(e):[]}},jo=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,s=t.NAME;M.on(document,n,`[data-bs-dismiss="${s}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Tn(this))return;const i=Y.getElementFromSelector(this)||this.closest(`.${s}`);t.getOrCreateInstance(i)[e]()})},yE="alert",vE="bs.alert",Sh=`.${vE}`,bE=`close${Sh}`,AE=`closed${Sh}`,TE="fade",SE="show";class ri extends Pt{static get NAME(){return yE}close(){if(M.trigger(this._element,bE).defaultPrevented)return;this._element.classList.remove(SE);const n=this._element.classList.contains(TE);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),M.trigger(this._element,AE),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=ri.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}jo(ri,"close");St(ri);const CE="button",wE="bs.button",OE=`.${wE}`,kE=".data-api",NE="active",Uc='[data-bs-toggle="button"]',PE=`click${OE}${kE}`;class ii extends Pt{static get NAME(){return CE}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(NE))}static jQueryInterface(e){return this.each(function(){const n=ii.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}M.on(document,PE,Uc,t=>{t.preventDefault();const e=t.target.closest(Uc);ii.getOrCreateInstance(e).toggle()});St(ii);const DE="swipe",rr=".bs.swipe",IE=`touchstart${rr}`,RE=`touchmove${rr}`,LE=`touchend${rr}`,FE=`pointerdown${rr}`,ME=`pointerup${rr}`,xE="touch",BE="pen",$E="pointer-event",VE=40,jE={endCallback:null,leftCallback:null,rightCallback:null},HE={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class fo extends si{constructor(e,n){super(),this._element=e,!(!e||!fo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return jE}static get DefaultType(){return HE}static get NAME(){return DE}dispose(){M.off(this._element,rr)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),ze(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=VE)return;const n=e/this._deltaX;this._deltaX=0,n&&ze(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,FE,e=>this._start(e)),M.on(this._element,ME,e=>this._end(e)),this._element.classList.add($E)):(M.on(this._element,IE,e=>this._start(e)),M.on(this._element,RE,e=>this._move(e)),M.on(this._element,LE,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===BE||e.pointerType===xE)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const UE="carousel",WE="bs.carousel",Dn=`.${WE}`,Ch=".data-api",qE="ArrowLeft",KE="ArrowRight",zE=500,gr="next",gs="prev",As="left",Gi="right",GE=`slide${Dn}`,Ca=`slid${Dn}`,YE=`keydown${Dn}`,XE=`mouseenter${Dn}`,JE=`mouseleave${Dn}`,ZE=`dragstart${Dn}`,QE=`load${Dn}${Ch}`,ey=`click${Dn}${Ch}`,wh="carousel",Ci="active",ty="slide",ny="carousel-item-end",sy="carousel-item-start",ry="carousel-item-next",iy="carousel-item-prev",Oh=".active",kh=".carousel-item",oy=Oh+kh,ay=".carousel-item img",ly=".carousel-indicators",uy="[data-bs-slide], [data-bs-slide-to]",cy='[data-bs-ride="carousel"]',fy={[qE]:Gi,[KE]:As},dy={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},hy={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ir extends Pt{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(ly,this._element),this._addEventListeners(),this._config.ride===wh&&this.cycle()}static get Default(){return dy}static get DefaultType(){return hy}static get NAME(){return UE}next(){this._slide(gr)}nextWhenVisible(){!document.hidden&&sr(this._element)&&this.next()}prev(){this._slide(gs)}pause(){this._isSliding&&ph(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){M.one(this._element,Ca,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){M.one(this._element,Ca,()=>this.to(e));return}const s=this._getItemIndex(this._getActive());if(s===e)return;const r=e>s?gr:gs;this._slide(r,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&M.on(this._element,YE,e=>this._keydown(e)),this._config.pause==="hover"&&(M.on(this._element,XE,()=>this.pause()),M.on(this._element,JE,()=>this._maybeEnableCycle())),this._config.touch&&fo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of Y.find(ay,this._element))M.on(s,ZE,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(As)),rightCallback:()=>this._slide(this._directionToOrder(Gi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),zE+this._config.interval))}};this._swipeHelper=new fo(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=fy[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=Y.findOne(Oh,this._indicatorsElement);n.classList.remove(Ci),n.removeAttribute("aria-current");const s=Y.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);s&&(s.classList.add(Ci),s.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const s=this._getActive(),r=e===gr,i=n||hu(this._getItems(),s,r,this._config.wrap);if(i===s)return;const o=this._getItemIndex(i),a=p=>M.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(s),to:o});if(a(GE).defaultPrevented||!s||!i)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?sy:ny,f=r?ry:iy;i.classList.add(f),ni(i),s.classList.add(c),i.classList.add(c);const m=()=>{i.classList.remove(c,f),i.classList.add(Ci),s.classList.remove(Ci,f,c),this._isSliding=!1,a(Ca)};this._queueCallback(m,s,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ty)}_getActive(){return Y.findOne(oy,this._element)}_getItems(){return Y.find(kh,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return bt()?e===As?gs:gr:e===As?gr:gs}_orderToDirection(e){return bt()?e===gs?As:Gi:e===gs?Gi:As}static jQueryInterface(e){return this.each(function(){const n=ir.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,ey,uy,function(t){const e=Y.getElementFromSelector(this);if(!e||!e.classList.contains(wh))return;t.preventDefault();const n=ir.getOrCreateInstance(e),s=this.getAttribute("data-bs-slide-to");if(s){n.to(s),n._maybeEnableCycle();return}if(Qt.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});M.on(window,QE,()=>{const t=Y.find(cy);for(const e of t)ir.getOrCreateInstance(e)});St(ir);const py="collapse",my="bs.collapse",oi=`.${my}`,gy=".data-api",_y=`show${oi}`,Ey=`shown${oi}`,yy=`hide${oi}`,vy=`hidden${oi}`,by=`click${oi}${gy}`,wa="show",Cs="collapse",wi="collapsing",Ay="collapsed",Ty=`:scope .${Cs} .${Cs}`,Sy="collapse-horizontal",Cy="width",wy="height",Oy=".collapse.show, .collapse.collapsing",ll='[data-bs-toggle="collapse"]',ky={parent:null,toggle:!0},Ny={parent:"(null|element)",toggle:"boolean"};class Ws extends Pt{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=Y.find(ll);for(const r of s){const i=Y.getSelectorFromElement(r),o=Y.find(i).filter(a=>a===this._element);i!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ky}static get DefaultType(){return Ny}static get NAME(){return py}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Oy).filter(a=>a!==this._element).map(a=>Ws.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||M.trigger(this._element,_y).defaultPrevented)return;for(const a of e)a.hide();const s=this._getDimension();this._element.classList.remove(Cs),this._element.classList.add(wi),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Cs,wa),this._element.style[s]="",M.trigger(this._element,Ey)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,yy).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,ni(this._element),this._element.classList.add(wi),this._element.classList.remove(Cs,wa);for(const r of this._triggerArray){const i=Y.getElementFromSelector(r);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(wi),this._element.classList.add(Cs),M.trigger(this._element,vy)};this._element.style[n]="",this._queueCallback(s,this._element,!0)}_isShown(e=this._element){return e.classList.contains(wa)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=An(e.parent),e}_getDimension(){return this._element.classList.contains(Sy)?Cy:wy}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ll);for(const n of e){const s=Y.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=Y.find(Ty,this._config.parent);return Y.find(e,this._config.parent).filter(s=>!n.includes(s))}_addAriaAndCollapsedClass(e,n){if(e.length)for(const s of e)s.classList.toggle(Ay,!n),s.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const s=Ws.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e]()}})}}M.on(document,by,ll,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();for(const e of Y.getMultipleElementsFromSelector(this))Ws.getOrCreateInstance(e,{toggle:!1}).toggle()});St(Ws);const Wc="dropdown",Py="bs.dropdown",as=`.${Py}`,mu=".data-api",Dy="Escape",qc="Tab",Iy="ArrowUp",Kc="ArrowDown",Ry=2,Ly=`hide${as}`,Fy=`hidden${as}`,My=`show${as}`,xy=`shown${as}`,Nh=`click${as}${mu}`,Ph=`keydown${as}${mu}`,By=`keyup${as}${mu}`,Ts="show",$y="dropup",Vy="dropend",jy="dropstart",Hy="dropup-center",Uy="dropdown-center",Hn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Wy=`${Hn}.${Ts}`,Yi=".dropdown-menu",qy=".navbar",Ky=".navbar-nav",zy=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Gy=bt()?"top-end":"top-start",Yy=bt()?"top-start":"top-end",Xy=bt()?"bottom-end":"bottom-start",Jy=bt()?"bottom-start":"bottom-end",Zy=bt()?"left-start":"right-start",Qy=bt()?"right-start":"left-start",ev="top",tv="bottom",nv={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},sv={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class yt extends Pt{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,Yi)[0]||Y.prev(this._element,Yi)[0]||Y.findOne(Yi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return nv}static get DefaultType(){return sv}static get NAME(){return Wc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Tn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!M.trigger(this._element,My,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Ky))for(const s of[].concat(...document.body.children))M.on(s,"mouseover",co);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ts),this._element.classList.add(Ts),M.trigger(this._element,xy,e)}}hide(){if(Tn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!M.trigger(this._element,Ly,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))M.off(s,"mouseover",co);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ts),this._element.classList.remove(Ts),this._element.setAttribute("aria-expanded","false"),Qt.removeDataAttribute(this._menu,"popper"),M.trigger(this._element,Fy,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Zt(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof dh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Zt(this._config.reference)?e=An(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=du(e,this._menu,n)}_isShown(){return this._menu.classList.contains(Ts)}_getPlacement(){const e=this._parent;if(e.classList.contains(Vy))return Zy;if(e.classList.contains(jy))return Qy;if(e.classList.contains(Hy))return ev;if(e.classList.contains(Uy))return tv;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains($y)?n?Yy:Gy:n?Jy:Xy}_detectNavbar(){return this._element.closest(qy)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Qt.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...ze(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const s=Y.find(zy,this._menu).filter(r=>sr(r));s.length&&hu(s,n,e===Kc,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===Ry||e.type==="keyup"&&e.key!==qc)return;const n=Y.find(Wy);for(const s of n){const r=yt.getInstance(s);if(!r||r._config.autoClose===!1)continue;const i=e.composedPath(),o=i.includes(r._menu);if(i.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(e.target)&&(e.type==="keyup"&&e.key===qc||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:r._element};e.type==="click"&&(a.clickEvent=e),r._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),s=e.key===Dy,r=[Iy,Kc].includes(e.key);if(!r&&!s||n&&!s)return;e.preventDefault();const i=this.matches(Hn)?this:Y.prev(this,Hn)[0]||Y.next(this,Hn)[0]||Y.findOne(Hn,e.delegateTarget.parentNode),o=yt.getOrCreateInstance(i);if(r){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),i.focus())}}M.on(document,Ph,Hn,yt.dataApiKeydownHandler);M.on(document,Ph,Yi,yt.dataApiKeydownHandler);M.on(document,Nh,yt.clearMenus);M.on(document,By,yt.clearMenus);M.on(document,Nh,Hn,function(t){t.preventDefault(),yt.getOrCreateInstance(this).toggle()});St(yt);const Dh="backdrop",rv="fade",zc="show",Gc=`mousedown.bs.${Dh}`,iv={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ov={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ih extends si{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return iv}static get DefaultType(){return ov}static get NAME(){return Dh}show(e){if(!this._config.isVisible){ze(e);return}this._append();const n=this._getElement();this._config.isAnimated&&ni(n),n.classList.add(zc),this._emulateAnimation(()=>{ze(e)})}hide(e){if(!this._config.isVisible){ze(e);return}this._getElement().classList.remove(zc),this._emulateAnimation(()=>{this.dispose(),ze(e)})}dispose(){this._isAppended&&(M.off(this._element,Gc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(rv),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=An(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),M.on(e,Gc,()=>{ze(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){_h(e,this._getElement(),this._config.isAnimated)}}const av="focustrap",lv="bs.focustrap",ho=`.${lv}`,uv=`focusin${ho}`,cv=`keydown.tab${ho}`,fv="Tab",dv="forward",Yc="backward",hv={autofocus:!0,trapElement:null},pv={autofocus:"boolean",trapElement:"element"};class Rh extends si{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return hv}static get DefaultType(){return pv}static get NAME(){return av}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,ho),M.on(document,uv,e=>this._handleFocusin(e)),M.on(document,cv,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,ho))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=Y.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===Yc?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){e.key===fv&&(this._lastTabNavDirection=e.shiftKey?Yc:dv)}}const Xc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Jc=".sticky-top",Oi="padding-right",Zc="margin-right";class ul{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Oi,n=>n+e),this._setElementAttributes(Xc,Oi,n=>n+e),this._setElementAttributes(Jc,Zc,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Oi),this._resetElementAttributes(Xc,Oi),this._resetElementAttributes(Jc,Zc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,s){const r=this.getWidth(),i=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,n){const s=e.style.getPropertyValue(n);s&&Qt.setDataAttribute(e,n,s)}_resetElementAttributes(e,n){const s=r=>{const i=Qt.getDataAttribute(r,n);if(i===null){r.style.removeProperty(n);return}Qt.removeDataAttribute(r,n),r.style.setProperty(n,i)};this._applyManipulationCallback(e,s)}_applyManipulationCallback(e,n){if(Zt(e)){n(e);return}for(const s of Y.find(e,this._element))n(s)}}const mv="modal",gv="bs.modal",At=`.${gv}`,_v=".data-api",Ev="Escape",yv=`hide${At}`,vv=`hidePrevented${At}`,Lh=`hidden${At}`,Fh=`show${At}`,bv=`shown${At}`,Av=`resize${At}`,Tv=`click.dismiss${At}`,Sv=`mousedown.dismiss${At}`,Cv=`keydown.dismiss${At}`,wv=`click${At}${_v}`,Qc="modal-open",Ov="fade",ef="show",Oa="modal-static",kv=".modal.show",Nv=".modal-dialog",Pv=".modal-body",Dv='[data-bs-toggle="modal"]',Iv={backdrop:!0,focus:!0,keyboard:!0},Rv={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ts extends Pt{constructor(e,n){super(e,n),this._dialog=Y.findOne(Nv,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ul,this._addEventListeners()}static get Default(){return Iv}static get DefaultType(){return Rv}static get NAME(){return mv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||M.trigger(this._element,Fh,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Qc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||M.trigger(this._element,yv).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ef),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){M.off(window,At),M.off(this._dialog,At),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ih({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=Y.findOne(Pv,this._dialog);n&&(n.scrollTop=0),ni(this._element),this._element.classList.add(ef);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,bv,{relatedTarget:e})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,Cv,e=>{if(e.key===Ev){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),M.on(window,Av,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,Sv,e=>{M.one(this._element,Tv,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Qc),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,Lh)})}_isAnimated(){return this._element.classList.contains(Ov)}_triggerBackdropTransition(){if(M.trigger(this._element,vv).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Oa)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Oa),this._queueCallback(()=>{this._element.classList.remove(Oa),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),s=n>0;if(s&&!e){const r=bt()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!s&&e){const r=bt()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const s=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof s[e]>"u")throw new TypeError(`No method named "${e}"`);s[e](n)}})}}M.on(document,wv,Dv,function(t){const e=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),M.one(e,Fh,r=>{r.defaultPrevented||M.one(e,Lh,()=>{sr(this)&&this.focus()})});const n=Y.findOne(kv);n&&ts.getInstance(n).hide(),ts.getOrCreateInstance(e).toggle(this)});jo(ts);St(ts);const Lv="offcanvas",Fv="bs.offcanvas",an=`.${Fv}`,Mh=".data-api",Mv=`load${an}${Mh}`,xv="Escape",tf="show",nf="showing",sf="hiding",Bv="offcanvas-backdrop",xh=".offcanvas.show",$v=`show${an}`,Vv=`shown${an}`,jv=`hide${an}`,rf=`hidePrevented${an}`,Bh=`hidden${an}`,Hv=`resize${an}`,Uv=`click${an}${Mh}`,Wv=`keydown.dismiss${an}`,qv='[data-bs-toggle="offcanvas"]',Kv={backdrop:!0,keyboard:!0,scroll:!1},zv={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class rn extends Pt{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Kv}static get DefaultType(){return zv}static get NAME(){return Lv}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||M.trigger(this._element,$v,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ul().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(nf);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(tf),this._element.classList.remove(nf),M.trigger(this._element,Vv,{relatedTarget:e})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||M.trigger(this._element,jv).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(sf),this._backdrop.hide();const n=()=>{this._element.classList.remove(tf,sf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ul().reset(),M.trigger(this._element,Bh)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){M.trigger(this._element,rf);return}this.hide()},n=!!this._config.backdrop;return new Ih({className:Bv,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Rh({trapElement:this._element})}_addEventListeners(){M.on(this._element,Wv,e=>{if(e.key===xv){if(this._config.keyboard){this.hide();return}M.trigger(this._element,rf)}})}static jQueryInterface(e){return this.each(function(){const n=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}M.on(document,Uv,qv,function(t){const e=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Tn(this))return;M.one(e,Bh,()=>{sr(this)&&this.focus()});const n=Y.findOne(xh);n&&n!==e&&rn.getInstance(n).hide(),rn.getOrCreateInstance(e).toggle(this)});M.on(window,Mv,()=>{for(const t of Y.find(xh))rn.getOrCreateInstance(t).show()});M.on(window,Hv,()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&rn.getOrCreateInstance(t).hide()});jo(rn);St(rn);const Gv=/^aria-[\w-]*$/i,$h={"*":["class","dir","id","lang","role",Gv],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Yv=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Jv=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?Yv.has(n)?!!Xv.test(t.nodeValue):!0:e.filter(s=>s instanceof RegExp).some(s=>s.test(n))};function Zv(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const r=new window.DOMParser().parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const o of i){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),u=[].concat(e["*"]||[],e[a]||[]);for(const c of l)Jv(c,u)||o.removeAttribute(c.nodeName)}return r.body.innerHTML}const Qv="TemplateFactory",eb={allowList:$h,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},tb={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},nb={entry:"(string|element|function|null)",selector:"(string|element)"};class sb extends si{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return Qv}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[r,i]of Object.entries(this._config.content))this._setContent(e,i,r);const n=e.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&n.classList.add(...s.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,s]of Object.entries(e))super._typeCheckConfig({selector:n,entry:s},nb)}_setContent(e,n,s){const r=Y.findOne(s,e);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(Zt(n)){this._putElementInTemplate(An(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(e){return this._config.sanitize?Zv(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return ze(e,[this])}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const rb="tooltip",ib=new Set(["sanitize","allowList","sanitizeFn"]),ka="fade",ob="modal",ki="show",ab=".tooltip-inner",of=`.${ob}`,af="hide.bs.modal",_r="hover",Na="focus",lb="click",ub="manual",cb="hide",fb="hidden",db="show",hb="shown",pb="inserted",mb="click",gb="focusin",_b="focusout",Eb="mouseenter",yb="mouseleave",vb={AUTO:"auto",TOP:"top",RIGHT:bt()?"left":"right",BOTTOM:"bottom",LEFT:bt()?"right":"left"},bb={allowList:$h,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ab={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class In extends Pt{constructor(e,n){if(typeof dh>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return bb}static get DefaultType(){return Ab}static get NAME(){return rb}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(of),af,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=M.trigger(this._element,this.constructor.eventName(db)),s=(mh(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!s)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(r),M.trigger(this._element,this.constructor.eventName(pb))),this._popper=this._createPopper(r),r.classList.add(ki),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))M.on(a,"mouseover",co);const o=()=>{M.trigger(this._element,this.constructor.eventName(hb)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||M.trigger(this._element,this.constructor.eventName(cb)).defaultPrevented)return;if(this._getTipElement().classList.remove(ki),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))M.off(r,"mouseover",co);this._activeTrigger[lb]=!1,this._activeTrigger[Na]=!1,this._activeTrigger[_r]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),M.trigger(this._element,this.constructor.eventName(fb)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(ka,ki),n.classList.add(`bs-${this.constructor.NAME}-auto`);const s=lE(this.constructor.NAME).toString();return n.setAttribute("id",s),this._isAnimated()&&n.classList.add(ka),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new sb({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ab]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ka)}_isShown(){return this.tip&&this.tip.classList.contains(ki)}_createPopper(e){const n=ze(this._config.placement,[this,e,this._element]),s=vb[n.toUpperCase()];return du(this._element,e,this._getPopperConfig(s))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return ze(e,[this._element])}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...n,...ze(this._config.popperConfig,[n])}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")M.on(this._element,this.constructor.eventName(mb),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(n!==ub){const s=n===_r?this.constructor.eventName(Eb):this.constructor.eventName(gb),r=n===_r?this.constructor.eventName(yb):this.constructor.eventName(_b);M.on(this._element,s,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusin"?Na:_r]=!0,o._enter()}),M.on(this._element,r,this._config.selector,i=>{const o=this._initializeOnDelegatedTarget(i);o._activeTrigger[i.type==="focusout"?Na:_r]=o._element.contains(i.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(of),af,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Qt.getDataAttributes(this._element);for(const s of Object.keys(n))ib.has(s)&&delete n[s];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:An(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[n,s]of Object.entries(this._config))this.constructor.Default[n]!==s&&(e[n]=s);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const n=In.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}St(In);const Tb="popover",Sb=".popover-header",Cb=".popover-body",wb={...In.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Ob={...In.DefaultType,content:"(null|string|element|function)"};class ai extends In{static get Default(){return wb}static get DefaultType(){return Ob}static get NAME(){return Tb}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Sb]:this._getTitle(),[Cb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=ai.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}St(ai);const kb="scrollspy",Nb="bs.scrollspy",gu=`.${Nb}`,Pb=".data-api",Db=`activate${gu}`,lf=`click${gu}`,Ib=`load${gu}${Pb}`,Rb="dropdown-item",_s="active",Lb='[data-bs-spy="scroll"]',Pa="[href]",Fb=".nav, .list-group",uf=".nav-link",Mb=".nav-item",xb=".list-group-item",Bb=`${uf}, ${Mb} > ${uf}, ${xb}`,$b=".dropdown",Vb=".dropdown-toggle",jb={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Hb={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class li extends Pt{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return jb}static get DefaultType(){return Hb}static get NAME(){return kb}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=An(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,lf),M.on(this._config.target,lf,Pa,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const s=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:r,behavior:"smooth"});return}s.scrollTop=r}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&a){if(s(o),!r)return;continue}!i&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Y.find(Pa,this._config.target);for(const n of e){if(!n.hash||Tn(n))continue;const s=Y.findOne(decodeURI(n.hash),this._element);sr(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(_s),this._activateParents(e),M.trigger(this._element,Db,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Rb)){Y.findOne(Vb,e.closest($b)).classList.add(_s);return}for(const n of Y.parents(e,Fb))for(const s of Y.prev(n,Bb))s.classList.add(_s)}_clearActiveClass(e){e.classList.remove(_s);const n=Y.find(`${Pa}.${_s}`,e);for(const s of n)s.classList.remove(_s)}static jQueryInterface(e){return this.each(function(){const n=li.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(window,Ib,()=>{for(const t of Y.find(Lb))li.getOrCreateInstance(t)});St(li);const Ub="tab",Wb="bs.tab",ls=`.${Wb}`,qb=`hide${ls}`,Kb=`hidden${ls}`,zb=`show${ls}`,Gb=`shown${ls}`,Yb=`click${ls}`,Xb=`keydown${ls}`,Jb=`load${ls}`,Zb="ArrowLeft",cf="ArrowRight",Qb="ArrowUp",ff="ArrowDown",Da="Home",df="End",Un="active",hf="fade",Ia="show",e0="dropdown",t0=".dropdown-toggle",n0=".dropdown-menu",Ra=":not(.dropdown-toggle)",s0='.list-group, .nav, [role="tablist"]',r0=".nav-item, .list-group-item",i0=`.nav-link${Ra}, .list-group-item${Ra}, [role="tab"]${Ra}`,Vh='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',La=`${i0}, ${Vh}`,o0=`.${Un}[data-bs-toggle="tab"], .${Un}[data-bs-toggle="pill"], .${Un}[data-bs-toggle="list"]`;class Sn extends Pt{constructor(e){super(e),this._parent=this._element.closest(s0),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Xb,n=>this._keydown(n)))}static get NAME(){return Ub}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),s=n?M.trigger(n,qb,{relatedTarget:e}):null;M.trigger(e,zb,{relatedTarget:n}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Un),this._activate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ia);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),M.trigger(e,Gb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_deactivate(e,n){if(!e)return;e.classList.remove(Un),e.blur(),this._deactivate(Y.getElementFromSelector(e));const s=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ia);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),M.trigger(e,Kb,{relatedTarget:n})};this._queueCallback(s,e,e.classList.contains(hf))}_keydown(e){if(![Zb,cf,Qb,ff,Da,df].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(r=>!Tn(r));let s;if([Da,df].includes(e.key))s=n[e.key===Da?0:n.length-1];else{const r=[cf,ff].includes(e.key);s=hu(n,e.target,r,!0)}s&&(s.focus({preventScroll:!0}),Sn.getOrCreateInstance(s).show())}_getChildren(){return Y.find(La,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const s of n)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),s=this._getOuterElement(e);e.setAttribute("aria-selected",n),s!==e&&this._setAttributeIfNotExists(s,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=Y.getElementFromSelector(e);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(e0))return;const r=(i,o)=>{const a=Y.findOne(i,s);a&&a.classList.toggle(o,n)};r(t0,Un),r(n0,Ia),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,s){e.hasAttribute(n)||e.setAttribute(n,s)}_elemIsActive(e){return e.classList.contains(Un)}_getInnerElement(e){return e.matches(La)?e:Y.findOne(La,e)}_getOuterElement(e){return e.closest(r0)||e}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,Yb,Vh,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!Tn(this)&&Sn.getOrCreateInstance(this).show()});M.on(window,Jb,()=>{for(const t of Y.find(o0))Sn.getOrCreateInstance(t)});St(Sn);const a0="toast",l0="bs.toast",Rn=`.${l0}`,u0=`mouseover${Rn}`,c0=`mouseout${Rn}`,f0=`focusin${Rn}`,d0=`focusout${Rn}`,h0=`hide${Rn}`,p0=`hidden${Rn}`,m0=`show${Rn}`,g0=`shown${Rn}`,_0="fade",pf="hide",Ni="show",Pi="showing",E0={animation:"boolean",autohide:"boolean",delay:"number"},y0={animation:!0,autohide:!0,delay:5e3};class or extends Pt{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return y0}static get DefaultType(){return E0}static get NAME(){return a0}show(){if(M.trigger(this._element,m0).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(_0);const n=()=>{this._element.classList.remove(Pi),M.trigger(this._element,g0),this._maybeScheduleHide()};this._element.classList.remove(pf),ni(this._element),this._element.classList.add(Ni,Pi),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||M.trigger(this._element,h0).defaultPrevented)return;const n=()=>{this._element.classList.add(pf),this._element.classList.remove(Pi,Ni),M.trigger(this._element,p0)};this._element.classList.add(Pi),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ni),super.dispose()}isShown(){return this._element.classList.contains(Ni)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const s=e.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,u0,e=>this._onInteraction(e,!0)),M.on(this._element,c0,e=>this._onInteraction(e,!1)),M.on(this._element,f0,e=>this._onInteraction(e,!0)),M.on(this._element,d0,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=or.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}jo(or);St(or);const v0=Object.freeze(Object.defineProperty({__proto__:null,Alert:ri,Button:ii,Carousel:ir,Collapse:Ws,Dropdown:yt,Modal:ts,Offcanvas:rn,Popover:ai,ScrollSpy:li,Tab:Sn,Toast:or,Tooltip:In},Symbol.toStringTag,{value:"Module"}));let b0=[].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));b0.map(function(t){let e={boundary:t.getAttribute("data-bs-boundary")==="viewport"?document.querySelector(".btn"):"clippingParents"};return new yt(t,e)});let A0=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));A0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new In(t,e)});let T0=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));T0.map(function(t){let e={delay:{show:50,hide:50},html:t.getAttribute("data-bs-html")==="true",placement:t.getAttribute("data-bs-placement")??"auto"};return new ai(t,e)});let S0=[].slice.call(document.querySelectorAll('[data-bs-toggle="switch-icon"]'));S0.map(function(t){t.addEventListener("click",e=>{e.stopPropagation(),t.classList.toggle("active")})});const C0=()=>{const t=window.location.hash;t&&[].slice.call(document.querySelectorAll('[data-bs-toggle="tab"]')).filter(s=>s.hash===t).map(s=>{new Sn(s).show()})};C0();let w0=[].slice.call(document.querySelectorAll('[data-bs-toggle="toast"]'));w0.map(function(t){return new or(t)});const jh="tblr-",Hh=(t,e)=>{const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?`rgba(${parseInt(n[1],16)}, ${parseInt(n[2],16)}, ${parseInt(n[3],16)}, ${e})`:null},O0=(t,e=1)=>{const n=getComputedStyle(document.body).getPropertyValue(`--${jh}${t}`).trim();return e!==1?Hh(n,e):n},k0=Object.freeze(Object.defineProperty({__proto__:null,getColor:O0,hexToRgba:Hh,prefix:jh},Symbol.toStringTag,{value:"Module"}));globalThis.bootstrap=v0;globalThis.tabler=k0;function Uh(t,e){return function(){return t.apply(e,arguments)}}const{toString:N0}=Object.prototype,{getPrototypeOf:_u}=Object,Ho=(t=>e=>{const n=N0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qt=t=>(t=t.toLowerCase(),e=>Ho(e)===t),Uo=t=>e=>typeof e===t,{isArray:ar}=Array,$r=Uo("undefined");function P0(t){return t!==null&&!$r(t)&&t.constructor!==null&&!$r(t.constructor)&&vt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wh=qt("ArrayBuffer");function D0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Wh(t.buffer),e}const I0=Uo("string"),vt=Uo("function"),qh=Uo("number"),Wo=t=>t!==null&&typeof t=="object",R0=t=>t===!0||t===!1,Xi=t=>{if(Ho(t)!=="object")return!1;const e=_u(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},L0=qt("Date"),F0=qt("File"),M0=qt("Blob"),x0=qt("FileList"),B0=t=>Wo(t)&&vt(t.pipe),$0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||vt(t.append)&&((e=Ho(t))==="formdata"||e==="object"&&vt(t.toString)&&t.toString()==="[object FormData]"))},V0=qt("URLSearchParams"),j0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ui(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,r;if(typeof t!="object"&&(t=[t]),ar(t))for(s=0,r=t.length;s0;)if(r=n[s],e===r.toLowerCase())return r;return null}const zh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Gh=t=>!$r(t)&&t!==zh;function cl(){const{caseless:t}=Gh(this)&&this||{},e={},n=(s,r)=>{const i=t&&Kh(e,r)||r;Xi(e[i])&&Xi(s)?e[i]=cl(e[i],s):Xi(s)?e[i]=cl({},s):ar(s)?e[i]=s.slice():e[i]=s};for(let s=0,r=arguments.length;s(ui(e,(r,i)=>{n&&vt(r)?t[i]=Uh(r,n):t[i]=r},{allOwnKeys:s}),t),U0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),W0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},q0=(t,e,n,s)=>{let r,i,o;const a={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),i=r.length;i-- >0;)o=r[i],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&_u(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},K0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},z0=t=>{if(!t)return null;if(ar(t))return t;let e=t.length;if(!qh(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},G0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_u(Uint8Array)),Y0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=s.next())&&!r.done;){const i=r.value;e.call(t,i[0],i[1])}},X0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},J0=qt("HTMLFormElement"),Z0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),mf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Q0=qt("RegExp"),Yh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};ui(n,(r,i)=>{let o;(o=e(r,i,t))!==!1&&(s[i]=o||r)}),Object.defineProperties(t,s)},eA=t=>{Yh(t,(e,n)=>{if(vt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(vt(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},tA=(t,e)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return ar(t)?s(t):s(String(t).split(e)),n},nA=()=>{},sA=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Fa="abcdefghijklmnopqrstuvwxyz",gf="0123456789",Xh={DIGIT:gf,ALPHA:Fa,ALPHA_DIGIT:Fa+Fa.toUpperCase()+gf},rA=(t=16,e=Xh.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function iA(t){return!!(t&&vt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const oA=t=>{const e=new Array(10),n=(s,r)=>{if(Wo(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[r]=s;const i=ar(s)?[]:{};return ui(s,(o,a)=>{const l=n(o,r+1);!$r(l)&&(i[a]=l)}),e[r]=void 0,i}}return s};return n(t,0)},aA=qt("AsyncFunction"),lA=t=>t&&(Wo(t)||vt(t))&&vt(t.then)&&vt(t.catch),I={isArray:ar,isArrayBuffer:Wh,isBuffer:P0,isFormData:$0,isArrayBufferView:D0,isString:I0,isNumber:qh,isBoolean:R0,isObject:Wo,isPlainObject:Xi,isUndefined:$r,isDate:L0,isFile:F0,isBlob:M0,isRegExp:Q0,isFunction:vt,isStream:B0,isURLSearchParams:V0,isTypedArray:G0,isFileList:x0,forEach:ui,merge:cl,extend:H0,trim:j0,stripBOM:U0,inherits:W0,toFlatObject:q0,kindOf:Ho,kindOfTest:qt,endsWith:K0,toArray:z0,forEachEntry:Y0,matchAll:X0,isHTMLForm:J0,hasOwnProperty:mf,hasOwnProp:mf,reduceDescriptors:Yh,freezeMethods:eA,toObjectSet:tA,toCamelCase:Z0,noop:nA,toFiniteNumber:sA,findKey:Kh,global:zh,isContextDefined:Gh,ALPHABET:Xh,generateString:rA,isSpecCompliantForm:iA,toJSONObject:oA,isAsyncFn:aA,isThenable:lA};function le(t,e,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}I.inherits(le,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:I.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Jh=le.prototype,Zh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Zh[t]={value:t}});Object.defineProperties(le,Zh);Object.defineProperty(Jh,"isAxiosError",{value:!0});le.from=(t,e,n,s,r,i)=>{const o=Object.create(Jh);return I.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),le.call(o,t.message,e,n,s,r),o.cause=t,o.name=t.name,i&&Object.assign(o,i),o};const uA=null;function fl(t){return I.isPlainObject(t)||I.isArray(t)}function Qh(t){return I.endsWith(t,"[]")?t.slice(0,-2):t}function _f(t,e,n){return t?t.concat(e).map(function(r,i){return r=Qh(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function cA(t){return I.isArray(t)&&!t.some(fl)}const fA=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function qo(t,e,n){if(!I.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,y){return!I.isUndefined(y[d])});const s=n.metaTokens,r=n.visitor||c,i=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(e);if(!I.isFunction(r))throw new TypeError("visitor must be a function");function u(E){if(E===null)return"";if(I.isDate(E))return E.toISOString();if(!l&&I.isBlob(E))throw new le("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(E)||I.isTypedArray(E)?l&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function c(E,d,y){let _=E;if(E&&!y&&typeof E=="object"){if(I.endsWith(d,"{}"))d=s?d:d.slice(0,-2),E=JSON.stringify(E);else if(I.isArray(E)&&cA(E)||(I.isFileList(E)||I.endsWith(d,"[]"))&&(_=I.toArray(E)))return d=Qh(d),_.forEach(function(b,g){!(I.isUndefined(b)||b===null)&&e.append(o===!0?_f([d],g,i):o===null?d:d+"[]",u(b))}),!1}return fl(E)?!0:(e.append(_f(y,d,i),u(E)),!1)}const f=[],m=Object.assign(fA,{defaultVisitor:c,convertValue:u,isVisitable:fl});function p(E,d){if(!I.isUndefined(E)){if(f.indexOf(E)!==-1)throw Error("Circular reference detected in "+d.join("."));f.push(E),I.forEach(E,function(_,h){(!(I.isUndefined(_)||_===null)&&r.call(e,_,I.isString(h)?h.trim():h,d,m))===!0&&p(_,d?d.concat(h):[h])}),f.pop()}}if(!I.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Ef(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Eu(t,e){this._pairs=[],t&&qo(t,this,e)}const ep=Eu.prototype;ep.append=function(e,n){this._pairs.push([e,n])};ep.toString=function(e){const n=e?function(s){return e.call(this,s,Ef)}:Ef;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function dA(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tp(t,e,n){if(!e)return t;const s=n&&n.encode||dA,r=n&&n.serialize;let i;if(r?i=r(e,n):i=I.isURLSearchParams(e)?e.toString():new Eu(e,n).toString(s),i){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class hA{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){I.forEach(this.handlers,function(s){s!==null&&e(s)})}}const yf=hA,np={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pA=typeof URLSearchParams<"u"?URLSearchParams:Eu,mA=typeof FormData<"u"?FormData:null,gA=typeof Blob<"u"?Blob:null,_A={isBrowser:!0,classes:{URLSearchParams:pA,FormData:mA,Blob:gA},protocols:["http","https","file","blob","url","data"]},sp=typeof window<"u"&&typeof document<"u",EA=(t=>sp&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),yA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),vA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sp,hasStandardBrowserEnv:EA,hasStandardBrowserWebWorkerEnv:yA},Symbol.toStringTag,{value:"Module"})),$t={...vA,..._A};function bA(t,e){return qo(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return $t.isNode&&I.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function AA(t){return I.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function TA(t){const e={},n=Object.keys(t);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&I.isArray(r)?r.length:o,l?(I.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!I.isObject(r[o]))&&(r[o]=[]),e(n,s,r[o],i)&&I.isArray(r[o])&&(r[o]=TA(r[o])),!a)}if(I.isFormData(t)&&I.isFunction(t.entries)){const n={};return I.forEachEntry(t,(s,r)=>{e(AA(s),r,n,0)}),n}return null}function SA(t,e,n){if(I.isString(t))try{return(e||JSON.parse)(t),I.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const yu={transitional:np,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=I.isObject(e);if(i&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r&&r?JSON.stringify(rp(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return bA(e,this.formSerializer).toString();if((a=I.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return qo(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),SA(e)):e}],transformResponse:[function(e){const n=this.transitional||yu.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(e&&I.isString(e)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?le.from(a,le.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],t=>{yu.headers[t]={}});const vu=yu,CA=I.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wA=t=>{const e={};let n,s,r;return t&&t.split(` +`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||e[n]&&CA[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},vf=Symbol("internals");function Er(t){return t&&String(t).trim().toLowerCase()}function Ji(t){return t===!1||t==null?t:I.isArray(t)?t.map(Ji):String(t)}function OA(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const kA=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ma(t,e,n,s,r){if(I.isFunction(s))return s.call(this,e,n);if(r&&(e=n),!!I.isString(e)){if(I.isString(s))return e.indexOf(s)!==-1;if(I.isRegExp(s))return s.test(e)}}function NA(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function PA(t,e){const n=I.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(r,i,o){return this[s].call(this,e,r,i,o)},configurable:!0})})}class Ko{constructor(e){e&&this.set(e)}set(e,n,s){const r=this;function i(a,l,u){const c=Er(l);if(!c)throw new Error("header name must be a non-empty string");const f=I.findKey(r,c);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||l]=Ji(a))}const o=(a,l)=>I.forEach(a,(u,c)=>i(u,c,l));return I.isPlainObject(e)||e instanceof this.constructor?o(e,n):I.isString(e)&&(e=e.trim())&&!kA(e)?o(wA(e),n):e!=null&&i(n,e,s),this}get(e,n){if(e=Er(e),e){const s=I.findKey(this,e);if(s){const r=this[s];if(!n)return r;if(n===!0)return OA(r);if(I.isFunction(n))return n.call(this,r,s);if(I.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Er(e),e){const s=I.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Ma(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let r=!1;function i(o){if(o=Er(o),o){const a=I.findKey(s,o);a&&(!n||Ma(s,s[a],a,n))&&(delete s[a],r=!0)}}return I.isArray(e)?e.forEach(i):i(e),r}clear(e){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!e||Ma(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){const n=this,s={};return I.forEach(this,(r,i)=>{const o=I.findKey(s,i);if(o){n[o]=Ji(r),delete n[i];return}const a=e?NA(i):String(i).trim();a!==i&&delete n[i],n[a]=Ji(r),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return I.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=e&&I.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(r=>s.set(r)),s}static accessor(e){const s=(this[vf]=this[vf]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Er(o);s[a]||(PA(r,o),s[a]=!0)}return I.isArray(e)?e.forEach(i):i(e),this}}Ko.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Ko.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});I.freezeMethods(Ko);const en=Ko;function xa(t,e){const n=this||vu,s=e||n,r=en.from(s.headers);let i=s.data;return I.forEach(t,function(a){i=a.call(n,i,r.normalize(),e?e.status:void 0)}),r.normalize(),i}function ip(t){return!!(t&&t.__CANCEL__)}function ci(t,e,n){le.call(this,t??"canceled",le.ERR_CANCELED,e,n),this.name="CanceledError"}I.inherits(ci,le,{__CANCEL__:!0});function DA(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new le("Request failed with status code "+n.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const IA=$t.hasStandardBrowserEnv?{write(t,e,n,s,r,i){const o=[t+"="+encodeURIComponent(e)];I.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),I.isString(s)&&o.push("path="+s),I.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function RA(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function LA(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function op(t,e){return t&&!RA(e)?LA(t,e):e}const FA=$t.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=I.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function MA(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function xA(t,e){t=t||10;const n=new Array(t),s=new Array(t);let r=0,i=0,o;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let f=i,m=0;for(;f!==r;)m+=n[f++],f=f%t;if(r=(r+1)%t,r===i&&(i=(i+1)%t),u-o{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,l=s(a),u=i<=o;n=i;const c={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-i)/l:void 0,event:r};c[e?"download":"upload"]=!0,t(c)}}const BA=typeof XMLHttpRequest<"u",$A=BA&&function(t){return new Promise(function(n,s){let r=t.data;const i=en.from(t.headers).normalize();let{responseType:o,withXSRFToken:a}=t,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let c;if(I.isFormData(r)){if($t.hasStandardBrowserEnv||$t.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((c=i.getContentType())!==!1){const[d,...y]=c?c.split(";").map(_=>_.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...y].join("; "))}}let f=new XMLHttpRequest;if(t.auth){const d=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(d+":"+y))}const m=op(t.baseURL,t.url);f.open(t.method.toUpperCase(),tp(m,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function p(){if(!f)return;const d=en.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),_={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:d,config:t,request:f};DA(function(b){n(b),u()},function(b){s(b),u()},_),f=null}if("onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(p)},f.onabort=function(){f&&(s(new le("Request aborted",le.ECONNABORTED,t,f)),f=null)},f.onerror=function(){s(new le("Network Error",le.ERR_NETWORK,t,f)),f=null},f.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const _=t.transitional||np;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),s(new le(y,_.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,t,f)),f=null},$t.hasStandardBrowserEnv&&(a&&I.isFunction(a)&&(a=a(t)),a||a!==!1&&FA(m))){const d=t.xsrfHeaderName&&t.xsrfCookieName&&IA.read(t.xsrfCookieName);d&&i.set(t.xsrfHeaderName,d)}r===void 0&&i.setContentType(null),"setRequestHeader"in f&&I.forEach(i.toJSON(),function(y,_){f.setRequestHeader(_,y)}),I.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",bf(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",bf(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=d=>{f&&(s(!d||d.type?new ci(null,t,f):d),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const E=MA(m);if(E&&$t.protocols.indexOf(E)===-1){s(new le("Unsupported protocol "+E+":",le.ERR_BAD_REQUEST,t));return}f.send(r||null)})},dl={http:uA,xhr:$A};I.forEach(dl,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Af=t=>`- ${t}`,VA=t=>I.isFunction(t)||t===null||t===!1,ap={getAdapter:t=>{t=I.isArray(t)?t:[t];const{length:e}=t;let n,s;const r={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?i.length>1?`since : `+i.map(Af).join(` -`):" "+Af(i[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:dl};function Ba(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ui(null,t)}function Tf(t){return Ba(t),t.headers=en.from(t.headers),t.data=xa.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ap.getAdapter(t.adapter||vu.adapter)(t).then(function(s){return Ba(t),s.data=xa.call(t,t.transformResponse,s),s.headers=en.from(s.headers),s},function(s){return ip(s)||(Ba(t),s&&s.response&&(s.response.data=xa.call(t,t.transformResponse,s.response),s.response.headers=en.from(s.response.headers))),Promise.reject(s)})}const Cf=t=>t instanceof en?t.toJSON():t;function qs(t,e){e=e||{};const n={};function s(u,c,f){return I.isPlainObject(u)&&I.isPlainObject(c)?I.merge.call({caseless:f},u,c):I.isPlainObject(c)?I.merge({},c):I.isArray(c)?c.slice():c}function r(u,c,f){if(I.isUndefined(c)){if(!I.isUndefined(u))return s(void 0,u,f)}else return s(u,c,f)}function i(u,c){if(!I.isUndefined(c))return s(void 0,c)}function o(u,c){if(I.isUndefined(c)){if(!I.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,f){if(f in e)return s(u,c);if(f in t)return s(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>r(Cf(u),Cf(c),!0)};return I.forEach(Object.keys(Object.assign({},t,e)),function(c){const f=l[c]||r,m=f(t[c],e[c],c);I.isUndefined(m)&&f!==a||(n[c]=m)}),n}const lp="1.6.2",bu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{bu[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sf={};bu.transitional=function(e,n,s){function r(i,o){return"[Axios v"+lp+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(e===!1)throw new le(r(o," has been removed"+(n?" in "+n:"")),le.ERR_DEPRECATED);return n&&!Sf[o]&&(Sf[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,o,a):!0}};function jA(t,e,n){if(typeof t!="object")throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let r=s.length;for(;r-- >0;){const i=s[r],o=e[i];if(o){const a=t[i],l=a===void 0||o(a,i,t);if(l!==!0)throw new le("option "+i+" must be "+l,le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new le("Unknown option "+i,le.ERR_BAD_OPTION)}}const hl={assertOptions:jA,validators:bu},fn=hl.validators;class po{constructor(e){this.defaults=e,this.interceptors={request:new yf,response:new yf}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=qs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&hl.assertOptions(s,{silentJSONParsing:fn.transitional(fn.boolean),forcedJSONParsing:fn.transitional(fn.boolean),clarifyTimeoutError:fn.transitional(fn.boolean)},!1),r!=null&&(I.isFunction(r)?n.paramsSerializer={serialize:r}:hl.assertOptions(r,{encode:fn.function,serialize:fn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&I.merge(i.common,i[n.method]);i&&I.forEach(["delete","get","head","post","put","patch","common"],E=>{delete i[E]}),n.headers=en.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(l=l&&d.synchronous,a.unshift(d.fulfilled,d.rejected))});const u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});let c,f=0,m;if(!l){const E=[Tf.bind(this),void 0];for(E.unshift.apply(E,a),E.push.apply(E,u),m=E.length,c=Promise.resolve(n);f{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},e(function(i,o,a){s.reason||(s.reason=new ui(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Au(function(r){e=r}),cancel:e}}}const HA=Au;function UA(t){return function(n){return t.apply(null,n)}}function WA(t){return I.isObject(t)&&t.isAxiosError===!0}const pl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pl).forEach(([t,e])=>{pl[e]=t});const qA=pl;function up(t){const e=new Zi(t),n=Uh(Zi.prototype.request,e);return I.extend(n,Zi.prototype,e,{allOwnKeys:!0}),I.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return up(qs(t,r))},n}const Oe=up(vu);Oe.Axios=Zi;Oe.CanceledError=ui;Oe.CancelToken=HA;Oe.isCancel=ip;Oe.VERSION=lp;Oe.toFormData=qo;Oe.AxiosError=le;Oe.Cancel=Oe.CanceledError;Oe.all=function(e){return Promise.all(e)};Oe.spread=UA;Oe.isAxiosError=WA;Oe.mergeConfig=qs;Oe.AxiosHeaders=en;Oe.formToJSON=t=>rp(I.isHTMLForm(t)?new FormData(t):t);Oe.getAdapter=ap.getAdapter;Oe.HttpStatusCode=qA;Oe.default=Oe;const st=Oe;window.axios=st;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";function Qe(t,e){const n=Object.create(null),s=t.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const pe={},Ns=[],Ue=()=>{},Qi=()=>!1,KA=/^on[^a-z]/,us=t=>KA.test(t),Tu=t=>t.startsWith("onUpdate:"),ae=Object.assign,Cu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},zA=Object.prototype.hasOwnProperty,ue=(t,e)=>zA.call(t,e),U=Array.isArray,Ps=t=>lr(t)==="[object Map]",cs=t=>lr(t)==="[object Set]",wf=t=>lr(t)==="[object Date]",GA=t=>lr(t)==="[object RegExp]",Z=t=>typeof t=="function",ne=t=>typeof t=="string",Sn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",Su=t=>me(t)&&Z(t.then)&&Z(t.catch),cp=Object.prototype.toString,lr=t=>cp.call(t),YA=t=>lr(t).slice(8,-1),fp=t=>lr(t)==="[object Object]",wu=t=>ne(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,zn=Qe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),XA=Qe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),zo=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},JA=/-(\w)/g,we=zo(t=>t.replace(JA,(e,n)=>n?n.toUpperCase():"")),ZA=/\B([A-Z])/g,rt=zo(t=>t.replace(ZA,"-$1").toLowerCase()),fs=zo(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ds=zo(t=>t?`on${fs(t)}`:""),Ks=(t,e)=>!Object.is(t,e),Is=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},go=t=>{const e=parseFloat(t);return isNaN(e)?t:e},_o=t=>{const e=ne(t)?Number(t):NaN;return isNaN(e)?t:e};let Of;const ml=()=>Of||(Of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),QA="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",eT=Qe(QA);function ci(t){if(U(t)){const e={};for(let n=0;n{if(n){const s=n.split(nT);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function fi(t){let e="";if(ne(t))e=t;else if(U(t))for(let n=0;nwn(n,e))}const pT=t=>ne(t)?t:t==null?"":U(t)||me(t)&&(t.toString===cp||!Z(t.toString))?JSON.stringify(t,pp,2):String(t),pp=(t,e)=>e&&e.__v_isRef?pp(t,e.value):Ps(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:cs(e)?{[`Set(${e.size})`]:[...e.values()]}:me(e)&&!U(e)&&!fp(e)?String(e):e;let tt;class Ou{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}}on(){tt=this}off(){tt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},_p=t=>(t.w&On)>0,Ep=t=>(t.n&On)>0,mT=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(c==="length"||c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":U(t)?wu(n)&&a.push(o.get("length")):(a.push(o.get(Gn)),Ps(t)&&a.push(o.get(_l)));break;case"delete":U(t)||(a.push(o.get(Gn)),Ps(t)&&a.push(o.get(_l)));break;case"set":Ps(t)&&a.push(o.get(Gn));break}if(a.length===1)a[0]&&El(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);El(Pu(l))}}function El(t,e){const n=U(t)?t:[...t];for(const s of n)s.computed&&Nf(s);for(const s of n)s.computed||Nf(s)}function Nf(t,e){(t!==wt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function yT(t,e){var n;return(n=Eo.get(t))==null?void 0:n.get(e)}const vT=Qe("__proto__,__v_isRef,__isVue"),bp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Sn)),bT=Yo(),AT=Yo(!1,!0),TT=Yo(!0),CT=Yo(!0,!0),Pf=ST();function ST(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Q(this);for(let i=0,o=this.length;i{t[e]=function(...n){ur();const s=Q(this)[e].apply(this,n);return cr(),s}}),t}function wT(t){const e=Q(this);return Ze(e,"has",t),e.hasOwnProperty(t)}function Yo(t=!1,e=!1){return function(s,r,i){if(r==="__v_isReactive")return!t;if(r==="__v_isReadonly")return t;if(r==="__v_isShallow")return e;if(r==="__v_raw"&&i===(t?e?kp:Op:e?wp:Sp).get(s))return s;const o=U(s);if(!t){if(o&&ue(Pf,r))return Reflect.get(Pf,r,i);if(r==="hasOwnProperty")return wT}const a=Reflect.get(s,r,i);return(Sn(r)?bp.has(r):vT(r))||(t||Ze(s,"get",r),e)?a:be(a)?o&&wu(r)?a:a.value:me(a)?t?Iu(a):Dt(a):a}}const OT=Ap(),kT=Ap(!0);function Ap(t=!1){return function(n,s,r,i){let o=n[s];if(ns(o)&&be(o)&&!be(r))return!1;if(!t&&(!$r(r)&&!ns(r)&&(o=Q(o),r=Q(r)),!U(n)&&be(o)&&!be(r)))return o.value=r,!0;const a=U(n)&&wu(s)?Number(s)t,Xo=t=>Reflect.getPrototypeOf(t);function Di(t,e,n=!1,s=!1){t=t.__v_raw;const r=Q(t),i=Q(e);n||(e!==i&&Ze(r,"get",e),Ze(r,"get",i));const{has:o}=Xo(r),a=s?Du:n?Lu:Vr;if(o.call(r,e))return a(t.get(e));if(o.call(r,i))return a(t.get(i));t!==r&&t.get(e)}function Ii(t,e=!1){const n=this.__v_raw,s=Q(n),r=Q(t);return e||(t!==r&&Ze(s,"has",t),Ze(s,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function Ri(t,e=!1){return t=t.__v_raw,!e&&Ze(Q(t),"iterate",Gn),Reflect.get(t,"size",t)}function Df(t){t=Q(t);const e=Q(this);return Xo(e).has.call(e,t)||(e.add(t),on(e,"add",t,t)),this}function If(t,e){e=Q(e);const n=Q(this),{has:s,get:r}=Xo(n);let i=s.call(n,t);i||(t=Q(t),i=s.call(n,t));const o=r.call(n,t);return n.set(t,e),i?Ks(e,o)&&on(n,"set",t,e):on(n,"add",t,e),this}function Rf(t){const e=Q(this),{has:n,get:s}=Xo(e);let r=n.call(e,t);r||(t=Q(t),r=n.call(e,t)),s&&s.call(e,t);const i=e.delete(t);return r&&on(e,"delete",t,void 0),i}function Lf(){const t=Q(this),e=t.size!==0,n=t.clear();return e&&on(t,"clear",void 0,void 0),n}function Li(t,e){return function(s,r){const i=this,o=i.__v_raw,a=Q(o),l=e?Du:t?Lu:Vr;return!t&&Ze(a,"iterate",Gn),o.forEach((u,c)=>s.call(r,l(u),l(c),i))}}function Fi(t,e,n){return function(...s){const r=this.__v_raw,i=Q(r),o=Ps(i),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=r[t](...s),c=n?Du:e?Lu:Vr;return!e&&Ze(i,"iterate",l?_l:Gn),{next(){const{value:f,done:m}=u.next();return m?{value:f,done:m}:{value:a?[c(f[0]),c(f[1])]:c(f),done:m}},[Symbol.iterator](){return this}}}}function dn(t){return function(...e){return t==="delete"?!1:this}}function LT(){const t={get(i){return Di(this,i)},get size(){return Ri(this)},has:Ii,add:Df,set:If,delete:Rf,clear:Lf,forEach:Li(!1,!1)},e={get(i){return Di(this,i,!1,!0)},get size(){return Ri(this)},has:Ii,add:Df,set:If,delete:Rf,clear:Lf,forEach:Li(!1,!0)},n={get(i){return Di(this,i,!0)},get size(){return Ri(this,!0)},has(i){return Ii.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Li(!0,!1)},s={get(i){return Di(this,i,!0,!0)},get size(){return Ri(this,!0)},has(i){return Ii.call(this,i,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:Li(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Fi(i,!1,!1),n[i]=Fi(i,!0,!1),e[i]=Fi(i,!1,!0),s[i]=Fi(i,!0,!0)}),[t,n,e,s]}const[FT,MT,xT,BT]=LT();function Jo(t,e){const n=e?t?BT:xT:t?MT:FT;return(s,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?s:Reflect.get(ue(n,r)&&r in s?n:s,r,i)}const $T={get:Jo(!1,!1)},VT={get:Jo(!1,!0)},jT={get:Jo(!0,!1)},HT={get:Jo(!0,!0)},Sp=new WeakMap,wp=new WeakMap,Op=new WeakMap,kp=new WeakMap;function UT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function WT(t){return t.__v_skip||!Object.isExtensible(t)?0:UT(YA(t))}function Dt(t){return ns(t)?t:Zo(t,!1,Tp,$T,Sp)}function Np(t){return Zo(t,!1,IT,VT,wp)}function Iu(t){return Zo(t,!0,Cp,jT,Op)}function qT(t){return Zo(t,!0,RT,HT,kp)}function Zo(t,e,n,s,r){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=r.get(t);if(i)return i;const o=WT(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return r.set(t,a),a}function tn(t){return ns(t)?tn(t.__v_raw):!!(t&&t.__v_isReactive)}function ns(t){return!!(t&&t.__v_isReadonly)}function $r(t){return!!(t&&t.__v_isShallow)}function Ru(t){return tn(t)||ns(t)}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function hi(t){return mo(t,"__v_skip",!0),t}const Vr=t=>me(t)?Dt(t):t,Lu=t=>me(t)?Iu(t):t;function Fu(t){En&&wt&&(t=Q(t),vp(t.dep||(t.dep=Pu())))}function Qo(t,e){t=Q(t);const n=t.dep;n&&El(n)}function be(t){return!!(t&&t.__v_isRef===!0)}function Ge(t){return Pp(t,!1)}function KT(t){return Pp(t,!0)}function Pp(t,e){return be(t)?t:new zT(t,e)}class zT{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Q(e),this._value=n?e:Vr(e)}get value(){return Fu(this),this._value}set value(e){const n=this.__v_isShallow||$r(e)||ns(e);e=n?e:Q(e),Ks(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Vr(e),Qo(this))}}function GT(t){Qo(t)}function Mu(t){return be(t)?t.value:t}function YT(t){return Z(t)?t():Mu(t)}const XT={get:(t,e,n)=>Mu(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const r=t[e];return be(r)&&!be(n)?(r.value=n,!0):Reflect.set(t,e,n,s)}};function xu(t){return tn(t)?t:new Proxy(t,XT)}class JT{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=e(()=>Fu(this),()=>Qo(this));this._get=n,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function ZT(t){return new JT(t)}function Dp(t){const e=U(t)?new Array(t.length):{};for(const n in t)e[n]=Ip(t,n);return e}class QT{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return yT(Q(this._object),this._key)}}class eC{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function tC(t,e,n){return be(t)?t:Z(t)?new eC(t):me(t)&&arguments.length>1?Ip(t,e,n):Ge(t)}function Ip(t,e,n){const s=t[e];return be(s)?s:new QT(t,e,n)}class nC{constructor(e,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new di(e,()=>{this._dirty||(this._dirty=!0,Qo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const e=Q(this);return Fu(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function sC(t,e,n=!1){let s,r;const i=Z(t);return i?(s=t,r=Ue):(s=t.get,r=t.set),new nC(s,r,i||!r,n)}function rC(t,...e){}function iC(t,e){}function nn(t,e,n,s){let r;try{r=s?t(...s):t()}catch(i){ds(i,e,n)}return r}function ot(t,e,n,s){if(Z(t)){const i=nn(t,e,n,s);return i&&Su(i)&&i.catch(o=>{ds(o,e,n)}),i}const r=[];for(let i=0;i>>1;Hr(Le[s])Bt&&Le.splice(e,1)}function $u(t){U(t)?Rs.push(...t):(!Yt||!Yt.includes(t,t.allowRecurse?$n+1:$n))&&Rs.push(t),Lp()}function Ff(t,e=jr?Bt+1:0){for(;eHr(n)-Hr(s)),$n=0;$nt.id==null?1/0:t.id,uC=(t,e)=>{const n=Hr(t)-Hr(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Fp(t){yl=!1,jr=!0,Le.sort(uC);const e=Ue;try{for(Bt=0;BtCs.emit(r,...i)),Mi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Mp(i,e)}),setTimeout(()=>{Cs||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Mi=[])},3e3)):Mi=[]}function cC(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||pe;let r=n;const i=e.startsWith("update:"),o=i&&e.slice(7);if(o&&o in s){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:m}=s[c]||pe;m&&(r=n.map(p=>ne(p)?p.trim():p)),f&&(r=n.map(go))}let a,l=s[a=Ds(e)]||s[a=Ds(we(e))];!l&&i&&(l=s[a=Ds(rt(e))]),l&&ot(l,t,6,r);const u=s[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,ot(u,t,6,r)}}function xp(t,e,n=!1){const s=e.emitsCache,r=s.get(t);if(r!==void 0)return r;const i=t.emits;let o={},a=!1;if(!Z(t)){const l=u=>{const c=xp(u,e,!0);c&&(a=!0,ae(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(me(t)&&s.set(t,null),null):(U(i)?i.forEach(l=>o[l]=null):ae(o,i),me(t)&&s.set(t,o),o)}function ta(t,e){return!t||!us(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,rt(e))||ue(t,e))}let De=null,na=null;function Ur(t){const e=De;return De=t,na=t&&t.type.__scopeId||null,e}function fC(t){na=t}function dC(){na=null}const hC=t=>Vu;function Vu(t,e=De,n){if(!e||t._n)return t;const s=(...r)=>{s._d&&wl(-1);const i=Ur(e);let o;try{o=t(...r)}finally{Ur(i),s._d&&wl(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function eo(t){const{type:e,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:a,attrs:l,emit:u,render:c,renderCache:f,data:m,setupState:p,ctx:E,inheritAttrs:d}=t;let y,_;const h=Ur(t);try{if(n.shapeFlag&4){const g=r||s;y=nt(c.call(g,g,f,i,p,m,E)),_=l}else{const g=e;y=nt(g.length>1?g(i,{attrs:l,slots:a,emit:u}):g(i,null)),_=e.props?l:mC(l)}}catch(g){Dr.length=0,ds(g,t,1),y=te(Me)}let b=y;if(_&&d!==!1){const g=Object.keys(_),{shapeFlag:A}=b;g.length&&A&7&&(o&&g.some(Tu)&&(_=gC(_,o)),b=Nt(b,_))}return n.dirs&&(b=Nt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),y=b,Ur(h),y}function pC(t){let e;for(let n=0;n{let e;for(const n in t)(n==="class"||n==="style"||us(n))&&((e||(e={}))[n]=t[n]);return e},gC=(t,e)=>{const n={};for(const s in t)(!Tu(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function _C(t,e,n){const{props:s,children:r,component:i}=t,{props:o,children:a,patchFlag:l}=e,u=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mf(s,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;ft.__isSuspense,EC={name:"Suspense",__isSuspense:!0,process(t,e,n,s,r,i,o,a,l,u){t==null?vC(e,n,s,r,i,o,a,l,u):bC(t,e,n,s,r,o,a,l,u)},hydrate:AC,create:Hu,normalize:TC},yC=EC;function Wr(t,e){const n=t.props&&t.props[e];Z(n)&&n()}function vC(t,e,n,s,r,i,o,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),m=t.suspense=Hu(t,r,s,e,f,n,i,o,a,l);u(null,m.pendingBranch=t.ssContent,f,null,s,m,i,o),m.deps>0?(Wr(t,"onPending"),Wr(t,"onFallback"),u(null,t.ssFallback,e,n,s,null,i,o),Ls(m,t.ssFallback)):m.resolve(!1,!0)}function bC(t,e,n,s,r,i,o,a,{p:l,um:u,o:{createElement:c}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const m=e.ssContent,p=e.ssFallback,{activeBranch:E,pendingBranch:d,isInFallback:y,isHydrating:_}=f;if(d)f.pendingBranch=m,Ot(m,d)?(l(d,m,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():y&&(l(E,p,n,s,r,null,i,o,a),Ls(f,p))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=d):u(d,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(l(null,m,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0?f.resolve():(l(E,p,n,s,r,null,i,o,a),Ls(f,p))):E&&Ot(m,E)?(l(E,m,n,s,r,f,i,o,a),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0&&f.resolve()));else if(E&&Ot(m,E))l(E,m,n,s,r,f,i,o,a),Ls(f,m);else if(Wr(e,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,r,f,i,o,a),f.deps<=0)f.resolve();else{const{timeout:h,pendingId:b}=f;h>0?setTimeout(()=>{f.pendingId===b&&f.fallback(p)},h):h===0&&f.fallback(p)}}function Hu(t,e,n,s,r,i,o,a,l,u,c=!1){const{p:f,m,um:p,n:E,o:{parentNode:d,remove:y}}=u;let _;const h=CC(t);h&&e!=null&&e.pendingBranch&&(_=e.pendingId,e.deps++);const b=t.props?_o(t.props.timeout):void 0,g={vnode:t,parent:e,parentComponent:n,isSVG:o,container:s,hiddenContainer:r,anchor:i,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(A=!1,C=!1){const{vnode:O,activeBranch:v,pendingBranch:w,pendingId:k,effects:N,parentComponent:P,container:R}=g;if(g.isHydrating)g.isHydrating=!1;else if(!A){const W=v&&w.transition&&w.transition.mode==="out-in";W&&(v.transition.afterLeave=()=>{k===g.pendingId&&m(w,R,ee,0)});let{anchor:ee}=g;v&&(ee=E(v),p(v,P,g,!0)),W||m(w,R,ee,0)}Ls(g,w),g.pendingBranch=null,g.isInFallback=!1;let B=g.parent,X=!1;for(;B;){if(B.pendingBranch){B.effects.push(...N),X=!0;break}B=B.parent}X||$u(N),g.effects=[],h&&e&&e.pendingBranch&&_===e.pendingId&&(e.deps--,e.deps===0&&!C&&e.resolve()),Wr(O,"onResolve")},fallback(A){if(!g.pendingBranch)return;const{vnode:C,activeBranch:O,parentComponent:v,container:w,isSVG:k}=g;Wr(C,"onFallback");const N=E(O),P=()=>{g.isInFallback&&(f(null,A,w,N,v,null,k,a,l),Ls(g,A))},R=A.transition&&A.transition.mode==="out-in";R&&(O.transition.afterLeave=P),g.isInFallback=!0,p(O,v,null,!0),R||P()},move(A,C,O){g.activeBranch&&m(g.activeBranch,A,C,O),g.container=A},next(){return g.activeBranch&&E(g.activeBranch)},registerDep(A,C){const O=!!g.pendingBranch;O&&g.deps++;const v=A.vnode.el;A.asyncDep.catch(w=>{ds(w,A,0)}).then(w=>{if(A.isUnmounted||g.isUnmounted||g.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:k}=A;Ol(A,w,!1),v&&(k.el=v);const N=!v&&A.subTree.el;C(A,k,d(v||A.subTree.el),v?null:E(A.subTree),g,o,l),N&&y(N),ju(A,k.el),O&&--g.deps===0&&g.resolve()})},unmount(A,C){g.isUnmounted=!0,g.activeBranch&&p(g.activeBranch,n,A,C),g.pendingBranch&&p(g.pendingBranch,n,A,C)}};return g}function AC(t,e,n,s,r,i,o,a,l){const u=e.suspense=Hu(e,s,n,t.parentNode,document.createElement("div"),null,r,i,o,a,!0),c=l(t,u.pendingBranch=e.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),c}function TC(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=xf(s?n.default:n),t.ssFallback=s?xf(n.fallback):te(Me)}function xf(t){let e;if(Z(t)){const n=is&&t._c;n&&(t._d=!1,gi()),t=t(),n&&(t._d=!0,e=Ye,gm())}return U(t)&&(t=pC(t)),t=nt(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function $p(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):$u(t)}function Ls(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t,r=n.el=e.el;s&&s.subTree===n&&(s.vnode.el=r,ju(s,r))}function CC(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function kr(t,e){return pi(t,null,e)}function Vp(t,e){return pi(t,null,{flush:"post"})}function SC(t,e){return pi(t,null,{flush:"sync"})}const xi={};function yn(t,e,n){return pi(t,e,n)}function pi(t,e,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=pe){var a;const l=Nu()===((a=Se)==null?void 0:a.scope)?Se:null;let u,c=!1,f=!1;if(be(t)?(u=()=>t.value,c=$r(t)):tn(t)?(u=()=>t,s=!0):U(t)?(f=!0,c=t.some(g=>tn(g)||$r(g)),u=()=>t.map(g=>{if(be(g))return g.value;if(tn(g))return Wn(g);if(Z(g))return nn(g,l,2)})):Z(t)?e?u=()=>nn(t,l,2):u=()=>{if(!(l&&l.isUnmounted))return m&&m(),ot(t,l,3,[p])}:u=Ue,e&&s){const g=u;u=()=>Wn(g())}let m,p=g=>{m=h.onStop=()=>{nn(g,l,4)}},E;if(Gs)if(p=Ue,e?n&&ot(e,l,3,[u(),f?[]:void 0,p]):u(),r==="sync"){const g=km();E=g.__watcherHandles||(g.__watcherHandles=[])}else return Ue;let d=f?new Array(t.length).fill(xi):xi;const y=()=>{if(h.active)if(e){const g=h.run();(s||c||(f?g.some((A,C)=>Ks(A,d[C])):Ks(g,d)))&&(m&&m(),ot(e,l,3,[g,d===xi?void 0:f&&d[0]===xi?[]:d,p]),d=g)}else h.run()};y.allowRecurse=!!e;let _;r==="sync"?_=y:r==="post"?_=()=>Ie(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),_=()=>ea(y));const h=new di(u,_);e?n?y():d=h.run():r==="post"?Ie(h.run.bind(h),l&&l.suspense):h.run();const b=()=>{h.stop(),l&&l.scope&&Cu(l.scope.effects,h)};return E&&E.push(b),b}function wC(t,e,n){const s=this.proxy,r=ne(t)?t.includes(".")?jp(s,t):()=>s[t]:t.bind(s,s);let i;Z(e)?i=e:(i=e.handler,n=e);const o=Se;kn(this);const a=pi(r,i.bind(s),n);return o?kn(o):vn(),a}function jp(t,e){const n=e.split(".");return()=>{let s=t;for(let r=0;r{Wn(n,e)});else if(fp(t))for(const n in t)Wn(t[n],e);return t}function OC(t,e){const n=De;if(n===null)return t;const s=la(n)||n.proxy,r=t.dirs||(t.dirs=[]);for(let i=0;i{t.isMounted=!0}),oa(()=>{t.isUnmounting=!0}),t}const ht=[Function,Array],Wu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ht,onEnter:ht,onAfterEnter:ht,onEnterCancelled:ht,onBeforeLeave:ht,onLeave:ht,onAfterLeave:ht,onLeaveCancelled:ht,onBeforeAppear:ht,onAppear:ht,onAfterAppear:ht,onAppearCancelled:ht},kC={name:"BaseTransition",props:Wu,setup(t,{slots:e}){const n=un(),s=Uu();let r;return()=>{const i=e.default&&sa(e.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const d of i)if(d.type!==Me){o=d;break}}const a=Q(t),{mode:l}=a;if(s.isLeaving)return $a(o);const u=Bf(o);if(!u)return $a(o);const c=zs(u,a,s,n);ss(u,c);const f=n.subTree,m=f&&Bf(f);let p=!1;const{getTransitionKey:E}=u.type;if(E){const d=E();r===void 0?r=d:d!==r&&(r=d,p=!0)}if(m&&m.type!==Me&&(!Ot(u,m)||p)){const d=zs(m,a,s,n);if(ss(m,d),l==="out-in")return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},$a(o);l==="in-out"&&u.type!==Me&&(d.delayLeave=(y,_,h)=>{const b=Up(s,m);b[String(m.key)]=m,y._leaveCb=()=>{_(),y._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=h})}return o}}},Hp=kC;function Up(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function zs(t,e,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:E,onBeforeAppear:d,onAppear:y,onAfterAppear:_,onAppearCancelled:h}=e,b=String(t.key),g=Up(n,t),A=(v,w)=>{v&&ot(v,s,9,w)},C=(v,w)=>{const k=w[1];A(v,w),U(v)?v.every(N=>N.length<=1)&&k():v.length<=1&&k()},O={mode:i,persisted:o,beforeEnter(v){let w=a;if(!n.isMounted)if(r)w=d||a;else return;v._leaveCb&&v._leaveCb(!0);const k=g[b];k&&Ot(t,k)&&k.el._leaveCb&&k.el._leaveCb(),A(w,[v])},enter(v){let w=l,k=u,N=c;if(!n.isMounted)if(r)w=y||l,k=_||u,N=h||c;else return;let P=!1;const R=v._enterCb=B=>{P||(P=!0,B?A(N,[v]):A(k,[v]),O.delayedLeave&&O.delayedLeave(),v._enterCb=void 0)};w?C(w,[v,R]):R()},leave(v,w){const k=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return w();A(f,[v]);let N=!1;const P=v._leaveCb=R=>{N||(N=!0,w(),R?A(E,[v]):A(p,[v]),v._leaveCb=void 0,g[k]===t&&delete g[k])};g[k]=t,m?C(m,[v,P]):P()},clone(v){return zs(v,e,n,s)}};return O}function $a(t){if(mi(t))return t=Nt(t),t.children=null,t}function Bf(t){return mi(t)?t.children?t.children[0]:void 0:t}function ss(t,e){t.shapeFlag&6&&t.component?ss(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function sa(t,e=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iae({name:t.name},e,{setup:t}))():t}const Yn=t=>!!t.type.__asyncLoader;function Wp(t){Z(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:a}=t;let l=null,u,c=0;const f=()=>(c++,l=null,m()),m=()=>{let p;return l||(p=l=e().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),a)return new Promise((d,y)=>{a(E,()=>d(f()),()=>y(E),c+1)});throw E}).then(E=>p!==l&&l?l:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),u=E,E)))};return hs({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const p=Se;if(u)return()=>Va(u,p);const E=h=>{l=null,ds(h,p,13,!s)};if(o&&p.suspense||Gs)return m().then(h=>()=>Va(h,p)).catch(h=>(E(h),()=>s?te(s,{error:h}):null));const d=Ge(!1),y=Ge(),_=Ge(!!r);return r&&setTimeout(()=>{_.value=!1},r),i!=null&&setTimeout(()=>{if(!d.value&&!y.value){const h=new Error(`Async component timed out after ${i}ms.`);E(h),y.value=h}},i),m().then(()=>{d.value=!0,p.parent&&mi(p.parent.vnode)&&ea(p.parent.update)}).catch(h=>{E(h),y.value=h}),()=>{if(d.value&&u)return Va(u,p);if(y.value&&s)return te(s,{error:y.value});if(n&&!_.value)return te(n)}}})}function Va(t,e){const{ref:n,props:s,children:r,ce:i}=e.vnode,o=te(t,s,r);return o.ref=n,o.ce=i,delete e.vnode.ce,o}const mi=t=>t.type.__isKeepAlive,NC={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=un(),s=n.ctx;if(!s.renderer)return()=>{const h=e.default&&e.default();return h&&h.length===1?h[0]:h};const r=new Map,i=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=s,m=f("div");s.activate=(h,b,g,A,C)=>{const O=h.component;u(h,b,g,0,a),l(O.vnode,h,b,g,O,a,A,h.slotScopeIds,C),Ie(()=>{O.isDeactivated=!1,O.a&&Is(O.a);const v=h.props&&h.props.onVnodeMounted;v&&Ke(v,O.parent,h)},a)},s.deactivate=h=>{const b=h.component;u(h,m,null,1,a),Ie(()=>{b.da&&Is(b.da);const g=h.props&&h.props.onVnodeUnmounted;g&&Ke(g,b.parent,h),b.isDeactivated=!0},a)};function p(h){ja(h),c(h,n,a,!0)}function E(h){r.forEach((b,g)=>{const A=Nl(b.type);A&&(!h||!h(A))&&d(g)})}function d(h){const b=r.get(h);!o||!Ot(b,o)?p(b):o&&ja(o),r.delete(h),i.delete(h)}yn(()=>[t.include,t.exclude],([h,b])=>{h&&E(g=>Tr(h,g)),b&&E(g=>!Tr(b,g))},{flush:"post",deep:!0});let y=null;const _=()=>{y!=null&&r.set(y,Ha(n.subTree))};return ps(_),ia(_),oa(()=>{r.forEach(h=>{const{subTree:b,suspense:g}=n,A=Ha(b);if(h.type===A.type&&h.key===A.key){ja(A);const C=A.component.da;C&&Ie(C,g);return}p(h)})}),()=>{if(y=null,!e.default)return null;const h=e.default(),b=h[0];if(h.length>1)return o=null,h;if(!Ut(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let g=Ha(b);const A=g.type,C=Nl(Yn(g)?g.type.__asyncResolved||{}:A),{include:O,exclude:v,max:w}=t;if(O&&(!C||!Tr(O,C))||v&&C&&Tr(v,C))return o=g,b;const k=g.key==null?A:g.key,N=r.get(k);return g.el&&(g=Nt(g),b.shapeFlag&128&&(b.ssContent=g)),y=k,N?(g.el=N.el,g.component=N.component,g.transition&&ss(g,g.transition),g.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),w&&i.size>parseInt(w,10)&&d(i.values().next().value)),g.shapeFlag|=256,o=g,Bp(b.type)?b:g}}},PC=NC;function Tr(t,e){return U(t)?t.some(n=>Tr(n,e)):ne(t)?t.split(",").includes(e):GA(t)?t.test(e):!1}function qp(t,e){zp(t,"a",e)}function Kp(t,e){zp(t,"da",e)}function zp(t,e,n=Se){const s=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(ra(e,s,n),n){let r=n.parent;for(;r&&r.parent;)mi(r.parent.vnode)&&DC(s,e,n,r),r=r.parent}}function DC(t,e,n,s){const r=ra(e,t,s,!0);dr(()=>{Cu(s[e],r)},n)}function ja(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ha(t){return t.shapeFlag&128?t.ssContent:t}function ra(t,e,n=Se,s=!1){if(n){const r=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;ur(),kn(n);const a=ot(e,n,t,o);return vn(),cr(),a});return s?r.unshift(i):r.push(i),i}}const ln=t=>(e,n=Se)=>(!Gs||t==="sp")&&ra(t,(...s)=>e(...s),n),Gp=ln("bm"),ps=ln("m"),Yp=ln("bu"),ia=ln("u"),oa=ln("bum"),dr=ln("um"),Xp=ln("sp"),Jp=ln("rtg"),Zp=ln("rtc");function Qp(t,e=Se){ra("ec",t,e)}const qu="components",IC="directives";function RC(t,e){return Ku(qu,t,!0,e)||t}const em=Symbol.for("v-ndc");function LC(t){return ne(t)?Ku(qu,t,!1)||t:t||em}function FC(t){return Ku(IC,t)}function Ku(t,e,n=!0,s=!1){const r=De||Se;if(r){const i=r.type;if(t===qu){const a=Nl(i,!1);if(a&&(a===e||a===we(e)||a===fs(we(e))))return i}const o=$f(r[t]||i[t],e)||$f(r.appContext[t],e);return!o&&s?i:o}}function $f(t,e){return t&&(t[e]||t[we(e)]||t[fs(we(e))])}function MC(t,e,n,s){let r;const i=n&&n[s];if(U(t)||ne(t)){r=new Array(t.length);for(let o=0,a=t.length;oe(o,a,void 0,i&&i[a]));else{const o=Object.keys(t);r=new Array(o.length);for(let a=0,l=o.length;a{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return t}function BC(t,e,n={},s,r){if(De.isCE||De.parent&&Yn(De.parent)&&De.parent.isCE)return e!=="default"&&(n.name=e),te("slot",n,s&&s());let i=t[e];i&&i._c&&(i._d=!1),gi();const o=i&&tm(i(n)),a=Xu(Pe,{key:n.key||o&&o.key||`_${e}`},o||(s?s():[]),o&&t._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function tm(t){return t.some(e=>Ut(e)?!(e.type===Me||e.type===Pe&&!tm(e.children)):!0)?t:null}function $C(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:Ds(s)]=t[s];return n}const vl=t=>t?Am(t)?la(t)||t.proxy:vl(t.parent):null,Nr=ae(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>vl(t.parent),$root:t=>vl(t.root),$emit:t=>t.emit,$options:t=>zu(t),$forceUpdate:t=>t.f||(t.f=()=>ea(t.update)),$nextTick:t=>t.n||(t.n=fr.bind(t.proxy)),$watch:t=>wC.bind(t)}),Ua=(t,e)=>t!==pe&&!t.__isScriptSetup&&ue(t,e),bl={get({_:t},e){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:a,appContext:l}=t;let u;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return r[e];case 4:return n[e];case 3:return i[e]}else{if(Ua(s,e))return o[e]=1,s[e];if(r!==pe&&ue(r,e))return o[e]=2,r[e];if((u=t.propsOptions[0])&&ue(u,e))return o[e]=3,i[e];if(n!==pe&&ue(n,e))return o[e]=4,n[e];Al&&(o[e]=0)}}const c=Nr[e];let f,m;if(c)return e==="$attrs"&&Ze(t,"get",e),c(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==pe&&ue(n,e))return o[e]=4,n[e];if(m=l.config.globalProperties,ue(m,e))return m[e]},set({_:t},e,n){const{data:s,setupState:r,ctx:i}=t;return Ua(r,e)?(r[e]=n,!0):s!==pe&&ue(s,e)?(s[e]=n,!0):ue(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let a;return!!n[o]||t!==pe&&ue(t,o)||Ua(e,o)||(a=i[0])&&ue(a,o)||ue(s,o)||ue(Nr,o)||ue(r.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ue(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},VC=ae({},bl,{get(t,e){if(e!==Symbol.unscopables)return bl.get(t,e,t)},has(t,e){return e[0]!=="_"&&!eT(e)}});function jC(){return null}function HC(){return null}function UC(t){}function WC(t){}function qC(){return null}function KC(){}function zC(t,e){return null}function GC(){return nm().slots}function YC(){return nm().attrs}function XC(t,e,n){const s=un();if(n&&n.local){const r=Ge(t[e]);return yn(()=>t[e],i=>r.value=i),yn(r,i=>{i!==t[e]&&s.emit(`update:${e}`,i)}),r}else return{__v_isRef:!0,get value(){return t[e]},set value(r){s.emit(`update:${e}`,r)}}}function nm(){const t=un();return t.setupContext||(t.setupContext=wm(t))}function qr(t){return U(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function JC(t,e){const n=qr(t);for(const s in e){if(s.startsWith("__skip"))continue;let r=n[s];r?U(r)||Z(r)?r=n[s]={type:r,default:e[s]}:r.default=e[s]:r===null&&(r=n[s]={default:e[s]}),r&&e[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function ZC(t,e){return!t||!e?t||e:U(t)&&U(e)?t.concat(e):ae({},qr(t),qr(e))}function QC(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function eS(t){const e=un();let n=t();return vn(),Su(n)&&(n=n.catch(s=>{throw kn(e),s})),[n,()=>kn(e)]}let Al=!0;function tS(t){const e=zu(t),n=t.proxy,s=t.ctx;Al=!1,e.beforeCreate&&Vf(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:m,beforeUpdate:p,updated:E,activated:d,deactivated:y,beforeDestroy:_,beforeUnmount:h,destroyed:b,unmounted:g,render:A,renderTracked:C,renderTriggered:O,errorCaptured:v,serverPrefetch:w,expose:k,inheritAttrs:N,components:P,directives:R,filters:B}=e;if(u&&nS(u,s,null),o)for(const ee in o){const se=o[ee];Z(se)&&(s[ee]=se.bind(n))}if(r){const ee=r.call(n,n);me(ee)&&(t.data=Dt(ee))}if(Al=!0,i)for(const ee in i){const se=i[ee],_e=Z(se)?se.bind(n,n):Z(se.get)?se.get.bind(n,n):Ue,dt=!Z(se)&&Z(se.set)?se.set.bind(n):Ue,Be=ke({get:_e,set:dt});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Be.value,set:ye=>Be.value=ye})}if(a)for(const ee in a)sm(a[ee],s,n,ee);if(l){const ee=Z(l)?l.call(n):l;Reflect.ownKeys(ee).forEach(se=>{im(se,ee[se])})}c&&Vf(c,t,"c");function W(ee,se){U(se)?se.forEach(_e=>ee(_e.bind(n))):se&&ee(se.bind(n))}if(W(Gp,f),W(ps,m),W(Yp,p),W(ia,E),W(qp,d),W(Kp,y),W(Qp,v),W(Zp,C),W(Jp,O),W(oa,h),W(dr,g),W(Xp,w),U(k))if(k.length){const ee=t.exposed||(t.exposed={});k.forEach(se=>{Object.defineProperty(ee,se,{get:()=>n[se],set:_e=>n[se]=_e})})}else t.exposed||(t.exposed={});A&&t.render===Ue&&(t.render=A),N!=null&&(t.inheritAttrs=N),P&&(t.components=P),R&&(t.directives=R)}function nS(t,e,n=Ue){U(t)&&(t=Tl(t));for(const s in t){const r=t[s];let i;me(r)?"default"in r?i=Fs(r.from||s,r.default,!0):i=Fs(r.from||s):i=Fs(r),be(i)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[s]=i}}function Vf(t,e,n){ot(U(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function sm(t,e,n,s){const r=s.includes(".")?jp(n,s):()=>n[s];if(ne(t)){const i=e[t];Z(i)&&yn(r,i)}else if(Z(t))yn(r,t.bind(n));else if(me(t))if(U(t))t.forEach(i=>sm(i,e,n,s));else{const i=Z(t.handler)?t.handler.bind(n):e[t.handler];Z(i)&&yn(r,i,t)}}function zu(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,a=i.get(e);let l;return a?l=a:!r.length&&!n&&!s?l=e:(l={},r.length&&r.forEach(u=>vo(l,u,o,!0)),vo(l,e,o)),me(e)&&i.set(e,l),l}function vo(t,e,n,s=!1){const{mixins:r,extends:i}=e;i&&vo(t,i,n,!0),r&&r.forEach(o=>vo(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=sS[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const sS={data:jf,props:Hf,emits:Hf,methods:Cr,computed:Cr,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:Cr,directives:Cr,watch:iS,provide:jf,inject:rS};function jf(t,e){return e?t?function(){return ae(Z(t)?t.call(this,this):t,Z(e)?e.call(this,this):e)}:e:t}function rS(t,e){return Cr(Tl(t),Tl(e))}function Tl(t){if(U(t)){const e={};for(let n=0;n1)return n&&Z(e)?e.call(s&&s.proxy):e}}function om(){return!!(Se||De||Kr)}function lS(t,e,n,s=!1){const r={},i={};mo(i,aa,1),t.propsDefaults=Object.create(null),am(t,e,r,i);for(const o in t.propsOptions[0])o in r||(r[o]=void 0);n?t.props=s?r:Np(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function uS(t,e,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=t,a=Q(r),[l]=t.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[m,p]=lm(f,e,!0);ae(o,m),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!i&&!l)return me(t)&&s.set(t,Ns),Ns;if(U(i))for(let c=0;c-1,p[1]=d<0||E-1||ue(p,"default"))&&a.push(f)}}}const u=[o,a];return me(t)&&s.set(t,u),u}function Uf(t){return t[0]!=="$"}function Wf(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function qf(t,e){return Wf(t)===Wf(e)}function Kf(t,e){return U(e)?e.findIndex(n=>qf(n,t)):Z(e)&&qf(e,t)?0:-1}const um=t=>t[0]==="_"||t==="$stable",Gu=t=>U(t)?t.map(nt):[nt(t)],cS=(t,e,n)=>{if(e._n)return e;const s=Vu((...r)=>Gu(e(...r)),n);return s._c=!1,s},cm=(t,e,n)=>{const s=t._ctx;for(const r in t){if(um(r))continue;const i=t[r];if(Z(i))e[r]=cS(r,i,s);else if(i!=null){const o=Gu(i);e[r]=()=>o}}},fm=(t,e)=>{const n=Gu(e);t.slots.default=()=>n},fS=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Q(e),mo(e,"_",n)):cm(e,t.slots={})}else t.slots={},e&&fm(t,e);mo(t.slots,aa,1)},dS=(t,e,n)=>{const{vnode:s,slots:r}=t;let i=!0,o=pe;if(s.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:(ae(r,e),!n&&a===1&&delete r._):(i=!e.$stable,cm(e,r)),o=e}else e&&(fm(t,e),o={default:1});if(i)for(const a in r)!um(a)&&!(a in o)&&delete r[a]};function bo(t,e,n,s,r=!1){if(U(t)){t.forEach((m,p)=>bo(m,e&&(U(e)?e[p]:e),n,s,r));return}if(Yn(s)&&!r)return;const i=s.shapeFlag&4?la(s.component)||s.component.proxy:s.el,o=r?null:i,{i:a,r:l}=t,u=e&&e.r,c=a.refs===pe?a.refs={}:a.refs,f=a.setupState;if(u!=null&&u!==l&&(ne(u)?(c[u]=null,ue(f,u)&&(f[u]=null)):be(u)&&(u.value=null)),Z(l))nn(l,a,12,[o,c]);else{const m=ne(l),p=be(l);if(m||p){const E=()=>{if(t.f){const d=m?ue(f,l)?f[l]:c[l]:l.value;r?U(d)&&Cu(d,i):U(d)?d.includes(i)||d.push(i):m?(c[l]=[i],ue(f,l)&&(f[l]=c[l])):(l.value=[i],t.k&&(c[t.k]=l.value))}else m?(c[l]=o,ue(f,l)&&(f[l]=o)):p&&(l.value=o,t.k&&(c[t.k]=o))};o?(E.id=-1,Ie(E,n)):E()}}}let hn=!1;const Bi=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",$i=t=>t.nodeType===8;function hS(t){const{mt:e,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:a,insert:l,createComment:u}}=t,c=(_,h)=>{if(!h.hasChildNodes()){n(null,_,h),yo(),h._vnode=_;return}hn=!1,f(h.firstChild,_,null,null,null),yo(),h._vnode=_,hn&&console.error("Hydration completed but contains mismatches.")},f=(_,h,b,g,A,C=!1)=>{const O=$i(_)&&_.data==="[",v=()=>d(_,h,b,g,A,O),{type:w,ref:k,shapeFlag:N,patchFlag:P}=h;let R=_.nodeType;h.el=_,P===-2&&(C=!1,h.dynamicChildren=null);let B=null;switch(w){case rs:R!==3?h.children===""?(l(h.el=r(""),o(_),_),B=_):B=v():(_.data!==h.children&&(hn=!0,_.data=h.children),B=i(_));break;case Me:R!==8||O?B=v():B=i(_);break;case Xn:if(O&&(_=i(_),R=_.nodeType),R===1||R===3){B=_;const X=!h.children.length;for(let W=0;W{C=C||!!h.dynamicChildren;const{type:O,props:v,patchFlag:w,shapeFlag:k,dirs:N}=h,P=O==="input"&&N||O==="option";if(P||w!==-1){if(N&&xt(h,null,b,"created"),v)if(P||!C||w&48)for(const B in v)(P&&B.endsWith("value")||us(B)&&!zn(B))&&s(_,B,null,v[B],!1,void 0,b);else v.onClick&&s(_,"onClick",null,v.onClick,!1,void 0,b);let R;if((R=v&&v.onVnodeBeforeMount)&&Ke(R,b,h),N&&xt(h,null,b,"beforeMount"),((R=v&&v.onVnodeMounted)||N)&&$p(()=>{R&&Ke(R,b,h),N&&xt(h,null,b,"mounted")},g),k&16&&!(v&&(v.innerHTML||v.textContent))){let B=p(_.firstChild,h,_,b,g,A,C);for(;B;){hn=!0;const X=B;B=B.nextSibling,a(X)}}else k&8&&_.textContent!==h.children&&(hn=!0,_.textContent=h.children)}return _.nextSibling},p=(_,h,b,g,A,C,O)=>{O=O||!!h.dynamicChildren;const v=h.children,w=v.length;for(let k=0;k{const{slotScopeIds:O}=h;O&&(A=A?A.concat(O):O);const v=o(_),w=p(i(_),h,v,b,g,A,C);return w&&$i(w)&&w.data==="]"?i(h.anchor=w):(hn=!0,l(h.anchor=u("]"),v,w),w)},d=(_,h,b,g,A,C)=>{if(hn=!0,h.el=null,C){const w=y(_);for(;;){const k=i(_);if(k&&k!==w)a(k);else break}}const O=i(_),v=o(_);return a(_),n(null,h,v,O,b,g,Bi(v),A),O},y=_=>{let h=0;for(;_;)if(_=i(_),_&&$i(_)&&(_.data==="["&&h++,_.data==="]")){if(h===0)return i(_);h--}return _};return[c,f]}const Ie=$p;function dm(t){return pm(t)}function hm(t){return pm(t,hS)}function pm(t,e){const n=ml();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:m,setScopeId:p=Ue,insertStaticContent:E}=t,d=(T,S,D,F=null,L=null,V=null,H=!1,$=null,j=!!S.dynamicChildren)=>{if(T===S)return;T&&!Ot(T,S)&&(F=zt(T),ye(T,L,V,!0),T=null),S.patchFlag===-2&&(j=!1,S.dynamicChildren=null);const{type:x,ref:z,shapeFlag:q}=S;switch(x){case rs:y(T,S,D,F);break;case Me:_(T,S,D,F);break;case Xn:T==null&&h(S,D,F,H);break;case Pe:P(T,S,D,F,L,V,H,$,j);break;default:q&1?A(T,S,D,F,L,V,H,$,j):q&6?R(T,S,D,F,L,V,H,$,j):(q&64||q&128)&&x.process(T,S,D,F,L,V,H,$,j,Ft)}z!=null&&L&&bo(z,T&&T.ref,V,S||T,!S)},y=(T,S,D,F)=>{if(T==null)s(S.el=a(S.children),D,F);else{const L=S.el=T.el;S.children!==T.children&&u(L,S.children)}},_=(T,S,D,F)=>{T==null?s(S.el=l(S.children||""),D,F):S.el=T.el},h=(T,S,D,F)=>{[T.el,T.anchor]=E(T.children,S,D,F,T.el,T.anchor)},b=({el:T,anchor:S},D,F)=>{let L;for(;T&&T!==S;)L=m(T),s(T,D,F),T=L;s(S,D,F)},g=({el:T,anchor:S})=>{let D;for(;T&&T!==S;)D=m(T),r(T),T=D;r(S)},A=(T,S,D,F,L,V,H,$,j)=>{H=H||S.type==="svg",T==null?C(S,D,F,L,V,H,$,j):w(T,S,L,V,H,$,j)},C=(T,S,D,F,L,V,H,$)=>{let j,x;const{type:z,props:q,shapeFlag:K,transition:J,dirs:re}=T;if(j=T.el=o(T.type,V,q&&q.is,q),K&8?c(j,T.children):K&16&&v(T.children,j,null,F,L,V&&z!=="foreignObject",H,$),re&&xt(T,null,F,"created"),O(j,T,T.scopeId,H,F),q){for(const ce in q)ce!=="value"&&!zn(ce)&&i(j,ce,null,q[ce],V,T.children,F,L,$e);"value"in q&&i(j,"value",null,q.value),(x=q.onVnodeBeforeMount)&&Ke(x,F,T)}re&&xt(T,null,F,"beforeMount");const de=(!L||L&&!L.pendingBranch)&&J&&!J.persisted;de&&J.beforeEnter(j),s(j,S,D),((x=q&&q.onVnodeMounted)||de||re)&&Ie(()=>{x&&Ke(x,F,T),de&&J.enter(j),re&&xt(T,null,F,"mounted")},L)},O=(T,S,D,F,L)=>{if(D&&p(T,D),F)for(let V=0;V{for(let x=j;x{const $=S.el=T.el;let{patchFlag:j,dynamicChildren:x,dirs:z}=S;j|=T.patchFlag&16;const q=T.props||pe,K=S.props||pe;let J;D&&xn(D,!1),(J=K.onVnodeBeforeUpdate)&&Ke(J,D,S,T),z&&xt(S,T,D,"beforeUpdate"),D&&xn(D,!0);const re=L&&S.type!=="foreignObject";if(x?k(T.dynamicChildren,x,$,D,F,re,V):H||se(T,S,$,null,D,F,re,V,!1),j>0){if(j&16)N($,S,q,K,D,F,L);else if(j&2&&q.class!==K.class&&i($,"class",null,K.class,L),j&4&&i($,"style",q.style,K.style,L),j&8){const de=S.dynamicProps;for(let ce=0;ce{J&&Ke(J,D,S,T),z&&xt(S,T,D,"updated")},F)},k=(T,S,D,F,L,V,H)=>{for(let $=0;${if(D!==F){if(D!==pe)for(const $ in D)!zn($)&&!($ in F)&&i(T,$,D[$],null,H,S.children,L,V,$e);for(const $ in F){if(zn($))continue;const j=F[$],x=D[$];j!==x&&$!=="value"&&i(T,$,x,j,H,S.children,L,V,$e)}"value"in F&&i(T,"value",D.value,F.value)}},P=(T,S,D,F,L,V,H,$,j)=>{const x=S.el=T?T.el:a(""),z=S.anchor=T?T.anchor:a("");let{patchFlag:q,dynamicChildren:K,slotScopeIds:J}=S;J&&($=$?$.concat(J):J),T==null?(s(x,D,F),s(z,D,F),v(S.children,D,z,L,V,H,$,j)):q>0&&q&64&&K&&T.dynamicChildren?(k(T.dynamicChildren,K,D,L,V,H,$),(S.key!=null||L&&S===L.subTree)&&Yu(T,S,!0)):se(T,S,D,z,L,V,H,$,j)},R=(T,S,D,F,L,V,H,$,j)=>{S.slotScopeIds=$,T==null?S.shapeFlag&512?L.ctx.activate(S,D,F,H,j):B(S,D,F,L,V,H,j):X(T,S,j)},B=(T,S,D,F,L,V,H)=>{const $=T.component=bm(T,F,L);if(mi(T)&&($.ctx.renderer=Ft),Tm($),$.asyncDep){if(L&&L.registerDep($,W),!T.el){const j=$.subTree=te(Me);_(null,j,S,D)}return}W($,T,S,D,L,V,H)},X=(T,S,D)=>{const F=S.component=T.component;if(_C(T,S,D))if(F.asyncDep&&!F.asyncResolved){ee(F,S,D);return}else F.next=S,lC(F.update),F.update();else S.el=T.el,F.vnode=S},W=(T,S,D,F,L,V,H)=>{const $=()=>{if(T.isMounted){let{next:z,bu:q,u:K,parent:J,vnode:re}=T,de=z,ce;xn(T,!1),z?(z.el=re.el,ee(T,z,H)):z=re,q&&Is(q),(ce=z.props&&z.props.onVnodeBeforeUpdate)&&Ke(ce,J,z,re),xn(T,!0);const Te=eo(T),St=T.subTree;T.subTree=Te,d(St,Te,f(St.el),zt(St),T,L,V),z.el=Te.el,de===null&&ju(T,Te.el),K&&Ie(K,L),(ce=z.props&&z.props.onVnodeUpdated)&&Ie(()=>Ke(ce,J,z,re),L)}else{let z;const{el:q,props:K}=S,{bm:J,m:re,parent:de}=T,ce=Yn(S);if(xn(T,!1),J&&Is(J),!ce&&(z=K&&K.onVnodeBeforeMount)&&Ke(z,de,S),xn(T,!0),q&&Mn){const Te=()=>{T.subTree=eo(T),Mn(q,T.subTree,T,L,null)};ce?S.type.__asyncLoader().then(()=>!T.isUnmounted&&Te()):Te()}else{const Te=T.subTree=eo(T);d(null,Te,D,F,T,L,V),S.el=Te.el}if(re&&Ie(re,L),!ce&&(z=K&&K.onVnodeMounted)){const Te=S;Ie(()=>Ke(z,de,Te),L)}(S.shapeFlag&256||de&&Yn(de.vnode)&&de.vnode.shapeFlag&256)&&T.a&&Ie(T.a,L),T.isMounted=!0,S=D=F=null}},j=T.effect=new di($,()=>ea(x),T.scope),x=T.update=()=>j.run();x.id=T.uid,xn(T,!0),x()},ee=(T,S,D)=>{S.component=T;const F=T.vnode.props;T.vnode=S,T.next=null,uS(T,S.props,F,D),dS(T,S.children,D),ur(),Ff(),cr()},se=(T,S,D,F,L,V,H,$,j=!1)=>{const x=T&&T.children,z=T?T.shapeFlag:0,q=S.children,{patchFlag:K,shapeFlag:J}=S;if(K>0){if(K&128){dt(x,q,D,F,L,V,H,$,j);return}else if(K&256){_e(x,q,D,F,L,V,H,$,j);return}}J&8?(z&16&&$e(x,L,V),q!==x&&c(D,q)):z&16?J&16?dt(x,q,D,F,L,V,H,$,j):$e(x,L,V,!0):(z&8&&c(D,""),J&16&&v(q,D,F,L,V,H,$,j))},_e=(T,S,D,F,L,V,H,$,j)=>{T=T||Ns,S=S||Ns;const x=T.length,z=S.length,q=Math.min(x,z);let K;for(K=0;Kz?$e(T,L,V,!0,!1,q):v(S,D,F,L,V,H,$,j,q)},dt=(T,S,D,F,L,V,H,$,j)=>{let x=0;const z=S.length;let q=T.length-1,K=z-1;for(;x<=q&&x<=K;){const J=T[x],re=S[x]=j?_n(S[x]):nt(S[x]);if(Ot(J,re))d(J,re,D,null,L,V,H,$,j);else break;x++}for(;x<=q&&x<=K;){const J=T[q],re=S[K]=j?_n(S[K]):nt(S[K]);if(Ot(J,re))d(J,re,D,null,L,V,H,$,j);else break;q--,K--}if(x>q){if(x<=K){const J=K+1,re=JK)for(;x<=q;)ye(T[x],L,V,!0),x++;else{const J=x,re=x,de=new Map;for(x=re;x<=K;x++){const et=S[x]=j?_n(S[x]):nt(S[x]);et.key!=null&&de.set(et.key,x)}let ce,Te=0;const St=K-re+1;let ms=!1,Oc=0;const pr=new Array(St);for(x=0;x=St){ye(et,L,V,!0);continue}let Mt;if(et.key!=null)Mt=de.get(et.key);else for(ce=re;ce<=K;ce++)if(pr[ce-re]===0&&Ot(et,S[ce])){Mt=ce;break}Mt===void 0?ye(et,L,V,!0):(pr[Mt-re]=x+1,Mt>=Oc?Oc=Mt:ms=!0,d(et,S[Mt],D,null,L,V,H,$,j),Te++)}const kc=ms?pS(pr):Ns;for(ce=kc.length-1,x=St-1;x>=0;x--){const et=re+x,Mt=S[et],Nc=et+1{const{el:V,type:H,transition:$,children:j,shapeFlag:x}=T;if(x&6){Be(T.component.subTree,S,D,F);return}if(x&128){T.suspense.move(S,D,F);return}if(x&64){H.move(T,S,D,Ft);return}if(H===Pe){s(V,S,D);for(let q=0;q$.enter(V),L);else{const{leave:q,delayLeave:K,afterLeave:J}=$,re=()=>s(V,S,D),de=()=>{q(V,()=>{re(),J&&J()})};K?K(V,re,de):de()}else s(V,S,D)},ye=(T,S,D,F=!1,L=!1)=>{const{type:V,props:H,ref:$,children:j,dynamicChildren:x,shapeFlag:z,patchFlag:q,dirs:K}=T;if($!=null&&bo($,null,D,T,!0),z&256){S.ctx.deactivate(T);return}const J=z&1&&K,re=!Yn(T);let de;if(re&&(de=H&&H.onVnodeBeforeUnmount)&&Ke(de,S,T),z&6)qe(T.component,D,F);else{if(z&128){T.suspense.unmount(D,F);return}J&&xt(T,null,S,"beforeUnmount"),z&64?T.type.remove(T,S,D,L,Ft,F):x&&(V!==Pe||q>0&&q&64)?$e(x,S,D,!1,!0):(V===Pe&&q&384||!L&&z&16)&&$e(j,S,D),F&&It(T)}(re&&(de=H&&H.onVnodeUnmounted)||J)&&Ie(()=>{de&&Ke(de,S,T),J&&xt(T,null,S,"unmounted")},D)},It=T=>{const{type:S,el:D,anchor:F,transition:L}=T;if(S===Pe){Rt(D,F);return}if(S===Xn){g(T);return}const V=()=>{r(D),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(T.shapeFlag&1&&L&&!L.persisted){const{leave:H,delayLeave:$}=L,j=()=>H(D,V);$?$(T.el,V,j):j()}else V()},Rt=(T,S)=>{let D;for(;T!==S;)D=m(T),r(T),T=D;r(S)},qe=(T,S,D)=>{const{bum:F,scope:L,update:V,subTree:H,um:$}=T;F&&Is(F),L.stop(),V&&(V.active=!1,ye(H,T,S,D)),$&&Ie($,S),Ie(()=>{T.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},$e=(T,S,D,F=!1,L=!1,V=0)=>{for(let H=V;HT.shapeFlag&6?zt(T.component.subTree):T.shapeFlag&128?T.suspense.next():m(T.anchor||T.el),Lt=(T,S,D)=>{T==null?S._vnode&&ye(S._vnode,null,null,!0):d(S._vnode||null,T,S,null,null,null,D),Ff(),yo(),S._vnode=T},Ft={p:d,um:ye,m:Be,r:It,mt:B,mc:v,pc:se,pbc:k,n:zt,o:t};let hr,Mn;return e&&([hr,Mn]=e(Ft)),{render:Lt,hydrate:hr,createApp:aS(Lt,hr)}}function xn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Yu(t,e,n=!1){const s=t.children,r=e.children;if(U(s)&&U(r))for(let i=0;i>1,t[n[a]]0&&(e[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=e[o];return n}const mS=t=>t.__isTeleport,Pr=t=>t&&(t.disabled||t.disabled===""),zf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Sl=(t,e)=>{const n=t&&t.to;return ne(n)?e?e(n):null:n},gS={__isTeleport:!0,process(t,e,n,s,r,i,o,a,l,u){const{mc:c,pc:f,pbc:m,o:{insert:p,querySelector:E,createText:d,createComment:y}}=u,_=Pr(e.props);let{shapeFlag:h,children:b,dynamicChildren:g}=e;if(t==null){const A=e.el=d(""),C=e.anchor=d("");p(A,n,s),p(C,n,s);const O=e.target=Sl(e.props,E),v=e.targetAnchor=d("");O&&(p(v,O),o=o||zf(O));const w=(k,N)=>{h&16&&c(b,k,N,r,i,o,a,l)};_?w(n,C):O&&w(O,v)}else{e.el=t.el;const A=e.anchor=t.anchor,C=e.target=t.target,O=e.targetAnchor=t.targetAnchor,v=Pr(t.props),w=v?n:C,k=v?A:O;if(o=o||zf(C),g?(m(t.dynamicChildren,g,w,r,i,o,a),Yu(t,e,!0)):l||f(t,e,w,k,r,i,o,a,!1),_)v||Vi(e,n,A,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const N=e.target=Sl(e.props,E);N&&Vi(e,N,null,u,0)}else v&&Vi(e,C,O,u,1)}mm(e)},remove(t,e,n,s,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:u,targetAnchor:c,target:f,props:m}=t;if(f&&i(c),(o||!Pr(m))&&(i(u),a&16))for(let p=0;p0?Ye||Ns:null,gm(),is>0&&Ye&&Ye.push(t),t}function Em(t,e,n,s,r,i){return _m(Ju(t,e,n,s,r,i,!0))}function Xu(t,e,n,s,r){return _m(te(t,e,n,s,r,!0))}function Ut(t){return t?t.__v_isVNode===!0:!1}function Ot(t,e){return t.type===e.type&&t.key===e.key}function yS(t){}const aa="__vInternal",ym=({key:t})=>t??null,to=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ne(t)||be(t)||Z(t)?{i:De,r:t,k:e,f:!!n}:t:null);function Ju(t,e=null,n=null,s=0,r=null,i=t===Pe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ym(e),ref:e&&to(e),scopeId:na,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:De};return a?(Qu(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=ne(n)?8:16),is>0&&!o&&Ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ye.push(l),l}const te=vS;function vS(t,e=null,n=null,s=0,r=null,i=!1){if((!t||t===em)&&(t=Me),Ut(t)){const a=Nt(t,e,!0);return n&&Qu(a,n),is>0&&!i&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(t)]=a:Ye.push(a)),a.patchFlag|=-2,a}if(kS(t)&&(t=t.__vccOpts),e){e=vm(e);let{class:a,style:l}=e;a&&!ne(a)&&(e.class=fi(a)),me(l)&&(Ru(l)&&!U(l)&&(l=ae({},l)),e.style=ci(l))}const o=ne(t)?1:Bp(t)?128:mS(t)?64:me(t)?4:Z(t)?2:0;return Ju(t,e,n,s,r,o,i,!0)}function vm(t){return t?Ru(t)||aa in t?ae({},t):t:null}function Nt(t,e,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=t,a=e?Kt(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&ym(a),ref:e&&e.ref?n&&r?U(r)?r.concat(to(e)):[r,to(e)]:to(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Pe?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Nt(t.ssContent),ssFallback:t.ssFallback&&Nt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Zu(t=" ",e=0){return te(rs,null,t,e)}function bS(t,e){const n=te(Xn,null,t);return n.staticCount=e,n}function AS(t="",e=!1){return e?(gi(),Xu(Me,null,t)):te(Me,null,t)}function nt(t){return t==null||typeof t=="boolean"?te(Me):U(t)?te(Pe,null,t.slice()):typeof t=="object"?_n(t):te(rs,null,String(t))}function _n(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Nt(t)}function Qu(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(U(e))n=16;else if(typeof e=="object")if(s&65){const r=e.default;r&&(r._c&&(r._d=!1),Qu(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(aa in e)?e._ctx=De:r===3&&De&&(De.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Z(e)?(e={default:e,_ctx:De},n=32):(e=String(e),s&64?(n=16,e=[Zu(e)]):n=8);t.children=e,t.shapeFlag|=n}function Kt(...t){const e={};for(let n=0;nSe||De;let ec,Es,Gf="__VUE_INSTANCE_SETTERS__";(Es=ml()[Gf])||(Es=ml()[Gf]=[]),Es.push(t=>Se=t),ec=t=>{Es.length>1?Es.forEach(e=>e(t)):Es[0](t)};const kn=t=>{ec(t),t.scope.on()},vn=()=>{Se&&Se.scope.off(),ec(null)};function Am(t){return t.vnode.shapeFlag&4}let Gs=!1;function Tm(t,e=!1){Gs=e;const{props:n,children:s}=t.vnode,r=Am(t);lS(t,n,r,e),fS(t,s);const i=r?SS(t,e):void 0;return Gs=!1,i}function SS(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=hi(new Proxy(t.ctx,bl));const{setup:s}=n;if(s){const r=t.setupContext=s.length>1?wm(t):null;kn(t),ur();const i=nn(s,t,0,[t.props,r]);if(cr(),vn(),Su(i)){if(i.then(vn,vn),e)return i.then(o=>{Ol(t,o,e)}).catch(o=>{ds(o,t,0)});t.asyncDep=i}else Ol(t,i,e)}else Sm(t,e)}function Ol(t,e,n){Z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=xu(e)),Sm(t,n)}let Ao,kl;function Cm(t){Ao=t,kl=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,VC))}}const wS=()=>!Ao;function Sm(t,e,n){const s=t.type;if(!t.render){if(!e&&Ao&&!s.render){const r=s.template||zu(t).template;if(r){const{isCustomElement:i,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,u=ae(ae({isCustomElement:i,delimiters:a},o),l);s.render=Ao(r,u)}}t.render=s.render||Ue,kl&&kl(t)}kn(t),ur(),tS(t),cr(),vn()}function OS(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Ze(t,"get","$attrs"),e[n]}}))}function wm(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return OS(t)},slots:t.slots,emit:t.emit,expose:e}}function la(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(xu(hi(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Nr)return Nr[n](t)},has(e,n){return n in e||n in Nr}}))}function Nl(t,e=!0){return Z(t)?t.displayName||t.name:t.name||e&&t.__name}function kS(t){return Z(t)&&"__vccOpts"in t}const ke=(t,e)=>sC(t,e,Gs);function ws(t,e,n){const s=arguments.length;return s===2?me(e)&&!U(e)?Ut(e)?te(t,null,[e]):te(t,e):te(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ut(n)&&(n=[n]),te(t,e,n))}const Om=Symbol.for("v-scx"),km=()=>Fs(Om);function NS(){}function PS(t,e,n,s){const r=n[s];if(r&&Nm(r,t))return r;const i=e();return i.memo=t.slice(),n[s]=i}function Nm(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let s=0;s0&&Ye&&Ye.push(t),!0}const Pm="3.3.4",DS={createComponentInstance:bm,setupComponent:Tm,renderComponentRoot:eo,setCurrentRenderingInstance:Ur,isVNode:Ut,normalizeVNode:nt},IS=DS,RS=null,LS=null,FS="http://www.w3.org/2000/svg",Vn=typeof document<"u"?document:null,Yf=Vn&&Vn.createElement("template"),MS={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e?Vn.createElementNS(FS,t):Vn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>Vn.createTextNode(t),createComment:t=>Vn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,i){const o=n?n.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Yf.innerHTML=s?`${t}`:t;const a=Yf.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function xS(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function BS(t,e,n){const s=t.style,r=ne(n);if(n&&!r){if(e&&!ne(e))for(const i in e)n[i]==null&&Pl(s,i,"");for(const i in n)Pl(s,i,n[i])}else{const i=s.display;r?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=i)}}const Xf=/\s*!important$/;function Pl(t,e,n){if(U(n))n.forEach(s=>Pl(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=$S(t,e);Xf.test(n)?t.setProperty(rt(s),n.replace(Xf,""),"important"):t[s]=n}}const Jf=["Webkit","Moz","ms"],Wa={};function $S(t,e){const n=Wa[e];if(n)return n;let s=we(e);if(s!=="filter"&&s in t)return Wa[e]=s;s=fs(s);for(let r=0;rqa||(qS.then(()=>qa=0),qa=Date.now());function zS(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ot(GS(s,n.value),e,5,[s])};return n.value=t,n.attached=KS(),n}function GS(t,e){if(U(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const ed=/^on[a-z]/,YS=(t,e,n,s,r=!1,i,o,a,l)=>{e==="class"?xS(t,s,r):e==="style"?BS(t,n,s):us(e)?Tu(e)||US(t,e,n,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):XS(t,e,s,r))?jS(t,e,s,i,o,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),VS(t,e,s,r))};function XS(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&ed.test(e)&&Z(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||ed.test(e)&&ne(n)?!1:e in t}function Dm(t,e){const n=hs(t);class s extends ua{constructor(i){super(n,i,e)}}return s.def=n,s}const JS=t=>Dm(t,zm),ZS=typeof HTMLElement<"u"?HTMLElement:class{};class ua extends ZS{constructor(e,n={},s){super(),this._def=e,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,fr(()=>{this._connected||(Rl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const e=(s,r=!1)=>{const{props:i,styles:o}=s;let a;if(i&&!U(i))for(const l in i){const u=i[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=_o(this._props[l])),(a||(a=Object.create(null)))[we(l)]=!0)}this._numberProps=a,r&&this._resolveProps(s),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(s=>e(s,!0)):e(this._def)}_resolveProps(e){const{props:n}=e,s=U(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(we))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i)}})}_setAttr(e){let n=this.getAttribute(e);const s=we(e);this._numberProps&&this._numberProps[s]&&(n=_o(n)),this._setProp(s,n,!1)}_getProp(e){return this._props[e]}_setProp(e,n,s=!0,r=!0){n!==this._props[e]&&(this._props[e]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(rt(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(rt(e),n+""):n||this.removeAttribute(rt(e))))}_update(){Rl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=te(this._def,ae({},this._props));return this._instance||(e.ce=n=>{this._instance=n,n.isCE=!0;const s=(i,o)=>{this.dispatchEvent(new CustomEvent(i,{detail:o}))};n.emit=(i,...o)=>{s(i,o),rt(i)!==i&&s(rt(i),o)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof ua){n.parent=r._instance,n.provides=r._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function QS(t="$style"){{const e=un();if(!e)return pe;const n=e.type.__cssModules;if(!n)return pe;const s=n[t];return s||pe}}function e1(t){const e=un();if(!e)return;const n=e.ut=(r=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>Il(i,r))},s=()=>{const r=t(e.proxy);Dl(e.subTree,r),n(r)};Vp(s),ps(()=>{const r=new MutationObserver(s);r.observe(e.subTree.el.parentNode,{childList:!0}),dr(()=>r.disconnect())})}function Dl(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Dl(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Il(t.el,e);else if(t.type===Pe)t.children.forEach(n=>Dl(n,e));else if(t.type===Xn){let{el:n,anchor:s}=t;for(;n&&(Il(n,e),n!==s);)n=n.nextSibling}}function Il(t,e){if(t.nodeType===1){const n=t.style;for(const s in e)n.setProperty(`--${s}`,e[s])}}const pn="transition",Er="animation",tc=(t,{slots:e})=>ws(Hp,Rm(t),e);tc.displayName="Transition";const Im={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},t1=tc.props=ae({},Wu,Im),Bn=(t,e=[])=>{U(t)?t.forEach(n=>n(...e)):t&&t(...e)},td=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function Rm(t){const e={};for(const P in t)P in Im||(e[P]=t[P]);if(t.css===!1)return e;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,E=n1(r),d=E&&E[0],y=E&&E[1],{onBeforeEnter:_,onEnter:h,onEnterCancelled:b,onLeave:g,onLeaveCancelled:A,onBeforeAppear:C=_,onAppear:O=h,onAppearCancelled:v=b}=e,w=(P,R,B)=>{mn(P,R?c:a),mn(P,R?u:o),B&&B()},k=(P,R)=>{P._isLeaving=!1,mn(P,f),mn(P,p),mn(P,m),R&&R()},N=P=>(R,B)=>{const X=P?O:h,W=()=>w(R,P,B);Bn(X,[R,W]),nd(()=>{mn(R,P?l:i),Gt(R,P?c:a),td(X)||sd(R,s,d,W)})};return ae(e,{onBeforeEnter(P){Bn(_,[P]),Gt(P,i),Gt(P,o)},onBeforeAppear(P){Bn(C,[P]),Gt(P,l),Gt(P,u)},onEnter:N(!1),onAppear:N(!0),onLeave(P,R){P._isLeaving=!0;const B=()=>k(P,R);Gt(P,f),Fm(),Gt(P,m),nd(()=>{P._isLeaving&&(mn(P,f),Gt(P,p),td(g)||sd(P,s,y,B))}),Bn(g,[P,B])},onEnterCancelled(P){w(P,!1),Bn(b,[P])},onAppearCancelled(P){w(P,!0),Bn(v,[P])},onLeaveCancelled(P){k(P),Bn(A,[P])}})}function n1(t){if(t==null)return null;if(me(t))return[Ka(t.enter),Ka(t.leave)];{const e=Ka(t);return[e,e]}}function Ka(t){return _o(t)}function Gt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function mn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function nd(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let s1=0;function sd(t,e,n,s){const r=t._endId=++s1,i=()=>{r===t._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=Lm(t,e);if(!o)return s();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,m),i()},m=p=>{p.target===t&&++c>=l&&f()};setTimeout(()=>{c(n[E]||"").split(", "),r=s(`${pn}Delay`),i=s(`${pn}Duration`),o=rd(r,i),a=s(`${Er}Delay`),l=s(`${Er}Duration`),u=rd(a,l);let c=null,f=0,m=0;e===pn?o>0&&(c=pn,f=o,m=i.length):e===Er?u>0&&(c=Er,f=u,m=l.length):(f=Math.max(o,u),c=f>0?o>u?pn:Er:null,m=c?c===pn?i.length:l.length:0);const p=c===pn&&/\b(transform|all)(,|$)/.test(s(`${pn}Property`).toString());return{type:c,timeout:f,propCount:m,hasTransform:p}}function rd(t,e){for(;t.lengthid(n)+id(t[s])))}function id(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Fm(){return document.body.offsetHeight}const Mm=new WeakMap,xm=new WeakMap,Bm={name:"TransitionGroup",props:ae({},t1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=un(),s=Uu();let r,i;return ia(()=>{if(!r.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!u1(r[0].el,n.vnode.el,o))return;r.forEach(o1),r.forEach(a1);const a=r.filter(l1);Fm(),a.forEach(l=>{const u=l.el,c=u.style;Gt(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=m=>{m&&m.target!==u||(!m||/transform$/.test(m.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,mn(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=Q(t),a=Rm(o);let l=o.tag||Pe;r=i,i=e.default?sa(e.default()):[];for(let u=0;udelete t.mode;Bm.props;const i1=Bm;function o1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function a1(t){xm.set(t,t.el.getBoundingClientRect())}function l1(t){const e=Mm.get(t),n=xm.get(t),s=e.left-n.left,r=e.top-n.top;if(s||r){const i=t.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",t}}function u1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:i}=Lm(s);return r.removeChild(s),i}const Nn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return U(e)?n=>Is(e,n):e};function c1(t){t.target.composing=!0}function od(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const To={created(t,{modifiers:{lazy:e,trim:n,number:s}},r){t._assign=Nn(r);const i=s||r.props&&r.props.type==="number";Xt(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),i&&(a=go(a)),t._assign(a)}),n&&Xt(t,"change",()=>{t.value=t.value.trim()}),e||(Xt(t,"compositionstart",c1),Xt(t,"compositionend",od),Xt(t,"change",od))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:r}},i){if(t._assign=Nn(i),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(r||t.type==="number")&&go(t.value)===e))return;const o=e??"";t.value!==o&&(t.value=o)}},nc={deep:!0,created(t,e,n){t._assign=Nn(n),Xt(t,"change",()=>{const s=t._modelValue,r=Ys(t),i=t.checked,o=t._assign;if(U(s)){const a=Go(s,r),l=a!==-1;if(i&&!l)o(s.concat(r));else if(!i&&l){const u=[...s];u.splice(a,1),o(u)}}else if(cs(s)){const a=new Set(s);i?a.add(r):a.delete(r),o(a)}else o(Vm(t,i))})},mounted:ad,beforeUpdate(t,e,n){t._assign=Nn(n),ad(t,e,n)}};function ad(t,{value:e,oldValue:n},s){t._modelValue=e,U(e)?t.checked=Go(e,s.props.value)>-1:cs(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=wn(e,Vm(t,!0)))}const sc={created(t,{value:e},n){t.checked=wn(e,n.props.value),t._assign=Nn(n),Xt(t,"change",()=>{t._assign(Ys(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t._assign=Nn(s),e!==n&&(t.checked=wn(e,s.props.value))}},$m={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const r=cs(e);Xt(t,"change",()=>{const i=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?go(Ys(o)):Ys(o));t._assign(t.multiple?r?new Set(i):i:i[0])}),t._assign=Nn(s)},mounted(t,{value:e}){ld(t,e)},beforeUpdate(t,e,n){t._assign=Nn(n)},updated(t,{value:e}){ld(t,e)}};function ld(t,e){const n=t.multiple;if(!(n&&!U(e)&&!cs(e))){for(let s=0,r=t.options.length;s-1:i.selected=e.has(o);else if(wn(Ys(i),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ys(t){return"_value"in t?t._value:t.value}function Vm(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const jm={created(t,e,n){ji(t,e,n,null,"created")},mounted(t,e,n){ji(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){ji(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){ji(t,e,n,s,"updated")}};function Hm(t,e){switch(t){case"SELECT":return $m;case"TEXTAREA":return To;default:switch(e){case"checkbox":return nc;case"radio":return sc;default:return To}}}function ji(t,e,n,s,r){const o=Hm(t.tagName,n.props&&n.props.type)[r];o&&o(t,e,n,s)}function f1(){To.getSSRProps=({value:t})=>({value:t}),sc.getSSRProps=({value:t},e)=>{if(e.props&&wn(e.props.value,t))return{checked:!0}},nc.getSSRProps=({value:t},e)=>{if(U(t)){if(e.props&&Go(t,e.props.value)>-1)return{checked:!0}}else if(cs(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},jm.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=Hm(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const d1=["ctrl","shift","alt","meta"],h1={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>d1.some(n=>t[`${n}Key`]&&!e.includes(n))},p1=(t,e)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=rt(n.key);if(e.some(r=>r===s||m1[r]===s))return t(n)},Um={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):yr(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),yr(t,!0),s.enter(t)):s.leave(t,()=>{yr(t,!1)}):yr(t,e))},beforeUnmount(t,{value:e}){yr(t,e)}};function yr(t,e){t.style.display=e?t._vod:"none"}function _1(){Um.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Wm=ae({patchProp:YS},MS);let Ir,ud=!1;function qm(){return Ir||(Ir=dm(Wm))}function Km(){return Ir=ud?Ir:hm(Wm),ud=!0,Ir}const Rl=(...t)=>{qm().render(...t)},zm=(...t)=>{Km().hydrate(...t)},rc=(...t)=>{const e=qm().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=Gm(s);if(!r)return;const i=e._component;!Z(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e},E1=(...t)=>{const e=Km().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=Gm(s);if(r)return n(r,!0,r instanceof SVGElement)},e};function Gm(t){return ne(t)?document.querySelector(t):t}let cd=!1;const y1=()=>{cd||(cd=!0,f1(),_1())},v1=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Hp,BaseTransitionPropsValidators:Wu,Comment:Me,EffectScope:Ou,Fragment:Pe,KeepAlive:PC,ReactiveEffect:di,Static:Xn,Suspense:yC,Teleport:ES,Text:rs,Transition:tc,TransitionGroup:i1,VueElement:ua,assertNumber:iC,callWithAsyncErrorHandling:ot,callWithErrorHandling:nn,camelize:we,capitalize:fs,cloneVNode:Nt,compatUtils:LS,computed:ke,createApp:rc,createBlock:Xu,createCommentVNode:AS,createElementBlock:Em,createElementVNode:Ju,createHydrationRenderer:hm,createPropsRestProxy:QC,createRenderer:dm,createSSRApp:E1,createSlots:xC,createStaticVNode:bS,createTextVNode:Zu,createVNode:te,customRef:ZT,defineAsyncComponent:Wp,defineComponent:hs,defineCustomElement:Dm,defineEmits:HC,defineExpose:UC,defineModel:KC,defineOptions:WC,defineProps:jC,defineSSRCustomElement:JS,defineSlots:qC,get devtools(){return Cs},effect:_T,effectScope:ku,getCurrentInstance:un,getCurrentScope:Nu,getTransitionRawChildren:sa,guardReactiveProps:vm,h:ws,handleError:ds,hasInjectionContext:om,hydrate:zm,initCustomFormatter:NS,initDirectivesForSSR:y1,inject:Fs,isMemoSame:Nm,isProxy:Ru,isReactive:tn,isReadonly:ns,isRef:be,isRuntimeOnly:wS,isShallow:$r,isVNode:Ut,markRaw:hi,mergeDefaults:JC,mergeModels:ZC,mergeProps:Kt,nextTick:fr,normalizeClass:fi,normalizeProps:rT,normalizeStyle:ci,onActivated:qp,onBeforeMount:Gp,onBeforeUnmount:oa,onBeforeUpdate:Yp,onDeactivated:Kp,onErrorCaptured:Qp,onMounted:ps,onRenderTracked:Zp,onRenderTriggered:Jp,onScopeDispose:gp,onServerPrefetch:Xp,onUnmounted:dr,onUpdated:ia,openBlock:gi,popScopeId:dC,provide:im,proxyRefs:xu,pushScopeId:fC,queuePostFlushCb:$u,reactive:Dt,readonly:Iu,ref:Ge,registerRuntimeCompiler:Cm,render:Rl,renderList:MC,renderSlot:BC,resolveComponent:RC,resolveDirective:FC,resolveDynamicComponent:LC,resolveFilter:RS,resolveTransitionHooks:zs,setBlockTracking:wl,setDevtoolsHook:Mp,setTransitionHooks:ss,shallowReactive:Np,shallowReadonly:qT,shallowRef:KT,ssrContextKey:Om,ssrUtils:IS,stop:ET,toDisplayString:pT,toHandlerKey:Ds,toHandlers:$C,toRaw:Q,toRef:tC,toRefs:Dp,toValue:YT,transformVNodeArgs:yS,triggerRef:GT,unref:Mu,useAttrs:YC,useCssModule:QS,useCssVars:e1,useModel:XC,useSSRContext:km,useSlots:GC,useTransitionState:Uu,vModelCheckbox:nc,vModelDynamic:jm,vModelRadio:sc,vModelSelect:$m,vModelText:To,vShow:Um,version:Pm,warn:rC,watch:yn,watchEffect:kr,watchPostEffect:Vp,watchSyncEffect:SC,withAsyncContext:eS,withCtx:Vu,withDefaults:zC,withDirectives:OC,withKeys:g1,withMemo:PS,withModifiers:p1,withScopeId:hC},Symbol.toStringTag,{value:"Module"}));function ic(t){throw t}function Ym(t){}function ve(t,e,n,s){const r=t,i=new SyntaxError(String(r));return i.code=t,i.loc=e,i}const zr=Symbol(""),Rr=Symbol(""),oc=Symbol(""),Co=Symbol(""),Xm=Symbol(""),os=Symbol(""),Jm=Symbol(""),Zm=Symbol(""),ac=Symbol(""),lc=Symbol(""),_i=Symbol(""),uc=Symbol(""),Qm=Symbol(""),cc=Symbol(""),So=Symbol(""),fc=Symbol(""),dc=Symbol(""),hc=Symbol(""),pc=Symbol(""),eg=Symbol(""),tg=Symbol(""),ca=Symbol(""),wo=Symbol(""),mc=Symbol(""),gc=Symbol(""),Gr=Symbol(""),Ei=Symbol(""),_c=Symbol(""),Ll=Symbol(""),b1=Symbol(""),Fl=Symbol(""),Oo=Symbol(""),A1=Symbol(""),T1=Symbol(""),Ec=Symbol(""),C1=Symbol(""),S1=Symbol(""),yc=Symbol(""),ng=Symbol(""),Xs={[zr]:"Fragment",[Rr]:"Teleport",[oc]:"Suspense",[Co]:"KeepAlive",[Xm]:"BaseTransition",[os]:"openBlock",[Jm]:"createBlock",[Zm]:"createElementBlock",[ac]:"createVNode",[lc]:"createElementVNode",[_i]:"createCommentVNode",[uc]:"createTextVNode",[Qm]:"createStaticVNode",[cc]:"resolveComponent",[So]:"resolveDynamicComponent",[fc]:"resolveDirective",[dc]:"resolveFilter",[hc]:"withDirectives",[pc]:"renderList",[eg]:"renderSlot",[tg]:"createSlots",[ca]:"toDisplayString",[wo]:"mergeProps",[mc]:"normalizeClass",[gc]:"normalizeStyle",[Gr]:"normalizeProps",[Ei]:"guardReactiveProps",[_c]:"toHandlers",[Ll]:"camelize",[b1]:"capitalize",[Fl]:"toHandlerKey",[Oo]:"setBlockTracking",[A1]:"pushScopeId",[T1]:"popScopeId",[Ec]:"withCtx",[C1]:"unref",[S1]:"isRef",[yc]:"withMemo",[ng]:"isMemoSame"};function w1(t){Object.getOwnPropertySymbols(t).forEach(e=>{Xs[e]=t[e]})}const ft={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function O1(t,e=ft){return{type:0,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function Yr(t,e,n,s,r,i,o,a=!1,l=!1,u=!1,c=ft){return t&&(a?(t.helper(os),t.helper(Qs(t.inSSR,u))):t.helper(Zs(t.inSSR,u)),o&&t.helper(hc)),{type:13,tag:e,props:n,children:s,patchFlag:r,dynamicProps:i,directives:o,isBlock:a,disableTracking:l,isComponent:u,loc:c}}function yi(t,e=ft){return{type:17,loc:e,elements:t}}function gt(t,e=ft){return{type:15,loc:e,properties:t}}function Ae(t,e){return{type:16,loc:ft,key:ne(t)?ie(t,!0):t,value:e}}function ie(t,e=!1,n=ft,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function kt(t,e=ft){return{type:8,loc:e,children:t}}function Ce(t,e=[],n=ft){return{type:14,loc:n,callee:t,arguments:e}}function Js(t,e=void 0,n=!1,s=!1,r=ft){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:r}}function Ml(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:ft}}function k1(t,e,n=!1){return{type:20,index:t,value:e,isVNode:n,loc:ft}}function N1(t){return{type:21,body:t,loc:ft}}function Zs(t,e){return t||e?ac:lc}function Qs(t,e){return t||e?Jm:Zm}function vc(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Zs(s,t.isComponent)),e(os),e(Qs(s,t.isComponent)))}const Xe=t=>t.type===4&&t.isStatic,Os=(t,e)=>t===e||t===rt(e);function sg(t){if(Os(t,"Teleport"))return Rr;if(Os(t,"Suspense"))return oc;if(Os(t,"KeepAlive"))return Co;if(Os(t,"BaseTransition"))return Xm}const P1=/^\d|[^\$\w]/,bc=t=>!P1.test(t),D1=/[A-Za-z_$\xA0-\uFFFF]/,I1=/[\.\?\w$\xA0-\uFFFF]/,R1=/\s+[.[]\s*|\s*[.[]\s+/g,L1=t=>{t=t.trim().replace(R1,o=>o.trim());let e=0,n=[],s=0,r=0,i=null;for(let o=0;oe.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function za(t){return t.type===5||t.type===2}function M1(t){return t.type===7&&t.name==="slot"}function Po(t){return t.type===1&&t.tagType===3}function Do(t){return t.type===1&&t.tagType===2}const x1=new Set([Gr,Ei]);function og(t,e=[]){if(t&&!ne(t)&&t.type===14){const n=t.callee;if(!ne(n)&&x1.has(n))return og(t.arguments[0],e.concat(t))}return[t,e]}function Io(t,e,n){let s,r=t.type===13?t.props:t.arguments[2],i=[],o;if(r&&!ne(r)&&r.type===14){const a=og(r);r=a[0],i=a[1],o=i[i.length-1]}if(r==null||ne(r))s=gt([e]);else if(r.type===14){const a=r.arguments[0];!ne(a)&&a.type===15?fd(e,a)||a.properties.unshift(e):r.callee===_c?s=Ce(n.helper(wo),[gt([e]),r]):r.arguments.unshift(gt([e])),!s&&(s=r)}else r.type===15?(fd(e,r)||r.properties.unshift(e),s=r):(s=Ce(n.helper(wo),[gt([e]),r]),o&&o.callee===Ei&&(o=i[i.length-2]));t.type===13?o?o.arguments[0]=s:t.props=s:o?o.arguments[0]=s:t.arguments[2]=s}function fd(t,e){let n=!1;if(t.key.type===4){const s=t.key.content;n=e.properties.some(r=>r.key.type===4&&r.key.content===s)}return n}function Xr(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function B1(t){return t.type===14&&t.callee===yc?t.arguments[1].returns:t}function dd(t,e){const n=e.options?e.options.compatConfig:e.compatConfig,s=n&&n[t];return t==="MODE"?s||3:s}function Jn(t,e){const n=dd("MODE",e),s=dd(t,e);return n===3?s===!0:s!==!1}function Jr(t,e,n,...s){return Jn(t,e)}const $1=/&(gt|lt|amp|apos|quot);/g,V1={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},hd={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Qi,isPreTag:Qi,isCustomElement:Qi,decodeEntities:t=>t.replace($1,(e,n)=>V1[n]),onError:ic,onWarn:Ym,comments:!1};function j1(t,e={}){const n=H1(t,e),s=at(n);return O1(Ac(n,0,[]),Tt(n,s))}function H1(t,e){const n=ae({},hd);let s;for(s in e)n[s]=e[s]===void 0?hd[s]:e[s];return{options:n,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function Ac(t,e,n){const s=da(n),r=s?s.ns:0,i=[];for(;!J1(t,e,n);){const a=t.source;let l;if(e===0||e===1){if(!t.inVPre&&Fe(a,t.options.delimiters[0]))l=Y1(t,e);else if(e===0&&a[0]==="<")if(a.length===1)he(t,5,1);else if(a[1]==="!")Fe(a,"=0;){const u=o[a];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(i)s.codegenNode=yd(r,l,n);else{const u=bw(s.codegenNode);u.alternate=yd(r,l+s.branches.length-1,n)}}}));function vw(t,e,n,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const r=e.exp?e.exp.loc:t.loc;n.onError(ve(28,e.loc)),e.exp=ie("true",!1,r)}if(e.name==="if"){const r=Ed(t,e),i={type:9,loc:t.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(t);for(;i-->=-1;){const o=r[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(ve(30,t.loc)),n.removeNode();const a=Ed(t,e);o.branches.push(a);const l=s&&s(o,a,!1);ha(a,n),l&&l(),n.currentNode=null}else n.onError(ve(30,t.loc));break}}}function Ed(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!mt(t,"for")?t.children:[t],userKey:fa(t,"key"),isTemplateIf:n}}function yd(t,e,n){return t.condition?Ml(t.condition,vd(t,e,n),Ce(n.helper(_i),['""',"true"])):vd(t,e,n)}function vd(t,e,n){const{helper:s}=n,r=Ae("key",ie(`${e}`,!1,ft,2)),{children:i}=t,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return Io(l,r,n),l}else{let l=64;return Yr(n,s(zr),gt([r]),i,l+"",void 0,void 0,!0,!1,!1,t.loc)}else{const l=o.codegenNode,u=B1(l);return u.type===13&&vc(u,n),Io(u,r,n),l}}function bw(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const Aw=hg("for",(t,e,n)=>{const{helper:s,removeHelper:r}=n;return Tw(t,e,n,i=>{const o=Ce(s(pc),[i.source]),a=Po(t),l=mt(t,"memo"),u=fa(t,"key"),c=u&&(u.type===6?ie(u.value.content,!0):u.exp),f=u?Ae("key",c):null,m=i.source.type===4&&i.source.constType>0,p=m?64:u?128:256;return i.codegenNode=Yr(n,s(zr),void 0,o,p+"",void 0,void 0,!0,!m,!1,t.loc),()=>{let E;const{children:d}=i,y=d.length!==1||d[0].type!==1,_=Do(t)?t:a&&t.children.length===1&&Do(t.children[0])?t.children[0]:null;if(_?(E=_.codegenNode,a&&f&&Io(E,f,n)):y?E=Yr(n,s(zr),f?gt([f]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(E=d[0].codegenNode,a&&f&&Io(E,f,n),E.isBlock!==!m&&(E.isBlock?(r(os),r(Qs(n.inSSR,E.isComponent))):r(Zs(n.inSSR,E.isComponent))),E.isBlock=!m,E.isBlock?(s(os),s(Qs(n.inSSR,E.isComponent))):s(Zs(n.inSSR,E.isComponent))),l){const h=Js($l(i.parseResult,[ie("_cached")]));h.body=N1([kt(["const _memo = (",l.exp,")"]),kt(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(ng)}(_cached, _memo)) return _cached`]),kt(["const _item = ",E]),ie("_item.memo = _memo"),ie("return _item")]),o.arguments.push(h,ie("_cache"),ie(String(n.cached++)))}else o.arguments.push(Js($l(i.parseResult),E,!0))}})});function Tw(t,e,n,s){if(!e.exp){n.onError(ve(31,e.loc));return}const r=_g(e.exp);if(!r){n.onError(ve(32,e.loc));return}const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:u,key:c,index:f}=r,m={type:11,loc:e.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:f,parseResult:r,children:Po(t)?t.children:[t]};n.replaceNode(m),a.vFor++;const p=s&&s(m);return()=>{a.vFor--,p&&p()}}const Cw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Sw=/^\(|\)$/g;function _g(t,e){const n=t.loc,s=t.content,r=s.match(Cw);if(!r)return;const[,i,o]=r,a={source:Hi(n,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(Sw,"").trim();const u=i.indexOf(l),c=l.match(bd);if(c){l=l.replace(bd,"").trim();const f=c[1].trim();let m;if(f&&(m=s.indexOf(f,u+l.length),a.key=Hi(n,f,m)),c[2]){const p=c[2].trim();p&&(a.index=Hi(n,p,s.indexOf(p,a.key?m+f.length:u+l.length)))}}return l&&(a.value=Hi(n,l,u)),a}function Hi(t,e,n){return ie(e,!1,ig(t,n,e.length))}function $l({value:t,key:e,index:n},s=[]){return ww([t,e,n,...s])}function ww(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||ie("_".repeat(s+1),!1))}const Ad=ie("undefined",!1),Ow=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=mt(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},kw=(t,e,n)=>Js(t,e,!1,!0,e.length?e[0].loc:n);function Nw(t,e,n=kw){e.helper(Ec);const{children:s,loc:r}=t,i=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=mt(t,"slot",!0);if(l){const{arg:y,exp:_}=l;y&&!Xe(y)&&(a=!0),i.push(Ae(y||ie("default",!0),n(_,s,r)))}let u=!1,c=!1;const f=[],m=new Set;let p=0;for(let y=0;y{const b=n(_,h,r);return e.compatConfig&&(b.isNonScopedSlot=!0),Ae("default",b)};u?f.length&&f.some(_=>Eg(_))&&(c?e.onError(ve(39,f[0].loc)):i.push(y(void 0,f))):i.push(y(void 0,s))}const E=a?2:so(t.children)?3:1;let d=gt(i.concat(Ae("_",ie(E+"",!1))),r);return o.length&&(d=Ce(e.helper(tg),[d,yi(o)])),{slots:d,hasDynamicSlots:a}}function Ui(t,e,n){const s=[Ae("name",t),Ae("fn",e)];return n!=null&&s.push(Ae("key",ie(String(n),!0))),gt(s)}function so(t){for(let e=0;efunction(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:s,props:r}=t,i=t.tagType===1;let o=i?Dw(t,e):`"${s}"`;const a=me(o)&&o.callee===So;let l,u,c,f=0,m,p,E,d=a||o===Rr||o===oc||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const y=vg(t,e,void 0,i,a);l=y.props,f=y.patchFlag,p=y.dynamicPropNames;const _=y.directives;E=_&&_.length?yi(_.map(h=>Rw(h,e))):void 0,y.shouldUseBlock&&(d=!0)}if(t.children.length>0)if(o===Co&&(d=!0,f|=1024),i&&o!==Rr&&o!==Co){const{slots:_,hasDynamicSlots:h}=Nw(t,e);u=_,h&&(f|=1024)}else if(t.children.length===1&&o!==Rr){const _=t.children[0],h=_.type,b=h===5||h===8;b&&_t(_,e)===0&&(f|=1),b||h===2?u=_:u=t.children}else u=t.children;f!==0&&(c=String(f),p&&p.length&&(m=Lw(p))),t.codegenNode=Yr(e,o,l,u,c,m,E,!!d,!1,i,t.loc)};function Dw(t,e,n=!1){let{tag:s}=t;const r=Vl(s),i=fa(t,"is");if(i)if(r||Jn("COMPILER_IS_ON_ELEMENT",e)){const l=i.type===6?i.value&&ie(i.value.content,!0):i.exp;if(l)return Ce(e.helper(So),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!r&&mt(t,"is");if(o&&o.exp)return Ce(e.helper(So),[o.exp]);const a=sg(s)||e.isBuiltInComponent(s);return a?(n||e.helper(a),a):(e.helper(cc),e.components.add(s),Xr(s,"component"))}function vg(t,e,n=t.props,s,r,i=!1){const{tag:o,loc:a,children:l}=t;let u=[];const c=[],f=[],m=l.length>0;let p=!1,E=0,d=!1,y=!1,_=!1,h=!1,b=!1,g=!1;const A=[],C=w=>{u.length&&(c.push(gt(Td(u),a)),u=[]),w&&c.push(w)},O=({key:w,value:k})=>{if(Xe(w)){const N=w.content,P=us(N);if(P&&(!s||r)&&N.toLowerCase()!=="onclick"&&N!=="onUpdate:modelValue"&&!zn(N)&&(h=!0),P&&zn(N)&&(g=!0),k.type===20||(k.type===4||k.type===8)&&_t(k,e)>0)return;N==="ref"?d=!0:N==="class"?y=!0:N==="style"?_=!0:N!=="key"&&!A.includes(N)&&A.push(N),s&&(N==="class"||N==="style")&&!A.includes(N)&&A.push(N)}else b=!0};for(let w=0;w0&&u.push(Ae(ie("ref_for",!0),ie("true")))),P==="is"&&(Vl(o)||R&&R.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",e)))continue;u.push(Ae(ie(P,!0,ig(N,0,P.length)),ie(R?R.content:"",B,R?R.loc:N)))}else{const{name:N,arg:P,exp:R,loc:B}=k,X=N==="bind",W=N==="on";if(N==="slot"){s||e.onError(ve(40,B));continue}if(N==="once"||N==="memo"||N==="is"||X&&qn(P,"is")&&(Vl(o)||Jn("COMPILER_IS_ON_ELEMENT",e))||W&&i)continue;if((X&&qn(P,"key")||W&&m&&qn(P,"vue:before-update"))&&(p=!0),X&&qn(P,"ref")&&e.scopes.vFor>0&&u.push(Ae(ie("ref_for",!0),ie("true"))),!P&&(X||W)){if(b=!0,R)if(X){if(C(),Jn("COMPILER_V_BIND_OBJECT_ORDER",e)){c.unshift(R);continue}c.push(R)}else C({type:14,loc:B,callee:e.helper(_c),arguments:s?[R]:[R,"true"]});else e.onError(ve(X?34:35,B));continue}const ee=e.directiveTransforms[N];if(ee){const{props:se,needRuntime:_e}=ee(k,t,e);!i&&se.forEach(O),W&&P&&!Xe(P)?C(gt(se,a)):u.push(...se),_e&&(f.push(k),Sn(_e)&&yg.set(k,_e))}else XA(N)||(f.push(k),m&&(p=!0))}}let v;if(c.length?(C(),c.length>1?v=Ce(e.helper(wo),c,a):v=c[0]):u.length&&(v=gt(Td(u),a)),b?E|=16:(y&&!s&&(E|=2),_&&!s&&(E|=4),A.length&&(E|=8),h&&(E|=32)),!p&&(E===0||E===32)&&(d||g||f.length>0)&&(E|=512),!e.inSSR&&v)switch(v.type){case 15:let w=-1,k=-1,N=!1;for(let B=0;BAe(o,i)),r))}return yi(n,t.loc)}function Lw(t){let e="[";for(let n=0,s=t.length;n{if(Do(t)){const{children:n,loc:s}=t,{slotName:r,slotProps:i}=Mw(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Js([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Ce(e.helper(eg),o,s)}};function Mw(t,e){let n='"default"',s;const r=[];for(let i=0;i0){const{props:i,directives:o}=vg(t,e,r,!1,!1);s=i,o.length&&e.onError(ve(36,o[0].loc))}return{slotName:n,slotProps:s}}const xw=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,bg=(t,e,n,s)=>{const{loc:r,modifiers:i,arg:o}=t;!t.exp&&!i.length&&n.onError(ve(35,r));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const m=e.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Ds(we(f)):`on:${f}`;a=ie(m,!0,o.loc)}else a=kt([`${n.helperString(Fl)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(Fl)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=rg(l.content),m=!(f||xw.test(l.content)),p=l.content.includes(";");(m||u&&f)&&(l=kt([`${m?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let c={props:[Ae(a,l||ie("() => {}",!1,r))]};return s&&(c=s(c)),u&&(c.props[0].value=n.cache(c.props[0].value)),c.props.forEach(f=>f.key.isHandlerKey=!0),c},Bw=(t,e,n)=>{const{exp:s,modifiers:r,loc:i}=t,o=t.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.includes("camel")&&(o.type===4?o.isStatic?o.content=we(o.content):o.content=`${n.helperString(Ll)}(${o.content})`:(o.children.unshift(`${n.helperString(Ll)}(`),o.children.push(")"))),n.inSSR||(r.includes("prop")&&Cd(o,"."),r.includes("attr")&&Cd(o,"^")),!s||s.type===4&&!s.content.trim()?(n.onError(ve(34,i)),{props:[Ae(o,ie("",!0,i))]}):{props:[Ae(o,s)]}},Cd=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},$w=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const n=t.children;let s,r=!1;for(let i=0;ii.type===7&&!e.directiveTransforms[i.name])&&t.tag!=="template")))for(let i=0;i{if(t.type===1&&mt(t,"once",!0))return Sd.has(t)||e.inVOnce||e.inSSR?void 0:(Sd.add(t),e.inVOnce=!0,e.helper(Oo),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0))})},Ag=(t,e,n)=>{const{exp:s,arg:r}=t;if(!s)return n.onError(ve(41,t.loc)),Wi();const i=s.loc.source,o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(ve(44,s.loc)),Wi();const l=!1;if(!o.trim()||!rg(o)&&!l)return n.onError(ve(42,s.loc)),Wi();const u=r||ie("modelValue",!0),c=r?Xe(r)?`onUpdate:${we(r.content)}`:kt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let f;const m=n.isTS?"($event: any)":"$event";f=kt([`${m} => ((`,s,") = $event)"]);const p=[Ae(u,t.exp),Ae(c,f)];if(t.modifiers.length&&e.tagType===1){const E=t.modifiers.map(y=>(bc(y)?y:JSON.stringify(y))+": true").join(", "),d=r?Xe(r)?`${r.content}Modifiers`:kt([r,' + "Modifiers"']):"modelModifiers";p.push(Ae(d,ie(`{ ${E} }`,!1,t.loc,2)))}return Wi(p)};function Wi(t=[]){return{props:t}}const jw=/[\w).+\-_$\]]/,Hw=(t,e)=>{Jn("COMPILER_FILTER",e)&&(t.type===5&&Lo(t.content,e),t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Lo(n.exp,e)}))};function Lo(t,e){if(t.type===4)wd(t,e);else for(let n=0;n=0&&(h=n.charAt(_),h===" ");_--);(!h||!jw.test(h))&&(o=!0)}}E===void 0?E=n.slice(0,p).trim():c!==0&&y();function y(){d.push(n.slice(c,p).trim()),c=p+1}if(d.length){for(p=0;p{if(t.type===1){const n=mt(t,"memo");return!n||Od.has(t)?void 0:(Od.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&vc(s,e),t.codegenNode=Ce(e.helper(yc),[n.exp,Js(void 0,s),"_cache",String(e.cached++)]))})}};function qw(t){return[[Vw,yw,Ww,Aw,Hw,Fw,Pw,Ow,$w],{on:bg,bind:Bw,model:Ag}]}function Kw(t,e={}){const n=e.onError||ic,s=e.mode==="module";e.prefixIdentifiers===!0?n(ve(47)):s&&n(ve(48));const r=!1;e.cacheHandlers&&n(ve(49)),e.scopeId&&!s&&n(ve(50));const i=ne(t)?j1(t,e):t,[o,a]=qw();return tw(i,ae({},e,{prefixIdentifiers:r,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:ae({},a,e.directiveTransforms||{})})),rw(i,ae({},e,{prefixIdentifiers:r}))}const zw=()=>({props:[]}),Tg=Symbol(""),Cg=Symbol(""),Sg=Symbol(""),wg=Symbol(""),jl=Symbol(""),Og=Symbol(""),kg=Symbol(""),Ng=Symbol(""),Pg=Symbol(""),Dg=Symbol("");w1({[Tg]:"vModelRadio",[Cg]:"vModelCheckbox",[Sg]:"vModelText",[wg]:"vModelSelect",[jl]:"vModelDynamic",[Og]:"withModifiers",[kg]:"withKeys",[Ng]:"vShow",[Pg]:"Transition",[Dg]:"TransitionGroup"});let ys;function Gw(t,e=!1){return ys||(ys=document.createElement("div")),e?(ys.innerHTML=`
`,ys.children[0].getAttribute("foo")):(ys.innerHTML=t,ys.textContent)}const Yw=Qe("style,iframe,script,noscript",!0),Xw={isVoidTag:cT,isNativeTag:t=>lT(t)||uT(t),isPreTag:t=>t==="pre",decodeEntities:Gw,isBuiltInComponent:t=>{if(Os(t,"Transition"))return Pg;if(Os(t,"TransitionGroup"))return Dg},getNamespace(t,e){let n=e?e.ns:0;if(e&&n===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(n=0);else e&&n===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(n=0);if(n===0){if(t==="svg")return 1;if(t==="math")return 2}return n},getTextMode({tag:t,ns:e}){if(e===0){if(t==="textarea"||t==="title")return 1;if(Yw(t))return 2}return 0}},Jw=t=>{t.type===1&&t.props.forEach((e,n)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[n]={type:7,name:"bind",arg:ie("style",!0,e.loc),exp:Zw(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Zw=(t,e)=>{const n=dp(t);return ie(JSON.stringify(n),!1,e,3)};function bn(t,e){return ve(t,e)}const Qw=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(53,r)),e.children.length&&(n.onError(bn(54,r)),e.children.length=0),{props:[Ae(ie("innerHTML",!0,r),s||ie("",!0))]}},eO=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(55,r)),e.children.length&&(n.onError(bn(56,r)),e.children.length=0),{props:[Ae(ie("textContent",!0),s?_t(s,n)>0?s:Ce(n.helperString(ca),[s],r):ie("",!0))]}},tO=(t,e,n)=>{const s=Ag(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(bn(58,t.arg.loc));const{tag:r}=e,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=Sg,a=!1;if(r==="input"||i){const l=fa(e,"type");if(l){if(l.type===7)o=jl;else if(l.value)switch(l.value.content){case"radio":o=Tg;break;case"checkbox":o=Cg;break;case"file":a=!0,n.onError(bn(59,t.loc));break}}else F1(e)&&(o=jl)}else r==="select"&&(o=wg);a||(s.needRuntime=n.helper(o))}else n.onError(bn(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},nO=Qe("passive,once,capture"),sO=Qe("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),rO=Qe("left,right"),Ig=Qe("onkeyup,onkeydown,onkeypress",!0),iO=(t,e,n,s)=>{const r=[],i=[],o=[];for(let a=0;aXe(t)&&t.content.toLowerCase()==="onclick"?ie(e,!0):t.type!==4?kt(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,oO=(t,e,n)=>bg(t,e,n,s=>{const{modifiers:r}=t;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:u}=iO(i,r,n,t.loc);if(l.includes("right")&&(i=kd(i,"onContextmenu")),l.includes("middle")&&(i=kd(i,"onMouseup")),l.length&&(o=Ce(n.helper(Og),[o,JSON.stringify(l)])),a.length&&(!Xe(i)||Ig(i.content))&&(o=Ce(n.helper(kg),[o,JSON.stringify(a)])),u.length){const c=u.map(fs).join("");i=Xe(i)?ie(`${i.content}${c}`,!0):kt(["(",i,`) + "${c}"`])}return{props:[Ae(i,o)]}}),aO=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(61,r)),{props:[],needRuntime:n.helper(Ng)}},lO=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},uO=[Jw],cO={cloak:zw,html:Qw,text:eO,model:tO,on:oO,show:aO};function fO(t,e={}){return Kw(t,ae({},Xw,e,{nodeTransforms:[lO,...uO,...e.nodeTransforms||[]],directiveTransforms:ae({},cO,e.directiveTransforms||{}),transformHoist:null}))}const Nd=Object.create(null);function dO(t,e){if(!ne(t))if(t.nodeType)t=t.innerHTML;else return Ue;const n=t,s=Nd[n];if(s)return s;if(t[0]==="#"){const a=document.querySelector(t);t=a?a.innerHTML:""}const r=ae({hoistStatic:!0,onError:void 0,onWarn:Ue},e);!r.isCustomElement&&typeof customElements<"u"&&(r.isCustomElement=a=>!!customElements.get(a));const{code:i}=fO(t,r),o=new Function("Vue",i)(v1);return o._rc=!0,Nd[n]=o}Cm(dO);const hO=(t,e)=>{const n=t.__vccOpts||t;for(const[s,r]of e)n[s]=r;return n},pO={name:"App"};function mO(t,e,n,s,r,i){return gi(),Em("div")}const gO=hO(pO,[["render",mO]]);var _O=!1;/*! +`),t.hoists.length)){const f=[ac,lc,Ei,uc,Qm].filter(m=>c.includes(m)).map(pg).join(", ");r(`const { ${f} } = _Vue +`)}ow(t.hoists,e),i(),r("return ")}function Ga(t,e,{helper:n,push:s,newline:r,isTS:i}){const o=n(e==="filter"?dc:e==="component"?cc:fc);for(let a=0;a3||!1;e.push("["),n&&e.indent(),bi(t,e,n),n&&e.deindent(),e.push("]")}function bi(t,e,n=!1,s=!0){const{push:r,newline:i}=e;for(let o=0;on||"null")}function hw(t,e){const{push:n,helper:s,pure:r}=e,i=ne(t.callee)?t.callee:s(t.callee);r&&n(pa),n(i+"(",t),bi(t.arguments,e),n(")")}function pw(t,e){const{push:n,indent:s,deindent:r,newline:i}=e,{properties:o}=t;if(!o.length){n("{}",t);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&s();for(let l=0;l "),(l||a)&&(n("{"),s()),o?(l&&n("return "),U(o)?Tc(o,e):xe(o,e)):a&&xe(a,e),(l||a)&&(r(),n("}")),u&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}function _w(t,e){const{test:n,consequent:s,alternate:r,newline:i}=t,{push:o,indent:a,deindent:l,newline:u}=e;if(n.type===4){const f=!bc(n.content);f&&o("("),mg(n,e),f&&o(")")}else o("("),xe(n,e),o(")");i&&a(),e.indentLevel++,i||o(" "),o("? "),xe(s,e),e.indentLevel--,i&&u(),i||o(" "),o(": ");const c=r.type===19;c||e.indentLevel++,xe(r,e),c||e.indentLevel--,i&&l(!0)}function Ew(t,e){const{push:n,helper:s,indent:r,deindent:i,newline:o}=e;n(`_cache[${t.index}] || (`),t.isVNode&&(r(),n(`${s(Oo)}(-1),`),o()),n(`_cache[${t.index}] = `),xe(t.value,e),t.isVNode&&(n(","),o(),n(`${s(Oo)}(1),`),o(),n(`_cache[${t.index}]`),i()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const yw=hg(/^(if|else|else-if)$/,(t,e,n)=>vw(t,e,n,(s,r,i)=>{const o=n.parent.children;let a=o.indexOf(s),l=0;for(;a-->=0;){const u=o[a];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(i)s.codegenNode=yd(r,l,n);else{const u=bw(s.codegenNode);u.alternate=yd(r,l+s.branches.length-1,n)}}}));function vw(t,e,n,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const r=e.exp?e.exp.loc:t.loc;n.onError(ve(28,e.loc)),e.exp=ie("true",!1,r)}if(e.name==="if"){const r=Ed(t,e),i={type:9,loc:t.loc,branches:[r]};if(n.replaceNode(i),s)return s(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(t);for(;i-->=-1;){const o=r[i];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(ve(30,t.loc)),n.removeNode();const a=Ed(t,e);o.branches.push(a);const l=s&&s(o,a,!1);ha(a,n),l&&l(),n.currentNode=null}else n.onError(ve(30,t.loc));break}}}function Ed(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!mt(t,"for")?t.children:[t],userKey:fa(t,"key"),isTemplateIf:n}}function yd(t,e,n){return t.condition?Ml(t.condition,vd(t,e,n),Se(n.helper(Ei),['""',"true"])):vd(t,e,n)}function vd(t,e,n){const{helper:s}=n,r=Ae("key",ie(`${e}`,!1,ft,2)),{children:i}=t,o=i[0];if(i.length!==1||o.type!==1)if(i.length===1&&o.type===11){const l=o.codegenNode;return Io(l,r,n),l}else{let l=64;return Xr(n,s(Gr),gt([r]),i,l+"",void 0,void 0,!0,!1,!1,t.loc)}else{const l=o.codegenNode,u=B1(l);return u.type===13&&vc(u,n),Io(u,r,n),l}}function bw(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const Aw=hg("for",(t,e,n)=>{const{helper:s,removeHelper:r}=n;return Tw(t,e,n,i=>{const o=Se(s(pc),[i.source]),a=Po(t),l=mt(t,"memo"),u=fa(t,"key"),c=u&&(u.type===6?ie(u.value.content,!0):u.exp),f=u?Ae("key",c):null,m=i.source.type===4&&i.source.constType>0,p=m?64:u?128:256;return i.codegenNode=Xr(n,s(Gr),void 0,o,p+"",void 0,void 0,!0,!m,!1,t.loc),()=>{let E;const{children:d}=i,y=d.length!==1||d[0].type!==1,_=Do(t)?t:a&&t.children.length===1&&Do(t.children[0])?t.children[0]:null;if(_?(E=_.codegenNode,a&&f&&Io(E,f,n)):y?E=Xr(n,s(Gr),f?gt([f]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(E=d[0].codegenNode,a&&f&&Io(E,f,n),E.isBlock!==!m&&(E.isBlock?(r(os),r(Qs(n.inSSR,E.isComponent))):r(Zs(n.inSSR,E.isComponent))),E.isBlock=!m,E.isBlock?(s(os),s(Qs(n.inSSR,E.isComponent))):s(Zs(n.inSSR,E.isComponent))),l){const h=Js($l(i.parseResult,[ie("_cached")]));h.body=N1([kt(["const _memo = (",l.exp,")"]),kt(["if (_cached",...c?[" && _cached.key === ",c]:[],` && ${n.helperString(ng)}(_cached, _memo)) return _cached`]),kt(["const _item = ",E]),ie("_item.memo = _memo"),ie("return _item")]),o.arguments.push(h,ie("_cache"),ie(String(n.cached++)))}else o.arguments.push(Js($l(i.parseResult),E,!0))}})});function Tw(t,e,n,s){if(!e.exp){n.onError(ve(31,e.loc));return}const r=_g(e.exp);if(!r){n.onError(ve(32,e.loc));return}const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=n,{source:l,value:u,key:c,index:f}=r,m={type:11,loc:e.loc,source:l,valueAlias:u,keyAlias:c,objectIndexAlias:f,parseResult:r,children:Po(t)?t.children:[t]};n.replaceNode(m),a.vFor++;const p=s&&s(m);return()=>{a.vFor--,p&&p()}}const Sw=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bd=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cw=/^\(|\)$/g;function _g(t,e){const n=t.loc,s=t.content,r=s.match(Sw);if(!r)return;const[,i,o]=r,a={source:Hi(n,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(Cw,"").trim();const u=i.indexOf(l),c=l.match(bd);if(c){l=l.replace(bd,"").trim();const f=c[1].trim();let m;if(f&&(m=s.indexOf(f,u+l.length),a.key=Hi(n,f,m)),c[2]){const p=c[2].trim();p&&(a.index=Hi(n,p,s.indexOf(p,a.key?m+f.length:u+l.length)))}}return l&&(a.value=Hi(n,l,u)),a}function Hi(t,e,n){return ie(e,!1,ig(t,n,e.length))}function $l({value:t,key:e,index:n},s=[]){return ww([t,e,n,...s])}function ww(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||ie("_".repeat(s+1),!1))}const Ad=ie("undefined",!1),Ow=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=mt(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},kw=(t,e,n)=>Js(t,e,!1,!0,e.length?e[0].loc:n);function Nw(t,e,n=kw){e.helper(Ec);const{children:s,loc:r}=t,i=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=mt(t,"slot",!0);if(l){const{arg:y,exp:_}=l;y&&!Xe(y)&&(a=!0),i.push(Ae(y||ie("default",!0),n(_,s,r)))}let u=!1,c=!1;const f=[],m=new Set;let p=0;for(let y=0;y{const b=n(_,h,r);return e.compatConfig&&(b.isNonScopedSlot=!0),Ae("default",b)};u?f.length&&f.some(_=>Eg(_))&&(c?e.onError(ve(39,f[0].loc)):i.push(y(void 0,f))):i.push(y(void 0,s))}const E=a?2:so(t.children)?3:1;let d=gt(i.concat(Ae("_",ie(E+"",!1))),r);return o.length&&(d=Se(e.helper(tg),[d,vi(o)])),{slots:d,hasDynamicSlots:a}}function Ui(t,e,n){const s=[Ae("name",t),Ae("fn",e)];return n!=null&&s.push(Ae("key",ie(String(n),!0))),gt(s)}function so(t){for(let e=0;efunction(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:s,props:r}=t,i=t.tagType===1;let o=i?Dw(t,e):`"${s}"`;const a=me(o)&&o.callee===Co;let l,u,c,f=0,m,p,E,d=a||o===Lr||o===oc||!i&&(s==="svg"||s==="foreignObject");if(r.length>0){const y=vg(t,e,void 0,i,a);l=y.props,f=y.patchFlag,p=y.dynamicPropNames;const _=y.directives;E=_&&_.length?vi(_.map(h=>Rw(h,e))):void 0,y.shouldUseBlock&&(d=!0)}if(t.children.length>0)if(o===So&&(d=!0,f|=1024),i&&o!==Lr&&o!==So){const{slots:_,hasDynamicSlots:h}=Nw(t,e);u=_,h&&(f|=1024)}else if(t.children.length===1&&o!==Lr){const _=t.children[0],h=_.type,b=h===5||h===8;b&&_t(_,e)===0&&(f|=1),b||h===2?u=_:u=t.children}else u=t.children;f!==0&&(c=String(f),p&&p.length&&(m=Lw(p))),t.codegenNode=Xr(e,o,l,u,c,m,E,!!d,!1,i,t.loc)};function Dw(t,e,n=!1){let{tag:s}=t;const r=Vl(s),i=fa(t,"is");if(i)if(r||Jn("COMPILER_IS_ON_ELEMENT",e)){const l=i.type===6?i.value&&ie(i.value.content,!0):i.exp;if(l)return Se(e.helper(Co),[l])}else i.type===6&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!r&&mt(t,"is");if(o&&o.exp)return Se(e.helper(Co),[o.exp]);const a=sg(s)||e.isBuiltInComponent(s);return a?(n||e.helper(a),a):(e.helper(cc),e.components.add(s),Jr(s,"component"))}function vg(t,e,n=t.props,s,r,i=!1){const{tag:o,loc:a,children:l}=t;let u=[];const c=[],f=[],m=l.length>0;let p=!1,E=0,d=!1,y=!1,_=!1,h=!1,b=!1,g=!1;const A=[],S=w=>{u.length&&(c.push(gt(Td(u),a)),u=[]),w&&c.push(w)},O=({key:w,value:k})=>{if(Xe(w)){const N=w.content,P=us(N);if(P&&(!s||r)&&N.toLowerCase()!=="onclick"&&N!=="onUpdate:modelValue"&&!zn(N)&&(h=!0),P&&zn(N)&&(g=!0),k.type===20||(k.type===4||k.type===8)&&_t(k,e)>0)return;N==="ref"?d=!0:N==="class"?y=!0:N==="style"?_=!0:N!=="key"&&!A.includes(N)&&A.push(N),s&&(N==="class"||N==="style")&&!A.includes(N)&&A.push(N)}else b=!0};for(let w=0;w0&&u.push(Ae(ie("ref_for",!0),ie("true")))),P==="is"&&(Vl(o)||R&&R.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",e)))continue;u.push(Ae(ie(P,!0,ig(N,0,P.length)),ie(R?R.content:"",B,R?R.loc:N)))}else{const{name:N,arg:P,exp:R,loc:B}=k,X=N==="bind",W=N==="on";if(N==="slot"){s||e.onError(ve(40,B));continue}if(N==="once"||N==="memo"||N==="is"||X&&qn(P,"is")&&(Vl(o)||Jn("COMPILER_IS_ON_ELEMENT",e))||W&&i)continue;if((X&&qn(P,"key")||W&&m&&qn(P,"vue:before-update"))&&(p=!0),X&&qn(P,"ref")&&e.scopes.vFor>0&&u.push(Ae(ie("ref_for",!0),ie("true"))),!P&&(X||W)){if(b=!0,R)if(X){if(S(),Jn("COMPILER_V_BIND_OBJECT_ORDER",e)){c.unshift(R);continue}c.push(R)}else S({type:14,loc:B,callee:e.helper(_c),arguments:s?[R]:[R,"true"]});else e.onError(ve(X?34:35,B));continue}const ee=e.directiveTransforms[N];if(ee){const{props:se,needRuntime:_e}=ee(k,t,e);!i&&se.forEach(O),W&&P&&!Xe(P)?S(gt(se,a)):u.push(...se),_e&&(f.push(k),Cn(_e)&&yg.set(k,_e))}else XA(N)||(f.push(k),m&&(p=!0))}}let v;if(c.length?(S(),c.length>1?v=Se(e.helper(wo),c,a):v=c[0]):u.length&&(v=gt(Td(u),a)),b?E|=16:(y&&!s&&(E|=2),_&&!s&&(E|=4),A.length&&(E|=8),h&&(E|=32)),!p&&(E===0||E===32)&&(d||g||f.length>0)&&(E|=512),!e.inSSR&&v)switch(v.type){case 15:let w=-1,k=-1,N=!1;for(let B=0;BAe(o,i)),r))}return vi(n,t.loc)}function Lw(t){let e="[";for(let n=0,s=t.length;n{if(Do(t)){const{children:n,loc:s}=t,{slotName:r,slotProps:i}=Mw(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),n.length&&(o[3]=Js([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Se(e.helper(eg),o,s)}};function Mw(t,e){let n='"default"',s;const r=[];for(let i=0;i0){const{props:i,directives:o}=vg(t,e,r,!1,!1);s=i,o.length&&e.onError(ve(36,o[0].loc))}return{slotName:n,slotProps:s}}const xw=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,bg=(t,e,n,s)=>{const{loc:r,modifiers:i,arg:o}=t;!t.exp&&!i.length&&n.onError(ve(35,r));let a;if(o.type===4)if(o.isStatic){let f=o.content;f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const m=e.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Ds(we(f)):`on:${f}`;a=ie(m,!0,o.loc)}else a=kt([`${n.helperString(Fl)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(Fl)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const f=rg(l.content),m=!(f||xw.test(l.content)),p=l.content.includes(";");(m||u&&f)&&(l=kt([`${m?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let c={props:[Ae(a,l||ie("() => {}",!1,r))]};return s&&(c=s(c)),u&&(c.props[0].value=n.cache(c.props[0].value)),c.props.forEach(f=>f.key.isHandlerKey=!0),c},Bw=(t,e,n)=>{const{exp:s,modifiers:r,loc:i}=t,o=t.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),r.includes("camel")&&(o.type===4?o.isStatic?o.content=we(o.content):o.content=`${n.helperString(Ll)}(${o.content})`:(o.children.unshift(`${n.helperString(Ll)}(`),o.children.push(")"))),n.inSSR||(r.includes("prop")&&Sd(o,"."),r.includes("attr")&&Sd(o,"^")),!s||s.type===4&&!s.content.trim()?(n.onError(ve(34,i)),{props:[Ae(o,ie("",!0,i))]}):{props:[Ae(o,s)]}},Sd=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},$w=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const n=t.children;let s,r=!1;for(let i=0;ii.type===7&&!e.directiveTransforms[i.name])&&t.tag!=="template")))for(let i=0;i{if(t.type===1&&mt(t,"once",!0))return Cd.has(t)||e.inVOnce||e.inSSR?void 0:(Cd.add(t),e.inVOnce=!0,e.helper(Oo),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0))})},Ag=(t,e,n)=>{const{exp:s,arg:r}=t;if(!s)return n.onError(ve(41,t.loc)),Wi();const i=s.loc.source,o=s.type===4?s.content:i,a=n.bindingMetadata[i];if(a==="props"||a==="props-aliased")return n.onError(ve(44,s.loc)),Wi();const l=!1;if(!o.trim()||!rg(o)&&!l)return n.onError(ve(42,s.loc)),Wi();const u=r||ie("modelValue",!0),c=r?Xe(r)?`onUpdate:${we(r.content)}`:kt(['"onUpdate:" + ',r]):"onUpdate:modelValue";let f;const m=n.isTS?"($event: any)":"$event";f=kt([`${m} => ((`,s,") = $event)"]);const p=[Ae(u,t.exp),Ae(c,f)];if(t.modifiers.length&&e.tagType===1){const E=t.modifiers.map(y=>(bc(y)?y:JSON.stringify(y))+": true").join(", "),d=r?Xe(r)?`${r.content}Modifiers`:kt([r,' + "Modifiers"']):"modelModifiers";p.push(Ae(d,ie(`{ ${E} }`,!1,t.loc,2)))}return Wi(p)};function Wi(t=[]){return{props:t}}const jw=/[\w).+\-_$\]]/,Hw=(t,e)=>{Jn("COMPILER_FILTER",e)&&(t.type===5&&Lo(t.content,e),t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Lo(n.exp,e)}))};function Lo(t,e){if(t.type===4)wd(t,e);else for(let n=0;n=0&&(h=n.charAt(_),h===" ");_--);(!h||!jw.test(h))&&(o=!0)}}E===void 0?E=n.slice(0,p).trim():c!==0&&y();function y(){d.push(n.slice(c,p).trim()),c=p+1}if(d.length){for(p=0;p{if(t.type===1){const n=mt(t,"memo");return!n||Od.has(t)?void 0:(Od.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&vc(s,e),t.codegenNode=Se(e.helper(yc),[n.exp,Js(void 0,s),"_cache",String(e.cached++)]))})}};function qw(t){return[[Vw,yw,Ww,Aw,Hw,Fw,Pw,Ow,$w],{on:bg,bind:Bw,model:Ag}]}function Kw(t,e={}){const n=e.onError||ic,s=e.mode==="module";e.prefixIdentifiers===!0?n(ve(47)):s&&n(ve(48));const r=!1;e.cacheHandlers&&n(ve(49)),e.scopeId&&!s&&n(ve(50));const i=ne(t)?j1(t,e):t,[o,a]=qw();return tw(i,ae({},e,{prefixIdentifiers:r,nodeTransforms:[...o,...e.nodeTransforms||[]],directiveTransforms:ae({},a,e.directiveTransforms||{})})),rw(i,ae({},e,{prefixIdentifiers:r}))}const zw=()=>({props:[]}),Tg=Symbol(""),Sg=Symbol(""),Cg=Symbol(""),wg=Symbol(""),jl=Symbol(""),Og=Symbol(""),kg=Symbol(""),Ng=Symbol(""),Pg=Symbol(""),Dg=Symbol("");w1({[Tg]:"vModelRadio",[Sg]:"vModelCheckbox",[Cg]:"vModelText",[wg]:"vModelSelect",[jl]:"vModelDynamic",[Og]:"withModifiers",[kg]:"withKeys",[Ng]:"vShow",[Pg]:"Transition",[Dg]:"TransitionGroup"});let ys;function Gw(t,e=!1){return ys||(ys=document.createElement("div")),e?(ys.innerHTML=`
`,ys.children[0].getAttribute("foo")):(ys.innerHTML=t,ys.textContent)}const Yw=Qe("style,iframe,script,noscript",!0),Xw={isVoidTag:cT,isNativeTag:t=>lT(t)||uT(t),isPreTag:t=>t==="pre",decodeEntities:Gw,isBuiltInComponent:t=>{if(Os(t,"Transition"))return Pg;if(Os(t,"TransitionGroup"))return Dg},getNamespace(t,e){let n=e?e.ns:0;if(e&&n===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(n=0);else e&&n===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(n=0);if(n===0){if(t==="svg")return 1;if(t==="math")return 2}return n},getTextMode({tag:t,ns:e}){if(e===0){if(t==="textarea"||t==="title")return 1;if(Yw(t))return 2}return 0}},Jw=t=>{t.type===1&&t.props.forEach((e,n)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[n]={type:7,name:"bind",arg:ie("style",!0,e.loc),exp:Zw(e.value.content,e.loc),modifiers:[],loc:e.loc})})},Zw=(t,e)=>{const n=dp(t);return ie(JSON.stringify(n),!1,e,3)};function bn(t,e){return ve(t,e)}const Qw=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(53,r)),e.children.length&&(n.onError(bn(54,r)),e.children.length=0),{props:[Ae(ie("innerHTML",!0,r),s||ie("",!0))]}},eO=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(55,r)),e.children.length&&(n.onError(bn(56,r)),e.children.length=0),{props:[Ae(ie("textContent",!0),s?_t(s,n)>0?s:Se(n.helperString(ca),[s],r):ie("",!0))]}},tO=(t,e,n)=>{const s=Ag(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(bn(58,t.arg.loc));const{tag:r}=e,i=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||i){let o=Cg,a=!1;if(r==="input"||i){const l=fa(e,"type");if(l){if(l.type===7)o=jl;else if(l.value)switch(l.value.content){case"radio":o=Tg;break;case"checkbox":o=Sg;break;case"file":a=!0,n.onError(bn(59,t.loc));break}}else F1(e)&&(o=jl)}else r==="select"&&(o=wg);a||(s.needRuntime=n.helper(o))}else n.onError(bn(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},nO=Qe("passive,once,capture"),sO=Qe("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),rO=Qe("left,right"),Ig=Qe("onkeyup,onkeydown,onkeypress",!0),iO=(t,e,n,s)=>{const r=[],i=[],o=[];for(let a=0;aXe(t)&&t.content.toLowerCase()==="onclick"?ie(e,!0):t.type!==4?kt(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,oO=(t,e,n)=>bg(t,e,n,s=>{const{modifiers:r}=t;if(!r.length)return s;let{key:i,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:u}=iO(i,r,n,t.loc);if(l.includes("right")&&(i=kd(i,"onContextmenu")),l.includes("middle")&&(i=kd(i,"onMouseup")),l.length&&(o=Se(n.helper(Og),[o,JSON.stringify(l)])),a.length&&(!Xe(i)||Ig(i.content))&&(o=Se(n.helper(kg),[o,JSON.stringify(a)])),u.length){const c=u.map(fs).join("");i=Xe(i)?ie(`${i.content}${c}`,!0):kt(["(",i,`) + "${c}"`])}return{props:[Ae(i,o)]}}),aO=(t,e,n)=>{const{exp:s,loc:r}=t;return s||n.onError(bn(61,r)),{props:[],needRuntime:n.helper(Ng)}},lO=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},uO=[Jw],cO={cloak:zw,html:Qw,text:eO,model:tO,on:oO,show:aO};function fO(t,e={}){return Kw(t,ae({},Xw,e,{nodeTransforms:[lO,...uO,...e.nodeTransforms||[]],directiveTransforms:ae({},cO,e.directiveTransforms||{}),transformHoist:null}))}const Nd=Object.create(null);function dO(t,e){if(!ne(t))if(t.nodeType)t=t.innerHTML;else return Ue;const n=t,s=Nd[n];if(s)return s;if(t[0]==="#"){const a=document.querySelector(t);t=a?a.innerHTML:""}const r=ae({hoistStatic:!0,onError:void 0,onWarn:Ue},e);!r.isCustomElement&&typeof customElements<"u"&&(r.isCustomElement=a=>!!customElements.get(a));const{code:i}=fO(t,r),o=new Function("Vue",i)(v1);return o._rc=!0,Nd[n]=o}Sm(dO);const hO=(t,e)=>{const n=t.__vccOpts||t;for(const[s,r]of e)n[s]=r;return n},pO={name:"App"};function mO(t,e,n,s,r,i){return _i(),Em("div")}const gO=hO(pO,[["render",mO]]);var _O=!1;/*! * pinia v2.1.6 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let Rg;const ma=t=>Rg=t,Lg=Symbol();function Hl(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Fr;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Fr||(Fr={}));function EO(){const t=ku(!0),e=t.run(()=>Ge({}));let n=[],s=[];const r=hi({install(i){ma(r),r._a=i,i.provide(Lg,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!_O?s.push(i):n.push(i),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const Fg=()=>{};function Pd(t,e,n,s=Fg){t.push(e);const r=()=>{const i=t.indexOf(e);i>-1&&(t.splice(i,1),s())};return!n&&Nu()&&gp(r),r}function vs(t,...e){t.slice().forEach(n=>{n(...e)})}const yO=t=>t();function Ul(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],r=t[n];Hl(r)&&Hl(s)&&t.hasOwnProperty(n)&&!be(s)&&!tn(s)?t[n]=Ul(r,s):t[n]=s}return t}const vO=Symbol();function bO(t){return!Hl(t)||!t.hasOwnProperty(vO)}const{assign:gn}=Object;function AO(t){return!!(be(t)&&t.effect)}function TO(t,e,n,s){const{state:r,actions:i,getters:o}=e,a=n.state.value[t];let l;function u(){a||(n.state.value[t]=r?r():{});const c=Dp(n.state.value[t]);return gn(c,i,Object.keys(o||{}).reduce((f,m)=>(f[m]=hi(ke(()=>{ma(n);const p=n._s.get(t);return o[m].call(p,p)})),f),{}))}return l=Mg(t,u,e,n,s,!0),l}function Mg(t,e,n={},s,r,i){let o;const a=gn({actions:{}},n),l={deep:!0};let u,c,f=[],m=[],p;const E=s.state.value[t];!i&&!E&&(s.state.value[t]={}),Ge({});let d;function y(v){let w;u=c=!1,typeof v=="function"?(v(s.state.value[t]),w={type:Fr.patchFunction,storeId:t,events:p}):(Ul(s.state.value[t],v),w={type:Fr.patchObject,payload:v,storeId:t,events:p});const k=d=Symbol();fr().then(()=>{d===k&&(u=!0)}),c=!0,vs(f,w,s.state.value[t])}const _=i?function(){const{state:w}=n,k=w?w():{};this.$patch(N=>{gn(N,k)})}:Fg;function h(){o.stop(),f=[],m=[],s._s.delete(t)}function b(v,w){return function(){ma(s);const k=Array.from(arguments),N=[],P=[];function R(W){N.push(W)}function B(W){P.push(W)}vs(m,{args:k,name:v,store:A,after:R,onError:B});let X;try{X=w.apply(this&&this.$id===t?this:A,k)}catch(W){throw vs(P,W),W}return X instanceof Promise?X.then(W=>(vs(N,W),W)).catch(W=>(vs(P,W),Promise.reject(W))):(vs(N,X),X)}}const g={_p:s,$id:t,$onAction:Pd.bind(null,m),$patch:y,$reset:_,$subscribe(v,w={}){const k=Pd(f,v,w.detached,()=>N()),N=o.run(()=>yn(()=>s.state.value[t],P=>{(w.flush==="sync"?c:u)&&v({storeId:t,type:Fr.direct,events:p},P)},gn({},l,w)));return k},$dispose:h},A=Dt(g);s._s.set(t,A);const C=s._a&&s._a.runWithContext||yO,O=s._e.run(()=>(o=ku(),C(()=>o.run(e))));for(const v in O){const w=O[v];if(be(w)&&!AO(w)||tn(w))i||(E&&bO(w)&&(be(w)?w.value=E[v]:Ul(w,E[v])),s.state.value[t][v]=w);else if(typeof w=="function"){const k=b(v,w);O[v]=k,a.actions[v]=w}}return gn(A,O),gn(Q(A),O),Object.defineProperty(A,"$state",{get:()=>s.state.value[t],set:v=>{y(w=>{gn(w,v)})}}),s._p.forEach(v=>{gn(A,o.run(()=>v({store:A,app:s._a,pinia:s,options:a})))}),E&&i&&n.hydrate&&n.hydrate(A.$state,E),u=!0,c=!0,A}function xg(t,e,n){let s,r;const i=typeof e=="function";typeof t=="string"?(s=t,r=i?n:e):(r=t,s=t.id);function o(a,l){const u=om();return a=a||(u?Fs(Lg,null):null),a&&ma(a),a=Rg,a._s.has(s)||(i?Mg(s,e,r,a):TO(s,r,a)),a._s.get(s)}return o.$id=s,o}function Ok(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(){return t(this.$pinia)[s]},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(){const r=t(this.$pinia),i=e[s];return typeof i=="function"?i.call(this,r):r[i]},n),{})}function kk(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[s](...r)},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[e[s]](...r)},n),{})}const Bg=xg("error",{state:()=>({message:null,errors:{}})});/*! js-cookie v3.0.5 | MIT */function qi(t){for(var e=1;e"u")){o=qi({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in o)o[l]&&(a+="; "+l,o[l]!==!0&&(a+="="+o[l].split(";")[0]));return document.cookie=r+"="+t.write(i,r)+a}}function s(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var i=document.cookie?document.cookie.split("; "):[],o={},a=0;ast.get("/sanctum/csrf-cookie");st.interceptors.request.use(function(t){return Bg().$reset(),ql.get("XSRF-TOKEN")?t:SO().then(e=>t)},function(t){return Promise.reject(t)});st.interceptors.response.use(function(t){var e,n,s,r,i,o;return(((s=(n=(e=t==null?void 0:t.data)==null?void 0:e.data)==null?void 0:n.csrf_token)==null?void 0:s.length)>0||((o=(i=(r=t==null?void 0:t.data)==null?void 0:r.data)==null?void 0:i.token)==null?void 0:o.length)>0)&&ql.set("XSRF-TOKEN",t.data.data.csrf_token),t},function(t){switch(t.response.status){case 401:localStorage.removeItem("token"),window.location.reload();break;case 403:case 404:console.error("404");break;case 422:Bg().$state=t.response.data;break;default:console.log(t.response.data)}return Promise.reject(t)});function Fo(t){return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(t)}function ro(t,e){if(!t.vueAxiosInstalled){var n=$g(e)?kO(e):e;if(NO(n)){var s=PO(t);if(s){var r=s<3?wO:OO;Object.keys(n).forEach(function(i){r(t,i,n[i])}),t.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function wO(t,e,n){Object.defineProperty(t.prototype,e,{get:function(){return n}}),t[e]=n}function OO(t,e,n){t.config.globalProperties[e]=n,t[e]=n}function $g(t){return t&&typeof t.get=="function"&&typeof t.post=="function"}function kO(t){return{axios:t,$http:t}}function NO(t){return Fo(t)==="object"&&Object.keys(t).every(function(e){return $g(t[e])})}function PO(t){return t&&t.version&&Number(t.version.split(".")[0])}(typeof exports>"u"?"undefined":Fo(exports))=="object"?module.exports=ro:typeof define=="function"&&define.amd?define([],function(){return ro}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(ro,window.axios);const Ya=xg("auth",{state:()=>({loggedIn:!!localStorage.getItem("token"),user:null}),getters:{},actions:{async login(t){await st.get("sanctum/csrf-cookie");const e=(await st.post("api/login",t)).data;if(e){const n=`Bearer ${e.token}`;localStorage.setItem("token",n),st.defaults.headers.common.Authorization=n,await this.ftechUser()}},async logout(){(await st.post("api/logout")).data&&(localStorage.removeItem("token"),this.$reset())},async ftechUser(){this.user=(await st.get("api/me")).data,this.loggedIn=!0}}}),DO={install:({config:t})=>{t.globalProperties.$auth=Ya(),Ya().loggedIn&&Ya().ftechUser()}};function IO(t){return{all:t=t||new Map,on:function(e,n){var s=t.get(e);s?s.push(n):t.set(e,[n])},off:function(e,n){var s=t.get(e);s&&(n?s.splice(s.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var s=t.get(e);s&&s.slice().map(function(r){r(n)}),(s=t.get("*"))&&s.slice().map(function(r){r(e,n)})}}}const RO={install:(t,e)=>{t.config.globalProperties.$eventBus=IO()}},bi={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},er={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},We={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},LO={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom"},Vg={dangerouslyHTMLString:!1,multiple:!0,position:bi.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},FO={rtl:!1,newestOnTop:!1,toastClassName:""},jg={...Vg,...FO};({...Vg,type:We.DEFAULT});var fe=(t=>(t[t.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",t[t.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",t.CSS_NAMESPACE="Toastify",t))(fe||{}),Kl=(t=>(t.ENTRANCE_ANIMATION_END="d",t))(Kl||{});const MO={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},xO={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},BO={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},$O={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"};function Hg(t){let e=MO;if(!t||typeof t=="string")switch(t){case"flip":e=$O;break;case"zoom":e=BO;break;case"slide":e=xO;break}else e=t;return e}function VO(t){return t.containerId||String(t.position)}const ga="will-unmount";function jO(t=bi.TOP_RIGHT){return!!document.querySelector(".".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t))}function HO(t=bi.TOP_RIGHT){return"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t)}function UO(t,e,n=!1){const s=["".concat(fe.CSS_NAMESPACE,"__toast-container"),"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t),n?"".concat(fe.CSS_NAMESPACE,"__toast-container--rtl"):null].filter(Boolean).join(" ");return Ms(e)?e({position:t,rtl:n,defaultClassName:s}):"".concat(s," ").concat(e||"")}function WO(t){var e;const{position:n,containerClassName:s,rtl:r=!1,style:i={}}=t,o=fe.CSS_NAMESPACE,a=HO(n),l=document.querySelector(".".concat(o)),u=document.querySelector(".".concat(a)),c=!!u&&!((e=u.className)!=null&&e.includes(ga)),f=l||document.createElement("div"),m=document.createElement("div");m.className=UO(n,s,r),m.dataset.testid="".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(n),m.id=VO(t);for(const p in i)if(Object.prototype.hasOwnProperty.call(i,p)){const E=i[p];m.style[p]=E}return l||(f.className=fe.CSS_NAMESPACE,document.body.appendChild(f)),c||f.appendChild(m),m}function zl(t){var e,n,s;const r=typeof t=="string"?t:((e=t.currentTarget)==null?void 0:e.id)||((n=t.target)==null?void 0:n.id),i=document.getElementById(r);i&&i.removeEventListener("animationend",zl,!1);try{Qr[r].unmount(),(s=document.getElementById(r))==null||s.remove(),delete Qr[r],delete Re[r]}catch{}}const Qr=Dt({});function qO(t,e){const n=document.getElementById(String(e));n&&(Qr[n.id]=t)}function Gl(t,e=!0){const n=String(t);if(!Qr[n])return;const s=document.getElementById(n);s&&s.classList.add(ga),e?(zO(t),s&&s.addEventListener("animationend",zl,!1)):zl(n),Wt.items=Wt.items.filter(r=>r.containerId!==t)}function KO(t){for(const e in Qr)Gl(e,t);Wt.items=[]}function Ug(t,e){const n=document.getElementById(t.toastId);if(n){let s=t;s={...s,...Hg(s.transition)};const r=s.appendPosition?"".concat(s.exit,"--").concat(s.position):s.exit;n.className+=" ".concat(r),e&&e(n)}}function zO(t){for(const e in Re)if(e===t)for(const n of Re[e]||[])Ug(n)}function GO(t){const e=Ai().find(n=>n.toastId===t);return e==null?void 0:e.containerId}function Cc(t){return document.getElementById(t)}function YO(t){const e=Cc(t.containerId);return e&&e.classList.contains(ga)}function Dd(t){var e;const n=Ut(t.content)?Q(t.content.props):null;return n??Q((e=t.data)!=null?e:{})}function XO(t){return t?Wt.items.filter(e=>e.containerId===t).length>0:Wt.items.length>0}function JO(){if(Wt.items.length>0){const t=Wt.items.shift();io(t==null?void 0:t.toastContent,t==null?void 0:t.toastProps)}}const Re=Dt({}),Wt=Dt({items:[]});function Ai(){const t=Q(Re);return Object.values(t).reduce((e,n)=>[...e,...n],[])}function ZO(t){return Ai().find(e=>e.toastId===t)}function io(t,e={}){if(YO(e)){const n=Cc(e.containerId);n&&n.addEventListener("animationend",Yl.bind(null,t,e),!1)}else Yl(t,e)}function Yl(t,e={}){const n=Cc(e.containerId);n&&n.removeEventListener("animationend",Yl.bind(null,t,e),!1);const s=Re[e.containerId]||[],r=s.length>0;if(!r&&!jO(e.position)){const i=WO(e),o=rc(_k,e);o.mount(i),qO(o,i.id)}r&&(e.position=s[0].position),fr(()=>{e.updateId?jt.update(e):jt.add(t,e)})}const jt={add(t,e){const{containerId:n=""}=e;n&&(Re[n]=Re[n]||[],Re[n].find(s=>s.toastId===e.toastId)||setTimeout(()=>{var s,r;e.newestOnTop?(s=Re[n])==null||s.unshift(e):(r=Re[n])==null||r.push(e),e.onOpen&&e.onOpen(Dd(e))},e.delay||0))},remove(t){if(t){const e=GO(t);if(e){const n=Re[e];let s=n.find(r=>r.toastId===t);Re[e]=n.filter(r=>r.toastId!==t),!Re[e].length&&!XO(e)&&Gl(e,!1),JO(),fr(()=>{s!=null&&s.onClose&&(s.onClose(Dd(s)),s=void 0)})}}},update(t={}){const{containerId:e=""}=t;if(e&&t.updateId){Re[e]=Re[e]||[];const n=Re[e].find(s=>s.toastId===t.toastId);n&&setTimeout(()=>{for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const r=t[s];n[s]=r}},t.delay||0)}},clear(t,e=!0){t?Gl(t,e):KO(e)},dismissCallback(t){var e;const n=(e=t.currentTarget)==null?void 0:e.id,s=document.getElementById(n);s&&(s.removeEventListener("animationend",jt.dismissCallback,!1),setTimeout(()=>{jt.remove(n)}))},dismiss(t){if(t){const e=Ai();for(const n of e)if(n.toastId===t){Ug(n,s=>{s.addEventListener("animationend",jt.dismissCallback,!1)});break}}}},Wg=Dt({}),Mo=Dt({});function qg(){return Math.random().toString(36).substring(2,9)}function QO(t){return typeof t=="number"&&!isNaN(t)}function Xl(t){return typeof t=="string"}function Ms(t){return typeof t=="function"}function _a(...t){return Kt(...t)}function oo(t){return typeof t=="object"&&(!!(t!=null&&t.render)||!!(t!=null&&t.setup)||typeof(t==null?void 0:t.type)=="object")}function ek(t={}){Wg["".concat(fe.CSS_NAMESPACE,"-default-options")]=t}function tk(){return Wg["".concat(fe.CSS_NAMESPACE,"-default-options")]||jg}function nk(){return document.documentElement.classList.contains("dark")?"dark":"light"}var ao=(t=>(t[t.Enter=0]="Enter",t[t.Exit=1]="Exit",t))(ao||{});const Kg={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:bi.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:er.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:We.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""}},sk={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:We.DEFAULT},theme:{type:String,required:!1,default:er.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},rk=hs({name:"ProgressBar",props:sk,setup(t,{attrs:e}){const n=Ge(),s=ke(()=>t.hide?"true":"false"),r=ke(()=>({...e.style||{},animationDuration:"".concat(t.autoClose===!0?5e3:t.autoClose,"ms"),animationPlayState:t.isRunning?"running":"paused",opacity:t.hide?0:1,transform:t.controlledProgress?"scaleX(".concat(t.progress,")"):"none"})),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__progress-bar"),t.controlledProgress?"".concat(fe.CSS_NAMESPACE,"__progress-bar--controlled"):"".concat(fe.CSS_NAMESPACE,"__progress-bar--animated"),"".concat(fe.CSS_NAMESPACE,"__progress-bar-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__progress-bar--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__progress-bar--rtl"):null].filter(Boolean).join(" ")),o=ke(()=>"".concat(i.value," ").concat((e==null?void 0:e.class)||"")),a=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},l=()=>{t.isIn&&t.closeToast&&t.autoClose!==!1&&(t.closeToast(),a())},u=ke(()=>t.controlledProgress?null:l),c=ke(()=>t.controlledProgress?l:null);return kr(()=>{n.value&&(a(),n.value.onanimationend=u.value,n.value.ontransitionend=c.value)}),()=>te("div",{ref:n,role:"progressbar","aria-hidden":s.value,"aria-label":"notification timer",class:o.value,style:r.value},null)}}),ik=hs({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:er.AUTO},type:{type:String,required:!1,default:er.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(t){return()=>te("button",{class:"".concat(fe.CSS_NAMESPACE,"__close-button ").concat(fe.CSS_NAMESPACE,"__close-button--").concat(t.theme),type:"button",onClick:e=>{e.stopPropagation(),t.closeToast&&t.closeToast(e)},"aria-label":t.ariaLabel},[te("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[te("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Ea=({theme:t,type:e,path:n,...s})=>te("svg",Kt({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":"var(--toastify-icon-color-".concat(e,")")},s),[te("path",{d:n},null)]);function ok(t){return te(Ea,Kt(t,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function ak(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function lk(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function uk(t){return te(Ea,Kt(t,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function ck(){return te("div",{class:"".concat(fe.CSS_NAMESPACE,"__spinner")},null)}const Jl={info:ak,warning:ok,success:lk,error:uk,spinner:ck},fk=t=>t in Jl;function dk({theme:t,type:e,isLoading:n,icon:s}){let r;const i={theme:t,type:e};return n?r=Jl.spinner():s===!1?r=void 0:oo(s)?r=Q(s):Ms(s)?r=s(i):Ut(s)?r=Nt(s,i):Xl(s)||QO(s)?r=s:fk(e)&&(r=Jl[e](i)),r}const hk=()=>{};function pk(t,e,n=fe.COLLAPSE_DURATION){const{scrollHeight:s,style:r}=t,i=n;requestAnimationFrame(()=>{r.minHeight="initial",r.height=s+"px",r.transition="all ".concat(i,"ms"),requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,i)})})}function mk(t){const e=Ge(!1),n=Ge(!1),s=Ge(!1),r=Ge(ao.Enter),i=Dt({...t,appendPosition:t.appendPosition||!1,collapse:typeof t.collapse>"u"?!0:t.collapse,collapseDuration:t.collapseDuration||fe.COLLAPSE_DURATION}),o=i.done||hk,a=ke(()=>i.appendPosition?"".concat(i.enter,"--").concat(i.position):i.enter),l=ke(()=>i.appendPosition?"".concat(i.exit,"--").concat(i.position):i.exit),u=ke(()=>t.pauseOnHover?{onMouseenter:y,onMouseleave:d}:{});function c(){const h=a.value.split(" ");m().addEventListener(Kl.ENTRANCE_ANIMATION_END,d,{once:!0});const b=A=>{const C=m();A.target===C&&(C.dispatchEvent(new Event(Kl.ENTRANCE_ANIMATION_END)),C.removeEventListener("animationend",b),C.removeEventListener("animationcancel",b),r.value===ao.Enter&&A.type!=="animationcancel"&&C.classList.remove(...h))},g=()=>{const A=m();A.classList.add(...h),A.addEventListener("animationend",b),A.addEventListener("animationcancel",b)};t.pauseOnFocusLoss&&p(),g()}function f(){if(!m())return;const h=()=>{const g=m();g.removeEventListener("animationend",h),i.collapse?pk(g,o,i.collapseDuration):o()},b=()=>{const g=m();r.value=ao.Exit,g&&(g.className+=" ".concat(l.value),g.addEventListener("animationend",h))};n.value||(s.value?h():setTimeout(b))}function m(){return t.toastRef.value}function p(){document.hasFocus()||y(),window.addEventListener("focus",d),window.addEventListener("blur",y)}function E(){window.removeEventListener("focus",d),window.removeEventListener("blur",y)}function d(){(!t.loading.value||t.isLoading===void 0)&&(e.value=!0)}function y(){e.value=!1}function _(h){h&&(h.stopPropagation(),h.preventDefault()),n.value=!1}return kr(f),kr(()=>{const h=Ai();n.value=h.findIndex(b=>b.toastId===i.toastId)>-1}),kr(()=>{t.isLoading!==void 0&&(t.loading.value?y():d())}),ps(c),dr(()=>{t.pauseOnFocusLoss&&E()}),{isIn:n,isRunning:e,hideToast:_,eventHandlers:u}}const gk=hs({name:"ToastItem",inheritAttrs:!1,props:Kg,setup(t){const e=Ge(),n=ke(()=>!!t.isLoading),s=ke(()=>t.progress!==void 0&&t.progress!==null),r=ke(()=>dk(t)),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__toast"),"".concat(fe.CSS_NAMESPACE,"__toast-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__toast--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__toast--rtl"):void 0,t.toastClassName||""].filter(Boolean).join(" ")),{isRunning:o,isIn:a,hideToast:l,eventHandlers:u}=mk({toastRef:e,loading:n,done:()=>{jt.remove(t.toastId)},...Hg(t.transition),...t});return()=>te("div",Kt({id:t.toastId,class:i.value,style:t.toastStyle||{},ref:e,"data-testid":"toast-item-".concat(t.toastId),onClick:c=>{t.closeOnClick&&l(),t.onClick&&t.onClick(c)}},u.value),[te("div",{role:t.role,"data-testid":"toast-body",class:"".concat(fe.CSS_NAMESPACE,"__toast-body ").concat(t.bodyClassName||"")},[r.value!=null&&te("div",{"data-testid":"toast-icon-".concat(t.type),class:["".concat(fe.CSS_NAMESPACE,"__toast-icon"),t.isLoading?"":"".concat(fe.CSS_NAMESPACE,"--animate-icon ").concat(fe.CSS_NAMESPACE,"__zoom-enter")].join(" ")},[oo(r.value)?ws(Q(r.value),{theme:t.theme,type:t.type}):Ms(r.value)?r.value({theme:t.theme,type:t.type}):r.value]),te("div",{"data-testid":"toast-content"},[oo(t.content)?ws(Q(t.content),{toastProps:Q(t),closeToast:l,data:t.data}):Ms(t.content)?t.content({toastProps:Q(t),closeToast:l,data:t.data}):t.dangerouslyHTMLString?ws("div",{innerHTML:t.content}):t.content])]),(t.closeButton===void 0||t.closeButton===!0)&&te(ik,{theme:t.theme,closeToast:c=>{c.stopPropagation(),c.preventDefault(),l()}},null),oo(t.closeButton)?ws(Q(t.closeButton),{closeToast:l,type:t.type,theme:t.theme}):Ms(t.closeButton)?t.closeButton({closeToast:l,type:t.type,theme:t.theme}):null,te(rk,{className:t.progressClassName,style:t.progressStyle,rtl:t.rtl,theme:t.theme,isIn:a.value,type:t.type,hide:t.hideProgressBar,isRunning:o.value,autoClose:t.autoClose,controlledProgress:s.value,progress:t.progress,closeToast:t.isLoading?void 0:l},null)])}});let Mr=0;function zg(){typeof window>"u"||(Mr&&window.cancelAnimationFrame(Mr),Mr=window.requestAnimationFrame(zg),Mo.lastUrl!==window.location.href&&(Mo.lastUrl=window.location.href,jt.clear()))}const _k=hs({name:"ToastifyContainer",inheritAttrs:!1,props:Kg,setup(t){const e=ke(()=>t.containerId),n=ke(()=>Re[e.value]||[]),s=ke(()=>n.value.filter(r=>r.position===t.position));return ps(()=>{typeof window<"u"&&t.clearOnUrlChange&&window.requestAnimationFrame(zg)}),dr(()=>{typeof window<"u"&&Mr&&(window.cancelAnimationFrame(Mr),Mo.lastUrl="")}),()=>te(Pe,null,[s.value.map(r=>{const{toastId:i=""}=r;return te(gk,Kt({key:i},r),null)})])}});let Xa=!1;function Gg(){const t=[];return Ai().forEach(e=>{const n=document.getElementById(e.containerId);n&&!n.classList.contains(ga)&&t.push(e)}),t}function Ek(t){const e=Gg().length,n=t??0;return n>0&&e+Wt.items.length>=n}function yk(t){Ek(t.limit)&&!t.updateId&&Wt.items.push({toastId:t.toastId,containerId:t.containerId,toastContent:t.content,toastProps:t})}function Ln(t,e,n={}){if(Xa)return;n=_a(tk(),{type:e},Q(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=qg()),n={...n,content:t,containerId:n.containerId||String(n.position)};const s=Number(n==null?void 0:n.progress);return s<0&&(n.progress=0),s>1&&(n.progress=1),n.theme==="auto"&&(n.theme=nk()),yk(n),Mo.lastUrl=window.location.href,n.multiple?Wt.items.length?n.updateId&&io(t,n):io(t,n):(Xa=!0,Ee.clearAll(void 0,!1),setTimeout(()=>{io(t,n)},0),setTimeout(()=>{Xa=!1},390)),n.toastId}const Ee=(t,e)=>Ln(t,We.DEFAULT,e);Ee.info=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.INFO});Ee.error=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.ERROR});Ee.warning=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.WARNING});Ee.warn=Ee.warning;Ee.success=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.SUCCESS});Ee.loading=(t,e)=>Ln(t,We.DEFAULT,_a(e,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1}));Ee.dark=(t,e)=>Ln(t,We.DEFAULT,_a(e,{theme:er.DARK}));Ee.remove=t=>{t?jt.dismiss(t):jt.clear()};Ee.clearAll=(t,e)=>{jt.clear(t,e)};Ee.isActive=t=>{let e=!1;return e=Gg().findIndex(n=>n.toastId===t)>-1,e};Ee.update=(t,e={})=>{setTimeout(()=>{const n=ZO(t);if(n){const s=Q(n),{content:r}=s,i={...s,...e,toastId:e.toastId||t,updateId:qg()},o=i.render||r;delete i.render,Ln(o,i.type,i)}},0)};Ee.done=t=>{Ee.update(t,{isLoading:!1,progress:1})};Ee.promise=vk;function vk(t,{pending:e,error:n,success:s},r){var i,o,a;let l;const u={...r||{},autoClose:!1};e&&(l=Xl(e)?Ee.loading(e,u):Ee.loading(e.render,{...u,...e}));const c={autoClose:(i=r==null?void 0:r.autoClose)!=null?i:!0,closeOnClick:(o=r==null?void 0:r.closeOnClick)!=null?o:!0,closeButton:(a=r==null?void 0:r.autoClose)!=null?a:null,isLoading:void 0,draggable:null,delay:100},f=(p,E,d)=>{if(E==null){Ee.remove(l);return}const y={type:p,...c,...r,data:d},_=Xl(E)?{render:E}:E;return l?Ee.update(l,{...y,..._,isLoading:!1}):Ee(_.render,{...y,..._,isLoading:!1}),d},m=Ms(t)?t():t;return m.then(p=>{f("success",s,p)}).catch(p=>{f("error",n,p)}),m}Ee.POSITION=bi;Ee.THEME=er;Ee.TYPE=We;Ee.TRANSITIONS=LO;const Yg={install(t,e={}){bk(e)}};typeof window<"u"&&(window.Vue3Toastify=Yg);function bk(t={}){const e=_a(jg,t);ek(e)}const Sc={url:"https://aibuddytool.com",port:null,defaults:{},routes:{"debugbar.openhandler":{uri:"_debugbar/open",methods:["GET","HEAD"]},"debugbar.clockwork":{uri:"_debugbar/clockwork/{id}",methods:["GET","HEAD"],parameters:["id"]},"debugbar.assets.css":{uri:"_debugbar/assets/stylesheets",methods:["GET","HEAD"]},"debugbar.assets.js":{uri:"_debugbar/assets/javascript",methods:["GET","HEAD"]},"debugbar.cache.delete":{uri:"_debugbar/cache/{key}/{tags?}",methods:["DELETE"],parameters:["key","tags"]},"horizon.stats.index":{uri:"chorizo/api/stats",methods:["GET","HEAD"]},"horizon.workload.index":{uri:"chorizo/api/workload",methods:["GET","HEAD"]},"horizon.masters.index":{uri:"chorizo/api/masters",methods:["GET","HEAD"]},"horizon.monitoring.index":{uri:"chorizo/api/monitoring",methods:["GET","HEAD"]},"horizon.monitoring.store":{uri:"chorizo/api/monitoring",methods:["POST"]},"horizon.monitoring-tag.paginate":{uri:"chorizo/api/monitoring/{tag}",methods:["GET","HEAD"],parameters:["tag"]},"horizon.monitoring-tag.destroy":{uri:"chorizo/api/monitoring/{tag}",methods:["DELETE"],wheres:{tag:".*"},parameters:["tag"]},"horizon.jobs-metrics.index":{uri:"chorizo/api/metrics/jobs",methods:["GET","HEAD"]},"horizon.jobs-metrics.show":{uri:"chorizo/api/metrics/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.queues-metrics.index":{uri:"chorizo/api/metrics/queues",methods:["GET","HEAD"]},"horizon.queues-metrics.show":{uri:"chorizo/api/metrics/queues/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.index":{uri:"chorizo/api/batches",methods:["GET","HEAD"]},"horizon.jobs-batches.show":{uri:"chorizo/api/batches/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.retry":{uri:"chorizo/api/batches/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.pending-jobs.index":{uri:"chorizo/api/jobs/pending",methods:["GET","HEAD"]},"horizon.completed-jobs.index":{uri:"chorizo/api/jobs/completed",methods:["GET","HEAD"]},"horizon.silenced-jobs.index":{uri:"chorizo/api/jobs/silenced",methods:["GET","HEAD"]},"horizon.failed-jobs.index":{uri:"chorizo/api/jobs/failed",methods:["GET","HEAD"]},"horizon.failed-jobs.show":{uri:"chorizo/api/jobs/failed/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.retry-jobs.show":{uri:"chorizo/api/jobs/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.jobs.show":{uri:"chorizo/api/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.index":{uri:"chorizo/{view?}",methods:["GET","HEAD"],wheres:{view:"(.*)"},parameters:["view"]},"sanctum.csrf-cookie":{uri:"sanctum/csrf-cookie",methods:["GET","HEAD"]},"ignition.healthCheck":{uri:"_ignition/health-check",methods:["GET","HEAD"]},"ignition.executeSolution":{uri:"_ignition/execute-solution",methods:["POST"]},"ignition.updateConfig":{uri:"_ignition/update-config",methods:["POST"]},"api.auth.login.post":{uri:"api/login",methods:["POST"]},"api.auth.logout.post":{uri:"api/logout",methods:["POST"]},"api.admin.post.get":{uri:"api/admin/post/{id}",methods:["GET","HEAD"],parameters:["id"]},"api.admin.country-locales":{uri:"api/admin/country-locales",methods:["GET","HEAD"]},"api.admin.categories":{uri:"api/admin/categories/{country_locale_slug}",methods:["GET","HEAD"],parameters:["country_locale_slug"]},"api.admin.authors":{uri:"api/admin/authors",methods:["GET","HEAD"]},"api.admin.upload.cloud.image":{uri:"api/admin/image/upload",methods:["POST"]},"api.admin.post.upsert":{uri:"api/admin/admin/post/upsert",methods:["POST"]},"feeds.main":{uri:"posts.rss",methods:["GET","HEAD"]},login:{uri:"login",methods:["GET","HEAD"]},logout:{uri:"logout",methods:["POST"]},register:{uri:"register",methods:["GET","HEAD"]},"password.request":{uri:"password/reset",methods:["GET","HEAD"]},"password.email":{uri:"password/email",methods:["POST"]},"password.reset":{uri:"password/reset/{token}",methods:["GET","HEAD"],parameters:["token"]},"password.update":{uri:"password/reset",methods:["POST"]},"password.confirm":{uri:"password/confirm",methods:["GET","HEAD"]},"front.home":{uri:"/",methods:["GET","HEAD"]},"front.discover.home":{uri:"discover",methods:["GET","HEAD"]},"front.discover.category":{uri:"discover/{category_slug}",methods:["GET","HEAD"],parameters:["category_slug"]},"front.search.post":{uri:"ai-search",methods:["POST"]},"front.search.results":{uri:"ai-search/{query}",methods:["GET","HEAD"],parameters:["query"]},"front.aitool.show":{uri:"ai-tool/{ai_tool_slug}",methods:["GET","HEAD"],parameters:["ai_tool_slug"]},"front.terms":{uri:"terms",methods:["GET","HEAD"]},"front.privacy":{uri:"privacy",methods:["GET","HEAD"]},"front.disclaimer":{uri:"disclaimer",methods:["GET","HEAD"]}}};typeof window<"u"&&typeof window.Ziggy<"u"&&Object.assign(Sc.routes,window.Ziggy.routes);var Ak=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nk(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zl={exports:{}},Ja,Id;function wc(){if(Id)return Ja;Id=1;var t=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Ja={default:n.RFC3986,formatters:{RFC1738:function(s){return t.call(s,e,"+")},RFC3986:function(s){return String(s)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},Ja}var Za,Rd;function Xg(){if(Rd)return Za;Rd=1;var t=wc(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s=function(){for(var d=[],y=0;y<256;++y)d.push("%"+((y<16?"0":"")+y.toString(16)).toUpperCase());return d}(),r=function(y){for(;y.length>1;){var _=y.pop(),h=_.obj[_.prop];if(n(h)){for(var b=[],g=0;g=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||g===t.RFC1738&&(v===40||v===41)){C+=A.charAt(O);continue}if(v<128){C=C+s[v];continue}if(v<2048){C=C+(s[192|v>>6]+s[128|v&63]);continue}if(v<55296||v>=57344){C=C+(s[224|v>>12]+s[128|v>>6&63]+s[128|v&63]);continue}O+=1,v=65536+((v&1023)<<10|A.charCodeAt(O)&1023),C+=s[240|v>>18]+s[128|v>>12&63]+s[128|v>>6&63]+s[128|v&63]}return C},c=function(y){for(var _=[{obj:{o:y},prop:"o"}],h=[],b=0;b<_.length;++b)for(var g=_[b],A=g.obj[g.prop],C=Object.keys(A),O=0;O"u")return se;var _e;if(_==="comma"&&r(R))_e=[{value:R.length>0?R.join(",")||null:void 0}];else if(r(A))_e=A;else{var dt=Object.keys(R);_e=C?dt.sort(C):dt}for(var Be=0;Be<_e.length;++Be){var ye=_e[Be],It=typeof ye=="object"&&typeof ye.value<"u"?ye.value:R[ye];if(!(b&&It===null)){var Rt=r(R)?typeof _=="function"?_(y,ye):y:y+(O?"."+ye:"["+ye+"]");a(se,E(It,Rt,_,h,b,g,A,C,O,v,w,k,N,P))}}return se},p=function(d){if(!d)return c;if(d.encoder!==null&&typeof d.encoder<"u"&&typeof d.encoder!="function")throw new TypeError("Encoder has to be a function.");var y=d.charset||c.charset;if(typeof d.charset<"u"&&d.charset!=="utf-8"&&d.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=e.default;if(typeof d.format<"u"){if(!n.call(e.formatters,d.format))throw new TypeError("Unknown format option provided.");_=d.format}var h=e.formatters[_],b=c.filter;return(typeof d.filter=="function"||r(d.filter))&&(b=d.filter),{addQueryPrefix:typeof d.addQueryPrefix=="boolean"?d.addQueryPrefix:c.addQueryPrefix,allowDots:typeof d.allowDots>"u"?c.allowDots:!!d.allowDots,charset:y,charsetSentinel:typeof d.charsetSentinel=="boolean"?d.charsetSentinel:c.charsetSentinel,delimiter:typeof d.delimiter>"u"?c.delimiter:d.delimiter,encode:typeof d.encode=="boolean"?d.encode:c.encode,encoder:typeof d.encoder=="function"?d.encoder:c.encoder,encodeValuesOnly:typeof d.encodeValuesOnly=="boolean"?d.encodeValuesOnly:c.encodeValuesOnly,filter:b,format:_,formatter:h,serializeDate:typeof d.serializeDate=="function"?d.serializeDate:c.serializeDate,skipNulls:typeof d.skipNulls=="boolean"?d.skipNulls:c.skipNulls,sort:typeof d.sort=="function"?d.sort:null,strictNullHandling:typeof d.strictNullHandling=="boolean"?d.strictNullHandling:c.strictNullHandling}};return Qa=function(E,d){var y=E,_=p(d),h,b;typeof _.filter=="function"?(b=_.filter,y=b("",y)):r(_.filter)&&(b=_.filter,h=b);var g=[];if(typeof y!="object"||y===null)return"";var A;d&&d.arrayFormat in s?A=d.arrayFormat:d&&"indices"in d?A=d.indices?"indices":"repeat":A="indices";var C=s[A];h||(h=Object.keys(y)),_.sort&&h.sort(_.sort);for(var O=0;O0?k+w:""},Qa}var el,Fd;function Ck(){if(Fd)return el;Fd=1;var t=Xg(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:t.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(m){return m.replace(/&#(\d+);/g,function(p,E){return String.fromCharCode(parseInt(E,10))})},i=function(m,p){return m&&typeof m=="string"&&p.comma&&m.indexOf(",")>-1?m.split(","):m},o="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(p,E){var d={},y=E.ignoreQueryPrefix?p.replace(/^\?/,""):p,_=E.parameterLimit===1/0?void 0:E.parameterLimit,h=y.split(E.delimiter,_),b=-1,g,A=E.charset;if(E.charsetSentinel)for(g=0;g-1&&(k=n(k)?[k]:k),e.call(d,w)?d[w]=t.combine(d[w],k):d[w]=k}return d},u=function(m,p,E,d){for(var y=d?p:i(p,E),_=m.length-1;_>=0;--_){var h,b=m[_];if(b==="[]"&&E.parseArrays)h=[].concat(y);else{h=E.plainObjects?Object.create(null):{};var g=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,A=parseInt(g,10);!E.parseArrays&&g===""?h={0:y}:!isNaN(A)&&b!==g&&String(A)===g&&A>=0&&E.parseArrays&&A<=E.arrayLimit?(h=[],h[A]=y):g!=="__proto__"&&(h[g]=y)}y=h}return y},c=function(p,E,d,y){if(p){var _=d.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,h=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,g=d.depth>0&&h.exec(_),A=g?_.slice(0,g.index):_,C=[];if(A){if(!d.plainObjects&&e.call(Object.prototype,A)&&!d.allowPrototypes)return;C.push(A)}for(var O=0;d.depth>0&&(g=b.exec(_))!==null&&O"u"?s.charset:p.charset;return{allowDots:typeof p.allowDots>"u"?s.allowDots:!!p.allowDots,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:s.allowPrototypes,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:s.arrayLimit,charset:E,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:s.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:s.comma,decoder:typeof p.decoder=="function"?p.decoder:s.decoder,delimiter:typeof p.delimiter=="string"||t.isRegExp(p.delimiter)?p.delimiter:s.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:s.depth,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:s.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:s.plainObjects,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:s.strictNullHandling}};return el=function(m,p){var E=f(p);if(m===""||m===null||typeof m>"u")return E.plainObjects?Object.create(null):{};for(var d=typeof m=="string"?l(m,E):m,y=E.plainObjects?Object.create(null):{},_=Object.keys(d),h=0;h<_.length;++h){var b=_[h],g=c(b,d[b],E,typeof m=="string");y=t.merge(y,g,E)}return t.compact(y)},el}var tl,Md;function Sk(){if(Md)return tl;Md=1;var t=Tk(),e=Ck(),n=wc();return tl={formats:n,parse:e,stringify:t},tl}(function(t,e){(function(n,s){s(e,Sk())})(Ak,function(n,s){function r(p,E){for(var d=0;d"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(y,_,h){var b=[null];b.push.apply(b,_);var g=new(Function.bind.apply(y,b));return h&&l(g,h.prototype),g},u.apply(null,arguments)}function c(p){var E=typeof Map=="function"?new Map:void 0;return c=function(d){if(d===null||Function.toString.call(d).indexOf("[native code]")===-1)return d;if(typeof d!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(d))return E.get(d);E.set(d,y)}function y(){return u(d,arguments,a(this).constructor)}return y.prototype=Object.create(d.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),l(y,d)},c(p)}var f=function(){function p(d,y,_){var h,b;this.name=d,this.definition=y,this.bindings=(h=y.bindings)!=null?h:{},this.wheres=(b=y.wheres)!=null?b:{},this.config=_}var E=p.prototype;return E.matchesUrl=function(d){var y=this;if(!this.definition.methods.includes("GET"))return!1;var _=this.template.replace(/(\/?){([^}?]*)(\??)}/g,function(O,v,w,k){var N,P="(?<"+w+">"+(((N=y.wheres[w])==null?void 0:N.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return k?"("+v+P+")?":""+v+P}).replace(/^\w+:\/\//,""),h=d.replace(/^\w+:\/\//,"").split("?"),b=h[0],g=h[1],A=new RegExp("^"+_+"/?$").exec(b);if(A){for(var C in A.groups)A.groups[C]=typeof A.groups[C]=="string"?decodeURIComponent(A.groups[C]):A.groups[C];return{params:A.groups,query:s.parse(g)}}return!1},E.compile=function(d){var y=this,_=this.parameterSegments;return _.length?this.template.replace(/{([^}?]+)(\??)}/g,function(h,b,g){var A;if(!g&&[null,void 0].includes(d[b]))throw new Error("Ziggy error: '"+b+"' parameter is required for route '"+y.name+"'.");if(y.wheres[b]){var C,O;if(!new RegExp("^"+(g?"("+y.wheres[b]+")?":y.wheres[b])+"$").test((C=d[b])!=null?C:""))throw new Error("Ziggy error: '"+b+"' parameter does not match required format '"+y.wheres[b]+"' for route '"+y.name+"'.");if(_[_.length-1].name===b)return encodeURIComponent((O=d[b])!=null?O:"").replace(/%2F/g,"/")}return encodeURIComponent((A=d[b])!=null?A:"")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},i(p,[{key:"template",get:function(){return(this.origin+"/"+this.definition.uri).replace(/\/+$/,"")}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var d,y;return(d=(y=this.template.match(/{[^}?]+\??}/g))==null?void 0:y.map(function(_){return{name:_.replace(/{|\??}/g,""),required:!/\?}$/.test(_)}}))!=null?d:[]}}]),p}(),m=function(p){var E,d;function y(h,b,g,A){var C;if(g===void 0&&(g=!0),(C=p.call(this)||this).t=A??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),C.t=o({},C.t,{absolute:g}),h){if(!C.t.routes[h])throw new Error("Ziggy error: route '"+h+"' is not in the route list.");C.i=new f(h,C.t.routes[h],C.t),C.u=C.o(b)}return C}d=p,(E=y).prototype=Object.create(d.prototype),E.prototype.constructor=E,l(E,d);var _=y.prototype;return _.toString=function(){var h=this,b=Object.keys(this.u).filter(function(g){return!h.i.parameterSegments.some(function(A){return A.name===g})}).filter(function(g){return g!=="_query"}).reduce(function(g,A){var C;return o({},g,((C={})[A]=h.u[A],C))},{});return this.i.compile(this.u)+s.stringify(o({},b,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(g,A){return typeof g=="boolean"?Number(g):A(g)}})},_.l=function(h){var b=this;h?this.t.absolute&&h.startsWith("/")&&(h=this.h().host+h):h=this.v();var g={},A=Object.entries(this.t.routes).find(function(C){return g=new f(C[0],C[1],b.t).matchesUrl(h)})||[void 0,void 0];return o({name:A[0]},g,{route:A[1]})},_.v=function(){var h=this.h(),b=h.pathname,g=h.search;return(this.t.absolute?h.host+b:b.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+g},_.current=function(h,b){var g=this.l(),A=g.name,C=g.params,O=g.query,v=g.route;if(!h)return A;var w=new RegExp("^"+h.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(A);if([null,void 0].includes(b)||!w)return w;var k=new f(A,v,this.t);b=this.o(b,k);var N=o({},C,O);return!(!Object.values(b).every(function(P){return!P})||Object.values(N).some(function(P){return P!==void 0}))||Object.entries(b).every(function(P){return N[P[0]]==P[1]})},_.h=function(){var h,b,g,A,C,O,v=typeof window<"u"?window.location:{},w=v.host,k=v.pathname,N=v.search;return{host:(h=(b=this.t.location)==null?void 0:b.host)!=null?h:w===void 0?"":w,pathname:(g=(A=this.t.location)==null?void 0:A.pathname)!=null?g:k===void 0?"":k,search:(C=(O=this.t.location)==null?void 0:O.search)!=null?C:N===void 0?"":N}},_.has=function(h){return Object.keys(this.t.routes).includes(h)},_.o=function(h,b){var g=this;h===void 0&&(h={}),b===void 0&&(b=this.i),h!=null||(h={}),h=["string","number"].includes(typeof h)?[h]:h;var A=b.parameterSegments.filter(function(O){return!g.t.defaults[O.name]});if(Array.isArray(h))h=h.reduce(function(O,v,w){var k,N;return o({},O,A[w]?((k={})[A[w].name]=v,k):typeof v=="object"?v:((N={})[v]="",N))},{});else if(A.length===1&&!h[A[0].name]&&(h.hasOwnProperty(Object.values(b.bindings)[0])||h.hasOwnProperty("id"))){var C;(C={})[A[0].name]=h,h=C}return o({},this.p(b),this.g(h,b))},_.p=function(h){var b=this;return h.parameterSegments.filter(function(g){return b.t.defaults[g.name]}).reduce(function(g,A,C){var O,v=A.name;return o({},g,((O={})[v]=b.t.defaults[v],O))},{})},_.g=function(h,b){var g=b.bindings,A=b.parameterSegments;return Object.entries(h).reduce(function(C,O){var v,w,k=O[0],N=O[1];if(!N||typeof N!="object"||Array.isArray(N)||!A.some(function(P){return P.name===k}))return o({},C,((w={})[k]=N,w));if(!N.hasOwnProperty(g[k])){if(!N.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+k+"' parameter is missing route model binding key '"+g[k]+"'.");g[k]="id"}return o({},C,((v={})[k]=N[g[k]],v))},{})},_.valueOf=function(){return this.toString()},_.check=function(h){return this.has(h)},i(y,[{key:"params",get:function(){var h=this.l();return o({},h.params,h.query)}}]),y}(c(String));n.ZiggyVue={install:function(p,E){var d=function(y,_,h,b){return b===void 0&&(b=E),function(g,A,C,O){var v=new m(g,A,C,O);return g?v.toString():v}(y,_,h,b)};p.mixin({methods:{route:d}}),parseInt(p.version)>2&&p.provide("route",d)}}})})(Zl,Zl.exports);var wk=Zl.exports;const Fn=rc({FrontApp:gO}),Jg=Object.assign({"/resources/js/vue/GetEmbedCode.vue":()=>Ti(()=>import("./GetEmbedCode-51a0da35.js"),[]),"/resources/js/vue/NativeImageBlock.vue":()=>Ti(()=>import("./NativeImageBlock-27e6a028.js").then(t=>t.N),["assets/NativeImageBlock-27e6a028.js","assets/NativeImageBlock-e3b0c442.css"]),"/resources/js/vue/PostEditor.vue":()=>Ti(()=>import("./PostEditor-e2c0e1b1.js"),["assets/PostEditor-e2c0e1b1.js","assets/VueEditorJs-4c208fc9.js","assets/NativeImageBlock-27e6a028.js","assets/NativeImageBlock-e3b0c442.css","assets/bundle-2f2c1632.js","assets/bundle-8efc010f.js","assets/PostEditor-8d534a4a.css"]),"/resources/js/vue/VueEditorJs.vue":()=>Ti(()=>import("./VueEditorJs-4c208fc9.js"),[])});console.log(Jg);Fn.use(EO());Fn.use(ro,st);Fn.use(DO);Fn.use(RO);Fn.use(Yg);Fn.use(wk.ZiggyVue,Sc);window.Ziggy=Sc;Object.entries({...Jg}).forEach(([t,e])=>{const n=t.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Fn.component(n,Wp(e))});Fn.mount("#app");export{fC as $,Xu as A,AS as B,LC as C,fi as D,g1 as E,p1 as F,Pe as G,ci as H,Zu as I,pT as J,tc as K,fr as L,OC as M,Um as N,Yp as O,Nu as P,gp as Q,Ok as R,kk as S,ES as T,RC as U,To as V,nc as W,bS as X,sc as Y,Sk as Z,hO as _,Ju as a,dC as a0,Ti as a1,st as b,Em as c,xg as d,Ge as e,hs as f,Nk as g,ps as h,dr as i,ke as j,te as k,Ee as l,xC as m,MC as n,gi as o,Vu as p,BC as q,Dt as r,rT as s,tC as t,GC as u,vm as v,yn as w,Mu as x,Kt as y,be as z}; + */let Rg;const ma=t=>Rg=t,Lg=Symbol();function Hl(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Mr;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Mr||(Mr={}));function EO(){const t=ku(!0),e=t.run(()=>Ge({}));let n=[],s=[];const r=pi({install(i){ma(r),r._a=i,i.provide(Lg,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!_O?s.push(i):n.push(i),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const Fg=()=>{};function Pd(t,e,n,s=Fg){t.push(e);const r=()=>{const i=t.indexOf(e);i>-1&&(t.splice(i,1),s())};return!n&&Nu()&&gp(r),r}function vs(t,...e){t.slice().forEach(n=>{n(...e)})}const yO=t=>t();function Ul(t,e){t instanceof Map&&e instanceof Map&&e.forEach((n,s)=>t.set(s,n)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],r=t[n];Hl(r)&&Hl(s)&&t.hasOwnProperty(n)&&!be(s)&&!tn(s)?t[n]=Ul(r,s):t[n]=s}return t}const vO=Symbol();function bO(t){return!Hl(t)||!t.hasOwnProperty(vO)}const{assign:gn}=Object;function AO(t){return!!(be(t)&&t.effect)}function TO(t,e,n,s){const{state:r,actions:i,getters:o}=e,a=n.state.value[t];let l;function u(){a||(n.state.value[t]=r?r():{});const c=Dp(n.state.value[t]);return gn(c,i,Object.keys(o||{}).reduce((f,m)=>(f[m]=pi(ke(()=>{ma(n);const p=n._s.get(t);return o[m].call(p,p)})),f),{}))}return l=Mg(t,u,e,n,s,!0),l}function Mg(t,e,n={},s,r,i){let o;const a=gn({actions:{}},n),l={deep:!0};let u,c,f=[],m=[],p;const E=s.state.value[t];!i&&!E&&(s.state.value[t]={}),Ge({});let d;function y(v){let w;u=c=!1,typeof v=="function"?(v(s.state.value[t]),w={type:Mr.patchFunction,storeId:t,events:p}):(Ul(s.state.value[t],v),w={type:Mr.patchObject,payload:v,storeId:t,events:p});const k=d=Symbol();fr().then(()=>{d===k&&(u=!0)}),c=!0,vs(f,w,s.state.value[t])}const _=i?function(){const{state:w}=n,k=w?w():{};this.$patch(N=>{gn(N,k)})}:Fg;function h(){o.stop(),f=[],m=[],s._s.delete(t)}function b(v,w){return function(){ma(s);const k=Array.from(arguments),N=[],P=[];function R(W){N.push(W)}function B(W){P.push(W)}vs(m,{args:k,name:v,store:A,after:R,onError:B});let X;try{X=w.apply(this&&this.$id===t?this:A,k)}catch(W){throw vs(P,W),W}return X instanceof Promise?X.then(W=>(vs(N,W),W)).catch(W=>(vs(P,W),Promise.reject(W))):(vs(N,X),X)}}const g={_p:s,$id:t,$onAction:Pd.bind(null,m),$patch:y,$reset:_,$subscribe(v,w={}){const k=Pd(f,v,w.detached,()=>N()),N=o.run(()=>yn(()=>s.state.value[t],P=>{(w.flush==="sync"?c:u)&&v({storeId:t,type:Mr.direct,events:p},P)},gn({},l,w)));return k},$dispose:h},A=Dt(g);s._s.set(t,A);const S=s._a&&s._a.runWithContext||yO,O=s._e.run(()=>(o=ku(),S(()=>o.run(e))));for(const v in O){const w=O[v];if(be(w)&&!AO(w)||tn(w))i||(E&&bO(w)&&(be(w)?w.value=E[v]:Ul(w,E[v])),s.state.value[t][v]=w);else if(typeof w=="function"){const k=b(v,w);O[v]=k,a.actions[v]=w}}return gn(A,O),gn(Q(A),O),Object.defineProperty(A,"$state",{get:()=>s.state.value[t],set:v=>{y(w=>{gn(w,v)})}}),s._p.forEach(v=>{gn(A,o.run(()=>v({store:A,app:s._a,pinia:s,options:a})))}),E&&i&&n.hydrate&&n.hydrate(A.$state,E),u=!0,c=!0,A}function xg(t,e,n){let s,r;const i=typeof e=="function";typeof t=="string"?(s=t,r=i?n:e):(r=t,s=t.id);function o(a,l){const u=om();return a=a||(u?Fs(Lg,null):null),a&&ma(a),a=Rg,a._s.has(s)||(i?Mg(s,e,r,a):TO(s,r,a)),a._s.get(s)}return o.$id=s,o}function Ok(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(){return t(this.$pinia)[s]},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(){const r=t(this.$pinia),i=e[s];return typeof i=="function"?i.call(this,r):r[i]},n),{})}function kk(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[s](...r)},n),{}):Object.keys(e).reduce((n,s)=>(n[s]=function(...r){return t(this.$pinia)[e[s]](...r)},n),{})}const Bg=xg("error",{state:()=>({message:null,errors:{}})});/*! js-cookie v3.0.5 | MIT */function qi(t){for(var e=1;e"u")){o=qi({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in o)o[l]&&(a+="; "+l,o[l]!==!0&&(a+="="+o[l].split(";")[0]));return document.cookie=r+"="+t.write(i,r)+a}}function s(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var i=document.cookie?document.cookie.split("; "):[],o={},a=0;ast.get("/sanctum/csrf-cookie");st.interceptors.request.use(function(t){return Bg().$reset(),ql.get("XSRF-TOKEN")?t:CO().then(e=>t)},function(t){return Promise.reject(t)});st.interceptors.response.use(function(t){var e,n,s,r,i,o;return(((s=(n=(e=t==null?void 0:t.data)==null?void 0:e.data)==null?void 0:n.csrf_token)==null?void 0:s.length)>0||((o=(i=(r=t==null?void 0:t.data)==null?void 0:r.data)==null?void 0:i.token)==null?void 0:o.length)>0)&&ql.set("XSRF-TOKEN",t.data.data.csrf_token),t},function(t){switch(t.response.status){case 401:localStorage.removeItem("token"),window.location.reload();break;case 403:case 404:console.error("404");break;case 422:Bg().$state=t.response.data;break;default:console.log(t.response.data)}return Promise.reject(t)});function Fo(t){return Fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fo(t)}function ro(t,e){if(!t.vueAxiosInstalled){var n=$g(e)?kO(e):e;if(NO(n)){var s=PO(t);if(s){var r=s<3?wO:OO;Object.keys(n).forEach(function(i){r(t,i,n[i])}),t.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function wO(t,e,n){Object.defineProperty(t.prototype,e,{get:function(){return n}}),t[e]=n}function OO(t,e,n){t.config.globalProperties[e]=n,t[e]=n}function $g(t){return t&&typeof t.get=="function"&&typeof t.post=="function"}function kO(t){return{axios:t,$http:t}}function NO(t){return Fo(t)==="object"&&Object.keys(t).every(function(e){return $g(t[e])})}function PO(t){return t&&t.version&&Number(t.version.split(".")[0])}(typeof exports>"u"?"undefined":Fo(exports))=="object"?module.exports=ro:typeof define=="function"&&define.amd?define([],function(){return ro}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(ro,window.axios);const Ya=xg("auth",{state:()=>({loggedIn:!!localStorage.getItem("token"),user:null}),getters:{},actions:{async login(t){await st.get("sanctum/csrf-cookie");const e=(await st.post("api/login",t)).data;if(e){const n=`Bearer ${e.token}`;localStorage.setItem("token",n),st.defaults.headers.common.Authorization=n,await this.ftechUser()}},async logout(){(await st.post("api/logout")).data&&(localStorage.removeItem("token"),this.$reset())},async ftechUser(){this.user=(await st.get("api/me")).data,this.loggedIn=!0}}}),DO={install:({config:t})=>{t.globalProperties.$auth=Ya(),Ya().loggedIn&&Ya().ftechUser()}};function IO(t){return{all:t=t||new Map,on:function(e,n){var s=t.get(e);s?s.push(n):t.set(e,[n])},off:function(e,n){var s=t.get(e);s&&(n?s.splice(s.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var s=t.get(e);s&&s.slice().map(function(r){r(n)}),(s=t.get("*"))&&s.slice().map(function(r){r(e,n)})}}}const RO={install:(t,e)=>{t.config.globalProperties.$eventBus=IO()}},Ai={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},er={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},We={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},LO={BOUNCE:"bounce",SLIDE:"slide",FLIP:"flip",ZOOM:"zoom"},Vg={dangerouslyHTMLString:!1,multiple:!0,position:Ai.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},FO={rtl:!1,newestOnTop:!1,toastClassName:""},jg={...Vg,...FO};({...Vg,type:We.DEFAULT});var fe=(t=>(t[t.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",t[t.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",t.CSS_NAMESPACE="Toastify",t))(fe||{}),Kl=(t=>(t.ENTRANCE_ANIMATION_END="d",t))(Kl||{});const MO={enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0},xO={enter:"Toastify--animate Toastify__slide-enter",exit:"Toastify--animate Toastify__slide-exit",appendPosition:!0},BO={enter:"Toastify--animate Toastify__zoom-enter",exit:"Toastify--animate Toastify__zoom-exit"},$O={enter:"Toastify--animate Toastify__flip-enter",exit:"Toastify--animate Toastify__flip-exit"};function Hg(t){let e=MO;if(!t||typeof t=="string")switch(t){case"flip":e=$O;break;case"zoom":e=BO;break;case"slide":e=xO;break}else e=t;return e}function VO(t){return t.containerId||String(t.position)}const ga="will-unmount";function jO(t=Ai.TOP_RIGHT){return!!document.querySelector(".".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t))}function HO(t=Ai.TOP_RIGHT){return"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t)}function UO(t,e,n=!1){const s=["".concat(fe.CSS_NAMESPACE,"__toast-container"),"".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(t),n?"".concat(fe.CSS_NAMESPACE,"__toast-container--rtl"):null].filter(Boolean).join(" ");return Ms(e)?e({position:t,rtl:n,defaultClassName:s}):"".concat(s," ").concat(e||"")}function WO(t){var e;const{position:n,containerClassName:s,rtl:r=!1,style:i={}}=t,o=fe.CSS_NAMESPACE,a=HO(n),l=document.querySelector(".".concat(o)),u=document.querySelector(".".concat(a)),c=!!u&&!((e=u.className)!=null&&e.includes(ga)),f=l||document.createElement("div"),m=document.createElement("div");m.className=UO(n,s,r),m.dataset.testid="".concat(fe.CSS_NAMESPACE,"__toast-container--").concat(n),m.id=VO(t);for(const p in i)if(Object.prototype.hasOwnProperty.call(i,p)){const E=i[p];m.style[p]=E}return l||(f.className=fe.CSS_NAMESPACE,document.body.appendChild(f)),c||f.appendChild(m),m}function zl(t){var e,n,s;const r=typeof t=="string"?t:((e=t.currentTarget)==null?void 0:e.id)||((n=t.target)==null?void 0:n.id),i=document.getElementById(r);i&&i.removeEventListener("animationend",zl,!1);try{ei[r].unmount(),(s=document.getElementById(r))==null||s.remove(),delete ei[r],delete Re[r]}catch{}}const ei=Dt({});function qO(t,e){const n=document.getElementById(String(e));n&&(ei[n.id]=t)}function Gl(t,e=!0){const n=String(t);if(!ei[n])return;const s=document.getElementById(n);s&&s.classList.add(ga),e?(zO(t),s&&s.addEventListener("animationend",zl,!1)):zl(n),Wt.items=Wt.items.filter(r=>r.containerId!==t)}function KO(t){for(const e in ei)Gl(e,t);Wt.items=[]}function Ug(t,e){const n=document.getElementById(t.toastId);if(n){let s=t;s={...s,...Hg(s.transition)};const r=s.appendPosition?"".concat(s.exit,"--").concat(s.position):s.exit;n.className+=" ".concat(r),e&&e(n)}}function zO(t){for(const e in Re)if(e===t)for(const n of Re[e]||[])Ug(n)}function GO(t){const e=Ti().find(n=>n.toastId===t);return e==null?void 0:e.containerId}function Sc(t){return document.getElementById(t)}function YO(t){const e=Sc(t.containerId);return e&&e.classList.contains(ga)}function Dd(t){var e;const n=Ut(t.content)?Q(t.content.props):null;return n??Q((e=t.data)!=null?e:{})}function XO(t){return t?Wt.items.filter(e=>e.containerId===t).length>0:Wt.items.length>0}function JO(){if(Wt.items.length>0){const t=Wt.items.shift();io(t==null?void 0:t.toastContent,t==null?void 0:t.toastProps)}}const Re=Dt({}),Wt=Dt({items:[]});function Ti(){const t=Q(Re);return Object.values(t).reduce((e,n)=>[...e,...n],[])}function ZO(t){return Ti().find(e=>e.toastId===t)}function io(t,e={}){if(YO(e)){const n=Sc(e.containerId);n&&n.addEventListener("animationend",Yl.bind(null,t,e),!1)}else Yl(t,e)}function Yl(t,e={}){const n=Sc(e.containerId);n&&n.removeEventListener("animationend",Yl.bind(null,t,e),!1);const s=Re[e.containerId]||[],r=s.length>0;if(!r&&!jO(e.position)){const i=WO(e),o=rc(_k,e);o.mount(i),qO(o,i.id)}r&&(e.position=s[0].position),fr(()=>{e.updateId?jt.update(e):jt.add(t,e)})}const jt={add(t,e){const{containerId:n=""}=e;n&&(Re[n]=Re[n]||[],Re[n].find(s=>s.toastId===e.toastId)||setTimeout(()=>{var s,r;e.newestOnTop?(s=Re[n])==null||s.unshift(e):(r=Re[n])==null||r.push(e),e.onOpen&&e.onOpen(Dd(e))},e.delay||0))},remove(t){if(t){const e=GO(t);if(e){const n=Re[e];let s=n.find(r=>r.toastId===t);Re[e]=n.filter(r=>r.toastId!==t),!Re[e].length&&!XO(e)&&Gl(e,!1),JO(),fr(()=>{s!=null&&s.onClose&&(s.onClose(Dd(s)),s=void 0)})}}},update(t={}){const{containerId:e=""}=t;if(e&&t.updateId){Re[e]=Re[e]||[];const n=Re[e].find(s=>s.toastId===t.toastId);n&&setTimeout(()=>{for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const r=t[s];n[s]=r}},t.delay||0)}},clear(t,e=!0){t?Gl(t,e):KO(e)},dismissCallback(t){var e;const n=(e=t.currentTarget)==null?void 0:e.id,s=document.getElementById(n);s&&(s.removeEventListener("animationend",jt.dismissCallback,!1),setTimeout(()=>{jt.remove(n)}))},dismiss(t){if(t){const e=Ti();for(const n of e)if(n.toastId===t){Ug(n,s=>{s.addEventListener("animationend",jt.dismissCallback,!1)});break}}}},Wg=Dt({}),Mo=Dt({});function qg(){return Math.random().toString(36).substring(2,9)}function QO(t){return typeof t=="number"&&!isNaN(t)}function Xl(t){return typeof t=="string"}function Ms(t){return typeof t=="function"}function _a(...t){return Kt(...t)}function oo(t){return typeof t=="object"&&(!!(t!=null&&t.render)||!!(t!=null&&t.setup)||typeof(t==null?void 0:t.type)=="object")}function ek(t={}){Wg["".concat(fe.CSS_NAMESPACE,"-default-options")]=t}function tk(){return Wg["".concat(fe.CSS_NAMESPACE,"-default-options")]||jg}function nk(){return document.documentElement.classList.contains("dark")?"dark":"light"}var ao=(t=>(t[t.Enter=0]="Enter",t[t.Exit=1]="Exit",t))(ao||{});const Kg={containerId:{type:[String,Number],required:!1,default:""},clearOnUrlChange:{type:Boolean,required:!1,default:!0},dangerouslyHTMLString:{type:Boolean,required:!1,default:!1},multiple:{type:Boolean,required:!1,default:!0},limit:{type:Number,required:!1,default:void 0},position:{type:String,required:!1,default:Ai.TOP_LEFT},bodyClassName:{type:String,required:!1,default:""},autoClose:{type:[Number,Boolean],required:!1,default:!1},closeButton:{type:[Boolean,Function,Object],required:!1,default:void 0},transition:{type:[String,Object],required:!1,default:"bounce"},hideProgressBar:{type:Boolean,required:!1,default:!1},pauseOnHover:{type:Boolean,required:!1,default:!0},pauseOnFocusLoss:{type:Boolean,required:!1,default:!0},closeOnClick:{type:Boolean,required:!1,default:!0},progress:{type:Number,required:!1,default:void 0},progressClassName:{type:String,required:!1,default:""},toastStyle:{type:Object,required:!1,default(){return{}}},progressStyle:{type:Object,required:!1,default(){return{}}},role:{type:String,required:!1,default:"alert"},theme:{type:String,required:!1,default:er.AUTO},content:{type:[String,Object,Function],required:!1,default:""},toastId:{type:[String,Number],required:!1,default:""},data:{type:[Object,String],required:!1,default(){return{}}},type:{type:String,required:!1,default:We.DEFAULT},icon:{type:[Boolean,String,Number,Object,Function],required:!1,default:void 0},delay:{type:Number,required:!1,default:void 0},onOpen:{type:Function,required:!1,default:void 0},onClose:{type:Function,required:!1,default:void 0},onClick:{type:Function,required:!1,default:void 0},isLoading:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},toastClassName:{type:String,required:!1,default:""},updateId:{type:[String,Number],required:!1,default:""}},sk={autoClose:{type:[Number,Boolean],required:!0},isRunning:{type:Boolean,required:!1,default:void 0},type:{type:String,required:!1,default:We.DEFAULT},theme:{type:String,required:!1,default:er.AUTO},hide:{type:Boolean,required:!1,default:void 0},className:{type:[String,Function],required:!1,default:""},controlledProgress:{type:Boolean,required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:void 0},isIn:{type:Boolean,required:!1,default:void 0},progress:{type:Number,required:!1,default:void 0},closeToast:{type:Function,required:!1,default:void 0}},rk=hs({name:"ProgressBar",props:sk,setup(t,{attrs:e}){const n=Ge(),s=ke(()=>t.hide?"true":"false"),r=ke(()=>({...e.style||{},animationDuration:"".concat(t.autoClose===!0?5e3:t.autoClose,"ms"),animationPlayState:t.isRunning?"running":"paused",opacity:t.hide?0:1,transform:t.controlledProgress?"scaleX(".concat(t.progress,")"):"none"})),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__progress-bar"),t.controlledProgress?"".concat(fe.CSS_NAMESPACE,"__progress-bar--controlled"):"".concat(fe.CSS_NAMESPACE,"__progress-bar--animated"),"".concat(fe.CSS_NAMESPACE,"__progress-bar-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__progress-bar--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__progress-bar--rtl"):null].filter(Boolean).join(" ")),o=ke(()=>"".concat(i.value," ").concat((e==null?void 0:e.class)||"")),a=()=>{n.value&&(n.value.onanimationend=null,n.value.ontransitionend=null)},l=()=>{t.isIn&&t.closeToast&&t.autoClose!==!1&&(t.closeToast(),a())},u=ke(()=>t.controlledProgress?null:l),c=ke(()=>t.controlledProgress?l:null);return Nr(()=>{n.value&&(a(),n.value.onanimationend=u.value,n.value.ontransitionend=c.value)}),()=>te("div",{ref:n,role:"progressbar","aria-hidden":s.value,"aria-label":"notification timer",class:o.value,style:r.value},null)}}),ik=hs({name:"CloseButton",inheritAttrs:!1,props:{theme:{type:String,required:!1,default:er.AUTO},type:{type:String,required:!1,default:er.LIGHT},ariaLabel:{type:String,required:!1,default:"close"},closeToast:{type:Function,required:!1,default:void 0}},setup(t){return()=>te("button",{class:"".concat(fe.CSS_NAMESPACE,"__close-button ").concat(fe.CSS_NAMESPACE,"__close-button--").concat(t.theme),type:"button",onClick:e=>{e.stopPropagation(),t.closeToast&&t.closeToast(e)},"aria-label":t.ariaLabel},[te("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},[te("path",{"fill-rule":"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"},null)])])}}),Ea=({theme:t,type:e,path:n,...s})=>te("svg",Kt({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":"var(--toastify-icon-color-".concat(e,")")},s),[te("path",{d:n},null)]);function ok(t){return te(Ea,Kt(t,{path:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}),null)}function ak(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}),null)}function lk(t){return te(Ea,Kt(t,{path:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}),null)}function uk(t){return te(Ea,Kt(t,{path:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}),null)}function ck(){return te("div",{class:"".concat(fe.CSS_NAMESPACE,"__spinner")},null)}const Jl={info:ak,warning:ok,success:lk,error:uk,spinner:ck},fk=t=>t in Jl;function dk({theme:t,type:e,isLoading:n,icon:s}){let r;const i={theme:t,type:e};return n?r=Jl.spinner():s===!1?r=void 0:oo(s)?r=Q(s):Ms(s)?r=s(i):Ut(s)?r=Nt(s,i):Xl(s)||QO(s)?r=s:fk(e)&&(r=Jl[e](i)),r}const hk=()=>{};function pk(t,e,n=fe.COLLAPSE_DURATION){const{scrollHeight:s,style:r}=t,i=n;requestAnimationFrame(()=>{r.minHeight="initial",r.height=s+"px",r.transition="all ".concat(i,"ms"),requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,i)})})}function mk(t){const e=Ge(!1),n=Ge(!1),s=Ge(!1),r=Ge(ao.Enter),i=Dt({...t,appendPosition:t.appendPosition||!1,collapse:typeof t.collapse>"u"?!0:t.collapse,collapseDuration:t.collapseDuration||fe.COLLAPSE_DURATION}),o=i.done||hk,a=ke(()=>i.appendPosition?"".concat(i.enter,"--").concat(i.position):i.enter),l=ke(()=>i.appendPosition?"".concat(i.exit,"--").concat(i.position):i.exit),u=ke(()=>t.pauseOnHover?{onMouseenter:y,onMouseleave:d}:{});function c(){const h=a.value.split(" ");m().addEventListener(Kl.ENTRANCE_ANIMATION_END,d,{once:!0});const b=A=>{const S=m();A.target===S&&(S.dispatchEvent(new Event(Kl.ENTRANCE_ANIMATION_END)),S.removeEventListener("animationend",b),S.removeEventListener("animationcancel",b),r.value===ao.Enter&&A.type!=="animationcancel"&&S.classList.remove(...h))},g=()=>{const A=m();A.classList.add(...h),A.addEventListener("animationend",b),A.addEventListener("animationcancel",b)};t.pauseOnFocusLoss&&p(),g()}function f(){if(!m())return;const h=()=>{const g=m();g.removeEventListener("animationend",h),i.collapse?pk(g,o,i.collapseDuration):o()},b=()=>{const g=m();r.value=ao.Exit,g&&(g.className+=" ".concat(l.value),g.addEventListener("animationend",h))};n.value||(s.value?h():setTimeout(b))}function m(){return t.toastRef.value}function p(){document.hasFocus()||y(),window.addEventListener("focus",d),window.addEventListener("blur",y)}function E(){window.removeEventListener("focus",d),window.removeEventListener("blur",y)}function d(){(!t.loading.value||t.isLoading===void 0)&&(e.value=!0)}function y(){e.value=!1}function _(h){h&&(h.stopPropagation(),h.preventDefault()),n.value=!1}return Nr(f),Nr(()=>{const h=Ti();n.value=h.findIndex(b=>b.toastId===i.toastId)>-1}),Nr(()=>{t.isLoading!==void 0&&(t.loading.value?y():d())}),ps(c),dr(()=>{t.pauseOnFocusLoss&&E()}),{isIn:n,isRunning:e,hideToast:_,eventHandlers:u}}const gk=hs({name:"ToastItem",inheritAttrs:!1,props:Kg,setup(t){const e=Ge(),n=ke(()=>!!t.isLoading),s=ke(()=>t.progress!==void 0&&t.progress!==null),r=ke(()=>dk(t)),i=ke(()=>["".concat(fe.CSS_NAMESPACE,"__toast"),"".concat(fe.CSS_NAMESPACE,"__toast-theme--").concat(t.theme),"".concat(fe.CSS_NAMESPACE,"__toast--").concat(t.type),t.rtl?"".concat(fe.CSS_NAMESPACE,"__toast--rtl"):void 0,t.toastClassName||""].filter(Boolean).join(" ")),{isRunning:o,isIn:a,hideToast:l,eventHandlers:u}=mk({toastRef:e,loading:n,done:()=>{jt.remove(t.toastId)},...Hg(t.transition),...t});return()=>te("div",Kt({id:t.toastId,class:i.value,style:t.toastStyle||{},ref:e,"data-testid":"toast-item-".concat(t.toastId),onClick:c=>{t.closeOnClick&&l(),t.onClick&&t.onClick(c)}},u.value),[te("div",{role:t.role,"data-testid":"toast-body",class:"".concat(fe.CSS_NAMESPACE,"__toast-body ").concat(t.bodyClassName||"")},[r.value!=null&&te("div",{"data-testid":"toast-icon-".concat(t.type),class:["".concat(fe.CSS_NAMESPACE,"__toast-icon"),t.isLoading?"":"".concat(fe.CSS_NAMESPACE,"--animate-icon ").concat(fe.CSS_NAMESPACE,"__zoom-enter")].join(" ")},[oo(r.value)?ws(Q(r.value),{theme:t.theme,type:t.type}):Ms(r.value)?r.value({theme:t.theme,type:t.type}):r.value]),te("div",{"data-testid":"toast-content"},[oo(t.content)?ws(Q(t.content),{toastProps:Q(t),closeToast:l,data:t.data}):Ms(t.content)?t.content({toastProps:Q(t),closeToast:l,data:t.data}):t.dangerouslyHTMLString?ws("div",{innerHTML:t.content}):t.content])]),(t.closeButton===void 0||t.closeButton===!0)&&te(ik,{theme:t.theme,closeToast:c=>{c.stopPropagation(),c.preventDefault(),l()}},null),oo(t.closeButton)?ws(Q(t.closeButton),{closeToast:l,type:t.type,theme:t.theme}):Ms(t.closeButton)?t.closeButton({closeToast:l,type:t.type,theme:t.theme}):null,te(rk,{className:t.progressClassName,style:t.progressStyle,rtl:t.rtl,theme:t.theme,isIn:a.value,type:t.type,hide:t.hideProgressBar,isRunning:o.value,autoClose:t.autoClose,controlledProgress:s.value,progress:t.progress,closeToast:t.isLoading?void 0:l},null)])}});let xr=0;function zg(){typeof window>"u"||(xr&&window.cancelAnimationFrame(xr),xr=window.requestAnimationFrame(zg),Mo.lastUrl!==window.location.href&&(Mo.lastUrl=window.location.href,jt.clear()))}const _k=hs({name:"ToastifyContainer",inheritAttrs:!1,props:Kg,setup(t){const e=ke(()=>t.containerId),n=ke(()=>Re[e.value]||[]),s=ke(()=>n.value.filter(r=>r.position===t.position));return ps(()=>{typeof window<"u"&&t.clearOnUrlChange&&window.requestAnimationFrame(zg)}),dr(()=>{typeof window<"u"&&xr&&(window.cancelAnimationFrame(xr),Mo.lastUrl="")}),()=>te(Pe,null,[s.value.map(r=>{const{toastId:i=""}=r;return te(gk,Kt({key:i},r),null)})])}});let Xa=!1;function Gg(){const t=[];return Ti().forEach(e=>{const n=document.getElementById(e.containerId);n&&!n.classList.contains(ga)&&t.push(e)}),t}function Ek(t){const e=Gg().length,n=t??0;return n>0&&e+Wt.items.length>=n}function yk(t){Ek(t.limit)&&!t.updateId&&Wt.items.push({toastId:t.toastId,containerId:t.containerId,toastContent:t.content,toastProps:t})}function Ln(t,e,n={}){if(Xa)return;n=_a(tk(),{type:e},Q(n)),(!n.toastId||typeof n.toastId!="string"&&typeof n.toastId!="number")&&(n.toastId=qg()),n={...n,content:t,containerId:n.containerId||String(n.position)};const s=Number(n==null?void 0:n.progress);return s<0&&(n.progress=0),s>1&&(n.progress=1),n.theme==="auto"&&(n.theme=nk()),yk(n),Mo.lastUrl=window.location.href,n.multiple?Wt.items.length?n.updateId&&io(t,n):io(t,n):(Xa=!0,Ee.clearAll(void 0,!1),setTimeout(()=>{io(t,n)},0),setTimeout(()=>{Xa=!1},390)),n.toastId}const Ee=(t,e)=>Ln(t,We.DEFAULT,e);Ee.info=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.INFO});Ee.error=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.ERROR});Ee.warning=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.WARNING});Ee.warn=Ee.warning;Ee.success=(t,e)=>Ln(t,We.DEFAULT,{...e,type:We.SUCCESS});Ee.loading=(t,e)=>Ln(t,We.DEFAULT,_a(e,{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1}));Ee.dark=(t,e)=>Ln(t,We.DEFAULT,_a(e,{theme:er.DARK}));Ee.remove=t=>{t?jt.dismiss(t):jt.clear()};Ee.clearAll=(t,e)=>{jt.clear(t,e)};Ee.isActive=t=>{let e=!1;return e=Gg().findIndex(n=>n.toastId===t)>-1,e};Ee.update=(t,e={})=>{setTimeout(()=>{const n=ZO(t);if(n){const s=Q(n),{content:r}=s,i={...s,...e,toastId:e.toastId||t,updateId:qg()},o=i.render||r;delete i.render,Ln(o,i.type,i)}},0)};Ee.done=t=>{Ee.update(t,{isLoading:!1,progress:1})};Ee.promise=vk;function vk(t,{pending:e,error:n,success:s},r){var i,o,a;let l;const u={...r||{},autoClose:!1};e&&(l=Xl(e)?Ee.loading(e,u):Ee.loading(e.render,{...u,...e}));const c={autoClose:(i=r==null?void 0:r.autoClose)!=null?i:!0,closeOnClick:(o=r==null?void 0:r.closeOnClick)!=null?o:!0,closeButton:(a=r==null?void 0:r.autoClose)!=null?a:null,isLoading:void 0,draggable:null,delay:100},f=(p,E,d)=>{if(E==null){Ee.remove(l);return}const y={type:p,...c,...r,data:d},_=Xl(E)?{render:E}:E;return l?Ee.update(l,{...y,..._,isLoading:!1}):Ee(_.render,{...y,..._,isLoading:!1}),d},m=Ms(t)?t():t;return m.then(p=>{f("success",s,p)}).catch(p=>{f("error",n,p)}),m}Ee.POSITION=Ai;Ee.THEME=er;Ee.TYPE=We;Ee.TRANSITIONS=LO;const Yg={install(t,e={}){bk(e)}};typeof window<"u"&&(window.Vue3Toastify=Yg);function bk(t={}){const e=_a(jg,t);ek(e)}const Cc={url:"https://aibuddytool.com",port:null,defaults:{},routes:{"debugbar.openhandler":{uri:"_debugbar/open",methods:["GET","HEAD"]},"debugbar.clockwork":{uri:"_debugbar/clockwork/{id}",methods:["GET","HEAD"],parameters:["id"]},"debugbar.assets.css":{uri:"_debugbar/assets/stylesheets",methods:["GET","HEAD"]},"debugbar.assets.js":{uri:"_debugbar/assets/javascript",methods:["GET","HEAD"]},"debugbar.cache.delete":{uri:"_debugbar/cache/{key}/{tags?}",methods:["DELETE"],parameters:["key","tags"]},"horizon.stats.index":{uri:"chorizo/api/stats",methods:["GET","HEAD"]},"horizon.workload.index":{uri:"chorizo/api/workload",methods:["GET","HEAD"]},"horizon.masters.index":{uri:"chorizo/api/masters",methods:["GET","HEAD"]},"horizon.monitoring.index":{uri:"chorizo/api/monitoring",methods:["GET","HEAD"]},"horizon.monitoring.store":{uri:"chorizo/api/monitoring",methods:["POST"]},"horizon.monitoring-tag.paginate":{uri:"chorizo/api/monitoring/{tag}",methods:["GET","HEAD"],parameters:["tag"]},"horizon.monitoring-tag.destroy":{uri:"chorizo/api/monitoring/{tag}",methods:["DELETE"],wheres:{tag:".*"},parameters:["tag"]},"horizon.jobs-metrics.index":{uri:"chorizo/api/metrics/jobs",methods:["GET","HEAD"]},"horizon.jobs-metrics.show":{uri:"chorizo/api/metrics/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.queues-metrics.index":{uri:"chorizo/api/metrics/queues",methods:["GET","HEAD"]},"horizon.queues-metrics.show":{uri:"chorizo/api/metrics/queues/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.index":{uri:"chorizo/api/batches",methods:["GET","HEAD"]},"horizon.jobs-batches.show":{uri:"chorizo/api/batches/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.jobs-batches.retry":{uri:"chorizo/api/batches/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.pending-jobs.index":{uri:"chorizo/api/jobs/pending",methods:["GET","HEAD"]},"horizon.completed-jobs.index":{uri:"chorizo/api/jobs/completed",methods:["GET","HEAD"]},"horizon.silenced-jobs.index":{uri:"chorizo/api/jobs/silenced",methods:["GET","HEAD"]},"horizon.failed-jobs.index":{uri:"chorizo/api/jobs/failed",methods:["GET","HEAD"]},"horizon.failed-jobs.show":{uri:"chorizo/api/jobs/failed/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.retry-jobs.show":{uri:"chorizo/api/jobs/retry/{id}",methods:["POST"],parameters:["id"]},"horizon.jobs.show":{uri:"chorizo/api/jobs/{id}",methods:["GET","HEAD"],parameters:["id"]},"horizon.index":{uri:"chorizo/{view?}",methods:["GET","HEAD"],wheres:{view:"(.*)"},parameters:["view"]},"sanctum.csrf-cookie":{uri:"sanctum/csrf-cookie",methods:["GET","HEAD"]},"ignition.healthCheck":{uri:"_ignition/health-check",methods:["GET","HEAD"]},"ignition.executeSolution":{uri:"_ignition/execute-solution",methods:["POST"]},"ignition.updateConfig":{uri:"_ignition/update-config",methods:["POST"]},"api.auth.login.post":{uri:"api/login",methods:["POST"]},"api.auth.logout.post":{uri:"api/logout",methods:["POST"]},"api.admin.post.get":{uri:"api/admin/post/{id}",methods:["GET","HEAD"],parameters:["id"]},"api.admin.country-locales":{uri:"api/admin/country-locales",methods:["GET","HEAD"]},"api.admin.categories":{uri:"api/admin/categories/{country_locale_slug}",methods:["GET","HEAD"],parameters:["country_locale_slug"]},"api.admin.authors":{uri:"api/admin/authors",methods:["GET","HEAD"]},"api.admin.upload.cloud.image":{uri:"api/admin/image/upload",methods:["POST"]},"api.admin.post.upsert":{uri:"api/admin/admin/post/upsert",methods:["POST"]},"feeds.main":{uri:"posts.rss",methods:["GET","HEAD"]},login:{uri:"login",methods:["GET","HEAD"]},logout:{uri:"logout",methods:["POST"]},register:{uri:"register",methods:["GET","HEAD"]},"password.request":{uri:"password/reset",methods:["GET","HEAD"]},"password.email":{uri:"password/email",methods:["POST"]},"password.reset":{uri:"password/reset/{token}",methods:["GET","HEAD"],parameters:["token"]},"password.update":{uri:"password/reset",methods:["POST"]},"password.confirm":{uri:"password/confirm",methods:["GET","HEAD"]},"front.home":{uri:"/",methods:["GET","HEAD"]},"front.discover.home":{uri:"discover",methods:["GET","HEAD"]},"front.discover.category":{uri:"discover/{category_slug}",methods:["GET","HEAD"],parameters:["category_slug"]},"front.search.post":{uri:"ai-search",methods:["POST"]},"front.search.results":{uri:"ai-search/{query}",methods:["GET","HEAD"],parameters:["query"]},"front.aitool.show":{uri:"ai-tool/{ai_tool_slug}",methods:["GET","HEAD"],parameters:["ai_tool_slug"]},"front.submit-tool":{uri:"submit-ai-tool-for-free",methods:["GET","HEAD"]},"front.submit-tool.post":{uri:"submit-ai-tool-for-free",methods:["POST"]},"front.terms":{uri:"terms",methods:["GET","HEAD"]},"front.privacy":{uri:"privacy",methods:["GET","HEAD"]},"front.disclaimer":{uri:"disclaimer",methods:["GET","HEAD"]}}};typeof window<"u"&&typeof window.Ziggy<"u"&&Object.assign(Cc.routes,window.Ziggy.routes);var Ak=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nk(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zl={exports:{}},Ja,Id;function wc(){if(Id)return Ja;Id=1;var t=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Ja={default:n.RFC3986,formatters:{RFC1738:function(s){return t.call(s,e,"+")},RFC3986:function(s){return String(s)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},Ja}var Za,Rd;function Xg(){if(Rd)return Za;Rd=1;var t=wc(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s=function(){for(var d=[],y=0;y<256;++y)d.push("%"+((y<16?"0":"")+y.toString(16)).toUpperCase());return d}(),r=function(y){for(;y.length>1;){var _=y.pop(),h=_.obj[_.prop];if(n(h)){for(var b=[],g=0;g=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||g===t.RFC1738&&(v===40||v===41)){S+=A.charAt(O);continue}if(v<128){S=S+s[v];continue}if(v<2048){S=S+(s[192|v>>6]+s[128|v&63]);continue}if(v<55296||v>=57344){S=S+(s[224|v>>12]+s[128|v>>6&63]+s[128|v&63]);continue}O+=1,v=65536+((v&1023)<<10|A.charCodeAt(O)&1023),S+=s[240|v>>18]+s[128|v>>12&63]+s[128|v>>6&63]+s[128|v&63]}return S},c=function(y){for(var _=[{obj:{o:y},prop:"o"}],h=[],b=0;b<_.length;++b)for(var g=_[b],A=g.obj[g.prop],S=Object.keys(A),O=0;O"u")return se;var _e;if(_==="comma"&&r(R))_e=[{value:R.length>0?R.join(",")||null:void 0}];else if(r(A))_e=A;else{var dt=Object.keys(R);_e=S?dt.sort(S):dt}for(var Be=0;Be<_e.length;++Be){var ye=_e[Be],It=typeof ye=="object"&&typeof ye.value<"u"?ye.value:R[ye];if(!(b&&It===null)){var Rt=r(R)?typeof _=="function"?_(y,ye):y:y+(O?"."+ye:"["+ye+"]");a(se,E(It,Rt,_,h,b,g,A,S,O,v,w,k,N,P))}}return se},p=function(d){if(!d)return c;if(d.encoder!==null&&typeof d.encoder<"u"&&typeof d.encoder!="function")throw new TypeError("Encoder has to be a function.");var y=d.charset||c.charset;if(typeof d.charset<"u"&&d.charset!=="utf-8"&&d.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=e.default;if(typeof d.format<"u"){if(!n.call(e.formatters,d.format))throw new TypeError("Unknown format option provided.");_=d.format}var h=e.formatters[_],b=c.filter;return(typeof d.filter=="function"||r(d.filter))&&(b=d.filter),{addQueryPrefix:typeof d.addQueryPrefix=="boolean"?d.addQueryPrefix:c.addQueryPrefix,allowDots:typeof d.allowDots>"u"?c.allowDots:!!d.allowDots,charset:y,charsetSentinel:typeof d.charsetSentinel=="boolean"?d.charsetSentinel:c.charsetSentinel,delimiter:typeof d.delimiter>"u"?c.delimiter:d.delimiter,encode:typeof d.encode=="boolean"?d.encode:c.encode,encoder:typeof d.encoder=="function"?d.encoder:c.encoder,encodeValuesOnly:typeof d.encodeValuesOnly=="boolean"?d.encodeValuesOnly:c.encodeValuesOnly,filter:b,format:_,formatter:h,serializeDate:typeof d.serializeDate=="function"?d.serializeDate:c.serializeDate,skipNulls:typeof d.skipNulls=="boolean"?d.skipNulls:c.skipNulls,sort:typeof d.sort=="function"?d.sort:null,strictNullHandling:typeof d.strictNullHandling=="boolean"?d.strictNullHandling:c.strictNullHandling}};return Qa=function(E,d){var y=E,_=p(d),h,b;typeof _.filter=="function"?(b=_.filter,y=b("",y)):r(_.filter)&&(b=_.filter,h=b);var g=[];if(typeof y!="object"||y===null)return"";var A;d&&d.arrayFormat in s?A=d.arrayFormat:d&&"indices"in d?A=d.indices?"indices":"repeat":A="indices";var S=s[A];h||(h=Object.keys(y)),_.sort&&h.sort(_.sort);for(var O=0;O0?k+w:""},Qa}var el,Fd;function Sk(){if(Fd)return el;Fd=1;var t=Xg(),e=Object.prototype.hasOwnProperty,n=Array.isArray,s={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:t.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(m){return m.replace(/&#(\d+);/g,function(p,E){return String.fromCharCode(parseInt(E,10))})},i=function(m,p){return m&&typeof m=="string"&&p.comma&&m.indexOf(",")>-1?m.split(","):m},o="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(p,E){var d={},y=E.ignoreQueryPrefix?p.replace(/^\?/,""):p,_=E.parameterLimit===1/0?void 0:E.parameterLimit,h=y.split(E.delimiter,_),b=-1,g,A=E.charset;if(E.charsetSentinel)for(g=0;g-1&&(k=n(k)?[k]:k),e.call(d,w)?d[w]=t.combine(d[w],k):d[w]=k}return d},u=function(m,p,E,d){for(var y=d?p:i(p,E),_=m.length-1;_>=0;--_){var h,b=m[_];if(b==="[]"&&E.parseArrays)h=[].concat(y);else{h=E.plainObjects?Object.create(null):{};var g=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,A=parseInt(g,10);!E.parseArrays&&g===""?h={0:y}:!isNaN(A)&&b!==g&&String(A)===g&&A>=0&&E.parseArrays&&A<=E.arrayLimit?(h=[],h[A]=y):g!=="__proto__"&&(h[g]=y)}y=h}return y},c=function(p,E,d,y){if(p){var _=d.allowDots?p.replace(/\.([^.[]+)/g,"[$1]"):p,h=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,g=d.depth>0&&h.exec(_),A=g?_.slice(0,g.index):_,S=[];if(A){if(!d.plainObjects&&e.call(Object.prototype,A)&&!d.allowPrototypes)return;S.push(A)}for(var O=0;d.depth>0&&(g=b.exec(_))!==null&&O"u"?s.charset:p.charset;return{allowDots:typeof p.allowDots>"u"?s.allowDots:!!p.allowDots,allowPrototypes:typeof p.allowPrototypes=="boolean"?p.allowPrototypes:s.allowPrototypes,arrayLimit:typeof p.arrayLimit=="number"?p.arrayLimit:s.arrayLimit,charset:E,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:s.charsetSentinel,comma:typeof p.comma=="boolean"?p.comma:s.comma,decoder:typeof p.decoder=="function"?p.decoder:s.decoder,delimiter:typeof p.delimiter=="string"||t.isRegExp(p.delimiter)?p.delimiter:s.delimiter,depth:typeof p.depth=="number"||p.depth===!1?+p.depth:s.depth,ignoreQueryPrefix:p.ignoreQueryPrefix===!0,interpretNumericEntities:typeof p.interpretNumericEntities=="boolean"?p.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof p.parameterLimit=="number"?p.parameterLimit:s.parameterLimit,parseArrays:p.parseArrays!==!1,plainObjects:typeof p.plainObjects=="boolean"?p.plainObjects:s.plainObjects,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:s.strictNullHandling}};return el=function(m,p){var E=f(p);if(m===""||m===null||typeof m>"u")return E.plainObjects?Object.create(null):{};for(var d=typeof m=="string"?l(m,E):m,y=E.plainObjects?Object.create(null):{},_=Object.keys(d),h=0;h<_.length;++h){var b=_[h],g=c(b,d[b],E,typeof m=="string");y=t.merge(y,g,E)}return t.compact(y)},el}var tl,Md;function Ck(){if(Md)return tl;Md=1;var t=Tk(),e=Sk(),n=wc();return tl={formats:n,parse:e,stringify:t},tl}(function(t,e){(function(n,s){s(e,Ck())})(Ak,function(n,s){function r(p,E){for(var d=0;d"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(y,_,h){var b=[null];b.push.apply(b,_);var g=new(Function.bind.apply(y,b));return h&&l(g,h.prototype),g},u.apply(null,arguments)}function c(p){var E=typeof Map=="function"?new Map:void 0;return c=function(d){if(d===null||Function.toString.call(d).indexOf("[native code]")===-1)return d;if(typeof d!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(d))return E.get(d);E.set(d,y)}function y(){return u(d,arguments,a(this).constructor)}return y.prototype=Object.create(d.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),l(y,d)},c(p)}var f=function(){function p(d,y,_){var h,b;this.name=d,this.definition=y,this.bindings=(h=y.bindings)!=null?h:{},this.wheres=(b=y.wheres)!=null?b:{},this.config=_}var E=p.prototype;return E.matchesUrl=function(d){var y=this;if(!this.definition.methods.includes("GET"))return!1;var _=this.template.replace(/(\/?){([^}?]*)(\??)}/g,function(O,v,w,k){var N,P="(?<"+w+">"+(((N=y.wheres[w])==null?void 0:N.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return k?"("+v+P+")?":""+v+P}).replace(/^\w+:\/\//,""),h=d.replace(/^\w+:\/\//,"").split("?"),b=h[0],g=h[1],A=new RegExp("^"+_+"/?$").exec(b);if(A){for(var S in A.groups)A.groups[S]=typeof A.groups[S]=="string"?decodeURIComponent(A.groups[S]):A.groups[S];return{params:A.groups,query:s.parse(g)}}return!1},E.compile=function(d){var y=this,_=this.parameterSegments;return _.length?this.template.replace(/{([^}?]+)(\??)}/g,function(h,b,g){var A;if(!g&&[null,void 0].includes(d[b]))throw new Error("Ziggy error: '"+b+"' parameter is required for route '"+y.name+"'.");if(y.wheres[b]){var S,O;if(!new RegExp("^"+(g?"("+y.wheres[b]+")?":y.wheres[b])+"$").test((S=d[b])!=null?S:""))throw new Error("Ziggy error: '"+b+"' parameter does not match required format '"+y.wheres[b]+"' for route '"+y.name+"'.");if(_[_.length-1].name===b)return encodeURIComponent((O=d[b])!=null?O:"").replace(/%2F/g,"/")}return encodeURIComponent((A=d[b])!=null?A:"")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},i(p,[{key:"template",get:function(){return(this.origin+"/"+this.definition.uri).replace(/\/+$/,"")}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var d,y;return(d=(y=this.template.match(/{[^}?]+\??}/g))==null?void 0:y.map(function(_){return{name:_.replace(/{|\??}/g,""),required:!/\?}$/.test(_)}}))!=null?d:[]}}]),p}(),m=function(p){var E,d;function y(h,b,g,A){var S;if(g===void 0&&(g=!0),(S=p.call(this)||this).t=A??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),S.t=o({},S.t,{absolute:g}),h){if(!S.t.routes[h])throw new Error("Ziggy error: route '"+h+"' is not in the route list.");S.i=new f(h,S.t.routes[h],S.t),S.u=S.o(b)}return S}d=p,(E=y).prototype=Object.create(d.prototype),E.prototype.constructor=E,l(E,d);var _=y.prototype;return _.toString=function(){var h=this,b=Object.keys(this.u).filter(function(g){return!h.i.parameterSegments.some(function(A){return A.name===g})}).filter(function(g){return g!=="_query"}).reduce(function(g,A){var S;return o({},g,((S={})[A]=h.u[A],S))},{});return this.i.compile(this.u)+s.stringify(o({},b,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(g,A){return typeof g=="boolean"?Number(g):A(g)}})},_.l=function(h){var b=this;h?this.t.absolute&&h.startsWith("/")&&(h=this.h().host+h):h=this.v();var g={},A=Object.entries(this.t.routes).find(function(S){return g=new f(S[0],S[1],b.t).matchesUrl(h)})||[void 0,void 0];return o({name:A[0]},g,{route:A[1]})},_.v=function(){var h=this.h(),b=h.pathname,g=h.search;return(this.t.absolute?h.host+b:b.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+g},_.current=function(h,b){var g=this.l(),A=g.name,S=g.params,O=g.query,v=g.route;if(!h)return A;var w=new RegExp("^"+h.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(A);if([null,void 0].includes(b)||!w)return w;var k=new f(A,v,this.t);b=this.o(b,k);var N=o({},S,O);return!(!Object.values(b).every(function(P){return!P})||Object.values(N).some(function(P){return P!==void 0}))||Object.entries(b).every(function(P){return N[P[0]]==P[1]})},_.h=function(){var h,b,g,A,S,O,v=typeof window<"u"?window.location:{},w=v.host,k=v.pathname,N=v.search;return{host:(h=(b=this.t.location)==null?void 0:b.host)!=null?h:w===void 0?"":w,pathname:(g=(A=this.t.location)==null?void 0:A.pathname)!=null?g:k===void 0?"":k,search:(S=(O=this.t.location)==null?void 0:O.search)!=null?S:N===void 0?"":N}},_.has=function(h){return Object.keys(this.t.routes).includes(h)},_.o=function(h,b){var g=this;h===void 0&&(h={}),b===void 0&&(b=this.i),h!=null||(h={}),h=["string","number"].includes(typeof h)?[h]:h;var A=b.parameterSegments.filter(function(O){return!g.t.defaults[O.name]});if(Array.isArray(h))h=h.reduce(function(O,v,w){var k,N;return o({},O,A[w]?((k={})[A[w].name]=v,k):typeof v=="object"?v:((N={})[v]="",N))},{});else if(A.length===1&&!h[A[0].name]&&(h.hasOwnProperty(Object.values(b.bindings)[0])||h.hasOwnProperty("id"))){var S;(S={})[A[0].name]=h,h=S}return o({},this.p(b),this.g(h,b))},_.p=function(h){var b=this;return h.parameterSegments.filter(function(g){return b.t.defaults[g.name]}).reduce(function(g,A,S){var O,v=A.name;return o({},g,((O={})[v]=b.t.defaults[v],O))},{})},_.g=function(h,b){var g=b.bindings,A=b.parameterSegments;return Object.entries(h).reduce(function(S,O){var v,w,k=O[0],N=O[1];if(!N||typeof N!="object"||Array.isArray(N)||!A.some(function(P){return P.name===k}))return o({},S,((w={})[k]=N,w));if(!N.hasOwnProperty(g[k])){if(!N.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+k+"' parameter is missing route model binding key '"+g[k]+"'.");g[k]="id"}return o({},S,((v={})[k]=N[g[k]],v))},{})},_.valueOf=function(){return this.toString()},_.check=function(h){return this.has(h)},i(y,[{key:"params",get:function(){var h=this.l();return o({},h.params,h.query)}}]),y}(c(String));n.ZiggyVue={install:function(p,E){var d=function(y,_,h,b){return b===void 0&&(b=E),function(g,A,S,O){var v=new m(g,A,S,O);return g?v.toString():v}(y,_,h,b)};p.mixin({methods:{route:d}}),parseInt(p.version)>2&&p.provide("route",d)}}})})(Zl,Zl.exports);var wk=Zl.exports;const Fn=rc({FrontApp:gO}),Jg=Object.assign({"/resources/js/vue/GetEmbedCode.vue":()=>mr(()=>import("./GetEmbedCode-1d44bdf3.js"),[]),"/resources/js/vue/NativeImageBlock.vue":()=>mr(()=>import("./NativeImageBlock-3623204f.js").then(t=>t.N),["assets/NativeImageBlock-3623204f.js","assets/NativeImageBlock-e3b0c442.css"]),"/resources/js/vue/PostEditor.vue":()=>mr(()=>import("./PostEditor-3a06f7cf.js"),["assets/PostEditor-3a06f7cf.js","assets/VueEditorJs-c40f6d08.js","assets/NativeImageBlock-3623204f.js","assets/NativeImageBlock-e3b0c442.css","assets/bundle-f4b2cd77.js","assets/bundle-7ca97fea.js","assets/PostEditor-8d534a4a.css"]),"/resources/js/vue/ToastMessage.vue":()=>mr(()=>import("./ToastMessage-cef385bb.js"),[]),"/resources/js/vue/VueEditorJs.vue":()=>mr(()=>import("./VueEditorJs-c40f6d08.js"),[])});console.log(Jg);Fn.use(EO());Fn.use(ro,st);Fn.use(DO);Fn.use(RO);Fn.use(Yg);Fn.use(wk.ZiggyVue,Cc);window.Ziggy=Cc;Object.entries({...Jg}).forEach(([t,e])=>{const n=t.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();Fn.component(n,Wp(e))});Fn.mount("#app");export{fS as $,Xu as A,AC as B,LS as C,di as D,g1 as E,p1 as F,Pe as G,fi as H,Zu as I,pT as J,tc as K,fr as L,OS as M,Um as N,Yp as O,Nu as P,gp as Q,Ok as R,kk as S,EC as T,RS as U,To as V,nc as W,bC as X,sc as Y,Ck as Z,hO as _,Ju as a,dS as a0,mr as a1,st as b,Em as c,xg as d,Ge as e,hs as f,Nk as g,ps as h,dr as i,ke as j,te as k,Ee as l,xS as m,MS as n,_i as o,Vu as p,BS as q,Dt as r,rT as s,tS as t,GS as u,vm as v,yn as w,Mu as x,Kt as y,be as z}; diff --git a/public/build/assets/app-front-d6902e40.js.gz b/public/build/assets/app-front-d6902e40.js.gz new file mode 100644 index 0000000..f73e552 Binary files /dev/null and b/public/build/assets/app-front-d6902e40.js.gz differ diff --git a/public/build/assets/bundle-2f2c1632.js.gz b/public/build/assets/bundle-2f2c1632.js.gz deleted file mode 100644 index 7bf3c5d..0000000 Binary files a/public/build/assets/bundle-2f2c1632.js.gz and /dev/null differ diff --git a/public/build/assets/bundle-72871e75.js b/public/build/assets/bundle-72871e75.js deleted file mode 100644 index 87be965..0000000 --- a/public/build/assets/bundle-72871e75.js +++ /dev/null @@ -1,54 +0,0 @@ -import{g as N}from"./app-front-32dad050.js";function P(x,H){for(var g=0;gb[l]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(x,H){(function(g,b){x.exports=b()})(window,function(){return function(g){var b={};function l(n){if(b[n])return b[n].exports;var i=b[n]={i:n,l:!1,exports:{}};return g[n].call(i.exports,i,i.exports,l),i.l=!0,i.exports}return l.m=g,l.c=b,l.d=function(n,i,h){l.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:h})},l.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},l.t=function(n,i){if(1&i&&(n=l(n)),8&i||4&i&&typeof n=="object"&&n&&n.__esModule)return n;var h=Object.create(null);if(l.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:n}),2&i&&typeof n!="string")for(var m in n)l.d(h,m,(function(f){return n[f]}).bind(null,m));return h},l.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return l.d(i,"a",i),i},l.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},l.p="/",l(l.s=5)}([function(g,b,l){var n=l(1);typeof n=="string"&&(n=[[g.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};l(3)(n,i),n.locals&&(g.exports=n.locals)},function(g,b,l){(g.exports=l(2)(!1)).push([g.i,`/** - * Plugin styles - */ -.ce-header { - padding: 0.6em 0 3px; - margin: 0; - line-height: 1.25em; - outline: none; -} - -.ce-header p, -.ce-header div{ - padding: 0 !important; - margin: 0 !important; -} - -/** - * Styles for Plugin icon in Toolbar - */ -.ce-header__icon {} - -.ce-header[contentEditable=true][data-placeholder]::before{ - position: absolute; - content: attr(data-placeholder); - color: #707684; - font-weight: normal; - display: none; - cursor: text; -} - -.ce-header[contentEditable=true][data-placeholder]:empty::before { - display: block; -} - -.ce-header[contentEditable=true][data-placeholder]:empty:focus::before { - display: none; -} -`,""])},function(g,b){g.exports=function(l){var n=[];return n.toString=function(){return this.map(function(i){var h=function(m,f){var y=m[1]||"",u=m[3];if(!u)return y;if(f&&typeof btoa=="function"){var o=(v=u,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(v))))+" */"),s=u.sources.map(function(k){return"/*# sourceURL="+u.sourceRoot+k+" */"});return[y].concat(s).concat([o]).join(` -`)}var v;return[y].join(` -`)}(i,l);return i[2]?"@media "+i[2]+"{"+h+"}":h}).join("")},n.i=function(i,h){typeof i=="string"&&(i=[[null,i,""]]);for(var m={},f=0;f=0&&s.splice(e,1)}function S(t){var e=document.createElement("style");return t.attrs.type===void 0&&(t.attrs.type="text/css"),j(e,t.attrs),C(t,e),e}function j(t,e){Object.keys(e).forEach(function(r){t.setAttribute(r,e[r])})}function T(t,e){var r,a,d,c;if(e.transform&&t.css){if(!(c=e.transform(t.css)))return function(){};t.css=c}if(e.singleton){var w=o++;r=u||(u=S(e)),a=U.bind(null,r,w,!1),d=U.bind(null,r,w,!0)}else t.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(r=function(p){var M=document.createElement("link");return p.attrs.type===void 0&&(p.attrs.type="text/css"),p.attrs.rel="stylesheet",j(M,p.attrs),C(p,M),M}(e),a=I.bind(null,r,e),d=function(){_(r),r.href&&URL.revokeObjectURL(r.href)}):(r=S(e),a=B.bind(null,r),d=function(){_(r)});return a(t),function(p){if(p){if(p.css===t.css&&p.media===t.media&&p.sourceMap===t.sourceMap)return;a(t=p)}else d()}}g.exports=function(t,e){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs=typeof e.attrs=="object"?e.attrs:{},e.singleton||typeof e.singleton=="boolean"||(e.singleton=m()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var r=L(t,e);return k(r,e),function(a){for(var d=[],c=0;c',title:"Heading"}}}],(y=[{key:"normalizeData",value:function(o){var s={};return n(o)!=="object"&&(o={}),s.text=o.text||"",s.level=parseInt(o.level)||this.defaultLevel.number,s}},{key:"render",value:function(){return this._element}},{key:"renderSettings",value:function(){var o=this;return this.levels.map(function(s){return{icon:s.svg,label:o.api.i18n.t("Heading ".concat(s.number)),onActivate:function(){return o.setLevel(s.number)},closeOnActivate:!0,isActive:o.currentLevel.number===s.number}})}},{key:"setLevel",value:function(o){this.data={level:o,text:this.data.text}}},{key:"merge",value:function(o){var s={text:this.data.text+o.text,level:this.data.level};this.data=s}},{key:"validate",value:function(o){return o.text.trim()!==""}},{key:"save",value:function(o){return{text:o.innerHTML,level:this.currentLevel.number}}},{key:"getTag",value:function(){var o=document.createElement(this.currentLevel.tag);return o.innerHTML=this._data.text||"",o.classList.add(this._CSS.wrapper),o.contentEditable=this.readOnly?"false":"true",o.dataset.placeholder=this.api.i18n.t(this._settings.placeholder||""),o}},{key:"onPaste",value:function(o){var s=o.detail.data,v=this.defaultLevel.number;switch(s.tagName){case"H1":v=1;break;case"H2":v=2;break;case"H3":v=3;break;case"H4":v=4;break;case"H5":v=5;break;case"H6":v=6}this._settings.levels&&(v=this._settings.levels.reduce(function(k,L){return Math.abs(L-v)'},{number:2,tag:"H2",svg:''},{number:3,tag:"H3",svg:''},{number:4,tag:"H4",svg:''},{number:5,tag:"H5",svg:''},{number:6,tag:"H6",svg:''}];return this._settings.levels?s.filter(function(v){return o._settings.levels.includes(v.number)}):s}}])&&i(f.prototype,y),u&&i(f,u),m}()}]).default})})(E);var A=E.exports;const V=N(A),z=P({__proto__:null,default:V},[A]);export{V as H,z as b}; diff --git a/public/build/assets/bundle-8efc010f.js b/public/build/assets/bundle-7ca97fea.js similarity index 99% rename from public/build/assets/bundle-8efc010f.js rename to public/build/assets/bundle-7ca97fea.js index 0c58d5c..3f2cdf8 100644 --- a/public/build/assets/bundle-8efc010f.js +++ b/public/build/assets/bundle-7ca97fea.js @@ -1,4 +1,4 @@ -import{g as N}from"./app-front-ae9fe805.js";function P(x,H){for(var g=0;gb[l]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(x,H){(function(g,b){x.exports=b()})(window,function(){return function(g){var b={};function l(n){if(b[n])return b[n].exports;var i=b[n]={i:n,l:!1,exports:{}};return g[n].call(i.exports,i,i.exports,l),i.l=!0,i.exports}return l.m=g,l.c=b,l.d=function(n,i,h){l.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:h})},l.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},l.t=function(n,i){if(1&i&&(n=l(n)),8&i||4&i&&typeof n=="object"&&n&&n.__esModule)return n;var h=Object.create(null);if(l.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:n}),2&i&&typeof n!="string")for(var m in n)l.d(h,m,(function(f){return n[f]}).bind(null,m));return h},l.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return l.d(i,"a",i),i},l.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},l.p="/",l(l.s=5)}([function(g,b,l){var n=l(1);typeof n=="string"&&(n=[[g.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};l(3)(n,i),n.locals&&(g.exports=n.locals)},function(g,b,l){(g.exports=l(2)(!1)).push([g.i,`/** +import{g as N}from"./app-front-d6902e40.js";function P(x,H){for(var g=0;gb[l]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(x,H){(function(g,b){x.exports=b()})(window,function(){return function(g){var b={};function l(n){if(b[n])return b[n].exports;var i=b[n]={i:n,l:!1,exports:{}};return g[n].call(i.exports,i,i.exports,l),i.l=!0,i.exports}return l.m=g,l.c=b,l.d=function(n,i,h){l.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:h})},l.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},l.t=function(n,i){if(1&i&&(n=l(n)),8&i||4&i&&typeof n=="object"&&n&&n.__esModule)return n;var h=Object.create(null);if(l.r(h),Object.defineProperty(h,"default",{enumerable:!0,value:n}),2&i&&typeof n!="string")for(var m in n)l.d(h,m,(function(f){return n[f]}).bind(null,m));return h},l.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return l.d(i,"a",i),i},l.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)},l.p="/",l(l.s=5)}([function(g,b,l){var n=l(1);typeof n=="string"&&(n=[[g.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};l(3)(n,i),n.locals&&(g.exports=n.locals)},function(g,b,l){(g.exports=l(2)(!1)).push([g.i,`/** * Plugin styles */ .ce-header { diff --git a/public/build/assets/bundle-72871e75.js.gz b/public/build/assets/bundle-7ca97fea.js.gz similarity index 98% rename from public/build/assets/bundle-72871e75.js.gz rename to public/build/assets/bundle-7ca97fea.js.gz index afc8377..39120ff 100644 Binary files a/public/build/assets/bundle-72871e75.js.gz and b/public/build/assets/bundle-7ca97fea.js.gz differ diff --git a/public/build/assets/bundle-8efc010f.js.gz b/public/build/assets/bundle-8efc010f.js.gz deleted file mode 100644 index 8777d74..0000000 Binary files a/public/build/assets/bundle-8efc010f.js.gz and /dev/null differ diff --git a/public/build/assets/bundle-c20bcf97.js b/public/build/assets/bundle-c20bcf97.js deleted file mode 100644 index 8b3681d..0000000 --- a/public/build/assets/bundle-c20bcf97.js +++ /dev/null @@ -1,32 +0,0 @@ -import{g as E}from"./app-front-32dad050.js";function P(_,j){for(var v=0;vp[c]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(_,j){(function(v,p){_.exports=p()})(window,function(){return function(v){var p={};function c(o){if(p[o])return p[o].exports;var l=p[o]={i:o,l:!1,exports:{}};return v[o].call(l.exports,l,l.exports,c),l.l=!0,l.exports}return c.m=v,c.c=p,c.d=function(o,l,d){c.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:d})},c.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},c.t=function(o,l){if(1&l&&(o=c(o)),8&l||4&l&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(c.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),2&l&&typeof o!="string")for(var f in o)c.d(d,f,(function(b){return o[b]}).bind(null,f));return d},c.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return c.d(l,"a",l),l},c.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},c.p="/",c(c.s=4)}([function(v,p,c){var o=c(1),l=c(2);typeof(l=l.__esModule?l.default:l)=="string"&&(l=[[v.i,l,""]]);var d={insert:"head",singleton:!1};o(l,d),v.exports=l.locals||{}},function(v,p,c){var o,l=function(){return o===void 0&&(o=!!(window&&document&&document.all&&!window.atob)),o},d=function(){var r={};return function(i){if(r[i]===void 0){var s=document.querySelector(i);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch{s=null}r[i]=s}return r[i]}}(),f=[];function b(r){for(var i=-1,s=0;sa.length)&&(e=a.length);for(var t=0,n=new Array(e);t',default:n.defaultStyle==="ordered"||!0}],this._data={style:this.settings.find(function(i){return i.default===!0}).name,items:[]},this.data=t}return w(a,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"enableLineBreaks",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:o,title:"List"}}}]),w(a,[{key:"render",value:function(){var e=this;return this._elements.wrapper=this.makeMainTag(this._data.style),this._data.items.length?this._data.items.forEach(function(t){e._elements.wrapper.appendChild(e._make("li",e.CSS.item,{innerHTML:t}))}):this._elements.wrapper.appendChild(this._make("li",this.CSS.item)),this.readOnly||this._elements.wrapper.addEventListener("keydown",function(t){switch(t.keyCode){case 13:e.getOutofList(t);break;case 8:e.backspace(t)}},!1),this._elements.wrapper}},{key:"save",value:function(){return this.data}},{key:"renderSettings",value:function(){var e=this;return this.settings.map(function(t){return b(b({},t),{},{isActive:e._data.style===t.name,closeOnActivate:!0,onActivate:function(){return e.toggleTune(t.name)}})})}},{key:"onPaste",value:function(e){var t=e.detail.data;this.data=this.pasteHandler(t)}},{key:"makeMainTag",value:function(e){var t=e==="ordered"?this.CSS.wrapperOrdered:this.CSS.wrapperUnordered,n=e==="ordered"?"ol":"ul";return this._make(n,[this.CSS.baseBlock,this.CSS.wrapper,t],{contentEditable:!this.readOnly})}},{key:"toggleTune",value:function(e){for(var t=this.makeMainTag(e);this._elements.wrapper.hasChildNodes();)t.appendChild(this._elements.wrapper.firstChild);this._elements.wrapper.replaceWith(t),this._elements.wrapper=t,this._data.style=e}},{key:"_make",value:function(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=document.createElement(e);Array.isArray(n)?(t=r.classList).add.apply(t,l(n)):n&&r.classList.add(n);for(var i in h)r[i]=h[i];return r}},{key:"getOutofList",value:function(e){var t=this._elements.wrapper.querySelectorAll("."+this.CSS.item);if(!(t.length<2)){var n=t[t.length-1],h=this.currentItem;h!==n||n.textContent.trim().length||(h.parentElement.removeChild(h),this.api.blocks.insert(),this.api.caret.setToBlock(this.api.blocks.getCurrentBlockIndex()),e.preventDefault(),e.stopPropagation())}}},{key:"backspace",value:function(e){var t=this._elements.wrapper.querySelectorAll("."+this.CSS.item),n=t[0];n&&t.length<2&&!n.innerHTML.replace("
"," ").trim()&&e.preventDefault()}},{key:"selectItem",value:function(e){e.preventDefault();var t=window.getSelection(),n=t.anchorNode.parentNode.closest("."+this.CSS.item),h=new Range;h.selectNodeContents(n),t.removeAllRanges(),t.addRange(h)}},{key:"pasteHandler",value:function(e){var t,n=e.tagName;switch(n){case"OL":t="ordered";break;case"UL":case"LI":t="unordered"}var h={style:t,items:[]};if(n==="LI")h.items=[e.innerHTML];else{var r=Array.from(e.querySelectorAll("LI"));h.items=r.map(function(i){return i.innerHTML}).filter(function(i){return!!i.trim()})}return h}},{key:"CSS",get:function(){return{baseBlock:this.api.styles.block,wrapper:"cdx-list",wrapperOrdered:"cdx-list--ordered",wrapperUnordered:"cdx-list--unordered",item:"cdx-list__item"}}},{key:"data",set:function(e){e||(e={}),this._data.style=e.style||this.settings.find(function(n){return n.default===!0}).name,this._data.items=e.items||[];var t=this._elements.wrapper;t&&t.parentNode.replaceChild(this.render(),t)},get:function(){this._data.items=[];for(var e=this._elements.wrapper.querySelectorAll(".".concat(this.CSS.item)),t=0;t"," ").trim()&&this._data.items.push(e[t].innerHTML);return this._data}},{key:"currentItem",get:function(){var e=window.getSelection().anchorNode;return e.nodeType!==Node.ELEMENT_NODE&&(e=e.parentNode),e.closest(".".concat(this.CSS.item))}}],[{key:"conversionConfig",get:function(){return{export:function(e){return e.items.join(". ")},import:function(e){return{items:[e],style:"unordered"}}}}},{key:"sanitize",get:function(){return{style:{},items:{br:!0}}}},{key:"pasteConfig",get:function(){return{tags:["OL","UL","LI"]}}}]),a}()}]).default})})(T);var A=T.exports;const N=E(A),H=P({__proto__:null,default:N},[A]);export{N as L,H as b}; diff --git a/public/build/assets/bundle-c20bcf97.js.gz b/public/build/assets/bundle-c20bcf97.js.gz deleted file mode 100644 index 3e94f56..0000000 Binary files a/public/build/assets/bundle-c20bcf97.js.gz and /dev/null differ diff --git a/public/build/assets/bundle-2f2c1632.js b/public/build/assets/bundle-f4b2cd77.js similarity index 99% rename from public/build/assets/bundle-2f2c1632.js rename to public/build/assets/bundle-f4b2cd77.js index fbdb33b..10d75a9 100644 --- a/public/build/assets/bundle-2f2c1632.js +++ b/public/build/assets/bundle-f4b2cd77.js @@ -1,4 +1,4 @@ -import{g as E}from"./app-front-ae9fe805.js";function P(_,j){for(var v=0;vp[c]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(_,j){(function(v,p){_.exports=p()})(window,function(){return function(v){var p={};function c(o){if(p[o])return p[o].exports;var l=p[o]={i:o,l:!1,exports:{}};return v[o].call(l.exports,l,l.exports,c),l.l=!0,l.exports}return c.m=v,c.c=p,c.d=function(o,l,d){c.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:d})},c.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},c.t=function(o,l){if(1&l&&(o=c(o)),8&l||4&l&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(c.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),2&l&&typeof o!="string")for(var f in o)c.d(d,f,(function(b){return o[b]}).bind(null,f));return d},c.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return c.d(l,"a",l),l},c.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},c.p="/",c(c.s=4)}([function(v,p,c){var o=c(1),l=c(2);typeof(l=l.__esModule?l.default:l)=="string"&&(l=[[v.i,l,""]]);var d={insert:"head",singleton:!1};o(l,d),v.exports=l.locals||{}},function(v,p,c){var o,l=function(){return o===void 0&&(o=!!(window&&document&&document.all&&!window.atob)),o},d=function(){var r={};return function(i){if(r[i]===void 0){var s=document.querySelector(i);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch{s=null}r[i]=s}return r[i]}}(),f=[];function b(r){for(var i=-1,s=0;sp[c]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(_,j){(function(v,p){_.exports=p()})(window,function(){return function(v){var p={};function c(o){if(p[o])return p[o].exports;var l=p[o]={i:o,l:!1,exports:{}};return v[o].call(l.exports,l,l.exports,c),l.l=!0,l.exports}return c.m=v,c.c=p,c.d=function(o,l,d){c.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:d})},c.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},c.t=function(o,l){if(1&l&&(o=c(o)),8&l||4&l&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(c.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),2&l&&typeof o!="string")for(var f in o)c.d(d,f,(function(b){return o[b]}).bind(null,f));return d},c.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return c.d(l,"a",l),l},c.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},c.p="/",c(c.s=4)}([function(v,p,c){var o=c(1),l=c(2);typeof(l=l.__esModule?l.default:l)=="string"&&(l=[[v.i,l,""]]);var d={insert:"head",singleton:!1};o(l,d),v.exports=l.locals||{}},function(v,p,c){var o,l=function(){return o===void 0&&(o=!!(window&&document&&document.all&&!window.atob)),o},d=function(){var r={};return function(i){if(r[i]===void 0){var s=document.querySelector(i);if(window.HTMLIFrameElement&&s instanceof window.HTMLIFrameElement)try{s=s.contentDocument.head}catch{s=null}r[i]=s}return r[i]}}(),f=[];function b(r){for(var i=-1,s=0;s +
+ + + diff --git a/resources/js/ziggy.js b/resources/js/ziggy.js index 9b1f959..141db70 100644 --- a/resources/js/ziggy.js +++ b/resources/js/ziggy.js @@ -1,4 +1,4 @@ -const Ziggy = {"url":"https:\/\/aibuddytool.com","port":null,"defaults":{},"routes":{"debugbar.openhandler":{"uri":"_debugbar\/open","methods":["GET","HEAD"]},"debugbar.clockwork":{"uri":"_debugbar\/clockwork\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"debugbar.assets.css":{"uri":"_debugbar\/assets\/stylesheets","methods":["GET","HEAD"]},"debugbar.assets.js":{"uri":"_debugbar\/assets\/javascript","methods":["GET","HEAD"]},"debugbar.cache.delete":{"uri":"_debugbar\/cache\/{key}\/{tags?}","methods":["DELETE"],"parameters":["key","tags"]},"horizon.stats.index":{"uri":"chorizo\/api\/stats","methods":["GET","HEAD"]},"horizon.workload.index":{"uri":"chorizo\/api\/workload","methods":["GET","HEAD"]},"horizon.masters.index":{"uri":"chorizo\/api\/masters","methods":["GET","HEAD"]},"horizon.monitoring.index":{"uri":"chorizo\/api\/monitoring","methods":["GET","HEAD"]},"horizon.monitoring.store":{"uri":"chorizo\/api\/monitoring","methods":["POST"]},"horizon.monitoring-tag.paginate":{"uri":"chorizo\/api\/monitoring\/{tag}","methods":["GET","HEAD"],"parameters":["tag"]},"horizon.monitoring-tag.destroy":{"uri":"chorizo\/api\/monitoring\/{tag}","methods":["DELETE"],"wheres":{"tag":".*"},"parameters":["tag"]},"horizon.jobs-metrics.index":{"uri":"chorizo\/api\/metrics\/jobs","methods":["GET","HEAD"]},"horizon.jobs-metrics.show":{"uri":"chorizo\/api\/metrics\/jobs\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.queues-metrics.index":{"uri":"chorizo\/api\/metrics\/queues","methods":["GET","HEAD"]},"horizon.queues-metrics.show":{"uri":"chorizo\/api\/metrics\/queues\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.jobs-batches.index":{"uri":"chorizo\/api\/batches","methods":["GET","HEAD"]},"horizon.jobs-batches.show":{"uri":"chorizo\/api\/batches\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.jobs-batches.retry":{"uri":"chorizo\/api\/batches\/retry\/{id}","methods":["POST"],"parameters":["id"]},"horizon.pending-jobs.index":{"uri":"chorizo\/api\/jobs\/pending","methods":["GET","HEAD"]},"horizon.completed-jobs.index":{"uri":"chorizo\/api\/jobs\/completed","methods":["GET","HEAD"]},"horizon.silenced-jobs.index":{"uri":"chorizo\/api\/jobs\/silenced","methods":["GET","HEAD"]},"horizon.failed-jobs.index":{"uri":"chorizo\/api\/jobs\/failed","methods":["GET","HEAD"]},"horizon.failed-jobs.show":{"uri":"chorizo\/api\/jobs\/failed\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.retry-jobs.show":{"uri":"chorizo\/api\/jobs\/retry\/{id}","methods":["POST"],"parameters":["id"]},"horizon.jobs.show":{"uri":"chorizo\/api\/jobs\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.index":{"uri":"chorizo\/{view?}","methods":["GET","HEAD"],"wheres":{"view":"(.*)"},"parameters":["view"]},"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"api.auth.login.post":{"uri":"api\/login","methods":["POST"]},"api.auth.logout.post":{"uri":"api\/logout","methods":["POST"]},"api.admin.post.get":{"uri":"api\/admin\/post\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"api.admin.country-locales":{"uri":"api\/admin\/country-locales","methods":["GET","HEAD"]},"api.admin.categories":{"uri":"api\/admin\/categories\/{country_locale_slug}","methods":["GET","HEAD"],"parameters":["country_locale_slug"]},"api.admin.authors":{"uri":"api\/admin\/authors","methods":["GET","HEAD"]},"api.admin.upload.cloud.image":{"uri":"api\/admin\/image\/upload","methods":["POST"]},"api.admin.post.upsert":{"uri":"api\/admin\/admin\/post\/upsert","methods":["POST"]},"feeds.main":{"uri":"posts.rss","methods":["GET","HEAD"]},"login":{"uri":"login","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"register":{"uri":"register","methods":["GET","HEAD"]},"password.request":{"uri":"password\/reset","methods":["GET","HEAD"]},"password.email":{"uri":"password\/email","methods":["POST"]},"password.reset":{"uri":"password\/reset\/{token}","methods":["GET","HEAD"],"parameters":["token"]},"password.update":{"uri":"password\/reset","methods":["POST"]},"password.confirm":{"uri":"password\/confirm","methods":["GET","HEAD"]},"dashboard":{"uri":"admin","methods":["GET","HEAD"]},"admin.changelog":{"uri":"admin\/changelog","methods":["GET","HEAD"]},"about":{"uri":"admin\/about","methods":["GET","HEAD"]},"users.index":{"uri":"admin\/users","methods":["GET","HEAD"]},"posts.manage":{"uri":"admin\/posts","methods":["GET","HEAD"]},"posts.manage.edit":{"uri":"admin\/posts\/edit\/{post_id}","methods":["GET","HEAD"],"parameters":["post_id"]},"posts.manage.delete":{"uri":"admin\/posts\/delete\/{post_id}","methods":["GET","HEAD"],"parameters":["post_id"]},"posts.manage.indexing":{"uri":"admin\/posts\/indexing\/{post_id}","methods":["GET","HEAD"],"parameters":["post_id"]},"posts.manage.new":{"uri":"admin\/posts\/new","methods":["GET","HEAD"]},"profile.show":{"uri":"admin\/profile","methods":["GET","HEAD"]},"profile.update":{"uri":"admin\/profile","methods":["PUT"]},"front.home":{"uri":"\/","methods":["GET","HEAD"]},"front.discover.home":{"uri":"discover","methods":["GET","HEAD"]},"front.discover.category":{"uri":"discover\/{category_slug}","methods":["GET","HEAD"],"parameters":["category_slug"]},"front.search.post":{"uri":"ai-search","methods":["POST"]},"front.search.results":{"uri":"ai-search\/{query}","methods":["GET","HEAD"],"parameters":["query"]},"front.aitool.show":{"uri":"ai-tool\/{ai_tool_slug}","methods":["GET","HEAD"],"parameters":["ai_tool_slug"]},"front.terms":{"uri":"terms","methods":["GET","HEAD"]},"front.privacy":{"uri":"privacy","methods":["GET","HEAD"]},"front.disclaimer":{"uri":"disclaimer","methods":["GET","HEAD"]}}}; +const Ziggy = {"url":"https:\/\/aibuddytool.com","port":null,"defaults":{},"routes":{"debugbar.openhandler":{"uri":"_debugbar\/open","methods":["GET","HEAD"]},"debugbar.clockwork":{"uri":"_debugbar\/clockwork\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"debugbar.assets.css":{"uri":"_debugbar\/assets\/stylesheets","methods":["GET","HEAD"]},"debugbar.assets.js":{"uri":"_debugbar\/assets\/javascript","methods":["GET","HEAD"]},"debugbar.cache.delete":{"uri":"_debugbar\/cache\/{key}\/{tags?}","methods":["DELETE"],"parameters":["key","tags"]},"horizon.stats.index":{"uri":"chorizo\/api\/stats","methods":["GET","HEAD"]},"horizon.workload.index":{"uri":"chorizo\/api\/workload","methods":["GET","HEAD"]},"horizon.masters.index":{"uri":"chorizo\/api\/masters","methods":["GET","HEAD"]},"horizon.monitoring.index":{"uri":"chorizo\/api\/monitoring","methods":["GET","HEAD"]},"horizon.monitoring.store":{"uri":"chorizo\/api\/monitoring","methods":["POST"]},"horizon.monitoring-tag.paginate":{"uri":"chorizo\/api\/monitoring\/{tag}","methods":["GET","HEAD"],"parameters":["tag"]},"horizon.monitoring-tag.destroy":{"uri":"chorizo\/api\/monitoring\/{tag}","methods":["DELETE"],"wheres":{"tag":".*"},"parameters":["tag"]},"horizon.jobs-metrics.index":{"uri":"chorizo\/api\/metrics\/jobs","methods":["GET","HEAD"]},"horizon.jobs-metrics.show":{"uri":"chorizo\/api\/metrics\/jobs\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.queues-metrics.index":{"uri":"chorizo\/api\/metrics\/queues","methods":["GET","HEAD"]},"horizon.queues-metrics.show":{"uri":"chorizo\/api\/metrics\/queues\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.jobs-batches.index":{"uri":"chorizo\/api\/batches","methods":["GET","HEAD"]},"horizon.jobs-batches.show":{"uri":"chorizo\/api\/batches\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.jobs-batches.retry":{"uri":"chorizo\/api\/batches\/retry\/{id}","methods":["POST"],"parameters":["id"]},"horizon.pending-jobs.index":{"uri":"chorizo\/api\/jobs\/pending","methods":["GET","HEAD"]},"horizon.completed-jobs.index":{"uri":"chorizo\/api\/jobs\/completed","methods":["GET","HEAD"]},"horizon.silenced-jobs.index":{"uri":"chorizo\/api\/jobs\/silenced","methods":["GET","HEAD"]},"horizon.failed-jobs.index":{"uri":"chorizo\/api\/jobs\/failed","methods":["GET","HEAD"]},"horizon.failed-jobs.show":{"uri":"chorizo\/api\/jobs\/failed\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.retry-jobs.show":{"uri":"chorizo\/api\/jobs\/retry\/{id}","methods":["POST"],"parameters":["id"]},"horizon.jobs.show":{"uri":"chorizo\/api\/jobs\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"horizon.index":{"uri":"chorizo\/{view?}","methods":["GET","HEAD"],"wheres":{"view":"(.*)"},"parameters":["view"]},"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"api.auth.login.post":{"uri":"api\/login","methods":["POST"]},"api.auth.logout.post":{"uri":"api\/logout","methods":["POST"]},"api.admin.post.get":{"uri":"api\/admin\/post\/{id}","methods":["GET","HEAD"],"parameters":["id"]},"api.admin.country-locales":{"uri":"api\/admin\/country-locales","methods":["GET","HEAD"]},"api.admin.categories":{"uri":"api\/admin\/categories\/{country_locale_slug}","methods":["GET","HEAD"],"parameters":["country_locale_slug"]},"api.admin.authors":{"uri":"api\/admin\/authors","methods":["GET","HEAD"]},"api.admin.upload.cloud.image":{"uri":"api\/admin\/image\/upload","methods":["POST"]},"api.admin.post.upsert":{"uri":"api\/admin\/admin\/post\/upsert","methods":["POST"]},"feeds.main":{"uri":"posts.rss","methods":["GET","HEAD"]},"login":{"uri":"login","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"register":{"uri":"register","methods":["GET","HEAD"]},"password.request":{"uri":"password\/reset","methods":["GET","HEAD"]},"password.email":{"uri":"password\/email","methods":["POST"]},"password.reset":{"uri":"password\/reset\/{token}","methods":["GET","HEAD"],"parameters":["token"]},"password.update":{"uri":"password\/reset","methods":["POST"]},"password.confirm":{"uri":"password\/confirm","methods":["GET","HEAD"]},"front.home":{"uri":"\/","methods":["GET","HEAD"]},"front.discover.home":{"uri":"discover","methods":["GET","HEAD"]},"front.discover.category":{"uri":"discover\/{category_slug}","methods":["GET","HEAD"],"parameters":["category_slug"]},"front.search.post":{"uri":"ai-search","methods":["POST"]},"front.search.results":{"uri":"ai-search\/{query}","methods":["GET","HEAD"],"parameters":["query"]},"front.aitool.show":{"uri":"ai-tool\/{ai_tool_slug}","methods":["GET","HEAD"],"parameters":["ai_tool_slug"]},"front.submit-tool":{"uri":"submit-ai-tool-for-free","methods":["GET","HEAD"]},"front.submit-tool.post":{"uri":"submit-ai-tool-for-free","methods":["POST"]},"front.terms":{"uri":"terms","methods":["GET","HEAD"]},"front.privacy":{"uri":"privacy","methods":["GET","HEAD"]},"front.disclaimer":{"uri":"disclaimer","methods":["GET","HEAD"]}}}; if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { Object.assign(Ziggy.routes, window.Ziggy.routes); diff --git a/resources/views/front/layouts/app.blade.php b/resources/views/front/layouts/app.blade.php index c51262b..fdd4319 100644 --- a/resources/views/front/layouts/app.blade.php +++ b/resources/views/front/layouts/app.blade.php @@ -32,6 +32,8 @@
+ @include('front.partials.alerts') + @include('googletagmanager::body') @include('front.layouts.navigation') diff --git a/resources/views/front/layouts/navigation.blade.php b/resources/views/front/layouts/navigation.blade.php index 2976242..b28e61b 100644 --- a/resources/views/front/layouts/navigation.blade.php +++ b/resources/views/front/layouts/navigation.blade.php @@ -1,7 +1,9 @@
-
- diff --git a/resources/views/front/partials/alerts.blade.php b/resources/views/front/partials/alerts.blade.php new file mode 100644 index 0000000..a84640a --- /dev/null +++ b/resources/views/front/partials/alerts.blade.php @@ -0,0 +1,9 @@ +@if (session()->has('error')) + +@endif + +@if (session()->has('success')) + +@endif diff --git a/resources/views/front/submit_tool_free.blade.php b/resources/views/front/submit_tool_free.blade.php new file mode 100644 index 0000000..45d9e52 --- /dev/null +++ b/resources/views/front/submit_tool_free.blade.php @@ -0,0 +1,182 @@ +@extends('front.layouts.app') + +@section('content') +
+
+
+
+
+
+

Submit your AI Tool for free!

+ Limited to first {{ $max_submissions }} approved submissions. + + @if ($submissions_left < $max_submissions / 2) +
{{ $submitted_tool_count }} submissions received, {{ $submissions_left }} free + slots left + @endif +
+
+ +

Perks of a new AI tool directory: free tool submission! We are grateful + for your initial support and we wish to reward our early adopters with AI tool submission at + $0 charge.

+ +

+ While our platform is still relatively new, we are commited to becoming one of the leading AI + tool directories online, focusing on inspring the businesses & consumers with innovative AI + tools. +

+ +

Note:

+

Only AI tool founders and related employees can use this form. We will verify your + submission based on a combination of provided information submitted in this form.

+ +

You should only submit a website landing page, mobile app store link, browser + extension link, or a product link in its' completed state. This is because our AI crawlers will + visit these page to extract meaningful information, and incomplete product will derail our AI + crawler.

+ +

Please do not submit multiple URL sources, or multiple emails of the same product. + Please submit fairly and responsibly.

+ +

Our AI crawler may produce inaccurate results. If that is the case, please contact + us via DM and we will correct it manually.

+ +

If your submission is rejected and is found to be an error, we probably may have + found some incorrect details during your submission in the first place. As such, your submission + slot is removed to make room for other AI tool submissions. You may resubmit your AI tool again + while the slots are still available.

+ +

Your AI tool may have already been identified by our crawler engine in the first + place. If that is the case, your submission is already pre-approved, and your submission slot + will be released to make room for other AI tool submissions.

+ +

You may/may not be notified by email when the tool is approved or rejected. We are + still looking for a cost-effective email provider. In the meantime, DM us to check your + submission.

+ +

It may take up to a few days for us to provide you with a response. Please be + patient and if we still have not resolve it, DM us.

+ +

DM @charlestehio for + support here.

+ + + +
+ @csrf + + {{-- Submitted URL --}} +
+ + +
+ + {{-- Email --}} +
+ + +
+ + {{-- Social --}} +
+ + +
+ + {{-- Social Type --}} +
+ + +
+ + {{-- Source Type --}} +
+ + +
+ + {{-- Source --}} +
+ + +
+ + {{-- Comments --}} +
+ + +
+ + +
+
+
+ +
+
+
+@endsection diff --git a/routes/web.php b/routes/web.php index b9f8d46..04d55da 100644 --- a/routes/web.php +++ b/routes/web.php @@ -65,6 +65,14 @@ }); +Route::prefix('submit-ai-tool-for-free')->group(function () { + + Route::get('/', [\App\Http\Controllers\Front\FrontSubmitToolController::class, 'index'])->name('front.submit-tool'); + + Route::post('/', [\App\Http\Controllers\Front\FrontSubmitToolController::class, 'post'])->name('front.submit-tool.post'); + +}); + Route::get('/terms', [App\Http\Controllers\Front\FrontHomeController::class, 'terms'])->name('front.terms')->middleware('cacheResponse:2630000'); Route::get('/privacy', [App\Http\Controllers\Front\FrontHomeController::class, 'privacy'])->name('front.privacy')->middleware('cacheResponse:2630000');