diff --git a/.gitignore b/.gitignore index fbc28c5..bf48803 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +.vscode .env .phpunit.result.cache build diff --git a/config/translations.php b/config/translations.php index 7b4356a..f59e968 100644 --- a/config/translations.php +++ b/config/translations.php @@ -22,6 +22,18 @@ */ 'path' => env('TRANSLATIONS_PATH', 'translations'), + /* + |-------------------------------------------------------------------------- + | Laravel Translations Localization + |-------------------------------------------------------------------------- + | + | The Laravel Translations determines the default locale that will be used + | This option can be set to any locale for which you plan to have translation strings. + | + */ + + 'locale' => env('TRANSLATIONS_LOCALE', 'en'), + /* |-------------------------------------------------------------------------- | Laravel Translations route middleware diff --git a/database/factories/ContributorFactory.php b/database/factories/ContributorFactory.php index d7fe5f9..d5adb7c 100644 --- a/database/factories/ContributorFactory.php +++ b/database/factories/ContributorFactory.php @@ -3,6 +3,8 @@ namespace Outhebox\TranslationsUI\Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; +use Outhebox\TranslationsUI\Enums\LocaleEnum; +use Outhebox\TranslationsUI\Enums\RoleEnum; use Outhebox\TranslationsUI\Models\Contributor; class ContributorFactory extends Factory @@ -14,8 +16,9 @@ public function definition(): array return [ 'name' => $this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), - 'role' => $this->faker->randomElement(['admin', 'translator']), + 'role' => $this->faker->randomElement(RoleEnum::cases()), 'password' => bcrypt('password'), + 'lang' => $this->faker->randomElement(LocaleEnum::cases()), 'remember_token' => null, ]; } diff --git a/database/factories/LanguageFactory.php b/database/factories/LanguageFactory.php index b5ecd68..9a9b2d3 100644 --- a/database/factories/LanguageFactory.php +++ b/database/factories/LanguageFactory.php @@ -13,8 +13,8 @@ public function definition(): array { return [ 'rtl' => $this->faker->boolean(), - 'code' => $this->faker->randomElement(['en', 'nl', 'fr', 'de', 'es', 'it', 'pt', 'ru', 'ja', 'zh']), - 'name' => $this->faker->randomElement(['English', 'Dutch', 'French', 'German', 'Spanish', 'Italian', 'Portuguese', 'Russian', 'Japanese', 'Chinese']), + 'code' => $this->faker->randomElement(['en', 'nl', 'fr', 'de', 'es', 'id', 'it', 'pt', 'ru', 'ja', 'zh']), + 'name' => $this->faker->randomElement(['English', 'Dutch', 'French', 'German', 'Spanish', 'Indonesian', 'Italian', 'Portuguese', 'Russian', 'Japanese', 'Chinese']), ]; } } diff --git a/database/migrations/add_is_root_to_translation_files_table.php b/database/migrations/add_is_root_to_translation_files_table.php index d8eeee9..f495588 100644 --- a/database/migrations/add_is_root_to_translation_files_table.php +++ b/database/migrations/add_is_root_to_translation_files_table.php @@ -3,14 +3,13 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class() extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/add_lang_to_constributors_table.php b/database/migrations/add_lang_to_constributors_table.php new file mode 100644 index 0000000..4350869 --- /dev/null +++ b/database/migrations/add_lang_to_constributors_table.php @@ -0,0 +1,28 @@ +connection; + } + + public function up(): void + { + Schema::table('ltu_contributors', function (Blueprint $table) { + $table->string('lang')->default('en')->after('role'); + }); + } + + public function down(): void + { + Schema::table('ltu_contributors', function (Blueprint $table) { + $table->dropIfExists('lang'); + }); + } +}; diff --git a/database/migrations/create_contributors_table.php b/database/migrations/create_contributors_table.php index 99562dd..f78a83e 100644 --- a/database/migrations/create_contributors_table.php +++ b/database/migrations/create_contributors_table.php @@ -3,14 +3,13 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/create_invites_table.php b/database/migrations/create_invites_table.php index db21401..a667f45 100644 --- a/database/migrations/create_invites_table.php +++ b/database/migrations/create_invites_table.php @@ -4,14 +4,13 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Outhebox\TranslationsUI\Enums\RoleEnum; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/create_languages_table.php b/database/migrations/create_languages_table.php index af1f280..0819e83 100644 --- a/database/migrations/create_languages_table.php +++ b/database/migrations/create_languages_table.php @@ -3,14 +3,13 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/create_phrases_table.php b/database/migrations/create_phrases_table.php index 43173b1..ac20bb0 100644 --- a/database/migrations/create_phrases_table.php +++ b/database/migrations/create_phrases_table.php @@ -4,6 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Outhebox\TranslationsUI\Enums\StatusEnum; +use Outhebox\TranslationsUI\Facades\TranslationsUI; use Outhebox\TranslationsUI\Models\Phrase; use Outhebox\TranslationsUI\Models\Translation; use Outhebox\TranslationsUI\Models\TranslationFile; @@ -12,9 +13,7 @@ { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/create_translation_files_table.php b/database/migrations/create_translation_files_table.php index d685081..c0ef1ba 100644 --- a/database/migrations/create_translation_files_table.php +++ b/database/migrations/create_translation_files_table.php @@ -3,14 +3,13 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/database/migrations/create_translations_table.php b/database/migrations/create_translations_table.php index ad49d18..cfd10b6 100644 --- a/database/migrations/create_translations_table.php +++ b/database/migrations/create_translations_table.php @@ -3,14 +3,13 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; +use Outhebox\TranslationsUI\Facades\TranslationsUI; return new class extends Migration { public function getConnection() { - $connection = config('translations.database_connection'); - - return $connection ?? $this->connection; + return TranslationsUI::getConnection() ?? $this->connection; } public function up(): void diff --git a/package.json b/package.json index 2267019..e057340 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "eslint-plugin-vue": "^9.20.1", "floating-vue": "^2.0.0-beta.24", "laravel-vite-plugin": "^0.8.1", + "laravel-vue-i18n": "^2.7.6", "lodash": "^4.17.21", "mitt": "^3.0.1", "momentum-modal": "^0.2.1", diff --git a/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js b/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2d2033a0.js similarity index 85% rename from resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js rename to resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2d2033a0.js index 0da2ab9..8d3cc7d 100644 --- a/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2a26691d.js +++ b/resources/dist/vendor/translations-ui/assets/ExclamationCircleIcon-2d2033a0.js @@ -1 +1 @@ -import{o as e,h as r,f as a}from"./app-8d2ddf0a.js";function n(o,t){return e(),r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}export{n as r}; +import{o as e,j as r,g as a}from"./app-4a4d2073.js";function n(o,t){return e(),r("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z","clip-rule":"evenodd"})])}export{n as r}; diff --git a/resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js b/resources/dist/vendor/translations-ui/assets/XCircleIcon-b3205d77.js similarity index 87% rename from resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js rename to resources/dist/vendor/translations-ui/assets/XCircleIcon-b3205d77.js index edd47b8..00e98cc 100644 --- a/resources/dist/vendor/translations-ui/assets/XCircleIcon-71639424.js +++ b/resources/dist/vendor/translations-ui/assets/XCircleIcon-b3205d77.js @@ -1 +1 @@ -import{o as e,h as a,f as r}from"./app-8d2ddf0a.js";function n(o,l){return e(),a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[r("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z","clip-rule":"evenodd"})])}export{n as r}; +import{o as e,j as a,g as r}from"./app-4a4d2073.js";function n(o,l){return e(),a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[r("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z","clip-rule":"evenodd"})])}export{n as r}; diff --git a/resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js b/resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js deleted file mode 100644 index c3307ed..0000000 --- a/resources/dist/vendor/translations-ui/assets/accept-2aabe2e9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as b}from"./layout-guest-8ff3f210.js";import{d as x,T as V,o as h,c as k,w as n,a as m,b as e,f as t,u as s,t as C,g as I,Z as B,i as $}from"./app-8d2ddf0a.js";import{_ as N}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as q}from"./input-password.vue_vue_type_script_setup_true_lang-c432caf8.js";import{_ as A,a as E}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as L}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import"./logo-47b5a18d.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-2c219153.js";import"./use-input-size-a5ed2a71.js";const P={class:"space-y-1"},T={class:"space-y-1"},U=["textContent"],j={class:"space-y-1"},G={class:"space-y-1"},S={class:"mt-8 flex w-full justify-center"},Q=x({__name:"accept",props:{email:{},token:{}},setup(u){const d=u,o=V({name:"",password:"",email:d.email,token:d.token,password_confirmation:""}),_=()=>{o.post(route("ltu.invitation.accept.store"),{onFinish:()=>{o.reset("password","password_confirmation")}})};return(p,a)=>{const f=B,i=A,w=L,l=E,c=q,g=N,y=$,v=b;return h(),k(v,null,{title:n(()=>[m(" Accept Invitation ")]),subtitle:n(()=>[m(" You have been invited to join the team! ")]),default:n(()=>[e(f,{title:"Accept Invitation"}),t("form",{class:"space-y-6",onSubmit:I(_,["prevent"])},[t("div",P,[e(i,{for:"name",value:"Name",class:"sr-only"}),e(w,{id:"name",modelValue:s(o).name,"onUpdate:modelValue":a[0]||(a[0]=r=>s(o).name=r),error:s(o).errors.name,type:"text",required:"",autofocus:"",autocomplete:"name",placeholder:"Enter your name",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.name},null,8,["message"])]),t("div",T,[e(i,{for:"email",value:"Email Address",class:"sr-only"}),t("div",{class:"w-full cursor-not-allowed rounded-md border border-gray-300 bg-gray-100 px-2 py-2.5 text-sm",textContent:C(p.email)},null,8,U),e(l,{message:s(o).errors.email},null,8,["message"])]),t("div",j,[e(i,{for:"password",value:"Password"}),e(c,{id:"password",modelValue:s(o).password,"onUpdate:modelValue":a[1]||(a[1]=r=>s(o).password=r),error:s(o).errors.password,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password},null,8,["message"])]),t("div",G,[e(i,{for:"password_confirmation",value:"Confirm Password"}),e(c,{id:"password_confirmation",modelValue:s(o).password_confirmation,"onUpdate:modelValue":a[2]||(a[2]=r=>s(o).password_confirmation=r),error:s(o).errors.password_confirmation,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),e(l,{message:s(o).errors.password_confirmation},null,8,["message"])]),e(g,{type:"submit",variant:"secondary","is-loading":s(o).processing,"full-width":""},{default:n(()=>[m(" Continue ")]),_:1},8,["is-loading"])],32),t("div",S,[e(y,{href:p.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:n(()=>[m(" Go back to sign in ")]),_:1},8,["href"])])]),_:1})}}});export{Q as default}; diff --git a/resources/dist/vendor/translations-ui/assets/accept-3404662c.js b/resources/dist/vendor/translations-ui/assets/accept-3404662c.js new file mode 100644 index 0000000..0364201 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/accept-3404662c.js @@ -0,0 +1 @@ +import{_ as x}from"./layout-guest.vue_vue_type_script_setup_true_lang-dd10f5b6.js";import{d as V,T as k,o as C,c as I,w as l,a as c,t as i,u as e,b as a,e as s,g as t,h as $,Z as B,i as N}from"./app-4a4d2073.js";import{_ as q}from"./base-button.vue_vue_type_script_setup_true_lang-193acd9e.js";import{_ as A}from"./input-password.vue_vue_type_script_setup_true_lang-566986a0.js";import{_ as E,a as L}from"./input-label.vue_vue_type_script_setup_true_lang-746f051f.js";import{_ as P}from"./input-text.vue_vue_type_script_setup_true_lang-795089e2.js";import"./logo-2c45efc9.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./icon-close-9c7a445c.js";import"./use-input-size-e87d9a0c.js";const T={class:"space-y-1"},U={class:"space-y-1"},j=["textContent"],G={class:"space-y-1"},S={class:"space-y-1"},D={class:"mt-8 flex w-full justify-center"},R=V({__name:"accept",props:{email:{},token:{}},setup(f){const u=f,o=k({name:"",password:"",email:u.email,token:u.token,password_confirmation:""}),w=()=>{o.post(route("ltu.invitation.accept.store"),{onFinish:()=>{o.reset("password","password_confirmation")}})};return(p,r)=>{const g=B,m=E,v=P,d=L,_=A,y=q,b=N,h=x;return C(),I(h,null,{title:l(()=>[c(i(e(a)("Accept Invitation")),1)]),subtitle:l(()=>[c(i(e(a)("You have been invited to join the team!")),1)]),default:l(()=>[s(g,{title:e(a)("Accept Invitation")},null,8,["title"]),t("form",{class:"space-y-6",onSubmit:$(w,["prevent"])},[t("div",T,[s(m,{for:"name",value:e(a)("Name"),class:"sr-only"},null,8,["value"]),s(v,{id:"name",modelValue:e(o).name,"onUpdate:modelValue":r[0]||(r[0]=n=>e(o).name=n),error:e(o).errors.name,type:"text",required:"",autofocus:"",autocomplete:"name",placeholder:e(a)("Enter your name"),class:"bg-gray-50"},null,8,["modelValue","error","placeholder"]),s(d,{message:e(o).errors.name},null,8,["message"])]),t("div",U,[s(m,{for:"email",value:e(a)("Email Address"),class:"sr-only"},null,8,["value"]),t("div",{class:"w-full cursor-not-allowed rounded-md border border-gray-300 bg-gray-100 px-2 py-2.5 text-sm",textContent:i(p.email)},null,8,j),s(d,{message:e(o).errors.email},null,8,["message"])]),t("div",G,[s(m,{for:"password",value:e(a)("Password")},null,8,["value"]),s(_,{id:"password",modelValue:e(o).password,"onUpdate:modelValue":r[1]||(r[1]=n=>e(o).password=n),error:e(o).errors.password,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),s(d,{message:e(o).errors.password},null,8,["message"])]),t("div",S,[s(m,{for:"password_confirmation",value:e(a)("Confirm Password")},null,8,["value"]),s(_,{id:"password_confirmation",modelValue:e(o).password_confirmation,"onUpdate:modelValue":r[2]||(r[2]=n=>e(o).password_confirmation=n),error:e(o).errors.password_confirmation,required:"",autocomplete:"new-password",class:"bg-gray-50"},null,8,["modelValue","error"]),s(d,{message:e(o).errors.password_confirmation},null,8,["message"])]),s(y,{type:"submit",variant:"secondary","is-loading":e(o).processing,"full-width":""},{default:l(()=>[c(i(e(a)("Continue")),1)]),_:1},8,["is-loading"])],32),t("div",D,[s(b,{href:p.route("ltu.login"),class:"text-xs font-medium text-gray-500 hover:text-blue-500"},{default:l(()=>[c(i(e(a)("Go back to sign in")),1)]),_:1},8,["href"])])]),_:1})}}});export{R as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-source-key-2a57368b.js b/resources/dist/vendor/translations-ui/assets/add-source-key-2a57368b.js new file mode 100644 index 0000000..4672706 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/add-source-key-2a57368b.js @@ -0,0 +1 @@ +import{_ as z}from"./dialog.vue_vue_type_script_setup_true_lang-3254edea.js";import{_ as S}from"./base-button.vue_vue_type_script_setup_true_lang-193acd9e.js";import{_ as I,a as $}from"./icon-key-e4e5e2b4.js";import{_ as N}from"./input-text.vue_vue_type_script_setup_true_lang-795089e2.js";import{_ as B,a as E}from"./input-label.vue_vue_type_script_setup_true_lang-746f051f.js";import{_ as j}from"./input-native-select.vue_vue_type_script_setup_true_lang-cff27618.js";import{_ as K}from"./icon-close-9c7a445c.js";import{d as A,T as F,v as T,o as U,j as D,e as t,u as e,b as n,w as _,g as s,t as a,a as p,F as H,K as L,Z as W}from"./app-4a4d2073.js";import{r as Y}from"./ExclamationCircleIcon-2d2033a0.js";import"./transition-6f9813b8.js";import"./dialog-cfb46eba.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./use-input-size-e87d9a0c.js";const Z={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},q={class:"flex size-12 shrink-0 items-center justify-center rounded-full border"},G={class:"w-full"},J={class:"text-base font-semibold leading-6 text-gray-600"},M={class:"mt-1 text-sm text-gray-500"},O={class:"space-y-6 p-6"},P={class:"w-full space-y-1"},Q={class:"space-y-1"},R={class:"flex w-full items-center gap-1"},X={class:"text-sm text-gray-400"},ee={class:"space-y-1"},te={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},fe=A({__name:"add-source-key",props:{files:{}},setup(f){const y=f,{close:i}=L(),o=F({key:"",file:"",content:""}),g=T(()=>y.files.map(c=>({value:c.id,label:c.nameWithExtension}))),v=()=>{o.post(route("ltu.source_translation.store_source_key"),{preserveScroll:!0,onSuccess:()=>{i()}})};return(c,r)=>{const x=W,k=I,h=K,d=B,b=j,m=E,V=N,w=$,u=S,C=z;return U(),D(H,null,[t(x,{title:e(n)("Add New Key")},null,8,["title"]),t(C,{size:"lg"},{default:_(()=>[s("div",Z,[s("div",q,[t(k,{class:"size-6 text-gray-400"})]),s("div",G,[s("h3",J,a(e(n)("Add New Key")),1),s("p",M,a(e(n)("Add a new key to your source language.")),1)]),s("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:r[0]||(r[0]=(...l)=>e(i)&&e(i)(...l))},[t(h,{class:"size-5"})])]),s("div",O,[s("div",P,[t(d,{for:"file",value:e(n)("Select file")},null,8,["value"]),t(b,{id:"file",modelValue:e(o).file,"onUpdate:modelValue":r[1]||(r[1]=l=>e(o).file=l),error:e(o).errors.file,items:g.value,size:"md",placeholder:e(n)("Select translation file")},null,8,["modelValue","error","items","placeholder"]),t(m,{message:e(o).errors.file},null,8,["message"])]),s("div",Q,[t(d,{for:"key",value:e(n)("Source key")},null,8,["value"]),t(V,{id:"key",modelValue:e(o).key,"onUpdate:modelValue":r[2]||(r[2]=l=>e(o).key=l),error:e(o).errors.key,placeholder:e(n)("Enter key")},null,8,["modelValue","error","placeholder"]),t(m,{message:e(o).errors.key},null,8,["message"]),s("div",R,[t(e(Y),{class:"size-4 text-gray-400"}),s("span",X,a(e(n)("You can use dot notation (.) to create nested keys.")),1)])]),s("div",ee,[t(d,{for:"content",value:e(n)("Source content")},null,8,["value"]),t(w,{id:"content",modelValue:e(o).content,"onUpdate:modelValue":r[3]||(r[3]=l=>e(o).content=l),error:e(o).errors.content,placeholder:e(n)("Enter translation content for this key.")},null,8,["modelValue","error","placeholder"]),t(m,{message:e(o).errors.content},null,8,["message"])])]),s("div",te,[t(u,{variant:"secondary",type:"button",size:"lg",onClick:e(i)},{default:_(()=>[p(a(e(n)("Close")),1)]),_:1},8,["onClick"]),t(u,{variant:"primary",type:"button",size:"lg",disabled:e(o).processing,"is-loading":e(o).processing,onClick:v},{default:_(()=>[p(a(e(n)("Create")),1)]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{fe as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js b/resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js deleted file mode 100644 index 04d873f..0000000 --- a/resources/dist/vendor/translations-ui/assets/add-source-key-e419d407.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w}from"./dialog.vue_vue_type_script_setup_true_lang-16687c15.js";import{_ as C}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as z,a as I}from"./icon-key-2650eeaf.js";import{_ as S}from"./input-text.vue_vue_type_script_setup_true_lang-c368a274.js";import{_ as $,a as N}from"./input-label.vue_vue_type_script_setup_true_lang-b020cb97.js";import{_ as B}from"./input-native-select.vue_vue_type_script_setup_true_lang-b04d251a.js";import{_ as E}from"./icon-close-2c219153.js";import{d as K,T as j,s as A,o as F,h as T,b as t,w as d,f as s,u as e,a as _,F as U,K as D,Z as H}from"./app-8d2ddf0a.js";import{r as L}from"./ExclamationCircleIcon-2a26691d.js";import"./transition-fb8d0e84.js";import"./dialog-6de4cc28.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./use-input-size-a5ed2a71.js";const W={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Y={class:"flex size-12 shrink-0 items-center justify-center rounded-full border"},Z=s("div",{class:"w-full"},[s("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add New Key"),s("p",{class:"mt-1 text-sm text-gray-500"},"Add a new key to your source language.")],-1),q={class:"space-y-6 p-6"},G={class:"w-full space-y-1"},J={class:"space-y-1"},M={class:"flex w-full items-center gap-1"},O=s("span",{class:"text-sm text-gray-400"},"You can use dot notation (.) to create nested keys.",-1),P={class:"space-y-1"},Q={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},me=K({__name:"add-source-key",props:{files:{}},setup(p){const u=p,{close:a}=D(),o=j({key:"",file:"",content:""}),f=A(()=>u.files.map(l=>({value:l.id,label:l.nameWithExtension}))),y=()=>{o.post(route("ltu.source_translation.store_source_key"),{preserveScroll:!0,onSuccess:()=>{a()}})};return(l,n)=>{const g=H,x=z,k=E,i=$,v=B,c=N,b=S,h=I,m=C,V=w;return F(),T(U,null,[t(g,{title:"Add New Key"}),t(V,{size:"lg"},{default:d(()=>[s("div",W,[s("div",Y,[t(x,{class:"size-6 text-gray-400"})]),Z,s("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:n[0]||(n[0]=(...r)=>e(a)&&e(a)(...r))},[t(k,{class:"size-5"})])]),s("div",q,[s("div",G,[t(i,{for:"file",value:"Select file"}),t(v,{id:"file",modelValue:e(o).file,"onUpdate:modelValue":n[1]||(n[1]=r=>e(o).file=r),error:e(o).errors.file,items:f.value,size:"md",placeholder:"Select translation file"},null,8,["modelValue","error","items"]),t(c,{message:e(o).errors.file},null,8,["message"])]),s("div",J,[t(i,{for:"key",value:"Source key"}),t(b,{id:"key",modelValue:e(o).key,"onUpdate:modelValue":n[2]||(n[2]=r=>e(o).key=r),error:e(o).errors.key,placeholder:"Enter key"},null,8,["modelValue","error"]),t(c,{message:e(o).errors.key},null,8,["message"]),s("div",M,[t(e(L),{class:"size-4 text-gray-400"}),O])]),s("div",P,[t(i,{for:"content",value:"Source content"}),t(h,{id:"content",modelValue:e(o).content,"onUpdate:modelValue":n[3]||(n[3]=r=>e(o).content=r),error:e(o).errors.content,placeholder:"Enter translation content for this key."},null,8,["modelValue","error"]),t(c,{message:e(o).errors.content},null,8,["message"])])]),s("div",Q,[t(m,{variant:"secondary",type:"button",size:"lg",onClick:e(a)},{default:d(()=>[_(" Close ")]),_:1},8,["onClick"]),t(m,{variant:"primary",type:"button",size:"lg",disabled:e(o).processing,"is-loading":e(o).processing,onClick:y},{default:d(()=>[_(" Create ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{me as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js b/resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js deleted file mode 100644 index cf0c8d7..0000000 --- a/resources/dist/vendor/translations-ui/assets/add-translation-810989c4.js +++ /dev/null @@ -1,3 +0,0 @@ -import{_ as R}from"./dialog.vue_vue_type_script_setup_true_lang-16687c15.js";import{_ as q}from"./base-button.vue_vue_type_script_setup_true_lang-3d6cef8e.js";import{_ as U}from"./flag.vue_vue_type_script_setup_true_lang-f8d12804.js";import{_ as H}from"./icon-close-2c219153.js";import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";import{o as r,h as d,f as l,n as Q,k as p,a1 as h,a2 as g,F as L,q as P,a as S,t as O,c as $,a3 as V,e as x,m as B,a4 as K,p as C,M as T,b as f,w as b,g as F,E as M,H as X,d as Y,r as Z,T as G,u,K as W,Z as ee}from"./app-8d2ddf0a.js";import"./transition-fb8d0e84.js";import"./dialog-6de4cc28.js";const te={},se={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 256 256",fill:"currentColor"},oe=l("path",{d:"M62.4 101c-1.5-2.1-2.1-3.4-1.8-3.9.2-.5 1.6-.7 3.9-.5 2.3.2 4.2.5 5.8.9 1.5.4 2.8 1 3.8 1.7s1.8 1.5 2.3 2.6c.6 1 1 2.3 1.4 3.7.7 2.8.5 4.7-.5 5.7-1.1 1-2.6.8-4.6-.6-2.1-1.4-3.9-2.8-5.5-4.2-1.7-1.3-3.3-3.2-4.8-5.4zm-21.7 89.1c4.8-2.1 9-4.2 12.6-6.4 3.5-2.1 6.6-4.4 9.3-6.8 2.6-2.3 5-4.9 7-7.7 2-2.7 3.8-5.8 5.4-9.2 1.3 1.2 2.5 2.4 3.8 3.5 1.2 1.1 2.5 2.2 3.8 3.4 1.3 1.2 2.8 2.4 4.3 3.8s3.3 2.8 5.3 4.5c.7.5 1.4.9 2.1 1 .7.1 1.7 0 3.1-.6 1.3-.5 3-1.4 5.1-2.8 2.1-1.3 4.7-3.1 7.9-5.4 1.6-1.1 2.4-2 2.3-2.7-.1-.7-1-1-2.7-.9-3.1.1-5.9.1-8.3-.1-2.5-.2-5-.6-7.4-1.4-2.4-.8-4.9-1.9-7.5-3.4-2.6-1.5-5.6-3.6-9.1-6.2 1-3.9 1.8-8 2.4-12.4.3-2.5.6-4.3.8-5.6.2-1.2.5-2.4.9-3.3.3-.8.4-1.4.5-1.9.1-.5-.1-1-.4-1.6-.4-.5-1-1.1-1.9-1.7-.9-.6-2.2-1.4-3.9-2.3 2.4-.9 5.1-1.7 7.9-2.6 2.7-.9 5.7-1.8 8.8-2.7 3-.9 4.5-1.9 4.6-3.1.1-1.2-.9-2.3-3.2-3.5-1.5-.8-2.9-1.1-4.3-.9-1.4.2-3.2.9-5.4 2.2-.6.4-1.8.9-3.4 1.6-1.7.7-3.6 1.5-6 2.5s-5 2-7.8 3.1c-2.9 1.1-5.8 2.2-8.7 3.2-2.9 1.1-5.7 2-8.2 2.8-2.6.8-4.6 1.4-6.1 1.6-3.8.8-5.8 1.6-5.9 2.4 0 .8 1.5 1.6 4.4 2.4 1.2.3 2.3.6 3.1.6.8.1 1.7.1 2.5 0s1.6-.3 2.4-.5c.8-.3 1.7-.7 2.8-1.1 1.6-.8 3.9-1.7 6.9-2.8 2.9-1 6.6-2.4 11.2-4 .9 2.7 1.4 6 1.4 9.8 0 3.8-.4 8.1-1.4 13-1.3-1.1-2.7-2.3-4.2-3.6-1.5-1.3-2.9-2.6-4.3-3.9-1.6-1.5-3.2-2.5-4.7-3-1.6-.5-3.4-.5-5.5 0-3.3.9-5 1.9-4.9 3.1 0 1.2 1.3 1.8 3.8 1.9.9.1 1.8.3 2.7.6.9.3 1.9.9 3.2 1.8 1.3.9 2.9 2.2 4.7 3.8 1.8 1.6 4.2 3.7 7 6.3-1.2 2.9-2.6 5.6-4.1 8-1.5 2.5-3.4 5-5.5 7.3-2.2 2.4-4.7 4.8-7.7 7.2-3 2.5-6.6 5.1-10.8 7.8-4.3 2.8-6.5 4.7-6.5 5.6.1 1.3 2.1.9 5.8-.7zM250.5 81.8v165.3l-111.6-36.4-128.4 42.7V76.1l29.9-10V10.4l81.2 28.7L231.3 2.6v73.1l19.2 6.1zM124.2 50.6l-101.9 34v152.2l101.9-33.9V50.6zm95.2 21.3V19l-81.3 27 81.3 25.9zm7.6 130L196.5 92 176 85.6l-30.9 90.8 18.9 5.9 5.8-18.7 31.9 10 5.7 22.3 19.6 6zm-52.2-54.2 22.2 6.9-10.9-42.9-11.3 36z"},null,-1),ie=[oe];function ne(e,t){return r(),d("svg",se,ie)}const le=J(te,[["render",ne]]);var ae=Object.defineProperty,re=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,j=(e,t,s)=>t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,w=(e,t)=>{for(var s in t||(t={}))de.call(t,s)&&j(e,s,t[s]);if(E)for(var s of E(t))pe.call(t,s)&&j(e,s,t[s]);return e},z=(e,t)=>re(e,ce(t));const he={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const s=this.getDropdownViewport(),{top:i,bottom:a,height:o}=t.getBoundingClientRect();if(is.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(s.height-o)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},ue={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e{const s=e.__vccOpts||e;for(const[i,a]of t)s[i]=a;return s},fe={},me={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},ye=l("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),be=[ye];function _e(e,t){return r(),d("svg",me,be)}const ve=A(fe,[["render",_e]]),we={},Oe={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},Se=l("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),$e=[Se];function Ve(e,t){return r(),d("svg",Oe,$e)}const xe=A(we,[["render",Ve]]),I={Deselect:ve,OpenIndicator:xe},Ce={mounted(e,{instance:t}){if(t.appendToBody){const{height:s,top:i,left:a,width:o}=t.$refs.toggle.getBoundingClientRect();let y=window.scrollX||window.pageXOffset,n=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:o+"px",left:y+a+"px",top:n+i+s+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function Le(e){const t={};return Object.keys(e).sort().forEach(s=>{t[s]=e[s]}),JSON.stringify(t)}let Be=0;function Ae(){return++Be}const ke={components:w({},I),directives:{appendToBody:Ce},mixins:[he,ue,ge],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}. -https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!="object")return e;try{return e.hasOwnProperty("id")?e.id:Le(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option. -https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,s){return(t||"").toLocaleLowerCase().indexOf(s.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(s=>{let i=this.getOptionLabel(s);return typeof i=="number"&&(i=i.toString()),this.filterBy(s,i,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:s,top:i,left:a}){e.style.top=i,e.style.left=a,e.style.width=s}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:s}){return e?!1:t&&!s}},uid:{type:[String,Number],default:()=>Ae()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:w({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:z(w({},e),{deselect:this.deselect}),footer:z(w({},e),{deselect:this.deselect})}},childComponents(){return w(w({},I),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const s=this.createOption(this.search);this.optionExists(s)||t.unshift(s)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const s=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&s()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const s=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||s.filter(Boolean).some(i=>i.contains(e.target)||i===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=i=>JSON.stringify(this.reduce(i))===JSON.stringify(e),s=[...this.options,...this.pushedTags].filter(t);return s.length===1?s[0]:s.find(i=>this.optionComparator(i,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=a=>(a.preventDefault(),!this.isComposing&&this.typeAheadSelect()),s={8:a=>this.maybeDeleteValue(),9:a=>this.onTab(),27:a=>this.onEscape(),38:a=>(a.preventDefault(),this.typeAheadUp()),40:a=>(a.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(a=>s[a]=t);const i=this.mapKeydown(s,this);if(typeof i[e.keyCode]=="function")return i[e.keyCode](e)}}},De=["dir"],Pe=["id","aria-expanded","aria-owns"],Te={ref:"selectedOptions",class:"vs__selected-options"},Fe=["disabled","title","aria-label","onClick"],Me={ref:"actions",class:"vs__actions"},Ee=["disabled"],je={class:"vs__spinner"},ze=["id"],Ie=["id","aria-selected","onMouseover","onClick"],Ke={key:0,class:"vs__no-options"},Ne=S(" Sorry, no matching options. "),Re=["id"];function qe(e,t,s,i,a,o){const y=Q("append-to-body");return r(),d("div",{dir:s.dir,class:M(["v-select",o.stateClasses])},[p(e.$slots,"header",h(g(o.scope.header))),l("div",{id:`vs${s.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${s.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=n=>o.toggleDropdown(n))},[l("div",Te,[(r(!0),d(L,null,P(o.selectedValue,(n,m)=>p(e.$slots,"selected-option-container",{option:o.normalizeOptionForSlot(n),deselect:o.deselect,multiple:s.multiple,disabled:s.disabled},()=>[(r(),d("span",{key:s.getOptionKey(n),class:"vs__selected"},[p(e.$slots,"selected-option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)]),s.multiple?(r(),d("button",{key:0,ref_for:!0,ref:_=>a.deselectButtons[m]=_,disabled:s.disabled,type:"button",class:"vs__deselect",title:`Deselect ${s.getOptionLabel(n)}`,"aria-label":`Deselect ${s.getOptionLabel(n)}`,onClick:_=>o.deselect(n)},[(r(),$(V(o.childComponents.Deselect)))],8,Fe)):x("",!0)]))])),256)),p(e.$slots,"search",h(g(o.scope.search)),()=>[l("input",B({class:"vs__search"},o.scope.search.attributes,K(o.scope.search.events)),null,16)])],512),l("div",Me,[C(l("button",{ref:"clearButton",disabled:s.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...n)=>o.clearSelection&&o.clearSelection(...n))},[(r(),$(V(o.childComponents.Deselect)))],8,Ee),[[T,o.showClearButton]]),p(e.$slots,"open-indicator",h(g(o.scope.openIndicator)),()=>[s.noDrop?x("",!0):(r(),$(V(o.childComponents.OpenIndicator),h(B({key:0},o.scope.openIndicator.attributes)),null,16))]),p(e.$slots,"spinner",h(g(o.scope.spinner)),()=>[C(l("div",je,"Loading...",512),[[T,e.mutableLoading]])])],512)],40,Pe),f(X,{name:s.transition},{default:b(()=>[o.dropdownOpen?C((r(),d("ul",{id:`vs${s.uid}__listbox`,ref:"dropdownMenu",key:`vs${s.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=F((...n)=>o.onMousedown&&o.onMousedown(...n),["prevent"])),onMouseup:t[3]||(t[3]=(...n)=>o.onMouseUp&&o.onMouseUp(...n))},[p(e.$slots,"list-header",h(g(o.scope.listHeader))),(r(!0),d(L,null,P(o.filteredOptions,(n,m)=>(r(),d("li",{id:`vs${s.uid}__option-${m}`,key:s.getOptionKey(n),role:"option",class:M(["vs__dropdown-option",{"vs__dropdown-option--deselect":o.isOptionDeselectable(n)&&m===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(n),"vs__dropdown-option--highlight":m===e.typeAheadPointer,"vs__dropdown-option--disabled":!s.selectable(n)}]),"aria-selected":m===e.typeAheadPointer?!0:null,onMouseover:_=>s.selectable(n)?e.typeAheadPointer=m:null,onClick:F(_=>s.selectable(n)?o.select(n):null,["prevent","stop"])},[p(e.$slots,"option",h(g(o.normalizeOptionForSlot(n))),()=>[S(O(s.getOptionLabel(n)),1)])],42,Ie))),128)),o.filteredOptions.length===0?(r(),d("li",Ke,[p(e.$slots,"no-options",h(g(o.scope.noOptions)),()=>[Ne])])):x("",!0),p(e.$slots,"list-footer",h(g(o.scope.listFooter)))],40,ze)),[[y]]):(r(),d("ul",{key:1,id:`vs${s.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Re))]),_:3},8,["name"]),p(e.$slots,"footer",h(g(o.scope.footer)))],10,De)}const Ue=A(ke,[["render",qe]]),He={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Je={class:"flex size-12 shrink-0 items-center justify-center"},Qe=l("div",{class:"w-full"},[l("h3",{class:"text-base font-semibold leading-6 text-gray-600"},"Add Languages"),l("p",{class:"mt-1 text-sm text-gray-500"},"Select the languages you want to add to your project.")],-1),Xe=l("input",{type:"text",class:"absolute m-0 h-0 p-0 opacity-0",autofocus:""},null,-1),Ye={class:"mt-0 w-full p-6"},Ze=["required","placeholder"],Ge={class:"group flex w-full items-center justify-between"},We={class:"flex flex-1 items-center gap-2"},et={class:"font-medium"},tt={class:"shrink-0 rounded-md border px-1 py-0.5 text-xs text-gray-400 group-hover:text-white"},st={class:"text-sm font-medium"},ot={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},ht=Y({__name:"add-translation",props:{languages:{}},setup(e){const{close:t}=W(),s=Z([]),i=G({languages:[]}),a=()=>{i.post(route("ltu.translation.store"),{preserveScroll:!0,onSuccess:()=>{t()}})};return(o,y)=>{const n=ee,m=le,_=H,k=U,D=q,N=R;return r(),d(L,null,[f(n,{title:"Add Languages"}),f(N,{size:"lg"},{default:b(()=>[l("div",He,[l("div",Je,[f(m,{class:"size-10 text-gray-500"})]),Qe,l("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:y[0]||(y[0]=(...c)=>u(t)&&u(t)(...c))},[f(_,{class:"size-5"})])]),Xe,l("div",Ye,[f(u(Ue),{modelValue:u(i).languages,"onUpdate:modelValue":y[1]||(y[1]=c=>u(i).languages=c),label:"name",class:"rounded-md bg-white",options:o.languages,reduce:c=>c.id,selectable:c=>!u(i).languages.includes(c.id),multiple:""},{search:b(({attributes:c,events:v})=>[l("input",B({class:"vs__search",required:!s.value},c,{placeholder:u(i).languages.length?"":"Search languages..."},K(v,!0)),null,16,Ze)]),option:b(({name:c,code:v})=>[l("div",Ge,[l("div",We,[f(k,{width:"w-6","country-code":v},null,8,["country-code"]),l("h3",et,O(c),1)]),l("small",tt,O(v),1)])]),"selected-option":b(({name:c,code:v})=>[f(k,{width:"w-5","country-code":v},null,8,["country-code"]),l("h3",st,O(c),1)]),_:1},8,["modelValue","options","reduce","selectable"])]),l("div",ot,[f(D,{variant:"secondary",type:"button",size:"lg",onClick:u(t)},{default:b(()=>[S(" Close ")]),_:1},8,["onClick"]),f(D,{variant:"primary",type:"button",size:"lg",disabled:!u(i).languages.length||u(i).processing,"is-loading":u(i).processing,onClick:a},{default:b(()=>[S(" Add Languages ")]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{ht as default}; diff --git a/resources/dist/vendor/translations-ui/assets/add-translation-e9b63e6c.js b/resources/dist/vendor/translations-ui/assets/add-translation-e9b63e6c.js new file mode 100644 index 0000000..41ccecb --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/add-translation-e9b63e6c.js @@ -0,0 +1 @@ +import{_ as C}from"./dialog.vue_vue_type_script_setup_true_lang-3254edea.js";import{_ as V}from"./base-button.vue_vue_type_script_setup_true_lang-193acd9e.js";import{_ as k}from"./flag.vue_vue_type_script_setup_true_lang-0db41313.js";import{_ as $}from"./icon-close-9c7a445c.js";import{_ as j}from"./_plugin-vue_export-helper-c27b6911.js";import{o as m,j as g,g as s,d as B,r as L,T as S,e as o,u as e,b as c,w as r,t as a,m as A,H,a as p,F as M,K as N,Z as T}from"./app-4a4d2073.js";import{C as q}from"./vue-select.es-33e1819f.js";import"./transition-6f9813b8.js";import"./dialog-cfb46eba.js";const D={},F={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 256 256",fill:"currentColor"},I=s("path",{d:"M62.4 101c-1.5-2.1-2.1-3.4-1.8-3.9.2-.5 1.6-.7 3.9-.5 2.3.2 4.2.5 5.8.9 1.5.4 2.8 1 3.8 1.7s1.8 1.5 2.3 2.6c.6 1 1 2.3 1.4 3.7.7 2.8.5 4.7-.5 5.7-1.1 1-2.6.8-4.6-.6-2.1-1.4-3.9-2.8-5.5-4.2-1.7-1.3-3.3-3.2-4.8-5.4zm-21.7 89.1c4.8-2.1 9-4.2 12.6-6.4 3.5-2.1 6.6-4.4 9.3-6.8 2.6-2.3 5-4.9 7-7.7 2-2.7 3.8-5.8 5.4-9.2 1.3 1.2 2.5 2.4 3.8 3.5 1.2 1.1 2.5 2.2 3.8 3.4 1.3 1.2 2.8 2.4 4.3 3.8s3.3 2.8 5.3 4.5c.7.5 1.4.9 2.1 1 .7.1 1.7 0 3.1-.6 1.3-.5 3-1.4 5.1-2.8 2.1-1.3 4.7-3.1 7.9-5.4 1.6-1.1 2.4-2 2.3-2.7-.1-.7-1-1-2.7-.9-3.1.1-5.9.1-8.3-.1-2.5-.2-5-.6-7.4-1.4-2.4-.8-4.9-1.9-7.5-3.4-2.6-1.5-5.6-3.6-9.1-6.2 1-3.9 1.8-8 2.4-12.4.3-2.5.6-4.3.8-5.6.2-1.2.5-2.4.9-3.3.3-.8.4-1.4.5-1.9.1-.5-.1-1-.4-1.6-.4-.5-1-1.1-1.9-1.7-.9-.6-2.2-1.4-3.9-2.3 2.4-.9 5.1-1.7 7.9-2.6 2.7-.9 5.7-1.8 8.8-2.7 3-.9 4.5-1.9 4.6-3.1.1-1.2-.9-2.3-3.2-3.5-1.5-.8-2.9-1.1-4.3-.9-1.4.2-3.2.9-5.4 2.2-.6.4-1.8.9-3.4 1.6-1.7.7-3.6 1.5-6 2.5s-5 2-7.8 3.1c-2.9 1.1-5.8 2.2-8.7 3.2-2.9 1.1-5.7 2-8.2 2.8-2.6.8-4.6 1.4-6.1 1.6-3.8.8-5.8 1.6-5.9 2.4 0 .8 1.5 1.6 4.4 2.4 1.2.3 2.3.6 3.1.6.8.1 1.7.1 2.5 0s1.6-.3 2.4-.5c.8-.3 1.7-.7 2.8-1.1 1.6-.8 3.9-1.7 6.9-2.8 2.9-1 6.6-2.4 11.2-4 .9 2.7 1.4 6 1.4 9.8 0 3.8-.4 8.1-1.4 13-1.3-1.1-2.7-2.3-4.2-3.6-1.5-1.3-2.9-2.6-4.3-3.9-1.6-1.5-3.2-2.5-4.7-3-1.6-.5-3.4-.5-5.5 0-3.3.9-5 1.9-4.9 3.1 0 1.2 1.3 1.8 3.8 1.9.9.1 1.8.3 2.7.6.9.3 1.9.9 3.2 1.8 1.3.9 2.9 2.2 4.7 3.8 1.8 1.6 4.2 3.7 7 6.3-1.2 2.9-2.6 5.6-4.1 8-1.5 2.5-3.4 5-5.5 7.3-2.2 2.4-4.7 4.8-7.7 7.2-3 2.5-6.6 5.1-10.8 7.8-4.3 2.8-6.5 4.7-6.5 5.6.1 1.3 2.1.9 5.8-.7zM250.5 81.8v165.3l-111.6-36.4-128.4 42.7V76.1l29.9-10V10.4l81.2 28.7L231.3 2.6v73.1l19.2 6.1zM124.2 50.6l-101.9 34v152.2l101.9-33.9V50.6zm95.2 21.3V19l-81.3 27 81.3 25.9zm7.6 130L196.5 92 176 85.6l-30.9 90.8 18.9 5.9 5.8-18.7 31.9 10 5.7 22.3 19.6 6zm-52.2-54.2 22.2 6.9-10.9-42.9-11.3 36z"},null,-1),E=[I];function K(f,i){return m(),g("svg",F,E)}const P=j(D,[["render",K]]),U={class:"flex items-start justify-between gap-4 border-b px-6 py-4"},Z={class:"flex size-12 shrink-0 items-center justify-center"},G={class:"w-full"},J={class:"text-base font-semibold leading-6 text-gray-600"},O={class:"mt-1 text-sm text-gray-500"},Q=s("input",{type:"text",class:"absolute m-0 h-0 p-0 opacity-0",autofocus:""},null,-1),R={class:"mt-0 w-full p-6"},W=["required","placeholder"],X={class:"group flex w-full items-center justify-between"},Y={class:"flex flex-1 items-center gap-2"},e1={class:"font-medium"},s1={class:"shrink-0 rounded-md border px-1 py-0.5 text-xs text-gray-400 group-hover:text-white"},t1={class:"text-sm font-medium"},o1={class:"grid grid-cols-1 gap-6 border-t px-6 py-4 md:grid-cols-2"},p1=B({__name:"add-translation",props:{languages:{}},setup(f){const{close:i}=N(),h=L([]),n=S({languages:[]}),x=()=>{n.post(route("ltu.translation.store"),{preserveScroll:!0,onSuccess:()=>{i()}})};return(y,d)=>{const v=T,w=P,b=$,_=k,u=V,z=C;return m(),g(M,null,[o(v,{title:e(c)("Add Languages")},null,8,["title"]),o(z,{size:"lg"},{default:r(()=>[s("div",U,[s("div",Z,[o(w,{class:"size-10 text-gray-500"})]),s("div",G,[s("h3",J,a(e(c)("Add Languages")),1),s("p",O,a(e(c)("Select the languages you want to add to your project.")),1)]),s("div",{class:"flex w-8 cursor-pointer items-center justify-center text-gray-400 hover:text-gray-600",onClick:d[0]||(d[0]=(...t)=>e(i)&&e(i)(...t))},[o(b,{class:"size-5"})])]),Q,s("div",R,[o(e(q),{modelValue:e(n).languages,"onUpdate:modelValue":d[1]||(d[1]=t=>e(n).languages=t),label:"name",class:"rounded-md bg-white",options:y.languages,reduce:t=>t.id,selectable:t=>!e(n).languages.includes(t.id),multiple:""},{search:r(({attributes:t,events:l})=>[s("input",A({class:"vs__search",required:!h.value},t,{placeholder:e(n).languages.length?"":e(c)("Search languages...")},H(l,!0)),null,16,W)]),option:r(({name:t,code:l})=>[s("div",X,[s("div",Y,[o(_,{width:"w-6","country-code":l},null,8,["country-code"]),s("h3",e1,a(t),1)]),s("small",s1,a(l),1)])]),"selected-option":r(({name:t,code:l})=>[o(_,{width:"w-5","country-code":l},null,8,["country-code"]),s("h3",t1,a(t),1)]),_:1},8,["modelValue","options","reduce","selectable"])]),s("div",o1,[o(u,{variant:"secondary",type:"button",size:"lg",onClick:e(i)},{default:r(()=>[p(a(e(c)("Close")),1)]),_:1},8,["onClick"]),o(u,{variant:"primary",type:"button",size:"lg",disabled:!e(n).languages.length||e(n).processing,"is-loading":e(n).processing,onClick:x},{default:r(()=>[p(a(e(c)("Add Languages")),1)]),_:1},8,["disabled","is-loading"])])]),_:1})],64)}}});export{p1 as default}; diff --git a/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js b/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-887d5df9.js similarity index 73% rename from resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js rename to resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-887d5df9.js index c55ed58..8ff5af7 100644 --- a/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-c1e88bc1.js +++ b/resources/dist/vendor/translations-ui/assets/alert.vue_vue_type_script_setup_true_lang-887d5df9.js @@ -1 +1 @@ -import{o as t,h as n,f as e,d as m,s as o,c as f,E as l,u as a,a3 as p,k as v}from"./app-8d2ddf0a.js";import{r as x}from"./ExclamationCircleIcon-2a26691d.js";import{r as g}from"./XCircleIcon-71639424.js";function h(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z","clip-rule":"evenodd"})])}function w(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z","clip-rule":"evenodd"})])}const _={class:"flex items-start gap-2"},b={class:"mt-0.5 shrink-0"},y={class:"flex-1 md:flex md:justify-between"},C={class:"text-sm"},M=m({__name:"alert",props:{variant:{default:"info"}},setup(s){const r=s,d=o(()=>({info:"bg-blue-50 border border-blue-500 text-blue-700",success:"bg-green-50 border border-green-500 text-green-700",warning:"bg-yellow-50 border border-yellow-500 text-yellow-700",error:"bg-red-50 border border-red-500 text-red-700"})[r.variant]),i=o(()=>({info:"text-blue-400",success:"text-green-400",warning:"text-yellow-400",error:"text-red-400"})[r.variant]),c=o(()=>({info:w,success:h,warning:x,error:g})[r.variant]);return(u,B)=>(t(),n("div",{class:l(["rounded-md px-2 py-2.5",[a(d)]])},[e("div",_,[e("div",b,[(t(),f(p(a(c)),{class:l(["size-4",a(i)]),"aria-hidden":"true"},null,8,["class"]))]),e("div",y,[e("p",C,[v(u.$slots,"default")])])])],2))}});export{M as _}; +import{o as t,j as n,g as e,d as m,v as o,c as p,G as l,u as a,a5 as f,l as v}from"./app-4a4d2073.js";import{r as x}from"./ExclamationCircleIcon-2d2033a0.js";import{r as g}from"./XCircleIcon-b3205d77.js";function w(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z","clip-rule":"evenodd"})])}function _(s,r){return t(),n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z","clip-rule":"evenodd"})])}const b={class:"flex items-start gap-2"},h={class:"mt-0.5 shrink-0"},y={class:"flex-1 md:flex md:justify-between"},C={class:"text-sm"},M=m({__name:"alert",props:{variant:{default:"info"}},setup(s){const r=s,d=o(()=>({info:"bg-blue-50 border border-blue-500 text-blue-700",success:"bg-green-50 border border-green-500 text-green-700",warning:"bg-yellow-50 border border-yellow-500 text-yellow-700",error:"bg-red-50 border border-red-500 text-red-700"})[r.variant]),i=o(()=>({info:"text-blue-400",success:"text-green-400",warning:"text-yellow-400",error:"text-red-400"})[r.variant]),c=o(()=>({info:_,success:w,warning:x,error:g})[r.variant]);return(u,B)=>(t(),n("div",{class:l(["rounded-md px-2 py-2.5",[a(d)]])},[e("div",b,[e("div",h,[(t(),p(f(a(c)),{class:l(["size-4",a(i)]),"aria-hidden":"true"},null,8,["class"]))]),e("div",y,[e("p",C,[v(u.$slots,"default")])])])],2))}});export{M as _}; diff --git a/resources/dist/vendor/translations-ui/assets/app-4a4d2073.js b/resources/dist/vendor/translations-ui/assets/app-4a4d2073.js new file mode 100644 index 0000000..46a9659 --- /dev/null +++ b/resources/dist/vendor/translations-ui/assets/app-4a4d2073.js @@ -0,0 +1,101 @@ +const Sg="modulepreload",Eg=function(e){return"/vendor/translations-ui/"+e},nu={},Z=function(t,r,n){if(!r||r.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(r.map(s=>{if(s=Eg(s),s in nu)return;nu[s]=!0;const o=s.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!n)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===s&&(!o||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Sg,o||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),o)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})};/** +* @vue/shared v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function ac(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const _e={},Hn=[],vt=()=>{},Tg=()=>!1,us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),lc=e=>e.startsWith("onUpdate:"),Ae=Object.assign,cc=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Ag=Object.prototype.hasOwnProperty,ge=(e,t)=>Ag.call(e,t),Q=Array.isArray,Vn=e=>fs(e)==="[object Map]",si=e=>fs(e)==="[object Set]",iu=e=>fs(e)==="[object Date]",ie=e=>typeof e=="function",Ee=e=>typeof e=="string",Tr=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",ud=e=>(we(e)||ie(e))&&ie(e.then)&&ie(e.catch),fd=Object.prototype.toString,fs=e=>fd.call(e),Og=e=>fs(e).slice(8,-1),dd=e=>fs(e)==="[object Object]",uc=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Un=ac(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jo=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},xg=/-(\w)/g,kt=jo(e=>e.replace(xg,(t,r)=>r?r.toUpperCase():"")),Cg=/\B([A-Z])/g,Qr=jo(e=>e.replace(Cg,"-$1").toLowerCase()),ko=jo(e=>e.charAt(0).toUpperCase()+e.slice(1)),no=jo(e=>e?`on${ko(e)}`:""),sr=(e,t)=>!Object.is(e,t),io=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},go=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$g=e=>{const t=Ee(e)?Number(e):NaN;return isNaN(t)?e:t};let su;const hd=()=>su||(su=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vr(e){if(Q(e)){const t={};for(let r=0;r{if(r){const n=r.split(Rg);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function De(e){let t="";if(Ee(e))t=e;else if(Q(e))for(let r=0;rTn(r,t))}const dc=e=>Ee(e)?e:e==null?"":Q(e)||we(e)&&(e.toString===fd||!ie(e.toString))?JSON.stringify(e,md,2):String(e),md=(e,t)=>t&&t.__v_isRef?md(e,t.value):Vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],s)=>(r[Wa(n,s)+" =>"]=i,r),{})}:si(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Wa(r))}:Tr(t)?Wa(t):we(t)&&!Q(t)&&!dd(t)?String(t):t,Wa=(e,t="")=>{var r;return Tr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** +* @vue/reactivity v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let pt;class Bg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pt,!t&&pt&&(this.index=(pt.scopes||(pt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=pt;try{return pt=this,t()}finally{pt=r}}}on(){pt=this}off(){pt=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Zr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ur,r=bn;try{return Ur=!0,bn=this,this._runnings++,ou(this),this.fn()}finally{au(this),this._runnings--,bn=r,Ur=t}}stop(){var t;this.active&&(ou(this),au(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Hg(e){return e.value}function ou(e){e._trackId++,e._depsLength=0}function au(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const r=new Map;return r.cleanup=e,r.computed=t,r},mo=new WeakMap,wn=Symbol(""),Cl=Symbol("");function ut(e,t,r){if(Ur&&bn){let n=mo.get(e);n||mo.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=_d(()=>n.delete(r))),bd(bn,i)}}function br(e,t,r,n,i,s){const o=mo.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(r==="length"&&Q(e)){const c=Number(n);o.forEach((u,f)=>{(f==="length"||!Tr(f)&&f>=c)&&a.push(u)})}else switch(r!==void 0&&a.push(o.get(r)),t){case"add":Q(e)?uc(r)&&a.push(o.get("length")):(a.push(o.get(wn)),Vn(e)&&a.push(o.get(Cl)));break;case"delete":Q(e)||(a.push(o.get(wn)),Vn(e)&&a.push(o.get(Cl)));break;case"set":Vn(e)&&a.push(o.get(wn));break}hc();for(const c of a)c&&wd(c,4);gc()}function Vg(e,t){var r;return(r=mo.get(e))==null?void 0:r.get(t)}const Ug=ac("__proto__,__v_isRef,__isVue"),Sd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tr)),lu=zg();function zg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=ue(this);for(let s=0,o=this.length;s{e[t]=function(...r){Yr(),hc();const n=ue(this)[t].apply(this,r);return gc(),Zr(),n}}),e}function Wg(e){Tr(e)||(e=String(e));const t=ue(this);return ut(t,"has",e),t.hasOwnProperty(e)}class Ed{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const i=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(i?s?im:xd:s?Od:Ad).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=Q(t);if(!i){if(o&&ge(lu,r))return Reflect.get(lu,r,n);if(r==="hasOwnProperty")return Wg}const a=Reflect.get(t,r,n);return(Tr(r)?Sd.has(r):Ug(r))||(i||ut(t,"get",r),s)?a:Qe(a)?o&&uc(r)?a:a.value:we(a)?i?Cd(a):wr(a):a}}class Td extends Ed{constructor(t=!1){super(!1,t)}set(t,r,n,i){let s=t[r];if(!this._isShallow){const c=qi(s);if(!yo(n)&&!qi(n)&&(s=ue(s),n=ue(n)),!Q(t)&&Qe(s)&&!Qe(n))return c?!1:(s.value=n,!0)}const o=Q(t)&&uc(r)?Number(r)e,Ho=e=>Reflect.getPrototypeOf(e);function Ms(e,t,r=!1,n=!1){e=e.__v_raw;const i=ue(e),s=ue(t);r||(sr(t,s)&&ut(i,"get",t),ut(i,"get",s));const{has:o}=Ho(i),a=n?mc:r?bc:Gi;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function Bs(e,t=!1){const r=this.__v_raw,n=ue(r),i=ue(e);return t||(sr(e,i)&&ut(n,"has",e),ut(n,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function js(e,t=!1){return e=e.__v_raw,!t&&ut(ue(e),"iterate",wn),Reflect.get(e,"size",e)}function cu(e){e=ue(e);const t=ue(this);return Ho(t).has.call(t,e)||(t.add(e),br(t,"add",e,e)),this}function uu(e,t){t=ue(t);const r=ue(this),{has:n,get:i}=Ho(r);let s=n.call(r,e);s||(e=ue(e),s=n.call(r,e));const o=i.call(r,e);return r.set(e,t),s?sr(t,o)&&br(r,"set",e,t):br(r,"add",e,t),this}function fu(e){const t=ue(this),{has:r,get:n}=Ho(t);let i=r.call(t,e);i||(e=ue(e),i=r.call(t,e)),n&&n.call(t,e);const s=t.delete(e);return i&&br(t,"delete",e,void 0),s}function du(){const e=ue(this),t=e.size!==0,r=e.clear();return t&&br(e,"clear",void 0,void 0),r}function ks(e,t){return function(n,i){const s=this,o=s.__v_raw,a=ue(o),c=t?mc:e?bc:Gi;return!e&&ut(a,"iterate",wn),o.forEach((u,f)=>n.call(i,c(u),c(f),s))}}function Hs(e,t,r){return function(...n){const i=this.__v_raw,s=ue(i),o=Vn(s),a=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=i[e](...n),f=r?mc:t?bc:Gi;return!t&&ut(s,"iterate",c?Cl:wn),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:a?[f(d[0]),f(d[1])]:f(d),done:h}},[Symbol.iterator](){return this}}}}function Pr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xg(){const e={get(s){return Ms(this,s)},get size(){return js(this)},has:Bs,add:cu,set:uu,delete:fu,clear:du,forEach:ks(!1,!1)},t={get(s){return Ms(this,s,!1,!0)},get size(){return js(this)},has:Bs,add:cu,set:uu,delete:fu,clear:du,forEach:ks(!1,!0)},r={get(s){return Ms(this,s,!0)},get size(){return js(this,!0)},has(s){return Bs.call(this,s,!0)},add:Pr("add"),set:Pr("set"),delete:Pr("delete"),clear:Pr("clear"),forEach:ks(!0,!1)},n={get(s){return Ms(this,s,!0,!0)},get size(){return js(this,!0)},has(s){return Bs.call(this,s,!0)},add:Pr("add"),set:Pr("set"),delete:Pr("delete"),clear:Pr("clear"),forEach:ks(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Hs(s,!1,!1),r[s]=Hs(s,!0,!1),t[s]=Hs(s,!1,!0),n[s]=Hs(s,!0,!0)}),[e,r,t,n]}const[Qg,Yg,Zg,em]=Xg();function yc(e,t){const r=t?e?em:Zg:e?Yg:Qg;return(n,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(ge(r,i)&&i in n?r:n,i,s)}const tm={get:yc(!1,!1)},rm={get:yc(!1,!0)},nm={get:yc(!0,!1)},Ad=new WeakMap,Od=new WeakMap,xd=new WeakMap,im=new WeakMap;function sm(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function om(e){return e.__v_skip||!Object.isExtensible(e)?0:sm(Og(e))}function wr(e){return qi(e)?e:vc(e,!1,qg,tm,Ad)}function am(e){return vc(e,!1,Jg,rm,Od)}function Cd(e){return vc(e,!0,Gg,nm,xd)}function vc(e,t,r,n,i){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=om(e);if(o===0)return e;const a=new Proxy(e,o===2?n:r);return i.set(e,a),a}function Pi(e){return qi(e)?Pi(e.__v_raw):!!(e&&e.__v_isReactive)}function qi(e){return!!(e&&e.__v_isReadonly)}function yo(e){return!!(e&&e.__v_isShallow)}function $d(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function $l(e){return Object.isExtensible(e)&&pd(e,"__v_skip",!0),e}const Gi=e=>we(e)?wr(e):e,bc=e=>we(e)?Cd(e):e;class Pd{constructor(t,r,n,i){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pc(()=>t(this._value),()=>Ri(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=ue(this);return(!t._cacheable||t.effect.dirty)&&sr(t._value,t._value=t.effect.run())&&Ri(t,4),wc(t),t.effect._dirtyLevel>=2&&Ri(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function lm(e,t,r=!1){let n,i;const s=ie(e);return s?(n=e,i=vt):(n=e.get,i=e.set),new Pd(n,i,s||!i,r)}function wc(e){var t;Ur&&bn&&(e=ue(e),bd(bn,(t=e.dep)!=null?t:e.dep=_d(()=>e.dep=void 0,e instanceof Pd?e:void 0)))}function Ri(e,t=4,r){e=ue(e);const n=e.dep;n&&wd(n,t)}function Qe(e){return!!(e&&e.__v_isRef===!0)}function Xe(e){return Id(e,!1)}function Rd(e){return Id(e,!0)}function Id(e,t){return Qe(e)?e:new cm(e,t)}class cm{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:ue(t),this._value=r?t:Gi(t)}get value(){return wc(this),this._value}set value(t){const r=this.__v_isShallow||yo(t)||qi(t);t=r?t:ue(t),sr(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Gi(t),Ri(this,4))}}function _c(e){return Qe(e)?e.value:e}const um={get:(e,t,r)=>_c(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return Qe(i)&&!Qe(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Ld(e){return Pi(e)?e:new Proxy(e,um)}class fm{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=t(()=>wc(this),()=>Ri(this));this._get=r,this._set=n}get value(){return this._get()}set value(t){this._set(t)}}function dm(e){return new fm(e)}function pm(e){const t=Q(e)?new Array(e.length):{};for(const r in e)t[r]=Nd(e,r);return t}class hm{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vg(ue(this._object),this._key)}}class gm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function qE(e,t,r){return Qe(e)?e:ie(e)?new gm(e):we(e)&&arguments.length>1?Nd(e,t,r):Xe(e)}function Nd(e,t,r){const n=e[t];return Qe(n)?n:new hm(e,t,r)}/** +* @vue/runtime-core v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function zr(e,t,r,n){try{return n?e(...n):e()}catch(i){ds(i,t,r)}}function Tt(e,t,r,n){if(ie(e)){const i=zr(e,t,r,n);return i&&ud(i)&&i.catch(s=>{ds(s,t,r)}),i}if(Q(e)){const i=[];for(let s=0;s>>1,i=Je[n],s=Xi(i);sQt&&Je.splice(t,1)}function bm(e){Q(e)?zn.push(...e):(!Mr||!Mr.includes(e,e.allowRecurse?dn+1:dn))&&zn.push(e),Fd()}function pu(e,t,r=Ji?Qt+1:0){for(;rXi(r)-Xi(n));if(zn.length=0,Mr){Mr.push(...t);return}for(Mr=t,dn=0;dne.id==null?1/0:e.id,wm=(e,t)=>{const r=Xi(e)-Xi(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Md(e){Pl=!1,Ji=!0,Je.sort(wm);const t=vt;try{for(Qt=0;QtEe(y)?y.trim():y)),d&&(i=r.map(go))}let a,c=n[a=no(t)]||n[a=no(kt(t))];!c&&s&&(c=n[a=no(Qr(t))]),c&&Tt(c,e,6,i);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Tt(u,e,6,i)}}function Bd(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!ie(e)){const c=u=>{const f=Bd(u,t,!0);f&&(a=!0,Ae(o,f))};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(we(e)&&n.set(e,null),null):(Q(s)?s.forEach(c=>o[c]=null):Ae(o,s),we(e)&&n.set(e,o),o)}function Uo(e,t){return!e||!us(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,Qr(t))||ge(e,t))}let Ie=null,zo=null;function bo(e){const t=Ie;return Ie=e,zo=e&&e.type.__scopeId||null,t}function Sm(e){zo=e}function Em(){zo=null}const Tm=e=>or;function or(e,t=Ie,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&Ou(-1);const s=bo(t);let o;try{o=e(...i)}finally{bo(s),n._d&&Ou(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ka(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:c,emit:u,render:f,renderCache:d,data:h,setupState:y,ctx:g,inheritAttrs:m}=e;let E,A;const C=bo(e);try{if(r.shapeFlag&4){const S=i||n,$=S;E=Lt(f.call($,S,d,s,y,h,g)),A=c}else{const S=t;E=Lt(S.length>1?S(s,{attrs:c,slots:a,emit:u}):S(s,null)),A=t.props?c:Am(c)}}catch(S){Fi.length=0,ds(S,e,1),E=Se(wt)}let w=E;if(A&&m!==!1){const S=Object.keys(A),{shapeFlag:$}=w;S.length&&$&7&&(o&&S.some(lc)&&(A=Om(A,o)),w=Gr(w,A))}return r.dirs&&(w=Gr(w),w.dirs=w.dirs?w.dirs.concat(r.dirs):r.dirs),r.transition&&(w.transition=r.transition),E=w,bo(C),E}const Am=e=>{let t;for(const r in e)(r==="class"||r==="style"||us(r))&&((t||(t={}))[r]=e[r]);return t},Om=(e,t)=>{const r={};for(const n in e)(!lc(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function xm(e,t,r){const{props:n,children:i,component:s}=e,{props:o,children:a,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return n?hu(n,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function kd(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):bm(e)}const Rm=Symbol.for("v-scx"),Im=()=>Kn(Rm);function Lm(e,t){return Wo(e,null,t)}function Nm(e,t){return Wo(e,null,{flush:"sync"})}const Vs={};function Wr(e,t,r){return Wo(e,t,r)}function Wo(e,t,{immediate:r,deep:n,flush:i,once:s,onTrack:o,onTrigger:a}=_e){if(t&&s){const T=t;t=(...R)=>{T(...R),$()}}const c=Fe,u=T=>n===!0?T:mn(T,n===!1?1:void 0);let f,d=!1,h=!1;if(Qe(e)?(f=()=>e.value,d=yo(e)):Pi(e)?(f=()=>u(e),d=!0):Q(e)?(h=!0,d=e.some(T=>Pi(T)||yo(T)),f=()=>e.map(T=>{if(Qe(T))return T.value;if(Pi(T))return u(T);if(ie(T))return zr(T,c,2)})):ie(e)?t?f=()=>zr(e,c,2):f=()=>(y&&y(),Tt(e,c,3,[g])):f=vt,t&&n){const T=f;f=()=>mn(T())}let y,g=T=>{y=w.onStop=()=>{zr(T,c,4),y=w.onStop=void 0}},m;if(ys)if(g=vt,t?r&&Tt(t,c,3,[f(),h?[]:void 0,g]):f(),i==="sync"){const T=Im();m=T.__watcherHandles||(T.__watcherHandles=[])}else return vt;let E=h?new Array(e.length).fill(Vs):Vs;const A=()=>{if(!(!w.active||!w.dirty))if(t){const T=w.run();(n||d||(h?T.some((R,P)=>sr(R,E[P])):sr(T,E)))&&(y&&y(),Tt(t,c,3,[T,E===Vs?void 0:h&&E[0]===Vs?[]:E,g]),E=T)}else w.run()};A.allowRecurse=!!t;let C;i==="sync"?C=A:i==="post"?C=()=>at(A,c&&c.suspense):(A.pre=!0,c&&(A.id=c.uid),C=()=>Vo(A));const w=new pc(f,vt,C),S=kg(),$=()=>{w.stop(),S&&cc(S.effects,w)};return t?r?A():E=w.run():i==="post"?at(w.run.bind(w),c&&c.suspense):w.run(),m&&m.push($),$}function Dm(e,t,r){const n=this.proxy,i=Ee(e)?e.includes(".")?Hd(n,e):()=>n[e]:e.bind(n,n);let s;ie(t)?s=t:(s=t.handler,r=t);const o=ms(this),a=Wo(i,s.bind(n),r);return o(),a}function Hd(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i0){if(r>=t)return e;r++}if(n=n||new Set,n.has(e))return e;if(n.add(e),Qe(e))mn(e.value,t,r,n);else if(Q(e))for(let i=0;i{mn(i,t,r,n)});else if(dd(e))for(const i in e)mn(e[i],t,r,n);return e}function Fm(e,t){if(Ie===null)return e;const r=Go(Ie)||Ie.proxy,n=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),Cc(()=>{e.isUnmounting=!0}),e}const _t=[Function,Array],Ud={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_t,onEnter:_t,onAfterEnter:_t,onEnterCancelled:_t,onBeforeLeave:_t,onLeave:_t,onAfterLeave:_t,onLeaveCancelled:_t,onBeforeAppear:_t,onAppear:_t,onAfterAppear:_t,onAppearCancelled:_t},Mm={name:"BaseTransition",props:Ud,setup(e,{slots:t}){const r=qo(),n=Vd();return()=>{const i=t.default&&Oc(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){for(const h of i)if(h.type!==wt){s=h;break}}const o=ue(e),{mode:a}=o;if(n.isLeaving)return qa(s);const c=mu(s);if(!c)return qa(s);const u=Qi(c,o,n,r);Yi(c,u);const f=r.subTree,d=f&&mu(f);if(d&&d.type!==wt&&!pn(c,d)){const h=Qi(d,o,n,r);if(Yi(d,h),a==="out-in")return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},qa(s);a==="in-out"&&c.type!==wt&&(h.delayLeave=(y,g,m)=>{const E=zd(n,d);E[String(d.key)]=d,y[Br]=()=>{g(),y[Br]=void 0,delete u.delayedLeave},u.delayedLeave=m})}return s}}},Bm=Mm;function zd(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Qi(e,t,r,n){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:m,onAppear:E,onAfterAppear:A,onAppearCancelled:C}=t,w=String(e.key),S=zd(r,e),$=(P,k)=>{P&&Tt(P,n,9,k)},T=(P,k)=>{const M=k[1];$(P,k),Q(P)?P.every(W=>W.length<=1)&&M():P.length<=1&&M()},R={mode:s,persisted:o,beforeEnter(P){let k=a;if(!r.isMounted)if(i)k=m||a;else return;P[Br]&&P[Br](!0);const M=S[w];M&&pn(e,M)&&M.el[Br]&&M.el[Br](),$(k,[P])},enter(P){let k=c,M=u,W=f;if(!r.isMounted)if(i)k=E||c,M=A||u,W=C||f;else return;let D=!1;const K=P[Us]=te=>{D||(D=!0,te?$(W,[P]):$(M,[P]),R.delayedLeave&&R.delayedLeave(),P[Us]=void 0)};k?T(k,[P,K]):K()},leave(P,k){const M=String(e.key);if(P[Us]&&P[Us](!0),r.isUnmounting)return k();$(d,[P]);let W=!1;const D=P[Br]=K=>{W||(W=!0,k(),K?$(g,[P]):$(y,[P]),P[Br]=void 0,S[M]===e&&delete S[M])};S[M]=e,h?T(h,[P,D]):D()},clone(P){return Qi(P,t,r,n)}};return R}function qa(e){if(hs(e))return e=Gr(e),e.children=null,e}function mu(e){return hs(e)?e.children?e.children[0]:void 0:e}function Yi(e,t){e.shapeFlag&6&&e.component?Yi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oc(e,t=!1,r){let n=[],i=0;for(let s=0;s1)for(let s=0;sAe({name:e.name},t,{setup:e}))():e}const Wn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function jm(e){ie(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,timeout:s,suspensible:o=!0,onError:a}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let y;return c||(y=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),a)return new Promise((m,E)=>{a(g,()=>m(d()),()=>E(g),f+1)});throw g}).then(g=>y!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return u},setup(){const y=Fe;if(u)return()=>Ga(u,y);const g=C=>{c=null,ds(C,y,13,!n)};if(o&&y.suspense||ys)return h().then(C=>()=>Ga(C,y)).catch(C=>(g(C),()=>n?Se(n,{error:C}):null));const m=Xe(!1),E=Xe(),A=Xe(!!i);return i&&setTimeout(()=>{A.value=!1},i),s!=null&&setTimeout(()=>{if(!m.value&&!E.value){const C=new Error(`Async component timed out after ${s}ms.`);g(C),E.value=C}},s),h().then(()=>{m.value=!0,y.parent&&hs(y.parent.vnode)&&(y.parent.effect.dirty=!0,Vo(y.parent.update))}).catch(C=>{g(C),E.value=C}),()=>{if(m.value&&u)return Ga(u,y);if(E.value&&n)return Se(n,{error:E.value});if(r&&!A.value)return Se(r)}}})}function Ga(e,t){const{ref:r,props:n,children:i,ce:s}=t.vnode,o=Se(e,n,i);return o.ref=r,o.ce=s,delete t.vnode.ce,o}const hs=e=>e.type.__isKeepAlive;function km(e,t){Wd(e,"a",t)}function Hm(e,t){Wd(e,"da",t)}function Wd(e,t,r=Fe){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ko(t,n,r),r){let i=r.parent;for(;i&&i.parent;)hs(i.parent.vnode)&&Vm(n,t,r,i),i=i.parent}}function Vm(e,t,r,n){const i=Ko(t,e,n,!0);Gd(()=>{cc(n[t],i)},r)}function Ko(e,t,r=Fe,n=!1){if(r){const i=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(r.isUnmounted)return;Yr();const a=ms(r),c=Tt(t,r,e,o);return a(),Zr(),c});return n?i.unshift(s):i.push(s),s}}const Ar=e=>(t,r=Fe)=>(!ys||e==="sp")&&Ko(e,(...n)=>t(...n),r),Kd=Ar("bm"),xc=Ar("m"),Um=Ar("bu"),qd=Ar("u"),Cc=Ar("bum"),Gd=Ar("um"),zm=Ar("sp"),Wm=Ar("rtg"),Km=Ar("rtc");function qm(e,t=Fe){Ko("ec",e,t)}function Rl(e,t,r,n){let i;const s=r&&r[n];if(Q(e)||Ee(e)){i=new Array(e.length);for(let o=0,a=e.length;ot(o,a,void 0,s&&s[a]));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,c=o.length;aEo(t)?!(t.type===wt||t.type===xe&&!Jd(t.children)):!0)?e:null}function Gm(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:no(n)]=e[n];return r}const Il=e=>e?dp(e)?Go(e)||e.proxy:Il(e.parent):null,Ii=Ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Il(e.parent),$root:e=>Il(e.root),$emit:e=>e.emit,$options:e=>$c(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Vo(e.update)}),$nextTick:e=>e.n||(e.n=ps.bind(e.proxy)),$watch:e=>Dm.bind(e)}),Ja=(e,t)=>e!==_e&&!e.__isScriptSetup&&ge(e,t),Jm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:i,props:s,accessCache:o,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return s[t]}else{if(Ja(n,t))return o[t]=1,n[t];if(i!==_e&&ge(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&ge(u,t))return o[t]=3,s[t];if(r!==_e&&ge(r,t))return o[t]=4,r[t];Ll&&(o[t]=0)}}const f=Ii[t];let d,h;if(f)return t==="$attrs"&&ut(e.attrs,"get",""),f(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(r!==_e&&ge(r,t))return o[t]=4,r[t];if(h=c.config.globalProperties,ge(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:s}=e;return Ja(i,t)?(i[t]=r,!0):n!==_e&&ge(n,t)?(n[t]=r,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:s}},o){let a;return!!r[o]||e!==_e&&ge(e,o)||Ja(t,o)||(a=s[0])&&ge(a,o)||ge(n,o)||ge(Ii,o)||ge(i.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ge(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function wo(e){return Q(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function JE(e,t){return!e||!t?e||t:Q(e)&&Q(t)?e.concat(t):Ae({},wo(e),wo(t))}let Ll=!0;function Xm(e){const t=$c(e),r=e.proxy,n=e.ctx;Ll=!1,t.beforeCreate&&yu(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:c,inject:u,created:f,beforeMount:d,mounted:h,beforeUpdate:y,updated:g,activated:m,deactivated:E,beforeDestroy:A,beforeUnmount:C,destroyed:w,unmounted:S,render:$,renderTracked:T,renderTriggered:R,errorCaptured:P,serverPrefetch:k,expose:M,inheritAttrs:W,components:D,directives:K,filters:te}=t;if(u&&Qm(u,n,null),o)for(const Y in o){const G=o[Y];ie(G)&&(n[Y]=G.bind(r))}if(i){const Y=i.call(r,r);we(Y)&&(e.data=wr(Y))}if(Ll=!0,s)for(const Y in s){const G=s[Y],ze=ie(G)?G.bind(r,r):ie(G.get)?G.get.bind(r,r):vt,oe=!ie(G)&&ie(G.set)?G.set.bind(r):vt,xt=lt({get:ze,set:oe});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>xt.value,set:rt=>xt.value=rt})}if(a)for(const Y in a)Xd(a[Y],n,r,Y);if(c){const Y=ie(c)?c.call(r):c;Reflect.ownKeys(Y).forEach(G=>{$i(G,Y[G])})}f&&yu(f,e,"c");function U(Y,G){Q(G)?G.forEach(ze=>Y(ze.bind(r))):G&&Y(G.bind(r))}if(U(Kd,d),U(xc,h),U(Um,y),U(qd,g),U(km,m),U(Hm,E),U(qm,P),U(Km,T),U(Wm,R),U(Cc,C),U(Gd,S),U(zm,k),Q(M))if(M.length){const Y=e.exposed||(e.exposed={});M.forEach(G=>{Object.defineProperty(Y,G,{get:()=>r[G],set:ze=>r[G]=ze})})}else e.exposed||(e.exposed={});$&&e.render===vt&&(e.render=$),W!=null&&(e.inheritAttrs=W),D&&(e.components=D),K&&(e.directives=K)}function Qm(e,t,r=vt){Q(e)&&(e=Nl(e));for(const n in e){const i=e[n];let s;we(i)?"default"in i?s=Kn(i.from||n,i.default,!0):s=Kn(i.from||n):s=Kn(i),Qe(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[n]=s}}function yu(e,t,r){Tt(Q(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function Xd(e,t,r,n){const i=n.includes(".")?Hd(r,n):()=>r[n];if(Ee(e)){const s=t[e];ie(s)&&Wr(i,s)}else if(ie(e))Wr(i,e.bind(r));else if(we(e))if(Q(e))e.forEach(s=>Xd(s,t,r,n));else{const s=ie(e.handler)?e.handler.bind(r):t[e.handler];ie(s)&&Wr(i,s,e)}}function $c(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let c;return a?c=a:!i.length&&!r&&!n?c=t:(c={},i.length&&i.forEach(u=>_o(c,u,o,!0)),_o(c,t,o)),we(t)&&s.set(t,c),c}function _o(e,t,r,n=!1){const{mixins:i,extends:s}=t;s&&_o(e,s,r,!0),i&&i.forEach(o=>_o(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const a=Ym[o]||r&&r[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Ym={data:vu,props:bu,emits:bu,methods:Ci,computed:Ci,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:Ci,directives:Ci,watch:ey,provide:vu,inject:Zm};function vu(e,t){return t?e?function(){return Ae(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function Zm(e,t){return Ci(Nl(e),Nl(t))}function Nl(e){if(Q(e)){const t={};for(let r=0;r1)return r&&ie(t)?t.call(n&&n.proxy):t}}const Yd=Object.create(null),Dl=()=>Object.create(Yd),Zd=e=>Object.getPrototypeOf(e)===Yd;function ny(e,t,r,n=!1){const i={},s=Dl();e.propsDefaults=Object.create(null),ep(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);r?e.props=n?i:am(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function iy(e,t,r,n){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=ue(i),[c]=e.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[h,y]=tp(d,t,!0);Ae(o,h),y&&a.push(...y)};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!c)return we(e)&&n.set(e,Hn),Hn;if(Q(s))for(let f=0;f-1,y[1]=m<0||g-1||ge(y,"default"))&&a.push(d)}}}const u=[o,a];return we(e)&&n.set(e,u),u}function wu(e){return e[0]!=="$"&&!Un(e)}function _u(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Su(e,t){return _u(e)===_u(t)}function Eu(e,t){return Q(t)?t.findIndex(r=>Su(r,e)):ie(t)&&Su(t,e)?0:-1}const rp=e=>e[0]==="_"||e==="$stable",Pc=e=>Q(e)?e.map(Lt):[Lt(e)],sy=(e,t,r)=>{if(t._n)return t;const n=or((...i)=>Pc(t(...i)),r);return n._c=!1,n},np=(e,t,r)=>{const n=e._ctx;for(const i in e){if(rp(i))continue;const s=e[i];if(ie(s))t[i]=sy(i,s,n);else if(s!=null){const o=Pc(s);t[i]=()=>o}}},ip=(e,t)=>{const r=Pc(t);e.slots.default=()=>r},oy=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=ue(t),pd(e.slots,"_",r)):np(t,e.slots=Dl())}else e.slots=Dl(),t&&ip(e,t)},ay=(e,t,r)=>{const{vnode:n,slots:i}=e;let s=!0,o=_e;if(n.shapeFlag&32){const a=t._;a?r&&a===1?s=!1:(Ae(i,t),!r&&a===1&&delete i._):(s=!t.$stable,np(t,i)),o=t}else t&&(ip(e,t),o={default:1});if(s)for(const a in i)!rp(a)&&o[a]==null&&delete i[a]};function So(e,t,r,n,i=!1){if(Q(e)){e.forEach((h,y)=>So(h,t&&(Q(t)?t[y]:t),r,n,i));return}if(Wn(n)&&!i)return;const s=n.shapeFlag&4?Go(n.component)||n.component.proxy:n.el,o=i?null:s,{i:a,r:c}=e,u=t&&t.r,f=a.refs===_e?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==c&&(Ee(u)?(f[u]=null,ge(d,u)&&(d[u]=null)):Qe(u)&&(u.value=null)),ie(c))zr(c,a,12,[o,f]);else{const h=Ee(c),y=Qe(c);if(h||y){const g=()=>{if(e.f){const m=h?ge(d,c)?d[c]:f[c]:c.value;i?Q(m)&&cc(m,s):Q(m)?m.includes(s)||m.push(s):h?(f[c]=[s],ge(d,c)&&(d[c]=f[c])):(c.value=[s],e.k&&(f[e.k]=c.value))}else h?(f[c]=o,ge(d,c)&&(d[c]=o)):y&&(c.value=o,e.k&&(f[e.k]=o))};o?(g.id=-1,at(g,r)):g()}}}let Rr=!1;const ly=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",cy=e=>e.namespaceURI.includes("MathML"),zs=e=>{if(ly(e))return"svg";if(cy(e))return"mathml"},Ws=e=>e.nodeType===8;function uy(e){const{mt:t,p:r,o:{patchProp:n,createText:i,nextSibling:s,parentNode:o,remove:a,insert:c,createComment:u}}=e,f=(w,S)=>{if(!S.hasChildNodes()){r(null,w,S),vo(),S._vnode=w;return}Rr=!1,d(S.firstChild,w,null,null,null),vo(),S._vnode=w,Rr&&console.error("Hydration completed but contains mismatches.")},d=(w,S,$,T,R,P=!1)=>{P=P||!!S.dynamicChildren;const k=Ws(w)&&w.data==="[",M=()=>m(w,S,$,T,R,k),{type:W,ref:D,shapeFlag:K,patchFlag:te}=S;let se=w.nodeType;S.el=w,te===-2&&(P=!1,S.dynamicChildren=null);let U=null;switch(W){case Jn:se!==3?S.children===""?(c(S.el=i(""),o(w),w),U=w):U=M():(w.data!==S.children&&(Rr=!0,w.data=S.children),U=s(w));break;case wt:C(w)?(U=s(w),A(S.el=w.content.firstChild,w,$)):se!==8||k?U=M():U=s(w);break;case Di:if(k&&(w=s(w),se=w.nodeType),se===1||se===3){U=w;const Y=!S.children.length;for(let G=0;G{P=P||!!S.dynamicChildren;const{type:k,props:M,patchFlag:W,shapeFlag:D,dirs:K,transition:te}=S,se=k==="input"||k==="option";if(se||W!==-1){K&&Gt(S,null,$,"created");let U=!1;if(C(w)){U=op(T,te)&&$&&$.vnode.props&&$.vnode.props.appear;const G=w.content.firstChild;U&&te.beforeEnter(G),A(G,w,$),S.el=w=G}if(D&16&&!(M&&(M.innerHTML||M.textContent))){let G=y(w.firstChild,S,w,$,T,R,P);for(;G;){Rr=!0;const ze=G;G=G.nextSibling,a(ze)}}else D&8&&w.textContent!==S.children&&(Rr=!0,w.textContent=S.children);if(M)if(se||!P||W&48)for(const G in M)(se&&(G.endsWith("value")||G==="indeterminate")||us(G)&&!Un(G)||G[0]===".")&&n(w,G,null,M[G],void 0,void 0,$);else M.onClick&&n(w,"onClick",null,M.onClick,void 0,void 0,$);let Y;(Y=M&&M.onVnodeBeforeMount)&&St(Y,$,S),K&&Gt(S,null,$,"beforeMount"),((Y=M&&M.onVnodeMounted)||K||U)&&kd(()=>{Y&&St(Y,$,S),U&&te.enter(w),K&&Gt(S,null,$,"mounted")},T)}return w.nextSibling},y=(w,S,$,T,R,P,k)=>{k=k||!!S.dynamicChildren;const M=S.children,W=M.length;for(let D=0;D{const{slotScopeIds:k}=S;k&&(R=R?R.concat(k):k);const M=o(w),W=y(s(w),S,M,$,T,R,P);return W&&Ws(W)&&W.data==="]"?s(S.anchor=W):(Rr=!0,c(S.anchor=u("]"),M,W),W)},m=(w,S,$,T,R,P)=>{if(Rr=!0,S.el=null,P){const W=E(w);for(;;){const D=s(w);if(D&&D!==W)a(D);else break}}const k=s(w),M=o(w);return a(w),r(null,S,M,k,$,T,zs(M),R),k},E=(w,S="[",$="]")=>{let T=0;for(;w;)if(w=s(w),w&&Ws(w)&&(w.data===S&&T++,w.data===$)){if(T===0)return s(w);T--}return w},A=(w,S,$)=>{const T=S.parentNode;T&&T.replaceChild(w,S);let R=$;for(;R;)R.vnode.el===S&&(R.vnode.el=R.subTree.el=w),R=R.parent},C=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[f,d]}const at=kd;function fy(e){return sp(e)}function dy(e){return sp(e,uy)}function sp(e,t){const r=hd();r.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:o,createText:a,createComment:c,setText:u,setElementText:f,parentNode:d,nextSibling:h,setScopeId:y=vt,insertStaticContent:g}=e,m=(v,_,x,L=null,N=null,j=null,V=void 0,B=null,H=!!_.dynamicChildren)=>{if(v===_)return;v&&!pn(v,_)&&(L=xr(v),rt(v,N,j,!0),v=null),_.patchFlag===-2&&(H=!1,_.dynamicChildren=null);const{type:F,ref:z,shapeFlag:q}=_;switch(F){case Jn:E(v,_,x,L);break;case wt:A(v,_,x,L);break;case Di:v==null&&C(_,x,L,V);break;case xe:D(v,_,x,L,N,j,V,B,H);break;default:q&1?$(v,_,x,L,N,j,V,B,H):q&6?K(v,_,x,L,N,j,V,B,H):(q&64||q&128)&&F.process(v,_,x,L,N,j,V,B,H,Ct)}z!=null&&N&&So(z,v&&v.ref,j,_||v,!_)},E=(v,_,x,L)=>{if(v==null)n(_.el=a(_.children),x,L);else{const N=_.el=v.el;_.children!==v.children&&u(N,_.children)}},A=(v,_,x,L)=>{v==null?n(_.el=c(_.children||""),x,L):_.el=v.el},C=(v,_,x,L)=>{[v.el,v.anchor]=g(v.children,_,x,L,v.el,v.anchor)},w=({el:v,anchor:_},x,L)=>{let N;for(;v&&v!==_;)N=h(v),n(v,x,L),v=N;n(_,x,L)},S=({el:v,anchor:_})=>{let x;for(;v&&v!==_;)x=h(v),i(v),v=x;i(_)},$=(v,_,x,L,N,j,V,B,H)=>{_.type==="svg"?V="svg":_.type==="math"&&(V="mathml"),v==null?T(_,x,L,N,j,V,B,H):k(v,_,N,j,V,B,H)},T=(v,_,x,L,N,j,V,B)=>{let H,F;const{props:z,shapeFlag:q,transition:J,dirs:ee}=v;if(H=v.el=o(v.type,j,z&&z.is,z),q&8?f(H,v.children):q&16&&P(v.children,H,null,L,N,Xa(v,j),V,B),ee&&Gt(v,null,L,"created"),R(H,v,v.scopeId,V,L),z){for(const le in z)le!=="value"&&!Un(le)&&s(H,le,null,z[le],j,v.children,L,N,it);"value"in z&&s(H,"value",null,z.value,j),(F=z.onVnodeBeforeMount)&&St(F,L,v)}ee&&Gt(v,null,L,"beforeMount");const re=op(N,J);re&&J.beforeEnter(H),n(H,_,x),((F=z&&z.onVnodeMounted)||re||ee)&&at(()=>{F&&St(F,L,v),re&&J.enter(H),ee&&Gt(v,null,L,"mounted")},N)},R=(v,_,x,L,N)=>{if(x&&y(v,x),L)for(let j=0;j{for(let F=H;F{const B=_.el=v.el;let{patchFlag:H,dynamicChildren:F,dirs:z}=_;H|=v.patchFlag&16;const q=v.props||_e,J=_.props||_e;let ee;if(x&&ln(x,!1),(ee=J.onVnodeBeforeUpdate)&&St(ee,x,_,v),z&&Gt(_,v,x,"beforeUpdate"),x&&ln(x,!0),F?M(v.dynamicChildren,F,B,x,L,Xa(_,N),j):V||G(v,_,B,null,x,L,Xa(_,N),j,!1),H>0){if(H&16)W(B,_,q,J,x,L,N);else if(H&2&&q.class!==J.class&&s(B,"class",null,J.class,N),H&4&&s(B,"style",q.style,J.style,N),H&8){const re=_.dynamicProps;for(let le=0;le{ee&&St(ee,x,_,v),z&&Gt(_,v,x,"updated")},L)},M=(v,_,x,L,N,j,V)=>{for(let B=0;B<_.length;B++){const H=v[B],F=_[B],z=H.el&&(H.type===xe||!pn(H,F)||H.shapeFlag&70)?d(H.el):x;m(H,F,z,null,L,N,j,V,!0)}},W=(v,_,x,L,N,j,V)=>{if(x!==L){if(x!==_e)for(const B in x)!Un(B)&&!(B in L)&&s(v,B,x[B],null,V,_.children,N,j,it);for(const B in L){if(Un(B))continue;const H=L[B],F=x[B];H!==F&&B!=="value"&&s(v,B,F,H,V,_.children,N,j,it)}"value"in L&&s(v,"value",x.value,L.value,V)}},D=(v,_,x,L,N,j,V,B,H)=>{const F=_.el=v?v.el:a(""),z=_.anchor=v?v.anchor:a("");let{patchFlag:q,dynamicChildren:J,slotScopeIds:ee}=_;ee&&(B=B?B.concat(ee):ee),v==null?(n(F,x,L),n(z,x,L),P(_.children||[],x,z,N,j,V,B,H)):q>0&&q&64&&J&&v.dynamicChildren?(M(v.dynamicChildren,J,x,N,j,V,B),(_.key!=null||N&&_===N.subTree)&&Rc(v,_,!0)):G(v,_,x,z,N,j,V,B,H)},K=(v,_,x,L,N,j,V,B,H)=>{_.slotScopeIds=B,v==null?_.shapeFlag&512?N.ctx.activate(_,x,L,V,H):te(_,x,L,N,j,V,H):se(v,_,H)},te=(v,_,x,L,N,j,V)=>{const B=v.component=_y(v,L,N);if(hs(v)&&(B.ctx.renderer=Ct),Sy(B),B.asyncDep){if(N&&N.registerDep(B,U),!v.el){const H=B.subTree=Se(wt);A(null,H,_,x)}}else U(B,v,_,x,N,j,V)},se=(v,_,x)=>{const L=_.component=v.component;if(xm(v,_,x))if(L.asyncDep&&!L.asyncResolved){Y(L,_,x);return}else L.next=_,vm(L.update),L.effect.dirty=!0,L.update();else _.el=v.el,L.vnode=_},U=(v,_,x,L,N,j,V)=>{const B=()=>{if(v.isMounted){let{next:z,bu:q,u:J,parent:ee,vnode:re}=v;{const $t=ap(v);if($t){z&&(z.el=re.el,Y(v,z,V)),$t.asyncDep.then(()=>{v.isUnmounted||B()});return}}let le=z,ve;ln(v,!1),z?(z.el=re.el,Y(v,z,V)):z=re,q&&io(q),(ve=z.props&&z.props.onVnodeBeforeUpdate)&&St(ve,ee,z,re),ln(v,!0);const me=Ka(v),We=v.subTree;v.subTree=me,m(We,me,d(We.el),xr(We),v,N,j),z.el=me.el,le===null&&Cm(v,me.el),J&&at(J,N),(ve=z.props&&z.props.onVnodeUpdated)&&at(()=>St(ve,ee,z,re),N)}else{let z;const{el:q,props:J}=_,{bm:ee,m:re,parent:le}=v,ve=Wn(_);if(ln(v,!1),ee&&io(ee),!ve&&(z=J&&J.onVnodeBeforeMount)&&St(z,le,_),ln(v,!0),q&&ur){const me=()=>{v.subTree=Ka(v),ur(q,v.subTree,v,N,null)};ve?_.type.__asyncLoader().then(()=>!v.isUnmounted&&me()):me()}else{const me=v.subTree=Ka(v);m(null,me,x,L,v,N,j),_.el=me.el}if(re&&at(re,N),!ve&&(z=J&&J.onVnodeMounted)){const me=_;at(()=>St(z,le,me),N)}(_.shapeFlag&256||le&&Wn(le.vnode)&&le.vnode.shapeFlag&256)&&v.a&&at(v.a,N),v.isMounted=!0,_=x=L=null}},H=v.effect=new pc(B,vt,()=>Vo(F),v.scope),F=v.update=()=>{H.dirty&&H.run()};F.id=v.uid,ln(v,!0),F()},Y=(v,_,x)=>{_.component=v;const L=v.vnode.props;v.vnode=_,v.next=null,iy(v,_.props,L,x),ay(v,_.children,x),Yr(),pu(v),Zr()},G=(v,_,x,L,N,j,V,B,H=!1)=>{const F=v&&v.children,z=v?v.shapeFlag:0,q=_.children,{patchFlag:J,shapeFlag:ee}=_;if(J>0){if(J&128){oe(F,q,x,L,N,j,V,B,H);return}else if(J&256){ze(F,q,x,L,N,j,V,B,H);return}}ee&8?(z&16&&it(F,N,j),q!==F&&f(x,q)):z&16?ee&16?oe(F,q,x,L,N,j,V,B,H):it(F,N,j,!0):(z&8&&f(x,""),ee&16&&P(q,x,L,N,j,V,B,H))},ze=(v,_,x,L,N,j,V,B,H)=>{v=v||Hn,_=_||Hn;const F=v.length,z=_.length,q=Math.min(F,z);let J;for(J=0;Jz?it(v,N,j,!0,!1,q):P(_,x,L,N,j,V,B,H,q)},oe=(v,_,x,L,N,j,V,B,H)=>{let F=0;const z=_.length;let q=v.length-1,J=z-1;for(;F<=q&&F<=J;){const ee=v[F],re=_[F]=H?jr(_[F]):Lt(_[F]);if(pn(ee,re))m(ee,re,x,null,N,j,V,B,H);else break;F++}for(;F<=q&&F<=J;){const ee=v[q],re=_[J]=H?jr(_[J]):Lt(_[J]);if(pn(ee,re))m(ee,re,x,null,N,j,V,B,H);else break;q--,J--}if(F>q){if(F<=J){const ee=J+1,re=eeJ)for(;F<=q;)rt(v[F],N,j,!0),F++;else{const ee=F,re=F,le=new Map;for(F=re;F<=J;F++){const Le=_[F]=H?jr(_[F]):Lt(_[F]);Le.key!=null&&le.set(Le.key,F)}let ve,me=0;const We=J-re+1;let $t=!1,Cn=0;const Pt=new Array(We);for(F=0;F=We){rt(Le,N,j,!0);continue}let Be;if(Le.key!=null)Be=le.get(Le.key);else for(ve=re;ve<=J;ve++)if(Pt[ve-re]===0&&pn(Le,_[ve])){Be=ve;break}Be===void 0?rt(Le,N,j,!0):(Pt[Be-re]=F+1,Be>=Cn?Cn=Be:$t=!0,m(Le,_[Be],x,null,N,j,V,B,H),me++)}const fr=$t?py(Pt):Hn;for(ve=fr.length-1,F=We-1;F>=0;F--){const Le=re+F,Be=_[Le],Ht=Le+1{const{el:j,type:V,transition:B,children:H,shapeFlag:F}=v;if(F&6){xt(v.component.subTree,_,x,L);return}if(F&128){v.suspense.move(_,x,L);return}if(F&64){V.move(v,_,x,Ct);return}if(V===xe){n(j,_,x);for(let q=0;qB.enter(j),N);else{const{leave:q,delayLeave:J,afterLeave:ee}=B,re=()=>n(j,_,x),le=()=>{q(j,()=>{re(),ee&&ee()})};J?J(j,re,le):le()}else n(j,_,x)},rt=(v,_,x,L=!1,N=!1)=>{const{type:j,props:V,ref:B,children:H,dynamicChildren:F,shapeFlag:z,patchFlag:q,dirs:J}=v;if(B!=null&&So(B,null,x,v,!0),z&256){_.ctx.deactivate(v);return}const ee=z&1&&J,re=!Wn(v);let le;if(re&&(le=V&&V.onVnodeBeforeUnmount)&&St(le,_,v),z&6)ye(v.component,x,L);else{if(z&128){v.suspense.unmount(x,L);return}ee&&Gt(v,null,_,"beforeUnmount"),z&64?v.type.remove(v,_,x,N,Ct,L):F&&(j!==xe||q>0&&q&64)?it(F,_,x,!1,!0):(j===xe&&q&384||!N&&z&16)&&it(H,_,x),L&&nt(v)}(re&&(le=V&&V.onVnodeUnmounted)||ee)&&at(()=>{le&&St(le,_,v),ee&&Gt(v,null,_,"unmounted")},x)},nt=v=>{const{type:_,el:x,anchor:L,transition:N}=v;if(_===xe){xn(x,L);return}if(_===Di){S(v);return}const j=()=>{i(x),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(v.shapeFlag&1&&N&&!N.persisted){const{leave:V,delayLeave:B}=N,H=()=>V(x,j);B?B(v.el,j,H):H()}else j()},xn=(v,_)=>{let x;for(;v!==_;)x=h(v),i(v),v=x;i(_)},ye=(v,_,x)=>{const{bum:L,scope:N,update:j,subTree:V,um:B}=v;L&&io(L),N.stop(),j&&(j.active=!1,rt(V,v,_,x)),B&&at(B,_),at(()=>{v.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},it=(v,_,x,L=!1,N=!1,j=0)=>{for(let V=j;Vv.shapeFlag&6?xr(v.component.subTree):v.shapeFlag&128?v.suspense.next():h(v.anchor||v.el);let Ze=!1;const tn=(v,_,x)=>{v==null?_._vnode&&rt(_._vnode,null,null,!0):m(_._vnode||null,v,_,null,null,null,x),Ze||(Ze=!0,pu(),vo(),Ze=!1),_._vnode=v},Ct={p:m,um:rt,m:xt,r:nt,mt:te,mc:P,pc:G,pbc:M,n:xr,o:e};let cr,ur;return t&&([cr,ur]=t(Ct)),{render:tn,hydrate:cr,createApp:ry(tn,cr)}}function Xa({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function ln({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function op(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Rc(e,t,r=!1){const n=e.children,i=t.children;if(Q(n)&&Q(i))for(let s=0;s>1,e[r[a]]0&&(t[n]=r[s-1]),r[s]=n)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=t[o];return r}function ap(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ap(t)}const hy=e=>e.__isTeleport,Ni=e=>e&&(e.disabled||e.disabled===""),Tu=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Au=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ml=(e,t)=>{const r=e&&e.to;return Ee(r)?t?t(r):null:r},gy={name:"Teleport",__isTeleport:!0,process(e,t,r,n,i,s,o,a,c,u){const{mc:f,pc:d,pbc:h,o:{insert:y,querySelector:g,createText:m,createComment:E}}=u,A=Ni(t.props);let{shapeFlag:C,children:w,dynamicChildren:S}=t;if(e==null){const $=t.el=m(""),T=t.anchor=m("");y($,r,n),y(T,r,n);const R=t.target=Ml(t.props,g),P=t.targetAnchor=m("");R&&(y(P,R),o==="svg"||Tu(R)?o="svg":(o==="mathml"||Au(R))&&(o="mathml"));const k=(M,W)=>{C&16&&f(w,M,W,i,s,o,a,c)};A?k(r,T):R&&k(R,P)}else{t.el=e.el;const $=t.anchor=e.anchor,T=t.target=e.target,R=t.targetAnchor=e.targetAnchor,P=Ni(e.props),k=P?r:T,M=P?$:R;if(o==="svg"||Tu(T)?o="svg":(o==="mathml"||Au(T))&&(o="mathml"),S?(h(e.dynamicChildren,S,k,i,s,o,a),Rc(e,t,!0)):c||d(e,t,k,M,i,s,o,a,!1),A)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ks(t,r,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Ml(t.props,g);W&&Ks(t,W,null,u,0)}else P&&Ks(t,T,R,u,1)}lp(t)},remove(e,t,r,n,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:c,anchor:u,targetAnchor:f,target:d,props:h}=e;if(d&&s(f),o&&s(u),a&16){const y=o||!Ni(h);for(let g=0;g0?Mt||Hn:null,yy(),Zi>0&&Mt&&Mt.push(e),e}function Ce(e,t,r,n,i,s){return cp(Ue(e,t,r,n,i,s,!0))}function ct(e,t,r,n,i){return cp(Se(e,t,r,n,i,!0))}function Eo(e){return e?e.__v_isVNode===!0:!1}function pn(e,t){return e.type===t.type&&e.key===t.key}const up=({key:e})=>e??null,so=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Qe(e)||ie(e)?{i:Ie,r:e,k:t,f:!!r}:e:null);function Ue(e,t=null,r=null,n=0,i=null,s=e===xe?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&up(t),ref:t&&so(t),scopeId:zo,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ie};return a?(Ic(c,r),s&128&&e.normalize(c)):r&&(c.shapeFlag|=Ee(r)?8:16),Zi>0&&!o&&Mt&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Mt.push(c),c}const Se=vy;function vy(e,t=null,r=null,n=0,i=null,s=!1){if((!e||e===jd)&&(e=wt),Eo(e)){const a=Gr(e,t,!0);return r&&Ic(a,r),Zi>0&&!s&&Mt&&(a.shapeFlag&6?Mt[Mt.indexOf(e)]=a:Mt.push(a)),a.patchFlag|=-2,a}if(xy(e)&&(e=e.__vccOpts),t){t=fp(t);let{class:a,style:c}=t;a&&!Ee(a)&&(t.class=De(a)),we(c)&&($d(c)&&!Q(c)&&(c=Ae({},c)),t.style=vr(c))}const o=Ee(e)?1:Pm(e)?128:hy(e)?64:we(e)?4:ie(e)?2:0;return Ue(e,t,r,n,i,o,s,!0)}function fp(e){return e?$d(e)||Zd(e)?Ae({},e):e:null}function Gr(e,t,r=!1){const{props:n,ref:i,patchFlag:s,children:o}=e,a=t?oi(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&up(a),ref:t&&t.ref?r&&i?Q(i)?i.concat(so(t)):[i,so(t)]:so(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gr(e.ssContent),ssFallback:e.ssFallback&&Gr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function gs(e=" ",t=0){return Se(Jn,null,e,t)}function QE(e,t){const r=Se(Di,null,e);return r.staticCount=t,r}function Mi(e="",t=!1){return t?(pe(),ct(wt,null,e)):Se(wt,null,e)}function Lt(e){return e==null||typeof e=="boolean"?Se(wt):Q(e)?Se(xe,null,e.slice()):typeof e=="object"?jr(e):Se(Jn,null,String(e))}function jr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gr(e)}function Ic(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(Q(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ic(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!Zd(t)?t._ctx=Ie:i===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:Ie},r=32):(t=String(t),n&64?(r=16,t=[gs(t)]):r=8);e.children=t,e.shapeFlag|=r}function oi(...e){const t={};for(let r=0;rFe||Ie;let To,Bl;{const e=hd(),t=(r,n)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(n),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};To=t("__VUE_INSTANCE_SETTERS__",r=>Fe=r),Bl=t("__VUE_SSR_SETTERS__",r=>ys=r)}const ms=e=>{const t=Fe;return To(e),e.scope.on(),()=>{e.scope.off(),To(t)}},xu=()=>{Fe&&Fe.scope.off(),To(null)};function dp(e){return e.vnode.shapeFlag&4}let ys=!1;function Sy(e,t=!1){t&&Bl(t);const{props:r,children:n}=e.vnode,i=dp(e);ny(e,r,i,t),oy(e,n);const s=i?Ey(e,t):void 0;return t&&Bl(!1),s}function Ey(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jm);const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?Ay(e):null,s=ms(e);Yr();const o=zr(n,e,0,[e.props,i]);if(Zr(),s(),ud(o)){if(o.then(xu,xu),t)return o.then(a=>{Cu(e,a,t)}).catch(a=>{ds(a,e,0)});e.asyncDep=o}else Cu(e,o,t)}else pp(e,t)}function Cu(e,t,r){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Ld(t)),pp(e,r)}let $u;function pp(e,t,r){const n=e.type;if(!e.render){if(!t&&$u&&!n.render){const i=n.template||$c(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:c}=n,u=Ae(Ae({isCustomElement:s,delimiters:a},o),c);n.render=$u(i,u)}}e.render=n.render||vt}{const i=ms(e);Yr();try{Xm(e)}finally{Zr(),i()}}}const Ty={get(e,t){return ut(e,"get",""),e[t]}};function Ay(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Ty),slots:e.slots,emit:e.emit,expose:t}}function Go(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ld($l(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ii)return Ii[r](e)},has(t,r){return r in t||r in Ii}}))}function Oy(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function xy(e){return ie(e)&&"__vccOpts"in e}const lt=(e,t)=>lm(e,t,ys);function YE(e,t,r=_e){const n=qo(),i=kt(t),s=Qr(t),o=dm((c,u)=>{let f;return Nm(()=>{const d=e[t];sr(f,d)&&(f=d,u())}),{get(){return c(),r.get?r.get(f):f},set(d){const h=n.vnode.props;!(h&&(t in h||i in h||s in h)&&(`onUpdate:${t}`in h||`onUpdate:${i}`in h||`onUpdate:${s}`in h))&&sr(d,f)&&(f=d,u()),n.emit(`update:${t}`,r.set?r.set(d):d)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return o[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?e[a]||{}:o,done:!1}:{done:!0}}}},o}function _r(e,t,r){const n=arguments.length;return n===2?we(t)&&!Q(t)?Eo(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Eo(r)&&(r=[r]),Se(e,t,r))}const Cy="3.4.23";/** +* @vue/runtime-dom v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const $y="http://www.w3.org/2000/svg",Py="http://www.w3.org/1998/Math/MathML",kr=typeof document<"u"?document:null,Pu=kr&&kr.createElement("template"),Ry={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?kr.createElementNS($y,e):t==="mathml"?kr.createElementNS(Py,e):kr.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>kr.createTextNode(e),createComment:e=>kr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,s){const o=r?r.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===s||!(i=i.nextSibling)););else{Pu.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const a=Pu.content;if(n==="svg"||n==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Ir="transition",Si="animation",Xn=Symbol("_vtc"),hp=(e,{slots:t})=>_r(Bm,mp(e),t);hp.displayName="Transition";const gp={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},Iy=hp.props=Ae({},Ud,gp),cn=(e,t=[])=>{Q(e)?e.forEach(r=>r(...t)):e&&e(...t)},Ru=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function mp(e){const t={};for(const D in e)D in gp||(t[D]=e[D]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:s=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:a=`${r}-enter-to`,appearFromClass:c=s,appearActiveClass:u=o,appearToClass:f=a,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:h=`${r}-leave-active`,leaveToClass:y=`${r}-leave-to`}=e,g=Ly(i),m=g&&g[0],E=g&&g[1],{onBeforeEnter:A,onEnter:C,onEnterCancelled:w,onLeave:S,onLeaveCancelled:$,onBeforeAppear:T=A,onAppear:R=C,onAppearCancelled:P=w}=t,k=(D,K,te)=>{Nr(D,K?f:a),Nr(D,K?u:o),te&&te()},M=(D,K)=>{D._isLeaving=!1,Nr(D,d),Nr(D,y),Nr(D,h),K&&K()},W=D=>(K,te)=>{const se=D?R:C,U=()=>k(K,D,te);cn(se,[K,U]),Iu(()=>{Nr(K,D?c:s),mr(K,D?f:a),Ru(se)||Lu(K,n,m,U)})};return Ae(t,{onBeforeEnter(D){cn(A,[D]),mr(D,s),mr(D,o)},onBeforeAppear(D){cn(T,[D]),mr(D,c),mr(D,u)},onEnter:W(!1),onAppear:W(!0),onLeave(D,K){D._isLeaving=!0;const te=()=>M(D,K);mr(D,d),vp(),mr(D,h),Iu(()=>{D._isLeaving&&(Nr(D,d),mr(D,y),Ru(S)||Lu(D,n,E,te))}),cn(S,[D,te])},onEnterCancelled(D){k(D,!1),cn(w,[D])},onAppearCancelled(D){k(D,!0),cn(P,[D])},onLeaveCancelled(D){M(D),cn($,[D])}})}function Ly(e){if(e==null)return null;if(we(e))return[Qa(e.enter),Qa(e.leave)];{const t=Qa(e);return[t,t]}}function Qa(e){return $g(e)}function mr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Xn]||(e[Xn]=new Set)).add(t)}function Nr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Xn];r&&(r.delete(t),r.size||(e[Xn]=void 0))}function Iu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ny=0;function Lu(e,t,r,n){const i=e._endId=++Ny,s=()=>{i===e._endId&&n()};if(r)return setTimeout(s,r);const{type:o,timeout:a,propCount:c}=yp(e,t);if(!o)return n();const u=o+"end";let f=0;const d=()=>{e.removeEventListener(u,h),s()},h=y=>{y.target===e&&++f>=c&&d()};setTimeout(()=>{f(r[g]||"").split(", "),i=n(`${Ir}Delay`),s=n(`${Ir}Duration`),o=Nu(i,s),a=n(`${Si}Delay`),c=n(`${Si}Duration`),u=Nu(a,c);let f=null,d=0,h=0;t===Ir?o>0&&(f=Ir,d=o,h=s.length):t===Si?u>0&&(f=Si,d=u,h=c.length):(d=Math.max(o,u),f=d>0?o>u?Ir:Si:null,h=f?f===Ir?s.length:c.length:0);const y=f===Ir&&/\b(transform|all)(,|$)/.test(n(`${Ir}Property`).toString());return{type:f,timeout:d,propCount:h,hasTransform:y}}function Nu(e,t){for(;e.lengthDu(r)+Du(e[n])))}function Du(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vp(){return document.body.offsetHeight}function Dy(e,t,r){const n=e[Xn];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Ao=Symbol("_vod"),bp=Symbol("_vsh"),Fy={beforeMount(e,{value:t},{transition:r}){e[Ao]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Ei(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Ei(e,!0),n.enter(e)):n.leave(e,()=>{Ei(e,!1)}):Ei(e,t))},beforeUnmount(e,{value:t}){Ei(e,t)}};function Ei(e,t){e.style.display=t?e[Ao]:"none",e[bp]=!t}const My=Symbol(""),By=/(^|;)\s*display\s*:/;function jy(e,t,r){const n=e.style,i=Ee(r);let s=!1;if(r&&!i){if(t)if(Ee(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();r[a]==null&&oo(n,a,"")}else for(const o in t)r[o]==null&&oo(n,o,"");for(const o in r)o==="display"&&(s=!0),oo(n,o,r[o])}else if(i){if(t!==r){const o=n[My];o&&(r+=";"+o),n.cssText=r,s=By.test(r)}}else t&&e.removeAttribute("style");Ao in e&&(e[Ao]=s?n.display:"",e[bp]&&(n.display="none"))}const Fu=/\s*!important$/;function oo(e,t,r){if(Q(r))r.forEach(n=>oo(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=ky(e,t);Fu.test(r)?e.setProperty(Qr(n),r.replace(Fu,""),"important"):e[n]=r}}const Mu=["Webkit","Moz","ms"],Ya={};function ky(e,t){const r=Ya[t];if(r)return r;let n=kt(t);if(n!=="filter"&&n in e)return Ya[t]=n;n=ko(n);for(let i=0;iZa||(Ky.then(()=>Za=0),Za=Date.now());function Gy(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Tt(Jy(n,r.value),t,5,[n])};return r.value=e,r.attached=qy(),r}function Jy(e,t){if(Q(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Hu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Xy=(e,t,r,n,i,s,o,a,c)=>{const u=i==="svg";t==="class"?Dy(e,n,u):t==="style"?jy(e,r,n):us(t)?lc(t)||zy(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qy(e,t,n,u))?Vy(e,t,n,s,o,a,c):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Hy(e,t,n,u))};function Qy(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hu(t)&&ie(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Hu(t)&&Ee(r)?!1:t in e}const wp=new WeakMap,_p=new WeakMap,Oo=Symbol("_moveCb"),Vu=Symbol("_enterCb"),Sp={name:"TransitionGroup",props:Ae({},Iy,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=qo(),n=Vd();let i,s;return qd(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!nv(i[0].el,r.vnode.el,o))return;i.forEach(ev),i.forEach(tv);const a=i.filter(rv);vp(),a.forEach(c=>{const u=c.el,f=u.style;mr(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const d=u[Oo]=h=>{h&&h.target!==u||(!h||/transform$/.test(h.propertyName))&&(u.removeEventListener("transitionend",d),u[Oo]=null,Nr(u,o))};u.addEventListener("transitionend",d)})}),()=>{const o=ue(e),a=mp(o);let c=o.tag||xe;if(i=[],s)for(let u=0;udelete e.mode;Sp.props;const Zy=Sp;function ev(e){const t=e.el;t[Oo]&&t[Oo](),t[Vu]&&t[Vu]()}function tv(e){_p.set(e,e.el.getBoundingClientRect())}function rv(e){const t=wp.get(e),r=_p.get(e),n=t.left-r.left,i=t.top-r.top;if(n||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${n}px,${i}px)`,s.transitionDuration="0s",e}}function nv(e,t,r){const n=e.cloneNode(),i=e[Xn];i&&i.forEach(a=>{a.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),r.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(n);const{hasTransform:o}=yp(n);return s.removeChild(n),o}const Jr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?r=>io(t,r):t};function iv(e){e.target.composing=!0}function Uu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const At=Symbol("_assign"),zu={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e[At]=Jr(i);const s=n||i.props&&i.props.type==="number";yr(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;r&&(a=a.trim()),s&&(a=go(a)),e[At](a)}),r&&yr(e,"change",()=>{e.value=e.value.trim()}),t||(yr(e,"compositionstart",iv),yr(e,"compositionend",Uu),yr(e,"change",Uu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},s){if(e[At]=Jr(s),e.composing)return;const o=(i||e.type==="number")&&!/^0\d/.test(e.value)?go(e.value):e.value,a=t??"";o!==a&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===a)||(e.value=a))}},sv={deep:!0,created(e,t,r){e[At]=Jr(r),yr(e,"change",()=>{const n=e._modelValue,i=Qn(e),s=e.checked,o=e[At];if(Q(n)){const a=fc(n,i),c=a!==-1;if(s&&!c)o(n.concat(i));else if(!s&&c){const u=[...n];u.splice(a,1),o(u)}}else if(si(n)){const a=new Set(n);s?a.add(i):a.delete(i),o(a)}else o(Ep(e,s))})},mounted:Wu,beforeUpdate(e,t,r){e[At]=Jr(r),Wu(e,t,r)}};function Wu(e,{value:t,oldValue:r},n){e._modelValue=t,Q(t)?e.checked=fc(t,n.props.value)>-1:si(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=Tn(t,Ep(e,!0)))}const ov={created(e,{value:t},r){e.checked=Tn(t,r.props.value),e[At]=Jr(r),yr(e,"change",()=>{e[At](Qn(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[At]=Jr(n),t!==r&&(e.checked=Tn(t,n.props.value))}},av={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=si(t);yr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?go(Qn(o)):Qn(o));e[At](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,ps(()=>{e._assigning=!1})}),e[At]=Jr(n)},mounted(e,{value:t,modifiers:{number:r}}){Ku(e,t)},beforeUpdate(e,t,r){e[At]=Jr(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||Ku(e,t)}};function Ku(e,t,r){const n=e.multiple,i=Q(t);if(!(n&&!i&&!si(t))){for(let s=0,o=e.options.length;sString(f)===String(c)):a.selected=fc(t,c)>-1}else a.selected=t.has(c);else if(Tn(Qn(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qn(e){return"_value"in e?e._value:e.value}function Ep(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const ZE={created(e,t,r){qs(e,t,r,null,"created")},mounted(e,t,r){qs(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){qs(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){qs(e,t,r,n,"updated")}};function lv(e,t){switch(e){case"SELECT":return av;case"TEXTAREA":return zu;default:switch(t){case"checkbox":return sv;case"radio":return ov;default:return zu}}}function qs(e,t,r,n,i){const o=lv(e.tagName,r.props&&r.props.type)[i];o&&o(e,t,r,n)}const cv=["ctrl","shift","alt","meta"],uv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>cv.some(r=>e[`${r}Key`]&&!t.includes(r))},fv=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(i,...s)=>{for(let o=0;o{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=i=>{if(!("key"in i))return;const s=Qr(i.key);if(t.some(o=>o===s||dv[o]===s))return e(i)})},Tp=Ae({patchProp:Xy},Ry);let Bi,qu=!1;function hv(){return Bi||(Bi=fy(Tp))}function gv(){return Bi=qu?Bi:dy(Tp),qu=!0,Bi}const Lc=(...e)=>{const t=hv().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=Op(n);if(!i)return;const s=t._component;!ie(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=r(i,!1,Ap(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},mv=(...e)=>{const t=gv().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=Op(n);if(i)return r(i,!0,Ap(i))},t};function Ap(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Op(e){return Ee(e)?document.querySelector(e):e}const yv=["top","right","bottom","left"],Gu=["start","end"],Ju=yv.reduce((e,t)=>e.concat(t,t+"-"+Gu[0],t+"-"+Gu[1]),[]),es=Math.min,fn=Math.max,vv={left:"right",right:"left",bottom:"top",top:"bottom"},bv={start:"end",end:"start"};function jl(e,t,r){return fn(e,es(t,r))}function On(e,t){return typeof e=="function"?e(t):e}function ar(e){return e.split("-")[0]}function jt(e){return e.split("-")[1]}function xp(e){return e==="x"?"y":"x"}function Nc(e){return e==="y"?"height":"width"}function vs(e){return["top","bottom"].includes(ar(e))?"y":"x"}function Dc(e){return xp(vs(e))}function Cp(e,t,r){r===void 0&&(r=!1);const n=jt(e),i=Dc(e),s=Nc(i);let o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Co(o)),[o,Co(o)]}function wv(e){const t=Co(e);return[xo(e),t,xo(t)]}function xo(e){return e.replace(/start|end/g,t=>bv[t])}function _v(e,t,r){const n=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?s:o;default:return[]}}function Sv(e,t,r,n){const i=jt(e);let s=_v(ar(e),r==="start",n);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(xo)))),s}function Co(e){return e.replace(/left|right|bottom|top/g,t=>vv[t])}function Ev(e){return{top:0,right:0,bottom:0,left:0,...e}}function $p(e){return typeof e!="number"?Ev(e):{top:e,right:e,bottom:e,left:e}}function ji(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Xu(e,t,r){let{reference:n,floating:i}=e;const s=vs(t),o=Dc(t),a=Nc(o),c=ar(t),u=s==="y",f=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,h=n[a]/2-i[a]/2;let y;switch(c){case"top":y={x:f,y:n.y-i.height};break;case"bottom":y={x:f,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:d};break;case"left":y={x:n.x-i.width,y:d};break;default:y={x:n.x,y:n.y}}switch(jt(t)){case"start":y[o]-=h*(r&&u?-1:1);break;case"end":y[o]+=h*(r&&u?-1:1);break}return y}const Tv=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:d}=Xu(u,n,c),h=n,y={},g=0;for(let m=0;m({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:s,platform:o,elements:a,middlewareData:c}=t,{element:u,padding:f=0}=On(e,t)||{};if(u==null)return{};const d=$p(f),h={x:r,y:n},y=Dc(i),g=Nc(y),m=await o.getDimensions(u),E=y==="y",A=E?"top":"left",C=E?"bottom":"right",w=E?"clientHeight":"clientWidth",S=s.reference[g]+s.reference[y]-h[y]-s.floating[g],$=h[y]-s.reference[y],T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let R=T?T[w]:0;(!R||!await(o.isElement==null?void 0:o.isElement(T)))&&(R=a.floating[w]||s.floating[g]);const P=S/2-$/2,k=R/2-m[g]/2-1,M=es(d[A],k),W=es(d[C],k),D=M,K=R-m[g]-W,te=R/2-m[g]/2+P,se=jl(D,te,K),U=!c.arrow&&jt(i)!=null&&te!==se&&s.reference[g]/2-(tejt(i)===e),...r.filter(i=>jt(i)!==e)]:r.filter(i=>ar(i)===i)).filter(i=>e?jt(i)===e||(t?xo(i)!==i:!1):!0)}const xv=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;const{rects:s,middlewareData:o,placement:a,platform:c,elements:u}=t,{crossAxis:f=!1,alignment:d,allowedPlacements:h=Ju,autoAlignment:y=!0,...g}=On(e,t),m=d!==void 0||h===Ju?Ov(d||null,y,h):h,E=await Jo(t,g),A=((r=o.autoPlacement)==null?void 0:r.index)||0,C=m[A];if(C==null)return{};const w=Cp(C,s,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(a!==C)return{reset:{placement:m[0]}};const S=[E[ar(C)],E[w[0]],E[w[1]]],$=[...((n=o.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],T=m[A+1];if(T)return{data:{index:A+1,overflows:$},reset:{placement:T}};const R=$.map(M=>{const W=jt(M.placement);return[M.placement,W&&f?M.overflows.slice(0,2).reduce((D,K)=>D+K,0):M.overflows[0],M.overflows]}).sort((M,W)=>M[1]-W[1]),k=((i=R.filter(M=>M[2].slice(0,jt(M[0])?2:3).every(W=>W<=0))[0])==null?void 0:i[0])||R[0][0];return k!==a?{data:{index:A+1,overflows:$},reset:{placement:k}}:{}}}},Cv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...E}=On(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const A=ar(i),C=ar(a)===a,w=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=h||(C||!m?[Co(a)]:wv(a));!h&&g!=="none"&&S.push(...Sv(a,m,g,w));const $=[a,...S],T=await Jo(t,E),R=[];let P=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&R.push(T[A]),d){const D=Cp(i,o,w);R.push(T[D[0]],T[D[1]])}if(P=[...P,{placement:i,overflows:R}],!R.every(D=>D<=0)){var k,M;const D=(((k=s.flip)==null?void 0:k.index)||0)+1,K=$[D];if(K)return{data:{index:D,overflows:P},reset:{placement:K}};let te=(M=P.filter(se=>se.overflows[0]<=0).sort((se,U)=>se.overflows[1]-U.overflows[1])[0])==null?void 0:M.placement;if(!te)switch(y){case"bestFit":{var W;const se=(W=P.map(U=>[U.placement,U.overflows.filter(Y=>Y>0).reduce((Y,G)=>Y+G,0)]).sort((U,Y)=>U[1]-Y[1])[0])==null?void 0:W[0];se&&(te=se);break}case"initialPlacement":te=a;break}if(i!==te)return{reset:{placement:te}}}return{}}}};async function $v(e,t){const{placement:r,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),o=ar(r),a=jt(r),c=vs(r)==="y",u=["left","top"].includes(o)?-1:1,f=s&&c?-1:1,d=On(t,e);let{mainAxis:h,crossAxis:y,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof g=="number"&&(y=a==="end"?g*-1:g),c?{x:y*f,y:h*u}:{x:h*u,y:y*f}}const Pv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:s,placement:o,middlewareData:a}=t,c=await $v(t,e);return o===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:o}}}}},Rv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:E=>{let{x:A,y:C}=E;return{x:A,y:C}}},...c}=On(e,t),u={x:r,y:n},f=await Jo(t,c),d=vs(ar(i)),h=xp(d);let y=u[h],g=u[d];if(s){const E=h==="y"?"top":"left",A=h==="y"?"bottom":"right",C=y+f[E],w=y-f[A];y=jl(C,y,w)}if(o){const E=d==="y"?"top":"left",A=d==="y"?"bottom":"right",C=g+f[E],w=g-f[A];g=jl(C,g,w)}const m=a.fn({...t,[h]:y,[d]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}},Iv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:i,elements:s}=t,{apply:o=()=>{},...a}=On(e,t),c=await Jo(t,a),u=ar(r),f=jt(r),d=vs(r)==="y",{width:h,height:y}=n.floating;let g,m;u==="top"||u==="bottom"?(g=u,m=f===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(m=u,g=f==="end"?"top":"bottom");const E=y-c[g],A=h-c[m],C=!t.middlewareData.shift;let w=E,S=A;if(d){const T=h-c.left-c.right;S=f||C?es(A,T):T}else{const T=y-c.top-c.bottom;w=f||C?es(E,T):T}if(C&&!f){const T=fn(c.left,0),R=fn(c.right,0),P=fn(c.top,0),k=fn(c.bottom,0);d?S=h-2*(T!==0||R!==0?T+R:fn(c.left,c.right)):w=y-2*(P!==0||k!==0?P+k:fn(c.top,c.bottom))}await o({...t,availableWidth:S,availableHeight:w});const $=await i.getDimensions(s.floating);return h!==$.width||y!==$.height?{reset:{rects:!0}}:{}}}};function Et(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rr(e){return Et(e).getComputedStyle(e)}const Qu=Math.min,ki=Math.max,$o=Math.round;function Pp(e){const t=rr(e);let r=parseFloat(t.width),n=parseFloat(t.height);const i=e.offsetWidth,s=e.offsetHeight,o=$o(r)!==i||$o(n)!==s;return o&&(r=i,n=s),{width:r,height:n,fallback:o}}function Xr(e){return Ip(e)?(e.nodeName||"").toLowerCase():""}let Gs;function Rp(){if(Gs)return Gs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Gs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Gs):navigator.userAgent}function nr(e){return e instanceof Et(e).HTMLElement}function Kr(e){return e instanceof Et(e).Element}function Ip(e){return e instanceof Et(e).Node}function Yu(e){return typeof ShadowRoot>"u"?!1:e instanceof Et(e).ShadowRoot||e instanceof ShadowRoot}function Xo(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=rr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Lv(e){return["table","td","th"].includes(Xr(e))}function kl(e){const t=/firefox/i.test(Rp()),r=rr(e),n=r.backdropFilter||r.WebkitBackdropFilter;return r.transform!=="none"||r.perspective!=="none"||!!n&&n!=="none"||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"||["transform","perspective"].some(i=>r.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const s=r.contain;return s!=null&&s.includes(i)})}function Lp(){return!/^((?!chrome|android).)*safari/i.test(Rp())}function Fc(e){return["html","body","#document"].includes(Xr(e))}function Np(e){return Kr(e)?e:e.contextElement}const Dp={x:1,y:1};function qn(e){const t=Np(e);if(!nr(t))return Dp;const r=t.getBoundingClientRect(),{width:n,height:i,fallback:s}=Pp(t);let o=(s?$o(r.width):r.width)/n,a=(s?$o(r.height):r.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function ts(e,t,r,n){var i,s;t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),a=Np(e);let c=Dp;t&&(n?Kr(n)&&(c=qn(n)):c=qn(e));const u=a?Et(a):window,f=!Lp()&&r;let d=(o.left+(f&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/c.x,h=(o.top+(f&&((s=u.visualViewport)==null?void 0:s.offsetTop)||0))/c.y,y=o.width/c.x,g=o.height/c.y;if(a){const m=Et(a),E=n&&Kr(n)?Et(n):n;let A=m.frameElement;for(;A&&n&&E!==m;){const C=qn(A),w=A.getBoundingClientRect(),S=getComputedStyle(A);w.x+=(A.clientLeft+parseFloat(S.paddingLeft))*C.x,w.y+=(A.clientTop+parseFloat(S.paddingTop))*C.y,d*=C.x,h*=C.y,y*=C.x,g*=C.y,d+=w.x,h+=w.y,A=Et(A).frameElement}}return{width:y,height:g,top:h,right:d+y,bottom:h+g,left:d,x:d,y:h}}function qr(e){return((Ip(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qo(e){return Kr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Fp(e){return ts(qr(e)).left+Qo(e).scrollLeft}function rs(e){if(Xr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yu(e)&&e.host||qr(e);return Yu(t)?t.host:t}function Mp(e){const t=rs(e);return Fc(t)?t.ownerDocument.body:nr(t)&&Xo(t)?t:Mp(t)}function Po(e,t){var r;t===void 0&&(t=[]);const n=Mp(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),s=Et(n);return i?t.concat(s,s.visualViewport||[],Xo(n)?n:[]):t.concat(n,Po(n))}function Zu(e,t,r){return t==="viewport"?ji(function(n,i){const s=Et(n),o=qr(n),a=s.visualViewport;let c=o.clientWidth,u=o.clientHeight,f=0,d=0;if(a){c=a.width,u=a.height;const h=Lp();(h||!h&&i==="fixed")&&(f=a.offsetLeft,d=a.offsetTop)}return{width:c,height:u,x:f,y:d}}(e,r)):Kr(t)?ji(function(n,i){const s=ts(n,!0,i==="fixed"),o=s.top+n.clientTop,a=s.left+n.clientLeft,c=nr(n)?qn(n):{x:1,y:1};return{width:n.clientWidth*c.x,height:n.clientHeight*c.y,x:a*c.x,y:o*c.y}}(t,r)):ji(function(n){const i=qr(n),s=Qo(n),o=n.ownerDocument.body,a=ki(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),c=ki(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight);let u=-s.scrollLeft+Fp(n);const f=-s.scrollTop;return rr(o).direction==="rtl"&&(u+=ki(i.clientWidth,o.clientWidth)-a),{width:a,height:c,x:u,y:f}}(qr(e)))}function ef(e){return nr(e)&&rr(e).position!=="fixed"?e.offsetParent:null}function tf(e){const t=Et(e);let r=ef(e);for(;r&&Lv(r)&&rr(r).position==="static";)r=ef(r);return r&&(Xr(r)==="html"||Xr(r)==="body"&&rr(r).position==="static"&&!kl(r))?t:r||function(n){let i=rs(n);for(;nr(i)&&!Fc(i);){if(kl(i))return i;i=rs(i)}return null}(e)||t}function Nv(e,t,r){const n=nr(t),i=qr(t),s=ts(e,!0,r==="fixed",t);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(n||!n&&r!=="fixed")if((Xr(t)!=="body"||Xo(i))&&(o=Qo(t)),nr(t)){const c=ts(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else i&&(a.x=Fp(i));return{x:s.left+o.scrollLeft-a.x,y:s.top+o.scrollTop-a.y,width:s.width,height:s.height}}const Dv={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const s=r==="clippingAncestors"?function(u,f){const d=f.get(u);if(d)return d;let h=Po(u).filter(E=>Kr(E)&&Xr(E)!=="body"),y=null;const g=rr(u).position==="fixed";let m=g?rs(u):u;for(;Kr(m)&&!Fc(m);){const E=rr(m),A=kl(m);(g?A||y:A||E.position!=="static"||!y||!["absolute","fixed"].includes(y.position))?y=E:h=h.filter(C=>C!==m),m=rs(m)}return f.set(u,h),h}(t,this._c):[].concat(r),o=[...s,n],a=o[0],c=o.reduce((u,f)=>{const d=Zu(t,f,i);return u.top=ki(d.top,u.top),u.right=Qu(d.right,u.right),u.bottom=Qu(d.bottom,u.bottom),u.left=ki(d.left,u.left),u},Zu(t,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const i=nr(r),s=qr(r);if(r===s)return t;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((i||!i&&n!=="fixed")&&((Xr(r)!=="body"||Xo(s))&&(o=Qo(r)),nr(r))){const u=ts(r);a=qn(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-o.scrollLeft*a.x+c.x,y:t.y*a.y-o.scrollTop*a.y+c.y}},isElement:Kr,getDimensions:function(e){return nr(e)?Pp(e):e.getBoundingClientRect()},getOffsetParent:tf,getDocumentElement:qr,getScale:qn,async getElementRects(e){let{reference:t,floating:r,strategy:n}=e;const i=this.getOffsetParent||tf,s=this.getDimensions;return{reference:Nv(t,await i(r),n),floating:{x:0,y:0,...await s(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>rr(e).direction==="rtl"},Fv=(e,t,r)=>{const n=new Map,i={platform:Dv,...r},s={...i.platform,_c:n};return Tv(e,t,{...i,platform:s})},_n={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:0,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function ns(e,t){let r=_n.themes[e]||{},n;do n=r[t],typeof n>"u"?r.$extend?r=_n.themes[r.$extend]||{}:(r=null,n=_n[t]):r=null;while(r);return n}function Mv(e){const t=[e];let r=_n.themes[e]||{};do r.$extend&&!r.$resetCss?(t.push(r.$extend),r=_n.themes[r.$extend]||{}):r=null;while(r);return t.map(n=>`v-popper--theme-${n}`)}function rf(e){const t=[e];let r=_n.themes[e]||{};do r.$extend?(t.push(r.$extend),r=_n.themes[r.$extend]||{}):r=null;while(r);return t}let Yn=!1;if(typeof window<"u"){Yn=!1;try{const e=Object.defineProperty({},"passive",{get(){Yn=!0}});window.addEventListener("test",null,e)}catch{}}let Bp=!1;typeof window<"u"&&typeof navigator<"u"&&(Bp=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const jp=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),nf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},sf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function of(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1)}function el(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Ft=[];let un=null;const af={};function lf(e){let t=af[e];return t||(t=af[e]=[]),t}let Hl=function(){};typeof window<"u"&&(Hl=window.Element);function fe(e){return function(t){return ns(t.theme,e)}}const tl="__floating-vue__popper",kp=()=>Me({name:"VPopper",provide(){return{[tl]:{parentPopper:this}}},inject:{[tl]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:fe("disabled")},positioningDisabled:{type:Boolean,default:fe("positioningDisabled")},placement:{type:String,default:fe("placement"),validator:e=>jp.includes(e)},delay:{type:[String,Number,Object],default:fe("delay")},distance:{type:[Number,String],default:fe("distance")},skidding:{type:[Number,String],default:fe("skidding")},triggers:{type:Array,default:fe("triggers")},showTriggers:{type:[Array,Function],default:fe("showTriggers")},hideTriggers:{type:[Array,Function],default:fe("hideTriggers")},popperTriggers:{type:Array,default:fe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:fe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:fe("popperHideTriggers")},container:{type:[String,Object,Hl,Boolean],default:fe("container")},boundary:{type:[String,Hl],default:fe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:fe("strategy")},autoHide:{type:[Boolean,Function],default:fe("autoHide")},handleResize:{type:Boolean,default:fe("handleResize")},instantMove:{type:Boolean,default:fe("instantMove")},eagerMount:{type:Boolean,default:fe("eagerMount")},popperClass:{type:[String,Array,Object],default:fe("popperClass")},computeTransformOrigin:{type:Boolean,default:fe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:fe("autoMinSize")},autoSize:{type:[Boolean,String],default:fe("autoSize")},autoMaxSize:{type:Boolean,default:fe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:fe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:fe("preventOverflow")},overflowPadding:{type:[Number,String],default:fe("overflowPadding")},arrowPadding:{type:[Number,String],default:fe("arrowPadding")},arrowOverflow:{type:Boolean,default:fe("arrowOverflow")},flip:{type:Boolean,default:fe("flip")},shift:{type:Boolean,default:fe("shift")},shiftCrossAxis:{type:Boolean,default:fe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:fe("noAutoFocus")},disposeTimeout:{type:Number,default:fe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[tl])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:r=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(r||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var r;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Pv({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(xv({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Rv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Cv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Av({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:i,middlewareData:s})=>{let o;const{centerOffset:a}=s.arrow;return n.startsWith("top")||n.startsWith("bottom")?o=Math.abs(a)>i.reference.width/2:o=Math.abs(a)>i.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let c,u;return s.startsWith("top")||s.startsWith("bottom")?c=i.reference.width:u=i.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Iv({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:i})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const r=await Fv(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:{...r.middlewareData.arrow,...r.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),un&&this.instantMove&&un.instantMove&&un!==this.parentPopper){un.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(un=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await el(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Po(this.$_referenceNode),...Po(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),r=this.$_popperNode.querySelector(".v-popper__wrapper"),n=r.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(n.left+r.offsetLeft),s=t.y+t.height/2-(n.top+r.offsetTop);this.result.transformOrigin=`${i}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let r=0;r0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,of(Ft,this),Ft.length===0&&document.body.classList.remove("v-popper--some-open");for(const r of rf(this.theme)){const n=lf(r);of(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${r}`)}un===this&&(un=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await el(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=r=>{this.isShown&&!this.$_hideInProgress||(r.usedByTooltip=!0,!this.$_preventShow&&this.show({event:r}))};this.$_registerTriggerListeners(this.$_targetNodes,nf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],nf,this.popperTriggers,this.popperShowTriggers,e);const t=r=>{r.usedByTooltip||this.hide({event:r})};this.$_registerTriggerListeners(this.$_targetNodes,sf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],sf,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,r){this.$_events.push({targetNodes:e,eventType:t,handler:r}),e.forEach(n=>n.addEventListener(t,r,Yn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,r,n,i){let s=r;n!=null&&(s=typeof n=="function"?n(s):n),s.forEach(o=>{const a=t[o];a&&this.$_registerEventListeners(e,a,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(r=>{const{targetNodes:n,eventType:i,handler:s}=r;!e||e===i?n.forEach(o=>o.removeEventListener(i,s)):t.push(r)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const r of this.$_targetNodes){const n=r.getAttribute(e);n&&(r.removeAttribute(e),r.setAttribute(t,n))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const r in e){const n=e[r];n==null?t.removeAttribute(r):t.setAttribute(r,n)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Hi>=e.left&&Hi<=e.right&&Vi>=e.top&&Vi<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),r=Hi-Dr,n=Vi-Fr,i=t.left+t.width/2-Dr+(t.top+t.height/2)-Fr+t.width+t.height,s=Dr+r*i,o=Fr+n*i;return Js(Dr,Fr,s,o,t.left,t.top,t.left,t.bottom)||Js(Dr,Fr,s,o,t.left,t.top,t.right,t.top)||Js(Dr,Fr,s,o,t.right,t.top,t.right,t.bottom)||Js(Dr,Fr,s,o,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Bp?(document.addEventListener("touchstart",cf,Yn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",jv,Yn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",cf,!0),window.addEventListener("click",Bv,!0)),window.addEventListener("resize",Vv));function cf(e){for(let t=0;t=0;n--){const i=Ft[n];try{const s=i.$_containsGlobalTarget=kv(i,e);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!r[i.randomId]&&uf(i,s,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=i.parentPopper;for(;a;)r[a.randomId]=!0,a=a.parentPopper;return}let o=i.parentPopper;for(;o&&uf(o,o.$_containsGlobalTarget,e);)o.$_handleGlobalClose(e,t),o=o.parentPopper}})}catch{}}}function kv(e,t){const r=e.popperNode();return e.$_mouseDownContains||r.contains(t.target)}function uf(e,t,r){return r.closeAllPopover||r.closePopover&&t||Hv(e,r)&&!t}function Hv(e,t){if(typeof e.autoHide=="function"){const r=e.autoHide(t);return e.lastAutoHide=r,r}return e.autoHide}function Vv(e){for(let t=0;t{Dr=Hi,Fr=Vi,Hi=e.clientX,Vi=e.clientY},Yn?{passive:!0}:void 0);function Js(e,t,r,n,i,s,o,a){const c=((o-i)*(t-s)-(a-s)*(e-i))/((a-s)*(r-e)-(o-i)*(n-t)),u=((r-e)*(t-s)-(n-t)*(e-i))/((a-s)*(r-e)-(o-i)*(n-t));return c>=0&&c<=1&&u>=0&&u<=1}const Uv={extends:kp()},Yo=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r};function zv(e,t,r,n,i,s){return pe(),Ce("div",{ref:"reference",class:De(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[An(e.$slots,"default",Ng(fp(e.slotData)))],2)}const Wv=Yo(Uv,[["render",zv]]);function Kv(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var r=e.indexOf("Trident/");if(r>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let ao;function Vl(){Vl.init||(Vl.init=!0,ao=Kv()!==-1)}var Zo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Vl(),ps(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ao&&this.$el.appendChild(e),e.data="about:blank",ao||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ao&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qv=Tm();Sm("data-v-b329ee4c");const Gv={class:"resize-observer",tabindex:"-1"};Em();const Jv=qv((e,t,r,n,i,s)=>(pe(),ct("div",Gv)));Zo.render=Jv;Zo.__scopeId="data-v-b329ee4c";Zo.__file="src/components/ResizeObserver.vue";const Vp=(e="theme")=>({computed:{themeClass(){return Mv(this[e])}}}),Xv=Me({name:"VPopperContent",components:{ResizeObserver:Zo},mixins:[Vp()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Qv=["id","aria-hidden","tabindex","data-popper-placement"],Yv={ref:"inner",class:"v-popper__inner"},Zv=Ue("div",{class:"v-popper__arrow-outer"},null,-1),eb=Ue("div",{class:"v-popper__arrow-inner"},null,-1),tb=[Zv,eb];function rb(e,t,r,n,i,s){const o=tr("ResizeObserver");return pe(),Ce("div",{id:e.popperId,ref:"popover",class:De(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:vr(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=pv(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[Ue("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),Ue("div",{class:"v-popper__wrapper",style:vr(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Ue("div",Yv,[e.mounted?(pe(),Ce(xe,{key:0},[Ue("div",null,[An(e.$slots,"default")]),e.handleResize?(pe(),ct(o,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Mi("",!0)],64)):Mi("",!0)],512),Ue("div",{ref:"arrow",class:"v-popper__arrow-container",style:vr(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},tb,4)],4)],46,Qv)}const Up=Yo(Xv,[["render",rb]]),zp={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},nb=Me({name:"VPopperWrapper",components:{Popper:Wv,PopperContent:Up},mixins:[zp,Vp("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Element,Boolean],default:void 0},boundary:{type:[String,Element],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function ib(e,t,r,n,i,s){const o=tr("PopperContent"),a=tr("Popper");return pe(),ct(a,oi({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:or(({popperId:c,isShown:u,shouldMountContent:f,skipTransition:d,autoHide:h,show:y,hide:g,handleResize:m,onResize:E,classes:A,result:C})=>[An(e.$slots,"default",{shown:u,show:y,hide:g}),Se(o,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:u,mounted:f,"skip-transition":d,"auto-hide":h,"handle-resize":m,classes:A,result:C,onHide:g,onResize:E},{default:or(()=>[An(e.$slots,"popper",{shown:u,hide:g})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Mc=Yo(nb,[["render",ib]]);({...Mc});({...Mc});({...Mc});const sb=Me({name:"VTooltipDirective",components:{Popper:kp(),PopperContent:Up},mixins:[zp],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ns(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ns(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,r=this.content(this);r.then?r.then(n=>this.onResult(t,n)):this.onResult(t,r)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),ob=["innerHTML"],ab=["textContent"];function lb(e,t,r,n,i,s){const o=tr("PopperContent"),a=tr("Popper");return pe(),ct(a,oi({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:or(({popperId:c,isShown:u,shouldMountContent:f,skipTransition:d,autoHide:h,hide:y,handleResize:g,onResize:m,classes:E,result:A})=>[Se(o,{ref:"popperContent",class:De({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:u,mounted:f,"skip-transition":d,"auto-hide":h,"handle-resize":g,classes:E,result:A,onHide:y,onResize:m},{default:or(()=>[e.html?(pe(),Ce("div",{key:0,innerHTML:e.finalContent},null,8,ob)):(pe(),Ce("div",{key:1,textContent:dc(e.finalContent)},null,8,ab))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const cb=Yo(sb,[["render",lb]]),Wp="v-popper--has-tooltip";function ub(e,t){let r=e.placement;if(!r&&t)for(const n of jp)t[n]&&(r=n);return r||(r=ns(e.theme||"tooltip","placement")),r}function Kp(e,t,r){let n;const i=typeof t;return i==="string"?n={content:t}:t&&i==="object"?n=t:n={content:!1},n.placement=ub(n,r),n.targetNodes=()=>[e],n.referenceNode=()=>e,n}let rl,is,fb=0;function db(){if(rl)return;is=Xe([]),rl=Lc({name:"VTooltipDirectiveApp",setup(){return{directives:is}},render(){return this.directives.map(t=>_r(cb,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),rl.mount(e)}function pb(e,t,r){db();const n=Xe(Kp(e,t,r)),i=Xe(!1),s={id:fb++,options:n,shown:i};return is.value.push(s),e.classList&&e.classList.add(Wp),e.$_popper={options:n,item:s,show(){i.value=!0},hide(){i.value=!1}}}function qp(e){if(e.$_popper){const t=is.value.indexOf(e.$_popper.item);t!==-1&&is.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Wp)}function ff(e,{value:t,modifiers:r}){const n=Kp(e,t,r);if(!n.content||ns(n.theme||"tooltip","disabled"))qp(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=n):i=pb(e,t,r),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}const hb={beforeMount:ff,updated:ff,beforeUnmount(e){qp(e)}},gb=hb;function Gp(e,t){return function(){return e.apply(t,arguments)}}const{toString:mb}=Object.prototype,{getPrototypeOf:Bc}=Object,ea=(e=>t=>{const r=mb.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),lr=e=>(e=e.toLowerCase(),t=>ea(t)===e),ta=e=>t=>typeof t===e,{isArray:ai}=Array,ss=ta("undefined");function yb(e){return e!==null&&!ss(e)&&e.constructor!==null&&!ss(e.constructor)&&Ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Jp=lr("ArrayBuffer");function vb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Jp(e.buffer),t}const bb=ta("string"),Ot=ta("function"),Xp=ta("number"),ra=e=>e!==null&&typeof e=="object",wb=e=>e===!0||e===!1,lo=e=>{if(ea(e)!=="object")return!1;const t=Bc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},_b=lr("Date"),Sb=lr("File"),Eb=lr("Blob"),Tb=lr("FileList"),Ab=e=>ra(e)&&Ot(e.pipe),Ob=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ot(e.append)&&((t=ea(e))==="formdata"||t==="object"&&Ot(e.toString)&&e.toString()==="[object FormData]"))},xb=lr("URLSearchParams"),Cb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bs(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),ai(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Yp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Zp=e=>!ss(e)&&e!==Yp;function Ul(){const{caseless:e}=Zp(this)&&this||{},t={},r=(n,i)=>{const s=e&&Qp(t,i)||i;lo(t[s])&&lo(n)?t[s]=Ul(t[s],n):lo(n)?t[s]=Ul({},n):ai(n)?t[s]=n.slice():t[s]=n};for(let n=0,i=arguments.length;n(bs(t,(i,s)=>{r&&Ot(i)?e[s]=Gp(i,r):e[s]=i},{allOwnKeys:n}),e),Pb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Rb=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Ib=(e,t,r,n)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!n||n(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=r!==!1&&Bc(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Lb=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Nb=e=>{if(!e)return null;if(ai(e))return e;let t=e.length;if(!Xp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Db=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bc(Uint8Array)),Fb=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Mb=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Bb=lr("HTMLFormElement"),jb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),df=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),kb=lr("RegExp"),eh=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};bs(r,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(n[s]=o||i)}),Object.defineProperties(e,n)},Hb=e=>{eh(e,(t,r)=>{if(Ot(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ot(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Vb=(e,t)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return ai(e)?n(e):n(String(e).split(t)),r},Ub=()=>{},zb=(e,t)=>(e=+e,Number.isFinite(e)?e:t),nl="abcdefghijklmnopqrstuvwxyz",pf="0123456789",th={DIGIT:pf,ALPHA:nl,ALPHA_DIGIT:nl+nl.toUpperCase()+pf},Wb=(e=16,t=th.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Kb(e){return!!(e&&Ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const qb=e=>{const t=new Array(10),r=(n,i)=>{if(ra(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const s=ai(n)?[]:{};return bs(n,(o,a)=>{const c=r(o,i+1);!ss(c)&&(s[a]=c)}),t[i]=void 0,s}}return n};return r(e,0)},Gb=lr("AsyncFunction"),Jb=e=>e&&(ra(e)||Ot(e))&&Ot(e.then)&&Ot(e.catch),I={isArray:ai,isArrayBuffer:Jp,isBuffer:yb,isFormData:Ob,isArrayBufferView:vb,isString:bb,isNumber:Xp,isBoolean:wb,isObject:ra,isPlainObject:lo,isUndefined:ss,isDate:_b,isFile:Sb,isBlob:Eb,isRegExp:kb,isFunction:Ot,isStream:Ab,isURLSearchParams:xb,isTypedArray:Db,isFileList:Tb,forEach:bs,merge:Ul,extend:$b,trim:Cb,stripBOM:Pb,inherits:Rb,toFlatObject:Ib,kindOf:ea,kindOfTest:lr,endsWith:Lb,toArray:Nb,forEachEntry:Fb,matchAll:Mb,isHTMLForm:Bb,hasOwnProperty:df,hasOwnProp:df,reduceDescriptors:eh,freezeMethods:Hb,toObjectSet:Vb,toCamelCase:jb,noop:Ub,toFiniteNumber:zb,findKey:Qp,global:Yp,isContextDefined:Zp,ALPHABET:th,generateString:Wb,isSpecCompliantForm:Kb,toJSONObject:qb,isAsyncFn:Gb,isThenable:Jb};function de(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}I.inherits(de,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 rh=de.prototype,nh={};["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(e=>{nh[e]={value:e}});Object.defineProperties(de,nh);Object.defineProperty(rh,"isAxiosError",{value:!0});de.from=(e,t,r,n,i,s)=>{const o=Object.create(rh);return I.toFlatObject(e,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),de.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const Xb=null;function zl(e){return I.isPlainObject(e)||I.isArray(e)}function ih(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function hf(e,t,r){return e?e.concat(t).map(function(i,s){return i=ih(i),!r&&s?"["+i+"]":i}).join(r?".":""):t}function Qb(e){return I.isArray(e)&&!e.some(zl)}const Yb=I.toFlatObject(I,{},null,function(t){return/^is[A-Z]/.test(t)});function na(e,t,r){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=I.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,E){return!I.isUndefined(E[m])});const n=r.metaTokens,i=r.visitor||f,s=r.dots,o=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(i))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(I.isDate(g))return g.toISOString();if(!c&&I.isBlob(g))throw new de("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(g)||I.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function f(g,m,E){let A=g;if(g&&!E&&typeof g=="object"){if(I.endsWith(m,"{}"))m=n?m:m.slice(0,-2),g=JSON.stringify(g);else if(I.isArray(g)&&Qb(g)||(I.isFileList(g)||I.endsWith(m,"[]"))&&(A=I.toArray(g)))return m=ih(m),A.forEach(function(w,S){!(I.isUndefined(w)||w===null)&&t.append(o===!0?hf([m],S,s):o===null?m:m+"[]",u(w))}),!1}return zl(g)?!0:(t.append(hf(E,m,s),u(g)),!1)}const d=[],h=Object.assign(Yb,{defaultVisitor:f,convertValue:u,isVisitable:zl});function y(g,m){if(!I.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(g),I.forEach(g,function(A,C){(!(I.isUndefined(A)||A===null)&&i.call(t,A,I.isString(C)?C.trim():C,m,h))===!0&&y(A,m?m.concat(C):[C])}),d.pop()}}if(!I.isObject(e))throw new TypeError("data must be an object");return y(e),t}function gf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function jc(e,t){this._pairs=[],e&&na(e,this,t)}const sh=jc.prototype;sh.append=function(t,r){this._pairs.push([t,r])};sh.toString=function(t){const r=t?function(n){return t.call(this,n,gf)}:gf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Zb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oh(e,t,r){if(!t)return e;const n=r&&r.encode||Zb,i=r&&r.serialize;let s;if(i?s=i(t,r):s=I.isURLSearchParams(t)?t.toString():new jc(t,r).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class ew{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){I.forEach(this.handlers,function(n){n!==null&&t(n)})}}const mf=ew,ah={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tw=typeof URLSearchParams<"u"?URLSearchParams:jc,rw=typeof FormData<"u"?FormData:null,nw=typeof Blob<"u"?Blob:null,iw={isBrowser:!0,classes:{URLSearchParams:tw,FormData:rw,Blob:nw},protocols:["http","https","file","blob","url","data"]},lh=typeof window<"u"&&typeof document<"u",sw=(e=>lh&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ow=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),aw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lh,hasStandardBrowserEnv:sw,hasStandardBrowserWebWorkerEnv:ow},Symbol.toStringTag,{value:"Module"})),Zt={...aw,...iw};function lw(e,t){return na(e,new Zt.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,s){return Zt.isNode&&I.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function cw(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function uw(e){const t={},r=Object.keys(e);let n;const i=r.length;let s;for(n=0;n=r.length;return o=!o&&I.isArray(i)?i.length:o,c?(I.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!I.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],s)&&I.isArray(i[o])&&(i[o]=uw(i[o])),!a)}if(I.isFormData(e)&&I.isFunction(e.entries)){const r={};return I.forEachEntry(e,(n,i)=>{t(cw(n),i,r,0)}),r}return null}function fw(e,t,r){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const kc={transitional:ah,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=I.isObject(t);if(s&&I.isHTMLForm(t)&&(t=new FormData(t)),I.isFormData(t))return i?JSON.stringify(ch(t)):t;if(I.isArrayBuffer(t)||I.isBuffer(t)||I.isStream(t)||I.isFile(t)||I.isBlob(t))return t;if(I.isArrayBufferView(t))return t.buffer;if(I.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return lw(t,this.formSerializer).toString();if((a=I.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return na(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),fw(t)):t}],transformResponse:[function(t){const r=this.transitional||kc.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(t&&I.isString(t)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?de.from(a,de.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Zt.classes.FormData,Blob:Zt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],e=>{kc.headers[e]={}});const Hc=kc,dw=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"]),pw=e=>{const t={};let r,n,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&dw[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},yf=Symbol("internals");function Ti(e){return e&&String(e).trim().toLowerCase()}function co(e){return e===!1||e==null?e:I.isArray(e)?e.map(co):String(e)}function hw(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const gw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function il(e,t,r,n,i){if(I.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!I.isString(t)){if(I.isString(n))return t.indexOf(n)!==-1;if(I.isRegExp(n))return n.test(t)}}function mw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function yw(e,t){const r=I.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,s,o){return this[n].call(this,t,i,s,o)},configurable:!0})})}class ia{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function s(a,c,u){const f=Ti(c);if(!f)throw new Error("header name must be a non-empty string");const d=I.findKey(i,f);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||c]=co(a))}const o=(a,c)=>I.forEach(a,(u,f)=>s(u,f,c));return I.isPlainObject(t)||t instanceof this.constructor?o(t,r):I.isString(t)&&(t=t.trim())&&!gw(t)?o(pw(t),r):t!=null&&s(r,t,n),this}get(t,r){if(t=Ti(t),t){const n=I.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return hw(i);if(I.isFunction(r))return r.call(this,i,n);if(I.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ti(t),t){const n=I.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||il(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function s(o){if(o=Ti(o),o){const a=I.findKey(n,o);a&&(!r||il(n,n[a],a,r))&&(delete n[a],i=!0)}}return I.isArray(t)?t.forEach(s):s(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!t||il(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const r=this,n={};return I.forEach(this,(i,s)=>{const o=I.findKey(n,s);if(o){r[o]=co(i),delete r[s];return}const a=t?mw(s):String(s).trim();a!==s&&delete r[s],r[a]=co(i),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return I.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&I.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[yf]=this[yf]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=Ti(o);n[a]||(yw(i,o),n[a]=!0)}return I.isArray(t)?t.forEach(s):s(t),this}}ia.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(ia.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});I.freezeMethods(ia);const Sr=ia;function sl(e,t){const r=this||Hc,n=t||r,i=Sr.from(n.headers);let s=n.data;return I.forEach(e,function(a){s=a.call(r,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function uh(e){return!!(e&&e.__CANCEL__)}function ws(e,t,r){de.call(this,e??"canceled",de.ERR_CANCELED,t,r),this.name="CanceledError"}I.inherits(ws,de,{__CANCEL__:!0});function vw(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new de("Request failed with status code "+r.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const bw=Zt.hasStandardBrowserEnv?{write(e,t,r,n,i,s){const o=[e+"="+encodeURIComponent(t)];I.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),I.isString(n)&&o.push("path="+n),I.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ww(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _w(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function fh(e,t){return e&&!ww(t)?_w(e,t):t}const Sw=Zt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(s){let o=s;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const a=I.isString(o)?i(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function Ew(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Tw(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=n[s];o||(o=u),r[i]=c,n[i]=u;let d=s,h=0;for(;d!==i;)h+=r[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,c=n(a),u=s<=o;r=s;const f={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&u?(o-s)/c:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const Aw=typeof XMLHttpRequest<"u",Ow=Aw&&function(e){return new Promise(function(r,n){let i=e.data;const s=Sr.from(e.headers).normalize();let{responseType:o,withXSRFToken:a}=e,c;function u(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let f;if(I.isFormData(i)){if(Zt.hasStandardBrowserEnv||Zt.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((f=s.getContentType())!==!1){const[m,...E]=f?f.split(";").map(A=>A.trim()).filter(Boolean):[];s.setContentType([m||"multipart/form-data",...E].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(m+":"+E))}const h=fh(e.baseURL,e.url);d.open(e.method.toUpperCase(),oh(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function y(){if(!d)return;const m=Sr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),A={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};vw(function(w){r(w),u()},function(w){n(w),u()},A),d=null}if("onloadend"in d?d.onloadend=y:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(y)},d.onabort=function(){d&&(n(new de("Request aborted",de.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new de("Network Error",de.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||ah;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),n(new de(E,A.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,d)),d=null},Zt.hasStandardBrowserEnv&&(a&&I.isFunction(a)&&(a=a(e)),a||a!==!1&&Sw(h))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&bw.read(e.xsrfCookieName);m&&s.set(e.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&I.forEach(s.toJSON(),function(E,A){d.setRequestHeader(A,E)}),I.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",vf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",vf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=m=>{d&&(n(!m||m.type?new ws(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const g=Ew(h);if(g&&Zt.protocols.indexOf(g)===-1){n(new de("Unsupported protocol "+g+":",de.ERR_BAD_REQUEST,e));return}d.send(i||null)})},Wl={http:Xb,xhr:Ow};I.forEach(Wl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bf=e=>`- ${e}`,xw=e=>I.isFunction(e)||e===null||e===!1,dh={getAdapter:e=>{e=I.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let s=0;s`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : +`+s.map(bf).join(` +`):" "+bf(s[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Wl};function ol(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ws(null,e)}function wf(e){return ol(e),e.headers=Sr.from(e.headers),e.data=sl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),dh.getAdapter(e.adapter||Hc.adapter)(e).then(function(n){return ol(e),n.data=sl.call(e,e.transformResponse,n),n.headers=Sr.from(n.headers),n},function(n){return uh(n)||(ol(e),n&&n.response&&(n.response.data=sl.call(e,e.transformResponse,n.response),n.response.headers=Sr.from(n.response.headers))),Promise.reject(n)})}const _f=e=>e instanceof Sr?{...e}:e;function Zn(e,t){t=t||{};const r={};function n(u,f,d){return I.isPlainObject(u)&&I.isPlainObject(f)?I.merge.call({caseless:d},u,f):I.isPlainObject(f)?I.merge({},f):I.isArray(f)?f.slice():f}function i(u,f,d){if(I.isUndefined(f)){if(!I.isUndefined(u))return n(void 0,u,d)}else return n(u,f,d)}function s(u,f){if(!I.isUndefined(f))return n(void 0,f)}function o(u,f){if(I.isUndefined(f)){if(!I.isUndefined(u))return n(void 0,u)}else return n(void 0,f)}function a(u,f,d){if(d in t)return n(u,f);if(d in e)return n(void 0,u)}const c={url:s,method:s,data:s,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,f)=>i(_f(u),_f(f),!0)};return I.forEach(Object.keys(Object.assign({},e,t)),function(f){const d=c[f]||i,h=d(e[f],t[f],f);I.isUndefined(h)&&d!==a||(r[f]=h)}),r}const ph="1.6.8",Vc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vc[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Sf={};Vc.transitional=function(t,r,n){function i(s,o){return"[Axios v"+ph+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(t===!1)throw new de(i(o," has been removed"+(r?" in "+r:"")),de.ERR_DEPRECATED);return r&&!Sf[o]&&(Sf[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,o,a):!0}};function Cw(e,t,r){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const s=n[i],o=t[s];if(o){const a=e[s],c=a===void 0||o(a,s,e);if(c!==!0)throw new de("option "+s+" must be "+c,de.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new de("Unknown option "+s,de.ERR_BAD_OPTION)}}const Kl={assertOptions:Cw,validators:Vc},Lr=Kl.validators;class Ro{constructor(t){this.defaults=t,this.interceptors={request:new mf,response:new mf}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+s):n.stack=s}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Zn(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&Kl.assertOptions(n,{silentJSONParsing:Lr.transitional(Lr.boolean),forcedJSONParsing:Lr.transitional(Lr.boolean),clarifyTimeoutError:Lr.transitional(Lr.boolean)},!1),i!=null&&(I.isFunction(i)?r.paramsSerializer={serialize:i}:Kl.assertOptions(i,{encode:Lr.function,serialize:Lr.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&I.merge(s.common,s[r.method]);s&&I.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Sr.concat(o,s);const a=[];let c=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(r)===!1||(c=c&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let f,d=0,h;if(!c){const g=[wf.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,u),h=g.length,f=Promise.resolve(r);d{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},t(function(s,o,a){n.reason||(n.reason=new ws(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Uc(function(i){t=i}),cancel:t}}}const $w=Uc;function Pw(e){return function(r){return e.apply(null,r)}}function Rw(e){return I.isObject(e)&&e.isAxiosError===!0}const ql={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(ql).forEach(([e,t])=>{ql[t]=e});const Iw=ql;function hh(e){const t=new uo(e),r=Gp(uo.prototype.request,t);return I.extend(r,uo.prototype,t,{allOwnKeys:!0}),I.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return hh(Zn(e,i))},r}const $e=hh(Hc);$e.Axios=uo;$e.CanceledError=ws;$e.CancelToken=$w;$e.isCancel=uh;$e.VERSION=ph;$e.toFormData=na;$e.AxiosError=de;$e.Cancel=$e.CanceledError;$e.all=function(t){return Promise.all(t)};$e.spread=Pw;$e.isAxiosError=Rw;$e.mergeConfig=Zn;$e.AxiosHeaders=Sr;$e.formToJSON=e=>ch(I.isHTMLForm(e)?new FormData(e):e);$e.getAdapter=dh.getAdapter;$e.HttpStatusCode=Iw;$e.default=$e;const os=$e;var er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function sa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lw(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Nw=function(t){return Dw(t)&&!Fw(t)};function Dw(e){return!!e&&typeof e=="object"}function Fw(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||jw(e)}var Mw=typeof Symbol=="function"&&Symbol.for,Bw=Mw?Symbol.for("react.element"):60103;function jw(e){return e.$$typeof===Bw}function kw(e){return Array.isArray(e)?[]:{}}function as(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ei(kw(e),e,t):e}function Hw(e,t,r){return e.concat(t).map(function(n){return as(n,r)})}function Vw(e,t){if(!t.customMerge)return ei;var r=t.customMerge(e);return typeof r=="function"?r:ei}function Uw(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ef(e){return Object.keys(e).concat(Uw(e))}function gh(e,t){try{return t in e}catch{return!1}}function zw(e,t){return gh(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ww(e,t,r){var n={};return r.isMergeableObject(e)&&Ef(e).forEach(function(i){n[i]=as(e[i],r)}),Ef(t).forEach(function(i){zw(e,i)||(gh(e,i)&&r.isMergeableObject(t[i])?n[i]=Vw(i,r)(e[i],t[i],r):n[i]=as(t[i],r))}),n}function ei(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Hw,r.isMergeableObject=r.isMergeableObject||Nw,r.cloneUnlessOtherwiseSpecified=as;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):Ww(e,t,r):as(t,r)}ei.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ei(n,i,r)},{})};var Kw=ei,qw=Kw;const Gw=sa(qw);var Jw=Error,Xw=EvalError,Qw=RangeError,Yw=ReferenceError,mh=SyntaxError,_s=TypeError,Zw=URIError,e0=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Tf=typeof Symbol<"u"&&Symbol,t0=e0,r0=function(){return typeof Tf!="function"||typeof Symbol!="function"||typeof Tf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t0()},al={__proto__:null,foo:{}},n0=Object,i0=function(){return{__proto__:al}.foo===al.foo&&!(al instanceof n0)},s0="Function.prototype.bind called on incompatible ",o0=Object.prototype.toString,a0=Math.max,l0="[object Function]",Af=function(t,r){for(var n=[],i=0;i"u"||!Ne?ae:Ne(Uint8Array),En={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":Dn&&Ne?Ne([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":jn,"%AsyncGenerator%":jn,"%AsyncGeneratorFunction%":jn,"%AsyncIteratorPrototype%":jn,"%Atomics%":typeof Atomics>"u"?ae:Atomics,"%BigInt%":typeof BigInt>"u"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":y0,"%eval%":eval,"%EvalError%":v0,"%Float32Array%":typeof Float32Array>"u"?ae:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ae:FinalizationRegistry,"%Function%":yh,"%GeneratorFunction%":jn,"%Int8Array%":typeof Int8Array>"u"?ae:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ae:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Dn&&Ne?Ne(Ne([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map>"u"?ae:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Dn||!Ne?ae:Ne(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ae:Promise,"%Proxy%":typeof Proxy>"u"?ae:Proxy,"%RangeError%":b0,"%ReferenceError%":w0,"%Reflect%":typeof Reflect>"u"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ae:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Dn||!Ne?ae:Ne(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Dn&&Ne?Ne(""[Symbol.iterator]()):ae,"%Symbol%":Dn?Symbol:ae,"%SyntaxError%":ti,"%ThrowTypeError%":S0,"%TypedArray%":T0,"%TypeError%":Gn,"%Uint8Array%":typeof Uint8Array>"u"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ae:Uint32Array,"%URIError%":_0,"%WeakMap%":typeof WeakMap>"u"?ae:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ae:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ae:WeakSet};if(Ne)try{null.error}catch(e){var A0=Ne(Ne(e));En["%Error.prototype%"]=A0}var O0=function e(t){var r;if(t==="%AsyncFunction%")r=ll("async function () {}");else if(t==="%GeneratorFunction%")r=ll("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ll("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Ne&&(r=Ne(i.prototype))}return En[t]=r,r},Of={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ss=zc,Io=m0,x0=Ss.call(Function.call,Array.prototype.concat),C0=Ss.call(Function.apply,Array.prototype.splice),xf=Ss.call(Function.call,String.prototype.replace),Lo=Ss.call(Function.call,String.prototype.slice),$0=Ss.call(Function.call,RegExp.prototype.exec),P0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R0=/\\(\\)?/g,I0=function(t){var r=Lo(t,0,1),n=Lo(t,-1);if(r==="%"&&n!=="%")throw new ti("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new ti("invalid intrinsic syntax, expected opening `%`");var i=[];return xf(t,P0,function(s,o,a,c){i[i.length]=a?xf(c,R0,"$1"):o||s}),i},L0=function(t,r){var n=t,i;if(Io(Of,n)&&(i=Of[n],n="%"+i[0]+"%"),Io(En,n)){var s=En[n];if(s===jn&&(s=O0(n)),typeof s>"u"&&!r)throw new Gn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new ti("intrinsic "+t+" does not exist!")},li=function(t,r){if(typeof t!="string"||t.length===0)throw new Gn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Gn('"allowMissing" argument must be a boolean');if($0(/^%?[^%]*%?$/,t)===null)throw new ti("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=I0(t),i=n.length>0?n[0]:"",s=L0("%"+i+"%",r),o=s.name,a=s.value,c=!1,u=s.alias;u&&(i=u[0],C0(n,x0([0,1],u)));for(var f=1,d=!0;f=n.length){var m=Sn(a,h);d=!!m,d&&"get"in m&&!("originalValue"in m.get)?a=m.get:a=a[h]}else d=Io(a,h),a=a[h];d&&!c&&(En[o]=a)}}return a},vh={exports:{}},ul,Cf;function Wc(){if(Cf)return ul;Cf=1;var e=li,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return ul=t,ul}var N0=li,fo=N0("%Object.getOwnPropertyDescriptor%",!0);if(fo)try{fo([],"length")}catch{fo=null}var bh=fo,$f=Wc(),D0=mh,Fn=_s,Pf=bh,F0=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Fn("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Fn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Fn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Fn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Fn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Fn("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,c=!!Pf&&Pf(t,r);if($f)$f(t,r,{configurable:o===null&&c?c.configurable:!o,enumerable:i===null&&c?c.enumerable:!i,value:n,writable:s===null&&c?c.writable:!s});else if(a||!i&&!s&&!o)t[r]=n;else throw new D0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Gl=Wc(),wh=function(){return!!Gl};wh.hasArrayLengthDefineBug=function(){if(!Gl)return null;try{return Gl([],"length",{value:1}).length!==1}catch{return!0}};var M0=wh,B0=li,Rf=F0,j0=M0(),If=bh,Lf=_s,k0=B0("%Math.floor%"),H0=function(t,r){if(typeof t!="function")throw new Lf("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||k0(r)!==r)throw new Lf("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&If){var o=If(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(s=!1)}return(i||s||!n)&&(j0?Rf(t,"length",r,!0,!0):Rf(t,"length",r)),t};(function(e){var t=zc,r=li,n=H0,i=_s,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(o,s),c=Wc(),u=r("%Math.max%");e.exports=function(h){if(typeof h!="function")throw new i("a function is required");var y=a(t,o,arguments);return n(y,1+u(0,h.length-(arguments.length-1)),!0)};var f=function(){return a(t,s,arguments)};c?c(e.exports,"apply",{value:f}):e.exports.apply=f})(vh);var V0=vh.exports,_h=li,Sh=V0,U0=Sh(_h("String.prototype.indexOf")),z0=function(t,r){var n=_h(t,!!r);return typeof n=="function"&&U0(t,".prototype.")>-1?Sh(n):n};const W0={},K0=Object.freeze(Object.defineProperty({__proto__:null,default:W0},Symbol.toStringTag,{value:"Module"})),q0=Lw(K0);var Kc=typeof Map=="function"&&Map.prototype,fl=Object.getOwnPropertyDescriptor&&Kc?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,No=Kc&&fl&&typeof fl.get=="function"?fl.get:null,Nf=Kc&&Map.prototype.forEach,qc=typeof Set=="function"&&Set.prototype,dl=Object.getOwnPropertyDescriptor&&qc?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Do=qc&&dl&&typeof dl.get=="function"?dl.get:null,Df=qc&&Set.prototype.forEach,G0=typeof WeakMap=="function"&&WeakMap.prototype,Ui=G0?WeakMap.prototype.has:null,J0=typeof WeakSet=="function"&&WeakSet.prototype,zi=J0?WeakSet.prototype.has:null,X0=typeof WeakRef=="function"&&WeakRef.prototype,Ff=X0?WeakRef.prototype.deref:null,Q0=Boolean.prototype.valueOf,Y0=Object.prototype.toString,Z0=Function.prototype.toString,e_=String.prototype.match,Gc=String.prototype.slice,Vr=String.prototype.replace,t_=String.prototype.toUpperCase,Mf=String.prototype.toLowerCase,Eh=RegExp.prototype.test,Bf=Array.prototype.concat,Xt=Array.prototype.join,r_=Array.prototype.slice,jf=Math.floor,Jl=typeof BigInt=="function"?BigInt.prototype.valueOf:null,pl=Object.getOwnPropertySymbols,Xl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ri=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ye=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ri||"symbol")?Symbol.toStringTag:null,Th=Object.prototype.propertyIsEnumerable,kf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Hf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Eh.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-jf(-e):jf(e);if(n!==e){var i=String(n),s=Gc.call(t,i.length+1);return Vr.call(i,r,"$&_")+"."+Vr.call(Vr.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Vr.call(t,r,"$&_")}var Ql=q0,Vf=Ql.custom,Uf=Oh(Vf)?Vf:null,n_=function e(t,r,n,i){var s=r||{};if(Hr(s,"quoteStyle")&&s.quoteStyle!=="single"&&s.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Hr(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Hr(s,"customInspect")?s.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Hr(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Hr(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Ch(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return a?Hf(t,c):c}if(typeof t=="bigint"){var u=String(t)+"n";return a?Hf(t,u):u}var f=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=f&&f>0&&typeof t=="object")return Yl(t)?"[Array]":"[Object]";var d=__(s,n);if(typeof i>"u")i=[];else if(xh(i,t)>=0)return"[Circular]";function h(K,te,se){if(te&&(i=r_.call(i),i.push(te)),se){var U={depth:s.depth};return Hr(s,"quoteStyle")&&(U.quoteStyle=s.quoteStyle),e(K,U,n+1,i)}return e(K,s,n+1,i)}if(typeof t=="function"&&!zf(t)){var y=d_(t),g=Xs(t,h);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(g.length>0?" { "+Xt.call(g,", ")+" }":"")}if(Oh(t)){var m=ri?Vr.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Xl.call(t);return typeof t=="object"&&!ri?Ai(m):m}if(v_(t)){for(var E="<"+Mf.call(String(t.nodeName)),A=t.attributes||[],C=0;C",E}if(Yl(t)){if(t.length===0)return"[]";var w=Xs(t,h);return d&&!w_(w)?"["+Zl(w,d)+"]":"[ "+Xt.call(w,", ")+" ]"}if(o_(t)){var S=Xs(t,h);return!("cause"in Error.prototype)&&"cause"in t&&!Th.call(t,"cause")?"{ ["+String(t)+"] "+Xt.call(Bf.call("[cause]: "+h(t.cause),S),", ")+" }":S.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Xt.call(S,", ")+" }"}if(typeof t=="object"&&o){if(Uf&&typeof t[Uf]=="function"&&Ql)return Ql(t,{depth:f-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(p_(t)){var $=[];return Nf&&Nf.call(t,function(K,te){$.push(h(te,t,!0)+" => "+h(K,t))}),Wf("Map",No.call(t),$,d)}if(m_(t)){var T=[];return Df&&Df.call(t,function(K){T.push(h(K,t))}),Wf("Set",Do.call(t),T,d)}if(h_(t))return hl("WeakMap");if(y_(t))return hl("WeakSet");if(g_(t))return hl("WeakRef");if(l_(t))return Ai(h(Number(t)));if(u_(t))return Ai(h(Jl.call(t)));if(c_(t))return Ai(Q0.call(t));if(a_(t))return Ai(h(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===er)return"{ [object globalThis] }";if(!s_(t)&&!zf(t)){var R=Xs(t,h),P=kf?kf(t)===Object.prototype:t instanceof Object||t.constructor===Object,k=t instanceof Object?"":"null prototype",M=!P&&Ye&&Object(t)===t&&Ye in t?Gc.call(en(t),8,-1):k?"Object":"",W=P||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",D=W+(M||k?"["+Xt.call(Bf.call([],M||[],k||[]),": ")+"] ":"");return R.length===0?D+"{}":d?D+"{"+Zl(R,d)+"}":D+"{ "+Xt.call(R,", ")+" }"}return String(t)};function Ah(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function i_(e){return Vr.call(String(e),/"/g,""")}function Yl(e){return en(e)==="[object Array]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function s_(e){return en(e)==="[object Date]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function zf(e){return en(e)==="[object RegExp]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function o_(e){return en(e)==="[object Error]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function a_(e){return en(e)==="[object String]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function l_(e){return en(e)==="[object Number]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function c_(e){return en(e)==="[object Boolean]"&&(!Ye||!(typeof e=="object"&&Ye in e))}function Oh(e){if(ri)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Xl)return!1;try{return Xl.call(e),!0}catch{}return!1}function u_(e){if(!e||typeof e!="object"||!Jl)return!1;try{return Jl.call(e),!0}catch{}return!1}var f_=Object.prototype.hasOwnProperty||function(e){return e in this};function Hr(e,t){return f_.call(e,t)}function en(e){return Y0.call(e)}function d_(e){if(e.name)return e.name;var t=e_.call(Z0.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function xh(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Ch(Gc.call(e,0,t.maxStringLength),t)+n}var i=Vr.call(Vr.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,b_);return Ah(i,"single",t)}function b_(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t_.call(t.toString(16))}function Ai(e){return"Object("+e+")"}function hl(e){return e+" { ? }"}function Wf(e,t,r,n){var i=n?Zl(r,n):Xt.call(r,", ");return e+" ("+t+") {"+i+"}"}function w_(e){for(var t=0;t=0)return!1;return!0}function __(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Xt.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Xt.call(Array(t+1),r)}}function Zl(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+Xt.call(e,","+r)+` +`+t.prev}function Xs(e,t){var r=Yl(e),n=[];if(r){n.length=e.length;for(var i=0;i1;){var r=t.pop(),n=r.obj[r.prop];if(hn(n)){for(var i=[],s=0;s=yl?o.slice(c,c+yl):o,f=[],d=0;d=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||s===F_.RFC1738&&(h===40||h===41)){f[f.length]=u.charAt(d);continue}if(h<128){f[f.length]=Wt[h];continue}if(h<2048){f[f.length]=Wt[192|h>>6]+Wt[128|h&63];continue}if(h<55296||h>=57344){f[f.length]=Wt[224|h>>12]+Wt[128|h>>6&63]+Wt[128|h&63];continue}d+=1,h=65536+((h&1023)<<10|u.charCodeAt(d)&1023),f[f.length]=Wt[240|h>>18]+Wt[128|h>>12&63]+Wt[128|h>>6&63]+Wt[128|h&63]}a+=f.join("")}return a},V_=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i"u"&&($=0)}if(typeof f=="function"?w=f(r,w):w instanceof Date?w=y(w):n==="comma"&&Jt(w)&&(w=po.maybeMap(w,function(oe){return oe instanceof Date?y(oe):oe})),w===null){if(o)return u&&!E?u(r,Re.encoder,A,"key",g):r;w=""}if(X_(w)||po.isBuffer(w)){if(u){var P=E?r:u(r,Re.encoder,A,"key",g);return[m(P)+"="+m(u(w,Re.encoder,A,"value",g))]}return[m(r)+"="+m(String(w))]}var k=[];if(typeof w>"u")return k;var M;if(n==="comma"&&Jt(w))E&&u&&(w=po.maybeMap(w,u)),M=[{value:w.length>0?w.join(",")||null:void 0}];else if(Jt(f))M=f;else{var W=Object.keys(w);M=d?W.sort(d):W}var D=c?r.replace(/\./g,"%2E"):r,K=i&&Jt(w)&&w.length===1?D+"[]":D;if(s&&Jt(w)&&w.length===0)return K+"[]";for(var te=0;te"u"?t.encodeDotInKeys===!0?!0:Re.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Re.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Re.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Re.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Re.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Re.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Re.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Re.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Re.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Re.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Re.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Re.strictNullHandling}},Z_=function(e,t){var r=e,n=Y_(t),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Jt(n.filter)&&(s=n.filter,i=s);var o=[];if(typeof r!="object"||r===null)return"";var a=Lh[n.arrayFormat],c=a==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var u=Ih(),f=0;f0?y+h:""},ni=Rh,ec=Object.prototype.hasOwnProperty,eS=Array.isArray,Te={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ni.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},tS=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Dh=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},rS="utf8=%26%2310003%3B",nS="utf8=%E2%9C%93",iS=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,s=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,s),a=-1,c,u=r.charset;if(r.charsetSentinel)for(c=0;c-1&&(g=eS(g)?[g]:g);var m=ec.call(n,y);m&&r.duplicates==="combine"?n[y]=ni.combine(n[y],g):(!m||r.duplicates==="last")&&(n[y]=g)}return n},sS=function(e,t,r,n){for(var i=n?t:Dh(t,r),s=e.length-1;s>=0;--s){var o,a=e[s];if(a==="[]"&&r.parseArrays)o=r.allowEmptyArrays&&i===""?[]:[].concat(i);else{o=r.plainObjects?Object.create(null):{};var c=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=r.decodeDotInKeys?c.replace(/%2E/g,"."):c,f=parseInt(u,10);!r.parseArrays&&u===""?o={0:i}:!isNaN(f)&&a!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(o=[],o[f]=i):u!=="__proto__"&&(o[u]=i)}i=o}return i},oS=function(t,r,n,i){if(t){var s=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&o.exec(s),u=c?s.slice(0,c.index):s,f=[];if(u){if(!n.plainObjects&&ec.call(Object.prototype,u)&&!n.allowPrototypes)return;f.push(u)}for(var d=0;n.depth>0&&(c=a.exec(s))!==null&&d"u"?Te.charset:t.charset,n=typeof t.duplicates>"u"?Te.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:Te.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Te.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Te.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Te.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Te.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Te.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Te.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Te.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Te.decoder,delimiter:typeof t.delimiter=="string"||ni.isRegExp(t.delimiter)?t.delimiter:Te.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Te.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Te.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Te.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Te.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Te.strictNullHandling}},lS=function(e,t){var r=aS(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?iS(e,r):e,i=r.plainObjects?Object.create(null):{},s=Object.keys(n),o=0;o
'};r.configure=function(g){var m,E;for(m in g)E=g[m],E!==void 0&&g.hasOwnProperty(m)&&(n[m]=E);return this},r.status=null,r.set=function(g){var m=r.isStarted();g=i(g,n.minimum,1),r.status=g===1?null:g;var E=r.render(!m),A=E.querySelector(n.barSelector),C=n.speed,w=n.easing;return E.offsetWidth,a(function(S){n.positionUsing===""&&(n.positionUsing=r.getPositioningCSS()),c(A,o(g,C,w)),g===1?(c(E,{transition:"none",opacity:1}),E.offsetWidth,setTimeout(function(){c(E,{transition:"all "+C+"ms linear",opacity:0}),setTimeout(function(){r.remove(),S()},C)},C)):setTimeout(S,C)}),this},r.isStarted=function(){return typeof r.status=="number"},r.start=function(){r.status||r.set(0);var g=function(){setTimeout(function(){r.status&&(r.trickle(),g())},n.trickleSpeed)};return n.trickle&&g(),this},r.done=function(g){return!g&&!r.status?this:r.inc(.3+.5*Math.random()).set(1)},r.inc=function(g){var m=r.status;return m?(typeof g!="number"&&(g=(1-m)*i(Math.random()*m,.1,.95)),m=i(m+g,0,.994),r.set(m)):r.start()},r.trickle=function(){return r.inc(Math.random()*n.trickleRate)},function(){var g=0,m=0;r.promise=function(E){return!E||E.state()==="resolved"?this:(m===0&&r.start(),g++,m++,E.always(function(){m--,m===0?(g=0,r.done()):r.set((g-m)/g)}),this)}}(),r.render=function(g){if(r.isRendered())return document.getElementById("nprogress");f(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=n.template;var E=m.querySelector(n.barSelector),A=g?"-100":s(r.status||0),C=document.querySelector(n.parent),w;return c(E,{transition:"all 0 linear",transform:"translate3d("+A+"%,0,0)"}),n.showSpinner||(w=m.querySelector(n.spinnerSelector),w&&y(w)),C!=document.body&&f(C,"nprogress-custom-parent"),C.appendChild(m),m},r.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(n.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&y(g)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var g=document.body.style,m="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return m+"Perspective"in g?"translate3d":m+"Transform"in g?"translate":"margin"};function i(g,m,E){return gE?E:g}function s(g){return(-1+g)*100}function o(g,m,E){var A;return n.positionUsing==="translate3d"?A={transform:"translate3d("+s(g)+"%,0,0)"}:n.positionUsing==="translate"?A={transform:"translate("+s(g)+"%,0)"}:A={"margin-left":s(g)+"%"},A.transition="all "+m+"ms "+E,A}var a=function(){var g=[];function m(){var E=g.shift();E&&E(m)}return function(E){g.push(E),g.length==1&&m()}}(),c=function(){var g=["Webkit","O","Moz","ms"],m={};function E(S){return S.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function($,T){return T.toUpperCase()})}function A(S){var $=document.body.style;if(S in $)return S;for(var T=g.length,R=S.charAt(0).toUpperCase()+S.slice(1),P;T--;)if(P=g[T]+R,P in $)return P;return S}function C(S){return S=E(S),m[S]||(m[S]=A(S))}function w(S,$,T){$=C($),S.style[$]=T}return function(S,$){var T=arguments,R,P;if(T.length==2)for(R in $)P=$[R],P!==void 0&&$.hasOwnProperty(R)&&w(S,R,P);else w(S,T[1],T[2])}}();function u(g,m){var E=typeof g=="string"?g:h(g);return E.indexOf(" "+m+" ")>=0}function f(g,m){var E=h(g),A=E+m;u(E,m)||(g.className=A.substring(1))}function d(g,m){var E=h(g),A;u(g,m)&&(A=E.replace(" "+m+" "," "),g.className=A.substring(1,A.length-1))}function h(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function y(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return r})})(Fh);var dS=Fh.exports;const Yt=sa(dS);function Mh(e,t){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>e.apply(this,n),t)}}function Or(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var pS=e=>Or("before",{cancelable:!0,detail:{visit:e}}),hS=e=>Or("error",{detail:{errors:e}}),gS=e=>Or("exception",{cancelable:!0,detail:{exception:e}}),Gf=e=>Or("finish",{detail:{visit:e}}),mS=e=>Or("invalid",{cancelable:!0,detail:{response:e}}),Oi=e=>Or("navigate",{detail:{page:e}}),yS=e=>Or("progress",{detail:{progress:e}}),vS=e=>Or("start",{detail:{visit:e}}),bS=e=>Or("success",{detail:{page:e}});function tc(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some(t=>tc(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>tc(t))}function Bh(e,t=new FormData,r=null){e=e||{};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&kh(t,jh(r,n),e[n]);return t}function jh(e,t){return e?e+"["+t+"]":t}function kh(e,t,r){if(Array.isArray(r))return Array.from(r.keys()).forEach(n=>kh(e,jh(t,n.toString()),r[n]));if(r instanceof Date)return e.append(t,r.toISOString());if(r instanceof File)return e.append(t,r,r.name);if(r instanceof Blob)return e.append(t,r);if(typeof r=="boolean")return e.append(t,r?"1":"0");if(typeof r=="string")return e.append(t,r);if(typeof r=="number")return e.append(t,`${r}`);if(r==null)return e.append(t,"");Bh(r,e,t)}var wS={modal:null,listener:null,show(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.
${JSON.stringify(e)}`);let t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(n=>n.setAttribute("target","_top")),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide());let r=document.createElement("iframe");if(r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",this.modal.appendChild(r),document.body.prepend(this.modal),document.body.style.overflow="hidden",!r.contentWindow)throw new Error("iframe not yet ready.");r.contentWindow.document.open(),r.contentWindow.document.write(t.outerHTML),r.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}};function Mn(e){return new URL(e.toString(),window.location.toString())}function Hh(e,t,r,n="brackets"){let i=/^https?:\/\//.test(t.toString()),s=i||t.toString().startsWith("/"),o=!s&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),a=t.toString().includes("?")||e==="get"&&Object.keys(r).length,c=t.toString().includes("#"),u=new URL(t.toString(),"http://localhost");return e==="get"&&Object.keys(r).length&&(u.search=qf.stringify(Gw(qf.parse(u.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:n}),r={}),[[i?`${u.protocol}//${u.host}`:"",s?u.pathname:"",o?u.pathname.substring(1):"",a?u.search:"",c?u.hash:""].join(""),r]}function xi(e){return e=new URL(e.href),e.hash="",e}var Jf=typeof window>"u",_S=class{constructor(){this.visitId=null}init({initialPage:e,resolveComponent:t,swapComponent:r}){this.page=e,this.resolveComponent=t,this.swapComponent=r,this.setNavigationType(),this.clearRememberedStateOnReload(),this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()}setNavigationType(){this.navigationType=window.performance&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}clearRememberedStateOnReload(){var e;this.navigationType==="reload"&&((e=window.history.state)!=null&&e.rememberedState)&&delete window.history.state.rememberedState}handleInitialPageVisit(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then(()=>Oi(e))}setupEventListeners(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",Mh(this.handleScrollEvent.bind(this),100),!0)}scrollRegions(){return document.querySelectorAll("[scroll-region]")}handleScrollEvent(e){typeof e.target.hasAttribute=="function"&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()}saveScrollPositions(){this.replaceState({...this.page,scrollRegions:Array.from(this.scrollRegions()).map(e=>({top:e.scrollTop,left:e.scrollLeft}))})}resetScrollPositions(){window.scrollTo(0,0),this.scrollRegions().forEach(e=>{typeof e.scrollTo=="function"?e.scrollTo(0,0):(e.scrollTop=0,e.scrollLeft=0)}),this.saveScrollPositions(),window.location.hash&&setTimeout(()=>{var e;return(e=document.getElementById(window.location.hash.slice(1)))==null?void 0:e.scrollIntoView()})}restoreScrollPositions(){this.page.scrollRegions&&this.scrollRegions().forEach((e,t)=>{let r=this.page.scrollRegions[t];if(r)typeof e.scrollTo=="function"?e.scrollTo(r.left,r.top):(e.scrollTop=r.top,e.scrollLeft=r.left);else return})}isBackForwardVisit(){return window.history.state&&this.navigationType==="back_forward"}handleBackForwardVisit(e){window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(()=>{this.restoreScrollPositions(),Oi(e)})}locationVisit(e,t){try{let r={preserveScroll:t};window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify(r)),window.location.href=e.href,xi(window.location).href===xi(e).href&&window.location.reload()}catch{return!1}}isLocationVisit(){try{return window.sessionStorage.getItem("inertiaLocationVisit")!==null}catch{return!1}}handleLocationVisit(e){var r,n;let t=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=((r=window.history.state)==null?void 0:r.rememberedState)??{},e.scrollRegions=((n=window.history.state)==null?void 0:n.scrollRegions)??[],this.setPage(e,{preserveScroll:t.preserveScroll,preserveState:!0}).then(()=>{t.preserveScroll&&this.restoreScrollPositions(),Oi(e)})}isLocationVisitResponse(e){return!!(e&&e.status===409&&e.headers["x-inertia-location"])}isInertiaResponse(e){return!!(e!=null&&e.headers["x-inertia"])}createVisitId(){return this.visitId={},this.visitId}cancelVisit(e,{cancelled:t=!1,interrupted:r=!1}){e&&!e.completed&&!e.cancelled&&!e.interrupted&&(e.cancelToken.abort(),e.onCancel(),e.completed=!1,e.cancelled=t,e.interrupted=r,Gf(e),e.onFinish(e))}finishVisit(e){!e.cancelled&&!e.interrupted&&(e.completed=!0,e.cancelled=!1,e.interrupted=!1,Gf(e),e.onFinish(e))}resolvePreserveOption(e,t){return typeof e=="function"?e(t):e==="errors"?Object.keys(t.props.errors||{}).length>0:e}cancel(){this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}visit(e,{method:t="get",data:r={},replace:n=!1,preserveScroll:i=!1,preserveState:s=!1,only:o=[],headers:a={},errorBag:c="",forceFormData:u=!1,onCancelToken:f=()=>{},onBefore:d=()=>{},onStart:h=()=>{},onProgress:y=()=>{},onFinish:g=()=>{},onCancel:m=()=>{},onSuccess:E=()=>{},onError:A=()=>{},queryStringArrayFormat:C="brackets"}={}){let w=typeof e=="string"?Mn(e):e;if((tc(r)||u)&&!(r instanceof FormData)&&(r=Bh(r)),!(r instanceof FormData)){let[T,R]=Hh(t,w,r,C);w=Mn(T),r=R}let S={url:w,method:t,data:r,replace:n,preserveScroll:i,preserveState:s,only:o,headers:a,errorBag:c,forceFormData:u,queryStringArrayFormat:C,cancelled:!1,completed:!1,interrupted:!1};if(d(S)===!1||!pS(S))return;this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();let $=this.createVisitId();this.activeVisit={...S,onCancelToken:f,onBefore:d,onStart:h,onProgress:y,onFinish:g,onCancel:m,onSuccess:E,onError:A,queryStringArrayFormat:C,cancelToken:new AbortController},f({cancel:()=>{this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}}),vS(S),h(S),os({method:t,url:xi(w).href,data:t==="get"?{}:r,params:t==="get"?r:{},signal:this.activeVisit.cancelToken.signal,headers:{...a,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,...o.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":o.join(",")}:{},...c&&c.length?{"X-Inertia-Error-Bag":c}:{},...this.page.version?{"X-Inertia-Version":this.page.version}:{}},onUploadProgress:T=>{r instanceof FormData&&(T.percentage=T.progress?Math.round(T.progress*100):0,yS(T),y(T))}}).then(T=>{var M;if(!this.isInertiaResponse(T))return Promise.reject({response:T});let R=T.data;o.length&&R.component===this.page.component&&(R.props={...this.page.props,...R.props}),i=this.resolvePreserveOption(i,R),s=this.resolvePreserveOption(s,R),s&&((M=window.history.state)!=null&&M.rememberedState)&&R.component===this.page.component&&(R.rememberedState=window.history.state.rememberedState);let P=w,k=Mn(R.url);return P.hash&&!k.hash&&xi(P).href===k.href&&(k.hash=P.hash,R.url=k.href),this.setPage(R,{visitId:$,replace:n,preserveScroll:i,preserveState:s})}).then(()=>{let T=this.page.props.errors||{};if(Object.keys(T).length>0){let R=c?T[c]?T[c]:{}:T;return hS(R),A(R)}return bS(this.page),E(this.page)}).catch(T=>{if(this.isInertiaResponse(T.response))return this.setPage(T.response.data,{visitId:$});if(this.isLocationVisitResponse(T.response)){let R=Mn(T.response.headers["x-inertia-location"]),P=w;P.hash&&!R.hash&&xi(P).href===R.href&&(R.hash=P.hash),this.locationVisit(R,i===!0)}else if(T.response)mS(T.response)&&wS.show(T.response.data);else return Promise.reject(T)}).then(()=>{this.activeVisit&&this.finishVisit(this.activeVisit)}).catch(T=>{if(!os.isCancel(T)){let R=gS(T);if(this.activeVisit&&this.finishVisit(this.activeVisit),R)return Promise.reject(T)}})}setPage(e,{visitId:t=this.createVisitId(),replace:r=!1,preserveScroll:n=!1,preserveState:i=!1}={}){return Promise.resolve(this.resolveComponent(e.component)).then(s=>{t===this.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},r=r||Mn(e.url).href===window.location.href,r?this.replaceState(e):this.pushState(e),this.swapComponent({component:s,page:e,preserveState:i}).then(()=>{n||this.resetScrollPositions(),r||Oi(e)}))})}pushState(e){this.page=e,window.history.pushState(e,"",e.url)}replaceState(e){this.page=e,window.history.replaceState(e,"",e.url)}handlePopstateEvent(e){if(e.state!==null){let t=e.state,r=this.createVisitId();Promise.resolve(this.resolveComponent(t.component)).then(n=>{r===this.visitId&&(this.page=t,this.swapComponent({component:n,page:t,preserveState:!1}).then(()=>{this.restoreScrollPositions(),Oi(t)}))})}else{let t=Mn(this.page.url);t.hash=window.location.hash,this.replaceState({...this.page,url:t.href}),this.resetScrollPositions()}}get(e,t={},r={}){return this.visit(e,{...r,method:"get",data:t})}reload(e={}){return this.visit(window.location.href,{...e,preserveScroll:!0,preserveState:!0})}replace(e,t={}){return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${t.method??"get"}() instead.`),this.visit(e,{preserveState:!0,...t,replace:!0})}post(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"post",data:t})}put(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"put",data:t})}patch(e,t={},r={}){return this.visit(e,{preserveState:!0,...r,method:"patch",data:t})}delete(e,t={}){return this.visit(e,{preserveState:!0,...t,method:"delete"})}remember(e,t="default"){var r;Jf||this.replaceState({...this.page,rememberedState:{...(r=this.page)==null?void 0:r.rememberedState,[t]:e}})}restore(e="default"){var t,r;if(!Jf)return(r=(t=window.history.state)==null?void 0:t.rememberedState)==null?void 0:r[e]}on(e,t){let r=n=>{let i=t(n);n.cancelable&&!n.defaultPrevented&&i===!1&&n.preventDefault()};return document.addEventListener(`inertia:${e}`,r),()=>document.removeEventListener(`inertia:${e}`,r)}},SS={buildDOMElement(e){let t=document.createElement("template");t.innerHTML=e;let r=t.content.firstChild;if(!e.startsWith("