diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 4d869bc..a6ed5fa 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,10 +2,9 @@ namespace App\Exceptions; +use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; -use Illuminate\Auth\AuthenticationException; -use Illuminate\Http\Request; use Throwable; class Handler extends ExceptionHandler @@ -36,7 +35,7 @@ public function register() $this->renderable(function (NotFoundHttpException $e, $request) { if ($request->is('api/*')) { return response()->json([ - 'status' => -1 + 'status' => -1, ], 404); } }); @@ -52,21 +51,15 @@ public function register() public function render($request, Throwable $exception) { - if ($exception instanceof NotFoundHttpException) - { + if ($exception instanceof NotFoundHttpException) { - } - else if ($exception instanceof AuthenticationException) - { + } elseif ($exception instanceof AuthenticationException) { - } - else - { + } else { inspector()->reportException($exception); - } + } //default laravel response return parent::render($request, $exception); } - } diff --git a/app/Helpers/FirstParty/OpenAI/OpenAI.php b/app/Helpers/FirstParty/OpenAI/OpenAI.php index 6bca988..cb42a31 100644 --- a/app/Helpers/FirstParty/OpenAI/OpenAI.php +++ b/app/Helpers/FirstParty/OpenAI/OpenAI.php @@ -4,12 +4,9 @@ use Exception; use Illuminate\Support\Facades\Http; - use Illuminate\Support\Facades\Log; - use Illuminate\Support\Str; - class OpenAI { public static function writeArticle($title, $description, $article_type, $min, $max) @@ -62,7 +59,6 @@ public static function createNewArticleTitle($current_title, $supporting_data) return in following json format {\"main_keyword\":\"(Main Keyword)\",\"title\":\"(Title in 90-130 letters)\",\"short_title\":\"(Short Title in 30-40 letters)\",\"article_type\":\"(How-tos|Guides|Interview|Review|Commentary|Feature|News|Editorial|Report|Research|Case-study|Overview|Tutorial|Update|Spotlight|Insights)\",\"description\":\"(Cliffhanger SEO description based on main keyword, do not start with action verb)\",\"photo_keywords\":[\"photo keyword 1\",\"photo keyword 2\"]}"; - $supporting_data = Str::substr($supporting_data, 0, 2100); $user_prompt = "Article Title: {$current_title}\n Article Description: {$supporting_data}\n"; @@ -103,29 +99,26 @@ public static function suggestArticleTitles($current_title, $supporting_data, $s public static function chatCompletion($system_prompt, $user_prompt, $model, $max_token = 2500) { try { - $response = Http::timeout(800)->withToken(config('platform.ai.openai.api_key')) - ->post('https://api.openai.com/v1/chat/completions', [ - 'model' => $model, - 'max_tokens' => $max_token, - 'messages' => [ - ['role' => 'system', 'content' => $system_prompt], - ['role' => 'user', 'content' => $user_prompt], - ], - ]); + $response = Http::timeout(800)->withToken(config('platform.ai.openai.api_key')) + ->post('https://api.openai.com/v1/chat/completions', [ + 'model' => $model, + 'max_tokens' => $max_token, + 'messages' => [ + ['role' => 'system', 'content' => $system_prompt], + ['role' => 'user', 'content' => $user_prompt], + ], + ]); + $json_response = json_decode($response->body()); - $json_response = json_decode($response->body()); + $reply = $json_response?->choices[0]?->message?->content; - $reply = $json_response?->choices[0]?->message?->content; - - return $reply; + return $reply; + } catch (Exception $e) { + Log::error($response->body()); + inspector()->reportException($e); + throw ($e); } - catch(Exception $e) { - Log::error($response->body()); - inspector()->reportException($e); - throw($e); - } - return null; diff --git a/app/Http/Controllers/Front/FrontListController.php b/app/Http/Controllers/Front/FrontListController.php index ac5cfbe..108fd84 100644 --- a/app/Http/Controllers/Front/FrontListController.php +++ b/app/Http/Controllers/Front/FrontListController.php @@ -5,13 +5,19 @@ use App\Http\Controllers\Controller; use App\Models\Category; use App\Models\Post; +use App\Models\PostCategory; use Artesaos\SEOTools\Facades\SEOTools; use Illuminate\Http\Request; +use JsonLd\Context; class FrontListController extends Controller { public function index(Request $request) { + $breadcrumbs = collect([ + ['name' => 'Home', 'url' => route('front.home')], + ['name' => 'Latest News', 'url' => null], // or you can set a route for Latest News if there's a specific one + ]); $title = 'Latest News from EchoScoop'; @@ -23,23 +29,69 @@ public function index(Request $request) $posts = Post::where('status', 'publish')->orderBy('published_at', 'desc')->simplePaginate(10) ?? collect(); - return view('front.post_list', compact('posts')); + // breadcrumb json ld + $listItems = []; + + foreach ($breadcrumbs as $index => $breadcrumb) { + $listItems[] = [ + 'name' => $breadcrumb['name'], + 'url' => $breadcrumb['url'], + ]; + } + + $breadcrumb_context = Context::create('breadcrumb_list', [ + 'itemListElement' => $listItems, + ]); + + return view('front.post_list', compact('posts', 'breadcrumbs', 'breadcrumb_context')); } public function category(Request $request, $category_slug) { + // Fetch the category by slug $category = Category::where('slug', $category_slug)->first(); - $posts = $category?->posts()->where('status', 'publish')->orderBy('published_at', 'desc')->simplePaginate(10) ?? collect(); + // Check if the category exists + if (! $category) { + abort(404, 'Category not found'); + } + + // Breadcrumb logic + $breadcrumbs = collect([['name' => 'Home', 'url' => route('front.home')]]); + foreach ($category->ancestors as $ancestor) { + $breadcrumbs->push(['name' => $ancestor->name, 'url' => route('front.category', $ancestor->slug)]); + } + $breadcrumbs->push(['name' => $category->name, 'url' => route('front.category', $category->slug)]); + + // Get the IDs of the category and its descendants + $categoryIds = $category->descendants->pluck('id')->push($category->id); + + // Get the posts associated with these category IDs + $postIds = PostCategory::whereIn('category_id', $categoryIds)->pluck('post_id'); + $posts = Post::whereIn('id', $postIds)->where('status', 'publish')->orderBy('published_at', 'desc')->simplePaginate(10); $title = $category->name.' News from EchoScoop'; SEOTools::metatags(); SEOTools::twitter(); SEOTools::opengraph(); - SEOTools::jsonLd(); SEOTools::setTitle($title, false); + SEOTools::jsonLd(); - return view('front.post_list', compact('category', 'posts')); + // breadcrumb json ld + $listItems = []; + + foreach ($breadcrumbs as $index => $breadcrumb) { + $listItems[] = [ + 'name' => $breadcrumb['name'], + 'url' => $breadcrumb['url'], + ]; + } + + $breadcrumb_context = Context::create('breadcrumb_list', [ + 'itemListElement' => $listItems, + ]); + + return view('front.post_list', compact('category', 'posts', 'breadcrumbs', 'breadcrumb_context')); } } diff --git a/app/Http/Controllers/Front/FrontPostController.php b/app/Http/Controllers/Front/FrontPostController.php index 431b93a..7f0d4d4 100644 --- a/app/Http/Controllers/Front/FrontPostController.php +++ b/app/Http/Controllers/Front/FrontPostController.php @@ -9,6 +9,7 @@ use Artesaos\SEOTools\Facades\SEOMeta; use GrahamCampbell\Markdown\Facades\Markdown; use Illuminate\Http\Request; +use JsonLd\Context; use Symfony\Component\DomCrawler\Crawler; class FrontPostController extends Controller @@ -25,11 +26,36 @@ public function index(Request $request, $slug) //dd($content); $content = $this->injectBootstrapClasses($content); - $content = $this->injectTableOfContents($content); $content = $this->injectFeaturedImage($post, $content); + $content = $this->injectPublishDateAndAuthor($post, $content); + $content = $this->injectTableOfContents($content); $post_description = $post->excerpt.' '.$post->title.' by EchoScoop.'; + // Generate breadcrumb data + $breadcrumbs = collect([ + ['name' => 'Home', 'url' => route('front.home')], + ]); + + if ($post->category) { + foreach ($post->category->ancestors as $ancestor) { + $breadcrumbs->push([ + 'name' => $ancestor->name, + 'url' => route('front.category', $ancestor->slug), + ]); + } + + $breadcrumbs->push([ + 'name' => $post->category->name, + 'url' => route('front.category', $post->category->slug), + ]); + } + + $breadcrumbs->push([ + 'name' => $post->title, + 'url' => url()->current(), // The current page URL; the breadcrumb is not clickable + ]); + SEOMeta::setTitle($post->title, false); SEOMeta::setDescription($post_description); SEOMeta::addMeta('article:published_time', $post->published_at->format('Y-m-d'), 'property'); @@ -68,7 +94,21 @@ public function index(Request $request, $slug) ->addValue('description', $post_description) ->addValue('articleBody', trim(preg_replace('/\s\s+/', ' ', strip_tags($content)))); - return view('front.single_post', compact('post', 'content')); + // breadcrumb json ld + $listItems = []; + + foreach ($breadcrumbs as $index => $breadcrumb) { + $listItems[] = [ + 'name' => $breadcrumb['name'], + 'url' => $breadcrumb['url'], + ]; + } + + $breadcrumb_context = Context::create('breadcrumb_list', [ + 'itemListElement' => $listItems, + ]); + + return view('front.single_post', compact('post', 'content', 'breadcrumbs', 'breadcrumb_context')); } private function injectBootstrapClasses($content) @@ -77,7 +117,7 @@ private function injectBootstrapClasses($content) // Handle Headings $crawler->filter('h1')->each(function (Crawler $node) { - $node->getNode(0)->setAttribute('class', trim($node->attr('class').' display-6 fw-bolder mt-3 mb-4')); + $node->getNode(0)->setAttribute('class', trim($node->attr('class').' display-6 fw-bolder mt-3 mb-2')); }); $crawler->filter('h2')->each(function (Crawler $node) { @@ -171,6 +211,20 @@ private function injectTableOfContents($html) return $updatedHtml; } + private function injectPublishDateAndAuthor($post, $content) + { + $publishedAtFormatted = $post->published_at->format('F j, Y'); + $authorName = $post->author->name; + + // Create the HTML structure for publish date and author + $publishInfo = "
Published on {$publishedAtFormatted} by {$authorName}
"; + + // Inject the publish date and author information after the `h1` tag + $content = preg_replace('/(<\/h1>)/', '$1'.$publishInfo, $content, 1); + + return $content; + } + private function injectFeaturedImage($post, $content) { if (! empty($post->featured_image)) { diff --git a/composer.json b/composer.json index d75fba4..f205098 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,7 @@ "spatie/laravel-sitemap": "^6.3", "symfony/dom-crawler": "^6.3", "tightenco/ziggy": "^1.6", + "torann/json-ld": "^0.0.19", "watson/active": "^7.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 06c78f2..e828e83 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ac19e61afee15da0e8592f2bfb9acf73", + "content-hash": "fb76a666f8ab1204f862fedada072f42", "packages": [ { "name": "artesaos/seotools", @@ -7352,6 +7352,61 @@ }, "time": "2023-01-03T09:29:04+00:00" }, + { + "name": "torann/json-ld", + "version": "0.0.19", + "source": { + "type": "git", + "url": "https://github.com/Torann/json-ld.git", + "reference": "45738178c8eeea28a30925826537e87c3020de5a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Torann/json-ld/zipball/45738178c8eeea28a30925826537e87c3020de5a", + "reference": "45738178c8eeea28a30925826537e87c3020de5a", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "~5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.1-dev" + } + }, + "autoload": { + "psr-4": { + "JsonLd\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Daniel Stainback", + "email": "torann@gmail.com" + } + ], + "description": "Extremely simple JSON-LD markup generator.", + "keywords": [ + "JSON-LD", + "generator", + "schema", + "structured-data" + ], + "support": { + "issues": "https://github.com/Torann/json-ld/issues", + "source": "https://github.com/Torann/json-ld/tree/0.0.19" + }, + "time": "2020-03-10T17:25:19+00:00" + }, { "name": "vlucas/phpdotenv", "version": "v5.5.0", diff --git a/config/app.php b/config/app.php index 8ffc4a6..3ec0e18 100644 --- a/config/app.php +++ b/config/app.php @@ -185,6 +185,7 @@ */ 'aliases' => Facade::defaultAliases()->merge([ + 'SEOTools' => Artesaos\SEOTools\Facades\SEOTools::class, 'SEOMeta' => Artesaos\SEOTools\Facades\SEOMeta::class, 'OpenGraph' => Artesaos\SEOTools\Facades\OpenGraph::class, 'Twitter' => Artesaos\SEOTools\Facades\TwitterCard::class, diff --git a/database/seeders/NewCategorySeeder.php b/database/seeders/NewCategorySeeder.php index b7f0ae9..29424e7 100644 --- a/database/seeders/NewCategorySeeder.php +++ b/database/seeders/NewCategorySeeder.php @@ -12,10 +12,10 @@ class NewCategorySeeder extends Seeder */ public function run(): void { - $node = Category::create(['name' => 'AI', 'short_name' => 'AI']); + $node = Category::create(['name' => 'AI', 'short_name' => 'AI']); - $parent = Category::find(37); + $parent = Category::find(37); - $node->appendToNode($parent)->save(); + $node->appendToNode($parent)->save(); } } diff --git a/public/build/assets/LqipLoader-2067e882.js b/public/build/assets/LqipLoader-c6f23121.js similarity index 85% rename from public/build/assets/LqipLoader-2067e882.js rename to public/build/assets/LqipLoader-c6f23121.js index b0606db..5cadb58 100644 --- a/public/build/assets/LqipLoader-2067e882.js +++ b/public/build/assets/LqipLoader-c6f23121.js @@ -1 +1 @@ -import{_ as i}from"./vue-8b92bff6.js";const n={name:"LqipLoader",mounted(){this.initLqipLoading()},methods:{initLqipLoading(){const e=document.getElementsByTagName("img");for(let t=0;t{const t=s.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e.component(t,l(a))});e.mount("#app"); +import{_ as o,o as p,c,a as r,b as u,p as i,d as m,e as g,f as _,g as d,v as f,Z as n,h as l}from"./vue-7fd555b6.js";const A={name:"AppAuth"};function $(s,a,t,Z,w,x){return p(),c("div")}const h=o(A,[["render",$]]),e=r({AppAuth:h}),v=Object.assign({});e.use(u());e.use(i,m);e.use(g);e.use(_);e.use(d);e.use(f.ZiggyVue,n);window.Ziggy=n;Object.entries({...v}).forEach(([s,a])=>{const t=s.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e.component(t,l(a))});e.mount("#app"); diff --git a/public/build/assets/app-front-c970ee86.js b/public/build/assets/app-front-98ac14b0.js similarity index 99% rename from public/build/assets/app-front-c970ee86.js rename to public/build/assets/app-front-98ac14b0.js index 04ea89f..1ba17e3 100644 --- a/public/build/assets/app-front-c970ee86.js +++ b/public/build/assets/app-front-98ac14b0.js @@ -1,5 +1,5 @@ -import{_ as di,o as fi,c as pi,a as _i,b as mi,p as gi,d as Ei,e as vi,f as bi,g as Ai,v as Ti,Z as rs,h as yi}from"./vue-8b92bff6.js";const wi="modulepreload",Oi=function(n){return"/build/"+n},Tn={},Ci=function(t,e,s){if(!e||e.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(e.map(r=>{if(r=Oi(r),r in Tn)return;Tn[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===r&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const h=document.createElement("link");if(h.rel=o?"stylesheet":wi,o||(h.as="script",h.crossOrigin=""),h.href=r,document.head.appendChild(h),o)return new Promise((u,f)=>{h.addEventListener("load",u),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})};var L="top",R="bottom",x="right",I="left",pe="auto",Pt=[L,R,x,I],_t="start",Ct="end",os="clippingParents",Ge="viewport",Tt="popper",as="reference",Be=Pt.reduce(function(n,t){return n.concat([t+"-"+_t,t+"-"+Ct])},[]),qe=[].concat(Pt,[pe]).reduce(function(n,t){return n.concat([t,t+"-"+_t,t+"-"+Ct])},[]),cs="beforeRead",ls="read",us="afterRead",hs="beforeMain",ds="main",fs="afterMain",ps="beforeWrite",_s="write",ms="afterWrite",gs=[cs,ls,us,hs,ds,fs,ps,_s,ms];function z(n){return n?(n.nodeName||"").toLowerCase():null}function k(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function mt(n){var t=k(n).Element;return n instanceof t||n instanceof Element}function V(n){var t=k(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Xe(n){if(typeof ShadowRoot>"u")return!1;var t=k(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function Ni(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var s=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];!V(r)||!z(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function Si(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(s){var i=t.elements[s],r=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:e[s]),a=o.reduce(function(l,h){return l[h]="",l},{});!V(i)||!z(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(l){i.removeAttribute(l)}))})}}const Qe={name:"applyStyles",enabled:!0,phase:"write",fn:Ni,effect:Si,requires:["computeStyles"]};function Y(n){return n.split("-")[0]}var pt=Math.max,ue=Math.min,Nt=Math.round;function je(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Es(){return!/^((?!chrome|android).)*safari/i.test(je())}function St(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var s=n.getBoundingClientRect(),i=1,r=1;t&&V(n)&&(i=n.offsetWidth>0&&Nt(s.width)/n.offsetWidth||1,r=n.offsetHeight>0&&Nt(s.height)/n.offsetHeight||1);var o=mt(n)?k(n):window,a=o.visualViewport,l=!Es()&&e,h=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/i,_=s.height/r;return{width:f,height:_,top:u,right:h+f,bottom:u+_,left:h,x:h,y:u}}function Ze(n){var t=St(n),e=n.offsetWidth,s=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:s}}function vs(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&Xe(e)){var s=t;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function X(n){return k(n).getComputedStyle(n)}function Di(n){return["table","td","th"].indexOf(z(n))>=0}function st(n){return((mt(n)?n.ownerDocument:n.document)||window.document).documentElement}function _e(n){return z(n)==="html"?n:n.assignedSlot||n.parentNode||(Xe(n)?n.host:null)||st(n)}function yn(n){return!V(n)||X(n).position==="fixed"?null:n.offsetParent}function $i(n){var t=/firefox/i.test(je()),e=/Trident/i.test(je());if(e&&V(n)){var s=X(n);if(s.position==="fixed")return null}var i=_e(n);for(Xe(i)&&(i=i.host);V(i)&&["html","body"].indexOf(z(i))<0;){var r=X(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function Kt(n){for(var t=k(n),e=yn(n);e&&Di(e)&&X(e).position==="static";)e=yn(e);return e&&(z(e)==="html"||z(e)==="body"&&X(e).position==="static")?t:e||$i(n)||t}function Je(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Bt(n,t,e){return pt(n,ue(t,e))}function Li(n,t,e){var s=Bt(n,t,e);return s>e?e:s}function bs(){return{top:0,right:0,bottom:0,left:0}}function As(n){return Object.assign({},bs(),n)}function Ts(n,t){return t.reduce(function(e,s){return e[s]=n,e},{})}var Ii=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,As(typeof t!="number"?t:Ts(t,Pt))};function Pi(n){var t,e=n.state,s=n.name,i=n.options,r=e.elements.arrow,o=e.modifiersData.popperOffsets,a=Y(e.placement),l=Je(a),h=[I,x].indexOf(a)>=0,u=h?"height":"width";if(!(!r||!o)){var f=Ii(i.padding,e),_=Ze(r),p=l==="y"?L:I,A=l==="y"?R:x,m=e.rects.reference[u]+e.rects.reference[l]-o[l]-e.rects.popper[u],E=o[l]-e.rects.reference[l],T=Kt(r),w=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,O=m/2-E/2,g=f[p],v=w-_[u]-f[A],b=w/2-_[u]/2+O,y=Bt(g,b,v),S=l;e.modifiersData[s]=(t={},t[S]=y,t.centerOffset=y-b,t)}}function Mi(n){var t=n.state,e=n.options,s=e.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||vs(t.elements.popper,i)&&(t.elements.arrow=i))}const ys={name:"arrow",enabled:!0,phase:"main",fn:Pi,effect:Mi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dt(n){return n.split("-")[1]}var Ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xi(n,t){var e=n.x,s=n.y,i=t.devicePixelRatio||1;return{x:Nt(e*i)/i||0,y:Nt(s*i)/i||0}}function wn(n){var t,e=n.popper,s=n.popperRect,i=n.placement,r=n.variation,o=n.offsets,a=n.position,l=n.gpuAcceleration,h=n.adaptive,u=n.roundOffsets,f=n.isFixed,_=o.x,p=_===void 0?0:_,A=o.y,m=A===void 0?0:A,E=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=E.x,m=E.y;var T=o.hasOwnProperty("x"),w=o.hasOwnProperty("y"),O=I,g=L,v=window;if(h){var b=Kt(e),y="clientHeight",S="clientWidth";if(b===k(e)&&(b=st(e),X(b).position!=="static"&&a==="absolute"&&(y="scrollHeight",S="scrollWidth")),b=b,i===L||(i===I||i===x)&&r===Ct){g=R;var N=f&&b===v&&v.visualViewport?v.visualViewport.height:b[y];m-=N-s.height,m*=l?1:-1}if(i===I||(i===L||i===R)&&r===Ct){O=x;var C=f&&b===v&&v.visualViewport?v.visualViewport.width:b[S];p-=C-s.width,p*=l?1:-1}}var D=Object.assign({position:a},h&&Ri),j=u===!0?xi({x:p,y:m},k(e)):{x:p,y:m};if(p=j.x,m=j.y,l){var $;return Object.assign({},D,($={},$[g]=w?"0":"",$[O]=T?"0":"",$.transform=(v.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",$))}return Object.assign({},D,(t={},t[g]=w?m+"px":"",t[O]=T?p+"px":"",t.transform="",t))}function ki(n){var t=n.state,e=n.options,s=e.gpuAcceleration,i=s===void 0?!0:s,r=e.adaptive,o=r===void 0?!0:r,a=e.roundOffsets,l=a===void 0?!0:a,h={placement:Y(t.placement),variation:Dt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wn(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wn(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const tn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ki,data:{}};var te={passive:!0};function Vi(n){var t=n.state,e=n.instance,s=n.options,i=s.scroll,r=i===void 0?!0:i,o=s.resize,a=o===void 0?!0:o,l=k(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&h.forEach(function(u){u.addEventListener("scroll",e.update,te)}),a&&l.addEventListener("resize",e.update,te),function(){r&&h.forEach(function(u){u.removeEventListener("scroll",e.update,te)}),a&&l.removeEventListener("resize",e.update,te)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vi,data:{}};var Hi={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(n){return n.replace(/left|right|bottom|top/g,function(t){return Hi[t]})}var Wi={start:"end",end:"start"};function On(n){return n.replace(/start|end/g,function(t){return Wi[t]})}function nn(n){var t=k(n),e=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:e,scrollTop:s}}function sn(n){return St(st(n)).left+nn(n).scrollLeft}function Bi(n,t){var e=k(n),s=st(n),i=e.visualViewport,r=s.clientWidth,o=s.clientHeight,a=0,l=0;if(i){r=i.width,o=i.height;var h=Es();(h||!h&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:r,height:o,x:a+sn(n),y:l}}function ji(n){var t,e=st(n),s=nn(n),i=(t=n.ownerDocument)==null?void 0:t.body,r=pt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=pt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+sn(n),l=-s.scrollTop;return X(i||e).direction==="rtl"&&(a+=pt(e.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}function rn(n){var t=X(n),e=t.overflow,s=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+s)}function ws(n){return["html","body","#document"].indexOf(z(n))>=0?n.ownerDocument.body:V(n)&&rn(n)?n:ws(_e(n))}function jt(n,t){var e;t===void 0&&(t=[]);var s=ws(n),i=s===((e=n.ownerDocument)==null?void 0:e.body),r=k(s),o=i?[r].concat(r.visualViewport||[],rn(s)?s:[]):s,a=t.concat(o);return i?a:a.concat(jt(_e(o)))}function Fe(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Fi(n,t){var e=St(n,!1,t==="fixed");return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}function Cn(n,t,e){return t===Ge?Fe(Bi(n,e)):mt(t)?Fi(t,e):Fe(ji(st(n)))}function Ki(n){var t=jt(_e(n)),e=["absolute","fixed"].indexOf(X(n).position)>=0,s=e&&V(n)?Kt(n):n;return mt(s)?t.filter(function(i){return mt(i)&&vs(i,s)&&z(i)!=="body"}):[]}function Yi(n,t,e,s){var i=t==="clippingParents"?Ki(n):[].concat(t),r=[].concat(i,[e]),o=r[0],a=r.reduce(function(l,h){var u=Cn(n,h,s);return l.top=pt(u.top,l.top),l.right=ue(u.right,l.right),l.bottom=ue(u.bottom,l.bottom),l.left=pt(u.left,l.left),l},Cn(n,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Os(n){var t=n.reference,e=n.element,s=n.placement,i=s?Y(s):null,r=s?Dt(s):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(i){case L:l={x:o,y:t.y-e.height};break;case R:l={x:o,y:t.y+t.height};break;case x:l={x:t.x+t.width,y:a};break;case I:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var h=i?Je(i):null;if(h!=null){var u=h==="y"?"height":"width";switch(r){case _t:l[h]=l[h]-(t[u]/2-e[u]/2);break;case Ct:l[h]=l[h]+(t[u]/2-e[u]/2);break}}return l}function $t(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=s===void 0?n.placement:s,r=e.strategy,o=r===void 0?n.strategy:r,a=e.boundary,l=a===void 0?os:a,h=e.rootBoundary,u=h===void 0?Ge:h,f=e.elementContext,_=f===void 0?Tt:f,p=e.altBoundary,A=p===void 0?!1:p,m=e.padding,E=m===void 0?0:m,T=As(typeof E!="number"?E:Ts(E,Pt)),w=_===Tt?as:Tt,O=n.rects.popper,g=n.elements[A?w:_],v=Yi(mt(g)?g:g.contextElement||st(n.elements.popper),l,u,o),b=St(n.elements.reference),y=Os({reference:b,element:O,strategy:"absolute",placement:i}),S=Fe(Object.assign({},O,y)),N=_===Tt?S:b,C={top:v.top-N.top+T.top,bottom:N.bottom-v.bottom+T.bottom,left:v.left-N.left+T.left,right:N.right-v.right+T.right},D=n.modifiersData.offset;if(_===Tt&&D){var j=D[i];Object.keys(C).forEach(function($){var at=[x,R].indexOf($)>=0?1:-1,ct=[L,R].indexOf($)>=0?"y":"x";C[$]+=j[ct]*at})}return C}function Ui(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=e.boundary,r=e.rootBoundary,o=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,h=l===void 0?qe:l,u=Dt(s),f=u?a?Be:Be.filter(function(A){return Dt(A)===u}):Pt,_=f.filter(function(A){return h.indexOf(A)>=0});_.length===0&&(_=f);var p=_.reduce(function(A,m){return A[m]=$t(n,{placement:m,boundary:i,rootBoundary:r,padding:o})[Y(m)],A},{});return Object.keys(p).sort(function(A,m){return p[A]-p[m]})}function zi(n){if(Y(n)===pe)return[];var t=ae(n);return[On(n),t,On(t)]}function Gi(n){var t=n.state,e=n.options,s=n.name;if(!t.modifiersData[s]._skip){for(var i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!0:o,l=e.fallbackPlacements,h=e.padding,u=e.boundary,f=e.rootBoundary,_=e.altBoundary,p=e.flipVariations,A=p===void 0?!0:p,m=e.allowedAutoPlacements,E=t.options.placement,T=Y(E),w=T===E,O=l||(w||!A?[ae(E)]:zi(E)),g=[E].concat(O).reduce(function(vt,Z){return vt.concat(Y(Z)===pe?Ui(t,{placement:Z,boundary:u,rootBoundary:f,padding:h,flipVariations:A,allowedAutoPlacements:m}):Z)},[]),v=t.rects.reference,b=t.rects.popper,y=new Map,S=!0,N=g[0],C=0;C=0,ct=at?"width":"height",M=$t(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:_,padding:h}),F=at?$?x:I:$?R:L;v[ct]>b[ct]&&(F=ae(F));var qt=ae(F),lt=[];if(r&<.push(M[j]<=0),a&<.push(M[F]<=0,M[qt]<=0),lt.every(function(vt){return vt})){N=D,S=!1;break}y.set(D,lt)}if(S)for(var Xt=A?3:1,Te=function(Z){var Vt=g.find(function(Zt){var ut=y.get(Zt);if(ut)return ut.slice(0,Z).every(function(ye){return ye})});if(Vt)return N=Vt,"break"},kt=Xt;kt>0;kt--){var Qt=Te(kt);if(Qt==="break")break}t.placement!==N&&(t.modifiersData[s]._skip=!0,t.placement=N,t.reset=!0)}}const Cs={name:"flip",enabled:!0,phase:"main",fn:Gi,requiresIfExists:["offset"],data:{_skip:!1}};function Nn(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function Sn(n){return[L,x,R,I].some(function(t){return n[t]>=0})}function qi(n){var t=n.state,e=n.name,s=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=$t(t,{elementContext:"reference"}),a=$t(t,{altBoundary:!0}),l=Nn(o,s),h=Nn(a,i,r),u=Sn(l),f=Sn(h);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:h,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Ns={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qi};function Xi(n,t,e){var s=Y(n),i=[I,L].indexOf(s)>=0?-1:1,r=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,o=r[0],a=r[1];return o=o||0,a=(a||0)*i,[I,x].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function Qi(n){var t=n.state,e=n.options,s=n.name,i=e.offset,r=i===void 0?[0,0]:i,o=qe.reduce(function(u,f){return u[f]=Xi(f,t.rects,r),u},{}),a=o[t.placement],l=a.x,h=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=h),t.modifiersData[s]=o}const Ss={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Qi};function Zi(n){var t=n.state,e=n.name;t.modifiersData[e]=Os({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const on={name:"popperOffsets",enabled:!0,phase:"read",fn:Zi,data:{}};function Ji(n){return n==="x"?"y":"x"}function tr(n){var t=n.state,e=n.options,s=n.name,i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!1:o,l=e.boundary,h=e.rootBoundary,u=e.altBoundary,f=e.padding,_=e.tether,p=_===void 0?!0:_,A=e.tetherOffset,m=A===void 0?0:A,E=$t(t,{boundary:l,rootBoundary:h,padding:f,altBoundary:u}),T=Y(t.placement),w=Dt(t.placement),O=!w,g=Je(T),v=Ji(g),b=t.modifiersData.popperOffsets,y=t.rects.reference,S=t.rects.popper,N=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,C=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(b){if(r){var $,at=g==="y"?L:I,ct=g==="y"?R:x,M=g==="y"?"height":"width",F=b[g],qt=F+E[at],lt=F-E[ct],Xt=p?-S[M]/2:0,Te=w===_t?y[M]:S[M],kt=w===_t?-S[M]:-y[M],Qt=t.elements.arrow,vt=p&&Qt?Ze(Qt):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:bs(),Vt=Z[at],Zt=Z[ct],ut=Bt(0,y[M],vt[M]),ye=O?y[M]/2-Xt-ut-Vt-C.mainAxis:Te-ut-Vt-C.mainAxis,oi=O?-y[M]/2+Xt+ut+Zt+C.mainAxis:kt+ut+Zt+C.mainAxis,we=t.elements.arrow&&Kt(t.elements.arrow),ai=we?g==="y"?we.clientTop||0:we.clientLeft||0:0,fn=($=D==null?void 0:D[g])!=null?$:0,ci=F+ye-fn-ai,li=F+oi-fn,pn=Bt(p?ue(qt,ci):qt,F,p?pt(lt,li):lt);b[g]=pn,j[g]=pn-F}if(a){var _n,ui=g==="x"?L:I,hi=g==="x"?R:x,ht=b[v],Jt=v==="y"?"height":"width",mn=ht+E[ui],gn=ht-E[hi],Oe=[L,I].indexOf(T)!==-1,En=(_n=D==null?void 0:D[v])!=null?_n:0,vn=Oe?mn:ht-y[Jt]-S[Jt]-En+C.altAxis,bn=Oe?ht+y[Jt]+S[Jt]-En-C.altAxis:gn,An=p&&Oe?Li(vn,ht,bn):Bt(p?vn:mn,ht,p?bn:gn);b[v]=An,j[v]=An-ht}t.modifiersData[s]=j}}const Ds={name:"preventOverflow",enabled:!0,phase:"main",fn:tr,requiresIfExists:["offset"]};function er(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function nr(n){return n===k(n)||!V(n)?nn(n):er(n)}function sr(n){var t=n.getBoundingClientRect(),e=Nt(t.width)/n.offsetWidth||1,s=Nt(t.height)/n.offsetHeight||1;return e!==1||s!==1}function ir(n,t,e){e===void 0&&(e=!1);var s=V(t),i=V(t)&&sr(t),r=st(t),o=St(n,i,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!e)&&((z(t)!=="body"||rn(r))&&(a=nr(t)),V(t)?(l=St(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=sn(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function rr(n){var t=new Map,e=new Set,s=[];n.forEach(function(r){t.set(r.name,r)});function i(r){e.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&i(l)}}),s.push(r)}return n.forEach(function(r){e.has(r.name)||i(r)}),s}function or(n){var t=rr(n);return gs.reduce(function(e,s){return e.concat(t.filter(function(i){return i.phase===s}))},[])}function ar(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function cr(n){var t=n.reduce(function(e,s){var i=e[s.name];return e[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,e},{});return Object.keys(t).map(function(e){return t[e]})}var Dn={placement:"bottom",modifiers:[],strategy:"absolute"};function $n(){for(var n=arguments.length,t=new Array(n),e=0;e{if(r=Oi(r),r in Tn)return;Tn[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const f=i[u];if(f.href===r&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const h=document.createElement("link");if(h.rel=o?"stylesheet":wi,o||(h.as="script",h.crossOrigin=""),h.href=r,document.head.appendChild(h),o)return new Promise((u,f)=>{h.addEventListener("load",u),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})};var L="top",R="bottom",x="right",I="left",pe="auto",Pt=[L,R,x,I],_t="start",Ct="end",os="clippingParents",Ge="viewport",Tt="popper",as="reference",Be=Pt.reduce(function(n,t){return n.concat([t+"-"+_t,t+"-"+Ct])},[]),qe=[].concat(Pt,[pe]).reduce(function(n,t){return n.concat([t,t+"-"+_t,t+"-"+Ct])},[]),cs="beforeRead",ls="read",us="afterRead",hs="beforeMain",ds="main",fs="afterMain",ps="beforeWrite",_s="write",ms="afterWrite",gs=[cs,ls,us,hs,ds,fs,ps,_s,ms];function z(n){return n?(n.nodeName||"").toLowerCase():null}function k(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function mt(n){var t=k(n).Element;return n instanceof t||n instanceof Element}function V(n){var t=k(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Xe(n){if(typeof ShadowRoot>"u")return!1;var t=k(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function Ni(n){var t=n.state;Object.keys(t.elements).forEach(function(e){var s=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];!V(r)||!z(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function Si(n){var t=n.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(s){var i=t.elements[s],r=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:e[s]),a=o.reduce(function(l,h){return l[h]="",l},{});!V(i)||!z(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(l){i.removeAttribute(l)}))})}}const Qe={name:"applyStyles",enabled:!0,phase:"write",fn:Ni,effect:Si,requires:["computeStyles"]};function Y(n){return n.split("-")[0]}var pt=Math.max,ue=Math.min,Nt=Math.round;function je(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Es(){return!/^((?!chrome|android).)*safari/i.test(je())}function St(n,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var s=n.getBoundingClientRect(),i=1,r=1;t&&V(n)&&(i=n.offsetWidth>0&&Nt(s.width)/n.offsetWidth||1,r=n.offsetHeight>0&&Nt(s.height)/n.offsetHeight||1);var o=mt(n)?k(n):window,a=o.visualViewport,l=!Es()&&e,h=(s.left+(l&&a?a.offsetLeft:0))/i,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/i,_=s.height/r;return{width:f,height:_,top:u,right:h+f,bottom:u+_,left:h,x:h,y:u}}function Ze(n){var t=St(n),e=n.offsetWidth,s=n.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:n.offsetLeft,y:n.offsetTop,width:e,height:s}}function vs(n,t){var e=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(e&&Xe(e)){var s=t;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function X(n){return k(n).getComputedStyle(n)}function Di(n){return["table","td","th"].indexOf(z(n))>=0}function st(n){return((mt(n)?n.ownerDocument:n.document)||window.document).documentElement}function _e(n){return z(n)==="html"?n:n.assignedSlot||n.parentNode||(Xe(n)?n.host:null)||st(n)}function yn(n){return!V(n)||X(n).position==="fixed"?null:n.offsetParent}function $i(n){var t=/firefox/i.test(je()),e=/Trident/i.test(je());if(e&&V(n)){var s=X(n);if(s.position==="fixed")return null}var i=_e(n);for(Xe(i)&&(i=i.host);V(i)&&["html","body"].indexOf(z(i))<0;){var r=X(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function Kt(n){for(var t=k(n),e=yn(n);e&&Di(e)&&X(e).position==="static";)e=yn(e);return e&&(z(e)==="html"||z(e)==="body"&&X(e).position==="static")?t:e||$i(n)||t}function Je(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Bt(n,t,e){return pt(n,ue(t,e))}function Li(n,t,e){var s=Bt(n,t,e);return s>e?e:s}function bs(){return{top:0,right:0,bottom:0,left:0}}function As(n){return Object.assign({},bs(),n)}function Ts(n,t){return t.reduce(function(e,s){return e[s]=n,e},{})}var Ii=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,As(typeof t!="number"?t:Ts(t,Pt))};function Pi(n){var t,e=n.state,s=n.name,i=n.options,r=e.elements.arrow,o=e.modifiersData.popperOffsets,a=Y(e.placement),l=Je(a),h=[I,x].indexOf(a)>=0,u=h?"height":"width";if(!(!r||!o)){var f=Ii(i.padding,e),_=Ze(r),p=l==="y"?L:I,A=l==="y"?R:x,m=e.rects.reference[u]+e.rects.reference[l]-o[l]-e.rects.popper[u],E=o[l]-e.rects.reference[l],T=Kt(r),w=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,O=m/2-E/2,g=f[p],v=w-_[u]-f[A],b=w/2-_[u]/2+O,y=Bt(g,b,v),S=l;e.modifiersData[s]=(t={},t[S]=y,t.centerOffset=y-b,t)}}function Mi(n){var t=n.state,e=n.options,s=e.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||vs(t.elements.popper,i)&&(t.elements.arrow=i))}const ys={name:"arrow",enabled:!0,phase:"main",fn:Pi,effect:Mi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Dt(n){return n.split("-")[1]}var Ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xi(n,t){var e=n.x,s=n.y,i=t.devicePixelRatio||1;return{x:Nt(e*i)/i||0,y:Nt(s*i)/i||0}}function wn(n){var t,e=n.popper,s=n.popperRect,i=n.placement,r=n.variation,o=n.offsets,a=n.position,l=n.gpuAcceleration,h=n.adaptive,u=n.roundOffsets,f=n.isFixed,_=o.x,p=_===void 0?0:_,A=o.y,m=A===void 0?0:A,E=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=E.x,m=E.y;var T=o.hasOwnProperty("x"),w=o.hasOwnProperty("y"),O=I,g=L,v=window;if(h){var b=Kt(e),y="clientHeight",S="clientWidth";if(b===k(e)&&(b=st(e),X(b).position!=="static"&&a==="absolute"&&(y="scrollHeight",S="scrollWidth")),b=b,i===L||(i===I||i===x)&&r===Ct){g=R;var N=f&&b===v&&v.visualViewport?v.visualViewport.height:b[y];m-=N-s.height,m*=l?1:-1}if(i===I||(i===L||i===R)&&r===Ct){O=x;var C=f&&b===v&&v.visualViewport?v.visualViewport.width:b[S];p-=C-s.width,p*=l?1:-1}}var D=Object.assign({position:a},h&&Ri),j=u===!0?xi({x:p,y:m},k(e)):{x:p,y:m};if(p=j.x,m=j.y,l){var $;return Object.assign({},D,($={},$[g]=w?"0":"",$[O]=T?"0":"",$.transform=(v.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",$))}return Object.assign({},D,(t={},t[g]=w?m+"px":"",t[O]=T?p+"px":"",t.transform="",t))}function ki(n){var t=n.state,e=n.options,s=e.gpuAcceleration,i=s===void 0?!0:s,r=e.adaptive,o=r===void 0?!0:r,a=e.roundOffsets,l=a===void 0?!0:a,h={placement:Y(t.placement),variation:Dt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wn(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wn(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const tn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ki,data:{}};var te={passive:!0};function Vi(n){var t=n.state,e=n.instance,s=n.options,i=s.scroll,r=i===void 0?!0:i,o=s.resize,a=o===void 0?!0:o,l=k(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&h.forEach(function(u){u.addEventListener("scroll",e.update,te)}),a&&l.addEventListener("resize",e.update,te),function(){r&&h.forEach(function(u){u.removeEventListener("scroll",e.update,te)}),a&&l.removeEventListener("resize",e.update,te)}}const en={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vi,data:{}};var Hi={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(n){return n.replace(/left|right|bottom|top/g,function(t){return Hi[t]})}var Wi={start:"end",end:"start"};function On(n){return n.replace(/start|end/g,function(t){return Wi[t]})}function nn(n){var t=k(n),e=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:e,scrollTop:s}}function sn(n){return St(st(n)).left+nn(n).scrollLeft}function Bi(n,t){var e=k(n),s=st(n),i=e.visualViewport,r=s.clientWidth,o=s.clientHeight,a=0,l=0;if(i){r=i.width,o=i.height;var h=Es();(h||!h&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:r,height:o,x:a+sn(n),y:l}}function ji(n){var t,e=st(n),s=nn(n),i=(t=n.ownerDocument)==null?void 0:t.body,r=pt(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=pt(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+sn(n),l=-s.scrollTop;return X(i||e).direction==="rtl"&&(a+=pt(e.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:l}}function rn(n){var t=X(n),e=t.overflow,s=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+s)}function ws(n){return["html","body","#document"].indexOf(z(n))>=0?n.ownerDocument.body:V(n)&&rn(n)?n:ws(_e(n))}function jt(n,t){var e;t===void 0&&(t=[]);var s=ws(n),i=s===((e=n.ownerDocument)==null?void 0:e.body),r=k(s),o=i?[r].concat(r.visualViewport||[],rn(s)?s:[]):s,a=t.concat(o);return i?a:a.concat(jt(_e(o)))}function Fe(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Fi(n,t){var e=St(n,!1,t==="fixed");return e.top=e.top+n.clientTop,e.left=e.left+n.clientLeft,e.bottom=e.top+n.clientHeight,e.right=e.left+n.clientWidth,e.width=n.clientWidth,e.height=n.clientHeight,e.x=e.left,e.y=e.top,e}function Cn(n,t,e){return t===Ge?Fe(Bi(n,e)):mt(t)?Fi(t,e):Fe(ji(st(n)))}function Ki(n){var t=jt(_e(n)),e=["absolute","fixed"].indexOf(X(n).position)>=0,s=e&&V(n)?Kt(n):n;return mt(s)?t.filter(function(i){return mt(i)&&vs(i,s)&&z(i)!=="body"}):[]}function Yi(n,t,e,s){var i=t==="clippingParents"?Ki(n):[].concat(t),r=[].concat(i,[e]),o=r[0],a=r.reduce(function(l,h){var u=Cn(n,h,s);return l.top=pt(u.top,l.top),l.right=ue(u.right,l.right),l.bottom=ue(u.bottom,l.bottom),l.left=pt(u.left,l.left),l},Cn(n,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Os(n){var t=n.reference,e=n.element,s=n.placement,i=s?Y(s):null,r=s?Dt(s):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(i){case L:l={x:o,y:t.y-e.height};break;case R:l={x:o,y:t.y+t.height};break;case x:l={x:t.x+t.width,y:a};break;case I:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var h=i?Je(i):null;if(h!=null){var u=h==="y"?"height":"width";switch(r){case _t:l[h]=l[h]-(t[u]/2-e[u]/2);break;case Ct:l[h]=l[h]+(t[u]/2-e[u]/2);break}}return l}function $t(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=s===void 0?n.placement:s,r=e.strategy,o=r===void 0?n.strategy:r,a=e.boundary,l=a===void 0?os:a,h=e.rootBoundary,u=h===void 0?Ge:h,f=e.elementContext,_=f===void 0?Tt:f,p=e.altBoundary,A=p===void 0?!1:p,m=e.padding,E=m===void 0?0:m,T=As(typeof E!="number"?E:Ts(E,Pt)),w=_===Tt?as:Tt,O=n.rects.popper,g=n.elements[A?w:_],v=Yi(mt(g)?g:g.contextElement||st(n.elements.popper),l,u,o),b=St(n.elements.reference),y=Os({reference:b,element:O,strategy:"absolute",placement:i}),S=Fe(Object.assign({},O,y)),N=_===Tt?S:b,C={top:v.top-N.top+T.top,bottom:N.bottom-v.bottom+T.bottom,left:v.left-N.left+T.left,right:N.right-v.right+T.right},D=n.modifiersData.offset;if(_===Tt&&D){var j=D[i];Object.keys(C).forEach(function($){var at=[x,R].indexOf($)>=0?1:-1,ct=[L,R].indexOf($)>=0?"y":"x";C[$]+=j[ct]*at})}return C}function Ui(n,t){t===void 0&&(t={});var e=t,s=e.placement,i=e.boundary,r=e.rootBoundary,o=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,h=l===void 0?qe:l,u=Dt(s),f=u?a?Be:Be.filter(function(A){return Dt(A)===u}):Pt,_=f.filter(function(A){return h.indexOf(A)>=0});_.length===0&&(_=f);var p=_.reduce(function(A,m){return A[m]=$t(n,{placement:m,boundary:i,rootBoundary:r,padding:o})[Y(m)],A},{});return Object.keys(p).sort(function(A,m){return p[A]-p[m]})}function zi(n){if(Y(n)===pe)return[];var t=ae(n);return[On(n),t,On(t)]}function Gi(n){var t=n.state,e=n.options,s=n.name;if(!t.modifiersData[s]._skip){for(var i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!0:o,l=e.fallbackPlacements,h=e.padding,u=e.boundary,f=e.rootBoundary,_=e.altBoundary,p=e.flipVariations,A=p===void 0?!0:p,m=e.allowedAutoPlacements,E=t.options.placement,T=Y(E),w=T===E,O=l||(w||!A?[ae(E)]:zi(E)),g=[E].concat(O).reduce(function(vt,Z){return vt.concat(Y(Z)===pe?Ui(t,{placement:Z,boundary:u,rootBoundary:f,padding:h,flipVariations:A,allowedAutoPlacements:m}):Z)},[]),v=t.rects.reference,b=t.rects.popper,y=new Map,S=!0,N=g[0],C=0;C=0,ct=at?"width":"height",M=$t(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:_,padding:h}),F=at?$?x:I:$?R:L;v[ct]>b[ct]&&(F=ae(F));var qt=ae(F),lt=[];if(r&<.push(M[j]<=0),a&<.push(M[F]<=0,M[qt]<=0),lt.every(function(vt){return vt})){N=D,S=!1;break}y.set(D,lt)}if(S)for(var Xt=A?3:1,Te=function(Z){var Vt=g.find(function(Zt){var ut=y.get(Zt);if(ut)return ut.slice(0,Z).every(function(ye){return ye})});if(Vt)return N=Vt,"break"},kt=Xt;kt>0;kt--){var Qt=Te(kt);if(Qt==="break")break}t.placement!==N&&(t.modifiersData[s]._skip=!0,t.placement=N,t.reset=!0)}}const Cs={name:"flip",enabled:!0,phase:"main",fn:Gi,requiresIfExists:["offset"],data:{_skip:!1}};function Nn(n,t,e){return e===void 0&&(e={x:0,y:0}),{top:n.top-t.height-e.y,right:n.right-t.width+e.x,bottom:n.bottom-t.height+e.y,left:n.left-t.width-e.x}}function Sn(n){return[L,x,R,I].some(function(t){return n[t]>=0})}function qi(n){var t=n.state,e=n.name,s=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=$t(t,{elementContext:"reference"}),a=$t(t,{altBoundary:!0}),l=Nn(o,s),h=Nn(a,i,r),u=Sn(l),f=Sn(h);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:h,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Ns={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qi};function Xi(n,t,e){var s=Y(n),i=[I,L].indexOf(s)>=0?-1:1,r=typeof e=="function"?e(Object.assign({},t,{placement:n})):e,o=r[0],a=r[1];return o=o||0,a=(a||0)*i,[I,x].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function Qi(n){var t=n.state,e=n.options,s=n.name,i=e.offset,r=i===void 0?[0,0]:i,o=qe.reduce(function(u,f){return u[f]=Xi(f,t.rects,r),u},{}),a=o[t.placement],l=a.x,h=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=h),t.modifiersData[s]=o}const Ss={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Qi};function Zi(n){var t=n.state,e=n.name;t.modifiersData[e]=Os({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const on={name:"popperOffsets",enabled:!0,phase:"read",fn:Zi,data:{}};function Ji(n){return n==="x"?"y":"x"}function tr(n){var t=n.state,e=n.options,s=n.name,i=e.mainAxis,r=i===void 0?!0:i,o=e.altAxis,a=o===void 0?!1:o,l=e.boundary,h=e.rootBoundary,u=e.altBoundary,f=e.padding,_=e.tether,p=_===void 0?!0:_,A=e.tetherOffset,m=A===void 0?0:A,E=$t(t,{boundary:l,rootBoundary:h,padding:f,altBoundary:u}),T=Y(t.placement),w=Dt(t.placement),O=!w,g=Je(T),v=Ji(g),b=t.modifiersData.popperOffsets,y=t.rects.reference,S=t.rects.popper,N=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,C=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(b){if(r){var $,at=g==="y"?L:I,ct=g==="y"?R:x,M=g==="y"?"height":"width",F=b[g],qt=F+E[at],lt=F-E[ct],Xt=p?-S[M]/2:0,Te=w===_t?y[M]:S[M],kt=w===_t?-S[M]:-y[M],Qt=t.elements.arrow,vt=p&&Qt?Ze(Qt):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:bs(),Vt=Z[at],Zt=Z[ct],ut=Bt(0,y[M],vt[M]),ye=O?y[M]/2-Xt-ut-Vt-C.mainAxis:Te-ut-Vt-C.mainAxis,oi=O?-y[M]/2+Xt+ut+Zt+C.mainAxis:kt+ut+Zt+C.mainAxis,we=t.elements.arrow&&Kt(t.elements.arrow),ai=we?g==="y"?we.clientTop||0:we.clientLeft||0:0,fn=($=D==null?void 0:D[g])!=null?$:0,ci=F+ye-fn-ai,li=F+oi-fn,pn=Bt(p?ue(qt,ci):qt,F,p?pt(lt,li):lt);b[g]=pn,j[g]=pn-F}if(a){var _n,ui=g==="x"?L:I,hi=g==="x"?R:x,ht=b[v],Jt=v==="y"?"height":"width",mn=ht+E[ui],gn=ht-E[hi],Oe=[L,I].indexOf(T)!==-1,En=(_n=D==null?void 0:D[v])!=null?_n:0,vn=Oe?mn:ht-y[Jt]-S[Jt]-En+C.altAxis,bn=Oe?ht+y[Jt]+S[Jt]-En-C.altAxis:gn,An=p&&Oe?Li(vn,ht,bn):Bt(p?vn:mn,ht,p?bn:gn);b[v]=An,j[v]=An-ht}t.modifiersData[s]=j}}const Ds={name:"preventOverflow",enabled:!0,phase:"main",fn:tr,requiresIfExists:["offset"]};function er(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function nr(n){return n===k(n)||!V(n)?nn(n):er(n)}function sr(n){var t=n.getBoundingClientRect(),e=Nt(t.width)/n.offsetWidth||1,s=Nt(t.height)/n.offsetHeight||1;return e!==1||s!==1}function ir(n,t,e){e===void 0&&(e=!1);var s=V(t),i=V(t)&&sr(t),r=st(t),o=St(n,i,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!e)&&((z(t)!=="body"||rn(r))&&(a=nr(t)),V(t)?(l=St(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=sn(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function rr(n){var t=new Map,e=new Set,s=[];n.forEach(function(r){t.set(r.name,r)});function i(r){e.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&i(l)}}),s.push(r)}return n.forEach(function(r){e.has(r.name)||i(r)}),s}function or(n){var t=rr(n);return gs.reduce(function(e,s){return e.concat(t.filter(function(i){return i.phase===s}))},[])}function ar(n){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(n())})})),t}}function cr(n){var t=n.reduce(function(e,s){var i=e[s.name];return e[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,e},{});return Object.keys(t).map(function(e){return t[e]})}var Dn={placement:"bottom",modifiers:[],strategy:"absolute"};function $n(){for(var n=arguments.length,t=new Array(n),e=0;e(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),_r=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),mr=n=>{do n+=Math.floor(Math.random()*fr);while(document.getElementById(n));return n},gr=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n);const s=Number.parseFloat(t),i=Number.parseFloat(e);return!s&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*pr)},Is=n=>{n.dispatchEvent(new Event(Ke))},G=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),tt=n=>G(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Ls(n)):null,Mt=n=>{if(!G(n)||n.getClientRects().length===0)return!1;const t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){const s=n.closest("summary");if(s&&s.parentNode!==e||s===null)return!1}return t},et=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Ps=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Ps(n.parentNode):null},he=()=>{},Yt=n=>{n.offsetHeight},Ms=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ne=[],Er=n=>{document.readyState==="loading"?(Ne.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ne)t()}),Ne.push(n)):n()},H=()=>document.documentElement.dir==="rtl",B=n=>{Er(()=>{const t=Ms();if(t){const e=n.NAME,s=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=s,n.jQueryInterface)}})},P=(n,t=[],e=n)=>typeof n=="function"?n(...t):e,Rs=(n,t,e=!0)=>{if(!e){P(n);return}const s=5,i=gr(t)+s;let r=!1;const o=({target:a})=>{a===t&&(r=!0,t.removeEventListener(Ke,o),P(n))};t.addEventListener(Ke,o),setTimeout(()=>{r||Is(t)},i)},cn=(n,t,e,s)=>{const i=n.length;let r=n.indexOf(t);return r===-1?!e&&s?n[i-1]:n[0]:(r+=e?1:-1,s&&(r=(r+i)%i),n[Math.max(0,Math.min(r,i-1))])},vr=/[^.]*(?=\..*)\.|.*/,br=/\..*/,Ar=/::\d+$/,Se={};let Ln=1;const xs={mouseenter:"mouseover",mouseleave:"mouseout"},Tr=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ks(n,t){return t&&`${t}::${Ln++}`||n.uidEvent||Ln++}function Vs(n){const t=ks(n);return n.uidEvent=t,Se[t]=Se[t]||{},Se[t]}function yr(n,t){return function e(s){return ln(s,{delegateTarget:n}),e.oneOff&&c.off(n,s.type,t),t.apply(n,[s])}}function wr(n,t,e){return function s(i){const r=n.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return ln(i,{delegateTarget:o}),s.oneOff&&c.off(n,i.type,t,e),e.apply(o,[i])}}function Hs(n,t,e=null){return Object.values(n).find(s=>s.callable===t&&s.delegationSelector===e)}function Ws(n,t,e){const s=typeof t=="string",i=s?e:t||e;let r=Bs(n);return Tr.has(r)||(r=n),[s,i,r]}function In(n,t,e,s,i){if(typeof t!="string"||!n)return;let[r,o,a]=Ws(t,e,s);t in xs&&(o=(A=>function(m){if(!m.relatedTarget||m.relatedTarget!==m.delegateTarget&&!m.delegateTarget.contains(m.relatedTarget))return A.call(this,m)})(o));const l=Vs(n),h=l[a]||(l[a]={}),u=Hs(h,o,r?e:null);if(u){u.oneOff=u.oneOff&&i;return}const f=ks(o,t.replace(vr,"")),_=r?wr(n,e,o):yr(n,o);_.delegationSelector=r?e:null,_.callable=o,_.oneOff=i,_.uidEvent=f,h[f]=_,n.addEventListener(a,_,r)}function Ye(n,t,e,s,i){const r=Hs(t[e],s,i);r&&(n.removeEventListener(e,r,!!i),delete t[e][r.uidEvent])}function Or(n,t,e,s){const i=t[e]||{};for(const[r,o]of Object.entries(i))r.includes(s)&&Ye(n,t,e,o.callable,o.delegationSelector)}function Bs(n){return n=n.replace(br,""),xs[n]||n}const c={on(n,t,e,s){In(n,t,e,s,!1)},one(n,t,e,s){In(n,t,e,s,!0)},off(n,t,e,s){if(typeof t!="string"||!n)return;const[i,r,o]=Ws(t,e,s),a=o!==t,l=Vs(n),h=l[o]||{},u=t.startsWith(".");if(typeof r<"u"){if(!Object.keys(h).length)return;Ye(n,l,o,r,i?e:null);return}if(u)for(const f of Object.keys(l))Or(n,l,f,t.slice(1));for(const[f,_]of Object.entries(h)){const p=f.replace(Ar,"");(!a||t.includes(p))&&Ye(n,l,o,_.callable,_.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;const s=Ms(),i=Bs(t),r=t!==i;let o=null,a=!0,l=!0,h=!1;r&&s&&(o=s.Event(t,e),s(n).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),h=o.isDefaultPrevented());const u=ln(new Event(t,{bubbles:a,cancelable:!0}),e);return h&&u.preventDefault(),l&&n.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function ln(n,t={}){for(const[e,s]of Object.entries(t))try{n[e]=s}catch{Object.defineProperty(n,e,{configurable:!0,get(){return s}})}return n}function Pn(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function De(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const q={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${De(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${De(t)}`)},getDataAttributes(n){if(!n)return{};const t={},e=Object.keys(n.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of e){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=Pn(n.dataset[s])}return t},getDataAttribute(n,t){return Pn(n.getAttribute(`data-bs-${De(t)}`))}};class Ut{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const s=G(e)?q.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...G(e)?q.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[s,i]of Object.entries(e)){const r=t[s],o=G(r)?"element":_r(r);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${i}".`)}}}const Cr="5.3.2";class K extends Ut{constructor(t,e){super(),t=tt(t),t&&(this._element=t,this._config=this._getConfig(e),Ce.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ce.remove(this._element,this.constructor.DATA_KEY),c.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){Rs(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Ce.get(tt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return Cr}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const $e=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?Ls(e.trim()):null}return t},d={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){const e=[];let s=n.parentNode.closest(t);for(;s;)e.push(s),s=s.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!et(e)&&Mt(e))},getSelectorFromElement(n){const t=$e(n);return t&&d.findOne(t)?t:null},getElementFromSelector(n){const t=$e(n);return t?d.findOne(t):null},getMultipleElementsFromSelector(n){const t=$e(n);return t?d.find(t):[]}},ge=(n,t="hide")=>{const e=`click.dismiss${n.EVENT_KEY}`,s=n.NAME;c.on(document,e,`[data-bs-dismiss="${s}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),et(this))return;const r=d.getElementFromSelector(this)||this.closest(`.${s}`);n.getOrCreateInstance(r)[t]()})},Nr="alert",Sr="bs.alert",js=`.${Sr}`,Dr=`close${js}`,$r=`closed${js}`,Lr="fade",Ir="show";class Ee extends K{static get NAME(){return Nr}close(){if(c.trigger(this._element,Dr).defaultPrevented)return;this._element.classList.remove(Ir);const e=this._element.classList.contains(Lr);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),c.trigger(this._element,$r),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Ee.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ge(Ee,"close");B(Ee);const Pr="button",Mr="bs.button",Rr=`.${Mr}`,xr=".data-api",kr="active",Mn='[data-bs-toggle="button"]',Vr=`click${Rr}${xr}`;class ve extends K{static get NAME(){return Pr}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kr))}static jQueryInterface(t){return this.each(function(){const e=ve.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}c.on(document,Vr,Mn,n=>{n.preventDefault();const t=n.target.closest(Mn);ve.getOrCreateInstance(t).toggle()});B(ve);const Hr="swipe",Rt=".bs.swipe",Wr=`touchstart${Rt}`,Br=`touchmove${Rt}`,jr=`touchend${Rt}`,Fr=`pointerdown${Rt}`,Kr=`pointerup${Rt}`,Yr="touch",Ur="pen",zr="pointer-event",Gr=40,qr={endCallback:null,leftCallback:null,rightCallback:null},Xr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class de extends Ut{constructor(t,e){super(),this._element=t,!(!t||!de.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return qr}static get DefaultType(){return Xr}static get NAME(){return Hr}dispose(){c.off(this._element,Rt)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),P(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Gr)return;const e=t/this._deltaX;this._deltaX=0,e&&P(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(c.on(this._element,Fr,t=>this._start(t)),c.on(this._element,Kr,t=>this._end(t)),this._element.classList.add(zr)):(c.on(this._element,Wr,t=>this._start(t)),c.on(this._element,Br,t=>this._move(t)),c.on(this._element,jr,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ur||t.pointerType===Yr)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qr="carousel",Zr="bs.carousel",it=`.${Zr}`,Fs=".data-api",Jr="ArrowLeft",to="ArrowRight",eo=500,Ht="next",bt="prev",yt="left",ce="right",no=`slide${it}`,Le=`slid${it}`,so=`keydown${it}`,io=`mouseenter${it}`,ro=`mouseleave${it}`,oo=`dragstart${it}`,ao=`load${it}${Fs}`,co=`click${it}${Fs}`,Ks="carousel",ee="active",lo="slide",uo="carousel-item-end",ho="carousel-item-start",fo="carousel-item-next",po="carousel-item-prev",Ys=".active",Us=".carousel-item",_o=Ys+Us,mo=".carousel-item img",go=".carousel-indicators",Eo="[data-bs-slide], [data-bs-slide-to]",vo='[data-bs-ride="carousel"]',bo={[Jr]:ce,[to]:yt},Ao={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},To={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class zt extends K{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=d.findOne(go,this._element),this._addEventListeners(),this._config.ride===Ks&&this.cycle()}static get Default(){return Ao}static get DefaultType(){return To}static get NAME(){return Qr}next(){this._slide(Ht)}nextWhenVisible(){!document.hidden&&Mt(this._element)&&this.next()}prev(){this._slide(bt)}pause(){this._isSliding&&Is(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){c.one(this._element,Le,()=>this.cycle());return}this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){c.one(this._element,Le,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?Ht:bt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&c.on(this._element,so,t=>this._keydown(t)),this._config.pause==="hover"&&(c.on(this._element,io,()=>this.pause()),c.on(this._element,ro,()=>this._maybeEnableCycle())),this._config.touch&&de.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of d.find(mo,this._element))c.on(s,oo,i=>i.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(yt)),rightCallback:()=>this._slide(this._directionToOrder(ce)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),eo+this._config.interval))}};this._swipeHelper=new de(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=bo[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=d.findOne(Ys,this._indicatorsElement);e.classList.remove(ee),e.removeAttribute("aria-current");const s=d.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(ee),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const s=this._getActive(),i=t===Ht,r=e||cn(this._getItems(),s,i,this._config.wrap);if(r===s)return;const o=this._getItemIndex(r),a=p=>c.trigger(this._element,p,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(no).defaultPrevented||!s||!r)return;const h=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;const u=i?ho:uo,f=i?fo:po;r.classList.add(f),Yt(r),s.classList.add(u),r.classList.add(u);const _=()=>{r.classList.remove(u,f),r.classList.add(ee),s.classList.remove(ee,f,u),this._isSliding=!1,a(Le)};this._queueCallback(_,s,this._isAnimated()),h&&this.cycle()}_isAnimated(){return this._element.classList.contains(lo)}_getActive(){return d.findOne(_o,this._element)}_getItems(){return d.find(Us,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return H()?t===yt?bt:Ht:t===yt?Ht:bt}_orderToDirection(t){return H()?t===bt?yt:ce:t===bt?ce:yt}static jQueryInterface(t){return this.each(function(){const e=zt.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,co,Eo,function(n){const t=d.getElementFromSelector(this);if(!t||!t.classList.contains(Ks))return;n.preventDefault();const e=zt.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){e.to(s),e._maybeEnableCycle();return}if(q.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()});c.on(window,ao,()=>{const n=d.find(vo);for(const t of n)zt.getOrCreateInstance(t)});B(zt);const yo="collapse",wo="bs.collapse",Gt=`.${wo}`,Oo=".data-api",Co=`show${Gt}`,No=`shown${Gt}`,So=`hide${Gt}`,Do=`hidden${Gt}`,$o=`click${Gt}${Oo}`,Ie="show",Ot="collapse",ne="collapsing",Lo="collapsed",Io=`:scope .${Ot} .${Ot}`,Po="collapse-horizontal",Mo="width",Ro="height",xo=".collapse.show, .collapse.collapsing",Ue='[data-bs-toggle="collapse"]',ko={parent:null,toggle:!0},Vo={parent:"(null|element)",toggle:"boolean"};class Ft extends K{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const s=d.find(Ue);for(const i of s){const r=d.getSelectorFromElement(i),o=d.find(r).filter(a=>a===this._element);r!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ko}static get DefaultType(){return Vo}static get NAME(){return yo}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(xo).filter(a=>a!==this._element).map(a=>Ft.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||c.trigger(this._element,Co).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(Ot),this._element.classList.add(ne),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(ne),this._element.classList.add(Ot,Ie),this._element.style[s]="",c.trigger(this._element,No)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||c.trigger(this._element,So).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Yt(this._element),this._element.classList.add(ne),this._element.classList.remove(Ot,Ie);for(const i of this._triggerArray){const r=d.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(ne),this._element.classList.add(Ot),c.trigger(this._element,Do)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ie)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tt(t.parent),t}_getDimension(){return this._element.classList.contains(Po)?Mo:Ro}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ue);for(const e of t){const s=d.getElementFromSelector(e);s&&this._addAriaAndCollapsedClass([e],this._isShown(s))}}_getFirstLevelChildren(t){const e=d.find(Io,this._config.parent);return d.find(t,this._config.parent).filter(s=>!e.includes(s))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const s of t)s.classList.toggle(Lo,!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const s=Ft.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}c.on(document,$o,Ue,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const t of d.getMultipleElementsFromSelector(this))Ft.getOrCreateInstance(t,{toggle:!1}).toggle()});B(Ft);const Rn="dropdown",Ho="bs.dropdown",gt=`.${Ho}`,un=".data-api",Wo="Escape",xn="Tab",Bo="ArrowUp",kn="ArrowDown",jo=2,Fo=`hide${gt}`,Ko=`hidden${gt}`,Yo=`show${gt}`,Uo=`shown${gt}`,zs=`click${gt}${un}`,Gs=`keydown${gt}${un}`,zo=`keyup${gt}${un}`,wt="show",Go="dropup",qo="dropend",Xo="dropstart",Qo="dropup-center",Zo="dropdown-center",dt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Jo=`${dt}.${wt}`,le=".dropdown-menu",ta=".navbar",ea=".navbar-nav",na=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",sa=H()?"top-end":"top-start",ia=H()?"top-start":"top-end",ra=H()?"bottom-end":"bottom-start",oa=H()?"bottom-start":"bottom-end",aa=H()?"left-start":"right-start",ca=H()?"right-start":"left-start",la="top",ua="bottom",ha={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},da={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class U extends K{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=d.next(this._element,le)[0]||d.prev(this._element,le)[0]||d.findOne(le,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ha}static get DefaultType(){return da}static get NAME(){return Rn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(et(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!c.trigger(this._element,Yo,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(ea))for(const s of[].concat(...document.body.children))c.on(s,"mouseover",he);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wt),this._element.classList.add(wt),c.trigger(this._element,Uo,t)}}hide(){if(et(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!c.trigger(this._element,Fo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))c.off(s,"mouseover",he);this._popper&&this._popper.destroy(),this._menu.classList.remove(wt),this._element.classList.remove(wt),this._element.setAttribute("aria-expanded","false"),q.removeDataAttribute(this._menu,"popper"),c.trigger(this._element,Ko,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!G(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Rn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof $s>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:G(this._config.reference)?t=tt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=an(t,this._menu,e)}_isShown(){return this._menu.classList.contains(wt)}_getPlacement(){const t=this._parent;if(t.classList.contains(qo))return aa;if(t.classList.contains(Xo))return ca;if(t.classList.contains(Qo))return la;if(t.classList.contains(Zo))return ua;const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Go)?e?ia:sa:e?oa:ra}_detectNavbar(){return this._element.closest(ta)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(q.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...P(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const s=d.find(na,this._menu).filter(i=>Mt(i));s.length&&cn(s,e,t===kn,!s.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=U.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===jo||t.type==="keyup"&&t.key!==xn)return;const e=d.find(Jo);for(const s of e){const i=U.getInstance(s);if(!i||i._config.autoClose===!1)continue;const r=t.composedPath(),o=r.includes(i._menu);if(r.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===xn||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:i._element};t.type==="click"&&(a.clickEvent=t),i._completeHide(a)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),s=t.key===Wo,i=[Bo,kn].includes(t.key);if(!i&&!s||e&&!s)return;t.preventDefault();const r=this.matches(dt)?this:d.prev(this,dt)[0]||d.next(this,dt)[0]||d.findOne(dt,t.delegateTarget.parentNode),o=U.getOrCreateInstance(r);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),r.focus())}}c.on(document,Gs,dt,U.dataApiKeydownHandler);c.on(document,Gs,le,U.dataApiKeydownHandler);c.on(document,zs,U.clearMenus);c.on(document,zo,U.clearMenus);c.on(document,zs,dt,function(n){n.preventDefault(),U.getOrCreateInstance(this).toggle()});B(U);const qs="backdrop",fa="fade",Vn="show",Hn=`mousedown.bs.${qs}`,pa={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},_a={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xs extends Ut{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return pa}static get DefaultType(){return _a}static get NAME(){return qs}show(t){if(!this._config.isVisible){P(t);return}this._append();const e=this._getElement();this._config.isAnimated&&Yt(e),e.classList.add(Vn),this._emulateAnimation(()=>{P(t)})}hide(t){if(!this._config.isVisible){P(t);return}this._getElement().classList.remove(Vn),this._emulateAnimation(()=>{this.dispose(),P(t)})}dispose(){this._isAppended&&(c.off(this._element,Hn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(fa),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),c.on(t,Hn,()=>{P(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Rs(t,this._getElement(),this._config.isAnimated)}}const ma="focustrap",ga="bs.focustrap",fe=`.${ga}`,Ea=`focusin${fe}`,va=`keydown.tab${fe}`,ba="Tab",Aa="forward",Wn="backward",Ta={autofocus:!0,trapElement:null},ya={autofocus:"boolean",trapElement:"element"};class Qs extends Ut{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ta}static get DefaultType(){return ya}static get NAME(){return ma}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),c.off(document,fe),c.on(document,Ea,t=>this._handleFocusin(t)),c.on(document,va,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,c.off(document,fe))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const s=d.focusableChildren(e);s.length===0?e.focus():this._lastTabNavDirection===Wn?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===ba&&(this._lastTabNavDirection=t.shiftKey?Wn:Aa)}}const Bn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",jn=".sticky-top",se="padding-right",Fn="margin-right";class ze{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,se,e=>e+t),this._setElementAttributes(Bn,se,e=>e+t),this._setElementAttributes(jn,Fn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,se),this._resetElementAttributes(Bn,se),this._resetElementAttributes(jn,Fn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){const i=this.getWidth(),r=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,e);const a=window.getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const s=t.style.getPropertyValue(e);s&&q.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){const s=i=>{const r=q.getDataAttribute(i,e);if(r===null){i.style.removeProperty(e);return}q.removeDataAttribute(i,e),i.style.setProperty(e,r)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,e){if(G(t)){e(t);return}for(const s of d.find(t,this._element))e(s)}}const wa="modal",Oa="bs.modal",W=`.${Oa}`,Ca=".data-api",Na="Escape",Sa=`hide${W}`,Da=`hidePrevented${W}`,Zs=`hidden${W}`,Js=`show${W}`,$a=`shown${W}`,La=`resize${W}`,Ia=`click.dismiss${W}`,Pa=`mousedown.dismiss${W}`,Ma=`keydown.dismiss${W}`,Ra=`click${W}${Ca}`,Kn="modal-open",xa="fade",Yn="show",Pe="modal-static",ka=".modal.show",Va=".modal-dialog",Ha=".modal-body",Wa='[data-bs-toggle="modal"]',Ba={backdrop:!0,focus:!0,keyboard:!0},ja={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends K{constructor(t,e){super(t,e),this._dialog=d.findOne(Va,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ze,this._addEventListeners()}static get Default(){return Ba}static get DefaultType(){return ja}static get NAME(){return wa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||c.trigger(this._element,Js,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||c.trigger(this._element,Sa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Yn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){c.off(window,W),c.off(this._dialog,W),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xs({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qs({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=d.findOne(Ha,this._dialog);e&&(e.scrollTop=0),Yt(this._element),this._element.classList.add(Yn);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,c.trigger(this._element,$a,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){c.on(this._element,Ma,t=>{if(t.key===Na){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),c.on(window,La,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),c.on(this._element,Pa,t=>{c.one(this._element,Ia,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kn),this._resetAdjustments(),this._scrollBar.reset(),c.trigger(this._element,Zs)})}_isAnimated(){return this._element.classList.contains(xa)}_triggerBackdropTransition(){if(c.trigger(this._element,Da).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Pe)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Pe),this._queueCallback(()=>{this._element.classList.remove(Pe),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){const i=H()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!s&&t){const i=H()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const s=Lt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](e)}})}}c.on(document,Ra,Wa,function(n){const t=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),c.one(t,Js,i=>{i.defaultPrevented||c.one(t,Zs,()=>{Mt(this)&&this.focus()})});const e=d.findOne(ka);e&&Lt.getInstance(e).hide(),Lt.getOrCreateInstance(t).toggle(this)});ge(Lt);B(Lt);const Fa="offcanvas",Ka="bs.offcanvas",Q=`.${Ka}`,ti=".data-api",Ya=`load${Q}${ti}`,Ua="Escape",Un="show",zn="showing",Gn="hiding",za="offcanvas-backdrop",ei=".offcanvas.show",Ga=`show${Q}`,qa=`shown${Q}`,Xa=`hide${Q}`,qn=`hidePrevented${Q}`,ni=`hidden${Q}`,Qa=`resize${Q}`,Za=`click${Q}${ti}`,Ja=`keydown.dismiss${Q}`,tc='[data-bs-toggle="offcanvas"]',ec={backdrop:!0,keyboard:!0,scroll:!1},nc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nt extends K{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ec}static get DefaultType(){return nc}static get NAME(){return Fa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||c.trigger(this._element,Ga,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ze().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(zn);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Un),this._element.classList.remove(zn),c.trigger(this._element,qa,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||c.trigger(this._element,Xa).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Gn),this._backdrop.hide();const e=()=>{this._element.classList.remove(Un,Gn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ze().reset(),c.trigger(this._element,ni)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){c.trigger(this._element,qn);return}this.hide()},e=!!this._config.backdrop;return new Xs({className:za,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Qs({trapElement:this._element})}_addEventListeners(){c.on(this._element,Ja,t=>{if(t.key===Ua){if(this._config.keyboard){this.hide();return}c.trigger(this._element,qn)}})}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}c.on(document,Za,tc,function(n){const t=d.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),et(this))return;c.one(t,ni,()=>{Mt(this)&&this.focus()});const e=d.findOne(ei);e&&e!==t&&nt.getInstance(e).hide(),nt.getOrCreateInstance(t).toggle(this)});c.on(window,Ya,()=>{for(const n of d.find(ei))nt.getOrCreateInstance(n).show()});c.on(window,Qa,()=>{for(const n of d.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&nt.getOrCreateInstance(n).hide()});ge(nt);B(nt);const sc=/^aria-[\w-]*$/i,si={"*":["class","dir","id","lang","role",sc],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ic=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),rc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,oc=(n,t)=>{const e=n.nodeName.toLowerCase();return t.includes(e)?ic.has(e)?!!rc.test(n.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(e))};function ac(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);const i=new window.DOMParser().parseFromString(n,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const o of r){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),h=[].concat(t["*"]||[],t[a]||[]);for(const u of l)oc(u,h)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const cc="TemplateFactory",lc={allowList:si,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},uc={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},hc={entry:"(string|element|function|null)",selector:"(string|element)"};class dc extends Ut{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return lc}static get DefaultType(){return uc}static get NAME(){return cc}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,r]of Object.entries(this._config.content))this._setContent(t,r,i);const e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},hc)}_setContent(t,e,s){const i=d.findOne(s,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if(G(e)){this._putElementInTemplate(tt(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?ac(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return P(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}}const fc="tooltip",pc=new Set(["sanitize","allowList","sanitizeFn"]),Me="fade",_c="modal",ie="show",mc=".tooltip-inner",Xn=`.${_c}`,Qn="hide.bs.modal",Wt="hover",Re="focus",gc="click",Ec="manual",vc="hide",bc="hidden",Ac="show",Tc="shown",yc="inserted",wc="click",Oc="focusin",Cc="focusout",Nc="mouseenter",Sc="mouseleave",Dc={AUTO:"auto",TOP:"top",RIGHT:H()?"left":"right",BOTTOM:"bottom",LEFT:H()?"right":"left"},$c={allowList:si,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Lc={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class xt extends K{constructor(t,e){if(typeof $s>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return $c}static get DefaultType(){return Lc}static get NAME(){return fc}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),c.off(this._element.closest(Xn),Qn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=c.trigger(this._element,this.constructor.eventName(Ac)),s=(Ps(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),c.trigger(this._element,this.constructor.eventName(yc))),this._popper=this._createPopper(i),i.classList.add(ie),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))c.on(a,"mouseover",he);const o=()=>{c.trigger(this._element,this.constructor.eventName(Tc)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||c.trigger(this._element,this.constructor.eventName(vc)).defaultPrevented)return;if(this._getTipElement().classList.remove(ie),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))c.off(i,"mouseover",he);this._activeTrigger[gc]=!1,this._activeTrigger[Re]=!1,this._activeTrigger[Wt]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),c.trigger(this._element,this.constructor.eventName(bc)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Me,ie),e.classList.add(`bs-${this.constructor.NAME}-auto`);const s=mr(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add(Me),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new dc({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[mc]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Me)}_isShown(){return this.tip&&this.tip.classList.contains(ie)}_createPopper(t){const e=P(this._config.placement,[this,t,this._element]),s=Dc[e.toUpperCase()];return an(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return P(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...e,...P(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")c.on(this._element,this.constructor.eventName(wc),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(e!==Ec){const s=e===Wt?this.constructor.eventName(Nc):this.constructor.eventName(Oc),i=e===Wt?this.constructor.eventName(Sc):this.constructor.eventName(Cc);c.on(this._element,s,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusin"?Re:Wt]=!0,o._enter()}),c.on(this._element,i,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusout"?Re:Wt]=o._element.contains(r.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},c.on(this._element.closest(Xn),Qn,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=q.getDataAttributes(this._element);for(const s of Object.keys(e))pc.has(s)&&delete e[s];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:tt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,s]of Object.entries(this._config))this.constructor.Default[e]!==s&&(t[e]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=xt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}B(xt);const Ic="popover",Pc=".popover-header",Mc=".popover-body",Rc={...xt.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xc={...xt.DefaultType,content:"(null|string|element|function)"};class hn extends xt{static get Default(){return Rc}static get DefaultType(){return xc}static get NAME(){return Ic}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Pc]:this._getTitle(),[Mc]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=hn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}B(hn);const kc="scrollspy",Vc="bs.scrollspy",dn=`.${Vc}`,Hc=".data-api",Wc=`activate${dn}`,Zn=`click${dn}`,Bc=`load${dn}${Hc}`,jc="dropdown-item",At="active",Fc='[data-bs-spy="scroll"]',xe="[href]",Kc=".nav, .list-group",Jn=".nav-link",Yc=".nav-item",Uc=".list-group-item",zc=`${Jn}, ${Yc} > ${Jn}, ${Uc}`,Gc=".dropdown",qc=".dropdown-toggle",Xc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Qc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class be extends K{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xc}static get DefaultType(){return Qc}static get NAME(){return kc}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=tt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(c.off(this._config.target,Zn),c.on(this._config.target,Zn,xe,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:i,behavior:"smooth"});return}s.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){const e=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(e(o))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&a){if(s(o),!i)return;continue}!r&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=d.find(xe,this._config.target);for(const e of t){if(!e.hash||et(e))continue;const s=d.findOne(decodeURI(e.hash),this._element);Mt(s)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(At),this._activateParents(t),c.trigger(this._element,Wc,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(jc)){d.findOne(qc,t.closest(Gc)).classList.add(At);return}for(const e of d.parents(t,Kc))for(const s of d.prev(e,zc))s.classList.add(At)}_clearActiveClass(t){t.classList.remove(At);const e=d.find(`${xe}.${At}`,t);for(const s of e)s.classList.remove(At)}static jQueryInterface(t){return this.each(function(){const e=be.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(window,Bc,()=>{for(const n of d.find(Fc))be.getOrCreateInstance(n)});B(be);const Zc="tab",Jc="bs.tab",Et=`.${Jc}`,tl=`hide${Et}`,el=`hidden${Et}`,nl=`show${Et}`,sl=`shown${Et}`,il=`click${Et}`,rl=`keydown${Et}`,ol=`load${Et}`,al="ArrowLeft",ts="ArrowRight",cl="ArrowUp",es="ArrowDown",ke="Home",ns="End",ft="active",ss="fade",Ve="show",ll="dropdown",ii=".dropdown-toggle",ul=".dropdown-menu",He=`:not(${ii})`,hl='.list-group, .nav, [role="tablist"]',dl=".nav-item, .list-group-item",fl=`.nav-link${He}, .list-group-item${He}, [role="tab"]${He}`,ri='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',We=`${fl}, ${ri}`,pl=`.${ft}[data-bs-toggle="tab"], .${ft}[data-bs-toggle="pill"], .${ft}[data-bs-toggle="list"]`;class It extends K{constructor(t){super(t),this._parent=this._element.closest(hl),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),c.on(this._element,rl,e=>this._keydown(e)))}static get NAME(){return Zc}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),s=e?c.trigger(e,tl,{relatedTarget:t}):null;c.trigger(t,nl,{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(ft),this._activate(d.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Ve);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),c.trigger(t,sl,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(ss))}_deactivate(t,e){if(!t)return;t.classList.remove(ft),t.blur(),this._deactivate(d.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Ve);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),c.trigger(t,el,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(ss))}_keydown(t){if(![al,ts,cl,es,ke,ns].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(i=>!et(i));let s;if([ke,ns].includes(t.key))s=e[t.key===ke?0:e.length-1];else{const i=[ts,es].includes(t.key);s=cn(e,t.target,i,!0)}s&&(s.focus({preventScroll:!0}),It.getOrCreateInstance(s).show())}_getChildren(){return d.find(We,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const s of e)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=d.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const s=this._getOuterElement(t);if(!s.classList.contains(ll))return;const i=(r,o)=>{const a=d.findOne(r,s);a&&a.classList.toggle(o,e)};i(ii,ft),i(ul,Ve),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(ft)}_getInnerElement(t){return t.matches(We)?t:d.findOne(We,t)}_getOuterElement(t){return t.closest(dl)||t}static jQueryInterface(t){return this.each(function(){const e=It.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,il,ri,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!et(this)&&It.getOrCreateInstance(this).show()});c.on(window,ol,()=>{for(const n of d.find(pl))It.getOrCreateInstance(n)});B(It);const _l="toast",ml="bs.toast",rt=`.${ml}`,gl=`mouseover${rt}`,El=`mouseout${rt}`,vl=`focusin${rt}`,bl=`focusout${rt}`,Al=`hide${rt}`,Tl=`hidden${rt}`,yl=`show${rt}`,wl=`shown${rt}`,Ol="fade",is="hide",re="show",oe="showing",Cl={animation:"boolean",autohide:"boolean",delay:"number"},Nl={animation:!0,autohide:!0,delay:5e3};class Ae extends K{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Nl}static get DefaultType(){return Cl}static get NAME(){return _l}show(){if(c.trigger(this._element,yl).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ol);const e=()=>{this._element.classList.remove(oe),c.trigger(this._element,wl),this._maybeScheduleHide()};this._element.classList.remove(is),Yt(this._element),this._element.classList.add(re,oe),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||c.trigger(this._element,Al).defaultPrevented)return;const e=()=>{this._element.classList.add(is),this._element.classList.remove(oe,re),c.trigger(this._element,Tl)};this._element.classList.add(oe),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(re),super.dispose()}isShown(){return this._element.classList.contains(re)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){c.on(this._element,gl,t=>this._onInteraction(t,!0)),c.on(this._element,El,t=>this._onInteraction(t,!1)),c.on(this._element,vl,t=>this._onInteraction(t,!0)),c.on(this._element,bl,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=Ae.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ge(Ae);B(Ae);const Sl={name:"AppFront"};function Dl(n,t,e,s,i,r){return fi(),pi("div")}const $l=di(Sl,[["render",Dl]]),ot=_i({AppFront:$l}),Ll=Object.assign({"/resources/js/vue/front/LqipLoader.vue":()=>Ci(()=>import("./LqipLoader-2067e882.js"),["assets/LqipLoader-2067e882.js","assets/vue-8b92bff6.js","assets/vue-935fc652.css"])});ot.use(mi());ot.use(gi,Ei);ot.use(vi);ot.use(bi);ot.use(Ai);ot.use(Ti.ZiggyVue,rs);window.Ziggy=rs;Object.entries({...Ll}).forEach(([n,t])=>{const e=n.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();ot.component(e,yi(t))});ot.mount("#app"); + */const J=new Map,Ce={set(n,t,e){J.has(n)||J.set(n,new Map);const s=J.get(n);!s.has(t)&&s.size!==0||s.set(t,e)},get(n,t){return J.has(n)&&J.get(n).get(t)||null},remove(n,t){if(!J.has(n))return;const e=J.get(n);e.delete(t),e.size===0&&J.delete(n)}},fr=1e6,pr=1e3,Ke="transitionend",Ls=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),n),_r=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),mr=n=>{do n+=Math.floor(Math.random()*fr);while(document.getElementById(n));return n},gr=n=>{if(!n)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(n);const s=Number.parseFloat(t),i=Number.parseFloat(e);return!s&&!i?0:(t=t.split(",")[0],e=e.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(e))*pr)},Is=n=>{n.dispatchEvent(new Event(Ke))},G=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),tt=n=>G(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Ls(n)):null,Mt=n=>{if(!G(n)||n.getClientRects().length===0)return!1;const t=getComputedStyle(n).getPropertyValue("visibility")==="visible",e=n.closest("details:not([open])");if(!e)return t;if(e!==n){const s=n.closest("summary");if(s&&s.parentNode!==e||s===null)return!1}return t},et=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Ps=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?Ps(n.parentNode):null},he=()=>{},Yt=n=>{n.offsetHeight},Ms=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ne=[],Er=n=>{document.readyState==="loading"?(Ne.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ne)t()}),Ne.push(n)):n()},H=()=>document.documentElement.dir==="rtl",B=n=>{Er(()=>{const t=Ms();if(t){const e=n.NAME,s=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=s,n.jQueryInterface)}})},P=(n,t=[],e=n)=>typeof n=="function"?n(...t):e,Rs=(n,t,e=!0)=>{if(!e){P(n);return}const s=5,i=gr(t)+s;let r=!1;const o=({target:a})=>{a===t&&(r=!0,t.removeEventListener(Ke,o),P(n))};t.addEventListener(Ke,o),setTimeout(()=>{r||Is(t)},i)},cn=(n,t,e,s)=>{const i=n.length;let r=n.indexOf(t);return r===-1?!e&&s?n[i-1]:n[0]:(r+=e?1:-1,s&&(r=(r+i)%i),n[Math.max(0,Math.min(r,i-1))])},vr=/[^.]*(?=\..*)\.|.*/,br=/\..*/,Ar=/::\d+$/,Se={};let Ln=1;const xs={mouseenter:"mouseover",mouseleave:"mouseout"},Tr=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ks(n,t){return t&&`${t}::${Ln++}`||n.uidEvent||Ln++}function Vs(n){const t=ks(n);return n.uidEvent=t,Se[t]=Se[t]||{},Se[t]}function yr(n,t){return function e(s){return ln(s,{delegateTarget:n}),e.oneOff&&c.off(n,s.type,t),t.apply(n,[s])}}function wr(n,t,e){return function s(i){const r=n.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of r)if(a===o)return ln(i,{delegateTarget:o}),s.oneOff&&c.off(n,i.type,t,e),e.apply(o,[i])}}function Hs(n,t,e=null){return Object.values(n).find(s=>s.callable===t&&s.delegationSelector===e)}function Ws(n,t,e){const s=typeof t=="string",i=s?e:t||e;let r=Bs(n);return Tr.has(r)||(r=n),[s,i,r]}function In(n,t,e,s,i){if(typeof t!="string"||!n)return;let[r,o,a]=Ws(t,e,s);t in xs&&(o=(A=>function(m){if(!m.relatedTarget||m.relatedTarget!==m.delegateTarget&&!m.delegateTarget.contains(m.relatedTarget))return A.call(this,m)})(o));const l=Vs(n),h=l[a]||(l[a]={}),u=Hs(h,o,r?e:null);if(u){u.oneOff=u.oneOff&&i;return}const f=ks(o,t.replace(vr,"")),_=r?wr(n,e,o):yr(n,o);_.delegationSelector=r?e:null,_.callable=o,_.oneOff=i,_.uidEvent=f,h[f]=_,n.addEventListener(a,_,r)}function Ye(n,t,e,s,i){const r=Hs(t[e],s,i);r&&(n.removeEventListener(e,r,!!i),delete t[e][r.uidEvent])}function Or(n,t,e,s){const i=t[e]||{};for(const[r,o]of Object.entries(i))r.includes(s)&&Ye(n,t,e,o.callable,o.delegationSelector)}function Bs(n){return n=n.replace(br,""),xs[n]||n}const c={on(n,t,e,s){In(n,t,e,s,!1)},one(n,t,e,s){In(n,t,e,s,!0)},off(n,t,e,s){if(typeof t!="string"||!n)return;const[i,r,o]=Ws(t,e,s),a=o!==t,l=Vs(n),h=l[o]||{},u=t.startsWith(".");if(typeof r<"u"){if(!Object.keys(h).length)return;Ye(n,l,o,r,i?e:null);return}if(u)for(const f of Object.keys(l))Or(n,l,f,t.slice(1));for(const[f,_]of Object.entries(h)){const p=f.replace(Ar,"");(!a||t.includes(p))&&Ye(n,l,o,_.callable,_.delegationSelector)}},trigger(n,t,e){if(typeof t!="string"||!n)return null;const s=Ms(),i=Bs(t),r=t!==i;let o=null,a=!0,l=!0,h=!1;r&&s&&(o=s.Event(t,e),s(n).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),h=o.isDefaultPrevented());const u=ln(new Event(t,{bubbles:a,cancelable:!0}),e);return h&&u.preventDefault(),l&&n.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function ln(n,t={}){for(const[e,s]of Object.entries(t))try{n[e]=s}catch{Object.defineProperty(n,e,{configurable:!0,get(){return s}})}return n}function Pn(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function De(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const q={setDataAttribute(n,t,e){n.setAttribute(`data-bs-${De(t)}`,e)},removeDataAttribute(n,t){n.removeAttribute(`data-bs-${De(t)}`)},getDataAttributes(n){if(!n)return{};const t={},e=Object.keys(n.dataset).filter(s=>s.startsWith("bs")&&!s.startsWith("bsConfig"));for(const s of e){let i=s.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=Pn(n.dataset[s])}return t},getDataAttribute(n,t){return Pn(n.getAttribute(`data-bs-${De(t)}`))}};class Ut{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const s=G(e)?q.getDataAttribute(e,"config"):{};return{...this.constructor.Default,...typeof s=="object"?s:{},...G(e)?q.getDataAttributes(e):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[s,i]of Object.entries(e)){const r=t[s],o=G(r)?"element":_r(r);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${s}" provided type "${o}" but expected type "${i}".`)}}}const Cr="5.3.2";class K extends Ut{constructor(t,e){super(),t=tt(t),t&&(this._element=t,this._config=this._getConfig(e),Ce.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ce.remove(this._element,this.constructor.DATA_KEY),c.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,s=!0){Rs(t,e,s)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return Ce.get(tt(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,typeof e=="object"?e:null)}static get VERSION(){return Cr}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const $e=n=>{let t=n.getAttribute("data-bs-target");if(!t||t==="#"){let e=n.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&e!=="#"?Ls(e.trim()):null}return t},d={find(n,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,n))},findOne(n,t=document.documentElement){return Element.prototype.querySelector.call(t,n)},children(n,t){return[].concat(...n.children).filter(e=>e.matches(t))},parents(n,t){const e=[];let s=n.parentNode.closest(t);for(;s;)e.push(s),s=s.parentNode.closest(t);return e},prev(n,t){let e=n.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(n,t){let e=n.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(n){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,n).filter(e=>!et(e)&&Mt(e))},getSelectorFromElement(n){const t=$e(n);return t&&d.findOne(t)?t:null},getElementFromSelector(n){const t=$e(n);return t?d.findOne(t):null},getMultipleElementsFromSelector(n){const t=$e(n);return t?d.find(t):[]}},ge=(n,t="hide")=>{const e=`click.dismiss${n.EVENT_KEY}`,s=n.NAME;c.on(document,e,`[data-bs-dismiss="${s}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),et(this))return;const r=d.getElementFromSelector(this)||this.closest(`.${s}`);n.getOrCreateInstance(r)[t]()})},Nr="alert",Sr="bs.alert",js=`.${Sr}`,Dr=`close${js}`,$r=`closed${js}`,Lr="fade",Ir="show";class Ee extends K{static get NAME(){return Nr}close(){if(c.trigger(this._element,Dr).defaultPrevented)return;this._element.classList.remove(Ir);const e=this._element.classList.contains(Lr);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),c.trigger(this._element,$r),this.dispose()}static jQueryInterface(t){return this.each(function(){const e=Ee.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ge(Ee,"close");B(Ee);const Pr="button",Mr="bs.button",Rr=`.${Mr}`,xr=".data-api",kr="active",Mn='[data-bs-toggle="button"]',Vr=`click${Rr}${xr}`;class ve extends K{static get NAME(){return Pr}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kr))}static jQueryInterface(t){return this.each(function(){const e=ve.getOrCreateInstance(this);t==="toggle"&&e[t]()})}}c.on(document,Vr,Mn,n=>{n.preventDefault();const t=n.target.closest(Mn);ve.getOrCreateInstance(t).toggle()});B(ve);const Hr="swipe",Rt=".bs.swipe",Wr=`touchstart${Rt}`,Br=`touchmove${Rt}`,jr=`touchend${Rt}`,Fr=`pointerdown${Rt}`,Kr=`pointerup${Rt}`,Yr="touch",Ur="pen",zr="pointer-event",Gr=40,qr={endCallback:null,leftCallback:null,rightCallback:null},Xr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class de extends Ut{constructor(t,e){super(),this._element=t,!(!t||!de.isSupported())&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return qr}static get DefaultType(){return Xr}static get NAME(){return Hr}dispose(){c.off(this._element,Rt)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),P(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=Gr)return;const e=t/this._deltaX;this._deltaX=0,e&&P(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(c.on(this._element,Fr,t=>this._start(t)),c.on(this._element,Kr,t=>this._end(t)),this._element.classList.add(zr)):(c.on(this._element,Wr,t=>this._start(t)),c.on(this._element,Br,t=>this._move(t)),c.on(this._element,jr,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ur||t.pointerType===Yr)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qr="carousel",Zr="bs.carousel",it=`.${Zr}`,Fs=".data-api",Jr="ArrowLeft",to="ArrowRight",eo=500,Ht="next",bt="prev",yt="left",ce="right",no=`slide${it}`,Le=`slid${it}`,so=`keydown${it}`,io=`mouseenter${it}`,ro=`mouseleave${it}`,oo=`dragstart${it}`,ao=`load${it}${Fs}`,co=`click${it}${Fs}`,Ks="carousel",ee="active",lo="slide",uo="carousel-item-end",ho="carousel-item-start",fo="carousel-item-next",po="carousel-item-prev",Ys=".active",Us=".carousel-item",_o=Ys+Us,mo=".carousel-item img",go=".carousel-indicators",Eo="[data-bs-slide], [data-bs-slide-to]",vo='[data-bs-ride="carousel"]',bo={[Jr]:ce,[to]:yt},Ao={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},To={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class zt extends K{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=d.findOne(go,this._element),this._addEventListeners(),this._config.ride===Ks&&this.cycle()}static get Default(){return Ao}static get DefaultType(){return To}static get NAME(){return Qr}next(){this._slide(Ht)}nextWhenVisible(){!document.hidden&&Mt(this._element)&&this.next()}prev(){this._slide(bt)}pause(){this._isSliding&&Is(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){c.one(this._element,Le,()=>this.cycle());return}this.cycle()}}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding){c.one(this._element,Le,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const i=t>s?Ht:bt;this._slide(i,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&c.on(this._element,so,t=>this._keydown(t)),this._config.pause==="hover"&&(c.on(this._element,io,()=>this.pause()),c.on(this._element,ro,()=>this._maybeEnableCycle())),this._config.touch&&de.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const s of d.find(mo,this._element))c.on(s,oo,i=>i.preventDefault());const e={leftCallback:()=>this._slide(this._directionToOrder(yt)),rightCallback:()=>this._slide(this._directionToOrder(ce)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),eo+this._config.interval))}};this._swipeHelper=new de(this._element,e)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=bo[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=d.findOne(Ys,this._indicatorsElement);e.classList.remove(ee),e.removeAttribute("aria-current");const s=d.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);s&&(s.classList.add(ee),s.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const s=this._getActive(),i=t===Ht,r=e||cn(this._getItems(),s,i,this._config.wrap);if(r===s)return;const o=this._getItemIndex(r),a=p=>c.trigger(this._element,p,{relatedTarget:r,direction:this._orderToDirection(t),from:this._getItemIndex(s),to:o});if(a(no).defaultPrevented||!s||!r)return;const h=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;const u=i?ho:uo,f=i?fo:po;r.classList.add(f),Yt(r),s.classList.add(u),r.classList.add(u);const _=()=>{r.classList.remove(u,f),r.classList.add(ee),s.classList.remove(ee,f,u),this._isSliding=!1,a(Le)};this._queueCallback(_,s,this._isAnimated()),h&&this.cycle()}_isAnimated(){return this._element.classList.contains(lo)}_getActive(){return d.findOne(_o,this._element)}_getItems(){return d.find(Us,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return H()?t===yt?bt:Ht:t===yt?Ht:bt}_orderToDirection(t){return H()?t===bt?yt:ce:t===bt?ce:yt}static jQueryInterface(t){return this.each(function(){const e=zt.getOrCreateInstance(this,t);if(typeof t=="number"){e.to(t);return}if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,co,Eo,function(n){const t=d.getElementFromSelector(this);if(!t||!t.classList.contains(Ks))return;n.preventDefault();const e=zt.getOrCreateInstance(t),s=this.getAttribute("data-bs-slide-to");if(s){e.to(s),e._maybeEnableCycle();return}if(q.getDataAttribute(this,"slide")==="next"){e.next(),e._maybeEnableCycle();return}e.prev(),e._maybeEnableCycle()});c.on(window,ao,()=>{const n=d.find(vo);for(const t of n)zt.getOrCreateInstance(t)});B(zt);const yo="collapse",wo="bs.collapse",Gt=`.${wo}`,Oo=".data-api",Co=`show${Gt}`,No=`shown${Gt}`,So=`hide${Gt}`,Do=`hidden${Gt}`,$o=`click${Gt}${Oo}`,Ie="show",Ot="collapse",ne="collapsing",Lo="collapsed",Io=`:scope .${Ot} .${Ot}`,Po="collapse-horizontal",Mo="width",Ro="height",xo=".collapse.show, .collapse.collapsing",Ue='[data-bs-toggle="collapse"]',ko={parent:null,toggle:!0},Vo={parent:"(null|element)",toggle:"boolean"};class Ft extends K{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const s=d.find(Ue);for(const i of s){const r=d.getSelectorFromElement(i),o=d.find(r).filter(a=>a===this._element);r!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ko}static get DefaultType(){return Vo}static get NAME(){return yo}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(xo).filter(a=>a!==this._element).map(a=>Ft.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||c.trigger(this._element,Co).defaultPrevented)return;for(const a of t)a.hide();const s=this._getDimension();this._element.classList.remove(Ot),this._element.classList.add(ne),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(ne),this._element.classList.add(Ot,Ie),this._element.style[s]="",c.trigger(this._element,No)},o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||c.trigger(this._element,So).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,Yt(this._element),this._element.classList.add(ne),this._element.classList.remove(Ot,Ie);for(const i of this._triggerArray){const r=d.getElementFromSelector(i);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const s=()=>{this._isTransitioning=!1,this._element.classList.remove(ne),this._element.classList.add(Ot),c.trigger(this._element,Do)};this._element.style[e]="",this._queueCallback(s,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Ie)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tt(t.parent),t}_getDimension(){return this._element.classList.contains(Po)?Mo:Ro}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Ue);for(const e of t){const s=d.getElementFromSelector(e);s&&this._addAriaAndCollapsedClass([e],this._isShown(s))}}_getFirstLevelChildren(t){const e=d.find(Io,this._config.parent);return d.find(t,this._config.parent).filter(s=>!e.includes(s))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const s of t)s.classList.toggle(Lo,!e),s.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return typeof t=="string"&&/show|hide/.test(t)&&(e.toggle=!1),this.each(function(){const s=Ft.getOrCreateInstance(this,e);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t]()}})}}c.on(document,$o,Ue,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const t of d.getMultipleElementsFromSelector(this))Ft.getOrCreateInstance(t,{toggle:!1}).toggle()});B(Ft);const Rn="dropdown",Ho="bs.dropdown",gt=`.${Ho}`,un=".data-api",Wo="Escape",xn="Tab",Bo="ArrowUp",kn="ArrowDown",jo=2,Fo=`hide${gt}`,Ko=`hidden${gt}`,Yo=`show${gt}`,Uo=`shown${gt}`,zs=`click${gt}${un}`,Gs=`keydown${gt}${un}`,zo=`keyup${gt}${un}`,wt="show",Go="dropup",qo="dropend",Xo="dropstart",Qo="dropup-center",Zo="dropdown-center",dt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Jo=`${dt}.${wt}`,le=".dropdown-menu",ta=".navbar",ea=".navbar-nav",na=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",sa=H()?"top-end":"top-start",ia=H()?"top-start":"top-end",ra=H()?"bottom-end":"bottom-start",oa=H()?"bottom-start":"bottom-end",aa=H()?"left-start":"right-start",ca=H()?"right-start":"left-start",la="top",ua="bottom",ha={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},da={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class U extends K{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=d.next(this._element,le)[0]||d.prev(this._element,le)[0]||d.findOne(le,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ha}static get DefaultType(){return da}static get NAME(){return Rn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(et(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!c.trigger(this._element,Yo,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(ea))for(const s of[].concat(...document.body.children))c.on(s,"mouseover",he);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wt),this._element.classList.add(wt),c.trigger(this._element,Uo,t)}}hide(){if(et(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!c.trigger(this._element,Fo,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const s of[].concat(...document.body.children))c.off(s,"mouseover",he);this._popper&&this._popper.destroy(),this._menu.classList.remove(wt),this._element.classList.remove(wt),this._element.setAttribute("aria-expanded","false"),q.removeDataAttribute(this._menu,"popper"),c.trigger(this._element,Ko,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!G(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${Rn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof $s>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:G(this._config.reference)?t=tt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=an(t,this._menu,e)}_isShown(){return this._menu.classList.contains(wt)}_getPlacement(){const t=this._parent;if(t.classList.contains(qo))return aa;if(t.classList.contains(Xo))return ca;if(t.classList.contains(Qo))return la;if(t.classList.contains(Zo))return ua;const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Go)?e?ia:sa:e?oa:ra}_detectNavbar(){return this._element.closest(ta)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(q.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...P(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const s=d.find(na,this._menu).filter(i=>Mt(i));s.length&&cn(s,e,t===kn,!s.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const e=U.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}static clearMenus(t){if(t.button===jo||t.type==="keyup"&&t.key!==xn)return;const e=d.find(Jo);for(const s of e){const i=U.getInstance(s);if(!i||i._config.autoClose===!1)continue;const r=t.composedPath(),o=r.includes(i._menu);if(r.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===xn||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:i._element};t.type==="click"&&(a.clickEvent=t),i._completeHide(a)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),s=t.key===Wo,i=[Bo,kn].includes(t.key);if(!i&&!s||e&&!s)return;t.preventDefault();const r=this.matches(dt)?this:d.prev(this,dt)[0]||d.next(this,dt)[0]||d.findOne(dt,t.delegateTarget.parentNode),o=U.getOrCreateInstance(r);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),r.focus())}}c.on(document,Gs,dt,U.dataApiKeydownHandler);c.on(document,Gs,le,U.dataApiKeydownHandler);c.on(document,zs,U.clearMenus);c.on(document,zo,U.clearMenus);c.on(document,zs,dt,function(n){n.preventDefault(),U.getOrCreateInstance(this).toggle()});B(U);const qs="backdrop",fa="fade",Vn="show",Hn=`mousedown.bs.${qs}`,pa={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},_a={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xs extends Ut{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return pa}static get DefaultType(){return _a}static get NAME(){return qs}show(t){if(!this._config.isVisible){P(t);return}this._append();const e=this._getElement();this._config.isAnimated&&Yt(e),e.classList.add(Vn),this._emulateAnimation(()=>{P(t)})}hide(t){if(!this._config.isVisible){P(t);return}this._getElement().classList.remove(Vn),this._emulateAnimation(()=>{this.dispose(),P(t)})}dispose(){this._isAppended&&(c.off(this._element,Hn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(fa),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),c.on(t,Hn,()=>{P(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Rs(t,this._getElement(),this._config.isAnimated)}}const ma="focustrap",ga="bs.focustrap",fe=`.${ga}`,Ea=`focusin${fe}`,va=`keydown.tab${fe}`,ba="Tab",Aa="forward",Wn="backward",Ta={autofocus:!0,trapElement:null},ya={autofocus:"boolean",trapElement:"element"};class Qs extends Ut{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Ta}static get DefaultType(){return ya}static get NAME(){return ma}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),c.off(document,fe),c.on(document,Ea,t=>this._handleFocusin(t)),c.on(document,va,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,c.off(document,fe))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const s=d.focusableChildren(e);s.length===0?e.focus():this._lastTabNavDirection===Wn?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){t.key===ba&&(this._lastTabNavDirection=t.shiftKey?Wn:Aa)}}const Bn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",jn=".sticky-top",se="padding-right",Fn="margin-right";class ze{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,se,e=>e+t),this._setElementAttributes(Bn,se,e=>e+t),this._setElementAttributes(jn,Fn,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,se),this._resetElementAttributes(Bn,se),this._resetElementAttributes(jn,Fn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,s){const i=this.getWidth(),r=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,e);const a=window.getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,`${s(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,r)}_saveInitialAttribute(t,e){const s=t.style.getPropertyValue(e);s&&q.setDataAttribute(t,e,s)}_resetElementAttributes(t,e){const s=i=>{const r=q.getDataAttribute(i,e);if(r===null){i.style.removeProperty(e);return}q.removeDataAttribute(i,e),i.style.setProperty(e,r)};this._applyManipulationCallback(t,s)}_applyManipulationCallback(t,e){if(G(t)){e(t);return}for(const s of d.find(t,this._element))e(s)}}const wa="modal",Oa="bs.modal",W=`.${Oa}`,Ca=".data-api",Na="Escape",Sa=`hide${W}`,Da=`hidePrevented${W}`,Zs=`hidden${W}`,Js=`show${W}`,$a=`shown${W}`,La=`resize${W}`,Ia=`click.dismiss${W}`,Pa=`mousedown.dismiss${W}`,Ma=`keydown.dismiss${W}`,Ra=`click${W}${Ca}`,Kn="modal-open",xa="fade",Yn="show",Pe="modal-static",ka=".modal.show",Va=".modal-dialog",Ha=".modal-body",Wa='[data-bs-toggle="modal"]',Ba={backdrop:!0,focus:!0,keyboard:!0},ja={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Lt extends K{constructor(t,e){super(t,e),this._dialog=d.findOne(Va,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ze,this._addEventListeners()}static get Default(){return Ba}static get DefaultType(){return ja}static get NAME(){return wa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||c.trigger(this._element,Js,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||c.trigger(this._element,Sa).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Yn),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){c.off(window,W),c.off(this._dialog,W),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xs({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qs({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const e=d.findOne(Ha,this._dialog);e&&(e.scrollTop=0),Yt(this._element),this._element.classList.add(Yn);const s=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,c.trigger(this._element,$a,{relatedTarget:t})};this._queueCallback(s,this._dialog,this._isAnimated())}_addEventListeners(){c.on(this._element,Ma,t=>{if(t.key===Na){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),c.on(window,La,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),c.on(this._element,Pa,t=>{c.one(this._element,Ia,e=>{if(!(this._element!==t.target||this._element!==e.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kn),this._resetAdjustments(),this._scrollBar.reset(),c.trigger(this._element,Zs)})}_isAnimated(){return this._element.classList.contains(xa)}_triggerBackdropTransition(){if(c.trigger(this._element,Da).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,s=this._element.style.overflowY;s==="hidden"||this._element.classList.contains(Pe)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Pe),this._queueCallback(()=>{this._element.classList.remove(Pe),this._queueCallback(()=>{this._element.style.overflowY=s},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),s=e>0;if(s&&!t){const i=H()?"paddingLeft":"paddingRight";this._element.style[i]=`${e}px`}if(!s&&t){const i=H()?"paddingRight":"paddingLeft";this._element.style[i]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const s=Lt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof s[t]>"u")throw new TypeError(`No method named "${t}"`);s[t](e)}})}}c.on(document,Ra,Wa,function(n){const t=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),c.one(t,Js,i=>{i.defaultPrevented||c.one(t,Zs,()=>{Mt(this)&&this.focus()})});const e=d.findOne(ka);e&&Lt.getInstance(e).hide(),Lt.getOrCreateInstance(t).toggle(this)});ge(Lt);B(Lt);const Fa="offcanvas",Ka="bs.offcanvas",Q=`.${Ka}`,ti=".data-api",Ya=`load${Q}${ti}`,Ua="Escape",Un="show",zn="showing",Gn="hiding",za="offcanvas-backdrop",ei=".offcanvas.show",Ga=`show${Q}`,qa=`shown${Q}`,Xa=`hide${Q}`,qn=`hidePrevented${Q}`,ni=`hidden${Q}`,Qa=`resize${Q}`,Za=`click${Q}${ti}`,Ja=`keydown.dismiss${Q}`,tc='[data-bs-toggle="offcanvas"]',ec={backdrop:!0,keyboard:!0,scroll:!1},nc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nt extends K{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ec}static get DefaultType(){return nc}static get NAME(){return Fa}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||c.trigger(this._element,Ga,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ze().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(zn);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Un),this._element.classList.remove(zn),c.trigger(this._element,qa,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown||c.trigger(this._element,Xa).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Gn),this._backdrop.hide();const e=()=>{this._element.classList.remove(Un,Gn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ze().reset(),c.trigger(this._element,ni)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){c.trigger(this._element,qn);return}this.hide()},e=!!this._config.backdrop;return new Xs({className:za,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?t:null})}_initializeFocusTrap(){return new Qs({trapElement:this._element})}_addEventListeners(){c.on(this._element,Ja,t=>{if(t.key===Ua){if(this._config.keyboard){this.hide();return}c.trigger(this._element,qn)}})}static jQueryInterface(t){return this.each(function(){const e=nt.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}c.on(document,Za,tc,function(n){const t=d.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),et(this))return;c.one(t,ni,()=>{Mt(this)&&this.focus()});const e=d.findOne(ei);e&&e!==t&&nt.getInstance(e).hide(),nt.getOrCreateInstance(t).toggle(this)});c.on(window,Ya,()=>{for(const n of d.find(ei))nt.getOrCreateInstance(n).show()});c.on(window,Qa,()=>{for(const n of d.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&nt.getOrCreateInstance(n).hide()});ge(nt);B(nt);const sc=/^aria-[\w-]*$/i,si={"*":["class","dir","id","lang","role",sc],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ic=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),rc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,oc=(n,t)=>{const e=n.nodeName.toLowerCase();return t.includes(e)?ic.has(e)?!!rc.test(n.nodeValue):!0:t.filter(s=>s instanceof RegExp).some(s=>s.test(e))};function ac(n,t,e){if(!n.length)return n;if(e&&typeof e=="function")return e(n);const i=new window.DOMParser().parseFromString(n,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const o of r){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),h=[].concat(t["*"]||[],t[a]||[]);for(const u of l)oc(u,h)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const cc="TemplateFactory",lc={allowList:si,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},uc={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},hc={entry:"(string|element|function|null)",selector:"(string|element)"};class dc extends Ut{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return lc}static get DefaultType(){return uc}static get NAME(){return cc}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,r]of Object.entries(this._config.content))this._setContent(t,r,i);const e=t.children[0],s=this._resolvePossibleFunction(this._config.extraClass);return s&&e.classList.add(...s.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,s]of Object.entries(t))super._typeCheckConfig({selector:e,entry:s},hc)}_setContent(t,e,s){const i=d.findOne(s,t);if(i){if(e=this._resolvePossibleFunction(e),!e){i.remove();return}if(G(e)){this._putElementInTemplate(tt(e),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(e);return}i.textContent=e}}_maybeSanitize(t){return this._config.sanitize?ac(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return P(t,[this])}_putElementInTemplate(t,e){if(this._config.html){e.innerHTML="",e.append(t);return}e.textContent=t.textContent}}const fc="tooltip",pc=new Set(["sanitize","allowList","sanitizeFn"]),Me="fade",_c="modal",ie="show",mc=".tooltip-inner",Xn=`.${_c}`,Qn="hide.bs.modal",Wt="hover",Re="focus",gc="click",Ec="manual",vc="hide",bc="hidden",Ac="show",Tc="shown",yc="inserted",wc="click",Oc="focusin",Cc="focusout",Nc="mouseenter",Sc="mouseleave",Dc={AUTO:"auto",TOP:"top",RIGHT:H()?"left":"right",BOTTOM:"bottom",LEFT:H()?"right":"left"},$c={allowList:si,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Lc={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class xt extends K{constructor(t,e){if(typeof $s>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return $c}static get DefaultType(){return Lc}static get NAME(){return fc}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),c.off(this._element.closest(Xn),Qn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=c.trigger(this._element,this.constructor.eventName(Ac)),s=(Ps(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!s)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),c.trigger(this._element,this.constructor.eventName(yc))),this._popper=this._createPopper(i),i.classList.add(ie),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))c.on(a,"mouseover",he);const o=()=>{c.trigger(this._element,this.constructor.eventName(Tc)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||c.trigger(this._element,this.constructor.eventName(vc)).defaultPrevented)return;if(this._getTipElement().classList.remove(ie),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))c.off(i,"mouseover",he);this._activeTrigger[gc]=!1,this._activeTrigger[Re]=!1,this._activeTrigger[Wt]=!1,this._isHovered=null;const s=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),c.trigger(this._element,this.constructor.eventName(bc)))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Me,ie),e.classList.add(`bs-${this.constructor.NAME}-auto`);const s=mr(this.constructor.NAME).toString();return e.setAttribute("id",s),this._isAnimated()&&e.classList.add(Me),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new dc({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[mc]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Me)}_isShown(){return this.tip&&this.tip.classList.contains(ie)}_createPopper(t){const e=P(this._config.placement,[this,t,this._element]),s=Dc[e.toUpperCase()];return an(this._element,t,this._getPopperConfig(s))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(e=>Number.parseInt(e,10)):typeof t=="function"?e=>t(e,this._element):t}_resolvePossibleFunction(t){return P(t,[this._element])}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:s=>{this._getTipElement().setAttribute("data-popper-placement",s.state.placement)}}]};return{...e,...P(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if(e==="click")c.on(this._element,this.constructor.eventName(wc),this._config.selector,s=>{this._initializeOnDelegatedTarget(s).toggle()});else if(e!==Ec){const s=e===Wt?this.constructor.eventName(Nc):this.constructor.eventName(Oc),i=e===Wt?this.constructor.eventName(Sc):this.constructor.eventName(Cc);c.on(this._element,s,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusin"?Re:Wt]=!0,o._enter()}),c.on(this._element,i,this._config.selector,r=>{const o=this._initializeOnDelegatedTarget(r);o._activeTrigger[r.type==="focusout"?Re:Wt]=o._element.contains(r.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},c.on(this._element.closest(Xn),Qn,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=q.getDataAttributes(this._element);for(const s of Object.keys(e))pc.has(s)&&delete e[s];return t={...e,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:tt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,s]of Object.entries(this._config))this.constructor.Default[e]!==s&&(t[e]=s);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const e=xt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}B(xt);const Ic="popover",Pc=".popover-header",Mc=".popover-body",Rc={...xt.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},xc={...xt.DefaultType,content:"(null|string|element|function)"};class hn extends xt{static get Default(){return Rc}static get DefaultType(){return xc}static get NAME(){return Ic}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Pc]:this._getTitle(),[Mc]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const e=hn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t]()}})}}B(hn);const kc="scrollspy",Vc="bs.scrollspy",dn=`.${Vc}`,Hc=".data-api",Wc=`activate${dn}`,Zn=`click${dn}`,Bc=`load${dn}${Hc}`,jc="dropdown-item",At="active",Fc='[data-bs-spy="scroll"]',xe="[href]",Kc=".nav, .list-group",Jn=".nav-link",Yc=".nav-item",Uc=".list-group-item",zc=`${Jn}, ${Yc} > ${Jn}, ${Uc}`,Gc=".dropdown",qc=".dropdown-toggle",Xc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Qc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class be extends K{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Xc}static get DefaultType(){return Qc}static get NAME(){return kc}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=tt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(e=>Number.parseFloat(e))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(c.off(this._config.target,Zn),c.on(this._config.target,Zn,xe,t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const s=this._rootElement||window,i=e.offsetTop-this._element.offsetTop;if(s.scrollTo){s.scrollTo({top:i,behavior:"smooth"});return}s.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),t)}_observerCallback(t){const e=o=>this._targetLinks.get(`#${o.target.id}`),s=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(e(o))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&a){if(s(o),!i)return;continue}!r&&!a&&s(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=d.find(xe,this._config.target);for(const e of t){if(!e.hash||et(e))continue;const s=d.findOne(decodeURI(e.hash),this._element);Mt(s)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,s))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(At),this._activateParents(t),c.trigger(this._element,Wc,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(jc)){d.findOne(qc,t.closest(Gc)).classList.add(At);return}for(const e of d.parents(t,Kc))for(const s of d.prev(e,zc))s.classList.add(At)}_clearActiveClass(t){t.classList.remove(At);const e=d.find(`${xe}.${At}`,t);for(const s of e)s.classList.remove(At)}static jQueryInterface(t){return this.each(function(){const e=be.getOrCreateInstance(this,t);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(window,Bc,()=>{for(const n of d.find(Fc))be.getOrCreateInstance(n)});B(be);const Zc="tab",Jc="bs.tab",Et=`.${Jc}`,tl=`hide${Et}`,el=`hidden${Et}`,nl=`show${Et}`,sl=`shown${Et}`,il=`click${Et}`,rl=`keydown${Et}`,ol=`load${Et}`,al="ArrowLeft",ts="ArrowRight",cl="ArrowUp",es="ArrowDown",ke="Home",ns="End",ft="active",ss="fade",Ve="show",ll="dropdown",ii=".dropdown-toggle",ul=".dropdown-menu",He=`:not(${ii})`,hl='.list-group, .nav, [role="tablist"]',dl=".nav-item, .list-group-item",fl=`.nav-link${He}, .list-group-item${He}, [role="tab"]${He}`,ri='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',We=`${fl}, ${ri}`,pl=`.${ft}[data-bs-toggle="tab"], .${ft}[data-bs-toggle="pill"], .${ft}[data-bs-toggle="list"]`;class It extends K{constructor(t){super(t),this._parent=this._element.closest(hl),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),c.on(this._element,rl,e=>this._keydown(e)))}static get NAME(){return Zc}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),s=e?c.trigger(e,tl,{relatedTarget:t}):null;c.trigger(t,nl,{relatedTarget:e}).defaultPrevented||s&&s.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(ft),this._activate(d.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Ve);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),c.trigger(t,sl,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(ss))}_deactivate(t,e){if(!t)return;t.classList.remove(ft),t.blur(),this._deactivate(d.getElementFromSelector(t));const s=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Ve);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),c.trigger(t,el,{relatedTarget:e})};this._queueCallback(s,t,t.classList.contains(ss))}_keydown(t){if(![al,ts,cl,es,ke,ns].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(i=>!et(i));let s;if([ke,ns].includes(t.key))s=e[t.key===ke?0:e.length-1];else{const i=[ts,es].includes(t.key);s=cn(e,t.target,i,!0)}s&&(s.focus({preventScroll:!0}),It.getOrCreateInstance(s).show())}_getChildren(){return d.find(We,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const s of e)this._setInitialAttributesOnChild(s)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=d.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const s=this._getOuterElement(t);if(!s.classList.contains(ll))return;const i=(r,o)=>{const a=d.findOne(r,s);a&&a.classList.toggle(o,e)};i(ii,ft),i(ul,Ve),s.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(ft)}_getInnerElement(t){return t.matches(We)?t:d.findOne(We,t)}_getOuterElement(t){return t.closest(dl)||t}static jQueryInterface(t){return this.each(function(){const e=It.getOrCreateInstance(this);if(typeof t=="string"){if(e[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);e[t]()}})}}c.on(document,il,ri,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!et(this)&&It.getOrCreateInstance(this).show()});c.on(window,ol,()=>{for(const n of d.find(pl))It.getOrCreateInstance(n)});B(It);const _l="toast",ml="bs.toast",rt=`.${ml}`,gl=`mouseover${rt}`,El=`mouseout${rt}`,vl=`focusin${rt}`,bl=`focusout${rt}`,Al=`hide${rt}`,Tl=`hidden${rt}`,yl=`show${rt}`,wl=`shown${rt}`,Ol="fade",is="hide",re="show",oe="showing",Cl={animation:"boolean",autohide:"boolean",delay:"number"},Nl={animation:!0,autohide:!0,delay:5e3};class Ae extends K{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Nl}static get DefaultType(){return Cl}static get NAME(){return _l}show(){if(c.trigger(this._element,yl).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ol);const e=()=>{this._element.classList.remove(oe),c.trigger(this._element,wl),this._maybeScheduleHide()};this._element.classList.remove(is),Yt(this._element),this._element.classList.add(re,oe),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown()||c.trigger(this._element,Al).defaultPrevented)return;const e=()=>{this._element.classList.add(is),this._element.classList.remove(oe,re),c.trigger(this._element,Tl)};this._element.classList.add(oe),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(re),super.dispose()}isShown(){return this._element.classList.contains(re)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=e;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=e;break}}if(e){this._clearTimeout();return}const s=t.relatedTarget;this._element===s||this._element.contains(s)||this._maybeScheduleHide()}_setListeners(){c.on(this._element,gl,t=>this._onInteraction(t,!0)),c.on(this._element,El,t=>this._onInteraction(t,!1)),c.on(this._element,vl,t=>this._onInteraction(t,!0)),c.on(this._element,bl,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const e=Ae.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof e[t]>"u")throw new TypeError(`No method named "${t}"`);e[t](this)}})}}ge(Ae);B(Ae);const Sl={name:"AppFront"};function Dl(n,t,e,s,i,r){return fi(),pi("div")}const $l=di(Sl,[["render",Dl]]),ot=_i({AppFront:$l}),Ll=Object.assign({"/resources/js/vue/front/LqipLoader.vue":()=>Ci(()=>import("./LqipLoader-c6f23121.js"),["assets/LqipLoader-c6f23121.js","assets/vue-7fd555b6.js","assets/vue-935fc652.css"])});ot.use(mi());ot.use(gi,Ei);ot.use(vi);ot.use(bi);ot.use(Ai);ot.use(Ti.ZiggyVue,rs);window.Ziggy=rs;Object.entries({...Ll}).forEach(([n,t])=>{const e=n.split("/").pop().replace(/\.\w+$/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();ot.component(e,yi(t))});ot.mount("#app"); diff --git a/public/build/assets/app-front-98ac14b0.js.gz b/public/build/assets/app-front-98ac14b0.js.gz new file mode 100644 index 0000000..0e25af6 Binary files /dev/null and b/public/build/assets/app-front-98ac14b0.js.gz differ diff --git a/public/build/assets/app-front-c970ee86.js.gz b/public/build/assets/app-front-c970ee86.js.gz deleted file mode 100644 index d34078d..0000000 Binary files a/public/build/assets/app-front-c970ee86.js.gz and /dev/null differ diff --git a/public/build/assets/vue-8b92bff6.js b/public/build/assets/vue-7fd555b6.js similarity index 90% rename from public/build/assets/vue-8b92bff6.js rename to public/build/assets/vue-7fd555b6.js index a30e3b7..dbb0a9f 100644 --- a/public/build/assets/vue-8b92bff6.js +++ b/public/build/assets/vue-7fd555b6.js @@ -10,4 +10,4 @@ function Le(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;ssf=e,of=Symbol();function Wi(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var zn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(zn||(zn={}));function Wb(){const e=oo(!0),t=e.run(()=>Ot({}));let n=[],r=[];const s=dr({install(i){Vs(s),s._a=i,i.provide(of,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!iy?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const lf=()=>{};function _c(e,t,n,r=lf){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&lo()&&Uc(s),s}function cn(e,...t){e.slice().forEach(n=>{n(...t)})}const oy=e=>e();function zi(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Wi(s)&&Wi(r)&&e.hasOwnProperty(n)&&!de(r)&&!dt(r)?e[n]=zi(s,r):e[n]=r}return e}const ly=Symbol();function cy(e){return!Wi(e)||!e.hasOwnProperty(ly)}const{assign:wt}=Object;function ay(e){return!!(de(e)&&e.effect)}function uy(e,t,n,r){const{state:s,actions:i,getters:o}=t,l=n.state.value[e];let c;function a(){l||(n.state.value[e]=s?s():{});const u=ra(n.state.value[e]);return wt(u,i,Object.keys(o||{}).reduce((d,v)=>(d[v]=dr(Lo(()=>{Vs(n);const h=n._s.get(e);return o[v].call(h,h)})),d),{}))}return c=cf(e,a,t,n,r,!0),c}function cf(e,t,n={},r,s,i){let o;const l=wt({actions:{}},n),c={deep:!0};let a,u,d=[],v=[],h;const g=r.state.value[e];!i&&!g&&(r.state.value[e]={}),Ot({});let p;function b(_){let T;a=u=!1,typeof _=="function"?(_(r.state.value[e]),T={type:zn.patchFunction,storeId:e,events:h}):(zi(r.state.value[e],_),T={type:zn.patchObject,payload:_,storeId:e,events:h});const A=p=Symbol();Cs().then(()=>{p===A&&(a=!0)}),u=!0,cn(d,T,r.state.value[e])}const m=i?function(){const{state:T}=n,A=T?T():{};this.$patch(P=>{wt(P,A)})}:lf;function f(){o.stop(),d=[],v=[],r._s.delete(e)}function E(_,T){return function(){Vs(r);const A=Array.from(arguments),P=[],I=[];function L(W){P.push(W)}function D(W){I.push(W)}cn(v,{args:A,name:_,store:w,after:L,onError:D});let G;try{G=T.apply(this&&this.$id===e?this:w,A)}catch(W){throw cn(I,W),W}return G instanceof Promise?G.then(W=>(cn(P,W),W)).catch(W=>(cn(I,W),Promise.reject(W))):(cn(P,G),G)}}const y={_p:r,$id:e,$onAction:_c.bind(null,v),$patch:b,$reset:m,$subscribe(_,T={}){const A=_c(d,_,T.detached,()=>P()),P=o.run(()=>Nt(()=>r.state.value[e],I=>{(T.flush==="sync"?u:a)&&_({storeId:e,type:zn.direct,events:h},I)},wt({},c,T)));return A},$dispose:f},w=ot(y);r._s.set(e,w);const O=r._a&&r._a.runWithContext||oy,N=r._e.run(()=>(o=oo(),O(()=>o.run(t))));for(const _ in N){const T=N[_];if(de(T)&&!ay(T)||dt(T))i||(g&&cy(T)&&(de(T)?T.value=g[_]:zi(T,g[_])),r.state.value[e][_]=T);else if(typeof T=="function"){const A=E(_,T);N[_]=A,l.actions[_]=T}}return wt(w,N),wt(X(w),N),Object.defineProperty(w,"$state",{get:()=>r.state.value[e],set:_=>{b(T=>{wt(T,_)})}}),r._p.forEach(_=>{wt(w,o.run(()=>_({store:w,app:r._a,pinia:r,options:l})))}),g&&i&&n.hydrate&&n.hydrate(w.$state,g),a=!0,u=!0,w}function af(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(l,c){const a=Ia();return l=l||(a?yn(of,null):null),l&&Vs(l),l=sf,l._s.has(r)||(i?cf(r,t,s,l):uy(r,s,l)),l._s.get(r)}return o.$id=r,o}const uf=af("error",{state:()=>({message:null,errors:{}})});function ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:fy}=Object.prototype,{getPrototypeOf:sl}=Object,qs=(e=>t=>{const n=fy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>qs(t)===e),Ks=e=>t=>typeof t===e,{isArray:Pn}=Array,cr=Ks("undefined");function dy(e){return e!==null&&!cr(e)&&e.constructor!==null&&!cr(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const df=lt("ArrayBuffer");function py(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&df(e.buffer),t}const hy=Ks("string"),ze=Ks("function"),pf=Ks("number"),Ws=e=>e!==null&&typeof e=="object",my=e=>e===!0||e===!1,Vr=e=>{if(qs(e)!=="object")return!1;const t=sl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gy=lt("Date"),yy=lt("File"),by=lt("Blob"),vy=lt("FileList"),_y=e=>Ws(e)&&ze(e.pipe),Ey=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=qs(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},Sy=lt("URLSearchParams"),wy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _r(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),Pn(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const mf=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),gf=e=>!cr(e)&&e!==mf;function Ji(){const{caseless:e}=gf(this)&&this||{},t={},n=(r,s)=>{const i=e&&hf(t,s)||s;Vr(t[i])&&Vr(r)?t[i]=Ji(t[i],r):Vr(r)?t[i]=Ji({},r):Pn(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r(_r(t,(s,i)=>{n&&ze(s)?e[i]=ff(s,n):e[i]=s},{allOwnKeys:r}),e),Ty=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Oy=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ny=(e,t,n,r)=>{let s,i,o;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&sl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ay=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ry=e=>{if(!e)return null;if(Pn(e))return e;let t=e.length;if(!pf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Py=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&sl(Uint8Array)),Iy=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Fy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ky=lt("HTMLFormElement"),My=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ec=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ly=lt("RegExp"),yf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};_r(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},By=e=>{yf(e,(t,n)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ze(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Dy=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return Pn(e)?r(e):r(String(e).split(t)),n},xy=()=>{},jy=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ci="abcdefghijklmnopqrstuvwxyz",Sc="0123456789",bf={DIGIT:Sc,ALPHA:ci,ALPHA_DIGIT:ci+ci.toUpperCase()+Sc},Hy=(e=16,t=bf.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function $y(e){return!!(e&&ze(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Uy=e=>{const t=new Array(10),n=(r,s)=>{if(Ws(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=Pn(r)?[]:{};return _r(r,(o,l)=>{const c=n(o,s+1);!cr(c)&&(i[l]=c)}),t[s]=void 0,i}}return r};return n(e,0)},Vy=lt("AsyncFunction"),qy=e=>e&&(Ws(e)||ze(e))&&ze(e.then)&&ze(e.catch),F={isArray:Pn,isArrayBuffer:df,isBuffer:dy,isFormData:Ey,isArrayBufferView:py,isString:hy,isNumber:pf,isBoolean:my,isObject:Ws,isPlainObject:Vr,isUndefined:cr,isDate:gy,isFile:yy,isBlob:by,isRegExp:Ly,isFunction:ze,isStream:_y,isURLSearchParams:Sy,isTypedArray:Py,isFileList:vy,forEach:_r,merge:Ji,extend:Cy,trim:wy,stripBOM:Ty,inherits:Oy,toFlatObject:Ny,kindOf:qs,kindOfTest:lt,endsWith:Ay,toArray:Ry,forEachEntry:Iy,matchAll:Fy,isHTMLForm:ky,hasOwnProperty:Ec,hasOwnProp:Ec,reduceDescriptors:yf,freezeMethods:By,toObjectSet:Dy,toCamelCase:My,noop:xy,toFiniteNumber:jy,findKey:hf,global:mf,isContextDefined:gf,ALPHABET:bf,generateString:Hy,isSpecCompliantForm:$y,toJSONObject:Uy,isAsyncFn:Vy,isThenable:qy};function se(e,t,n,r,s){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),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}F.inherits(se,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:F.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const vf=se.prototype,_f={};["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=>{_f[e]={value:e}});Object.defineProperties(se,_f);Object.defineProperty(vf,"isAxiosError",{value:!0});se.from=(e,t,n,r,s,i)=>{const o=Object.create(vf);return F.toFlatObject(e,o,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),se.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const Ky=null;function Gi(e){return F.isPlainObject(e)||F.isArray(e)}function Ef(e){return F.endsWith(e,"[]")?e.slice(0,-2):e}function wc(e,t,n){return e?e.concat(t).map(function(s,i){return s=Ef(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Wy(e){return F.isArray(e)&&!e.some(Gi)}const zy=F.toFlatObject(F,{},null,function(t){return/^is[A-Z]/.test(t)});function zs(e,t,n){if(!F.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=F.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!F.isUndefined(b[p])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&F.isSpecCompliantForm(t);if(!F.isFunction(s))throw new TypeError("visitor must be a function");function a(g){if(g===null)return"";if(F.isDate(g))return g.toISOString();if(!c&&F.isBlob(g))throw new se("Blob is not supported. Use a Buffer instead.");return F.isArrayBuffer(g)||F.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,b){let m=g;if(g&&!b&&typeof g=="object"){if(F.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(F.isArray(g)&&Wy(g)||(F.isFileList(g)||F.endsWith(p,"[]"))&&(m=F.toArray(g)))return p=Ef(p),m.forEach(function(E,y){!(F.isUndefined(E)||E===null)&&t.append(o===!0?wc([p],y,i):o===null?p:p+"[]",a(E))}),!1}return Gi(g)?!0:(t.append(wc(b,p,i),a(g)),!1)}const d=[],v=Object.assign(zy,{defaultVisitor:u,convertValue:a,isVisitable:Gi});function h(g,p){if(!F.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(g),F.forEach(g,function(m,f){(!(F.isUndefined(m)||m===null)&&s.call(t,m,F.isString(f)?f.trim():f,p,v))===!0&&h(m,p?p.concat(f):[f])}),d.pop()}}if(!F.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Cc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function il(e,t){this._pairs=[],e&&zs(e,this,t)}const Sf=il.prototype;Sf.append=function(t,n){this._pairs.push([t,n])};Sf.toString=function(t){const n=t?function(r){return t.call(this,r,Cc)}:Cc;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Jy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wf(e,t,n){if(!t)return e;const r=n&&n.encode||Jy,s=n&&n.serialize;let i;if(s?i=s(t,n):i=F.isURLSearchParams(t)?t.toString():new il(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Gy{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){F.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Tc=Gy,Cf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zy=typeof URLSearchParams<"u"?URLSearchParams:il,Qy=typeof FormData<"u"?FormData:null,Yy=typeof Blob<"u"?Blob:null,Xy=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),eb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),et={isBrowser:!0,classes:{URLSearchParams:Zy,FormData:Qy,Blob:Yy},isStandardBrowserEnv:Xy,isStandardBrowserWebWorkerEnv:eb,protocols:["http","https","file","blob","url","data"]};function tb(e,t){return zs(e,new et.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return et.isNode&&F.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function nb(e){return F.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rb(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&F.isArray(s)?s.length:o,c?(F.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!l):((!s[o]||!F.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&F.isArray(s[o])&&(s[o]=rb(s[o])),!l)}if(F.isFormData(e)&&F.isFunction(e.entries)){const n={};return F.forEachEntry(e,(r,s)=>{t(nb(r),s,n,0)}),n}return null}function sb(e,t,n){if(F.isString(e))try{return(t||JSON.parse)(e),F.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ol={transitional:Cf,adapter:et.isNode?"http":"xhr",transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=F.isObject(t);if(i&&F.isHTMLForm(t)&&(t=new FormData(t)),F.isFormData(t))return s&&s?JSON.stringify(Tf(t)):t;if(F.isArrayBuffer(t)||F.isBuffer(t)||F.isStream(t)||F.isFile(t)||F.isBlob(t))return t;if(F.isArrayBufferView(t))return t.buffer;if(F.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tb(t,this.formSerializer).toString();if((l=F.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return zs(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),sb(t)):t}],transformResponse:[function(t){const n=this.transitional||ol.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&F.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?se.from(l,se.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:et.classes.FormData,Blob:et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};F.forEach(["delete","get","head","post","put","patch"],e=>{ol.headers[e]={}});const ll=ol,ib=F.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"]),ob=e=>{const t={};let n,r,s;return e&&e.split(` `).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&ib[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Oc=Symbol("internals");function Dn(e){return e&&String(e).trim().toLowerCase()}function qr(e){return e===!1||e==null?e:F.isArray(e)?e.map(qr):String(e)}function lb(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const cb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ai(e,t,n,r,s){if(F.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!F.isString(t)){if(F.isString(r))return t.indexOf(r)!==-1;if(F.isRegExp(r))return r.test(t)}}function ab(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ub(e,t){const n=F.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class Js{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(l,c,a){const u=Dn(c);if(!u)throw new Error("header name must be a non-empty string");const d=F.findKey(s,u);(!d||s[d]===void 0||a===!0||a===void 0&&s[d]!==!1)&&(s[d||c]=qr(l))}const o=(l,c)=>F.forEach(l,(a,u)=>i(a,u,c));return F.isPlainObject(t)||t instanceof this.constructor?o(t,n):F.isString(t)&&(t=t.trim())&&!cb(t)?o(ob(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=Dn(t),t){const r=F.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return lb(s);if(F.isFunction(n))return n.call(this,s,r);if(F.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Dn(t),t){const r=F.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ai(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=Dn(o),o){const l=F.findKey(r,o);l&&(!n||ai(r,r[l],l,n))&&(delete r[l],s=!0)}}return F.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||ai(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return F.forEach(this,(s,i)=>{const o=F.findKey(r,i);if(o){n[o]=qr(s),delete n[i];return}const l=t?ab(i):String(i).trim();l!==i&&delete n[i],n[l]=qr(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return F.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&F.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Oc]=this[Oc]={accessors:{}}).accessors,s=this.prototype;function i(o){const l=Dn(o);r[l]||(ub(s,o),r[l]=!0)}return F.isArray(t)?t.forEach(i):i(t),this}}Js.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);F.reduceDescriptors(Js.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});F.freezeMethods(Js);const ht=Js;function ui(e,t){const n=this||ll,r=t||n,s=ht.from(r.headers);let i=r.data;return F.forEach(e,function(l){i=l.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Of(e){return!!(e&&e.__CANCEL__)}function Er(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}F.inherits(Er,se,{__CANCEL__:!0});function fb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const db=et.isStandardBrowserEnv?function(){return{write:function(n,r,s,i,o,l){const c=[];c.push(n+"="+encodeURIComponent(r)),F.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),F.isString(i)&&c.push("path="+i),F.isString(o)&&c.push("domain="+o),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function pb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hb(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Nf(e,t){return e&&!pb(t)?hb(e,t):t}const mb=et.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){const l=F.isString(o)?s(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function gb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=r[i];o||(o=a),n[s]=c,r[s]=a;let d=i,v=0;for(;d!==s;)v+=n[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),a-o{const i=s.loaded,o=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),a=i<=o;n=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&a?(o-i)/c:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const bb=typeof XMLHttpRequest<"u",vb=bb&&function(e){return new Promise(function(n,r){let s=e.data;const i=ht.from(e.headers).normalize(),o=e.responseType;let l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}F.isFormData(s)&&(et.isStandardBrowserEnv||et.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let a=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(h+":"+g))}const u=Nf(e.baseURL,e.url);a.open(e.method.toUpperCase(),wf(u,e.params,e.paramsSerializer),!0),a.timeout=e.timeout;function d(){if(!a)return;const h=ht.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),p={data:!o||o==="text"||o==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:h,config:e,request:a};fb(function(m){n(m),c()},function(m){r(m),c()},p),a=null}if("onloadend"in a?a.onloadend=d:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(d)},a.onabort=function(){a&&(r(new se("Request aborted",se.ECONNABORTED,e,a)),a=null)},a.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,a)),a=null},a.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||Cf;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),r(new se(g,p.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,a)),a=null},et.isStandardBrowserEnv){const h=(e.withCredentials||mb(u))&&e.xsrfCookieName&&db.read(e.xsrfCookieName);h&&i.set(e.xsrfHeaderName,h)}s===void 0&&i.setContentType(null),"setRequestHeader"in a&&F.forEach(i.toJSON(),function(g,p){a.setRequestHeader(p,g)}),F.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),o&&o!=="json"&&(a.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&a.addEventListener("progress",Nc(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",Nc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=h=>{a&&(r(!h||h.type?new Er(null,e,a):h),a.abort(),a=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const v=gb(u);if(v&&et.protocols.indexOf(v)===-1){r(new se("Unsupported protocol "+v+":",se.ERR_BAD_REQUEST,e));return}a.send(s||null)})},Kr={http:Ky,xhr:vb};F.forEach(Kr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Af={getAdapter:e=>{e=F.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof ht?e.toJSON():e;function On(e,t){t=t||{};const n={};function r(a,u,d){return F.isPlainObject(a)&&F.isPlainObject(u)?F.merge.call({caseless:d},a,u):F.isPlainObject(u)?F.merge({},u):F.isArray(u)?u.slice():u}function s(a,u,d){if(F.isUndefined(u)){if(!F.isUndefined(a))return r(void 0,a,d)}else return r(a,u,d)}function i(a,u){if(!F.isUndefined(u))return r(void 0,u)}function o(a,u){if(F.isUndefined(u)){if(!F.isUndefined(a))return r(void 0,a)}else return r(void 0,u)}function l(a,u,d){if(d in t)return r(a,u);if(d in e)return r(void 0,a)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(a,u)=>s(Rc(a),Rc(u),!0)};return F.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||s,v=d(e[u],t[u],u);F.isUndefined(v)&&d!==l||(n[u]=v)}),n}const Rf="1.5.0",cl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pc={};cl.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Rf+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,l)=>{if(t===!1)throw new se(s(o," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Pc[o]&&(Pc[o]=!0),t?t(i,o,l):!0}};function _b(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const l=e[i],c=l===void 0||o(l,i,e);if(c!==!0)throw new se("option "+i+" must be "+c,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}}const Zi={assertOptions:_b,validators:cl},Et=Zi.validators;class ps{constructor(t){this.defaults=t,this.interceptors={request:new Tc,response:new Tc}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=On(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Zi.assertOptions(r,{silentJSONParsing:Et.transitional(Et.boolean),forcedJSONParsing:Et.transitional(Et.boolean),clarifyTimeoutError:Et.transitional(Et.boolean)},!1),s!=null&&(F.isFunction(s)?n.paramsSerializer={serialize:s}:Zi.assertOptions(s,{encode:Et.function,serialize:Et.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&F.merge(i.common,i[n.method]);i&&F.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=ht.concat(o,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const a=[];this.interceptors.response.forEach(function(p){a.push(p.fulfilled,p.rejected)});let u,d=0,v;if(!c){const g=[Ac.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,a),v=g.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(l=>{r.subscribe(l),i=l}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,l){r.reason||(r.reason=new Er(i,o,l),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new al(function(s){t=s}),cancel:t}}}const Eb=al;function Sb(e){return function(n){return e.apply(null,n)}}function wb(e){return F.isObject(e)&&e.isAxiosError===!0}const Qi={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(Qi).forEach(([e,t])=>{Qi[t]=e});const Cb=Qi;function Pf(e){const t=new Wr(e),n=ff(Wr.prototype.request,t);return F.extend(n,Wr.prototype,t,{allOwnKeys:!0}),F.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Pf(On(e,s))},n}const be=Pf(ll);be.Axios=Wr;be.CanceledError=Er;be.CancelToken=Eb;be.isCancel=Of;be.VERSION=Rf;be.toFormData=zs;be.AxiosError=se;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=Sb;be.isAxiosError=wb;be.mergeConfig=On;be.AxiosHeaders=ht;be.formToJSON=e=>Tf(F.isHTMLForm(e)?new FormData(e):e);be.getAdapter=Af.getAdapter;be.HttpStatusCode=Cb;be.default=be;const Xe=be;/*! js-cookie v3.0.5 | MIT */function Dr(e){for(var t=1;t"u")){o=Dr({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in o)o[c]&&(l+="; "+c,o[c]!==!0&&(l+="="+o[c].split(";")[0]));return document.cookie=s+"="+e.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],o={},l=0;lXe.get("/sanctum/csrf-cookie");Xe.interceptors.request.use(function(e){return uf().$reset(),Xi.get("XSRF-TOKEN")?e:Ob().then(t=>e)},function(e){return Promise.reject(e)});Xe.interceptors.response.use(function(e){var t,n,r,s,i,o;return(((r=(n=(t=e==null?void 0:e.data)==null?void 0:t.data)==null?void 0:n.csrf_token)==null?void 0:r.length)>0||((o=(i=(s=e==null?void 0:e.data)==null?void 0:s.data)==null?void 0:i.token)==null?void 0:o.length)>0)&&Xi.set("XSRF-TOKEN",e.data.data.csrf_token),e},function(e){switch(e.response.status){case 401:localStorage.removeItem("token"),window.location.reload();break;case 403:case 404:break;case 422:uf().$state=e.response.data;break;default:}return Promise.reject(e)});function hs(e){return hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hs(e)}function di(e,t){if(!e.vueAxiosInstalled){var n=If(t)?Rb(t):t;if(Pb(n)){var r=Ib(e);if(r){var s=r<3?Nb:Ab;Object.keys(n).forEach(function(i){s(e,i,n[i])}),e.vueAxiosInstalled=!0}}}}function Nb(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function Ab(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function If(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function Rb(e){return{axios:e,$http:e}}function Pb(e){return hs(e)==="object"&&Object.keys(e).every(function(t){return If(e[t])})}function Ib(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof exports>"u"?"undefined":hs(exports))=="object"?module.exports=di:typeof define=="function"&&define.amd?define([],function(){return di}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(di,window.axios);const pi=af("auth",{state:()=>({loggedIn:!!localStorage.getItem("token"),user:null}),getters:{},actions:{async login(e){await Xe.get("sanctum/csrf-cookie");const t=(await Xe.post("api/login",e)).data;if(t){const n=`Bearer ${t.token}`;localStorage.setItem("token",n),Xe.defaults.headers.common.Authorization=n,await this.ftechUser()}},async logout(){(await Xe.post("api/logout")).data&&(localStorage.removeItem("token"),this.$reset())},async ftechUser(){this.user=(await Xe.get("api/me")).data,this.loggedIn=!0}}}),zb={install:({config:e})=>{e.globalProperties.$auth=pi(),pi().loggedIn&&pi().ftechUser()}};function Fb(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}const Jb={install:(e,t)=>{e.config.globalProperties.$eventBus=Fb()}},Ff={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ms={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},ul={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},kf={dangerouslyHTMLString:!1,multiple:!0,position:Ff.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},kb={rtl:!1,newestOnTop:!1,toastClassName:""},Mb={...kf,...kb};({...kf,type:ul.DEFAULT});var gs=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(gs||{});ot({});ot({});ot({items:[]});const Lb=ot({});ot({});function Bb(...e){return ko(...e)}function Db(e={}){Lb["".concat(gs.CSS_NAMESPACE,"-default-options")]=e}Ff.TOP_LEFT,ms.AUTO,ul.DEFAULT;ul.DEFAULT,ms.AUTO;ms.AUTO,ms.LIGHT;const xb={install(e,t={}){jb(t)}};typeof window<"u"&&(window.Vue3Toastify=xb);function jb(e={}){const t=Bb(Mb,e);Db(t)}const Hb={url:"https://echoscoop.com",port:null,defaults:{},routes:{"sanctum.csrf-cookie":{uri:"sanctum/csrf-cookie",methods:["GET","HEAD"]},"laravelpwa.manifest":{uri:"manifest.json",methods:["GET","HEAD"]},"laravelpwa.":{uri:"offline",methods:["GET","HEAD"]},"ignition.healthCheck":{uri:"_ignition/health-check",methods:["GET","HEAD"]},"ignition.executeSolution":{uri:"_ignition/execute-solution",methods:["POST"]},"ignition.updateConfig":{uri:"_ignition/update-config",methods:["POST"]},"feeds.main":{uri:"feeds/posts-feed",methods:["GET","HEAD"]},"front.home":{uri:"/",methods:["GET","HEAD"]},"front.terms":{uri:"terms",methods:["GET","HEAD"]},"front.privacy":{uri:"privacy",methods:["GET","HEAD"]},"front.disclaimer":{uri:"disclaimer",methods:["GET","HEAD"]},"front.all":{uri:"news",methods:["GET","HEAD"]},"front.post":{uri:"news/{slug}",methods:["GET","HEAD"]},"front.category":{uri:"{category_slug}",methods:["GET","HEAD"]}}};typeof window<"u"&&typeof window.Ziggy<"u"&&Object.assign(Hb.routes,window.Ziggy.routes);var $b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},eo={exports:{}},hi,Ic;function fl(){if(Ic)return hi;Ic=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return hi={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},hi}var mi,Fc;function Mf(){if(Fc)return mi;Fc=1;var e=fl(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r=function(){for(var p=[],b=0;b<256;++b)p.push("%"+((b<16?"0":"")+b.toString(16)).toUpperCase());return p}(),s=function(b){for(;b.length>1;){var m=b.pop(),f=m.obj[m.prop];if(n(f)){for(var E=[],y=0;y=48&&_<=57||_>=65&&_<=90||_>=97&&_<=122||y===e.RFC1738&&(_===40||_===41)){O+=w.charAt(N);continue}if(_<128){O=O+r[_];continue}if(_<2048){O=O+(r[192|_>>6]+r[128|_&63]);continue}if(_<55296||_>=57344){O=O+(r[224|_>>12]+r[128|_>>6&63]+r[128|_&63]);continue}N+=1,_=65536+((_&1023)<<10|w.charCodeAt(N)&1023),O+=r[240|_>>18]+r[128|_>>12&63]+r[128|_>>6&63]+r[128|_&63]}return O},u=function(b){for(var m=[{obj:{o:b},prop:"o"}],f=[],E=0;E"u")return ne;var Se;if(m==="comma"&&s(L))Se=[{value:L.length>0?L.join(",")||null:void 0}];else if(s(w))Se=w;else{var Bt=Object.keys(L);Se=O?Bt.sort(O):Bt}for(var Ge=0;Ge"u"?u.allowDots:!!p.allowDots,charset:b,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:u.charsetSentinel,delimiter:typeof p.delimiter>"u"?u.delimiter:p.delimiter,encode:typeof p.encode=="boolean"?p.encode:u.encode,encoder:typeof p.encoder=="function"?p.encoder:u.encoder,encodeValuesOnly:typeof p.encodeValuesOnly=="boolean"?p.encodeValuesOnly:u.encodeValuesOnly,filter:E,format:m,formatter:f,serializeDate:typeof p.serializeDate=="function"?p.serializeDate:u.serializeDate,skipNulls:typeof p.skipNulls=="boolean"?p.skipNulls:u.skipNulls,sort:typeof p.sort=="function"?p.sort:null,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:u.strictNullHandling}};return gi=function(g,p){var b=g,m=h(p),f,E;typeof m.filter=="function"?(E=m.filter,b=E("",b)):s(m.filter)&&(E=m.filter,f=E);var y=[];if(typeof b!="object"||b===null)return"";var w;p&&p.arrayFormat in r?w=p.arrayFormat:p&&"indices"in p?w=p.indices?"indices":"repeat":w="indices";var O=r[w];f||(f=Object.keys(b)),m.sort&&f.sort(m.sort);for(var N=0;N0?A+T:""},gi}var yi,Mc;function Vb(){if(Mc)return yi;Mc=1;var e=Mf(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:e.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(v){return v.replace(/&#(\d+);/g,function(h,g){return String.fromCharCode(parseInt(g,10))})},i=function(v,h){return v&&typeof v=="string"&&h.comma&&v.indexOf(",")>-1?v.split(","):v},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",c=function(h,g){var p={},b=g.ignoreQueryPrefix?h.replace(/^\?/,""):h,m=g.parameterLimit===1/0?void 0:g.parameterLimit,f=b.split(g.delimiter,m),E=-1,y,w=g.charset;if(g.charsetSentinel)for(y=0;y-1&&(A=n(A)?[A]:A),t.call(p,T)?p[T]=e.combine(p[T],A):p[T]=A}return p},a=function(v,h,g,p){for(var b=p?h:i(h,g),m=v.length-1;m>=0;--m){var f,E=v[m];if(E==="[]"&&g.parseArrays)f=[].concat(b);else{f=g.plainObjects?Object.create(null):{};var y=E.charAt(0)==="["&&E.charAt(E.length-1)==="]"?E.slice(1,-1):E,w=parseInt(y,10);!g.parseArrays&&y===""?f={0:b}:!isNaN(w)&&E!==y&&String(w)===y&&w>=0&&g.parseArrays&&w<=g.arrayLimit?(f=[],f[w]=b):y!=="__proto__"&&(f[y]=b)}b=f}return b},u=function(h,g,p,b){if(h){var m=p.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,f=/(\[[^[\]]*])/,E=/(\[[^[\]]*])/g,y=p.depth>0&&f.exec(m),w=y?m.slice(0,y.index):m,O=[];if(w){if(!p.plainObjects&&t.call(Object.prototype,w)&&!p.allowPrototypes)return;O.push(w)}for(var N=0;p.depth>0&&(y=E.exec(m))!==null&&N"u"?r.charset:h.charset;return{allowDots:typeof h.allowDots>"u"?r.allowDots:!!h.allowDots,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:r.allowPrototypes,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:r.arrayLimit,charset:g,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:r.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:r.comma,decoder:typeof h.decoder=="function"?h.decoder:r.decoder,delimiter:typeof h.delimiter=="string"||e.isRegExp(h.delimiter)?h.delimiter:r.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:r.depth,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:r.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:r.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:r.strictNullHandling}};return yi=function(v,h){var g=d(h);if(v===""||v===null||typeof v>"u")return g.plainObjects?Object.create(null):{};for(var p=typeof v=="string"?c(v,g):v,b=g.plainObjects?Object.create(null):{},m=Object.keys(p),f=0;f"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(b,m,f){var E=[null];E.push.apply(E,m);var y=new(Function.bind.apply(b,E));return f&&c(y,f.prototype),y},a.apply(null,arguments)}function u(h){var g=typeof Map=="function"?new Map:void 0;return u=function(p){if(p===null||Function.toString.call(p).indexOf("[native code]")===-1)return p;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(g!==void 0){if(g.has(p))return g.get(p);g.set(p,b)}function b(){return a(p,arguments,l(this).constructor)}return b.prototype=Object.create(p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),c(b,p)},u(h)}var d=function(){function h(p,b,m){var f,E;this.name=p,this.definition=b,this.bindings=(f=b.bindings)!=null?f:{},this.wheres=(E=b.wheres)!=null?E:{},this.config=m}var g=h.prototype;return g.matchesUrl=function(p){var b=this;if(!this.definition.methods.includes("GET"))return!1;var m=this.template.replace(/(\/?){([^}?]*)(\??)}/g,function(N,_,T,A){var P,I="(?<"+T+">"+(((P=b.wheres[T])==null?void 0:P.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return A?"("+_+I+")?":""+_+I}).replace(/^\w+:\/\//,""),f=p.replace(/^\w+:\/\//,"").split("?"),E=f[0],y=f[1],w=new RegExp("^"+m+"/?$").exec(E);if(w){for(var O in w.groups)w.groups[O]=typeof w.groups[O]=="string"?decodeURIComponent(w.groups[O]):w.groups[O];return{params:w.groups,query:r.parse(y)}}return!1},g.compile=function(p){var b=this,m=this.parameterSegments;return m.length?this.template.replace(/{([^}?]+)(\??)}/g,function(f,E,y){var w;if(!y&&[null,void 0].includes(p[E]))throw new Error("Ziggy error: '"+E+"' parameter is required for route '"+b.name+"'.");if(b.wheres[E]){var O,N;if(!new RegExp("^"+(y?"("+b.wheres[E]+")?":b.wheres[E])+"$").test((O=p[E])!=null?O:""))throw new Error("Ziggy error: '"+E+"' parameter does not match required format '"+b.wheres[E]+"' for route '"+b.name+"'.");if(m[m.length-1].name===E)return encodeURIComponent((N=p[E])!=null?N:"").replace(/%2F/g,"/")}return encodeURIComponent((w=p[E])!=null?w:"")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},i(h,[{key:"template",get:function(){return(this.origin+"/"+this.definition.uri).replace(/\/+$/,"")}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var p,b;return(p=(b=this.template.match(/{[^}?]+\??}/g))==null?void 0:b.map(function(m){return{name:m.replace(/{|\??}/g,""),required:!/\?}$/.test(m)}}))!=null?p:[]}}]),h}(),v=function(h){var g,p;function b(f,E,y,w){var O;if(y===void 0&&(y=!0),(O=h.call(this)||this).t=w??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),O.t=o({},O.t,{absolute:y}),f){if(!O.t.routes[f])throw new Error("Ziggy error: route '"+f+"' is not in the route list.");O.i=new d(f,O.t.routes[f],O.t),O.u=O.o(E)}return O}p=h,(g=b).prototype=Object.create(p.prototype),g.prototype.constructor=g,c(g,p);var m=b.prototype;return m.toString=function(){var f=this,E=Object.keys(this.u).filter(function(y){return!f.i.parameterSegments.some(function(w){return w.name===y})}).filter(function(y){return y!=="_query"}).reduce(function(y,w){var O;return o({},y,((O={})[w]=f.u[w],O))},{});return this.i.compile(this.u)+r.stringify(o({},E,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(y,w){return typeof y=="boolean"?Number(y):w(y)}})},m.l=function(f){var E=this;f?this.t.absolute&&f.startsWith("/")&&(f=this.h().host+f):f=this.v();var y={},w=Object.entries(this.t.routes).find(function(O){return y=new d(O[0],O[1],E.t).matchesUrl(f)})||[void 0,void 0];return o({name:w[0]},y,{route:w[1]})},m.v=function(){var f=this.h(),E=f.pathname,y=f.search;return(this.t.absolute?f.host+E:E.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+y},m.current=function(f,E){var y=this.l(),w=y.name,O=y.params,N=y.query,_=y.route;if(!f)return w;var T=new RegExp("^"+f.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(w);if([null,void 0].includes(E)||!T)return T;var A=new d(w,_,this.t);E=this.o(E,A);var P=o({},O,N);return!(!Object.values(E).every(function(I){return!I})||Object.values(P).some(function(I){return I!==void 0}))||Object.entries(E).every(function(I){return P[I[0]]==I[1]})},m.h=function(){var f,E,y,w,O,N,_=typeof window<"u"?window.location:{},T=_.host,A=_.pathname,P=_.search;return{host:(f=(E=this.t.location)==null?void 0:E.host)!=null?f:T===void 0?"":T,pathname:(y=(w=this.t.location)==null?void 0:w.pathname)!=null?y:A===void 0?"":A,search:(O=(N=this.t.location)==null?void 0:N.search)!=null?O:P===void 0?"":P}},m.has=function(f){return Object.keys(this.t.routes).includes(f)},m.o=function(f,E){var y=this;f===void 0&&(f={}),E===void 0&&(E=this.i),f!=null||(f={}),f=["string","number"].includes(typeof f)?[f]:f;var w=E.parameterSegments.filter(function(N){return!y.t.defaults[N.name]});if(Array.isArray(f))f=f.reduce(function(N,_,T){var A,P;return o({},N,w[T]?((A={})[w[T].name]=_,A):typeof _=="object"?_:((P={})[_]="",P))},{});else if(w.length===1&&!f[w[0].name]&&(f.hasOwnProperty(Object.values(E.bindings)[0])||f.hasOwnProperty("id"))){var O;(O={})[w[0].name]=f,f=O}return o({},this.p(E),this.g(f,E))},m.p=function(f){var E=this;return f.parameterSegments.filter(function(y){return E.t.defaults[y.name]}).reduce(function(y,w,O){var N,_=w.name;return o({},y,((N={})[_]=E.t.defaults[_],N))},{})},m.g=function(f,E){var y=E.bindings,w=E.parameterSegments;return Object.entries(f).reduce(function(O,N){var _,T,A=N[0],P=N[1];if(!P||typeof P!="object"||Array.isArray(P)||!w.some(function(I){return I.name===A}))return o({},O,((T={})[A]=P,T));if(!P.hasOwnProperty(y[A])){if(!P.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+A+"' parameter is missing route model binding key '"+y[A]+"'.");y[A]="id"}return o({},O,((_={})[A]=P[y[A]],_))},{})},m.valueOf=function(){return this.toString()},m.check=function(f){return this.has(f)},i(b,[{key:"params",get:function(){var f=this.l();return o({},f.params,f.query)}}]),b}(u(String));n.ZiggyVue={install:function(h,g){var p=function(b,m,f,E){return E===void 0&&(E=g),function(y,w,O,N){var _=new v(y,w,O,N);return y?_.toString():_}(b,m,f,E)};h.mixin({methods:{route:p}}),parseInt(h.version)>2&&h.provide("route",p)}}})})(eo,eo.exports);var Gb=eo.exports;export{Hb as Z,Kb as _,am as a,Wb as b,ah as c,Xe as d,zb as e,Jb as f,xb as g,bp as h,Ms as o,di as p,Gb as v}; +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Oc]=this[Oc]={accessors:{}}).accessors,s=this.prototype;function i(o){const l=Dn(o);r[l]||(ub(s,o),r[l]=!0)}return F.isArray(t)?t.forEach(i):i(t),this}}Js.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);F.reduceDescriptors(Js.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});F.freezeMethods(Js);const ht=Js;function ui(e,t){const n=this||ll,r=t||n,s=ht.from(r.headers);let i=r.data;return F.forEach(e,function(l){i=l.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Of(e){return!!(e&&e.__CANCEL__)}function Er(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}F.inherits(Er,se,{__CANCEL__:!0});function fb(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const db=et.isStandardBrowserEnv?function(){return{write:function(n,r,s,i,o,l){const c=[];c.push(n+"="+encodeURIComponent(r)),F.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),F.isString(i)&&c.push("path="+i),F.isString(o)&&c.push("domain="+o),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function pb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function hb(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Nf(e,t){return e&&!pb(t)?hb(e,t):t}const mb=et.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){const l=F.isString(o)?s(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function gb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=r[i];o||(o=a),n[s]=c,r[s]=a;let d=i,v=0;for(;d!==s;)v+=n[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),a-o{const i=s.loaded,o=s.lengthComputable?s.total:void 0,l=i-n,c=r(l),a=i<=o;n=i;const u={loaded:i,total:o,progress:o?i/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&a?(o-i)/c:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const bb=typeof XMLHttpRequest<"u",vb=bb&&function(e){return new Promise(function(n,r){let s=e.data;const i=ht.from(e.headers).normalize(),o=e.responseType;let l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}F.isFormData(s)&&(et.isStandardBrowserEnv||et.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let a=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(h+":"+g))}const u=Nf(e.baseURL,e.url);a.open(e.method.toUpperCase(),wf(u,e.params,e.paramsSerializer),!0),a.timeout=e.timeout;function d(){if(!a)return;const h=ht.from("getAllResponseHeaders"in a&&a.getAllResponseHeaders()),p={data:!o||o==="text"||o==="json"?a.responseText:a.response,status:a.status,statusText:a.statusText,headers:h,config:e,request:a};fb(function(m){n(m),c()},function(m){r(m),c()},p),a=null}if("onloadend"in a?a.onloadend=d:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(d)},a.onabort=function(){a&&(r(new se("Request aborted",se.ECONNABORTED,e,a)),a=null)},a.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,a)),a=null},a.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const p=e.transitional||Cf;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),r(new se(g,p.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,a)),a=null},et.isStandardBrowserEnv){const h=(e.withCredentials||mb(u))&&e.xsrfCookieName&&db.read(e.xsrfCookieName);h&&i.set(e.xsrfHeaderName,h)}s===void 0&&i.setContentType(null),"setRequestHeader"in a&&F.forEach(i.toJSON(),function(g,p){a.setRequestHeader(p,g)}),F.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),o&&o!=="json"&&(a.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&a.addEventListener("progress",Nc(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",Nc(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=h=>{a&&(r(!h||h.type?new Er(null,e,a):h),a.abort(),a=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const v=gb(u);if(v&&et.protocols.indexOf(v)===-1){r(new se("Unsupported protocol "+v+":",se.ERR_BAD_REQUEST,e));return}a.send(s||null)})},Kr={http:Ky,xhr:vb};F.forEach(Kr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Af={getAdapter:e=>{e=F.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof ht?e.toJSON():e;function On(e,t){t=t||{};const n={};function r(a,u,d){return F.isPlainObject(a)&&F.isPlainObject(u)?F.merge.call({caseless:d},a,u):F.isPlainObject(u)?F.merge({},u):F.isArray(u)?u.slice():u}function s(a,u,d){if(F.isUndefined(u)){if(!F.isUndefined(a))return r(void 0,a,d)}else return r(a,u,d)}function i(a,u){if(!F.isUndefined(u))return r(void 0,u)}function o(a,u){if(F.isUndefined(u)){if(!F.isUndefined(a))return r(void 0,a)}else return r(void 0,u)}function l(a,u,d){if(d in t)return r(a,u);if(d in e)return r(void 0,a)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(a,u)=>s(Rc(a),Rc(u),!0)};return F.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||s,v=d(e[u],t[u],u);F.isUndefined(v)&&d!==l||(n[u]=v)}),n}const Rf="1.5.0",cl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{cl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pc={};cl.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Rf+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,l)=>{if(t===!1)throw new se(s(o," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Pc[o]&&(Pc[o]=!0),t?t(i,o,l):!0}};function _b(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const l=e[i],c=l===void 0||o(l,i,e);if(c!==!0)throw new se("option "+i+" must be "+c,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}}const Zi={assertOptions:_b,validators:cl},Et=Zi.validators;class ps{constructor(t){this.defaults=t,this.interceptors={request:new Tc,response:new Tc}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=On(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Zi.assertOptions(r,{silentJSONParsing:Et.transitional(Et.boolean),forcedJSONParsing:Et.transitional(Et.boolean),clarifyTimeoutError:Et.transitional(Et.boolean)},!1),s!=null&&(F.isFunction(s)?n.paramsSerializer={serialize:s}:Zi.assertOptions(s,{encode:Et.function,serialize:Et.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&F.merge(i.common,i[n.method]);i&&F.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=ht.concat(o,i);const l=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const a=[];this.interceptors.response.forEach(function(p){a.push(p.fulfilled,p.rejected)});let u,d=0,v;if(!c){const g=[Ac.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,a),v=g.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(l=>{r.subscribe(l),i=l}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,l){r.reason||(r.reason=new Er(i,o,l),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new al(function(s){t=s}),cancel:t}}}const Eb=al;function Sb(e){return function(n){return e.apply(null,n)}}function wb(e){return F.isObject(e)&&e.isAxiosError===!0}const Qi={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(Qi).forEach(([e,t])=>{Qi[t]=e});const Cb=Qi;function Pf(e){const t=new Wr(e),n=ff(Wr.prototype.request,t);return F.extend(n,Wr.prototype,t,{allOwnKeys:!0}),F.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Pf(On(e,s))},n}const be=Pf(ll);be.Axios=Wr;be.CanceledError=Er;be.CancelToken=Eb;be.isCancel=Of;be.VERSION=Rf;be.toFormData=zs;be.AxiosError=se;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=Sb;be.isAxiosError=wb;be.mergeConfig=On;be.AxiosHeaders=ht;be.formToJSON=e=>Tf(F.isHTMLForm(e)?new FormData(e):e);be.getAdapter=Af.getAdapter;be.HttpStatusCode=Cb;be.default=be;const Xe=be;/*! js-cookie v3.0.5 | MIT */function Dr(e){for(var t=1;t"u")){o=Dr({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in o)o[c]&&(l+="; "+c,o[c]!==!0&&(l+="="+o[c].split(";")[0]));return document.cookie=s+"="+e.write(i,s)+l}}function r(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var i=document.cookie?document.cookie.split("; "):[],o={},l=0;lXe.get("/sanctum/csrf-cookie");Xe.interceptors.request.use(function(e){return uf().$reset(),Xi.get("XSRF-TOKEN")?e:Ob().then(t=>e)},function(e){return Promise.reject(e)});Xe.interceptors.response.use(function(e){var t,n,r,s,i,o;return(((r=(n=(t=e==null?void 0:e.data)==null?void 0:t.data)==null?void 0:n.csrf_token)==null?void 0:r.length)>0||((o=(i=(s=e==null?void 0:e.data)==null?void 0:s.data)==null?void 0:i.token)==null?void 0:o.length)>0)&&Xi.set("XSRF-TOKEN",e.data.data.csrf_token),e},function(e){switch(e.response.status){case 401:localStorage.removeItem("token"),window.location.reload();break;case 403:case 404:break;case 422:uf().$state=e.response.data;break;default:}return Promise.reject(e)});function hs(e){return hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hs(e)}function di(e,t){if(!e.vueAxiosInstalled){var n=If(t)?Rb(t):t;if(Pb(n)){var r=Ib(e);if(r){var s=r<3?Nb:Ab;Object.keys(n).forEach(function(i){s(e,i,n[i])}),e.vueAxiosInstalled=!0}}}}function Nb(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function Ab(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function If(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function Rb(e){return{axios:e,$http:e}}function Pb(e){return hs(e)==="object"&&Object.keys(e).every(function(t){return If(e[t])})}function Ib(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof exports>"u"?"undefined":hs(exports))=="object"?module.exports=di:typeof define=="function"&&define.amd?define([],function(){return di}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(di,window.axios);const pi=af("auth",{state:()=>({loggedIn:!!localStorage.getItem("token"),user:null}),getters:{},actions:{async login(e){await Xe.get("sanctum/csrf-cookie");const t=(await Xe.post("api/login",e)).data;if(t){const n=`Bearer ${t.token}`;localStorage.setItem("token",n),Xe.defaults.headers.common.Authorization=n,await this.ftechUser()}},async logout(){(await Xe.post("api/logout")).data&&(localStorage.removeItem("token"),this.$reset())},async ftechUser(){this.user=(await Xe.get("api/me")).data,this.loggedIn=!0}}}),zb={install:({config:e})=>{e.globalProperties.$auth=pi(),pi().loggedIn&&pi().ftechUser()}};function Fb(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(s){s(n)}),(r=e.get("*"))&&r.slice().map(function(s){s(t,n)})}}}const Jb={install:(e,t)=>{e.config.globalProperties.$eventBus=Fb()}},Ff={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},ms={LIGHT:"light",DARK:"dark",COLORED:"colored",AUTO:"auto"},ul={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},kf={dangerouslyHTMLString:!1,multiple:!0,position:Ff.TOP_RIGHT,autoClose:5e3,transition:"bounce",hideProgressBar:!1,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,className:"",bodyClassName:"",style:{},progressClassName:"",progressStyle:{},role:"alert",theme:"light"},kb={rtl:!1,newestOnTop:!1,toastClassName:""},Mb={...kf,...kb};({...kf,type:ul.DEFAULT});var gs=(e=>(e[e.COLLAPSE_DURATION=300]="COLLAPSE_DURATION",e[e.DEBOUNCE_DURATION=50]="DEBOUNCE_DURATION",e.CSS_NAMESPACE="Toastify",e))(gs||{});ot({});ot({});ot({items:[]});const Lb=ot({});ot({});function Bb(...e){return ko(...e)}function Db(e={}){Lb["".concat(gs.CSS_NAMESPACE,"-default-options")]=e}Ff.TOP_LEFT,ms.AUTO,ul.DEFAULT;ul.DEFAULT,ms.AUTO;ms.AUTO,ms.LIGHT;const xb={install(e,t={}){jb(t)}};typeof window<"u"&&(window.Vue3Toastify=xb);function jb(e={}){const t=Bb(Mb,e);Db(t)}const Hb={url:"https://echoscoop.com",port:null,defaults:{},routes:{"sanctum.csrf-cookie":{uri:"sanctum/csrf-cookie",methods:["GET","HEAD"]},"laravelpwa.manifest":{uri:"manifest.json",methods:["GET","HEAD"]},"laravelpwa.":{uri:"offline",methods:["GET","HEAD"]},"ignition.healthCheck":{uri:"_ignition/health-check",methods:["GET","HEAD"]},"ignition.executeSolution":{uri:"_ignition/execute-solution",methods:["POST"]},"ignition.updateConfig":{uri:"_ignition/update-config",methods:["POST"]},"feeds.main":{uri:"feeds/posts-feed",methods:["GET","HEAD"]},"front.home":{uri:"/",methods:["GET","HEAD"]},"front.terms":{uri:"terms",methods:["GET","HEAD"]},"front.privacy":{uri:"privacy",methods:["GET","HEAD"]},"front.disclaimer":{uri:"disclaimer",methods:["GET","HEAD"]},"front.all":{uri:"news",methods:["GET","HEAD"]},"front.post":{uri:"news/{slug}",methods:["GET","HEAD"]},"front.category":{uri:"{category_slug}",methods:["GET","HEAD"],wheres:{category_slug:"^(automotive|business|trading|information-technology|marketing|office|telecommunications|food-drink|collectibles|pets|photography|hobbies-gifts|hunting-fishing|law|politics|home-garden|shopping|fashion-clothing|real-estate|family|wedding|immigration|society|education|languages|health|beauty|psychology|wellness|religion-spirituality|tips-tricks|how-to|holiday|world-festivals|travel|outdoors|computer|phones|gadgets|technology|social-networks|ai)$"}}}};typeof window<"u"&&typeof window.Ziggy<"u"&&Object.assign(Hb.routes,window.Ziggy.routes);var $b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},eo={exports:{}},hi,Ic;function fl(){if(Ic)return hi;Ic=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return hi={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},hi}var mi,Fc;function Mf(){if(Fc)return mi;Fc=1;var e=fl(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r=function(){for(var p=[],b=0;b<256;++b)p.push("%"+((b<16?"0":"")+b.toString(16)).toUpperCase());return p}(),s=function(b){for(;b.length>1;){var m=b.pop(),f=m.obj[m.prop];if(n(f)){for(var E=[],y=0;y=48&&_<=57||_>=65&&_<=90||_>=97&&_<=122||y===e.RFC1738&&(_===40||_===41)){O+=w.charAt(N);continue}if(_<128){O=O+r[_];continue}if(_<2048){O=O+(r[192|_>>6]+r[128|_&63]);continue}if(_<55296||_>=57344){O=O+(r[224|_>>12]+r[128|_>>6&63]+r[128|_&63]);continue}N+=1,_=65536+((_&1023)<<10|w.charCodeAt(N)&1023),O+=r[240|_>>18]+r[128|_>>12&63]+r[128|_>>6&63]+r[128|_&63]}return O},u=function(b){for(var m=[{obj:{o:b},prop:"o"}],f=[],E=0;E"u")return ne;var Se;if(m==="comma"&&s(L))Se=[{value:L.length>0?L.join(",")||null:void 0}];else if(s(w))Se=w;else{var Bt=Object.keys(L);Se=O?Bt.sort(O):Bt}for(var Ge=0;Ge"u"?u.allowDots:!!p.allowDots,charset:b,charsetSentinel:typeof p.charsetSentinel=="boolean"?p.charsetSentinel:u.charsetSentinel,delimiter:typeof p.delimiter>"u"?u.delimiter:p.delimiter,encode:typeof p.encode=="boolean"?p.encode:u.encode,encoder:typeof p.encoder=="function"?p.encoder:u.encoder,encodeValuesOnly:typeof p.encodeValuesOnly=="boolean"?p.encodeValuesOnly:u.encodeValuesOnly,filter:E,format:m,formatter:f,serializeDate:typeof p.serializeDate=="function"?p.serializeDate:u.serializeDate,skipNulls:typeof p.skipNulls=="boolean"?p.skipNulls:u.skipNulls,sort:typeof p.sort=="function"?p.sort:null,strictNullHandling:typeof p.strictNullHandling=="boolean"?p.strictNullHandling:u.strictNullHandling}};return gi=function(g,p){var b=g,m=h(p),f,E;typeof m.filter=="function"?(E=m.filter,b=E("",b)):s(m.filter)&&(E=m.filter,f=E);var y=[];if(typeof b!="object"||b===null)return"";var w;p&&p.arrayFormat in r?w=p.arrayFormat:p&&"indices"in p?w=p.indices?"indices":"repeat":w="indices";var O=r[w];f||(f=Object.keys(b)),m.sort&&f.sort(m.sort);for(var N=0;N0?A+T:""},gi}var yi,Mc;function Vb(){if(Mc)return yi;Mc=1;var e=Mf(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:e.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(v){return v.replace(/&#(\d+);/g,function(h,g){return String.fromCharCode(parseInt(g,10))})},i=function(v,h){return v&&typeof v=="string"&&h.comma&&v.indexOf(",")>-1?v.split(","):v},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",c=function(h,g){var p={},b=g.ignoreQueryPrefix?h.replace(/^\?/,""):h,m=g.parameterLimit===1/0?void 0:g.parameterLimit,f=b.split(g.delimiter,m),E=-1,y,w=g.charset;if(g.charsetSentinel)for(y=0;y-1&&(A=n(A)?[A]:A),t.call(p,T)?p[T]=e.combine(p[T],A):p[T]=A}return p},a=function(v,h,g,p){for(var b=p?h:i(h,g),m=v.length-1;m>=0;--m){var f,E=v[m];if(E==="[]"&&g.parseArrays)f=[].concat(b);else{f=g.plainObjects?Object.create(null):{};var y=E.charAt(0)==="["&&E.charAt(E.length-1)==="]"?E.slice(1,-1):E,w=parseInt(y,10);!g.parseArrays&&y===""?f={0:b}:!isNaN(w)&&E!==y&&String(w)===y&&w>=0&&g.parseArrays&&w<=g.arrayLimit?(f=[],f[w]=b):y!=="__proto__"&&(f[y]=b)}b=f}return b},u=function(h,g,p,b){if(h){var m=p.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,f=/(\[[^[\]]*])/,E=/(\[[^[\]]*])/g,y=p.depth>0&&f.exec(m),w=y?m.slice(0,y.index):m,O=[];if(w){if(!p.plainObjects&&t.call(Object.prototype,w)&&!p.allowPrototypes)return;O.push(w)}for(var N=0;p.depth>0&&(y=E.exec(m))!==null&&N"u"?r.charset:h.charset;return{allowDots:typeof h.allowDots>"u"?r.allowDots:!!h.allowDots,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:r.allowPrototypes,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:r.arrayLimit,charset:g,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:r.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:r.comma,decoder:typeof h.decoder=="function"?h.decoder:r.decoder,delimiter:typeof h.delimiter=="string"||e.isRegExp(h.delimiter)?h.delimiter:r.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:r.depth,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:r.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:r.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:r.strictNullHandling}};return yi=function(v,h){var g=d(h);if(v===""||v===null||typeof v>"u")return g.plainObjects?Object.create(null):{};for(var p=typeof v=="string"?c(v,g):v,b=g.plainObjects?Object.create(null):{},m=Object.keys(p),f=0;f"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}()?Reflect.construct.bind():function(b,m,f){var E=[null];E.push.apply(E,m);var y=new(Function.bind.apply(b,E));return f&&c(y,f.prototype),y},a.apply(null,arguments)}function u(h){var g=typeof Map=="function"?new Map:void 0;return u=function(p){if(p===null||Function.toString.call(p).indexOf("[native code]")===-1)return p;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(g!==void 0){if(g.has(p))return g.get(p);g.set(p,b)}function b(){return a(p,arguments,l(this).constructor)}return b.prototype=Object.create(p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),c(b,p)},u(h)}var d=function(){function h(p,b,m){var f,E;this.name=p,this.definition=b,this.bindings=(f=b.bindings)!=null?f:{},this.wheres=(E=b.wheres)!=null?E:{},this.config=m}var g=h.prototype;return g.matchesUrl=function(p){var b=this;if(!this.definition.methods.includes("GET"))return!1;var m=this.template.replace(/(\/?){([^}?]*)(\??)}/g,function(N,_,T,A){var P,I="(?<"+T+">"+(((P=b.wheres[T])==null?void 0:P.replace(/(^\^)|(\$$)/g,""))||"[^/?]+")+")";return A?"("+_+I+")?":""+_+I}).replace(/^\w+:\/\//,""),f=p.replace(/^\w+:\/\//,"").split("?"),E=f[0],y=f[1],w=new RegExp("^"+m+"/?$").exec(E);if(w){for(var O in w.groups)w.groups[O]=typeof w.groups[O]=="string"?decodeURIComponent(w.groups[O]):w.groups[O];return{params:w.groups,query:r.parse(y)}}return!1},g.compile=function(p){var b=this,m=this.parameterSegments;return m.length?this.template.replace(/{([^}?]+)(\??)}/g,function(f,E,y){var w;if(!y&&[null,void 0].includes(p[E]))throw new Error("Ziggy error: '"+E+"' parameter is required for route '"+b.name+"'.");if(b.wheres[E]){var O,N;if(!new RegExp("^"+(y?"("+b.wheres[E]+")?":b.wheres[E])+"$").test((O=p[E])!=null?O:""))throw new Error("Ziggy error: '"+E+"' parameter does not match required format '"+b.wheres[E]+"' for route '"+b.name+"'.");if(m[m.length-1].name===E)return encodeURIComponent((N=p[E])!=null?N:"").replace(/%2F/g,"/")}return encodeURIComponent((w=p[E])!=null?w:"")}).replace(this.origin+"//",this.origin+"/").replace(/\/+$/,""):this.template},i(h,[{key:"template",get:function(){return(this.origin+"/"+this.definition.uri).replace(/\/+$/,"")}},{key:"origin",get:function(){return this.config.absolute?this.definition.domain?""+this.config.url.match(/^\w+:\/\//)[0]+this.definition.domain+(this.config.port?":"+this.config.port:""):this.config.url:""}},{key:"parameterSegments",get:function(){var p,b;return(p=(b=this.template.match(/{[^}?]+\??}/g))==null?void 0:b.map(function(m){return{name:m.replace(/{|\??}/g,""),required:!/\?}$/.test(m)}}))!=null?p:[]}}]),h}(),v=function(h){var g,p;function b(f,E,y,w){var O;if(y===void 0&&(y=!0),(O=h.call(this)||this).t=w??(typeof Ziggy<"u"?Ziggy:globalThis==null?void 0:globalThis.Ziggy),O.t=o({},O.t,{absolute:y}),f){if(!O.t.routes[f])throw new Error("Ziggy error: route '"+f+"' is not in the route list.");O.i=new d(f,O.t.routes[f],O.t),O.u=O.o(E)}return O}p=h,(g=b).prototype=Object.create(p.prototype),g.prototype.constructor=g,c(g,p);var m=b.prototype;return m.toString=function(){var f=this,E=Object.keys(this.u).filter(function(y){return!f.i.parameterSegments.some(function(w){return w.name===y})}).filter(function(y){return y!=="_query"}).reduce(function(y,w){var O;return o({},y,((O={})[w]=f.u[w],O))},{});return this.i.compile(this.u)+r.stringify(o({},E,this.u._query),{addQueryPrefix:!0,arrayFormat:"indices",encodeValuesOnly:!0,skipNulls:!0,encoder:function(y,w){return typeof y=="boolean"?Number(y):w(y)}})},m.l=function(f){var E=this;f?this.t.absolute&&f.startsWith("/")&&(f=this.h().host+f):f=this.v();var y={},w=Object.entries(this.t.routes).find(function(O){return y=new d(O[0],O[1],E.t).matchesUrl(f)})||[void 0,void 0];return o({name:w[0]},y,{route:w[1]})},m.v=function(){var f=this.h(),E=f.pathname,y=f.search;return(this.t.absolute?f.host+E:E.replace(this.t.url.replace(/^\w*:\/\/[^/]+/,""),"").replace(/^\/+/,"/"))+y},m.current=function(f,E){var y=this.l(),w=y.name,O=y.params,N=y.query,_=y.route;if(!f)return w;var T=new RegExp("^"+f.replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(w);if([null,void 0].includes(E)||!T)return T;var A=new d(w,_,this.t);E=this.o(E,A);var P=o({},O,N);return!(!Object.values(E).every(function(I){return!I})||Object.values(P).some(function(I){return I!==void 0}))||Object.entries(E).every(function(I){return P[I[0]]==I[1]})},m.h=function(){var f,E,y,w,O,N,_=typeof window<"u"?window.location:{},T=_.host,A=_.pathname,P=_.search;return{host:(f=(E=this.t.location)==null?void 0:E.host)!=null?f:T===void 0?"":T,pathname:(y=(w=this.t.location)==null?void 0:w.pathname)!=null?y:A===void 0?"":A,search:(O=(N=this.t.location)==null?void 0:N.search)!=null?O:P===void 0?"":P}},m.has=function(f){return Object.keys(this.t.routes).includes(f)},m.o=function(f,E){var y=this;f===void 0&&(f={}),E===void 0&&(E=this.i),f!=null||(f={}),f=["string","number"].includes(typeof f)?[f]:f;var w=E.parameterSegments.filter(function(N){return!y.t.defaults[N.name]});if(Array.isArray(f))f=f.reduce(function(N,_,T){var A,P;return o({},N,w[T]?((A={})[w[T].name]=_,A):typeof _=="object"?_:((P={})[_]="",P))},{});else if(w.length===1&&!f[w[0].name]&&(f.hasOwnProperty(Object.values(E.bindings)[0])||f.hasOwnProperty("id"))){var O;(O={})[w[0].name]=f,f=O}return o({},this.p(E),this.g(f,E))},m.p=function(f){var E=this;return f.parameterSegments.filter(function(y){return E.t.defaults[y.name]}).reduce(function(y,w,O){var N,_=w.name;return o({},y,((N={})[_]=E.t.defaults[_],N))},{})},m.g=function(f,E){var y=E.bindings,w=E.parameterSegments;return Object.entries(f).reduce(function(O,N){var _,T,A=N[0],P=N[1];if(!P||typeof P!="object"||Array.isArray(P)||!w.some(function(I){return I.name===A}))return o({},O,((T={})[A]=P,T));if(!P.hasOwnProperty(y[A])){if(!P.hasOwnProperty("id"))throw new Error("Ziggy error: object passed as '"+A+"' parameter is missing route model binding key '"+y[A]+"'.");y[A]="id"}return o({},O,((_={})[A]=P[y[A]],_))},{})},m.valueOf=function(){return this.toString()},m.check=function(f){return this.has(f)},i(b,[{key:"params",get:function(){var f=this.l();return o({},f.params,f.query)}}]),b}(u(String));n.ZiggyVue={install:function(h,g){var p=function(b,m,f,E){return E===void 0&&(E=g),function(y,w,O,N){var _=new v(y,w,O,N);return y?_.toString():_}(b,m,f,E)};h.mixin({methods:{route:p}}),parseInt(h.version)>2&&h.provide("route",p)}}})})(eo,eo.exports);var Gb=eo.exports;export{Hb as Z,Kb as _,am as a,Wb as b,ah as c,Xe as d,zb as e,Jb as f,xb as g,bp as h,Ms as o,di as p,Gb as v}; diff --git a/public/build/assets/vue-8b92bff6.js.gz b/public/build/assets/vue-7fd555b6.js.gz similarity index 90% rename from public/build/assets/vue-8b92bff6.js.gz rename to public/build/assets/vue-7fd555b6.js.gz index 92e49cc..46043d4 100644 Binary files a/public/build/assets/vue-8b92bff6.js.gz and b/public/build/assets/vue-7fd555b6.js.gz differ diff --git a/public/build/manifest.json b/public/build/manifest.json index afc4300..bf0b064 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,9 +1,9 @@ { - "_vue-8b92bff6.js": { + "_vue-7fd555b6.js": { "css": [ "assets/vue-935fc652.css" ], - "file": "assets/vue-8b92bff6.js" + "file": "assets/vue-7fd555b6.js" }, "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff": { "file": "assets/bootstrap-icons-4d4572ef.woff", @@ -50,9 +50,9 @@ "src": "resources/fonts/Inter/Inter-Thin.ttf" }, "resources/js/app-auth.js": { - "file": "assets/app-auth-4b2e1a84.js", + "file": "assets/app-auth-f0ef52f1.js", "imports": [ - "_vue-8b92bff6.js" + "_vue-7fd555b6.js" ], "isEntry": true, "src": "resources/js/app-auth.js" @@ -61,17 +61,17 @@ "dynamicImports": [ "resources/js/vue/front/LqipLoader.vue" ], - "file": "assets/app-front-c970ee86.js", + "file": "assets/app-front-98ac14b0.js", "imports": [ - "_vue-8b92bff6.js" + "_vue-7fd555b6.js" ], "isEntry": true, "src": "resources/js/app-front.js" }, "resources/js/vue/front/LqipLoader.vue": { - "file": "assets/LqipLoader-2067e882.js", + "file": "assets/LqipLoader-c6f23121.js", "imports": [ - "_vue-8b92bff6.js" + "_vue-7fd555b6.js" ], "isDynamicEntry": true, "src": "resources/js/vue/front/LqipLoader.vue" diff --git a/public/build/manifest.json.gz b/public/build/manifest.json.gz index 045e65c..3d24b36 100644 Binary files a/public/build/manifest.json.gz and b/public/build/manifest.json.gz differ diff --git a/resources/js/ziggy.js b/resources/js/ziggy.js index 7b22b4a..e3418f4 100644 --- a/resources/js/ziggy.js +++ b/resources/js/ziggy.js @@ -1,4 +1,4 @@ -const Ziggy = {"url":"https:\/\/echoscoop.com","port":null,"defaults":{},"routes":{"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"laravelpwa.manifest":{"uri":"manifest.json","methods":["GET","HEAD"]},"laravelpwa.":{"uri":"offline","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"feeds.main":{"uri":"feeds\/posts-feed","methods":["GET","HEAD"]},"front.home":{"uri":"\/","methods":["GET","HEAD"]},"front.terms":{"uri":"terms","methods":["GET","HEAD"]},"front.privacy":{"uri":"privacy","methods":["GET","HEAD"]},"front.disclaimer":{"uri":"disclaimer","methods":["GET","HEAD"]},"front.all":{"uri":"news","methods":["GET","HEAD"]},"front.post":{"uri":"news\/{slug}","methods":["GET","HEAD"]},"front.category":{"uri":"{category_slug}","methods":["GET","HEAD"]}}}; +const Ziggy = {"url":"https:\/\/echoscoop.com","port":null,"defaults":{},"routes":{"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"laravelpwa.manifest":{"uri":"manifest.json","methods":["GET","HEAD"]},"laravelpwa.":{"uri":"offline","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"feeds.main":{"uri":"feeds\/posts-feed","methods":["GET","HEAD"]},"front.home":{"uri":"\/","methods":["GET","HEAD"]},"front.terms":{"uri":"terms","methods":["GET","HEAD"]},"front.privacy":{"uri":"privacy","methods":["GET","HEAD"]},"front.disclaimer":{"uri":"disclaimer","methods":["GET","HEAD"]},"front.all":{"uri":"news","methods":["GET","HEAD"]},"front.post":{"uri":"news\/{slug}","methods":["GET","HEAD"]},"front.category":{"uri":"{category_slug}","methods":["GET","HEAD"],"wheres":{"category_slug":"^(automotive|business|trading|information-technology|marketing|office|telecommunications|food-drink|collectibles|pets|photography|hobbies-gifts|hunting-fishing|law|politics|home-garden|shopping|fashion-clothing|real-estate|family|wedding|immigration|society|education|languages|health|beauty|psychology|wellness|religion-spirituality|tips-tricks|how-to|holiday|world-festivals|travel|outdoors|computer|phones|gadgets|technology|social-networks|ai)$"}}}}; if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { Object.assign(Ziggy.routes, window.Ziggy.routes); diff --git a/resources/views/front/layouts/partials/head.blade.php b/resources/views/front/layouts/partials/head.blade.php index 2b75f4d..d51e65a 100644 --- a/resources/views/front/layouts/partials/head.blade.php +++ b/resources/views/front/layouts/partials/head.blade.php @@ -4,7 +4,9 @@ {!! SEOMeta::generate() !!} {!! OpenGraph::generate() !!} {!! Twitter::generate() !!} + {!! JsonLd::generate() !!} {!! JsonLdMulti::generate() !!} + {!! SEOTools::generate() !!} @@ -15,3 +17,4 @@ @vite(['resources/sass/app-front.scss', 'resources/js/app-front.js']) @laravelPWA @include('googletagmanager::head') + @stack('top_head') diff --git a/resources/views/front/partials/breadcrumbs.blade.php b/resources/views/front/partials/breadcrumbs.blade.php new file mode 100644 index 0000000..81c3f75 --- /dev/null +++ b/resources/views/front/partials/breadcrumbs.blade.php @@ -0,0 +1,12 @@ + diff --git a/resources/views/front/post_list.blade.php b/resources/views/front/post_list.blade.php index 3096e9f..8b23e54 100644 --- a/resources/views/front/post_list.blade.php +++ b/resources/views/front/post_list.blade.php @@ -1,18 +1,9 @@ @extends('front.layouts.app') @section('content')
- + @include('front.partials.breadcrumbs') +

@@ -47,3 +38,7 @@

@endsection + +@push('top_head') + {!! $breadcrumb_context !!} +@endpush diff --git a/resources/views/front/single_post.blade.php b/resources/views/front/single_post.blade.php index cbd2cfa..65134e6 100644 --- a/resources/views/front/single_post.blade.php +++ b/resources/views/front/single_post.blade.php @@ -1,19 +1,9 @@ @extends('front.layouts.app') @section('content')
-
@@ -31,3 +21,7 @@
@endsection + +@push('top_head') + {!! $breadcrumb_context !!} +@endpush diff --git a/routes/web.php b/routes/web.php index 7cb160b..ac7209d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -28,5 +28,5 @@ Route::get('/news/{slug}', [App\Http\Controllers\Front\FrontPostController::class, 'index'])->name('front.post'); Route::get('/{category_slug}', [App\Http\Controllers\Front\FrontListController::class, 'category']) - ->where('category_slug', '^(automotive|business|trading|information-technology|marketing|office|telecommunications|food-drink|collectibles|pets|photography|hobbies-gifts|hunting-fishing|law|politics|home-garden|shopping|fashion-clothing|real-estate|family|wedding|immigration|society|education|languages|health|beauty|psychology|wellness|religion-spirituality|tips-tricks|how-to|holiday|world-festivals|travel|outdoors|computer|phones|gadgets|technology|social-networks|ai)$') - ->name('front.category'); + ->where('category_slug', '^(automotive|business|trading|information-technology|marketing|office|telecommunications|food-drink|collectibles|pets|photography|hobbies-gifts|hunting-fishing|law|politics|home-garden|shopping|fashion-clothing|real-estate|family|wedding|immigration|society|education|languages|health|beauty|psychology|wellness|religion-spirituality|tips-tricks|how-to|holiday|world-festivals|travel|outdoors|computer|phones|gadgets|technology|social-networks|ai)$') + ->name('front.category');